Commit Graph

3247 Commits

Author SHA1 Message Date
Roberto Rosario
d65cd68aec Fix base class argument count 2014-11-02 21:26:24 -04:00
Roberto Rosario
ef213001e1 Remove unused common util functions 2014-11-02 21:23:31 -04:00
Roberto Rosario
9f2692d36a PEP8 cleanup, unused import removal 2014-11-02 21:20:29 -04:00
Roberto Rosario
ba1729106f Pass arguments to the logger the correct way 2014-11-02 20:55:21 -04:00
Roberto Rosario
654022807f Raise the correct exception 2014-11-02 20:16:09 -04:00
Roberto Rosario
5d1599de04 Add step to upgrade instructions 2014-11-02 20:15:50 -04:00
Roberto Rosario
dc8fe5197a Update requirements versions 2014-11-02 20:15:37 -04:00
Roberto Rosario
11382caa9e upload_to passes two arguments, we don't use them but have to allow them 2014-10-30 15:58:13 -04:00
Roberto Rosario
09f4280f58 Only display metadata allowed for this document type in the add metadata view 2014-10-30 15:23:57 -04:00
Roberto Rosario
199a07ef8f Display errors while adding a metadata to a document 2014-10-30 15:16:58 -04:00
Roberto Rosario
8824b62be4 Update references from document.filename to document.label 2014-10-30 15:01:23 -04:00
Roberto Rosario
d9d564bc4d Raise metadata editing errors while on debug mode 2014-10-30 15:01:02 -04:00
Roberto Rosario
c8139f22d7 Remove the get_filename_from_uuid helper function 2014-10-30 15:00:38 -04:00
Roberto Rosario
7fd9ebb0ee Update more failing tests 2014-10-30 14:28:46 -04:00
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