Roberto Rosario
55e9b2263c
Celery: Update Celery to version 4.1.1
...
Upgrade Celery version used from 3.1.26 to 4.1.1. The following
settings have been renamed: CELERY_ALWAYS_EAGER to
CELERY_TASK_ALWAYS_EAGER, BROKER_URL to CELERY_BROKER_URL.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-08 22:49:15 -04:00
Roberto Rosario
8039dfa30a
Autoadmin: Incorporate the autoadmin app
...
Incorporate the external django-autoadmin app as a core app
and convert it into a Mayan app. This change adds the new
settings: "COMMON_AUTOADMIN_EMAIL", "AUTOADMIN_PASSWORD", and
"AUTOADMIN_USERNAME".
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-07 03:09:59 -04:00
Roberto Rosario
ba4858e77f
Initial settings: Refactor setting bootstrapping
...
Refactor the initial environment settings and configuration file loading
fixing some issues loading Django settings.
Consolidate all database settings into a new single setting
called "DATABASES". This mirrors Django database setting
structure. This changes makes it possible to use configure
multiple databases and database routers from the environment
variables or configuration file.
Remove usage of django-environ. Only a small set of the
features provided by django-environ were being used.
Variable typecasting is now only YAML. YAML parsing
is implemented in code.
Previously the initial setting code added all settings
it found into the global symbol table. Now the settings
found are matched to a explicit list of allowed settings.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-27 04:06:21 -04:00
Roberto Rosario
6a7cd09bc1
Use Jinja2 as the template engine
...
Use Jinja2 to render the templates of the indexing,
workflows, smart links, user mailer and metadata apps.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-25 02:13:26 -04:00
Roberto Rosario
2ae56d2cf4
Dependencies: Update Python dependencies version.
...
Remove django suit as a dependency.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 18:41:02 -04:00
Roberto Rosario
8e3484663b
Add spell checking to documentation target.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 19:34:07 -04:00
Roberto Rosario
08a69f534e
Update required Django version to 1.11.16.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-03 15:16:09 -04:00
Roberto Rosario
8c229d4b36
Latest Django version is 1.11.15.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 03:01:57 -04:00
Roberto Rosario
06288e3d6d
Update from Django 1.11.11 to 1.11.16
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-21 00:08:38 -04:00
Roberto Rosario
6baa63a989
Restore usage of upstream django-celery package. Purge periodic tasks before dumping the database.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-01 03:41:34 -04:00
Roberto Rosario
e7cb4cf6c3
Update packages versions: Pillow:5.2.0, PyYAML:3.13, django-environ:0.4.5,
...
django-model-utils:3.1.2, django-mptt:0.9.1, django-widget-tweaks: 1.4.2,
flanker:0.9.0, flex:6.13.2, furl:1.2, gevent:1.3.5, graphviz: 0.8.4,
gunicorn:19.9.0, pyocr:0.5.2, python-dateutil:2.7.3
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-07 23:13:49 -04:00
Roberto Rosario
c02a8bb3e3
Switch to pathlib2
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-06 14:43:30 -04:00
Roberto Rosario
9183369bdb
Use patched version of django-celery with support for natural key.
...
https://github.com/celery/django-celery/pull/552
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-05 20:44:37 -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
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
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
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
077910bf72
Add gunicorn, gevent and whitenoise as requirements
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-22 04:18:09 -04:00
Roberto Rosario
63a77d0235
Use Mailgun's flanker library to process the email sources.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-10 01:16:53 -04:00
Michael Price
9b08cf221a
Update release checklist with entry to check the README.rst format.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:42:11 -04:00
Michael Price
57325bc6ad
Add release notes for version 3.0. Fix documentation formatting. Add upload wizard step chapter. Improve and add additional diagrams. Change documenation theme to rtd.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 20:33:09 -04:00
Michael Price
f44fbe5687
Update drf-yasg to version 1.5.0.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 20:27:37 -04:00
Michael Price
75542ebcc3
Update required Django version to 1.11.11.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-01 20:26:43 -04:00
Michael Price
cedf5ac7d0
Update to the latest version the packages for building, development, documentation and testing.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:31:51 -04:00
Michael Price
1946250cea
Update to the latest version of Pillow, django-activity-stream, django-compressor, django-cors-headers, django-formtools, django-qsstats-magic, django-stronghold, django-suit, furl, graphviz, pyocr, python-dateutil, python-magic, pytz, sh.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:31:33 -04:00
Michael Price
4378b28777
Update API vies and serializers for the latest Django REST framework version. Replace DRF Swagger with DRF-YASG.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:31:22 -04:00
Michael Price
6525f3b854
Update project to use Django 1.11.10 and Django model utils version 3.1.1
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:25:47 -04:00
Michael Price
0a05c87c9c
Update the Pillow and django-mptt versions required.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 01:56:42 -04:00
Michael Price
d3e4876511
Use Django 1.10.8.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 01:01:16 -04:00
Roberto Rosario
2f290a5655
Install mock by default to allow easier testing of deployed
...
instances.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-06 00:09:42 -04:00
Roberto Rosario
91acee7630
Add test for unicode metadata values during uploads.
...
Add furl to the requirements.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-31 02:18:56 -04:00
Roberto Rosario
9147b34409
Fix text typos. Update translations.
...
Merged: Remove PDFMiner from the requirments.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-27 13:50:13 -04:00
Roberto Rosario
5e2d66d201
Fix typo in requriments list file.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-26 02:02:30 -04:00
Roberto Rosario
3669d7f3f2
Add HTTP Post workflow action.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 02:10:29 -04:00
Roberto Rosario
0ab396eeb8
Add the graphviz binary and Python requirements to the requirements
...
file, CI and deployment instructions.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-09 01:02:39 -04:00
Roberto Rosario
9e083488f1
Add utility to generate a setup.py with updated
...
requirements. GitLab issue #200 #149
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-25 06:34:02 -04:00
Roberto Rosario
fd9916ddec
Update required versions of Pillow and django-suit.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-03 13:46:34 -04:00
Roberto Rosario
0a24bbfabe
Update coverage util versions.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-20 03:39:27 -04:00
Roberto Rosario
4150fea2ad
Add PDF orientation detection. Closes GitLab issue #387 .
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-16 22:30:07 -04:00
Roberto Rosario
86a351e826
Update the versions of the development and testing packages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-16 20:59:23 -04:00
Roberto Rosario
c857da5a49
Add django-mathfilters==0.4.0 to requirements.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-12 16:21:12 -04:00
Roberto Rosario
7497907293
Add Makefile recipe to generate a release using Docker builder.
...
Add separate requirements file for the build requirements.
GitLab issue #362 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-07 21:06:38 -04:00
Roberto Rosario
53d3d7392f
Update version of twine to 1.9.1.
...
Fixes packaging issues with unicode filenames.
https://github.com/pypa/twine/issues/235
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-07 14:29:32 -04:00
Roberto Rosario
42c72001b6
Use Django 1.10.7.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-28 16:03:52 -04:00
Roberto Rosario
55d6710630
Update required Sphinx version to latest.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-25 00:49:24 -04:00
Roberto Rosario
042d31db93
Update python-magic to version 0.4.13 and sh to version 1.12.9
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-22 03:45:11 -04:00
Roberto Rosario
f64ec81a1a
Update required version of django-celery for Django 1.10 compatibility.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-09 00:43:10 -04:00
Roberto Rosario
fd905e4e3e
Update required Django version to 1.10.6
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-06 22:49:11 -04:00
Roberto Rosario
90f1df76bb
Revert "Update required Django version to Django 1.10.6"
...
This reverts commit c03ae5649b .
2017-03-06 22:47:11 -04:00
Roberto Rosario
c03ae5649b
Update required Django version to Django 1.10.6
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-06 22:46:54 -04:00