Commit Graph

3358 Commits

Author SHA1 Message Date
Roberto Rosario
6fb768a6f8 Issue #128, Add Indexes API endpoints 2014-12-16 01:37:49 -04:00
Roberto Rosario
0e0428b501 Raise API urls registration errors when in DEBUG mode 2014-12-16 01:34:28 -04:00
Roberto Rosario
d64bec40b3 Add API views to edit the current user (without having to specify the user id). Issue #131 2014-12-16 00:10:51 -04:00
Roberto Rosario
cff4a97d34 Simplify document metadata API endpoints, make document metadata endpoints more consistent, improve error reporting 2014-12-13 06:40:57 -04:00
Roberto Rosario
790c5745f8 Add API endpoint to return the list of recent document for the current user 2014-12-13 05:32:27 -04:00
Roberto Rosario
384ebde6ab Unicode representaion of document version is no longer used 2014-12-13 05:04:12 -04:00
Roberto Rosario
81a85e6de8 Document type, folder and tags API serializer now return a numeric count of the documents contained instead of a link to the document list API endpoint 2014-12-13 05:03:15 -04:00
Roberto Rosario
741ac66bd9 Inline the document type information in the document structure 2014-12-13 04:53:19 -04:00
Roberto Rosario
e6debeff7e Move back all search field registration into the documents/__init__ module until the upgrade to Django 1.7.x 2014-12-13 04:33:59 -04:00
Roberto Rosario
0121a636cf Update required version of Django to 1.6.8 2014-12-13 04:32:46 -04:00
Roberto Rosario
da0f3f1143 Allow the user password to be changed from the user API endpoint 2014-12-11 20:24:55 -04:00
Roberto Rosario
51951d9691 Merge branch 'feature/api_fixes' into development 2014-12-11 19:53:50 -04:00
Roberto Rosario
d0aaa256cd Don't search blindly for all the fields passed in the advanced search, use the defined fields, avoid hard coded rejection of &page arguments in the query string. The SearchModel class is now responsible for storing the search in the recent entries instead of the view. 2014-12-11 19:52:24 -04:00
Roberto Rosario
1a8ab7956f Update django rest framework version 2014-12-11 19:18:03 -04:00
Roberto Rosario
030d0e8806 Merge new document API view with the document list API view (as a POST action). Move search result filtering to clases module, this way it filters results from the API too. 2014-12-11 19:16:29 -04:00
Roberto Rosario
e3f3553965 Merge new document API view with the document list API view (as a POST action) 2014-12-09 03:26:25 -04:00
Roberto Rosario
ab37b4bc35 Update document metadata accessor 2014-12-09 03:18:27 -04:00
Roberto Rosario
9b83c3bd3e Update tests 2014-12-09 03:18:16 -04:00
Roberto Rosario
af51acebf5 Isse #56, Remove document versions major, minor and micro versioning fields 2014-12-09 03:15:23 -04:00
Roberto Rosario
53c34eedcd Add test to the sources app 2014-12-09 02:27:50 -04:00
Roberto Rosario
ac928d028a Use a more sensible default 2014-12-08 23:37:01 -04:00
Roberto Rosario
f5093a3d3b Update document type metadata access 2014-12-08 23:36:36 -04:00
Roberto Rosario
0139432e48 Propagate background task exceptions when running in eager mode for easier debugging. Use djcelery test runner by default 2014-12-08 23:23:45 -04:00
Roberto Rosario
65ebf5fcf5 Remove unused import 2014-12-08 23:23:22 -04:00
Roberto Rosario
49d00408d8 Update related_name 2014-12-08 23:23:04 -04:00
Roberto Rosario
2fda25590f Update the document type' document required metadata types using signals instead of relying on DocumentTypeHelper class methods 2014-12-08 19:35:52 -04:00
Roberto Rosario
11ff561b3a Remove DocumentTypeHelper class, use direct Django methods 2014-12-08 19:35:25 -04:00
Roberto Rosario
82bedefff6 Add unicode method, update and optimize validation code 2014-12-08 19:34:40 -04:00
Roberto Rosario
bb783fa2e1 Simplify code 2014-12-08 19:34:11 -04:00
Roberto Rosario
704abb7059 Use related_name 'metadata' to access document types' metadata types 2014-12-08 18:37:54 -04:00
Roberto Rosario
5050c7319c Remove preemptive document metadata selection 2014-12-08 18:33:57 -04:00
Roberto Rosario
a2840bc57d Remove unused metadata dictionary precalculation 2014-12-08 18:31:41 -04:00
Roberto Rosario
2e8a61ed30 Update versions of Celery and django-suit 2014-12-08 15:47:40 -04:00
Roberto Rosario
4b7f4a683f Simplify and improve document metadata views, improve docstrings 2014-12-02 00:44:41 -04:00
Roberto Rosario
4aa84b778c Only allow one instance of a metadata type per document 2014-12-02 00:43:56 -04:00
Roberto Rosario
ca847bed2c Add document type metadata type API endpoints documentation 2014-12-01 16:17:04 -04:00
Roberto Rosario
d257d6db85 Merge document type optional and required metadata type add views 2014-12-01 16:14:14 -04:00
Roberto Rosario
32d2608bdd Only add metadata type it is not in the list 2014-12-01 16:09:26 -04:00
Roberto Rosario
4abc866a53 Add TODO reminder 2014-11-20 03:32:34 -04:00
Roberto Rosario
5122a161f2 Fix inverted function names 2014-11-20 03:31:10 -04:00
Roberto Rosario
b44b57aab8 Fix email base document source 2014-11-20 03:13:32 -04:00
Roberto Rosario
173e82684c Fix support for send document links and attachments 2014-11-20 02:54:45 -04:00
Roberto Rosario
1950c062b0 Update document attribute name when sending documents via email 2014-11-20 02:40:50 -04:00
Roberto Rosario
791b9d421a Fix fancybox css path 2014-11-18 05:20:00 -04:00
Roberto Rosario
0f688b85bc Update Fancybox version 2014-11-18 05:13:13 -04:00
Roberto Rosario
d367e9b424 Remove unused 'disable_auto_focus' functionality 2014-11-18 04:58:46 -04:00
Roberto Rosario
0685a30193 Retry document convertion task up to 3 times, compress result using zlib 2014-11-18 04:48:16 -04:00
Roberto Rosario
05a8a40a2a Remove ghostscript python library dependency 2014-11-18 04:47:57 -04:00
Roberto Rosario
76fc6c091f Remove all direct use of ghost script, add PDFTOPPM_PATH to allow configurable pdftoppm path, raise ConvertError on coverterror and not UnknownFile exception blindly 2014-11-18 04:46:24 -04:00
Roberto Rosario
cb8ff3f629 Remove unused file 2014-11-18 04:45:24 -04:00