Commit Graph

9146 Commits

Author SHA1 Message Date
kkthxbye
ba1d177541 Speed up rendering of the script list 2022-03-21 10:46:51 +01:00
jeremystretch
a18ecfbb08 Changelog for #8813 2022-03-18 13:25:47 -04:00
PieterL75
9bcc2399c4 Fixes #8813 Retain search value after submitting (#8907)
* Fixes #8813 Retain search value after submitting

* remove autofocus from searchbar

Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com>
2022-03-18 13:23:39 -04:00
jeremystretch
1ebe3b6ffe Install tblib to fix tracebacks during parallel test runs 2022-03-18 11:47:43 -04:00
jeremystretch
93350b9326 Changelog for #8457, #8575, #8645 2022-03-18 11:46:49 -04:00
Jeremy Stretch
c9812fa9bc Merge pull request #8873 from minitriga/issue_8457
Closes: #8457 - Nonracked  Devices Location/Site
2022-03-18 11:32:24 -04:00
Jeremy Stretch
3401760df4 Merge pull request #8742 from minitriga/issue_8645
Allow filtering on Core models for Contacts
2022-03-18 11:24:09 -04:00
Alex Gittings
7b2ee7744e Fix issues with ordering and add field_groups 2022-03-18 14:58:51 +00:00
minitriga
156badbb54 Update netbox/dcim/forms/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 14:39:37 +00:00
minitriga
af6182ce14 Update netbox/circuits/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 14:39:22 +00:00
Alex Gittings
7945d82bb1 Closes: #8457 - implement nonracked devices on locations and sites 2022-03-18 14:34:42 +00:00
Jeremy Stretch
615d8cc58e Merge pull request #8874 from minitriga/issue_8575
Closes: #8575 - Show Racks on Cable Table and Cable Page
2022-03-18 10:14:40 -04:00
jeremystretch
8f8f401431 Changelog for #8553 2022-03-17 17:06:21 -04:00
Jeremy Stretch
b2de38672b 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
a50fe64ddb 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
07ef06be0a 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
Alex Gittings
39e8b38a1a add new line 2022-03-15 00:05:10 +00:00
Alex Gittings
2f02cc1474 add new line 2022-03-15 00:04:22 +00:00
Alex Gittings
97097d5424 Closes: #8575 Implement rack_a and rack_b for cable table 2022-03-15 00:02:16 +00:00
Alex Gittings
51a8be8639 Fixes: #8866 - Does not perform API Select Search if a django peramiter has not been replaced 2022-03-14 17:57:33 +00:00
jeremystretch
7a74319d2e Fixes #8844: Correct VLAN ID max value 2022-03-14 09:57:51 -04:00
jeremystretch
54a98c5062 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
e487c32d85 Adjust font size for serial number under device status view 2022-03-14 09:46:40 -04:00
Alex Gittings
3abcf47b62 fix pycodestyle issues 2022-03-09 17:55:45 +00:00
Alex Gittings
da990d5db7 add contacts to site table 2022-03-09 17:49:02 +00:00
Alex Gittings
42819d0a7d merge develop into issue 2022-03-09 17:47:58 +00:00
Alex Gittings
7b102f199b add columns for each model table that has contacts 2022-03-09 17:35:25 +00:00
Alex Gittings
d080f80e29 acidentally removed NestedContactAssignmentSerializer in previous commit 2022-03-09 16:48:29 +00:00
Alex Gittings
fd1430b2d8 remove contacts from api endpoints 2022-03-09 16:45:19 +00:00
Alex Gittings
7e5e7dd4a7 Merge branch 'issue_8645' of https://github.com/minitriga/netbox into issue_8645 2022-03-09 16:36:16 +00:00
Alex Gittings
2f787cb3eb Fixes #8645; Allow filtering on core models in the UI 2022-03-09 16:35:47 +00:00
thatmattlove
4dcd94157e Fixes #8820: correct navbar color in dark mode 2022-03-08 14:28:52 -07:00
jeremystretch
dcd61001a7 Merge branch 'master' into develop 2022-03-07 10:49:06 -05:00
Jeremy Stretch
c7caf6949c Merge pull request #8818 from netbox-community/fix-tzdata
Add tzdata dependency
2022-03-07 10:48:12 -05:00
jeremystretch
843a8616da Add tzdata dependency 2022-03-07 10:38:05 -05:00
jeremystretch
4fbf72263f PRVB 2022-03-07 10:07:07 -05:00
Jeremy Stretch
28de19ff28 Merge pull request #8814 from netbox-community/develop
Release v3.1.9
2022-03-07 09:59:16 -05:00
jeremystretch
c79129edac Release v3.1.9 2022-03-07 09:47:31 -05:00
Jeremy Stretch
576e4fc5cf 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
5d611e34ef Fixes #8807: Correct REST API URL for FHRP group assignments 2022-03-07 09:02:47 -05:00
jeremystretch
d489531c67 Fixes #8808: Fix members count under FHRP group list 2022-03-07 09:00:00 -05:00
jeremystretch
e0f8e587a9 Clean up search results layout 2022-03-07 08:50:58 -05:00
Jeremy Stretch
c46d0d5d6b 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
2c657af4b1 Fixes #8724: Fix exception during device import with invalid device type 2022-03-04 13:45:59 -05:00
jeremystretch
34274ba413 Closes #8758: Allow empty string substitution when renaming objects in bulk 2022-03-04 13:30:32 -05:00
jeremystretch
50be59f05a Closes #8664: Show assigned ASNs/sites under list views 2022-03-04 13:20:17 -05:00
seros1521
e7bd99028e 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
299b3d99b4 Merge pull request #8771 from jasonyates/8770-documentation
Updating mkdocs to automatically adjust theme
2022-03-02 08:38:04 -05:00
Jason Yates
9c96654008 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
824c0ac344 Closes #8736: Add PC and UPC fiber end faces for LC/SC/LSH port types 2022-03-01 11:43:00 -05:00