1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
cb93abb0f4 Fixes : Correct filtering of recent activity list under user view 2023-08-31 08:19:17 -04:00
80376abedf Closes : Introduce the account app ()
* Introduce 'accounts' app for user-specific views & resources
* Move UserTokenTable to account app
* Move login & logout views to account app
2023-07-31 09:22:04 -04:00
07f68ae579 Closes : Establish DEFAULT_PERMISSIONS config parameter ()
* Introduce the DEFAULT_PERMISSIONS config parameter

* Establish default permissions for user token management
2023-07-30 15:04:58 -04:00
9b6e32896d Clean up users & account URLs 2023-07-25 15:48:40 -04:00
7600d7b344 Closes : Move token management views to primary UI 2023-07-25 13:43:40 -04:00
a4acb50edd 12589 move user and group admin from admin ()
Move admin views for users, groups, and object permissions from the admin site to the NetBox frontend

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-20 16:22:08 -04:00
837be4d45f Merge branch 'develop' into feature 2023-07-11 10:09:26 -04:00
63ba9fb38c Fixes : Default manager for ObjectChange should filter by installed apps ()
* Fixes : Default manager for ObjectChange should filter by installed apps

* Employ canonical model discovery mechanism

* Move filtering logic to valid_models() queryset method

* fixed import to avoid content type does not exist

* Cleanup

---------

Co-authored-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com>
2023-07-05 11:39:35 -04:00
6e222f8dce Closes : User bookmarks ()
* Initial work on 

* Add tests

* Fix tests

* Add feature query for bookmarks

* Add BookmarksWidget

* Correct generic relation name

* Add docs for bookmarks

* Remove inheritance from ChangeLoggedModel
2023-06-29 14:36:11 -04:00
5e1bb20f32 Display login message as success 2023-02-07 16:49:07 -05:00
064e3ff605 Merge branch 'develop' into feature 2022-12-13 17:17:05 -05:00
860805ba82 Closes : Introduce LOGOUT_REDIRECT_URL config parameter to control redirection of user after logout 2022-12-09 17:08:07 -05:00
c3dcd8937f Merge branch 'develop' into feature 2022-11-22 10:08:23 -05:00
de9646d096 10653 log failed login attempts on INFO ()
* 10653 log failed login attempts on INFO

* 10653 use signal to log failed login attempts

* 10653 use signal to log failed login attempts

* Update netbox/users/signals.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Update netbox/users/apps.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-18 08:57:57 -05:00
96818cacf0 : Use register_model_view() for token views 2022-11-16 08:11:42 -05:00
816fedb78d 8853 Prevent the retrieval of API tokens after creation ()
* 8853 hide api token

* 8853 hide key on edit

* 8853 add key display

* 8853 cleanup html

* 8853 make token view accessible only once on POST

* Clean up display of tokens in views

* Honor ALLOW_TOKEN_RETRIEVAL in API serializer

* Add docs & tweak default setting

* Include token key when provisioning with user credentials

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-02 12:45:00 -04:00
e05696dfcc Fixes : Display SSO links when local authentication fails 2022-09-15 13:17:04 -04:00
2a7bad326d add next param to sso url 2022-08-26 12:55:35 -07:00
a9ddd41729 Fix SSO signon for SAML with idp ()
*  add idp to saml login

*  add idp to saml login

*  add idp to saml login

*  refactor / cleanup
2022-08-25 14:48:46 -04:00
1b88b36820 Merge branch 'develop' into feature 2022-08-08 15:39:03 -04:00
caca074161 Fixes : Prevent redirection to arbitrary URLs via 'next' parameter on login URL 2022-08-08 14:21:42 -04:00
abf11fbcb8 Merge branch 'develop' into feature 2022-07-20 12:20:33 -04:00
fe2fae5b86 Closes : Check for UserConfig instance during user login 2022-07-15 09:42:12 -04:00
123e758c6d Closes : Render user API tokens in a table 2022-07-11 15:43:59 -04:00
d6df6b444f Closes : Improve appearance of SSO login providers 2022-04-14 10:54:07 -04:00
0bf1789464 Fix template context for API token views 2022-02-11 12:28:49 -05:00
630ff2abb4 Remove dependency on is_safe_url() 2022-02-03 12:58:54 -05:00
70f257b1ea Introduce UserConfigForm for managing user preferences 2021-12-21 16:29:01 -05:00
cd08836f3e Refresh user profile view; add recent activity 2021-12-08 16:32:31 -05:00
339776c139 Initial work on SSO support (WIP) 2021-10-29 17:06:14 -04:00
fbf91dda7d Optimize config queries 2021-10-26 13:41:56 -04:00
94804fecd8 Add MAINTENANCE_MODE, MAPS_URL 2021-10-26 10:57:33 -04:00
d11ea67bdd Update design of user profile section 2021-08-24 15:24:03 -04:00
744792452f Closes: - Remove Secrets ()
* Remove Secrets

* : Remove secrets javascript from netbox core

* Remove userkey references

* Fix PEP8

* Remove a few more instances of secrets.  Rebundle

* Remove Secrets

Co-authored-by: checktheroads <matt@allroads.io>
2021-05-17 16:26:02 -04:00
8b2f4780ed fix type error 2021-04-26 00:32:26 -07:00
2b159fc40f implement dark mode 2021-04-25 20:11:46 -07:00
6ec8ac7597 Fixes : Permit users to manage their own REST API tokens without needing explicit permission 2021-03-31 13:25:06 -04:00
e5caea04c1 Update UserKey views to use "object" context var 2020-11-19 13:43:17 -05:00
a3675854be Clean up generic view templates 2020-11-11 16:58:29 -05:00
08c492f1f4 Merge develop into develop-2.10 2020-09-04 16:09:05 -04:00
328d639886 Merge branch 'develop' into develop-2.9 2020-06-17 16:57:17 -04:00
e23a5ad141 Fixes : Fix redirect after login when next is not specified 2020-06-17 09:15:03 -04:00
3502398d1d Remove delete_token permission from TokenDeleteView 2020-06-02 15:36:31 -04:00
587339bea0 Add page for user to view/clear preferences 2020-04-24 10:29:06 -04:00
c983dac771 Add logging output to login/logout views 2020-03-02 17:04:54 -05:00
3b76e0203a Fixes 3749 attribute error 2019-12-11 07:03:39 +00:00
b1761f7856 : Add a message indicating why the user is redirected 2019-11-06 10:01:42 -05:00
7f779e3942 Hide password change page when user is logged in using LDAP 2019-11-03 16:05:53 +03:00
37c2c4b4a2 Merge v2.5.11 2019-04-29 14:40:18 -04:00
3562b5552b Fixes : Disable last_login update on login when maintenance mode is enabled 2019-04-29 11:04:32 -04:00