Commit Graph

172 Commits

Author SHA1 Message Date
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
Roberto Rosario
2ea48bd1ba PEP8 cleanups, further removal of unused code 2014-10-21 19:28:52 -04:00
Roberto Rosario
239af4c01a Simplify plural tense of objects 2014-10-21 17:42:00 -04:00
Roberto Rosario
d0ed74dfc3 Move links order for uniformity, move all delete button to the far right to reduce accidental clicking 2014-10-21 17:41:16 -04:00
Roberto Rosario
d7d61b0fd2 Remove unused registry files 2014-10-21 17:19:32 -04:00
Roberto Rosario
c0785fa098 Show document type for each document 2014-10-21 17:15:20 -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
2441d232ab Issue #86, move south migrations from the 'migrations' to the 'south_migrations' directory 2014-10-21 13:23:05 -04:00
Roberto Rosario
2f01904217 Issue #56, remove boostrap app 2014-10-21 12:30:54 -04:00
Roberto Rosario
13f8bddeb2 Issue #56, Remove duplicate search feature 2014-10-18 02:37:04 -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
618a4a4ae8 Add reverse accesor from tag to document, move the search field definition for tag to the tag app 2014-10-18 02:00:16 -04:00
Roberto Rosario
8cc8e8abc6 Simplify code, remove import 2014-10-18 01:00:39 -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
bc13129e3b Close issue #77, add document view permission to the search app 2014-10-14 04:00:14 -04:00
Roberto Rosario
780c55e255 Add dynamic_search app API endpoints, simplify ModelSearch class and search views 2014-10-14 03:40:46 -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
6e3b62363e Solve issue #70 2014-10-13 17:16:14 -04:00
Roberto Rosario
bcc71bebd2 Issue #56, remove print preview unused code 2014-10-13 17:08:23 -04:00
Roberto Rosario
e26c6c1905 Use the page_count method which can cache the result 2014-10-11 03:47:56 -04:00
Roberto Rosario
d86f53f81c Use the cached page count 2014-10-11 03:31:02 -04:00
Roberto Rosario
b158b48556 Cache a document versions page count 2014-10-11 03:30:41 -04:00
Roberto Rosario
95850a919a Cache a document's latest version 2014-10-11 03:21:14 -04:00