Commit Graph

50 Commits

Author SHA1 Message Date
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
8d549df088 Index the is_stub and is_deleted document boolean fields. 2016-05-09 19:54:32 -04:00
Roberto Rosario
bd648d0cb1 Postgresql needs typecasting for turning char fields into native UUID fields.
Conditionally run the necesary SQL for this to happen. GitLab issue #266 Thanks to Baptiste GAULLET @bat79a for finding the solution.
2016-05-05 23:17:32 -04:00
Roberto Rosario
23f40ac4aa PEP8 cleanups. 2016-04-27 20:31:02 -04:00
Roberto Rosario
355190e919 Start of document_signatures app refactor. 2016-03-25 04:07:57 -04:00
Roberto Rosario
4c4409aa1e PEP8 cleanups. 2016-03-17 00:44:54 -04:00
Roberto Rosario
3d36f1b828 Update Document model's uuid field to use Django's native UUIDField class. 2016-03-15 01:44:34 -04:00
Roberto Rosario
5b6b35f1c3 Make document type deletion period optional. 2016-03-09 14:39:16 -04:00
Roberto Rosario
ca15cadc5e Add missing migration for pycountry update. 2016-01-22 04:01:49 -04:00
Roberto Rosario
da4c41c5b2 Change the way new document version are blocked, moving the logic to the documents app from the checkouts app signal handler. Disable the upload new document version button and have the new version upload view redirect to the document version list with a message. GitLab issue #231. 2015-10-23 06:06:59 -04:00
Roberto Rosario
df417f562c PEP8 Cleanups (471 warnings). 2015-09-17 21:34:27 -04:00
Roberto Rosario
60e64b92fd PEP8 Cleanup (495 warnings). 2015-09-16 09:33:16 -04:00
Roberto Rosario
399103488c PEP8 cleanups 2015-08-25 20:49:42 -04:00
Roberto Rosario
7392e80fc2 PEP8 Cleanups. 2015-08-24 20:55:45 -04:00
Roberto Rosario
fbc28f5bbc Index the user field of the recent document model to reduce view rendering as per profiling results. 2015-08-24 03:04:24 -04:00
Roberto Rosario
830c32c30f Add missing documents migration. 2015-07-29 19:43:56 -04:00
Roberto Rosario
c275988c90 PEP8 cleanups, E501: 79 character long lines. 2015-07-19 03:27:41 -04:00
Roberto Rosario
68e450a3c7 Migrate all document languages and use the 'terminology' language abbreviation. gh-issue #211 2015-07-18 03:56:09 -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
fc9d7b1a8b Remove celery code execute from model. Allow for default at the model level. 2015-07-15 01:03:23 -04:00
Roberto Rosario
aed6569096 Index frequently used document version and document fields. 2015-07-13 20:59:53 -04:00
Roberto Rosario
e891fe9525 PEP8 cleanups and code style cleanups. 2015-07-10 17:19:36 -04:00
Roberto Rosario
f2efbc95af Document descriptions don't need to allow null. 2015-07-07 23:25:39 -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
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
ee6bb866c9 Add support for document retention policies. Closes gh-issue #189. 2015-07-04 02:25:59 -04:00
Roberto Rosario
ab53270942 Add field to store when a document was deleted. 2015-07-03 21:00:18 -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
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
8e665c1846 Improve migration dependecy 2015-06-17 18:44:45 -04:00
Roberto Rosario
63201aa082 Remove the page_label field from the document page model. Closes gh-issue #195 2015-06-17 00:31:11 -04:00
Roberto Rosario
08a8ae2554 Move document page content code to the OCR app. Prep work for issue #186. 2015-06-17 00:21:35 -04:00
Roberto Rosario
51e4b8b44c Add migration to change the way ordering was defined 2015-06-16 15:32:14 -04:00
Roberto Rosario
9db47a843f Convert documents app to new transformation system 2015-06-08 15:56:57 -04:00
Roberto Rosario
3088760dd7 Remove erroneous migrations 2015-03-30 05:37:34 -04:00
Roberto Rosario
0db6a4fdef Remove lambdas from models, they are not serializable. Add remaining migrations. Issue #33 2015-03-30 05:34:50 -04:00
Roberto Rosario
2441d232ab Issue #86, move south migrations from the 'migrations' to the 'south_migrations' directory 2014-10-21 13:23:05 -04:00
Roberto Rosario
eaefa305a2 Issue #56, remove document version fields 'release_level' and 'serial' 2014-10-18 02:32:11 -04:00
Roberto Rosario
01fffaa59b Update auto_now_add and auto_now for the documents app models 2014-10-18 00:49:49 -04:00
Roberto Rosario
8bac1525be PEP8 cleanups 2014-10-08 19:39:16 -04:00
Roberto Rosario
97dcf507ab PEP8 cleanups 2014-10-08 18:14:05 -04:00
Roberto Rosario
5e21b91b24 The timestamp field is used constantly to determine the latest version of a document, index it 2014-07-22 02:17:18 -04:00
Roberto Rosario
793767f19e Fix models states in lastest migration 2014-07-22 02:12:31 -04:00
Mathias Behrle
30f73ba73c Increasing field length of page_label to 40 chars.
The german translation takes 33 chars. This breaks saving the ocr
 result.
2014-07-11 01:59:04 +02:00
Roberto Rosario
3bed82fc16 PEP8 cleanup, unused imports, missing imports, style cleanups 2014-07-10 02:45:19 -04:00
Roberto Rosario
6a659741af PEP8 cleanups 2014-06-30 00:57:53 -04:00
Roberto Rosario
ecb6733cd4 PEP8 cleanups, unused imports cleanups 2014-06-29 14:14:27 -04:00
Roberto Rosario
ec1745b50b Initial changes to support the new Django 1.6 project structure 2014-06-15 13:13:21 +02:00