Jeremy Stretch
cb93abb0f4
Fixes #13626 : Correct filtering of recent activity list under user view
2023-08-31 08:19:17 -04:00
Jeremy Stretch
80376abedf
Closes #13309 : Introduce the account app ( #13310 )
...
* 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
Jeremy Stretch
07f68ae579
Closes #13038 : Establish DEFAULT_PERMISSIONS
config parameter ( #13308 )
...
* Introduce the DEFAULT_PERMISSIONS config parameter
* Establish default permissions for user token management
2023-07-30 15:04:58 -04:00
Jeremy Stretch
9b6e32896d
Clean up users & account URLs
2023-07-25 15:48:40 -04:00
Arthur Hanson
7600d7b344
Closes #13228 : Move token management views to primary UI
2023-07-25 13:43:40 -04:00
Arthur Hanson
a4acb50edd
12589 move user and group admin from admin ( #12877 )
...
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
Jeremy Stretch
837be4d45f
Merge branch 'develop' into feature
2023-07-11 10:09:26 -04:00
Jeremy Stretch
63ba9fb38c
Fixes #11335 : Default manager for ObjectChange should filter by installed apps ( #11709 )
...
* Fixes #11335 : 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
Jeremy Stretch
6e222f8dce
Closes #8248 : User bookmarks ( #13035 )
...
* Initial work on #8248
* 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
jeremystretch
5e1bb20f32
Display login message as success
2023-02-07 16:49:07 -05:00
jeremystretch
064e3ff605
Merge branch 'develop' into feature
2022-12-13 17:17:05 -05:00
jeremystretch
860805ba82
Closes #10255 : Introduce LOGOUT_REDIRECT_URL config parameter to control redirection of user after logout
2022-12-09 17:08:07 -05:00
jeremystretch
c3dcd8937f
Merge branch 'develop' into feature
2022-11-22 10:08:23 -05:00
Arthur Hanson
de9646d096
10653 log failed login attempts on INFO ( #10843 )
...
* 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
jeremystretch
96818cacf0
#10608 : Use register_model_view() for token views
2022-11-16 08:11:42 -05:00
Arthur Hanson
816fedb78d
8853 Prevent the retrieval of API tokens after creation ( #10645 )
...
* 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
jeremystretch
e05696dfcc
Fixes #10337 : Display SSO links when local authentication fails
2022-09-15 13:17:04 -04:00
Arthur
2a7bad326d
#9962 add next param to sso url
2022-08-26 12:55:35 -07:00
Arthur Hanson
a9ddd41729
Fix SSO signon for SAML with idp ( #10137 )
...
* #10135 add idp to saml login
* #10135 add idp to saml login
* #10135 add idp to saml login
* #10135 refactor / cleanup
2022-08-25 14:48:46 -04:00
jeremystretch
1b88b36820
Merge branch 'develop' into feature
2022-08-08 15:39:03 -04:00
jeremystretch
caca074161
Fixes #9950 : Prevent redirection to arbitrary URLs via 'next' parameter on login URL
2022-08-08 14:21:42 -04:00
jeremystretch
abf11fbcb8
Merge branch 'develop' into feature
2022-07-20 12:20:33 -04:00
jeremystretch
fe2fae5b86
Closes #9741 : Check for UserConfig instance during user login
2022-07-15 09:42:12 -04:00
jeremystretch
123e758c6d
Closes #9708 : Render user API tokens in a table
2022-07-11 15:43:59 -04:00
jeremystretch
d6df6b444f
Closes #9123 : Improve appearance of SSO login providers
2022-04-14 10:54:07 -04:00
jeremystretch
0bf1789464
Fix template context for API token views
2022-02-11 12:28:49 -05:00
jeremystretch
630ff2abb4
Remove dependency on is_safe_url()
2022-02-03 12:58:54 -05:00
jeremystretch
70f257b1ea
Introduce UserConfigForm for managing user preferences
2021-12-21 16:29:01 -05:00
jeremystretch
cd08836f3e
Refresh user profile view; add recent activity
2021-12-08 16:32:31 -05:00
jeremystretch
339776c139
Initial work on SSO support (WIP)
2021-10-29 17:06:14 -04:00
jeremystretch
fbf91dda7d
Optimize config queries
2021-10-26 13:41:56 -04:00
jeremystretch
94804fecd8
Add MAINTENANCE_MODE, MAPS_URL
2021-10-26 10:57:33 -04:00
jeremystretch
d11ea67bdd
Update design of user profile section
2021-08-24 15:24:03 -04:00
Daniel Sheppard
744792452f
Closes : #5278 - Remove Secrets ( #6397 )
...
* Remove Secrets
* #5278 : 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
checktheroads
8b2f4780ed
fix type error
2021-04-26 00:32:26 -07:00
checktheroads
2b159fc40f
implement dark mode
2021-04-25 20:11:46 -07:00
Jeremy Stretch
6ec8ac7597
Fixes #6073 : Permit users to manage their own REST API tokens without needing explicit permission
2021-03-31 13:25:06 -04:00
Jeremy Stretch
e5caea04c1
Update UserKey views to use "object" context var
2020-11-19 13:43:17 -05:00
Jeremy Stretch
a3675854be
Clean up generic view templates
2020-11-11 16:58:29 -05:00
Jeremy Stretch
08c492f1f4
Merge develop into develop-2.10
2020-09-04 16:09:05 -04:00
Jeremy Stretch
328d639886
Merge branch 'develop' into develop-2.9
2020-06-17 16:57:17 -04:00
Jeremy Stretch
e23a5ad141
Fixes #4766 : Fix redirect after login when next is not specified
2020-06-17 09:15:03 -04:00
Jeremy Stretch
3502398d1d
Remove delete_token permission from TokenDeleteView
2020-06-02 15:36:31 -04:00
Jeremy Stretch
587339bea0
Add page for user to view/clear preferences
2020-04-24 10:29:06 -04:00
Jeremy Stretch
c983dac771
Add logging output to login/logout views
2020-03-02 17:04:54 -05:00
hSaria
3b76e0203a
Fixes 3749 attribute error
2019-12-11 07:03:39 +00:00
Jeremy Stretch
b1761f7856
#3139 : Add a message indicating why the user is redirected
2019-11-06 10:01:42 -05:00
Sander Steffann
7f779e3942
Hide password change page when user is logged in using LDAP
2019-11-03 16:05:53 +03:00
Jeremy Stretch
37c2c4b4a2
Merge v2.5.11
2019-04-29 14:40:18 -04:00
Jeremy Stretch
3562b5552b
Fixes #3118 : Disable last_login update on login when maintenance mode is enabled
2019-04-29 11:04:32 -04:00