Daniel Sheppard
a02d50c461
#6732 - Fix test exception in Site form
2021-10-28 16:08:32 -05:00
jeremystretch
441afb8911
Use multi-value filters for custom fields
2021-10-28 16:40:51 -04:00
jeremystretch
b46f146a32
Move MACAddressField to utilities
2021-10-28 16:26:31 -04:00
Daniel Sheppard
fa474e8f43
#6529 - Add CLI to run scripts
2021-10-28 15:14:42 -05:00
jeremystretch
526e18b5f6
Automatically add additional lookup filters for custom fields
2021-10-28 16:09:36 -04:00
jeremystretch
4503af1911
Ditch CustomFieldFilter
2021-10-28 15:36:12 -04:00
Daniel Sheppard
8ef57e4ab2
#6732 - Fix Site form and ASN form
2021-10-28 13:57:36 -05:00
Daniel Sheppard
22e16cce66
#6732 - Fix test failure when sending data
2021-10-28 13:12:55 -05:00
jeremystretch
c07bc39619
Refactor generation of additional lookup filters
2021-10-28 14:00:07 -04:00
Daniel Sheppard
a33244e76b
#6732 - Update migration file
2021-10-28 12:06:41 -05:00
Daniel Sheppard
dac86e6aec
Merge branch 'feature' of https://github.com/netbox-community/netbox into 6732-asn-model
2021-10-28 11:55:20 -05:00
Daniel Sheppard
17eddbbb42
#6732 - Add graphql support for new ASN model and fix ASN overflow on longs
2021-10-28 11:49:59 -05:00
Daniel Sheppard
2c58c10e2f
#6732 - Fix ASN tests
2021-10-28 11:49:21 -05:00
Daniel Sheppard
308116cb95
#6732 - Fix CSV import form
2021-10-28 11:48:50 -05:00
Daniel Sheppard
c51cbc53eb
#6732 - Fix hiding of ASN field in Site creation form
2021-10-28 11:47:54 -05:00
Daniel Sheppard
d6b682b1e9
#6732 - Fix tests for utilities
2021-10-28 11:46:55 -05:00
Daniel Sheppard
f0a0ec7c08
#6732 - ASN should be unique
2021-10-28 10:04:12 -05:00
jeremystretch
b2ba4a6006
Tweak preformatted block styling
2021-10-28 10:46:00 -04:00
jeremystretch
076366108d
Closes #7452 : Add JSON custom field type
2021-10-28 10:29:14 -04:00
jeremystretch
7cb44d60da
Closes #7606 : Model transmit power for interfaces
2021-10-28 09:31:45 -04:00
jeremystretch
88d2dccee1
Extend dynamic config tests
2021-10-28 09:06:07 -04:00
Daniel Sheppard
d2bd335a73
#6732 - Serializers
2021-10-27 23:07:04 -05:00
Daniel Sheppard
a9a7033762
#6732 - Tests
2021-10-27 23:06:37 -05:00
Daniel Sheppard
9078e37de0
#6732 - GraphQL support
2021-10-27 23:06:09 -05:00
Daniel Sheppard
0a76078d4b
#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
7df5144e5c
#6732 - Correct incorrect field definition in field order
2021-10-27 21:31:59 -05:00
Jeremy Stretch
e40d8fa3f6
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
d4053cd789
Use a key prefix for cache values when running tests
2021-10-27 16:33:59 -04:00
jeremystretch
b5d67cbefb
Add initial tests for dynamic config
2021-10-27 15:58:54 -04:00
jeremystretch
6f60ca4d0b
Move config parameter value population to ConfigRevisionForm init
2021-10-27 15:55:51 -04:00
jeremystretch
30bf745496
Improve visibility of modified values
2021-10-27 15:44:42 -04:00
thatmattlove
d1c26ea464
Fixes #7599 : Improve color mode handling
2021-10-27 11:34:21 -07:00
jeremystretch
62a5f2ffbd
Extend admin UI to allow restoring previous config revisions
2021-10-27 14:05:49 -04:00
jeremystretch
05f9e468db
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
e7fcf9962f
Fixes #7601 : Correct devices count for locations within global search results
2021-10-27 10:10:14 -04:00
jeremystretch
7a7c9827ea
Fixes #7643 : Fix circuit assignment when creating multiple terminations simultaneously
2021-10-27 10:02:36 -04:00
jeremystretch
9d5b3bb75e
Fixes #7644 : Prevent inadvertent deletion of prior change records when deleting objects ( #7333 revisited)
2021-10-27 09:44:15 -04:00
jeremystretch
ee25975c39
Fixes #7628 : Fix load_yaml method for custom scripts
2021-10-27 09:04:18 -04:00
jeremystretch
30a0f72da2
Fixes #7612 : Strip HTML from custom field descriptions
2021-10-27 08:41:28 -04:00
jeremystretch
8ae0db2960
Work around unapplied migrations when bootstrapping config
2021-10-26 17:28:39 -04:00
jeremystretch
1391c3e3ca
Add descriptions to all config parameters
2021-10-26 16:54:12 -04:00
jeremystretch
b79be9712a
Ensure bootstrapping of config on start
2021-10-26 16:45:53 -04:00
jeremystretch
bac868a541
Indicate when dynamic parameters are defined statically
2021-10-26 15:50:33 -04:00
jeremystretch
9e12155143
Docs & changelog for #5883
2021-10-26 15:40:34 -04:00
jeremystretch
894141250f
Initialize Config with empty dict
2021-10-26 14:18:18 -04:00
jeremystretch
d5230115c6
Clean up boolean fields
2021-10-26 14:08:03 -04:00
jeremystretch
e3520f909d
Optimize config queries
2021-10-26 13:41:56 -04:00
jeremystretch
9851bc661c
Add NAPALM config parameters
2021-10-26 11:53:46 -04:00
jeremystretch
89d2c86fd8
Add PAGINATE_COUNT, MAX_PAGE_SIZE
2021-10-26 11:43:06 -04:00
jeremystretch
e9ac5af231
Add MAINTENANCE_MODE, MAPS_URL
2021-10-26 10:57:33 -04:00