Commit Graph

3500 Commits

Author SHA1 Message Date
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
Roberto Rosario
ed11e242ca Issue #23, Experiment with pdftoppm 2014-11-18 00:35:56 -04:00
Roberto Rosario
8ff61778f6 Remove the MULTIPAGE_PREVIEW_SIZE configuration settings, clicking on a page preview now redirects to the page detail view, added post lazy load class support, use post lazy load class support to add 100% width to document page previews 2014-11-17 19:37:43 -04:00
Roberto Rosario
5963822be7 Split document view into document preview, document content and document properties views 2014-11-17 18:52:20 -04:00
Roberto Rosario
d751425d7f Use static hourglass image instead of an animages GIF during image loading, remove usage of scrollstop, start generating previews much sooner (threshold of 400 pixels), remove fallback code when javascript is disabled, show pages previews as a vertical scroller seems to reduce lag and browser memory consumption. 2014-11-17 16:56:28 -04:00
Roberto Rosario
eff81cf8af Close issues #118 and #119 2014-11-12 02:15:52 -04:00
Roberto Rosario
a712977390 Update smart_linking dynamic title handling using ModelAttribute class 2014-11-11 19:55:32 -04:00
Roberto Rosario
370cf53584 Namedtuples have an __iter__ attribute but are not iterable in the navigation list sense so test against list subclasses instead 2014-11-11 19:44:07 -04:00
Roberto Rosario
bf4175b263 Simplify and optimize smart linking code and views, remove now unused LINKING_SHOW_EMPTY_SMART_LINKS configuration setting (issue #56) 2014-11-11 19:41:19 -04:00