Commit Graph

715 Commits

Author SHA1 Message Date
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
b75f16baee Issue #56, remove diagnostics tools menu, remove missing document list functionality 2014-11-11 16:16:03 -04:00
Roberto Rosario
84493b7a72 PEP8 Cleanups 2014-11-11 14:58:37 -04:00
Roberto Rosario
053a5912ad Add label to the registered Document model fields 2014-11-11 03:36:43 -04:00
Roberto Rosario
c6b1b5cb54 Add document label field help_text 2014-11-11 02:56:59 -04:00
Roberto Rosario
00d0500284 Add bulk document type change support 2014-11-05 01:00:42 -04:00
Roberto Rosario
6796ce8b49 Remove configurability of the document and document signatures UUID function 2014-11-05 00:18:34 -04:00
Roberto Rosario
11ca9ba1eb Issue #56, remove configurability of the checksum algorithm 2014-11-05 00:15:02 -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
70468a3ef8 Remove unused variables 2014-11-02 23:40:55 -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
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
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
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
79ad3bade3 Update document app to register the API and search serializer lazily 2014-10-30 13:23:19 -04:00
Roberto Rosario
8a5f215779 Update translation sources 2014-10-30 11:39:32 -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
d8819276b2 Remove remarked code 2014-10-30 02:45:15 -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
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
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
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
9596beac79 Update translation messages sources 2014-10-28 17:21:37 -04:00
Roberto Rosario
2c2dfa88cc Issue #84, Remove template context variable 'object_name' to improve ease of translation 2014-10-28 02:36:43 -04:00
Roberto Rosario
31f21d3143 Simplify event message 2014-10-28 02:17:50 -04:00
Roberto Rosario
6aecfd98e6 Issue #8, finish adding view and links to change a document's type 2014-10-28 02:01:22 -04:00
Roberto Rosario
ea68e195b1 Issue #8, when a document is added force the change document type signal 2014-10-28 01:37:16 -04:00
Roberto Rosario
6534326df9 Issue #8, Initial changes to allow update a document's document type.
Added signal emited then the type is changed, added Document model method to
update the document type
2014-10-28 01:35:13 -04:00
Roberto Rosario
6ad26f3c9a Add filenames accesor for DocumentType model 2014-10-27 23:22:35 -04:00
Roberto Rosario
6702859f8d Unify DocumentForm and DocumentForm_edit 2014-10-27 23:20:37 -04:00
Roberto Rosario
0bed1df64a Issue #92, Make register_multi_item_links class aware 2014-10-27 19:21:05 -04:00
Roberto Rosario
a728690335 Issue #56, #97, Make multi item links a drop down list of actions, remove unused code 2014-10-27 16:26:13 -04:00
Roberto Rosario
9b037e3b9d Improve document's apps API endpoints docstrings 2014-10-27 15:08:08 -04:00
Roberto Rosario
744d8ec0d8 Make the new document label optional, the backend will use the filename is none is specified 2014-10-27 05:19:41 -04:00
Roberto Rosario
546a593e26 Use the new post version upload signal to ensure OCR starts only when all of a new
document version pages have been created
2014-10-27 05:18:25 -04:00
Roberto Rosario
9e85da2f2b Add custom post document version upload signal 2014-10-27 05:17:40 -04:00
Roberto Rosario
9c9632f920 Add proper document creation API endpoint 2014-10-27 04:49:29 -04:00
Roberto Rosario
48cbe309f4 Remove language choices from the documents models module and use the one define in literals.py 2014-10-27 04:47:02 -04:00
Roberto Rosario
df74239e85 Move language choices to the literals module 2014-10-27 04:46:31 -04:00
Roberto Rosario
20fb9dffbd Update translation sources 2014-10-25 02:50:31 -04:00