Commit Graph
5962 Commits
Author SHA1 Message Date
Roberto Rosario d92bd67331 Add validation to block removal of required metadata types from a document 2014-10-30 03:20:37 -04:00
Roberto Rosario 9749ce73b6 Automatically add required metadata types only when creating a new document 2014-10-30 03:20:08 -04:00
Roberto Rosario 01e44dede4 Show required and optional metadata types on upload wizard 2014-10-30 03:19:40 -04:00
Roberto Rosario cf51f70da7 Change the name of the variable used as the main title for multiform template 2014-10-30 02:45:40 -04:00
Roberto Rosario d8819276b2 Remove remarked code 2014-10-30 02:45:15 -04:00
Roberto Rosario c4c2646b60 Add view to add or remove required metadata types to a document type, simplify existing view to add remove optional metadata types 2014-10-30 02:28:49 -04:00
Roberto Rosario 375de8270e Add manager class to handle the metadata types of a document type easily 2014-10-30 02:28:19 -04:00
Roberto Rosario 727ae0bea8 Add TODO reminder 2014-10-30 02:27:37 -04:00
Roberto Rosario 879f90547c Update metadata admin 2014-10-30 02:26:18 -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 733f60daad Allow form with subforms to have a main title 2014-10-30 02:25:31 -04:00
Roberto Rosario 1abb4e6ece Remove success messages from the assign_remove view, allow passing null lists titles 2014-10-30 02:24:56 -04:00
Roberto Rosario 95a27df1e3 Change the way metadata types are associated to a document type, add required boolean field to the association 2014-10-30 02:24:12 -04:00
Roberto Rosario da97aab168 Remove unused template 2014-10-30 02:00:03 -04:00
Roberto Rosario eb878c165b Revert "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"
This reverts commit c390fc21d7.

Re adding this feature, only required metadata should be automatically added, optional metadata would be added by the user
2014-10-29 20:17:19 -04:00
Roberto Rosario c8fe6a6fd4 Set Celery serialization to JSON only 2014-10-29 20:16:33 -04:00
Roberto Rosario 12c64bd83b Update source app views, model method and API calls to use the document app's models, managers. 2014-10-29 05:53:46 -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 83f4d90fa3 Don't store OCR error log if no document was created 2014-10-29 05:51:23 -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 099844e15d Add SharedUploadedFile model to distribute work files between Mayan nodes easier 2014-10-29 05:46:26 -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 b8fe08f831 Fix casing of message 2014-10-28 17:21:52 -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 92d4d5e6bc Only show multi item links when there are items 2014-10-28 02:18:07 -04:00
Roberto Rosario 31f21d3143 Simplify event message 2014-10-28 02:17:50 -04:00
Roberto Rosario 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 2014-10-28 02:16:53 -04:00
Roberto Rosario 6eb6c43807 Automatically the appropiate metadata types when the document's type is changed 2014-10-28 02:01:59 -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 21d51accec Make sure the metadata being added is allowed 2014-10-27 23:21:13 -04:00
Roberto Rosario cbd2644c59 Make sure label exists 2014-10-27 23:20:55 -04:00
Roberto Rosario 6702859f8d Unify DocumentForm and DocumentForm_edit 2014-10-27 23:20:37 -04:00
Roberto Rosario 3da11a023b Cleanups 2014-10-27 22:51:25 -04:00
Roberto Rosario 9d408d5795 Remove settings editor app 2014-10-27 22:51:06 -04:00
Roberto Rosario 4c07c49a56 Remove shared views list, these are no longer needed 2014-10-27 19:23:07 -04:00
Roberto Rosario 0bed1df64a Issue #92, Make register_multi_item_links class aware 2014-10-27 19:21:05 -04:00
Roberto Rosario 2874bb3434 Align multi item form and button in the same line to save space 2014-10-27 18:19:05 -04:00
Roberto Rosario 33c6c7f341 User plural form 2014-10-27 18:18:52 -04:00
Roberto Rosario 2cb5530e31 Add spacers to the multi item links of the user management app 2014-10-27 17:51:50 -04:00
Roberto Rosario 4262b750b9 Issue #56, remove remaining side bar templates code 2014-10-27 16:31:18 -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 b166d559ed Issue #62, #56, simplify generic_list_horizontal_subtemplate 2014-10-27 16:24:09 -04:00
Roberto Rosario 9b037e3b9d Improve document's apps API endpoints docstrings 2014-10-27 15:08:08 -04:00