Commit Graph

288 Commits

Author SHA1 Message Date
Roberto Rosario
2e9a809a4e Use same icon for tools as in setup. 2015-07-29 13:32:27 -04:00
Roberto Rosario
e4fa3c4960 Add slugs to indexes to be able to reference them from the mirroring app. 2015-07-28 21:54:40 -04:00
Roberto Rosario
61b41cfd79 Add missing commas in tuples. 2015-07-28 02:54:07 -04:00
Roberto Rosario
54f3cef7ba Replace unnecessary lists with tuples. 2015-07-28 00:49:07 -04:00
Roberto Rosario
3b728328ad PEP8 cleanups, E501. 2015-07-23 04:05:29 -04:00
Roberto Rosario
4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -04:00
Roberto Rosario
afe6644321 Use shorter confirmation messages. 2015-07-17 19:52:17 -04:00
Roberto Rosario
91a9b3b045 Finish document upload task refactor. Increase failure tolerance to database Operational Errors. 2015-07-15 04:36:23 -04:00
Roberto Rosario
fd8721b297 Add teardown method for all tests. 2015-07-12 03:28:31 -04:00
Roberto Rosario
e05f6b5830 Replace tests fails checks to assertions. 2015-07-12 02:59:45 -04:00
Roberto Rosario
1da2860d0a Wrap indexation in a transaction. 2015-07-11 17:00:42 -04:00
Roberto Rosario
004b0c75d7 Retry indexation if an operationalerror is encountered. 2015-07-11 17:00:13 -04:00
Roberto Rosario
17d969dafe Move indexing retry amount to the literals.py module. Specify retry delay in the task decorator to reduce repetition. 2015-07-11 16:24:51 -04:00
Roberto Rosario
a9c04115f7 Add index rebuild test. 2015-07-11 02:06:15 -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
036a55065c Change the index creation, edit and deletion views to CBV. Remove unused IndexForm. 2015-07-09 02:25:23 -04:00
Roberto Rosario
e635a3520f Move index management code to the managers.py module. 2015-07-08 18:56:07 -04:00
Roberto Rosario
e0d6571d95 Fix imports in tests. 2015-07-08 01:43:44 -04:00
Roberto Rosario
1b756486f2 Test update 2015-07-08 00:27: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
ab2d4537dc Remove name field. Rename title field to label. 2015-07-07 21:04:00 -04:00
Roberto Rosario
6eeba3ee67 Update document indexing test to take into account new trash feature. 2015-07-06 02:04:05 -04:00
Roberto Rosario
3f53d35083 Remove unused import 2015-07-06 01:21:58 -04:00
Roberto Rosario
aea6772cbf Reimplement the IndexInstanceNodeView CBV view as a multi-inheritance CBV with manual super class resolution. 2015-07-06 00:03:21 -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
7771740e59 Remove unused views 2015-07-02 20:28:43 -04:00
Roberto Rosario
0e7bf60717 Convert index instance view to CBV. Add smart document count to index instance view. 2015-07-02 04:10:28 -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
963211f45c Remove index previous level navigation link. 2015-07-02 02:08:10 -04:00
Roberto Rosario
91a7b66908 Improve index nodes widget icons and spacing. 2015-07-02 01:50:58 -04:00
Roberto Rosario
80e855e7b4 Return '#' for invalid indexes (unitialized, indexes with not node instances). 2015-07-02 01:50:19 -04:00
Roberto Rosario
c3c4fcb2b2 Convert index list view to CBV. 2015-07-02 01:49:52 -04:00
Roberto Rosario
51d50672f3 Change index setup list view to CBV. 2015-07-02 01:32:03 -04:00
Roberto Rosario
c6ec9fbc33 Rebalance permissions. 2015-07-01 20:58:16 -04:00
Roberto Rosario
f0cfe314f0 PEP8 cleanups 2015-07-01 16:45:33 -04:00
Roberto Rosario
ace76fc69c Update apps for new ACLs refactor. 2015-07-01 16:36:20 -04:00
Roberto Rosario
e9ea2dc35a Modernize usage of the AssignRemove CBV 2015-06-30 17:19:56 -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
a5e922416b Make generates_choices_w_label a static method of AssignRemove, it's not anywhere else. 2015-06-23 03:13:28 -04:00
Roberto Rosario
e4623fadcd PEP8 cleanups 2015-06-23 02:23:23 -04:00
Roberto Rosario
c249b47b79 Finish smart settings refactor 2015-06-23 01:44:57 -04:00
Roberto Rosario
50e547dc98 Allow app to auto add their urlpatterns via MayanAppConfig AppConfig subclass 2015-06-19 20:42:34 -04:00
Roberto Rosario
f99db0f66b Reassign icons to indexing, workflows and metadata links 2015-06-16 04:47:21 -04:00
Roberto Rosario
7dc8cee43f Normalize how all urls are defined 2015-06-16 02:07:37 -04:00
Roberto Rosario
b929194905 Add the "dangerous" tag to the links whose actions result in permanent data erasure 2015-06-04 20:37:46 -04:00