Roberto Rosario
03379ab8ec
Fix parsing tests
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-10 01:14:46 -04:00
Roberto Rosario
7fbb94a8ae
Migration updates
...
Squash version page migrations.
Add manual OCR and parsing migrations.
Fix tests.
Page search updates.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-09 16:38:00 -04:00
Roberto Rosario
d0ee8aba16
Add document pages reset view
...
Add document version page count update view.
Add tests.
Register permission_document_tools to the Document model.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-09 11:53:29 -04:00
Roberto Rosario
5b37c7715d
Fix document page render
...
Solve page_number > 1 error.
Add page_all to Document model.
Enable redactions.
Remove unused methods.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-09 00:38:08 -04:00
Roberto Rosario
8cf807899a
Initial commit to support page mapping
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-08 18:45:53 -04:00
Roberto Rosario
ad37228466
Add converter layers, redactions app
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-08-20 00:21:03 -04:00
Roberto Rosario
d394583729
Remove HTML title anchor on disabled pages
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-31 01:54:51 -04:00
Roberto Rosario
4ecf075fd4
Add support for disabling document pages
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-30 03:11:20 -04:00
Roberto Rosario
88bc29e4d7
Update the file caching app
...
- Add view to list available caches.
- Add links to view and purge caches.
- Add permissions.
- Add events.
- Add purge task.
- Remove document image clear link and view.
This is now handled by the file caching app.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-25 02:24:33 -04:00
Roberto Rosario
8c064c953a
Add file caching app
...
Convert document image cache to use file cache manager app.
Add setting DOCUMENTS_CACHE_MAXIMUM_SIZE defaults to 500 MB.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-15 01:33:32 -04:00
Roberto Rosario
080553c797
Add trashed date time label and position
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-07 00:38:47 -04:00
Roberto Rosario
08ee07e652
Remove duplicated trashed document previews
...
Side effect of source column inheritance added in
06c3ef6583 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-07 00:37:47 -04:00
Roberto Rosario
a008607d40
Support search model list mode
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-06-10 02:59:33 -04:00
Roberto Rosario
818cf97d5b
Split document type retention policies
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 01:19:53 -04:00
Roberto Rosario
f76b9e4f3f
Move task registration to the CeleryQueue class
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 03:36:23 -04:00
Roberto Rosario
8e5b60e1c0
Backport document page view improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 15:27:46 -04:00
Roberto Rosario
8e731d6280
Backport ACL computation improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 03:27:30 -04:00
Roberto Rosario
84c88f9173
Remove app top level star imports
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:15:43 -04:00
Roberto Rosario
74c97314d7
Code style cleanups
...
Add keyword arguments. Sort arguments and models.
Move literals to their own module. Prepend handler_ to
signal handlers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-26 03:32:35 -04:00
Roberto Rosario
296c580a5e
Add sortable columns to all apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:20:50 -04:00
Roberto Rosario
a97c2ec662
Update TwoStateWidget to use a template
...
Make it compatible with the SourceColumn class.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 00:46:33 -04:00
Roberto Rosario
25ad5c1420
Add remaining missing icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 20:30:37 -04:00
Roberto Rosario
c1d2c8baf3
Merge the sidebar and secondary menu instances
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 15:15:55 -04:00
Roberto Rosario
1e37ca8315
Backport new menu, new sidebar and CSS changes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 23:50:35 -04:00
Roberto Rosario
0267c79b07
Backport test improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 02:39:57 -04:00
Roberto Rosario
7be25df7d0
Remove star import from the ACL and Common apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:45:25 -04:00
Roberto Rosario
18faaa69bd
Add server side invalid document template
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:47:43 -04:00
Roberto Rosario
0015ad4abe
Add dashboard app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 02:35:40 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Roberto Rosario
ac07d4a63f
Add more icons to links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 03:09:04 -04:00
Roberto Rosario
4d53c9aec7
Code clean up.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 02:54:47 -04:00
Roberto Rosario
03c54395cc
Refactor the ModelAttribute class into two separate classes: ModelAttribute for executable model attributes and ModelField for actual ORM fields. Expose more document fields for use in smart links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 02:43:04 -04:00
Roberto Rosario
962f395831
Add new dashboard item to display the total page count.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-12 01:56:37 -04:00
Roberto Rosario
64ca5a623f
PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 04:56:39 -04:00
Roberto Rosario
fce7ee99ea
Add support for having a menu source being excluded from link sorting.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 04:15:33 -04:00
Roberto Rosario
f11eef7445
Add new class based dashboard widget. This new widget supports subclassing and is template based. All exising widgets have been converted. ACL filtering was added to the widget results.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 03:30:06 -04:00
Roberto Rosario
26b31da443
Add favorite documents per user. Adds new setting option DOCUMENTS_FAVORITE_COUNT.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 01:50:35 -04:00
Roberto Rosario
9a7e95f5b7
Add recently added document list view. The setting DOCUMENTS_RECENT_COUNT has been renamed to DOCUMENTS_RECENT_ACCESS_COUNT. New setting DOCUMENTS_RECENT_ADDED_COUNT added.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 04:06:46 -04:00
Roberto Rosario
cd76b1fd4a
Add new document app events: document type created and document type edited. Add link to document type events.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-15 03:18:46 -04:00
Roberto Rosario
4f028b1f54
Convert the two_state_widget to a class and update it to use the new icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 16:56:03 -04:00
Roberto Rosario
46f593654c
Add a "Quick download" link to reduce the number of steps required to download a single document. GitLab issue #338 . Thanks to Michel Lavoie for the suggestion.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-08 00:00:16 -04:00
Roberto Rosario
6a65544fb7
Remove some label argument from the apps module and move them to the model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-16 15:20:45 -04:00
Roberto Rosario
096935c826
Move all the document statistics code to the documents.statistics module. Add month names to the statistics.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-05 03:29:46 -04:00
Roberto Rosario
57e7722f59
Don't show documents with 0 duplicates in the duplicated document list.
...
Also clean up the duplicated document model after a document is deleted.
Fix queue name typo.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 01:45:30 -04:00
Michael Price
8590bff6e4
Convert document thumbnails, preview, image preview and staging files to template base widgets. Unify all updated widgets. Display resolution settings are now specified as width and height and not a single resolution value.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:04:05 -04:00
Michael Price
e1956f8d80
Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:59 -04:00
Michael Price
744976e8a1
Fix flake8 warnings.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:27 -04:00
Michael Price
b4bf9bfaee
Switch to a resource and service based API from previous app based one.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:28:40 -04:00
Michael Price
bc85c3be59
Add inherited permission check for the DocumentPageSearch model.
...
This and not the DocumentPage is the actual model return for page searches.
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:21:54 -04:00
Roberto Rosario
f0baa16cde
Backport support for global and object event notification. GitLab issue #262 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 03:12:40 -04:00