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
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
9e3e0d9e64
Rename doc type policies to 'deletion policies'
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-20 01:21:24 -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
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
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
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
6f57d3c650
PEP8 cleanups
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-23 04:36:24 -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
0a39eac419
Fix icon instances naming
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 21:19:31 -04:00
Roberto Rosario
d66cf089ee
Add document action icons
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 18:33:24 -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
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
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
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
1890ff5bee
Add missing permission check to the document duplicate scan link.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-22 00:42:37 -04:00
Roberto Rosario
7f14b9c5e1
Rename the multi document download link from "Download" to "Advanced download" for consistency.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-13 23:39:30 -04:00
Roberto Rosario
e0d812ac74
Finish converting the document app to use the new Icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-28 16:34:31 -04:00
Roberto Rosario
74a252afcf
Rename the single document form download link from "Download" to "Advanced download".
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-08 00:02:42 -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
Eric Riggs
6afd3eb869
Fix missing icons for signin, dashboard links, rotate left and rotate right.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-01 19:59:10 -04:00
Michael Price
381dafc7b9
Update to Font Awesome 5. Add experimental Icon class. Simplify document loading icon.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 19:53:03 -04:00
Roberto Rosario
0ba84f256d
Convert the document version list view to item view mode.
...
Add document version preview and thumbnail widgets.
Update the new version upload event have the version
as the target and the document as the action object.
Backported from the development branch.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-11 00:19:26 -04:00
Roberto Rosario
16e0b0e0e7
Add new document version list view permission. GitLab issue #379
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-14 22:09:01 -04:00
Roberto Rosario
d4e1a506ed
Add duplicated document scan support.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-06 02:56:35 -04:00
Roberto Rosario
116fb5155d
Update the document version link's current version conditional to
...
work in all cases: when the document version is an object
of a list (versions list) and when it is the context object
(signatures list).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-25 16:44:09 -04:00
Roberto Rosario
6060924ee3
Use the context variable 'object' instead of 'resolved_object' to
...
make sure the document version in the list is being resolved and
not the view's Document or a document signature isntance.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-20 12:28:46 -04:00
Roberto Rosario
9f837aaade
Add view to clone a document page transformations to other pages.
2017-01-16 01:05:34 -04:00
Roberto Rosario
aa91bce3ab
Add support for drop down menu in the navigation bar. Simplify the home screen.
2016-11-12 01:56:31 -04:00
Roberto Rosario
2777dc1070
Convert document page zoom and rotation views to CBV.
2016-11-02 19:01:30 -04:00
Roberto Rosario
6e3d99670c
Complete conversion of download views to CBV views using django-downloadview.
...
This also removes dependency on the filetransfers library.
2016-10-31 01:00:35 -04:00
Roberto Rosario
fa1450fe5a
PEP8 cleanups.
2016-03-27 03:27:56 -04:00
Roberto Rosario
0ffe20befd
Fix link resolution in the document signature list view. This view exposes 3 navigable objects, use 'resolved_object' for correct link resolution.
2016-03-26 16:28:08 -04:00
Roberto Rosario
ffb29e0f54
Remove obsolete Document property. Use resolved_object in documents links to avoid context variable clashes with signatures.
2016-03-25 04:12:44 -04:00
Roberto Rosario
ad0643b62a
Convert document cache clear view to CBV. Update message and link label to include the word 'image'.
2016-03-21 02:11:56 -04:00
Roberto Rosario
4d362c3957
Add icons to the document face menu links. Increase icon size by 10%. Increase icon to text spacing to 3px.
2016-03-08 04:17:57 -04:00
Roberto Rosario
a1a0a6da52
PEP8 Cleanups.
2015-10-28 02:14:48 -04:00
Roberto Rosario
6c65598a4d
Remove permission check from the multiple document action links, an user may not have permissions for some items but maybe does for others, we don't know as scanning the entire queryset for ACLs is costly, so we leave the links enable, permission check is done by the view.
2015-10-20 20:05:40 -04:00
Roberto Rosario
0b2235d501
Change document type filename references to the more apt document type quick labels. Thanks go to berny for this one.
2015-08-24 01:03:10 -04:00
Roberto Rosario
93553e84c2
Text string tweaks as per translation discussions. Thanks to Berny.
2015-08-20 14:41:00 -04:00
Roberto Rosario
fc9f9f1e68
Replace more unnecessary lists with tuples.
2015-07-28 01:41:45 -04:00
Roberto Rosario
1e746c700a
PEP8 cleanups.
2015-07-27 23:53:14 -04:00
Roberto Rosario
713977ed46
Document image and intermediate file caching now has it's own storage backend.
2015-07-13 01:06:40 -04:00
Roberto Rosario
aec8263ad8
Convert events app views to CBV.
2015-07-10 02:54:59 -04:00