Roberto Rosario
049342def2
Remove the dropzone package and create entries to use the JavaScript manager.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-05 03:38:06 -04:00
Roberto Rosario
a6791d41f8
Display a confirmation message when statistics are queued.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-05 03:30:22 -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
b7b1a87f23
Add JavaScript manager.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-05 03:29:28 -04:00
Roberto Rosario
94bdea3c69
Update Chart.js version. Improve line chart appearance.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-05 03:19:05 -04:00
Roberto Rosario
4c1e1f0fb1
Tweak the document page list view columns CSS to improve panel display width.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 18:50:58 -04:00
Roberto Rosario
0207018547
Resize the document thumbnails via CSS while preserving the aspect ratio.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 17:46:04 -04:00
Roberto Rosario
b4b8d9403c
Pass alternate column classes to the cabinet, index and tags document list views to improve the rendered size of the document panels.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 17:44:50 -04:00
Roberto Rosario
2677ece123
Allow passing alternate CSS classes to the list item template columns.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 17:44:13 -04:00
Roberto Rosario
4b23d30fa6
Fix document indexing icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 17:43:49 -04:00
Roberto Rosario
93a1a436a7
Fix checkbox widget not being rendered in some cases.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 17:43:18 -04:00
Roberto Rosario
bad90c9848
Add smart checkbox selector. Code donated by the Paperattor project (www.paperattor.com).
...
Unify checkbox selection code for list items and table items.
Move some javascript initialization to the root template.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 04:32:47 -04:00
Roberto Rosario
5fa0dc8d0d
Reorganize the way the document print view checks for permission to move permission checking to the dispatch method.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 04:05:19 -04:00
Roberto Rosario
fc560fe63a
Remove workflow states experimental feature warning message.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 04:00:55 -04:00
Roberto Rosario
988e6227cc
Update about view. Remove support link.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 03:57:25 -04:00
Roberto Rosario
9ec7fa7f93
Sort permissions in the ACL edit view and copy solution to improve the role permission sorting.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 03:21:35 -04:00
Roberto Rosario
a1568be7a7
Add missing migrations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 03:12:22 -04:00
Roberto Rosario
045056dc46
Move image container height control to the document image template.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 02:53:57 -04:00
Roberto Rosario
9e8cd4d3d7
Fix the migrations storage class name.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 02:48:39 -04:00
Roberto Rosario
bb7caa3c10
Merge remote-tracking branch 'origin/feature/storages' into merge-test
2018-04-03 02:43:24 -04:00
Roberto Rosario
271838888c
Update the old filebasedstorage imports in migrations to use Django's default file storage.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 02:37:37 -04:00
Michael Price
424d6a5af9
Standardize the way storages are used. All apps that use storage now define their storages in the .storages modules instead of the .runtime module. The storage.backends.filebasedstorage.FileBasedStorage has been remove, instead Django's default storage is used and each app is responsible of specifying their default path.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-03 02:32:28 -04:00
Michael Price
1076d5f1ff
Remove the setting STORAGE_FILESTORAGE_LOCATION. Document storage location for the storage.backend.filebasedstorage.FileBasedStorage backdend must now passed via the DOCUMENTS_STORAGE_BACKEND_ARGUMENTS, DOCUMENTS_CACHE_STORAGE_BACKEND_ARGUMENTS, or SIGNATURES_STORAGE_BACKEND_ARGUMENTS if the backend is used to documents, the document image cache and/or document signatures. Use DOCUMENTS_STORAGE_BACKEND_ARGUMENTS = '{ location: <specific_path> }' If no path is specified the backend will default to 'mayan/media/document_storage'.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-03 02:27:56 -04:00
Michael Price
f9b7012389
Support passing arguments to the document, document cache and document signatures storage backends. New settings: DOCUMENTS_STORAGE_BACKEND_ARGUMENTS, DOCUMENTS_CACHE_STORAGE_BACKEND_ARGUMENTS, SIGNATURES_STORAGE_BACKEND_ARGUMENTS
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-03 02:25:43 -04:00
Roberto Rosario
0667519052
Control the maximum height of the document thumbnail to avoid to much breakage in the panel appearances.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 02:06:35 -04:00
Roberto Rosario
fb2ba25f23
Remove the data filters feature.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 01:40:34 -04:00
Roberto Rosario
ed5d7cd812
Close GitLab issue #302 'New Document' button available to users who do not have permission.
...
Thanks to kg @kgraves.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 01:13:59 -04:00
Roberto Rosario
92bd82320b
Update volatile permission accesor. From property to method.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 00:39:30 -04:00
Roberto Rosario
68d96fae7e
Update the role permission edit view require the permission grant or permission revoke permissions for the selected role.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 00:35:09 -04:00
Roberto Rosario
73ec2f0fed
Fix issue #454 . Thanks to Andrei Korostelev @kindkaktus for the issue and the solution.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 00:19:05 -04:00
Roberto Rosario
f86acd07a4
Remove extra quote in first time login panel.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 05:08:21 -04:00
Roberto Rosario
887bb3f718
Delete repeated template.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 05:02:39 -04:00
Roberto Rosario
1d3ca382aa
Invert the columns in the ACL detail view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 04:57:48 -04:00
Roberto Rosario
db235a7e78
Add support for users ACLs. Add support for groups ACLs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 04:53:03 -04:00
Roberto Rosario
27bca4c438
Sort permission namespaces and permissions in the role permission views.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 04:45:10 -04:00
Roberto Rosario
7fb3828d77
Fix the list sub template multi item checkbox selection.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 04:38:15 -04:00
Roberto Rosario
cf99201b89
Add support for Role ACLs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 02:36:20 -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
Roberto Rosario
b06918c333
Make detection and fixing of PDF orientation as experimental and
...
default it to being disabled.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 23:59:27 -04:00
Roberto Rosario
c3f00069c9
Remove and re-add conflicting migrations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 23:42:37 -04:00
Michael Price
91ee905843
Remove debug statements.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:49:17 -04:00
Michael Price
53239385ae
Add the "to=" keyword argument to all ForeignKey, ManayToMany and OneToOne Fields.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:49:04 -04:00
Michael Price
038cd30960
Display the project's name in the first time login panel.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:48:54 -04:00
Roberto Rosario
6dcc6dbd30
Manual merge of commit 7d523250dd681292ed08fbcdc87574344918aa43
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 20:48:23 -04:00
Eric Riggs
8cd7779b14
- Fix carousel item height issues.
...
- Place the page number summary at the bottom of the carousel pages.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 20:45:14 -04:00
Michael Price
59c8bbdf2b
Don't error out when trying to view the index instance list and none has been recalculated.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:39:09 -04:00
Michael Price
1b8333a7f8
Add missing parenthesis. Fix formatting.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:38:58 -04:00
Eric Riggs
0fbfb17d83
Detect Django's debug mode and render the server side error page properly.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-01 20:37:42 -04:00
Michael Price
4c1ae55410
Update compiled translation files.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:36:52 -04:00
Michael Price
59d746db97
Update translation source files.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:36:45 -04:00