Roberto Rosario
8cf807899a
Initial commit to support page mapping
...
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-10-08 18:45:53 -04:00
Roberto Rosario
8c064c953a
Add file caching app
...
Convert document image cache to use file cache manager app.
Add setting DOCUMENTS_CACHE_MAXIMUM_SIZE defaults to 500 MB.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-07-15 01:33:32 -04:00
Roberto Rosario
93c4814a89
New default values for settings
...
New default value for setting DOCUMENTS_HASH_BLOCK_SIZE is 65535.
New default value for setting MIMETYPE_FILE_READ_SIZE is 1024.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-12 04:15:24 -04:00
Roberto Rosario
36a51eeb73
Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This solves name clashes with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-05 02:02:57 -04:00
Roberto Rosario
be4365bbf7
Increase document image generation task timeout from 20 seconds to 120 seconds to allow more time for image generation on slow hardware like ARM SBCs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:57:27 -04:00
Roberto Rosario
2ee73e12b4
Replace the DOCUMENTS_LANGUAGE_CHOICES setting option. Replaced with the new DOCUMENTS_LANGUAGE_CODES.
...
Reduce default language code choice from 7800 to the top 100 spoken languages and related (https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers ).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-03 02:53:45 -04:00
Michael Price
424d6a5af9
Standardize the way storages are used. All apps that use storage now define their storages in the .storages modules instead of the .runtime module. The storage.backends.filebasedstorage.FileBasedStorage has been remove, instead Django's default storage is used and each app is responsible of specifying their default path.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-03 02:32:28 -04:00
Roberto Rosario
7adf3621b7
Remove ununsed task.
2016-11-14 02:36:05 -04:00
Roberto Rosario
c97208f609
Ensure that the automatic index is created after the default document type is created.
2016-05-17 05:02:57 -04:00
Roberto Rosario
22a29eede3
Use explicit literals for the time delta units used for retention policies.
2015-09-26 23:52:10 -04:00
Roberto Rosario
6ca6cd9f21
PEP8 Cleanusp (549 warnings).
2015-09-16 04:15:10 -04:00
Roberto Rosario
d474efe8b3
Increase stale document stub check interval.
2015-09-08 19:00:53 -04:00
Roberto Rosario
43e1ffbc24
Add scheduled task to delete stale document stubs.
2015-09-08 18:38:24 -04:00
Roberto Rosario
0847fbf1ae
Improve document print form and view.
2015-08-25 22:58:28 -04:00
Roberto Rosario
fc9d7b1a8b
Remove celery code execute from model. Allow for default at the model level.
2015-07-15 01:03:23 -04:00
Roberto Rosario
713977ed46
Document image and intermediate file caching now has it's own storage backend.
2015-07-13 01:06:40 -04:00
Roberto Rosario
0238be7a18
Add support for retrying upload queue and ocr queue tasks in the event of Database locking errors.
2015-07-11 16:19:04 -04:00
Roberto Rosario
ee6bb866c9
Add support for document retention policies. Closes gh-issue #189 .
2015-07-04 02:25:59 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -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
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
af51acebf5
Isse #56 , Remove document versions major, minor and micro versioning fields
2014-12-09 03:15:23 -04:00
Roberto Rosario
9f2692d36a
PEP8 cleanup, unused import removal
2014-11-02 21:20:29 -04:00
Roberto Rosario
df74239e85
Move language choices to the literals module
2014-10-27 04:46:31 -04:00
Roberto Rosario
2ea48bd1ba
PEP8 cleanups, further removal of unused code
2014-10-21 19:28:52 -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
06dd1b3368
Issue #39 , Explicitly captalize string now that they are not capitalized blindly by the templates
2014-10-02 01:17:27 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00