06bb9e9753
Update document creation API call to use SharedUploadedFile model
Roberto Rosario
2014-10-29 05:52:52 -04:00
7abf944e47
Use SharedUploadedFile model for background task, add task for creating versions of a document
Roberto Rosario
2014-10-29 05:52:12 -04:00
83f4d90fa3
Don't store OCR error log if no document was created
Roberto Rosario
2014-10-29 05:51:23 -04:00
9a0842409e
Remove debug code, add TODO reminders, simplify new version creation method
Roberto Rosario
2014-10-29 05:50:34 -04:00
5bb21775f7
Add transaction.atomic, make sure the default language is used, return a list of versions not documents
Roberto Rosario
2014-10-29 05:49:41 -04:00
099844e15d
Add SharedUploadedFile model to distribute work files between Mayan nodes easier
Roberto Rosario
2014-10-29 05:46:26 -04:00
3909d60e9a
Issue #56, Remove child_views, child_urls, children_path_regex, children_view_regex link support
Roberto Rosario
2014-10-28 17:41:10 -04:00
b8fe08f831
Fix casing of message
Roberto Rosario
2014-10-28 17:21:52 -04:00
c390fc21d7
Issue #56, #8, now that metadata types are automatically added to a document upon type change, there is no more need for the document metadata add and remove code, view, API
Roberto Rosario
2014-10-28 02:16:53 -04:00
6eb6c43807
Automatically the appropiate metadata types when the document's type is changed
Roberto Rosario
2014-10-28 02:01:59 -04:00
6aecfd98e6
Issue #8, finish adding view and links to change a document's type
Roberto Rosario
2014-10-28 02:01:22 -04:00
ea68e195b1
Issue #8, when a document is added force the change document type signal
Roberto Rosario
2014-10-28 01:37:16 -04:00
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
Roberto Rosario
2014-10-28 01:35:13 -04:00
6ad26f3c9a
Add filenames accesor for DocumentType model
Roberto Rosario
2014-10-27 23:22:35 -04:00
21d51accec
Make sure the metadata being added is allowed
Roberto Rosario
2014-10-27 23:21:13 -04:00
cbd2644c59
Make sure label exists
Roberto Rosario
2014-10-27 23:20:55 -04:00
6702859f8d
Unify DocumentForm and DocumentForm_edit
Roberto Rosario
2014-10-27 23:20:37 -04:00
744d8ec0d8
Make the new document label optional, the backend will use the filename is none is specified
Roberto Rosario
2014-10-27 05:19:41 -04:00
546a593e26
Use the new post version upload signal to ensure OCR starts only when all of a new document version pages have been created
Roberto Rosario
2014-10-27 05:18:25 -04:00
9e85da2f2b
Add custom post document version upload signal
Roberto Rosario
2014-10-27 05:17:40 -04:00
165d01610b
Improve User model serializer
Roberto Rosario
2014-10-27 04:47:42 -04:00
48cbe309f4
Remove language choices from the documents models module and use the one define in literals.py
Roberto Rosario
2014-10-27 04:47:02 -04:00
df74239e85
Move language choices to the literals module
Roberto Rosario
2014-10-27 04:46:31 -04:00
4007a407e4
Remove delete_after_upload field for watch folders, files are deleted after uploading regardless, otherwisre they are re uploaded at the next check.
Roberto Rosario
2014-10-27 00:32:35 -04:00
6a007492a8
Add initial new document version class based view
Roberto Rosario
2014-10-24 18:50:23 -04:00
c23205f464
Add MultiFormView class based view, convert InteractiveUpload view to MultiForm view
Roberto Rosario
2014-10-24 18:18:40 -04:00
4acf88c9a6
Initial commit of the sources upload, new version and new document refactor
Roberto Rosario
2014-10-23 17:10:02 -04:00
e6c2628b2e
Add document model manager to simplify and encapsulate document creation
Roberto Rosario
2014-10-23 16:57:20 -04:00
c129236aae
Move filename to be a document and not a documentversion property
Roberto Rosario
2014-10-23 16:55:45 -04:00
ba9ab75f5d
Don't use hyperlinked serializer for folder, makes it easier to add folder by just specifying user id instead of user URL
Roberto Rosario
2014-10-23 12:41:59 -04:00
1b0a3cbb71
Improve docstrings of existing metadata API endpoints and add endpoints to view, add and remove metadata types to document types
Roberto Rosario
2014-10-23 11:38:03 -04:00
9ace350e0a
Add API endpoint to return the current user, improve existing user API endpoints docstrings
Roberto Rosario
2014-10-23 10:43:28 -04:00
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.
Roberto Rosario
2014-10-23 02:44:09 -04:00
a651921ca2
Use parent class instead of specific child classes
Roberto Rosario
2014-10-23 02:38:17 -04:00
f328789d26
Space cleanups
Roberto Rosario
2014-10-23 01:28:54 -04:00
db2ca4fb58
Issue #85, Reset page count for a single or multiple documents. Issue #57, convert to celery task
Roberto Rosario
2014-10-22 19:33:20 -04:00
f86be42dd0
Issue #57, conver the document image queue maintenance view into a celery task
Roberto Rosario
2014-10-22 18:21:40 -04:00
5229b9e9e0
Remove the bootstrap app from the language helper script
Roberto Rosario
2014-10-22 15:53:10 -04:00
e8762e4792
Issue #87, Per document language selection
Roberto Rosario
2014-10-22 02:35:16 -04:00
9b1b89cc21
Remove remaining code/docs about the removed COMMON_DEFAULT_PAPER_SIZE and COMMON_DEFAULT_PAGE_ORIENTATION configuration settings
Roberto Rosario
2014-10-22 01:00:29 -04:00
2ea48bd1ba
PEP8 cleanups, further removal of unused code
Roberto Rosario
2014-10-21 19:28:52 -04:00
ce39a775ee
Issue #88, remove metadata type selection step from interactive upload wizard Max wizard steps is now 2. Second step is skiped when document type has not associated metadata types.
Roberto Rosario
2014-10-21 19:02:31 -04:00
d0ed74dfc3
Move links order for uniformity, move all delete button to the far right to reduce accidental clicking
Roberto Rosario
2014-10-21 17:41:16 -04:00