Roberto Rosario
c40e0c136a
Add group create and edit events
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-29 04:06:11 -04:00
Roberto Rosario
91465ef9b0
PEP8 cleanup
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-24 04:31:20 -04:00
Roberto Rosario
fd7e937cef
Move current user views and add user events
...
Move the current user detail and edit views from the common app
to the user_management app. Add the user created and edited events.
Add an user detail view.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-24 04:21:25 -04:00
Roberto Rosario
64e1c6bb67
Add widget support to SourceColumn
...
Allow passing a widget class to SourceColumn. This makes
using lambdas to render model column unnecesary and are
mostly removed too.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-22 05:35:31 -04:00
Roberto Rosario
798446f362
Add klass argument to get_object_or_404 usage
...
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-16 01:55:33 -04:00
Roberto Rosario
8e69178e07
Project: Switch to full app paths
...
Instead of inserting the path of the apps into the Python app,
the apps are now referenced by their full import path.
This app name claves with external or native Python libraries.
Example: Mayan statistics app vs. Python new statistics library.
Every app reference is now prepended with 'mayan.apps'.
Existing config.yml files need to be updated manually.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-12-05 02:04:20 -04:00
Roberto Rosario
abfc8b0c09
Navigation: Add list facet menu
...
Add the new list facet navigation menu. Used to provide facets
to the list subtemplate. The list facet allows separating the object
action links from the object navigation links. The list facet
links are displayed before the list object links on the list
subtemplate. In the object views, the list facet menu behaves
exactly the same as the form facet menu.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-29 04:17:53 -04:00
Roberto Rosario
7bda5b1fce
Fix user groups view.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 16:49:35 -04:00
Roberto Rosario
c9dedde1d0
Add no results help text.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-30 05:26:48 -04:00
Roberto Rosario
69b80aff1d
Add support for blocking the changing of password for specify users.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-26 06:56:48 -04:00
Roberto Rosario
db235a7e78
Add support for users ACLs. Add support for groups ACLs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-02 04:53:03 -04:00
Roberto Rosario
2dff4c14f9
Fix typo.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 01:44:58 -04:00
Roberto Rosario
f14c67a444
User Django's provided form for setting an users password.
...
This change allows displaying the current password policies
and validation.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 01:44:16 -04:00
Roberto Rosario
b44ccc3d0d
Rename the group users link label from "Members" to "Users".
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 01:07:21 -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
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
6d54ecc10a
Enable password validation on all the views and API endpoints that change password.
2017-01-14 17:13:03 -04:00
Roberto Rosario
116a45f5d2
Refactor the user create, user delete and user set password views.
2016-12-23 03:07:51 -04:00
Roberto Rosario
927c0bf657
Remove remaining usage of django.contrib.auth.model.User. GitLab issue #225 .
2016-03-08 02:21:03 -04:00
Roberto Rosario
2ebb84f18f
Remove remaining direct references to the User model. Closes GitLab issue #225 .
2016-01-28 05:55:15 -04:00
Roberto Rosario
10f2bd6226
Improve multi user delete view. Add view tests for the user management app.
2015-10-22 04:23:16 -04:00
Roberto Rosario
da0134a7fb
Fix label of the left box in group members views. GL issue #233 .
2015-10-21 03:45:28 -04:00
Roberto Rosario
6ca6cd9f21
PEP8 Cleanusp (549 warnings).
2015-09-16 04:15:10 -04:00
Roberto Rosario
3622cdcf32
Update user edit view to CBV. Remove user group's view helper functions.
2015-09-07 00:16:55 -04:00
Roberto Rosario
7a45164251
PEP8 cleanups.
2015-08-25 19:17:55 -04:00
Roberto Rosario
f54c0d5058
Update group delete view to CBVs. Remove multiple group delete view.
2015-08-24 20:55:22 -04:00
Roberto Rosario
a39470b622
Remove repeated column.
2015-08-20 00:44:04 -04:00
Roberto Rosario
68f3c6eee7
PEP8 cleanups.
2015-08-19 14:50:44 -04:00
Roberto Rosario
683e54fea1
Replace unused lists with tuples.
2015-08-19 13:57:38 -04:00
Roberto Rosario
60bc327756
Improve SourceColumn workflow by allowing explicit functions as columns. Remove usage of encapsulate. Move instances of 'extra_columns' to SourceColumn.
2015-08-16 14:26:41 -04:00
Roberto Rosario
5563484ae8
Replace remaining usage of get_context_data that could be replaced with get_extra_context.
2015-08-15 23:42:32 -04:00
Roberto Rosario
97bba65668
Code style updates, change lists to tuples.
2015-08-13 15:27:22 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
afe6644321
Use shorter confirmation messages.
2015-07-17 19:52:17 -04:00
Roberto Rosario
4a88df8f9a
Convert group create and edit views to CBV. Remove unused GroupForm.
2015-07-09 02:00:19 -04:00
Roberto Rosario
b5d2ebc781
Replace user list and group list views with CBVs.
2015-07-01 17:11:18 -04:00
Roberto Rosario
e9ea2dc35a
Modernize usage of the AssignRemove CBV
2015-06-30 17:19:56 -04:00
Roberto Rosario
1c084aa07b
Split Permission and StoredPermission class and model into different modules. Simplified the Permission class.
2015-06-28 01:03:29 -04:00
Roberto Rosario
d26402974a
Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals).
2015-06-28 00:19:49 -04:00
Roberto Rosario
48df3dcafa
PEP8 cleanups
2015-06-24 17:11:24 -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
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
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
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
2c2dfa88cc
Issue #84 , Remove template context variable 'object_name' to improve ease of translation
2014-10-28 02:36:43 -04:00
Roberto Rosario
a728690335
Issue #56 , #97 , Make multi item links a drop down list of actions, remove unused code
2014-10-27 16:26:13 -04:00
Roberto Rosario
71e8502614
Remove confirmation template's form icon
2014-10-25 02:21:44 -04:00
Roberto Rosario
01a15d7f0c
PEP8 cleanups
2014-10-13 17:33:23 -04:00
Roberto Rosario
8a40ade735
Fix group list view context
2014-10-13 17:27:36 -04:00