Commit Graph

123 Commits

Author SHA1 Message Date
Roberto Rosario
8179c35189 Simplify test runner by adding a new option '--mayan-apps' that
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2017-03-14 23:47:40 -04:00
Roberto Rosario
f67443f0d5 Add dhasboard widgets removed by the merge with master. 2017-02-13 21:15:27 -04:00
Roberto Rosario
5f99b123d7 Merge branch 'master' into master_merge 2017-02-03 14:08:34 -04:00
Roberto Rosario
6fbd166f3c Add event list API view 2017-01-29 01:25:59 -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
4578eacce9 Consolidate the page thumbnail and staging folder thumbnail widgets.
Update the staging folder file image API end point to work
in the same way the document page image API works.
2016-11-16 19:05:56 -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
248d3886e0 Add dashboard feature 2016-11-11 02:12:42 -04:00
Roberto Rosario
d473245fb2 Rename the document_html_widget to document_page_html_widget for clarity of purpose. 2016-11-04 01:45:40 -04:00
Roberto Rosario
621c988809 Simplify filter_by_access boilerplate code 2016-11-02 03:48:16 -04:00
Roberto Rosario
c0194c63dc Refactor document page image generation and transformation classes
to cache all transformed versions of a document page.
2016-11-02 02:34:57 -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
24ef702e9c Update some direct model importing to use Django's apps.get_model instead. 2016-10-30 02:46:36 -04:00
Roberto Rosario
b8b2e0e929 Initial commit to support per page search. 2016-10-27 02:48:40 -04:00
Roberto Rosario
924cb21a83 Add the permission_document_restore permission to the available permission for document's ACLs. GitLab issue #267 @bat79a 2016-05-04 01:39:32 -04:00
Roberto Rosario
a7faf7f427 Implement per document type document creation permission. Closes GitLab issue #232. 2016-03-08 03:39:23 -04:00
Roberto Rosario
b19225e95d Load models by calling AppConfig.get_model method instead. 2016-01-22 03:59:42 -04:00
Roberto Rosario
f517057dba Add permission inheritance to document pages and documents version with 'document' as the parent object. 2015-10-28 01:07:24 -04:00
Roberto Rosario
19a2c02594 Document count column in document type list view is now permission aware. 2015-10-19 02:19:08 -04:00
Roberto Rosario
bdc15fb518 Show thumbnails and previews for deleted documents. 2015-10-14 15:23:02 -04:00
Roberto Rosario
976a86947e Add management command to run tests from app list built dynamically. 2015-10-10 03:24:57 -04:00
Roberto Rosario
c1619c93e0 Finish statistics subsystem refactor. 2015-09-14 21:57:55 -04:00
Roberto Rosario
5846743d6e Finish conversion of statistic to periodic statistics. Add ChartJS support. Add Line chart renderer. 2015-09-09 04:36:09 -04:00
Roberto Rosario
70c23a19d3 Initial commit to support scheduled statistics. 2015-09-09 00:24:53 -04:00
Roberto Rosario
43e1ffbc24 Add scheduled task to delete stale document stubs. 2015-09-08 18:38:24 -04:00
Roberto Rosario
a04bccb842 Add missing model event log registration. Remove debug statement. 2015-08-25 22:01:28 -04:00
Roberto Rosario
60bc327756 Improve SourceColumn workflow by allowing explicit functions as columns. Remove usage of encapsulate. Move instances of 'extra_columns' to SourceColumn. 2015-08-16 14:26:41 -04:00
Roberto Rosario
960d60c39d Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.
Update DRF and DRF swagger versions. Update all apps API registration method.
2015-08-06 02:56:17 -04:00
Roberto Rosario
7cae9dd18e Update the smart link app to use Django templating language. gh-issues #151. 2015-07-28 02:44:33 -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
4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -04:00
Roberto Rosario
40ca9c4839 Move the document page update task to the upload queue. 2015-07-11 16:18:21 -04:00
Roberto Rosario
a2cedc3f9b Fix queue typos. Add a default queue as required by celery. 2015-07-11 00:50:55 -04:00
Roberto Rosario
133fcdc53c Assign tasks to specific queues. Add support for transient queues. gh-issue #222, gh-issue #230. 2015-07-10 21:25:20 -04:00
Roberto Rosario
aec8263ad8 Convert events app views to CBV. 2015-07-10 02:54:59 -04:00
Roberto Rosario
bc3eed143c Add permission inheritance by parent object. Add ACLs app model tests. 2015-07-10 01:40:21 -04:00
Roberto Rosario
ee6bb866c9 Add support for document retention policies. Closes gh-issue #189. 2015-07-04 02:25:59 -04:00
Roberto Rosario
589874bec1 Simplify 'trash can' to just 'trash'. 2015-07-03 21:04:47 -04:00
Roberto Rosario
ab53270942 Add field to store when a document was deleted. 2015-07-03 21:00:18 -04:00
Roberto Rosario
7e8e124d09 Add support for emptying the trash can in a single action. 2015-07-03 20:50:07 -04:00
Roberto Rosario
3e299f030a Add support to fully delete documents from trash can. Rename previous delete link and related code to 'move to trash'. gh-issue #188. 2015-07-03 18:35:10 -04:00
Roberto Rosario
98b988038e Implement document trash can and soft delete support. First half or gh-issue 188. 2015-07-03 03:28:02 -04:00
Roberto Rosario
ad5709c8ce Remove maintenance tools menu entry, apps now register tools directly to the tools menu. 2015-07-02 02:47:46 -04:00
Roberto Rosario
ee1b05fb57 Refactor code to associate a model with a set of permissions. Update related apps. 2015-06-30 22:00:14 -04:00
Roberto Rosario
d45cf5d02e Update apps to new ACL app changes 2015-06-30 02:42:46 -04:00
Roberto Rosario
d26402974a Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals). 2015-06-28 00:19:49 -04:00
Roberto Rosario
48df3dcafa PEP8 cleanups 2015-06-24 17:11:24 -04:00
Roberto Rosario
e9282132e5 Split search field registration to their respective apps 2015-06-24 15:19:51 -04:00
Roberto Rosario
b4efd4574e Refactor register_model_columns into SourceColumn class 2015-06-23 04:12:13 -04:00