Roberto Rosario
|
ca6d6f3fc7
|
Bump version to 3.0rc1
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-07 01:16:05 -04:00 |
|
Roberto Rosario
|
b5a4a9cf45
|
Add a short version of the copyright package metadata for the documentation template.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-05 02:13:09 -04:00 |
|
Roberto Rosario
|
d1973e6e05
|
Explicitly set CELERY ALWAYS EAGER to False in the production setting file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-05 02:12:28 -04:00 |
|
Roberto Rosario
|
ffbac43293
|
Fix failing OCR test.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-03 14:42:55 -04:00 |
|
Roberto Rosario
|
df980292cb
|
Change the media root settings folder name from 'settings' to 'mayan_settings' for clarity.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-03 03:00:32 -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 |
|
Roberto Rosario
|
54e9808eb9
|
User a default secret key that shows the need to set one.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-02 21:51:01 -04:00 |
|
Roberto Rosario
|
f0bb633eee
|
Move secret key and media root calculation code to the top of the settings file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-06-02 21:49:58 -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
Roberto Rosario
|
5c83cff767
|
Use django-environ for DEBUG and CELERY_ALWAYS_EAGER. Default CELERY_ALWAYS_EAGER to True.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 23:47:27 -04:00 |
|
Roberto Rosario
|
3689df4aac
|
Better default for the testing error log file full path.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 23:32:22 -04:00 |
|
Roberto Rosario
|
cbad7ee504
|
Print the exception type on upgrade errors. This is used for celery errors which don't include a text message.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 23:30:05 -04:00 |
|
Roberto Rosario
|
441127ae45
|
Don't create the media folder in the common app if it doesn't exist. Instead disable logfile creation.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 23:19:12 -04:00 |
|
Roberto Rosario
|
a788a99d93
|
Set CELERY_ALWAYS_EAGER to True on the development setting file.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 23:14:55 -04:00 |
|
Roberto Rosario
|
430c7b8c14
|
Add verbose error reporting when the document upload task fails.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 23:12:24 -04:00 |
|
Roberto Rosario
|
83ca7a7476
|
Add missing migrations.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 03:59:39 -04:00 |
|
Roberto Rosario
|
2ef31d2ec3
|
Rename shared upload storage from sharedupload_storage to storage_sharedupload
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-29 03:58:56 -04:00 |
|
Roberto Rosario
|
018c641e8b
|
Create the media folder if is doesn't exist.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-28 23:16:13 -04:00 |
|
Roberto Rosario
|
78961bec49
|
Remove sentry specifig code from the 500.html template.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-28 19:47:57 -04:00 |
|
Eric Riggs
|
3145cb4231
|
Add django-environ and use it to set ALLOWED_HOSTS.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-26 02:18:32 -04:00 |
|
Eric Riggs
|
d97b080586
|
Flanker is not thread safe, hide the import until it is actually needed.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-26 02:17:33 -04:00 |
|
Eric Riggs
|
9fbedd244c
|
- Put the log file in the /tmp folder.
- This is temporary and should be fixed. Create /media when not found?
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-22 13:51:14 -04:00 |
|
Eric Riggs
|
455fcef114
|
Move Docker environment overrides to main base.py module
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-22 04:17:28 -04:00 |
|
Eric Riggs
|
bbc338120e
|
Make all storage location explicit children of MEDIA_ROOT.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-22 04:16:19 -04:00 |
|
Eric Riggs
|
d8941ea810
|
- Add --force option to initialsetup
- Create the entire media structure
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-22 04:14:46 -04:00 |
|
Eric Riggs
|
f1ed40adba
|
Merge Docker files back into main repo.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
|
2018-04-22 04:14:07 -04:00 |
|
Roberto Rosario
|
238595e1bc
|
Don't error out if it is not possible to check for the latest current version.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-16 17:08:22 -04:00 |
|
Roberto Rosario
|
6a65544fb7
|
Remove some label argument from the apps module and move them to the model.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-16 15:20:45 -04:00 |
|
Roberto Rosario
|
6839f1b529
|
Make the 'label' argument of SourceColumn optional and introspect its value from the model meta if not specified.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
|
2018-04-16 15:19:16 -04:00 |
|