Commit Graph

76 Commits

Author SHA1 Message Date
Roberto Rosario
e47385ddfb Remove no longer used document method 2015-06-16 15:21:02 -04:00
Roberto Rosario
c5ca22f6d2 Use tuples instead of lists to define model ordering 2015-06-16 02:12:31 -04:00
Roberto Rosario
296d218c01 Remove remainig document page transformation code 2015-06-08 22:29:29 -04:00
Roberto Rosario
9db47a843f Convert documents app to new transformation system 2015-06-08 15:56:57 -04:00
Roberto Rosario
b256758db2 Implement class based converter transformations 2015-06-07 05:29:31 -04:00
Roberto Rosario
f4752a3f3f Further converter refactor and initial move from document-centric to page-centric image generation. Issue #93. 2015-06-06 06:26:44 -04:00
Roberto Rosario
de6182aea0 Initial commit of the converter refactor 2015-06-05 03:35:07 -04:00
Roberto Rosario
8e62c21bb1 Add missing return statement 2015-04-06 01:53:37 -04:00
Roberto Rosario
4d2891b361 Remove use of the permalink decorator 2015-04-06 01:36:22 -04:00
Roberto Rosario
26d64c45f5 Add the @python_2_unicode_compatible to all models. Closes issue #67 2015-04-01 02:40:19 -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
bd041457c9 Update project to use Django 1.7.7. Issue #33 2015-03-30 03:43:56 -04:00
Roberto Rosario
f4d3767b15 PEP8 cleanup, remove unused imports, fix permission check when removing metadata from a document 2015-01-26 19:17:35 -04:00
Roberto Rosario
1e461d020c Normalize import style 2015-01-26 16:32:16 -04:00
Roberto Rosario
d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario
747dda21c8 Add __unicode__ method for DocumentVersion model 2015-01-15 02:54:47 -04:00
Roberto Rosario
b22bb55cbc User a direct objects.create no need for a separate .save() call 2015-01-14 18:48:00 -04:00
Roberto Rosario
fd1f5d1dad Make document language choices a configurable list. Issue #137.
To override the default list of 600+ languages add a configuration entry to your settings/local.py like so:
DOCUMENTS_LANGUAGE_CHOICES = [('eng', 'English'), ('deu', 'German')]

to make the list translatable import ugettext_lazy and enclose the language name with _():

from django.utils.translation import ugettext_lazy as _
DOCUMENTS_LANGUAGE_CHOICES = [('eng', _('English')), ('deu', _('German'))]
2015-01-14 02:22:47 -04:00
Roberto Rosario
bbab21d228 Initial commit of the new events app 2015-01-10 19:01:57 -04:00
Roberto Rosario
2f593c5a6f Remove unused code to rename documents filenames 2015-01-07 03:59:04 -04:00
Roberto Rosario
5c8e13e61f Make document type filenames unique for each document type 2015-01-07 03:57:54 -04:00
Roberto Rosario
384ebde6ab Unicode representaion of document version is no longer used 2014-12-13 05:04:12 -04:00
Roberto Rosario
af51acebf5 Isse #56, Remove document versions major, minor and micro versioning fields 2014-12-09 03:15:23 -04:00
Roberto Rosario
5963822be7 Split document view into document preview, document content and document properties views 2014-11-17 18:52:20 -04:00
Roberto Rosario
c6b1b5cb54 Add document label field help_text 2014-11-11 02:56:59 -04:00
Roberto Rosario
00d0500284 Add bulk document type change support 2014-11-05 01:00:42 -04:00
Roberto Rosario
6796ce8b49 Remove configurability of the document and document signatures UUID function 2014-11-05 00:18:34 -04:00
Roberto Rosario
11ca9ba1eb Issue #56, remove configurability of the checksum algorithm 2014-11-05 00:15:02 -04:00
Roberto Rosario
ba1729106f Pass arguments to the logger the correct way 2014-11-02 20:55:21 -04:00
Roberto Rosario
11382caa9e upload_to passes two arguments, we don't use them but have to allow them 2014-10-30 15:58:13 -04:00
Roberto Rosario
c8139f22d7 Remove the get_filename_from_uuid helper function 2014-10-30 15:00:38 -04:00
Roberto Rosario
9a0842409e Remove debug code, add TODO reminders, simplify new version creation method 2014-10-29 05:50:34 -04:00
Roberto Rosario
6534326df9 Issue #8, Initial changes to allow update a document's document type.
Added signal emited then the type is changed, added Document model method to
update the document type
2014-10-28 01:35:13 -04:00
Roberto Rosario
6ad26f3c9a Add filenames accesor for DocumentType model 2014-10-27 23:22:35 -04:00
Roberto Rosario
546a593e26 Use the new post version upload signal to ensure OCR starts only when all of a new
document version pages have been created
2014-10-27 05:18:25 -04:00
Roberto Rosario
48cbe309f4 Remove language choices from the documents models module and use the one define in literals.py 2014-10-27 04:47:02 -04:00
Roberto Rosario
45587561de Add TODO reminder 2014-10-25 01:58:52 -04:00
Roberto Rosario
c129236aae Move filename to be a document and not a documentversion property 2014-10-23 16:55:45 -04:00
Roberto Rosario
e131463f90 Issue #78, Don't cache values that may be updated by out of process code
This fix makes issue #49 worse; fix: cache page count and latest version
at form/widget and not at model.
2014-10-23 02:44:09 -04:00
Roberto Rosario
d15d5746b5 Move UUID setting from the save method to a default value of the model 2014-10-23 01:13:22 -04:00
Roberto Rosario
e8762e4792 Issue #87, Per document language selection 2014-10-22 02:35:16 -04:00
Roberto Rosario
549f0fdc87 Issue #75, move OCR queueing from a setting to a DocumentType model field 2014-10-21 16:53:42 -04:00
Roberto Rosario
3c72d62087 Issue #82, make document type a required field 2014-10-21 16:35:39 -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
2559f67e12 Remove document model first_version property, not used anywhere 2014-10-15 20:49:51 -04:00
Roberto Rosario
c09b423292 Use a modern way to define classes getters & setters 2014-10-13 17:54:11 -04:00
Roberto Rosario
8200204ddc Convert the 'document_save_to_temp_dir' utility function into a method of the Document model 2014-10-13 17:51:28 -04:00
Roberto Rosario
bcc71bebd2 Issue #56, remove print preview unused code 2014-10-13 17:08:23 -04:00
Roberto Rosario
b158b48556 Cache a document versions page count 2014-10-11 03:30:41 -04:00