ec82738a47
Invert logic on when to start the local REDIS server. Use the Python binary path and not the dist-packages one. Don't create a pid file for celery beat, supervisor already does it.
Roberto Rosario2018-05-10 04:33:51 -04:00
f410ae40e7
Split test jobs into multiple jobs. Cache the APT cache folder. Only submit coverage report in the SQLite test jobs.
Roberto Rosario2018-05-07 01:45:35 -04:00
ae9a519263
Don't create an __init__.py file in the media folder. Replace error number literals with constant definitions.
Roberto Rosario2018-05-04 00:49:42 -04:00
55359c72cf
Unify supervisor configuration files. Lower nice levels of most workers. Merge OCR and slow workers. Lower gunicorn workers to 2. Call all supervisor processes using a shell to expand the install and mayan binary locations and avoid hardcoding.
Roberto Rosario2018-05-04 00:48:03 -04:00
5c83cff767
Use django-environ for DEBUG and CELERY_ALWAYS_EAGER. Default CELERY_ALWAYS_EAGER to True.
Roberto Rosario2018-04-29 23:47:27 -04:00
3689df4aac
Better default for the testing error log file full path.
Roberto Rosario2018-04-29 23:32:22 -04:00
cbad7ee504
Print the exception type on upgrade errors. This is used for celery errors which don't include a text message.
Roberto Rosario2018-04-29 23:30:05 -04:00
441127ae45
Don't create the media folder in the common app if it doesn't exist. Instead disable logfile creation.
Roberto Rosario2018-04-29 23:19:12 -04:00
a788a99d93
Set CELERY_ALWAYS_EAGER to True on the development setting file.
Roberto Rosario2018-04-29 23:14:55 -04:00
430c7b8c14
Add verbose error reporting when the document upload task fails.
Roberto Rosario2018-04-29 23:12:24 -04:00
f3c86ada45
- Lower concurrency of workers to 1 - Change process type to gevent
Eric Riggs2018-04-26 02:19:09 -04:00
3145cb4231
Add django-environ and use it to set ALLOWED_HOSTS.
Eric Riggs2018-04-26 02:18:32 -04:00
d97b080586
Flanker is not thread safe, hide the import until it is actually needed.
Eric Riggs2018-04-26 02:17:33 -04:00
4f801154aa
Manually link libjpeg and libzlib on aarch64.
Eric Riggs2018-04-25 20:57:12 -04:00
9fbedd244c
- Put the log file in the /tmp folder. - This is temporary and should be fixed. Create /media when not found?
Eric Riggs2018-04-22 13:51:14 -04:00
6a65544fb7
Remove some label argument from the apps module and move them to the model.
Roberto Rosario2018-04-16 15:20:16 -04:00
6839f1b529
Make the 'label' argument of SourceColumn optional and introspect its value from the model meta if not specified.
Roberto Rosario2018-04-16 15:19:16 -04:00
3e062a5517
New initialization command. Creates media/system and populates the SECRET_KEY and VERSION files.
Roberto Rosario2018-04-13 16:04:45 -04:00
b165b9a5f2
New environment variables to configure the secret key, database, and celery options. The secret key can also be read from a file. Stricter defaults to increase security.
Roberto Rosario2018-04-13 16:00:13 -04:00
b9c51792d1
Add icons.py module for the acls, authentication, cabinets, checkouts, some of common, mayan_statistic, and metadata apps links.
Roberto Rosario2018-04-11 04:17:45 -04:00
b5d79f42a9
Add the option to enable or disable parsing when uploading a document for each document type. Add a new setting option to enable automatic parsing for each new document type created.
Roberto Rosario2018-04-10 04:02:41 -04:00
74628ab04b
Improve the document base test case for models and for views. Add document test mixin.
Roberto Rosario2018-04-10 04:00:05 -04:00
d534dfe65b
Show the SQLite warning when the DEBUG variable is False.
Roberto Rosario2018-04-10 03:11:23 -04:00
64ad07d95d
Add locking for interval sources. This reduces the chance of repeated documents from long running email downloads.
Roberto Rosario2018-04-10 02:25:40 -04:00
3618778737
Email source code cleanups. Use the header variable returned from flanker to extract the sender and the subject. Remove unsed scanimage usage via sh.
Roberto Rosario2018-04-10 01:52:06 -04:00
90623ed372
Update rendering of the readonly multiselect widget to conform to Django's updated field class interface.
Roberto Rosario2018-04-06 16:17:51 -04:00