jeremystretch
5e1bb20f32
Display login message as success
2023-02-07 16:49:07 -05:00
jeremystretch
6f74c5ec03
Fixes #11528 : Show edit/delete buttons in user tokens table
2023-01-25 10:09:37 -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
d4a231585a
Clean up tests
2022-11-17 10:50:05 -05:00
jeremystretch
96818cacf0
#10608 : Use register_model_view() for token views
2022-11-16 08:11:42 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -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
Arthur Hanson
cc00789d35
9669 sanitize social auth usernames ( #10549 )
2022-10-05 11:50:47 -04:00
jeremystretch
e05696dfcc
Fixes #10337 : Display SSO links when local authentication fails
2022-09-15 13:17:04 -04:00
Andreas Nieß
b11fa53519
Closes #10231 : Add missing serializer annotations
2022-09-01 17:18:09 +02: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
bfbf97aec9
Closes #10031 : Enforce 'application/json' content type for REST API requests
2022-08-24 15:49:36 -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
876251c1cf
Fixes #9948 : Fix TypeError exception when requesting API tokens list as non-authenticated user
2022-08-08 12:22:01 -04:00
jeremystretch
36ac83a319
Fixes #9949 : Fix KeyError exception resulting from invalid API token provisioning request
2022-08-08 11:43:27 -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
3eb6b6c07f
Clean up core API imports
2022-07-13 16:18:55 -04:00
jeremystretch
1ddb219a0c
Documentation cleanup
2022-07-11 17:29:25 -04:00
jeremystretch
123e758c6d
Closes #9708 : Render user API tokens in a table
2022-07-11 15:43:59 -04:00
jeremystretch
12c138b341
Closes #9074 : Enable referencing the current user when evaluating permission constraints
2022-07-01 13:34:10 -04:00
jeremystretch
dc05e62ce0
Documentation & clenaup for #9536
2022-06-23 12:15:02 -04:00
Jeremy Stretch
cfb9605e9b
Merge branch 'feature' into issue_9536
2022-06-23 10:35:27 -04:00
jeremystretch
d4db656940
Allowed IPs should be optional on Token
2022-06-23 08:09:39 -04:00
jeremystretch
3c15419bd0
Introduce IPNetworkSerializer to serialize allowed token IPs
2022-06-22 21:51:43 -04:00
jeremystretch
a38a880e67
Refactor source IP resolution logic
2022-06-22 17:01:07 -04:00
PieterL75
536239d272
Merge branch 'feature' into issue_8233
2022-06-17 16:31:13 +02:00
Pieter Lambrecht
c04b4bbbfa
Add last_used to Token model and update when used
2022-06-17 14:45:56 +02:00
jeremystretch
da1aabdfc1
Changelog for #8894 , #8998 , #9122 ; PEP8 fix
2022-05-04 14:19:09 -04:00
Jeremy Stretch
52b18393eb
Merge pull request #9150 from minitriga/issue_8894
...
Closes #8894 : Add first and last name username user api select
2022-05-04 14:09:38 -04:00
Alex Gittings
0a9ba3b2e6
add get_display to users serializer
2022-05-03 10:45:08 +00:00
minitriga
535606a185
Update netbox/users/api/nested_serializers.py
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-05-03 09:01:06 +01:00
minitriga
25c266e4de
Update netbox/users/api/nested_serializers.py
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-05-03 09:00:52 +01:00
Pieter Lambrecht
2587720298
Fix 8878: Restrict API key usage by Source IP
2022-04-19 14:44:35 +02:00
jeremystretch
1636508a6a
Fixes #9156 : Fix loading UserConfig data from fixtures
2022-04-18 08:36:41 -04:00
Alex Gittings
bc2491e6b7
Closes #8894 : Add first and last name to APISelect widget if set
2022-04-15 21:50:24 +00:00
jeremystretch
d6df6b444f
Closes #9123 : Improve appearance of SSO login providers
2022-04-14 10:54:07 -04:00
jeremystretch
c1b7f09530
Ensure legacy data checks run before other migrations
2022-04-05 15:56:21 -04:00
jeremystretch
59aba52b03
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
2022-03-11 15:59:03 -05:00
jeremystretch
efd5a73a18
Refactor API views
2022-03-09 11:27:42 -05:00
jeremystretch
e6072a51f8
Closes #8765 : Display and enable bulk clearing of user's table preferences
2022-03-03 10:03:43 -05:00
jeremystretch
fab4d95156
Merge branch 'develop' into feature
2022-02-25 14:06:45 -05:00
Djothi Carpentier
5a60224d77
Add description filter for Token & ObjectPermission
2022-02-25 18:15:33 +01:00
jeremystretch
0bf1789464
Fix template context for API token views
2022-02-11 12:28:49 -05:00
jeremystretch
23a80770e1
Move configure_table() logic to NetBoxTable.configure()
2022-02-09 14:10:54 -05:00