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
12f24316a1
Improve page navigation limit logic
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-31 01:53:35 -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
8141748677
Add redirection after trashing a document
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-06-28 23:05:54 -04:00
Roberto Rosario
c3b1c4e173
Fix document type change view
...
Closes GitLab issue #614 . Thanks to Christoph Roeder (@brightdroid)
for the report.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2019-06-18 22:15:13 -04:00
Roberto Rosario
18b42a03c8
Put deletion policies units before periods
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-30 23:40:44 -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
a1fa6aadfb
Add no result template to the document page list
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-17 00:44:18 -04:00
Roberto Rosario
c7e9a4dc99
Add keyword arguments
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 02:09:26 -04:00
Roberto Rosario
4617afafb2
Replace get_object_list() with self.object_list
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-12 01:25:53 -04:00
Roberto Rosario
bbf3ede2e6
Reference the external object directly
...
This object is placed in the view context by the mixin automatically.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-10 00:44:47 -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
28114264c1
Remove last use of settings.LOGIN_REDIRECT_URL
...
Replace with common.settings_home_view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 13:32:47 -04:00
Roberto Rosario
6330e40036
Use get_object_list instead of get_queryset
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 03:17:52 -04:00
Roberto Rosario
5e4518211f
Remove related attribute of check_access
...
Remove filter_by_access. Replaced by restrict_queryset.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 02:26:50 -04:00
Roberto Rosario
4a7540f8b2
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:17:17 -04:00
Roberto Rosario
95a1df8072
Backport common mixin and generics improvements
...
* Rename get_object_list to get_source_queryset.
* Add uniqueness validation to SingleObjectCreateView.
* Remove MultipleInstanceActionMixin.
* Backport MultipleObjectMixin improvements.
* Remove ObjectListPermissionFilterMixin.
* Add and improve tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-06 02:07:35 -04:00
Roberto Rosario
9c92b9a59e
Remove some usages of column_class
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-04 20:16:02 -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
cd5bc8ba4b
Remove transformation manager methods
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:21:19 -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
4d99590dad
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:31:52 -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
a6d474eaa5
Rename document links for consistency
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:26:46 -04:00
Roberto Rosario
9aa9840231
Move favorite document views to their own module
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:12:14 -04:00
Roberto Rosario
c0f51103d2
Move stub filtering to the Document model manager
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:39:22 -04:00
Roberto Rosario
334f0cd03f
Remove queryset slicing hack from view
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-13 22:26:37 -04:00
Roberto Rosario
ae814a18c5
Move trashed document views to their own module
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 22:35:23 -04:00
Roberto Rosario
f6f9287e33
Add keyword arguments to get_object_or_404 uses
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-11 20:53:33 -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
6159bdca45
Fix message typos.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 22:23:35 -04:00
Roberto Rosario
758a14e358
Intercept document list view exception and display them as an error message.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 02:10:20 -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
435fa774f0
Add support for preserving the extension of document files when using the quick label feature. Added to the document properties edit view and the document upload view. Closes GitLab issue #360 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 04:06:13 -04:00
Roberto Rosario
aac0852128
Clean up document download view class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 01:03:40 -04:00
Roberto Rosario
12143ffda7
Fix document type quick label link when there are no results.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 01:03:04 -04:00
Roberto Rosario
e5bb00d514
Finish refactor of the new compressed file class support. Closes GitLab issue #7 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-05 00:40:10 -04:00
Roberto Rosario
427aad8277
Add no results help texts for the converter, source, motd and mailer app. Add help text to the document type list view. Tweak the CSS of the no result secondary links.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 03:10:45 -04:00
Roberto Rosario
c9dedde1d0
Add no results help text.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 05:26:48 -04:00
Roberto Rosario
495ab7fd9b
Add no result help text for the document duplicates view and trash can view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 15:45:22 -04:00
Roberto Rosario
671b7f102e
Add no results help text for the document type quick label list view. Assign icon to the document type quick label objects.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-27 04:09:09 -04:00
Roberto Rosario
c3312d964f
Add blank result messages for the index, index instance and favorited documents views.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 05:55:36 -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
1c2c77728a
Update missing view resolution name.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 22:35:15 -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