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
Roberto Rosario
0209ea6632
Update views that used generic_detail to use generic_form in read_only mode. Remove now obsolete generic_detail template
2015-04-07 02:04:41 -04:00
Roberto Rosario
d1c56c40fd
Convert current user details, current user locale profile details, home, license, maintenance and tool list views to CBV
2015-04-07 01:43:49 -04:00
Roberto Rosario
7811d1e090
Change home and setup list views to CBVs
2015-04-07 01:27:33 -04:00
Roberto Rosario
735cd64db2
Don't parse the URL if it's not going to be used. Convert tools to CBV.
2015-04-07 01:15:47 -04:00
Roberto Rosario
23fc9f1e36
Merge main and common apps, extract authentication functionality to new authentication app. Closes issues #179 and #180
2015-04-06 16:09:54 -04:00
Roberto Rosario
7c4bb03534
Don't load removed settings template tag
2015-04-06 02:43:27 -04:00
Roberto Rosario
d6afddad3d
Start merge of common and main apps
2015-04-05 03:44:24 -04:00
Roberto Rosario
e4bb97aaed
Code reduction, handle already logged in user redirection at the view and not at the template.
2015-04-01 14:18:05 -04:00
Roberto Rosario
c88d8061e9
Remove ununsed password change and form templates
2015-04-01 13:36:31 -04:00
Roberto Rosario
2e0e6f7fe9
Update usage of forms submit icon to use generic icon classes and use font awesome icons instead
2015-04-01 03:22:36 -04:00
Roberto Rosario
08b8dc3f27
Update assign_remove view to work with bootstrap
2015-04-01 03:13:40 -04:00
Roberto Rosario
5dabc0a34a
Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project
2015-03-30 02:17:40 -04:00