d560ec5df7
Update the GPG path for the tests.
Roberto Rosario
2018-05-10 04:45:05 -04:00
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 Rosario
2018-05-10 04:33:51 -04:00
b2b8549f8a
Use variables for default values instead of literals.
Roberto Rosario
2018-05-10 04:32:57 -04:00
3612f6dbfb
Ensure APT_PROXY is read. Install GPG version 1.
Roberto Rosario
2018-05-10 04:32:31 -04:00
6c04e7dbd6
Call manage.py using python and not directly.
Roberto Rosario
2018-05-07 01:52:54 -04:00
f410ae40e7
Split test jobs into multiple jobs. Cache the APT cache folder. Only submit coverage report in the SQLite test jobs.
Roberto Rosario
2018-05-07 01:45:35 -04:00
ea4886dc2b
Update the key names of the docker build stage.
Roberto Rosario
2018-05-07 01:15:20 -04:00
fc42849b00
Update gitlab-ci to build a docker image if the tests are successful.
Roberto Rosario
2018-05-07 01:08:47 -04:00
188b7559d2
Cache the PIP folder between builds.
Roberto Rosario
2018-05-07 00:48:59 -04:00
ae9a519263
Don't create an __init__.py file in the media folder. Replace error number literals with constant definitions.
Roberto Rosario
2018-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 Rosario
2018-05-04 00:48:03 -04:00
9fad6c37bf
Fix process name for the OCR worker.
Roberto Rosario
2018-04-30 05:13:01 -04:00
1693b36b2d
Only try to return notifications for logged in users.
Roberto Rosario
2018-04-30 05:12:37 -04:00
5c83cff767
Use django-environ for DEBUG and CELERY_ALWAYS_EAGER. Default CELERY_ALWAYS_EAGER to True.
Roberto Rosario
2018-04-29 23:47:27 -04:00
3689df4aac
Better default for the testing error log file full path.
Roberto Rosario
2018-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 Rosario
2018-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 Rosario
2018-04-29 23:19:12 -04:00
a788a99d93
Set CELERY_ALWAYS_EAGER to True on the development setting file.
Roberto Rosario
2018-04-29 23:14:55 -04:00
430c7b8c14
Add verbose error reporting when the document upload task fails.
Roberto Rosario
2018-04-29 23:12:24 -04:00
2ef31d2ec3
Rename shared upload storage from sharedupload_storage to storage_sharedupload
Roberto Rosario
2018-04-29 03:32:24 -04:00
018c641e8b
Create the media folder if is doesn't exist.
Roberto Rosario
2018-04-28 23:16:13 -04:00
78961bec49
Remove sentry specifig code from the 500.html template.
Roberto Rosario
2018-04-28 19:47:57 -04:00
8ee45162aa
Revert workers to prefork method
Eric Riggs
2018-04-26 03:54:59 -04:00
a84568574f
Replace ubuntu with debian
Eric Riggs
2018-04-26 03:54:40 -04:00
f3c86ada45
- Lower concurrency of workers to 1 - Change process type to gevent
Eric Riggs
2018-04-26 02:19:09 -04:00
3145cb4231
Add django-environ and use it to set ALLOWED_HOSTS.
Eric Riggs
2018-04-26 02:18:32 -04:00
d97b080586
Flanker is not thread safe, hide the import until it is actually needed.
Eric Riggs
2018-04-26 02:17:33 -04:00
4f801154aa
Manually link libjpeg and libzlib on aarch64.
Eric Riggs
2018-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 Riggs
2018-04-22 13:51:14 -04:00
8e3446c13e
Add g++
Eric Riggs
2018-04-22 13:50:19 -04:00
27d84bea5a
- Add missing build libraries. - Clean up some files.
Eric Riggs
2018-04-22 12:58:47 -04:00
077910bf72
Add gunicorn, gevent and whitenoise as requirements
Eric Riggs
2018-04-22 04:18:09 -04:00
455fcef114
Move Docker environment overrides to main base.py module
Eric Riggs
2018-04-22 04:17:28 -04:00
bbc338120e
Make all storage location explicit children of MEDIA_ROOT.
Eric Riggs
2018-04-22 04:15:38 -04:00
d8941ea810
- Add --force option to initialsetup - Create the entire media structure
Eric Riggs
2018-04-22 04:14:46 -04:00
f1ed40adba
Merge Docker files back into main repo.
Eric Riggs
2018-04-22 04:14:07 -04:00
238595e1bc
Don't error out if it is not possible to check for the latest current version.
Roberto Rosario
2018-04-16 17:08:22 -04:00
222037daa9
Add known issues section about flanker warnings.
Roberto Rosario
2018-04-16 15:26:01 -04:00
6a65544fb7
Remove some label argument from the apps module and move them to the model.
Roberto Rosario
2018-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 Rosario
2018-04-16 15:19:16 -04:00
e2058f91c1
Move import to the top of the file.
Roberto Rosario
2018-04-13 16:18:09 -04:00
3e062a5517
New initialization command. Creates media/system and populates the SECRET_KEY and VERSION files.
Roberto Rosario
2018-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 Rosario
2018-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 Rosario
2018-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 Rosario
2018-04-10 04:02:41 -04:00
74628ab04b
Improve the document base test case for models and for views. Add document test mixin.
Roberto Rosario
2018-04-10 04:00:05 -04:00
d534dfe65b
Show the SQLite warning when the DEBUG variable is False.
Roberto Rosario
2018-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 Rosario
2018-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 Rosario
2018-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 Rosario
2018-04-06 16:17:51 -04:00
bbd7704e2e
Improve rendering of the details form.
Roberto Rosario
2018-04-06 16:16:37 -04:00