Pieter Lambrecht
84d163117c
Raise 400 validation error on bad clientip
2022-03-21 11:47:31 +01:00
Pieter Lambrecht
3be0fc4c36
Correct "'return' outside function"
2022-03-18 16:00:39 +01:00
PieterL75
d1de741695
Optimize return values
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 15:52:26 +01:00
PieterL75
77c3d67c47
Optimize returning allowed_ips or 'Any'
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 15:49:45 +01:00
PieterL75
b1e0f2d5fa
Beautify comments
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 15:48:10 +01:00
Pieter Lambrecht
7d2ea49c01
Fix authentication() returning None value
2022-03-18 10:37:28 +01:00
Pieter Lambrecht
14fbebfc24
Merge branch 'develop' of https://github.com/PieterL75/netbox into develop
2022-03-18 09:49:12 +01:00
Pieter Lambrecht
03f31ba50f
Remove betteradminarrat from requirements.txt
2022-03-18 09:48:45 +01:00
PieterL75
9681f3b9ba
Merge branch 'develop' into develop
2022-03-18 09:47:09 +01:00
Pieter Lambrecht
d3774801c4
Remove betteradminfield
...
Move IP verification to authenticate()
2022-03-18 09:42:33 +01:00
PieterL75
a4cd082c39
rename ipnet var to ip_networks
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 08:58:52 +01:00
jeremystretch
585b5a221d
Changelog for #8553
2022-03-17 17:06:21 -04:00
Jeremy Stretch
db52fe475a
Merge pull request #8573 from 991jo/asn_search_fix
...
Fixes 8553: Fix contacts and ASNs missing in the search dropdown and …
2022-03-17 16:43:30 -04:00
Jeremy Stretch
c5db99f383
Merge pull request #8887 from sc68cal/sc68cal-patch-1
...
Update GitHub link for Netaddr
2022-03-16 20:18:47 -04:00
Sean M. Collins
fd6d3205d0
Update GitHub link for Netaddr
...
The project was renamed/moved to a new location in GitHub and we should update the link
in case the redirect stops functioning
2022-03-16 11:45:14 -04:00
Pieter Lambrecht
de417a0296
Add 'Any' display to admin form
2022-03-15 16:15:44 +01:00
Pieter Lambrecht
fa15c879ff
#8233 Restrict API key usage by source IP
2022-03-15 14:24:55 +01:00
Pieter Lambrecht
522cceae73
base_requirements - django_better_admin_arrayfield
2022-03-15 13:48:18 +01:00
jeremystretch
1add5accf2
Fixes #8844 : Correct VLAN ID max value
2022-03-14 09:57:51 -04:00
jeremystretch
faba6c9bdc
Fixes #8850 : Show airflow field on device REST API serializer when config context data is included
2022-03-14 09:54:11 -04:00
jeremystretch
4eb7cd06b4
Adjust font size for serial number under device status view
2022-03-14 09:46:40 -04:00
thatmattlove
8cd24b1a67
Fixes #8820 : correct navbar color in dark mode
2022-03-08 14:28:52 -07:00
jeremystretch
1fdc7a9163
Merge branch 'master' into develop
2022-03-07 10:49:06 -05:00
Jeremy Stretch
6807db4967
Merge pull request #8818 from netbox-community/fix-tzdata
...
Add tzdata dependency
2022-03-07 10:48:12 -05:00
jeremystretch
b0ea416d6d
Add tzdata dependency
2022-03-07 10:38:05 -05:00
jeremystretch
c515218760
PRVB
2022-03-07 10:07:07 -05:00
Jeremy Stretch
8053ea0a22
Merge pull request #8814 from netbox-community/develop
...
Release v3.1.9
2022-03-07 09:59:16 -05:00
jeremystretch
a5603c9953
Release v3.1.9
2022-03-07 09:47:31 -05:00
Jeremy Stretch
bffe63a233
Merge pull request #8793 from seros1521/fix_8715
...
Fixes #8715 : eliminates duplicates when used in many-to-many field constraints
2022-03-07 09:27:14 -05:00
jeremystretch
2cfbfe473e
Fixes #8807 : Correct REST API URL for FHRP group assignments
2022-03-07 09:02:47 -05:00
jeremystretch
3c78c100b5
Fixes #8808 : Fix members count under FHRP group list
2022-03-07 09:00:00 -05:00
jeremystretch
2451b0a5b1
Clean up search results layout
2022-03-07 08:50:58 -05:00
Jeremy Stretch
85e9438ff7
Merge pull request #8734 from emersonfelipesp/add_pluginfooter_block
...
Closes #8733 : Add {% block pluginfooter %} to 'base/layout.html' template
2022-03-04 16:07:54 -05:00
jeremystretch
81610ba86e
Fixes #8724 : Fix exception during device import with invalid device type
2022-03-04 13:45:59 -05:00
jeremystretch
6423b386d2
Closes #8758 : Allow empty string substitution when renaming objects in bulk
2022-03-04 13:30:32 -05:00
jeremystretch
5c48d116eb
Closes #8664 : Show assigned ASNs/sites under list views
2022-03-04 13:20:17 -05:00
seros1521
90257e9dee
Fixes #8715 : eliminates duplicates when used in many-to-many field constraints
...
When using permissions that use tags, a user may receive multiple permissions
of the same type if multiple tags are assigned to the device. This causes the
RestrictedQuerySet class to generate a query similar to this:
>>> dcim.models.Device.objects.filter(Q(tags__name='tag1')|Q(tags__name='tag2'))
<ConfigContextModelQuerySet [<Device: device1>, <Device: device1>]>
This query returns the same object twice if both tags are assigned to it. This
is due to the use of the django-taggit library. The library's documentation
describes this behavior as expected and suggests using an explicit distinct()
call in queries to avoid duplicates.
However, the use of DISTINCT in queries has a global side effect -
deduplication of responses, which may or may not be acceptable behavior
(depending on further use). Since it is not known how RestrictedQuerySet will
be used in the rest of the code, it was decided to dedupe using a subquery.
2022-03-04 14:37:05 +07:00
Jeremy Stretch
3436905744
Merge pull request #8771 from jasonyates/8770-documentation
...
Updating mkdocs to automatically adjust theme
2022-03-02 08:38:04 -05:00
Jason Yates
e3258bcf5a
Updating mkdocs to automatically adjust theme
...
Automatically adjusts documentation theme between default/slate based on users preference for dark mode.
2022-03-02 08:45:22 +00:00
jeremystretch
2b6e0405a5
Closes #8736 : Add PC and UPC fiber end faces for LC/SC/LSH port types
2022-03-01 11:43:00 -05:00
jeremystretch
7f752d9102
Closes #8762 : Link to rack elevations list from site view
2022-03-01 11:32:17 -05:00
jeremystretch
df430394b0
Closes #8766 : Add SCTP to service protocols list
2022-03-01 11:07:19 -05:00
jeremystretch
1ab51ca04e
Announce 2022 community survey
2022-03-01 09:29:58 -05:00
jeremystretch
cb0386779c
Announce 2022 community survey
2022-03-01 09:17:24 -05:00
Emerson Pereira
28de330b50
Replace 'pluginfooter' block with 'footer' and 'footer_links' blocks
...
- 'footer' blocks represents the <footer> html tag
- 'footer_links' are the anchor tags inside nav
2022-02-26 01:13:11 -03:00
jeremystretch
06cb7f35f1
Update changelog
2022-02-25 13:26:02 -05:00
thatmattlove
796c5d785e
Fix navbar-toggler-icon visibility in dark mode
2022-02-25 11:23:14 -07:00
thatmattlove
c88db77814
Fixes #8633 : Recheck sidenav state on window resize
...
* Recheck sidenav state on window resize
* Remove `data-sidenav-pinned` attribute when hiding sidenav
* Remove `data-sidenav-hidden` attribute when showing sidenav
2022-02-25 11:23:14 -07:00
Jeremy Stretch
6fe0f4cd7d
Merge pull request #8741 from djothi/develop
...
Closes #8594 : Add description filter for all models with a description field
2022-02-25 13:18:40 -05:00
Jeremy Stretch
3bf90c3c38
Merge pull request #8735 from minitriga/issue_8629
...
Add description to tag table search function
2022-02-25 13:13:14 -05:00