Roberto Rosario
|
6c3f5430b7
|
Use the base testing setting (disables Whitenoise) file when running tests from inside a Docker container.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-02 21:48:39 -04:00 |
|
Roberto Rosario
|
e524c3bd79
|
Remove transparent import of local.py
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-02 21:47:12 -04:00 |
|
Roberto Rosario
|
e48b85a392
|
Disable embedded signatute verification during the perform upgrade command.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-02 21:43:18 -04:00 |
|
Roberto Rosario
|
e2f95b4d48
|
Add COMMON_PRODUCTION_ERROR_LOGGING setting to control the logging of errors in production. Defaults to False. Change the error log file handle class to RotatingFileHandle to avoid an indefinitely growing log file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-02 21:34:04 -04:00 |
|
Roberto Rosario
|
15badf4ff9
|
Update single and multiple document OCR submit views to use MultipleObjectConfirmActionView instead of the deprecated MultipleInstanceActionMixin.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-30 19:12:20 -04:00 |
|
Roberto Rosario
|
37d2f82b6d
|
Remove runner tag from the sqlite test section.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-26 01:17:59 -04:00 |
|
Roberto Rosario
|
53c0ca20a5
|
Remove codecov CI stage
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-26 01:01:35 -04:00 |
|
Roberto Rosario
|
5d05b4ea7c
|
Use list comprehension to disable the whitenoise runserver static server.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-25 03:24:27 -04:00 |
|
Roberto Rosario
|
2a3d4eedc8
|
Move whitenoise test disabling to base.py. Disable the whitenoise runserver app. Disable Manifest static storage.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-25 03:22:17 -04:00 |
|
Roberto Rosario
|
bf51ad3c8d
|
Don't collect static files for tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-25 03:21:37 -04:00 |
|
Roberto Rosario
|
e7637151b9
|
Disable Docker test image from the CI pipeline.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-25 00:09:03 -04:00 |
|
Roberto Rosario
|
e4af58d4b7
|
Remove whitenoise from middlewares during test suit as it causes out of memory errors.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-24 23:35:11 -04:00 |
|
Roberto Rosario
|
1ea684737a
|
Move SQLite setup as a fallback default the database manager setup block.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-24 23:34:04 -04:00 |
|
Roberto Rosario
|
39e605df11
|
Collect staticfiles before running tests for the CI.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 01:32:17 -04:00 |
|
Roberto Rosario
|
e7d99ff6dd
|
Bump version of Docker image. Update the stack file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:41:58 -04:00 |
|
Roberto Rosario
|
9c8326fd0e
|
Fix issue with locale during packaging for test documents with unicode names. Add files to allow live testing.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:40:39 -04:00 |
|
Roberto Rosario
|
30238c20b6
|
Regenerate setup.py.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:40:13 -04:00 |
|
Roberto Rosario
|
9a5c281a8b
|
Add support for running tests from a Docker container.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:39:40 -04:00 |
|
Roberto Rosario
|
047962d946
|
Improve how to determine when to install the package.json file using pathlib.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:38:05 -04:00 |
|
Roberto Rosario
|
7744dac423
|
Add the whitenoise.storage.CompressedManifestStaticFilesStorage class to allow for permanent cacheable static files.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:37:15 -04:00 |
|
Roberto Rosario
|
ba7716f23d
|
Re-enable the support link.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:36:21 -04:00 |
|
Roberto Rosario
|
b41c932796
|
Improve the docker-shell target.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-21 00:35:59 -04:00 |
|
Roberto Rosario
|
e0d8eff711
|
Add the --no-javascript option to the initial setup to disable download the Javascript libraries.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-20 07:51:17 -04:00 |
|
Roberto Rosario
|
a734538170
|
Dump the gunicorn and redis logs to the console.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-20 07:50:36 -04:00 |
|
Roberto Rosario
|
f1ce12663e
|
Add makefile target to connect to a Docker container and the set the console dimensions.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-20 07:49:32 -04:00 |
|
Roberto Rosario
|
160d8f94a9
|
Add package.json files to the Python manifest.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-20 07:49:01 -04:00 |
|
Roberto Rosario
|
45702548b6
|
Improve Javascript downloaded by adding semver comparison.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-20 07:48:17 -04:00 |
|
Roberto Rosario
|
83ec4761d9
|
Add sample docker swarm file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-11 03:11:08 -04:00 |
|
Roberto Rosario
|
682fab24e8
|
Update changelog and release notes.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-10 18:00:04 -04:00 |
|
Roberto Rosario
|
199ffde283
|
Sane scanner source paper source now defaults to blank.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-10 17:52:55 -04:00 |
|
Roberto Rosario
|
bdd6849d83
|
Fix metadata edit form submit button icon.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-10 17:51:24 -04:00 |
|
Roberto Rosario
|
d560ec5df7
|
Update the GPG path for the tests.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-10 04:45:05 -04:00 |
|
Roberto Rosario
|
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.
|
2018-05-10 04:33:51 -04:00 |
|
Roberto Rosario
|
4833aaf17c
|
Update SIGNATURES_GPG_PATH default value.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-10 04:33:24 -04:00 |
|
Roberto Rosario
|
b2b8549f8a
|
Use variables for default values instead of literals.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-10 04:32:57 -04:00 |
|
Roberto Rosario
|
3612f6dbfb
|
Ensure APT_PROXY is read. Install GPG version 1.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-10 04:32:31 -04:00 |
|
Roberto Rosario
|
6c04e7dbd6
|
Call manage.py using python and not directly.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-07 01:52:54 -04:00 |
|
Roberto Rosario
|
f410ae40e7
|
Split test jobs into multiple jobs. Cache the APT cache folder. Only submit coverage report in the SQLite test jobs.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-07 01:45:35 -04:00 |
|
Roberto Rosario
|
b7b100b01a
|
Fix docker build stage keys.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-07 01:31:53 -04:00 |
|
Roberto Rosario
|
ea4886dc2b
|
Update the key names of the docker build stage.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-07 01:15:20 -04:00 |
|
Roberto Rosario
|
fc42849b00
|
Update gitlab-ci to build a docker image if the tests are successful.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-07 01:08:47 -04:00 |
|
Roberto Rosario
|
188b7559d2
|
Cache the PIP folder between builds.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-07 00:48:59 -04:00 |
|
Roberto Rosario
|
ae9a519263
|
Don't create an __init__.py file in the media folder. Replace error number literals with constant definitions.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-04 00:49:42 -04:00 |
|
Roberto Rosario
|
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.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-05-04 00:48:03 -04:00 |
|
Roberto Rosario
|
9fad6c37bf
|
Fix process name for the OCR worker.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-30 05:13:01 -04:00 |
|
Roberto Rosario
|
1693b36b2d
|
Only try to return notifications for logged in users.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-30 05:12:37 -04:00 |
|
Roberto Rosario
|
55879d3488
|
Add default celery settings to docker's entrypoint script.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-30 05:00:02 -04:00 |
|
Roberto Rosario
|
d610f8d5f6
|
Use the errno library and not the literal error numbers.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-30 02:01:06 -04:00 |
|
Roberto Rosario
|
b4d1ce33e5
|
Don't enable or defile the logfile handler if the media folder doesn't exist.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-30 02:00:33 -04:00 |
|
Roberto Rosario
|
9cde4d7b04
|
Use double quotes since single quotes are used in the 500 string.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-30 01:47:31 -04:00 |
|