Commit Graph

70 Commits

Author SHA1 Message Date
jeremystretch
6c0535e77c Fixes #7070: Fix exception when filtering by prefix max length in UI 2021-08-30 16:51:07 -04:00
Matt Love
eae01a7ddf Improve APISelect query parameter handling (#7040)
* Fixes #7035: Refactor APISelect query_param logic

* Add filter_fields to extras.ObjectVar & fix default value handling

* Update ObjectVar docs to reflect new filter_fields attribute

* Revert changes from 89b7f3f

* Maintain current `query_params` API for form fields, transform data structure in widget

* Revert changes from d0208d4
2021-08-30 09:43:32 -04:00
jeremystretch
fca7c6b326 Merge branch 'develop' into feature 2021-08-10 21:03:10 -04:00
jeremystretch
4afcef2c59 Closes #6931: Include applied filters on object list view 2021-08-10 13:11:35 -04:00
jeremystretch
f34638dc32 Fixes #6908: Allow assignment of scope to VLAN groups upon import 2021-08-09 09:54:27 -04:00
jeremystretch
982862a95e Merge branch 'develop' into feature 2021-08-06 10:06:52 -04:00
jeremystretch
d21340b98c Fixes #6892: Fix validation of unit ranges when creating a rack reservation 2021-08-05 11:12:08 -04:00
checktheroads
03ec8ee2e6 Fix PEP8 formatting error 2021-08-02 02:31:30 -07:00
checktheroads
b4c03189c0 Deprecate collapsible advanced search and re-implement field-based filtering on object views 2021-08-01 21:24:22 -07:00
jeremystretch
061f0d9a2e Merge v2.11.10 2021-07-28 16:26:04 -04:00
jeremystretch
5fc52fbd4d Changelog and cleanup for #6560 2021-07-28 11:44:13 -04:00
checktheroads
f89c65a880 #6372: Refactor Select2 naming 2021-07-19 16:39:16 -07:00
jeremystretch
a117307d03 Add UI views for custom fields 2021-06-23 17:10:04 -04:00
Alyssa Bigley
e34e92b7b9 moved duplicated code in CSV Fields into functions in forms/utils.py 2021-06-14 14:07:37 -04:00
Alyssa Bigley
2b95b626e5 changed name of csv_file variable and started work on ValidationError 2021-06-10 14:41:33 -04:00
jeremystretch
1fd53531d6 Introduce ColorField for consistent represention of color choice fields in forms 2021-06-09 17:17:39 -04:00
Alyssa Bigley
24bd8549dc removed unnecessary use of seek() 2021-06-07 14:29:38 -04:00
Alyssa Bigley
bc70b23279 edited docstring for CSVFileField 2021-06-07 14:06:32 -04:00
Alyssa Bigley
12c71257f2 CSV import implemented using CSVFileField 2021-06-07 14:06:32 -04:00
jeremystretch
01ceb35626 Merge branch 'develop' into feature 2021-06-02 20:35:38 -04:00
jeremystretch
5c96e4e915 Replace references to v2.12 with v3.0 2021-05-25 15:05:02 -04:00
checktheroads
a9f54d3a02 #6372: Fix native select styling 2021-05-25 08:26:36 -07:00
checktheroads
0372438a24 Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
# Conflicts:
#	netbox/project-static/js/forms.js
#	netbox/templates/dcim/location.html
#	netbox/templates/generic/object_list.html
2021-04-22 19:19:03 -07:00
jeremystretch
a60ec1c230 Closes #5994: Drop support for display_field argument on ObjectVar 2021-04-21 10:29:25 -04:00
checktheroads
8e4bd8e29c add bootstrap mixin subclass to bulk rename form so classes are properly assigned 2021-04-18 11:36:12 -07:00
checktheroads
2940fae645 fix table config modal styles 2021-04-14 17:05:10 -07:00
checktheroads
ccc44abb79 Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
# Conflicts:
#	netbox/dcim/tables/template_code.py
#	netbox/netbox/views/__init__.py
#	netbox/project-static/css/base.css
#	netbox/templates/base.html
#	netbox/templates/circuits/circuit.html
#	netbox/templates/circuits/circuittermination_edit.html
#	netbox/templates/circuits/inc/circuit_termination.html
#	netbox/templates/circuits/provider.html
#	netbox/templates/dcim/device.html
#	netbox/templates/dcim/device/base.html
#	netbox/templates/dcim/device_component.html
#	netbox/templates/dcim/devicetype.html
#	netbox/templates/dcim/inc/device_napalm_tabs.html
#	netbox/templates/dcim/rack.html
#	netbox/templates/dcim/site.html
#	netbox/templates/dcim/virtualchassis.html
#	netbox/templates/extras/configcontext.html
#	netbox/templates/extras/object_journal.html
#	netbox/templates/extras/tag.html
#	netbox/templates/generic/object.html
#	netbox/templates/generic/object_list.html
#	netbox/templates/home.html
#	netbox/templates/inc/nav_menu.html
#	netbox/templates/ipam/aggregate.html
#	netbox/templates/ipam/ipaddress.html
#	netbox/templates/ipam/prefix.html
#	netbox/templates/ipam/vlan.html
#	netbox/templates/ipam/vlangroup_edit.html
#	netbox/templates/ipam/vlangroup_vlans.html
#	netbox/templates/secrets/secret.html
#	netbox/templates/tenancy/tenant.html
#	netbox/templates/users/api_tokens.html
#	netbox/templates/virtualization/cluster.html
#	netbox/templates/virtualization/vminterface_edit.html
#	netbox/utilities/forms/fields.py
#	netbox/utilities/templates/buttons/export.html
2021-04-14 11:30:15 -07:00
jeremystretch
ac92666e5e Closes #6088: Improved table configuration form 2021-04-12 10:46:32 -04:00
jeremystretch
34e911995d Fixes #6130: Improve display of assigned models in custom fields list 2021-04-09 09:43:35 -04:00
jeremystretch
83ebb47334 Catch AttributeError when generating ContentType labels 2021-04-05 15:11:29 -04:00
Jeremy Stretch
36d84c5cd5 Use ContentTypeChoiceField for all ContentType fields 2021-04-02 10:55:16 -04:00
Jeremy Stretch
6681b27f9e Introduce ContentTypeChoiceField 2021-04-02 10:54:13 -04:00
Jeremy Stretch
7e20beae7e Remove brief_mode parameter from DynamicModelChoiceMixin 2021-03-30 21:34:50 -04:00
Jeremy Stretch
fa78fe7ca8 Merge branch 'develop' into feature 2021-03-25 16:09:28 -04:00
checktheroads
ebfd82f24b style textareas supporting markdown with monospace font 2021-03-17 23:30:39 -07:00
checktheroads
fe89b575fa Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
# Conflicts:
#	netbox/dcim/tables/template_code.py
#	netbox/netbox/forms.py
#	netbox/templates/dcim/cable_connect.html
#	netbox/templates/dcim/consoleport.html
#	netbox/templates/dcim/consoleserverport.html
#	netbox/templates/dcim/device.html
#	netbox/templates/dcim/device/base.html
#	netbox/templates/dcim/device_edit.html
#	netbox/templates/dcim/interface.html
#	netbox/templates/dcim/rack.html
#	netbox/templates/dcim/rack_edit.html
#	netbox/templates/dcim/site.html
#	netbox/templates/extras/configcontext.html
#	netbox/templates/extras/objectchange.html
#	netbox/templates/generic/object.html
#	netbox/templates/inc/nav_menu.html
#	netbox/templates/ipam/ipaddress_edit.html
#	netbox/templates/ipam/vrf.html
#	netbox/utilities/templates/buttons/export.html
2021-03-17 22:02:43 -07:00
Jeremy Stretch
7a212fbf8b Closes #5990: Deprecated display_field parameter for custom script ObjectVar and MultiObjectVar fields 2021-03-16 11:08:34 -04:00
Jeremy Stretch
3b66a55da9 Drop usage of display_field on DynamicModelChoiceFields 2021-03-16 10:29:15 -04:00
checktheroads
c4b3eb1acc update templates & rendering for bootstrap 5 2021-03-13 02:27:32 -07:00
Abraham Vegh
89bff2d4c9 Skip the cheatsheet link when tabbing 2021-03-11 22:40:03 -05:00
Jeremy Stretch
8749ed06e2 Closes #5375: Add 'speed' attribute to console port models 2021-03-03 10:20:08 -05:00
Jeremy Stretch
2075dc6768 Introduce SelectSpeedWidget 2021-02-25 11:47:26 -05:00
Daniel Sheppard
e306e8b9c5 Fixes: #5315 - Make "null_option" on DynamicModelChoiceField also null the value on the model. (#5704)
Fixes: #5315 - Fix site unassignment from VLAN when using "None" option
2021-02-12 10:53:40 -06:00
Jeremy Stretch
1228fd4aee Fixes #5718: Fix bulk editing of services when no port(s) are defined 2021-02-04 13:01:55 -05:00
Jeremy Stretch
5e643def2c Closes #5531: Ensure consistent calls to parent clean() methods for models, forms 2020-12-28 12:54:42 -05:00
Jeremy Stretch
bdc3566997 Closes #5399: Show options for cable endpoint types during bulk import 2020-12-02 10:08:41 -05:00
Jeremy Stretch
92de4b5bb7 #5306: Introduce CSVContentTypeField for cable termination types 2020-12-01 11:03:05 -05:00
Jeremy Stretch
c16a1791ae Replace Font Awesome icons with Material Design 2020-11-06 14:33:20 -05:00
Jeremy Stretch
5e9ff3a409 Merge branch 'develop' into develop-2.10 2020-11-05 15:33:07 -05:00
Jeremy Stretch
85d16cf0a6 Add initial_params to all forms 2020-11-04 11:09:13 -05:00