Roberto Rosario
f69fcbcc82
Move password set views to the authentication app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-07 03:13:14 -04:00
Roberto Rosario
66d5016407
Add user logged in and logged out events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 13:15:33 -04:00
Roberto Rosario
dcde4b1968
Monkeypatch Django models to allow translation
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:48:02 -04:00
Roberto Rosario
84c88f9173
Remove app top level star imports
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 03:15:43 -04:00
Roberto Rosario
89bc78bd55
Register event view permission with user and group
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-27 02:10:00 -04:00
Roberto Rosario
fb1f5dbfe3
User groups, group users views to AddRemoveView
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 03:24:33 -04:00
Roberto Rosario
2f8cd26d0f
Add verbose name to the user and group models
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-25 02:31:33 -04:00
Roberto Rosario
296c580a5e
Add sortable columns to all apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 04:20:50 -04:00
Roberto Rosario
a97c2ec662
Update TwoStateWidget to use a template
...
Make it compatible with the SourceColumn class.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-24 00:46:33 -04:00
Roberto Rosario
eadcf7382b
Add user and group events
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-22 00:14:02 -04:00
Roberto Rosario
1e37ca8315
Backport new menu, new sidebar and CSS changes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-21 23:50:35 -04:00
Roberto Rosario
54020a8813
Move current user views to the user management app
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-17 02:25:57 -04:00
Roberto Rosario
7be25df7d0
Remove star import from the ACL and Common apps
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-15 18:45:25 -04:00
Roberto Rosario
36a51eeb73
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 solves name clashes 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 >
2019-04-05 02:02:57 -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
4f028b1f54
Convert the two_state_widget to a class and update it to use the new icon class.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-04 16:56:03 -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
Michael Price
e1956f8d80
Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:59 -04:00
Michael Price
744976e8a1
Fix flake8 warnings.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:30:27 -04:00
Michael Price
3b5c5666b3
Don't register the user create and group create permissions with a their respective models.
...
These permissions can only be granted globally.
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 01:26:54 -04:00
Michael Price
c9f6d64b44
Register the corresponding permissions to the user and group models.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 01:18:30 -04:00
Roberto Rosario
c4c0d4a007
Rename the group user count column label from "Members" to "Users".
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 02:07:31 -04:00
Roberto Rosario
72fc940cd7
Add method to modify a group's role membership from the group's
...
view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-09-17 02:05:59 -04:00
Roberto Rosario
c088826789
Make users and groups searchable via the API.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-12 04:02:19 -04:00
Roberto Rosario
8179c35189
Simplify test runner by adding a new option '--mayan-apps' that
...
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:47:40 -04:00
Roberto Rosario
5f99b123d7
Merge branch 'master' into master_merge
2017-02-03 14:08:34 -04:00
Roberto Rosario
6fbd166f3c
Add event list API view
2017-01-29 01:25:59 -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
24ef702e9c
Update some direct model importing to use Django's apps.get_model instead.
2016-10-30 02:46:36 -04:00
Roberto Rosario
d1c87fe102
Allow MetadataLookup to receive callables. Update the {{ users }} and {{ groups }} metadata lookup options to be callables that return a current list of users and groups and not a queryset. Add integrations test user_managements -> metadata app. Fixes GitLab #290 . Thanks to @camiloforero for finding this one.
2016-05-19 19:33:58 -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
10f2bd6226
Improve multi user delete view. Add view tests for the user management app.
2015-10-22 04:23:16 -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
68f3c6eee7
PEP8 cleanups.
2015-08-19 14:50:44 -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
960d60c39d
Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.
...
Update DRF and DRF swagger versions. Update all apps API registration method.
2015-08-06 02:56:17 -04:00
Roberto Rosario
fc9f9f1e68
Replace more unnecessary lists with tuples.
2015-07-28 01:41:45 -04:00
Roberto Rosario
0a0a92116e
Get rid of eval in metadata type default and lookup fields. gh-issue #151 .
2015-07-23 02:49:29 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00
Roberto Rosario
e4623fadcd
PEP8 cleanups
2015-06-23 02:23:23 -04:00
Roberto Rosario
50e547dc98
Allow app to auto add their urlpatterns via MayanAppConfig AppConfig subclass
2015-06-19 20:42:34 -04:00
Roberto Rosario
39e8e26f87
Move link conversions, consolidate FrontPageLink with new link class
2015-04-04 03:23:13 -04:00
Roberto Rosario
3e7601f2b9
Convert block of dictionary link to new Link class
2015-04-04 01:56:28 -04:00
Roberto Rosario
51ce5ca057
Consolidate navigation tags, consolidate setup and tool link
2015-04-03 20:51:02 -04:00
Roberto Rosario
bd041457c9
Update project to use Django 1.7.7. Issue #33
2015-03-30 03:43:56 -04:00