jeremystretch
48dc76a694
Closes #8685 : Add modules, module types to global search
2022-03-21 16:27:38 -04:00
jeremystretch
3dc671395e
Introduce local ChoiceField and MultipleChoiceField classes
2022-03-21 15:08:05 -04:00
jeremystretch
ba1e6e91b9
Rename ObjectEditView.model_form to form
2022-03-21 10:22:30 -04:00
kkthxbye
22980cea7b
Speed up rendering of the script list
2022-03-21 10:46:51 +01:00
jeremystretch
15005209d1
Merge branch 'develop' into feature
2022-03-18 13:34:31 -04:00
PieterL75
0da04232f3
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
8d53b46e82
Merge branch 'develop' into feature
2022-03-18 13:17:11 -04:00
Jeremy Stretch
52de50aa64
Merge pull request #8873 from minitriga/issue_8457
...
Closes : #8457 - Nonracked Devices Location/Site
2022-03-18 11:32:24 -04:00
Jeremy Stretch
1541060091
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
50bc0caccf
Fix issues with ordering and add field_groups
2022-03-18 14:58:51 +00:00
minitriga
8f5b14ec84
Update netbox/dcim/forms/filtersets.py
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 14:39:37 +00:00
minitriga
da37db1ea9
Update netbox/circuits/filtersets.py
...
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 14:39:22 +00:00
Alex Gittings
5abde866f1
Closes : #8457 - implement nonracked devices on locations and sites
2022-03-18 14:34:42 +00:00
Jeremy Stretch
32eed72d2b
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
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
Alex Gittings
9548cf32ff
add new line
2022-03-15 00:05:10 +00:00
Alex Gittings
bdbfff911b
add new line
2022-03-15 00:04:22 +00:00
Alex Gittings
a143eca57d
Closes : #8575 Implement rack_a and rack_b for cable table
2022-03-15 00:02:16 +00:00
jeremystretch
2101f714cc
Closes #8848 : Show module bay & type in API serilizer display
2022-03-14 14:06:14 -04:00
Alex Gittings
3edff89a4d
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
f2079de2cb
Fixes #8838 : Fix FieldError exception during global search
2022-03-14 13:55:35 -04:00
jeremystretch
93527d892b
Fixes #8845 : Correct default ASN formatting in table
2022-03-14 13:49:54 -04:00
jeremystretch
b91218308b
Fixes #8869 : Fix NoReverseMatch exception when displaying tag w/assignments
2022-03-14 13:47:41 -04:00
jeremystretch
6170138124
Rename ActionsColumn sequence to actions
2022-03-14 13:45:21 -04: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
jeremystretch
245cff887c
Move q filter to NetBoxModelFilterSet
2022-03-11 16:16:58 -05:00
jeremystretch
59aba52b03
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
2022-03-11 15:59:03 -05:00
jeremystretch
49e5268d48
Fitlerset class declration on ObjectListField should be optional
2022-03-11 15:46:16 -05:00
jeremystretch
76445bd19c
Move bulk edit/delete buttons to template tags
2022-03-10 16:27:53 -05:00
jeremystretch
5a3e99626d
Simplify add/import/export button invocation
2022-03-10 15:56:09 -05:00
jeremystretch
ffc29d14a8
Add tags field to NetBoxModelForm
2022-03-10 15:08:23 -05:00
jeremystretch
7cffa6ebcc
Release v3.2.0-beta2
2022-03-09 12:56:20 -05:00
Alex Gittings
342f1d31be
fix pycodestyle issues
2022-03-09 17:55:45 +00:00
Alex Gittings
b779bbfc9d
add contacts to site table
2022-03-09 17:49:02 +00:00
Alex Gittings
ef6576bdd6
merge develop into issue
2022-03-09 17:47:58 +00:00
Alex Gittings
27dab262de
add columns for each model table that has contacts
2022-03-09 17:35:25 +00:00
Alex Gittings
412c1df15a
acidentally removed NestedContactAssignmentSerializer in previous commit
2022-03-09 16:48:29 +00:00
Alex Gittings
73af3ba095
remove contacts from api endpoints
2022-03-09 16:45:19 +00:00
jeremystretch
bbdeae0ed9
Move CustomFieldModelViewSet functionality into NetBoxModelViewSet
2022-03-09 11:44:55 -05:00
jeremystretch
efd5a73a18
Refactor API views
2022-03-09 11:27:42 -05:00
jeremystretch
a11abf87ec
Refactor API serializers
2022-03-09 10:59:22 -05:00
thatmattlove
8cd24b1a67
Fixes #8820 : correct navbar color in dark mode
2022-03-08 14:28:52 -07:00
jeremystretch
28f7b411ed
Revise plugins documentation
2022-03-08 15:44:35 -05:00
jeremystretch
655bc49fad
Clean up form select widgets
2022-03-07 15:11:57 -05:00
jeremystretch
18c9ee2f9d
Closes #8804 : Include module type count on manufacturer view
2022-03-07 13:44:27 -05:00
jeremystretch
07f2cdac58
Fixes #8810 : Enable filtering modules by type
2022-03-07 13:40:49 -05:00
jeremystretch
06781beb81
Fixes #8815 : Fix display of custom object fields in table columns
2022-03-07 13:30:52 -05:00
jeremystretch
cd29293dd6
Merge v3.1.9
2022-03-07 10:55:30 -05:00
jeremystretch
c515218760
PRVB
2022-03-07 10:07:07 -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
jeremystretch
a740203444
Fixes #8792 : Fix creation of circuit terminations via UI
2022-03-03 16:42:48 -05:00
jeremystretch
25dc9cc14a
Fixes #7891 : Fix display of form validation failures during device component creation
2022-03-03 16:18:24 -05:00
jeremystretch
d4d2af46ac
Refactor tables modules
2022-03-03 15:16:23 -05:00
jeremystretch
64acfc3187
#8787 : Fix toggling of PK table column
2022-03-03 14:09:32 -05:00
jeremystretch
62a1d4b3e0
Fixes #8763 : Fix inventory item component assignment
2022-03-03 11:52:36 -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
21e3159711
Hide table checkboxes when no bulk actions are enabled
2022-03-02 16:13:59 -05:00
jeremystretch
5f8af6ad66
Closes #8779 : Enable the use of ChoiceSet by plugins
2022-03-02 11:43:28 -05: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
Peter Eckel
4dc428d75b
Closes #8764 : Correct the endpoint for plugin API view names
2022-03-01 13:11:49 +01:00
jeremystretch
e7496c8840
Use get_viewname() to resolve view name under ObjectDeleteView
2022-02-28 15:20:41 -05:00
jeremystretch
d6c272cfd6
Fixes #8764 : Correct view name resolution for dynamic form fields
2022-02-28 15:17:49 -05:00
jeremystretch
da6ed8ea11
Fixes #8761 : Correct view name resolution under journal entry views
2022-02-28 12:10:22 -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
7823fa05ef
Fix changelog table column ordering
2022-02-25 14:19:50 -05:00
jeremystretch
fab4d95156
Merge branch 'develop' into feature
2022-02-25 14:06:45 -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
Djothi Carpentier
06eacb5a5c
Add description filter to WirelessLAN & WirelessLink
2022-02-25 18:15:33 +01:00
Djothi Carpentier
c0152ce52f
Add description filter to VMInterface
2022-02-25 18:15:33 +01:00
Djothi Carpentier
5a60224d77
Add description filter for Token & ObjectPermission
2022-02-25 18:15:33 +01:00
Djothi Carpentier
c137fa2022
Add description filter for Tenant & ContactRole
2022-02-25 18:15:33 +01:00
Djothi Carpentier
879d01a750
Add description filter for VRF, RouteTarget, Aggregate, ASN, Role, Prefix, IPRange, VLAN & Service
2022-02-25 18:15:33 +01:00
Djothi Carpentier
6db878743c
Add description filter for CustomField, ExportTemplate & Tag
2022-02-25 18:15:33 +01:00
Djothi Carpentier
08b90090f5
Add description filter for Site, RackRole, RackReservation & DeviceRole
2022-02-25 18:15:33 +01:00
Djothi Carpentier
42466d5fc4
Add description filter for ProviderNetwork, CircuitType, Circuit & CircuitTermination
2022-02-25 18:15:22 +01:00
jeremystretch
0953bba0a3
Closes #8747 : Rename ObjectListView action_buttons to actions
2022-02-24 16:33:51 -05:00
Alex Gittings
36d6dd1ca9
Fixes #8645 ; Allow filtering on core models in the UI and API for contact assignments
2022-02-24 17:08:38 +00:00
Alex Gittings
4863591bc8
Fixes #8629 ; Add description to tag table search function
2022-02-24 10:02:21 +00:00
Emerson Pereira
c489501441
Add {% block pluginfooter %} to 'base/layout.html' template
...
Makes it easy to insert footer information into Netbox footer.
2022-02-24 00:38:11 -03:00
jeremystretch
a2fe23549b
Closes #8667 : Support position patterning when creating module bays & templates
2022-02-23 13:02:14 -05:00
Stephan Blanke
1a7438acfd
Fixed code comments
2022-02-22 23:32:34 +01:00
Stephan Blanke
b1de85a44f
Fixes #8710 : Show/hide form elements based on scope selection
2022-02-22 23:27:11 +01:00
jeremystretch
6604ebfd01
Fix tag background color
2022-02-22 13:10:04 -05:00
jeremystretch
7872460162
Fixes #8682 : Limit available VLANs by group min/max VIDs
2022-02-22 11:39:05 -05:00