Roberto Rosario
d7ecdac6b0
Fix PEP8 warnings.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-06 01:26:06 -04:00
Roberto Rosario
fb2ba25f23
Remove the data filters feature.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 01:40:34 -04:00
Michael Price
de65d96fe2
Update cabinets and document_index api views docstrings. Update multi level docstrings as per Python best practices.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 20:27:45 -04:00
Eric Riggs
f3f4dcd84a
- Make Mayan behave like a Single Page App by using partials.
...
- 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 >
2018-04-01 19:54:15 -04:00
Roberto Rosario
69514767b6
Code cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-28 21:52:51 -04:00
Roberto Rosario
8d76120ac7
Add support for clearing the generic object error log.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-28 17:56:54 -04:00
Roberto Rosario
eb7b189970
Add generic error log model.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-25 04:12:52 -04:00
Roberto Rosario
2052caada4
Remove PreserveGetQuerySet mixin. Update SingleObjectList and
...
MultipleObjectFormActionView views to use a new get_object_list method.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-16 22:12:24 -04:00
Roberto Rosario
c7afc85826
Cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-08 02:47:49 -04:00
Roberto Rosario
45bfb8961e
Include the dynamic form views in the view.py module.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-07 05:22:20 -04:00
Roberto Rosario
d49a5f43ed
Add missing replacements of reverse to resolve_url.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-25 08:23:26 -04:00
Roberto Rosario
f09321f6ab
Fix deprecation warnings for Django 1.11 and Django 2.0.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 00:25:18 -04:00
Roberto Rosario
c3d4884d34
Remove debug statement.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 03:32:19 -04:00
Roberto Rosario
2817ec17be
Add support for logging errors during in production mode.
...
Add COMMON_PRODUCTION_ERROR_LOG_PATH to control path of log file.
Defaults to mayan/error.log.
Add support logging request exceptions.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 03:31:34 -04:00
Roberto Rosario
6d5d102984
Translations synchronization.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-28 16:02:01 -04:00
Roberto Rosario
579595fe7f
Add support for check for the latest released version of Mayan.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-26 17:37:23 -04:00
Roberto Rosario
c598f87d7f
Hide the static tag import to avoid errors with static file
...
processors
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-09 02:21:00 -04:00
Roberto Rosario
7a4a78c2ca
Move favicon redirect code from common.urls to common.views as
...
FaviconRedirectView. This removed the
django.contrib.staticfiles.templatetags.staticfiles.static URL runtime
computation from common.urls. GitLab issue #340 .
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-07 00:43:32 -04:00
Roberto Rosario
eaa9af55c4
Silence the PEP8 warning F405 "may be undefined, or defined from star imports".
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-02-22 17:17:02 -04:00
Roberto Rosario
352457f576
Don't add the current user to the template context to avoid triggering user managment action links.
2016-05-14 01:49:29 -04:00
Roberto Rosario
6f02d96212
Update current user detail view to use DetailView CBV.
2016-03-09 23:26:00 -04:00
Roberto Rosario
09f4d674a4
Pass the request instance to properly resolve the setup and tools links.
2016-01-28 04:40:31 -04:00
Roberto Rosario
86ff835839
PEP8 Cleanups.
2015-10-07 22:24:44 -04:00
Roberto Rosario
6480489086
Add view displaying all 3rd party apps and packages' licenses.
2015-09-23 03:32:14 -04:00
Roberto Rosario
6ca6cd9f21
PEP8 Cleanusp (549 warnings).
2015-09-16 04:15:10 -04:00
Roberto Rosario
1f32aa3c0b
Add extensible data filtering feature allowing to remove hard coded listing of documents with missing required metadata. Closes gl-issue #178 .
2015-08-24 17:33:24 -04:00
Roberto Rosario
68f3c6eee7
PEP8 cleanups.
2015-08-19 14:50:44 -04:00
Roberto Rosario
b632b69d08
Simplify home view by redirecting to results view.
2015-08-14 14:50:29 -04:00
Roberto Rosario
3b728328ad
PEP8 cleanups, E501.
2015-07-23 04:05:29 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
e891fe9525
PEP8 cleanups and code style cleanups.
2015-07-10 17:19:36 -04:00
Roberto Rosario
bc3eed143c
Add permission inheritance by parent object. Add ACLs app model tests.
2015-07-10 01:40:21 -04:00
Roberto Rosario
a5b7747619
Update current user detail edit and locale views to CBV.
2015-07-09 02:11:33 -04:00
Roberto Rosario
857cf7b1b2
Add browser cookie support for timezone middleware.
2015-07-08 00:17:44 -04:00
Roberto Rosario
8f30932b6f
Fix locale and language not updating on edit or on login
2015-07-04 04:36:55 -04:00
Roberto Rosario
ad5709c8ce
Remove maintenance tools menu entry, apps now register tools directly to the tools menu.
2015-07-02 02:47:46 -04:00
Roberto Rosario
576463535f
Add view permission and object permission mixins to the AssignRemove CBV
2015-06-30 02:38:50 -04:00
Roberto Rosario
7122a38807
Force implementation methods when subclassing. Hide labels, they don't add any important information.
2015-06-29 14:02:46 -04:00
Roberto Rosario
e9282132e5
Split search field registration to their respective apps
2015-06-24 15:19:51 -04:00
Roberto Rosario
a5e922416b
Make generates_choices_w_label a static method of AssignRemove, it's not anywhere else.
2015-06-23 03:13:28 -04:00
Roberto Rosario
78198f3398
Smart settings refactor
2015-06-22 21:04:06 -04:00
Roberto Rosario
22340d8b8f
Update menu resolution to return a list of lists of resolved objects. Allows segmented 'Action' dropdown on multi objects action menu.
2015-06-17 02:21:53 -04:00
Roberto Rosario
dee9c3fb70
Add Confirm view
2015-06-16 04:36:26 -04:00
Roberto Rosario
d8322031c5
PEP8 cleanups
2015-06-14 03:52:18 -04:00
Roberto Rosario
afb30eab04
Add CBV to display a list of object that are the children of another object
2015-06-09 18:52:42 -04:00
Roberto Rosario
0e3e34bdf1
Simplify AssignRemoveView further
2015-04-07 16:23:33 -04:00
Roberto Rosario
9084c3c651
Simplify and remove old code
2015-04-07 16:04:09 -04:00
Roberto Rosario
69a7efd6f0
Convert workflows document type selection, smart link document type selection, role members list, user group and group users views to CBV assign remove. Remove now obsolete assign remove function based view
2015-04-07 15:48:27 -04:00
Roberto Rosario
0476e66903
Convert index_setup_document_types to CBV assign remove
2015-04-07 03:34:47 -04:00
Roberto Rosario
d79ab07337
Add CBV version of the assign_remove view
2015-04-07 03:22:32 -04:00