jeremystretch
61fe0e81cd
Fixes #6773 : Add missing display field to rack unit serializer
2021-07-20 17:00:13 -04:00
Tobias Genannt
b814123ede
Only check REMOTE_AUTH_BACKEND in API token auth
2021-07-09 08:14:45 +02:00
Tobias Genannt
a3d40e3521
Load LDAP groups for API token authenticated users
...
When users are authenticated with an API token not all permissions where
assigned to the session because the LDAP group memberships where not
available.
Now the information is loaded from the directory if the user is found.
If not the local group memberships are used.
2021-07-09 08:14:45 +02:00
Tobias Genannt
4abfa6231c
Fixed bug for users authenticated with API token
...
This prevents a crash when the current user has authenticated himself
with an API token. In this case the user will not have the permissions
given to his LDAP groups.
2021-07-09 08:14:45 +02:00
Tobias Genannt
5bf4234ad3
Fix error when running scripts
...
This fixes the error Can't pickle local object 'LDAPBackend.__new__.<locals>.NBLDAPBackend'
2021-07-09 08:14:45 +02:00
Tobias Genannt
7640740113
Use method from parent class
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2021-07-09 08:14:45 +02:00
Tobias Genannt
82300990ec
Fixes #5442 : Use LDAP groups to find permissions
...
When AUTH_LDAP_FIND_GROUP_PERMS is set to true the filter to find the
users permissions is extended to search for all permissions assigned to
groups in which the LDAP user is.
2021-07-09 08:14:45 +02:00
jeremystretch
ec5ed17860
PRVB
2021-07-08 09:21:35 -04:00
jeremystretch
e8e3e9b0be
Release v2.11.9
2021-07-08 09:01:40 -04:00
jeremystretch
28ca815c88
Fixes #6456 : API schema type should be boolean for _occupied on cable termination models
2021-07-08 08:41:59 -04:00
jeremystretch
54dfa6cb7f
Fixes #6714 : Fix rendering of device type component creation forms
2021-07-07 15:38:59 -04:00
jeremystretch
7c667f3485
Fixes #6710 : Fix assignment of VM interface parent via REST API
2021-07-07 11:55:20 -04:00
jeremystretch
c585175214
PRVB
2021-07-06 11:35:03 -04:00
jeremystretch
9c1de27562
Release v2.11.8
2021-07-06 11:10:02 -04:00
jeremystretch
fc15ef6967
Changelog & cleanup for #5503
2021-07-06 10:43:08 -04:00
Jeremy Stretch
eaf0259c3d
Merge pull request #5764 from ypid/feature/5503-ui-iso-date-with-tooltip
...
Closes #5503 : ISO 8601 date in UI and alternative format as tooltip
2021-07-06 10:35:21 -04:00
jeremystretch
fe2ce03ac1
Closes #6200 : Add rack reservations to global search
2021-07-06 10:17:16 -04:00
jeremystretch
70585ff32e
Fixes #6695 : Fix exception when importing device type with invalid front port definition
2021-07-05 09:30:52 -04:00
Robin Schneider
a479c867c4
Do not use annotated_date on custom date fields to avoid date parsing
...
@jeremystretch:
> It'd be better to have the custom field return a date object than to
> accommodate string values in the template filter. Let's just omit custom
> field dates for now to keep this from getting any more complex.
2021-07-02 22:30:11 +02:00
Robin Schneider
74f1b51b38
Use annotated_date also for updated datetimes
...
This changes the text from: Updated 5 months, 1 week ago
to: Updated 2021-01-24 00:33 (5 months, 1 week ago)
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2021-07-02 22:22:38 +02:00
Robin Schneider
0ad9b83623
Closes #5503 : ISO 8601 date in UI and alternative format as tooltip
...
With this commit all dates in the UI are now consistently displayed.
I changed the long date format as suggested by @xkilian and confirmed by my own
research.
* DATETIME_FORMAT
* Before July 20, 2020 4:52 p.m.
* Now 20th July, 2020 16:52
"20th July, 2020" would be spoken as "the 20th of July, 2020" but the "the" and
"of" are never written.
The only exception is `object_list.html`. I tried it but there it does not
work so easily because the dates are passed to Jinja as SafeString.
2021-07-02 22:22:37 +02:00
jeremystretch
631d991d8d
Closes #6368 : Enable virtual chassis assignment during bulk import of devices
2021-07-01 15:49:05 -04:00
jeremystretch
1be4a57bd4
Closes #6345 : Introduce PermissionsViolation exception for use in generic views
2021-07-01 15:33:39 -04:00
jeremystretch
76a6119584
Closes #6138 : Add an 'empty' filter modifier for character fields
2021-07-01 15:17:46 -04:00
jeremystretch
add95292ce
Fixes #6680 : Allow setting custom field values for VM interfaces on intial creation
2021-07-01 10:48:24 -04:00
jeremystretch
18a9e39be6
Closes #6667 : Display VM memory as GB/TB as appropriate
2021-06-29 14:00:16 -04:00
jeremystretch
18934bcc69
Closes #6666 : Show management-only status under interface detail view
2021-06-29 13:47:44 -04:00
jeremystretch
98ff00bc62
Fixes #6676 : Fix device/VM counts per cluster under cluster type/group views
2021-06-29 13:44:46 -04:00
jeremystretch
4292d88a92
Closes #6620 : Show assigned VMs count under device role view
2021-06-22 14:21:41 -04:00
jeremystretch
a8af24d7ca
Fixes #6637 : Fix group assignment in 'available VLANs' link under VLAN group view
2021-06-22 14:16:16 -04:00
jeremystretch
efa0fc2b09
Fixes #6640 : Disallow numeric values in custom text fields
2021-06-22 14:00:54 -04:00
jeremystretch
ebb2918a88
Fixes #6652 : Fix exception when adding components in bulk to multiple devices
2021-06-22 13:54:03 -04:00
jeremystretch
607039f043
Cleanup for #5139
2021-06-21 08:46:20 -04:00
jeremystretch
fb379b63ec
Fixes #6626 : Fix site field on VM search form; add site group
2021-06-21 08:38:46 -04:00
jeremystretch
697161beb1
PRVB
2021-06-16 16:21:19 -04:00
jeremystretch
2bf20fa501
Release NetBox v2.11.7
2021-06-16 15:59:46 -04:00
jeremystretch
685e0ce00d
Closes #6588 : Add support for webp files as front/rear device type images
2021-06-16 14:01:30 -04:00
jeremystretch
6a6b0236a9
Closes #6589 : Standardize breadcrumb navigation for power panels and feeds
2021-06-16 13:50:35 -04:00
jeremystretch
857c70ece9
Closes #6564 : Add N connector type for pass-through ports
2021-06-16 13:43:38 -04:00
jeremystretch
f56a470cc7
Fixes #6602 : Fix deletion of devices with cables attached
2021-06-14 16:38:19 -04:00
jeremystretch
7e481960f9
Optimize MPTTColumn rendering
2021-06-14 09:19:05 -04:00
jeremystretch
809d9e4697
Fixes #6584 : Fix ordering of nested inventory items
2021-06-10 14:27:42 -04:00
Jeremy Stretch
6195fc0d11
Merge pull request #6552 from drmsoffall/6493-diff-legacy-changes
...
Show change log diff for non-atomic changes
2021-06-08 15:24:22 -04:00
Jeremy Stretch
6523334a48
Merge pull request #6545 from crafty-ua/Add_ipv4_32_and_ipv6_128_prefix_support_#6455
...
Add ipv4 /32 and ipv6 /128 prefix support #6455
2021-06-08 15:12:25 -04:00
jeremystretch
b3cde51590
Fixes #6562 : Disable ordering of secrets by assigned object
2021-06-08 14:18:24 -04:00
jeremystretch
6ec296f2a7
Fixes #6563 : Fix filtering by location for cable connection forms
2021-06-08 14:15:06 -04:00
jeremystretch
cb4392628f
Fixes #6553 : ProviderNetwork search should match on name
2021-06-08 14:06:17 -04:00
drmsoffall
a224e5d470
Closes #6493 : show ObjectChange diff for non-atomic changes
2021-06-05 19:15:25 +00:00
jeremystretch
7444110c79
PRVB
2021-06-04 11:15:12 -04:00
jeremystretch
4273b6e4fb
Release v2.11.6
2021-06-04 10:59:36 -04:00