Commit Graph

3485 Commits

Author SHA1 Message Date
Mathias Behrle
1cebc4d7bf Correcting typo in message. 2015-01-17 01:47:31 +01:00
Roberto Rosario
a2bcc38b08 Properly pluralize the messages of the document metadata type add view 2015-01-16 02:14:35 -04:00
Roberto Rosario
95dd017b23 Extend issue #144 solution to the document metadata remove view too. 2015-01-16 02:12:26 -04:00
Roberto Rosario
72a0c2dd95 Properly pluralize document metadata edit view 2015-01-16 02:08:15 -04:00
Roberto Rosario
6c854116b5 Detect when a selected document or documents do not have any metadata, display a proper message and return user to the last previous view. Issue #144 2015-01-16 02:06:24 -04:00
Roberto Rosario
d7546c8fb7 Remove unused code 2015-01-16 01:08:12 -04:00
Roberto Rosario
bcc85d5714 Remove unused mimetype views module 2015-01-16 00:56:24 -04:00
Roberto Rosario
007ac0f978 Add libreoffice to the Vagrant provissioning script 2015-01-15 03:48:59 -04:00
Roberto Rosario
172ef1e79a Make sure the ocr field of document type exists before we try to put data into it 2015-01-15 03:44:16 -04:00
Roberto Rosario
a2b2011277 More migration dependencies check 2015-01-15 03:40:08 -04:00
Roberto Rosario
aca7c94131 Update Vagrant instructions to include -B option to workers to launch Celery Beat 2015-01-15 03:05:22 -04:00
Roberto Rosario
e6754c9a6f Update the OCR app to work based on document versions not documents, document version are the module which hold the document pages instances. Remove old OCR document queue and replace with a single module for OCR processing error entries. Increase compatibility with Django 1.7 and Python 3. 2015-01-15 03:01:43 -04:00
Roberto Rosario
2371d3a49d Use lazy translation for events model 2015-01-15 02:55:17 -04:00
Roberto Rosario
747dda21c8 Add __unicode__ method for DocumentVersion model 2015-01-15 02:54:47 -04:00
Roberto Rosario
769d536985 Add source -> documents migration dependency check 2015-01-15 02:54:19 -04:00
Roberto Rosario
99316b3dea Show document of version being sent for OCR in logger output 2015-01-14 18:56:32 -04:00
Roberto Rosario
b22bb55cbc User a direct objects.create no need for a separate .save() call 2015-01-14 18:48:00 -04:00
Roberto Rosario
fafd84b8d2 Move magic number variable to the literls.py module 2015-01-14 18:47:31 -04:00
Roberto Rosario
6e333b7eeb The documents app should not have any knowledge of the sources app, move sources link registration to the sources app 2015-01-14 17:49:59 -04:00
Roberto Rosario
4f94bf0dfc Remove vestigial '_orphan_document_' document type if there are no documents of that type 2015-01-14 17:32:14 -04:00
Roberto Rosario
683fa5b531 Make top level URLs shorter or more explicit 2015-01-14 17:25:31 -04:00
Roberto Rosario
f967188aeb Add a sample validation function. The parse_date will parse and cleanup dates entered by users. Issue #104. 2015-01-14 16:55:52 -04:00
Roberto Rosario
4dfecb4614 Refactore form clean code for value validation or parsing, issue #104. 2015-01-14 16:55:01 -04:00
Roberto Rosario
9380157406 Display validation errors on top of forms when in tabular mode, such as when editing document metadata values 2015-01-14 16:33:47 -04:00
Roberto Rosario
490e9a1e42 Remove value field from the document metadata remove form to avoid running validation on remove and blocking removal when validation didn't pass 2015-01-14 15:58:04 -04:00
Roberto Rosario
3399c354be Update field name according to last model property rename 2015-01-14 15:52:52 -04:00
Roberto Rosario
e4d68cb711 Also show exception with no messages, raise exception into request if in debug mode for easier debugging of unexpected errors 2015-01-14 15:51:51 -04:00
Roberto Rosario
f5e1adedfa Add field to set validation function separately from the lookup field 2015-01-14 15:50:41 -04:00
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
53197c4010 Add locking to avoid index rebuild clashing with index updates or index node deletion 2015-01-13 18:01:42 -04:00
Roberto Rosario
148ebffa5c Remove comment and unused import 2015-01-13 17:59:24 -04:00
Roberto Rosario
17a238dec7 Don't delete the actual index definitions 2015-01-13 17:04:35 -04:00
Roberto Rosario
41f24bc596 Use ugettext_lazy to translate language names. Issue #139 2015-01-13 13:00:51 -04:00
Roberto Rosario
88cd49e08c Ignore vagrant related runtime files 2015-01-13 03:10:48 -04:00
Roberto Rosario
94197ba0d8 Update documentation and added steps to use the vagrant file 2015-01-13 03:10:03 -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
a6eb0644ea Update vagrant file to install sample celery with redis config and script for workers 2015-01-13 02:17:29 -04:00
Roberto Rosario
2c115ff136 Add Vagrant file and development deployment provisioning script 2015-01-13 01:53:04 -04:00
Roberto Rosario
f3b85d4c7f Add famfam icon to the cancel button of the generic forms template 2015-01-12 18:41:08 -04:00
Roberto Rosario
6d3cd9753d Rename property permissions_required to view_permission of ViewPermissionCheckMixin 2015-01-12 18:33:31 -04:00
Roberto Rosario
da83f1a9c1 Split common CBVs into views and mixins, add ObjectPermissionCheckMixin 2015-01-12 18:28:51 -04:00
Roberto Rosario
8661ae1970 Show icon for document source tabs in document upload wizard for visual clarity 2015-01-12 02:16:33 -04:00
Roberto Rosario
abdfba1c0b Remove permanent logout button and move to the secondary menu of the user details menu 2015-01-12 02:12:15 -04:00
Roberto Rosario
661a63030b Add tool to show list of documents with empty metadata that is required for their type. Issue #34. 2015-01-12 01:50:44 -04:00
Roberto Rosario
ea2830735c Update language translation files 2015-01-11 18:12:26 -04:00
Roberto Rosario
05bc204d99 Update language translation source files 2015-01-11 18:12:06 -04:00
Roberto Rosario
090302676d Implement GUI language and timezone as user preferences, issue #114 2015-01-11 17:38:47 -04:00
Roberto Rosario
305c1aaa6e Finish the move to the new events app 2015-01-11 04:51:02 -04:00