Jeremy Stretch
a9bb4c5c3e
Move choice sets from utilities.choices to netbox.choices
2024-03-22 08:59:52 -04:00
Abhimanyu Saharan
b7cfb2f7d9
Adds csv dialect detection to bulk import view ( #13563 )
...
* adds csv dialect detection to bulk import view #13239
* adds sane delimiters for dialect detection #13239
* adds csv delimiter tests #13239
* adds csv delimiter on the form
* pass delimiter to clean_csv method #13239
* fix tests for csv import #13239
* fix tests for csv import #13239
* fix tests for csv import #13239
* fix tests for csv import #13239
* Improve auto-detection of import data format
* Misc cleanup
* Include tab as a supported delimiting character for auto-detection
* Move delimiting chars to a separate constant for easy reference
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-09-12 16:48:40 -04:00
Arthur Hanson
e625a5667c
Closes #13279 : Wrap choice labels with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 17:31:07 -04:00
jeremystretch
1446b07f8c
Closes #11780 : Enable loading import data from remote sources
2023-03-14 14:53:26 -04:00
jeremystretch
80ced6b782
Closes #11163 : Auto-detect data format during bulk import
2022-12-14 10:09:59 -05:00
jeremystretch
47dfb89c52
Relocate ImportFormatChoices
2022-12-14 09:30:10 -05:00
jeremystretch
830b56ac9e
Check that ChoiceSet CHOICES is mutable if key is set
2022-04-05 08:40:30 -04:00
jeremystretch
5f8af6ad66
Closes #8779 : Enable the use of ChoiceSet by plugins
2022-03-02 11:43:28 -05:00
jeremystretch
ac1c0b0715
#8054 : Allow replacing default static choices
2022-02-03 13:52:42 -05:00
jeremystretch
9f53497e39
Clean up & expand button color choices
2021-12-29 20:28:12 -05:00
jeremystretch
d8be8e25a5
ChoiceSet cleanup
2021-12-16 10:31:32 -05:00
jeremystretch
1902ecb8ca
Drop as_dict() method from ChoiceSet
2021-12-16 10:22:05 -05:00
jeremystretch
124302908a
Support nested choice groups
2021-12-16 10:19:16 -05:00
jeremystretch
0d3b50a5e5
Support CSS class definition directly in CHOICES iterable
2021-12-16 10:03:23 -05:00
jeremystretch
419f86a4a5
#8054 : Support configurable status choices
2021-12-16 09:36:15 -05:00
jeremystretch
5b4dacf0f5
Merge branch 'develop' into feature
2021-05-25 13:19:17 -04:00
jeremystretch
138231059b
Closes #6400 : Add cyan color choice for plugin buttons
2021-05-14 09:13:36 -04:00
checktheroads
58841e85db
update css classes for bootstrap 5 colors
2021-03-17 23:31:15 -07:00
checktheroads
9b89afd6dc
begin bootstrap 5 migration, update templates
2021-03-13 02:19:42 -07:00
Jeremy Stretch
19d0d6ff10
Closes #4857 : Drop support for legacy numeric choice field values
2020-07-15 16:54:33 -04:00
Jeremy Stretch
92f49b4711
Closes #4672 : Set default color for rack and devices roles
2020-05-26 09:36:27 -04:00
Jeremy Stretch
81c9177c09
Add a default button color
2020-03-26 11:26:11 -04:00
John Anderson
981c982237
added support for plugin nav bar links
2020-03-17 02:35:12 -04:00
Jeremy Stretch
fe402331f2
Handle grouped choices when returning ChoiceSet values
2020-01-23 16:16:52 -05:00
Jeremy Stretch
826f4d313d
Move unpack_grouped_choices() to utilities.choices
2020-01-15 09:36:39 -05:00
Jeremy Stretch
857e04e90b
Add _choices endpoint tests for all apps
2020-01-14 16:13:11 -05:00
Jeremy Stretch
fe490d144a
Fixes #3868 : Fix creation of interfaces for virtual machines
2020-01-09 14:54:25 -05:00
Jeremy Stretch
e09ad6915f
Circuit.status ( #3569 )
2019-11-07 11:11:10 -05:00
Jeremy Stretch
a2a6b754be
Introduce ChoiceSet class for field choices
2019-11-07 10:33:10 -05:00