Commit Graph

4189 Commits

Author SHA1 Message Date
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
0b1230f214 Update serializer settings code. 2015-07-15 01:04:16 -04:00
Roberto Rosario
1213175112 Sources app upload workflow refactoring. 2015-07-15 01:03:57 -04:00
Roberto Rosario
fc9d7b1a8b Remove celery code execute from model. Allow for default at the model level. 2015-07-15 01:03:23 -04:00
Roberto Rosario
6b5312ff41 Update document creation API to return the id of the created document. 2015-07-15 01:02:24 -04:00
Roberto Rosario
da0e03bf12 Wrap transformation cloning in a transaction. 2015-07-15 01:01:58 -04:00
Roberto Rosario
1b37a13bf5 Rename source upload handling methods to be more meaningful. 2015-07-14 10:20:19 -04:00
Roberto Rosario
dbc08afd45 Catch operational errors in more critical places. 2015-07-14 02:21:55 -04:00
Roberto Rosario
8d7a9df7e8 Add optimization reminder. 2015-07-13 23:44:43 -04:00
Roberto Rosario
7ba9410d70 Fix typo 2015-07-13 23:44:35 -04:00
Roberto Rosario
aed6569096 Index frequently used document version and document fields. 2015-07-13 20:59:53 -04:00
Roberto Rosario
ba1e36146d Calculate inherited permission by id of parent object not pk of ACL of parent. 2015-07-13 19:44:45 -04:00
Roberto Rosario
defe947c79 Only shade icons and labels of the block level buttons. 2015-07-13 19:44:18 -04:00
Roberto Rosario
c23749b37e Make logo shadow more distant. 2015-07-13 19:43:56 -04:00
Roberto Rosario
ee83624704 Don't fail if model has not inherited permissions. 2015-07-13 02:28:24 -04:00
Roberto Rosario
fed241fd6f Don't delete document on tearDown, might not exists after test already deleted it, causes integrity errors on MySQL. 2015-07-13 02:07:29 -04:00
Roberto Rosario
d5b5927c77 Reference file in storage backend by name and not by path. 2015-07-13 02:03:30 -04:00
Roberto Rosario
8c603ce2ff Update document image cache references to document cache. 2015-07-13 02:02:48 -04:00
Roberto Rosario
9edf3dd51d Add missing tearDown methods to tests. 2015-07-13 01:26:19 -04:00
Roberto Rosario
f5a45c91f8 Add logging for more apps during tests. 2015-07-13 01:17:21 -04:00
Roberto Rosario
c8bc7c0c5f Update release notes. 2015-07-13 01:17:02 -04:00
Roberto Rosario
ac1f4eb59a Improve the way the AssignRemove view gets the list's help texts. Don't use None for extra context if there is none. 2015-07-13 01:16:17 -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
73c650a5fb Add minimal shadow to button texts and to icons. 2015-07-13 01:00:29 -04:00
Roberto Rosario
34c1f1227d Improve appearance of block level buttons (front page, tools, setup). 2015-07-13 00:59:31 -04:00
Roberto Rosario
1f213450c2 Change the way the ocr tests acquired document version text. 2015-07-12 03:46:19 -04:00
Roberto Rosario
28593a6267 Add logging for more apps and reduce severity during tests. 2015-07-12 03:31:21 -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
c2a0990e57 Change deprecated import of get_model. 2015-07-12 02:58:31 -04:00
Roberto Rosario
53c631b505 Use smaller pagination in test. 2015-07-11 17:20:45 -04:00
Roberto Rosario
7c95431066 Remark unused wrong test. 2015-07-11 17:20:11 -04:00
Roberto Rosario
af654c9aa9 Fix variable name. 2015-07-11 17:19:51 -04:00
Roberto Rosario
6b0114a001 Add missing import. 2015-07-11 17:19:36 -04:00
Roberto Rosario
ff0bb847a5 Fix wrong permission for view. 2015-07-11 17:18:56 -04:00
Roberto Rosario
8b608452a5 Lower severity of operational error during OCR. 2015-07-11 17:01:03 -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
e47c0c5eb5 Increase default pagination to 40 entries per page. 2015-07-11 16:28:12 -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
0238be7a18 Add support for retrying upload queue and ocr queue tasks in the event of Database locking errors. 2015-07-11 16:19:04 -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
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
d10ad2eb74 Convert transformation views to CBV. 2015-07-11 03:57:41 -04:00
Roberto Rosario
b5ede7c2d3 Add auto increment order for transformations. 2015-07-11 03:45:38 -04:00
Roberto Rosario
72bbc3f4e9 Make validator not trigger migration creation. 2015-07-11 02:59:18 -04:00
Roberto Rosario
f95c9c2aa4 Convert the source edit and delete views to CBV. 2015-07-11 02:36:31 -04:00
Roberto Rosario
a05888b683 Fix email sources clearing the password field on view. 2015-07-11 02:19:22 -04:00
Roberto Rosario
07dbe71c41 Fix source object links. 2015-07-11 02:19:02 -04:00
Roberto Rosario
a9c04115f7 Add index rebuild test. 2015-07-11 02:06:15 -04:00