Commit Graph
5136 Commits
Author SHA1 Message Date
Roberto Rosario 593fd56489 Cache serializer class 2014-10-30 13:50:05 -04:00
Roberto Rosario 95ac1b1294 Don't load the document search setup globally 2014-10-30 13:45:16 -04:00
Roberto Rosario 78b2dc21f9 Move the actual loading of the serializer when it actually needed 2014-10-30 13:44:35 -04:00
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 4543f06ca2 Warn and redirect users to the source setup view if none exists 2014-10-30 13:24:09 -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 796db528aa Simplify app API description endpoint 2014-10-30 13:22:56 -04:00
Roberto Rosario 074110b9de Add missing slash 2014-10-30 13:22:16 -04:00
Roberto Rosario 779ebd4966 Don't import the api_urls at app import time, let the APIEndpoint class import them lazily 2014-10-30 13:21:37 -04:00
Roberto Rosario 36d3041617 Update API urls registration to be lazy and ignore import time errors 2014-10-30 13:19:52 -04:00
Roberto Rosario 1b52b4ced8 Update search model serializer registration to be lazy 2014-10-30 13:18:40 -04:00
Roberto Rosario d66a9b5acf Synchronize translations with Transifex 2014-10-30 11:50:48 -04:00
Roberto Rosario 18b627b333 Update to Celery 3.1.16 2014-10-30 11:40:29 -04:00
Roberto Rosario 1e6859e6b8 Add missing django-celery dependency, sort dependencies 2014-10-30 11:40:01 -04:00
Roberto Rosario 8a5f215779 Update translation sources 2014-10-30 11:39:32 -04:00
Roberto Rosario c977063253 Use a smaller document for folder tests 2014-10-30 11:31:59 -04:00
Roberto Rosario b05054af90 Add test for the addition and removal of documents to tags 2014-10-30 11:22:33 -04:00
Roberto Rosario 735e000e1a Update folder test 2014-10-30 11:15:53 -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 bd05576cc5 Change the DEBUG text to something a bit friendlier 2014-10-30 03:24:11 -04:00
Roberto Rosario d7b26e8bbe Show which document metadata are required, show validation error when trying to remove a required metadata type from a document 2014-10-30 03:21:44 -04:00
Roberto Rosario 8ac8292ad8 Enable required metadata types in the metadata selection form 2014-10-30 03:21:09 -04:00
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