- Add URI.js, Ajax form.
- Split base.js into mayan_app.js, mayan_image.js, partial_navigation.js.
- Add a HOME_VIEW setting. Use it for the default view to be loaded.
- New template loading order root.html -> base.html -> any template. root.html is only loaded once. Other templates are loaded and merged with base.html via ajax load.
- Fix bug in document page view. Was storing the URL and the querystring as a single url variable.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
version and API views to include proper mimetype and encoding.
Update respective tests. GitLab issue #415.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
Add document version preview and thumbnail widgets.
Update the new version upload event have the version
as the target and the document as the action object.
Backported from the development branch.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
Add support for granting the document type edit, document type delete, and document type view
permissions to individual document type instances.
Improved tests by testing for accesses.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
Also, the trash can emptying view calls the trash can document celery task
for each document.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
Replace all __unicode__ methods to __str__ and the
@python_2_unicode_compatible decorator.
Replace all instance of smart_str, smart_unicode, force_uncode
with force_text.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
document page navigation views. Fixes issue with Mayan installed
as a sub URL app. Fixes GitLab issue #383. Thanks to @gsteixei
for the issue and investigation.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>