Commit Graph

715 Commits

Author SHA1 Message Date
Roberto Rosario
40ca9c4839 Move the document page update task to the upload queue. 2015-07-11 16:18:21 -04:00
Roberto Rosario
c8f5aac133 Convert the document type list, create, edit and delete views to CBV. Remove unused DocumentTypeForm. 2015-07-11 04:14:54 -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
e891fe9525 PEP8 cleanups and code style cleanups. 2015-07-10 17:19:36 -04:00
Roberto Rosario
aec8263ad8 Convert events app views to CBV. 2015-07-10 02:54:59 -04:00
Roberto Rosario
76c3ff7374 Remove the acl filter option 'exception_on_empty'. 2015-07-10 01:49:42 -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
3af3747be9 Add views to display document list per document type and per workflow. 2015-07-08 18:29:45 -04:00
Roberto Rosario
7a377653ca Update missing name -> label. 2015-07-08 03:37:17 -04:00
Roberto Rosario
90be5145c0 Rename test file. 2015-07-08 02:00:27 -04:00
Roberto Rosario
a54fe3f131 Add trash, restore and deletion test to document models. 2015-07-08 01:25:20 -04:00
Roberto Rosario
2fabe92b20 Add test for trashing, restoring and deletion of documents. 2015-07-08 01:15:12 -04:00
Roberto Rosario
d751a8bc2f Improve logging messages. 2015-07-08 01:14:55 -04:00
Roberto Rosario
1e588d87eb Store an empty string if no document description is given. 2015-07-08 00:27:13 -04:00
Roberto Rosario
f2efbc95af Document descriptions don't need to allow null. 2015-07-07 23:25:39 -04:00
Roberto Rosario
77157cab2c Split tests into tests for models, views and API, very good recommendation from Two Scoops of Django by @pydanny and @audreyr. 2015-07-07 21:49:50 -04:00
Roberto Rosario
7a11fddcc1 Add migrations to sync model options. 2015-07-07 21:15:29 -04:00
Roberto Rosario
c861799b6b Rename document type model 'name' field to 'label'. 2015-07-07 21:12:44 -04:00
Roberto Rosario
46b6f908f4 Misc test fixes. 2015-07-07 01:30:32 -04:00
Roberto Rosario
a59234bb83 Use SharedUploadedFile's new open() method. 2015-07-07 01:28:06 -04:00
Roberto Rosario
01cf7780c0 Add reminder. 2015-07-07 01:25:52 -04:00
Roberto Rosario
51fd266d40 Update documents app tests, disabled several non passing functional test as these will be moved to the common app. 2015-07-06 03:04:19 -04:00
Roberto Rosario
8bdd8e032d Update documents app API views. 2015-07-06 03:02:17 -04:00
Roberto Rosario
7979b097ef Explictly delete document when deleting a document type. Remove unused code. Pop argument 'to_trash' from document.save to avoid super() error. 2015-07-06 02:42:19 -04:00
Roberto Rosario
7e9fa745c6 'Expand' is no longer a feature of the document's apps, but of the source's app, remove it from the document's serializer. 2015-07-06 02:21:56 -04:00
Roberto Rosario
b642e4005e PEP8 cleanups 2015-07-06 02:07:50 -04:00
Roberto Rosario
8cc05bbefb Initial commit of new document upload workflow which allows for document promises to be returned after POST request, gh-issue #194. Add new signal when a document is uploaded and finally ready, gh-issue #193 and gh-issue #213. 2015-07-05 03:33:27 -04:00
Roberto Rosario
e856ff62c3 Remove unused variable from recent document list view context. 2015-07-04 03:11:53 -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
7771740e59 Remove unused views 2015-07-02 20:28:43 -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
23fda5561e Propery filter documents queryset on CBV that return a list of documents. 2015-07-01 17:01:41 -04:00
Roberto Rosario
ace76fc69c Update apps for new ACLs refactor. 2015-07-01 16:36:20 -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
060033b41c Fix typo 2015-06-30 02:46:56 -04:00
Roberto Rosario
d45cf5d02e Update apps to new ACL app changes 2015-06-30 02:42:46 -04:00
Roberto Rosario
5be41af1cf Remove DefaultAccessControlList support 2015-06-29 14:51:37 -04:00
Roberto Rosario
f326007f40 Update links labels to uppercase 2015-06-29 14:19:06 -04:00
Roberto Rosario
1c084aa07b Split Permission and StoredPermission class and model into different modules. Simplified the Permission class. 2015-06-28 01:03:29 -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
72b91b79ac Move document type's OCR settings from the documents app to the OCR app 2015-06-24 01:52:33 -04:00
Roberto Rosario
b18888b3f7 Convert and cache office documents at the document version level for faster page image retrieval 2015-06-24 01:04:35 -04:00