Commit Graph

997 Commits

Author SHA1 Message Date
Roberto Rosario
9ae2a7564e Update document search field 'filename' to 'label' in line with model changes 2014-10-30 13:27:25 -04:00
Roberto Rosario
79ad3bade3 Update document app to register the API and search serializer lazily 2014-10-30 13:23:19 -04:00
Roberto Rosario
8a5f215779 Update translation sources 2014-10-30 11:39:32 -04:00
Roberto Rosario
ab555ddaff Include the label in the document serializer 2014-10-30 11:02:25 -04:00
Roberto Rosario
66538763bf Fix super calling method of document type list and delete views 2014-10-30 09:58:54 -04:00
Roberto Rosario
ae101036eb Update tests 2014-10-30 03:32:20 -04:00
Roberto Rosario
d8819276b2 Remove remarked code 2014-10-30 02:45:15 -04:00
Roberto Rosario
9d65fbf321 Remove the views associated to the link they are unnecesary 2014-10-30 02:25:55 -04:00
Roberto Rosario
f1fc380f6c Remove obsolete method from admin 2014-10-29 05:53:16 -04:00
Roberto Rosario
06bb9e9753 Update document creation API call to use SharedUploadedFile model 2014-10-29 05:52:52 -04:00
Roberto Rosario
7abf944e47 Use SharedUploadedFile model for background task, add task for creating versions of a document 2014-10-29 05:52:12 -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
5bb21775f7 Add transaction.atomic, make sure the default language is used, return a list of versions not documents 2014-10-29 05:49:41 -04:00
Roberto Rosario
3909d60e9a Issue #56, Remove child_views, child_urls, children_path_regex, children_view_regex link support 2014-10-28 17:41:10 -04:00
Roberto Rosario
9596beac79 Update translation messages sources 2014-10-28 17:21:37 -04:00
Roberto Rosario
2c2dfa88cc Issue #84, Remove template context variable 'object_name' to improve ease of translation 2014-10-28 02:36:43 -04:00
Roberto Rosario
31f21d3143 Simplify event message 2014-10-28 02:17:50 -04:00
Roberto Rosario
6aecfd98e6 Issue #8, finish adding view and links to change a document's type 2014-10-28 02:01:22 -04:00
Roberto Rosario
ea68e195b1 Issue #8, when a document is added force the change document type signal 2014-10-28 01:37:16 -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
6702859f8d Unify DocumentForm and DocumentForm_edit 2014-10-27 23:20:37 -04:00
Roberto Rosario
0bed1df64a Issue #92, Make register_multi_item_links class aware 2014-10-27 19:21:05 -04:00
Roberto Rosario
a728690335 Issue #56, #97, Make multi item links a drop down list of actions, remove unused code 2014-10-27 16:26:13 -04:00
Roberto Rosario
9b037e3b9d Improve document's apps API endpoints docstrings 2014-10-27 15:08:08 -04:00
Roberto Rosario
744d8ec0d8 Make the new document label optional, the backend will use the filename is none is specified 2014-10-27 05:19:41 -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
9e85da2f2b Add custom post document version upload signal 2014-10-27 05:17:40 -04:00
Roberto Rosario
9c9632f920 Add proper document creation API endpoint 2014-10-27 04:49:29 -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
df74239e85 Move language choices to the literals module 2014-10-27 04:46:31 -04:00
Roberto Rosario
20fb9dffbd Update translation sources 2014-10-25 02:50:31 -04:00
Roberto Rosario
7b92d1633a Fix typo 2014-10-25 02:31:24 -04:00
Roberto Rosario
71e8502614 Remove confirmation template's form icon 2014-10-25 02:21:44 -04:00
Roberto Rosario
6a8b183213 Add flag to ignore result for background task of queue 'tools' 2014-10-25 01:59:10 -04:00
Roberto Rosario
45587561de Add TODO reminder 2014-10-25 01:58:52 -04:00
Roberto Rosario
6a007492a8 Add initial new document version class based view 2014-10-24 18:50:23 -04:00
Roberto Rosario
4acf88c9a6 Initial commit of the sources upload, new version and new document refactor 2014-10-23 17:10:02 -04:00
Roberto Rosario
e6c2628b2e Add document model manager to simplify and encapsulate document creation 2014-10-23 16:57:20 -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
8567df1da8 Don't use Django's get_or_create in migrations.
http://south.aeracode.org/ticket/325
https://stackoverflow.com/questions/20039250/django-1-6-transactionmanagementerror-database-doesnt-behave-properly-when-aut
2014-10-23 12:06:58 -04:00
Roberto Rosario
07c595fd65 Reuse expensive values to improve issue #49 2014-10-23 03:17:25 -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
f328789d26 Space cleanups 2014-10-23 01:28:54 -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
2888075f40 Change edit view and link texts 2014-10-23 01:11:58 -04:00
Roberto Rosario
db2ca4fb58 Issue #85, Reset page count for a single or multiple documents.
Issue #57, convert to celery task
2014-10-22 19:33:20 -04:00
Roberto Rosario
f86be42dd0 Issue #57, conver the document image queue maintenance view into a celery task 2014-10-22 18:21:40 -04:00
Roberto Rosario
e31d37ef09 Update source messages 2014-10-22 15:52:54 -04:00
Roberto Rosario
e8762e4792 Issue #87, Per document language selection 2014-10-22 02:35:16 -04:00