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
42d434f7bb
Upload Wizard: Add double click support
...
Add support to select the document type using a Double Click action
on the form.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-25 01:34:44 -04:00
Roberto Rosario
e72b4e82a3
Forms: Add support for form hotkeys
...
Adds JavaScript support to monitor keypresses or mouse events
of forms with the classes .form-hotkey-enter or form-hotkey-double-click,
and trigger the click event of the button with the CSS class
.btn-hotkey-default.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-25 01:32:22 -04:00
Roberto Rosario
8e896a54f9
Middleware: Modernize middleware classes
...
Make the custom middleware provided by Mayan to use the
MiddlewareMixin provide by Django. This make the middleware
classes behave like classes or callables. This change ensures
compatibility with Django 2.x.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-25 00:59:39 -04:00
Roberto Rosario
2d5a646940
URLs: Remove development URLs from main URL file
...
Move the development URL definitions for Rosetta and Debug toolbar
to a separate URL file. Convert the single urls.py to a module to
allow multiple URL files to be used.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-25 00:32:17 -04:00
Roberto Rosario
b3c0b622b8
App: Remove admindocs
...
Remove admindocs which is not used in production.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-24 22:59:16 -04:00
Roberto Rosario
b04b205fb6
Add docstrings for almost all models
...
Also adds docstring to some managers and model methods.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-24 22:56:35 -04:00
Roberto Rosario
8c98679687
Dependencies: Remove django-suit from apps
...
Signed-off-by: Roberto Rosario <Roberto.Rosario.Gonzalez@gmail.com >
2018-11-22 04:59:10 -04:00
Roberto Rosario
6d39f3b716
Documents: Add missing import
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 22:02:33 -04:00
Roberto Rosario
21a6ed4756
Documents: Add document page icons
...
Add icons to the document page image and document page reset
views.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 21:58:10 -04:00
Roberto Rosario
3b247bfb5f
Documents: Document task transformations
...
Add support to pass serialized transformation lists to the
document page generation task.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 21:51:57 -04:00
Roberto Rosario
823083a76c
Converter: Add transformation serialization
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 21:51:32 -04:00
Roberto Rosario
4ee6add201
Documents: Document image API transformations
...
Add transformations support to the document image API.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 21:43:49 -04:00
Roberto Rosario
894a25ccce
Appearance: Allow subclassing the TextArea widget
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 18:55:47 -04:00
Roberto Rosario
ecdc4a9a51
Appearance: Remove unused form_empty_label flag
...
This is superseded by the empty results template.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 18:48:32 -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
810558659d
Documents: Add invalid document server template
...
Invalid document template is now served or included from
a specific template file. Documents with invalid
API image URLs now return None instead of the template code
specific '#'. The new template is called invalid_document.html.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 18:23:43 -04:00
Roberto Rosario
957cf64fe5
Pagination: Add custom pure pagination subclasses
...
Add Paginator and Page subclasses that supports custom page
querystring keys.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 18:04:42 -04:00
Roberto Rosario
e8c70cbd08
Pagination: Fix unintented pagination AJAX reload
...
Add CSS class to disable reload when clicking on pagination active page
link.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-16 17:59:28 -04:00
Roberto Rosario
8cbae9021b
Release: Update setup build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-01 03:55:42 -04:00
Roberto Rosario
8a971400b1
Release: Bump version to 3.1.9
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-01 03:55:06 -04:00
Roberto Rosario
fb3678bb6f
Sources: Convert furl querystring to text
...
Convert the furl instance to text to allow serializing it into
JSON to be passed as arguments to the background task.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-01 03:50:34 -04:00
Roberto Rosario
7c5477b439
Release: Update build string
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:10:08 -04:00
Roberto Rosario
cc7362b269
Release: Bump version to 3.1.8
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:09:05 -04:00
Roberto Rosario
dcb55f4aff
Utilities: Remove remarked statement
...
Remove print statement fromt he increase_version module.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:05:47 -04:00
Roberto Rosario
ba6fd842d2
Documentation: Add version 3.1.8 release notes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 19:05:03 -04:00
Roberto Rosario
cf1726505b
Documenation: Fix spelling errors
...
Fix spelling errors in documentation and other program texts.
Update the spelling exceptions list.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 18:41:20 -04:00
Roberto Rosario
8b41a9bfc9
Documentation: Expand the Source control section
...
Add new subsection explaining commit messages structure to be
used in the project.
Updates and expands explanations regarding the Git branch
structure used in the project.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 17:24:43 -04:00
Roberto Rosario
e109068b29
Indexing: Add document base property reindex
...
Add support for reindexing documents when their base properties like
the label and description are edited.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 17:08:56 -04:00
Roberto Rosario
9fc7c4fc09
Add explicit argument name of 'mode' to the open statement.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-31 16:53:48 -04:00
Roberto Rosario
5a8455bfc2
Update translation files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-29 13:24:07 -04:00
Roberto Rosario
033d6751e0
Add utility and makefile target to increase version number mechanically. Update release checklist.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-29 12:55:24 -04:00
Roberto Rosario
d9ee75cc47
Merge branch 'feature/show_config' into versions/next
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-19 02:58:53 -04:00
Roberto Rosario
6ae24493eb
Add new showsettings management command
...
This command displays the current configuration settings.
Default the YAML flow format to False which never uses inline.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-19 02:55:16 -04:00
Roberto Rosario
b4f43adc1a
Documentation: Use Sphinx's extlinks to cut down on repeated URLs. Merge Administration and Maintenance topics. Add database conversion chapter. Unify the header format of all recent release notes. Fix :doc: references.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 23:02:30 -04:00
Roberto Rosario
46d48cc5ea
Add template variable for the setup module build number.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 16:29:31 -04:00
Roberto Rosario
b74a323f2b
Update changelog.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 16:21:43 -04:00
Roberto Rosario
bcd2427ab6
Move the noop OCR backend to the right place.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-18 16:21:12 -04:00
Roberto Rosario
8fcc61bde5
Update documentation. Add chapter on password resets. Add administration topic.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 21:38:58 -04:00
Roberto Rosario
b716971ba0
Add configuration option to change the project/installation URL. This is used in the password reset emails and in the default document mailing templates.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 21:34:48 -04:00
Roberto Rosario
ad822834d4
Center workflow preview.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 02:43:44 -04:00
Roberto Rosario
e222a71966
Remove the workflow preview size constraints.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 02:43:17 -04:00
Roberto Rosario
1f27670921
Add release notes for version 3.1.8
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 02:05:38 -04:00
Roberto Rosario
321b7ad5ae
Add custom validator for multiple emails in a single text field. Change the widget of the email fields in the mailer app to avoid browser side email validation. Closes GitLab issue #530 . Thanks to Mark Maglana @relaxdiego for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-17 00:01:48 -04:00
Roberto Rosario
cc79e75d35
Add improvements to the metadata URL encoding and decoding to support ampersand characters as part of the metadata value. GitLab issue #529 . Thanks to Mark Maglana @relaxdiego for the report.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-16 04:58:42 -04:00
Roberto Rosario
70bb250a23
Add data migrations to the sources app migraton 0019 to ensure all labels are unique before performing the schema migations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-16 02:59:31 -04:00
Roberto Rosario
5eee810d8e
Merge FAQ with the Wiki's FAQ page.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-16 01:21:14 -04:00
Roberto Rosario
37bd5862e6
Flip order of getting start and release notes topics
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 20:01:25 -04:00
Roberto Rosario
8bf6c37e35
Add workflow and API chapter. Expand tags chapter.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 20:00:25 -04:00
Roberto Rosario
e6c43bebf5
Reorganize documentation into topics and chapters. Add new material from Wiki.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-15 06:03:04 -04:00