Commit Graph

3268 Commits

Author SHA1 Message Date
Roberto Rosario
e6dbb4cd70 Perform validation at the model 2014-11-04 17:36:34 -04:00
Roberto Rosario
6a19622e38 Fix comment style 2014-11-03 02:57:08 -04:00
Roberto Rosario
7d9277ce8b Only allow document metadata view when select same type documents 2014-11-03 02:56:29 -04:00
Roberto Rosario
e3c66953c5 Initial support for mailing multiple documents 2014-11-03 02:56:04 -04:00
Roberto Rosario
f7bfb390cc Missing return statement 2014-11-03 02:55:34 -04:00
Roberto Rosario
6a33b4b131 Close issue #112, Add OCR API endpoints 2014-11-03 02:24:40 -04:00
Roberto Rosario
a08d2c0a0c Remove unused permission 2014-11-03 02:03:46 -04:00
Roberto Rosario
efe96b3005 Close issue #109, Add Roles API endpoints 2014-11-03 01:57:04 -04:00
Roberto Rosario
9ae534306f Issue #56, remove bulk user creation management command 2014-11-03 01:41:32 -04:00
Roberto Rosario
1acbc39c48 Issue #56, with the addition of watched folders this feature is repititive 2014-11-03 01:40:30 -04:00
Roberto Rosario
906078a166 Don't allow the client to specify user id in the POST request, take it from the request.user 2014-11-03 01:37:07 -04:00
Roberto Rosario
c352be11bb Don't allow overidding the use when creating a new document, use the request user 2014-11-03 01:24:38 -04:00
Roberto Rosario
d99e047551 Remove unused variable 2014-11-03 01:13:43 -04:00
Roberto Rosario
1f0f3adcba Make sure base class method arguments match 2014-11-03 00:16:22 -04:00
Roberto Rosario
9cc014c70a Close issue #106, Convert document indexing app actions to Celery 2014-11-03 00:10:19 -04:00
Roberto Rosario
8a54e2bde4 Add flag to allow signals to bypass metadata validation 2014-11-03 00:09:58 -04:00
Roberto Rosario
1905a1ee3c Show metadata edit validation error properly 2014-11-03 00:09:25 -04:00
Roberto Rosario
5ca3684712 Reduce number of queries for document metadata retrieval 2014-11-02 23:41:12 -04:00
Roberto Rosario
70468a3ef8 Remove unused variables 2014-11-02 23:40:55 -04:00
Roberto Rosario
7bee501058 Remove unused imports 2014-11-02 23:40:42 -04:00
Roberto Rosario
f52123cd7a Cleanups, unused import, unused arguments removal 2014-11-02 23:21:14 -04:00
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