Commit Graph
247 Commits
Author SHA1 Message Date
Roberto Rosario 8b8c915bd0 Make the default list of document languages translatable. Issue #139 2015-01-14 02:27:33 -04:00
Roberto Rosario fd1f5d1dad Make document language choices a configurable list. Issue #137.
To override the default list of 600+ languages add a configuration entry to your settings/local.py like so:
DOCUMENTS_LANGUAGE_CHOICES = [('eng', 'English'), ('deu', 'German')]

to make the list translatable import ugettext_lazy and enclose the language name with _():

from django.utils.translation import ugettext_lazy as _
DOCUMENTS_LANGUAGE_CHOICES = [('eng', _('English')), ('deu', _('German'))]
2015-01-14 02:22:47 -04:00
Roberto Rosario adcf621ee1 Preserve zoom level and rotation when moving thru document pages in the page detail view. Issue #138. 2015-01-14 01:52:35 -04:00
Roberto Rosario 1ffba7e40f Increase preview task timeout to 60 seconds to cover for even the wost load scenario. Consolidate literal to store the timeout value. 2015-01-13 02:56:13 -04:00
Roberto Rosario 05bc204d99 Update language translation source files 2015-01-11 18:12:06 -04:00
Roberto Rosario 305c1aaa6e Finish the move to the new events app 2015-01-11 04:51:02 -04:00
Roberto Rosario bbab21d228 Initial commit of the new events app 2015-01-10 19:01:57 -04:00
Roberto Rosario 83b1e1dc50 Improve translatability 2015-01-08 01:09:21 -04:00
Roberto Rosario f7f71d706d Improve the multi item action dropdown separator appearance 2015-01-08 00:45:18 -04:00
Roberto Rosario c96279cb14 Consolidate the document carousel and carousel items CSS styles 2015-01-08 00:44:36 -04:00
Roberto Rosario 57a62bdfc1 Improve translatability of the page number text 2015-01-07 23:12:21 -04:00
Roberto Rosario f0035e601b Remove hard coded CSS styles into CSS classes 2015-01-07 23:10:44 -04:00
Roberto Rosario 2f593c5a6f Remove unused code to rename documents filenames 2015-01-07 03:59:04 -04:00
Roberto Rosario 5c8e13e61f Make document type filenames unique for each document type 2015-01-07 03:57:54 -04:00
Roberto Rosario aea3881831 Fix casing 2015-01-07 03:45:34 -04:00
Roberto Rosario d91a0c1fab Add the new home screen view and template, issue #108 2015-01-06 22:14:31 -04:00
Roberto Rosario aca9d8c9eb Remove unused imports, do PEP8 and DeprecationWarning cleanups 2015-01-05 14:40:59 -04:00
Roberto Rosario fd2286393d Don't depend on data not available at DB init time 2015-01-05 02:02:01 -04:00
Roberto Rosario c471b9ea69 Remove search related tests, remark failing tests to allow for coverage report 2015-01-04 01:27:33 -04:00
Roberto Rosario bed7137496 Don't require a label for new documents at the model manager level, use the filename by default 2015-01-03 23:35:19 -04:00
Roberto Rosario 0e0e122d95 Fix variable name 2015-01-02 20:53:29 -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 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 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 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 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 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