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
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
bbab21d228
Initial commit of the new events app
2015-01-10 19:01:57 -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
384ebde6ab
Unicode representaion of document version is no longer used
2014-12-13 05:04:12 -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
5963822be7
Split document view into document preview, document content and document properties views
2014-11-17 18:52:20 -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
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
9a0842409e
Remove debug code, add TODO reminders, simplify new version creation method
2014-10-29 05:50:34 -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
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
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
45587561de
Add TODO reminder
2014-10-25 01:58:52 -04:00
Roberto Rosario
c129236aae
Move filename to be a document and not a documentversion property
2014-10-23 16:55:45 -04:00
Roberto Rosario
e131463f90
Issue #78 , Don't cache values that may be updated by out of process code
...
This fix makes issue #49 worse; fix: cache page count and latest version
at form/widget and not at model.
2014-10-23 02:44:09 -04:00
Roberto Rosario
d15d5746b5
Move UUID setting from the save method to a default value of the model
2014-10-23 01:13:22 -04:00
Roberto Rosario
e8762e4792
Issue #87 , Per document language selection
2014-10-22 02:35:16 -04:00
Roberto Rosario
549f0fdc87
Issue #75 , move OCR queueing from a setting to a DocumentType model field
2014-10-21 16:53:42 -04:00
Roberto Rosario
3c72d62087
Issue #82 , make document type a required field
2014-10-21 16:35:39 -04:00
Roberto Rosario
eaefa305a2
Issue #56 , remove document version fields 'release_level' and 'serial'
2014-10-18 02:32:11 -04:00
Roberto Rosario
01fffaa59b
Update auto_now_add and auto_now for the documents app models
2014-10-18 00:49:49 -04:00
Roberto Rosario
2559f67e12
Remove document model first_version property, not used anywhere
2014-10-15 20:49:51 -04:00
Roberto Rosario
c09b423292
Use a modern way to define classes getters & setters
2014-10-13 17:54:11 -04:00
Roberto Rosario
8200204ddc
Convert the 'document_save_to_temp_dir' utility function into a method of the Document model
2014-10-13 17:51:28 -04:00
Roberto Rosario
bcc71bebd2
Issue #56 , remove print preview unused code
2014-10-13 17:08:23 -04:00
Roberto Rosario
b158b48556
Cache a document versions page count
2014-10-11 03:30:41 -04:00
Roberto Rosario
95850a919a
Cache a document's latest version
2014-10-11 03:21:14 -04:00
Roberto Rosario
a75a4edf21
Issue #39 , Finish capitalizing source text messages
2014-10-10 02:29:37 -04:00
Roberto Rosario
1e9d01c673
Move default ACLS application, recent document setting and document creation event from the Source model to the Document model
...
Now event document directly created by the save() method of the Document model will have those properties set
2014-10-10 01:55:32 -04:00
Roberto Rosario
3b1937bb17
Add reminder
2014-10-03 16:34:36 -04:00
Roberto Rosario
e4e6c2f5fb
Move document image queueing up in process to avoid queueing serialization overhead
2014-10-03 14:58:55 -04:00
Roberto Rosario
3b03af9295
Merge branch 'feature/lts' into merge_test
...
Conflicts:
mayan/apps/documents/api_views.py
mayan/apps/documents/models.py
mayan/apps/folders/__init__.py
mayan/apps/folders/urls.py
mayan/apps/folders/views.py
mayan/apps/tags/urls.py
mayan/apps/tags/views.py
mayan/settings/base.py
2014-10-03 11:41:41 -04:00
Roberto Rosario
f26f202c4d
Use different queues for the background tasks
2014-10-03 03:22:35 -04:00
Roberto Rosario
b3ec836acf
Update Document model to use background image conversion task
2014-10-03 02:41:29 -04:00
Roberto Rosario
7bec19848d
Fix absolute_url for document pages
2014-10-03 01:16:06 -04:00
Roberto Rosario
97de4f615c
Add Document model related name to the Document Type model to allow retrieving all documents of a document type
2014-09-21 15:21:39 -04:00
Roberto Rosario
b761037d99
Move all settings files from <app>/conf/settings.py to <app>/settings.py
2014-09-11 05:02:40 -04:00
Roberto Rosario
c8d1b7bed7
Capitalize documents app models traslatable strings as per issue #12
2014-09-09 04:05:21 -04:00
Roberto Rosario
c4de4b3f30
Add url namespaces for the documents and folders apps
2014-08-26 03:44:07 -04:00
Roberto Rosario
bd69ed00a5
Add missing db_index=True option, ref: 5e21b91b24
2014-07-22 02:32:39 -04:00
Roberto Rosario
e168898248
Make API writable
2014-07-22 02:32:06 -04:00
Mathias Behrle
30f73ba73c
Increasing field length of page_label to 40 chars.
...
The german translation takes 33 chars. This breaks saving the ocr
result.
2014-07-11 01:59:04 +02:00