Commit Graph

3500 Commits

Author SHA1 Message Date
Roberto Rosario
84d0892e2b Fix double menu entry when editing a document source transformation 2015-01-17 02:37:10 -04:00
Roberto Rosario
070e306503 Fix double menu entry at linking/setup/smart_link/condition/1/edit/. Issue #150 2015-01-17 02:29:48 -04:00
Roberto Rosario
e6d24fd62f Remove the need to use link_spacer for single groups of multi item actions 2015-01-17 02:27:42 -04:00
Roberto Rosario
fca4165f39 Add missing multi item spacer link 2015-01-17 02:18:34 -04:00
Roberto Rosario
348bcc69cf Add workflow states and transition delete views 2015-01-17 02:09:07 -04:00
Roberto Rosario
e79850124e Avoid displaying the "other available actions" menu twice 2015-01-17 01:56:42 -04:00
Roberto Rosario
32250a5cea Add workflow state and transition edit views 2015-01-17 01:56:05 -04:00
Roberto Rosario
8fa06040ef Fix variable scope 2015-01-17 01:55:41 -04:00
Roberto Rosario
d422d8160c Remove the 'related' menu, only use by the document page navigation buttons 2015-01-17 01:52:16 -04:00
Roberto Rosario
8e2b6278e8 Use model form to edit and create workflows 2015-01-17 01:25:59 -04:00
Roberto Rosario
644ce2839e Add workflow instance transitioning support, add workflow instance detail view 2015-01-17 01:07:20 -04:00
Roberto Rosario
eefbd5758a Merge branch 'development' into feature/document_states
Conflicts:
	mayan/urls.py
2015-01-16 06:10:00 -04: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
f489fb039a Merge branch 'development' into feature/document_states 2015-01-14 17:00:08 -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
5d813bc2d7 Merge branch 'development' into feature/document_states 2015-01-14 02:28:47 -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
b2453ee01e Add view for associating a workflow to a document type, add support to auto launch a workflow instance when a document is created, allow associating a many workflows to a document, add view to display a document's workflows instances 2015-01-13 06:02:42 -04:00
Roberto Rosario
8ff3747a15 Initial import of the document states app 2015-01-13 04:13:49 -04:00