Daniel Sheppard
d3364ef4d1
#6732 - Restore resolve_field to the filterset
2021-10-29 14:15:37 -05:00
Rhys Barrie
24d6941cc4
netbox-community/netbox#7668 : Add 'View Elevations' button to location detail page
2021-10-29 14:07:02 -04:00
jeremystretch
4099dd3a05
Closes #6615 : Add filter lookups for custom fields
2021-10-29 11:23:56 -04:00
Jeremy Stretch
f420435b82
Merge pull request #7678 from netbox-community/6615-custom-field-filters
...
Closes #6615 : Enable filter lookups for custom fields
2021-10-29 11:21:45 -04:00
jeremystretch
696fe7bc0d
Add tests for custom field lookups
2021-10-29 09:45:48 -04:00
Daniel Sheppard
7c147db324
#6732 - Fix test exception in Site form
2021-10-28 16:08:32 -05:00
jeremystretch
32205045ba
Use multi-value filters for custom fields
2021-10-28 16:40:51 -04:00
jeremystretch
1ce9192369
Move MACAddressField to utilities
2021-10-28 16:26:31 -04:00
Daniel Sheppard
0a62f75a40
#6529 - Add CLI to run scripts
2021-10-28 15:14:42 -05:00
jeremystretch
2e0f15b35f
Automatically add additional lookup filters for custom fields
2021-10-28 16:09:36 -04:00
jeremystretch
7c60089692
Ditch CustomFieldFilter
2021-10-28 15:36:12 -04:00
Daniel Sheppard
0a8788eb97
#6732 - Fix Site form and ASN form
2021-10-28 13:57:36 -05:00
Daniel Sheppard
9565addcd4
#6732 - Fix test failure when sending data
2021-10-28 13:12:55 -05:00
jeremystretch
6377d475fc
Refactor generation of additional lookup filters
2021-10-28 14:00:07 -04:00
Daniel Sheppard
fff124ebb1
#6732 - Update migration file
2021-10-28 12:06:41 -05:00
Daniel Sheppard
033db83068
Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model
2021-10-28 11:55:20 -05:00
Daniel Sheppard
de5c9ef4b2
#6732 - Add graphql support for new ASN model and fix ASN overflow on longs
2021-10-28 11:49:59 -05:00
Daniel Sheppard
3c261b05d9
#6732 - Fix ASN tests
2021-10-28 11:49:21 -05:00
Daniel Sheppard
ada81e31c9
#6732 - Fix CSV import form
2021-10-28 11:48:50 -05:00
Daniel Sheppard
0f68ecda78
#6732 - Fix hiding of ASN field in Site creation form
2021-10-28 11:47:54 -05:00
Daniel Sheppard
1902e112f6
#6732 - Fix tests for utilities
2021-10-28 11:46:55 -05:00
Daniel Sheppard
96565c31d9
#6732 - ASN should be unique
2021-10-28 10:04:12 -05:00
jeremystretch
aa9e68e121
Tweak preformatted block styling
2021-10-28 10:46:00 -04:00
jeremystretch
15e011ae52
Closes #7452 : Add JSON custom field type
2021-10-28 10:29:14 -04:00
jeremystretch
a173083e5b
Closes #7606 : Model transmit power for interfaces
2021-10-28 09:31:45 -04:00
jeremystretch
33c0c8cf6a
Extend dynamic config tests
2021-10-28 09:06:07 -04:00
Daniel Sheppard
9b5f45aee1
#6732 - Serializers
2021-10-27 23:07:04 -05:00
Daniel Sheppard
93de6c9f88
#6732 - Tests
2021-10-27 23:06:37 -05:00
Daniel Sheppard
0ad440fea5
#6732 - GraphQL support
2021-10-27 23:06:09 -05:00
Daniel Sheppard
8235b339ee
#6732 - Revert some changes to legacy ASN field on site model
...
* Re-instates ASN field on Site model
* Re-instates ASN field on Site view
* Re-instates ASN field on edit form and API, except for where forms instances are new (add site) or instance does not have any existing AS data
* Does not re-instate asn field on SiteBulkEditForm
* Does not re-instate ASN field on SiteTable
* Does not re-instate filter for filterset, but does allow filtering by query (q=34342)
* Does not include tests for ASN field on Site model due to planned deprecation
2021-10-27 22:25:31 -05:00
Daniel Sheppard
3185cd0b1f
#6732 - Correct incorrect field definition in field order
2021-10-27 21:31:59 -05:00
Jeremy Stretch
3a85edba3d
Merge pull request #7648 from netbox-community/5883-dyanmic-config
...
Closes #5883 : Enable dynamic configuration of some settings
2021-10-27 16:48:59 -04:00
jeremystretch
a573a35349
Use a key prefix for cache values when running tests
2021-10-27 16:33:59 -04:00
jeremystretch
d67d3f8d6d
Add initial tests for dynamic config
2021-10-27 15:58:54 -04:00
jeremystretch
1e317f82f5
Move config parameter value population to ConfigRevisionForm init
2021-10-27 15:55:51 -04:00
jeremystretch
acdebea7f1
Improve visibility of modified values
2021-10-27 15:44:42 -04:00
thatmattlove
a090955918
Fixes #7599 : Improve color mode handling
2021-10-27 11:34:21 -07:00
jeremystretch
70f71e0f57
Extend admin UI to allow restoring previous config revisions
2021-10-27 14:05:49 -04:00
jeremystretch
dfdeac4968
Fixes #7647 : Require interface assignment when designating IP address as primary for device/VM during CSV import
2021-10-27 10:20:17 -04:00
jeremystretch
e84f2e3ad2
Fixes #7601 : Correct devices count for locations within global search results
2021-10-27 10:10:14 -04:00
jeremystretch
98ca4f5b5a
Fixes #7643 : Fix circuit assignment when creating multiple terminations simultaneously
2021-10-27 10:02:36 -04:00
jeremystretch
87779b7b88
Fixes #7644 : Prevent inadvertent deletion of prior change records when deleting objects ( #7333 revisited)
2021-10-27 09:44:15 -04:00
jeremystretch
b56cae24c5
Fixes #7628 : Fix load_yaml method for custom scripts
2021-10-27 09:04:18 -04:00
jeremystretch
d48a68317d
Fixes #7612 : Strip HTML from custom field descriptions
2021-10-27 08:41:28 -04:00
jeremystretch
77bd26d17f
Work around unapplied migrations when bootstrapping config
2021-10-26 17:28:39 -04:00
jeremystretch
4cdc2601f5
Add descriptions to all config parameters
2021-10-26 16:54:12 -04:00
jeremystretch
ff5c274048
Ensure bootstrapping of config on start
2021-10-26 16:45:53 -04:00
jeremystretch
561e06e7f0
Indicate when dynamic parameters are defined statically
2021-10-26 15:50:33 -04:00
jeremystretch
626a446c3d
Docs & changelog for #5883
2021-10-26 15:40:34 -04:00
jeremystretch
26d2da7b98
Initialize Config with empty dict
2021-10-26 14:18:18 -04:00