Commit Graph

203 Commits

Author SHA1 Message Date
Jeremy Stretch
f3367c98c0 Override get_bound_field() on FilterChoiceFieldMixin to restrict the queryset of bound fields 2020-02-07 18:04:40 -05:00
Jeremy Stretch
12eea1e097 Simplify help_text for ExpandableNameField 2020-02-06 11:44:29 -05:00
Jeremy Stretch
d087c0e13b Remove obsolete ComponentForm 2020-02-06 11:36:25 -05:00
Jeremy Stretch
4ee713c54f Move component bulk creation views to new URLs 2020-02-05 12:36:38 -05:00
Jeremy Stretch
0987680d0c Adapt BulkEditView to not require a parent object for device components 2020-02-04 18:08:40 -05:00
Saria Hajjar
8a8a8dbc3c Avoid overriding private attribute in super 2020-01-30 17:49:42 +00:00
Saria Hajjar
79c943c5ea Merge branch 'develop' into 2921-tags-select2 2020-01-16 15:33:42 +00:00
Saria Hajjar
bf3ca9cc48 Merge branch 'develop' into 3840-limit-vlan-choices 2020-01-16 15:09:39 +00:00
Jeremy Stretch
f7bdd7529d Move unpack_grouped_choices() to utilities.choices 2020-01-15 09:36:39 -05:00
Saria Hajjar
7ed023a8fb Fixes #3840: Only show valid interface VLAN choices 2020-01-15 12:23:34 +00:00
Saria Hajjar
8541d6a031 Fetch choices during form initialization 2020-01-14 08:22:27 +00:00
Saria Hajjar
7f2a810621 Tag filter field for filter forms 2020-01-13 20:16:13 +00:00
Jeremy Stretch
abc10ed488 Merge branch 'develop' into develop-2.7 2020-01-10 13:33:51 -05:00
Saria Hajjar
d751c853b8 Added example and handled invalid ranges gracefully 2020-01-08 17:28:31 +00:00
Saria Hajjar
b514d7c087 Fixes #3623: Word expansion for interfaces 2020-01-08 17:23:09 +00:00
Jeremy Stretch
ab7bb5c374 Merge branch 'develop' into develop-2.7 2020-01-02 17:21:15 -05:00
Saria Hajjar
cc9aa2083f Comment clarification 2020-01-01 16:04:08 +00:00
Saria Hajjar
12b93de987 Fixes #3812: Only preload selected options for API-based select 2020-01-01 15:54:00 +00:00
Jeremy Stretch
8e0055ca7e Fixes #3106: Restrict queryset of chained fields when form validation fails 2019-12-31 12:41:02 -05:00
Saria Hajjar
aa75fd0614 Add datetime widgets 2019-12-28 22:55:00 +00:00
Jeremy Stretch
1ffc40e8f0 CSVChoiceField should default to a blank string instead of None 2019-12-11 17:04:48 -05:00
Jeremy Stretch
b4acade70d Miscellaneous cleanup 2019-10-04 12:59:10 -04:00
Jeremy Stretch
7ac8f223ea Fix YAMLLoadWarning 2019-10-01 16:39:11 -04:00
Jeremy Stretch
02ecb22c24 Adopted a different approach to importing related objects 2019-09-27 16:51:12 -04:00
Jeremy Stretch
980972c942 Capture MultiObjectField default form field values 2019-09-25 16:19:22 -04:00
Jeremy Stretch
b0a6b3c848 Force validation of individual objects within a MultiObjectField 2019-09-24 16:51:59 -04:00
Jeremy Stretch
45bed25234 Move JSON/YAML data valdiation to ImportForm 2019-09-24 16:13:52 -04:00
Jeremy Stretch
a8a2a786a1 Extend DeviceType import to include related objects 2019-09-20 14:02:14 -04:00
Jeremy Stretch
7f641c77f5 Fixes #3514: Label TextVar fields when rendering custom script forms 2019-09-18 15:39:26 -04:00
Jeremy Stretch
04ecd5e147 Initial work on JSON/YAML-based DeviceType import 2019-09-13 16:18:29 -04:00
Daniel Sheppard
5965a42979 Add in in-line vlan editing and Bulk vlan editing (#3350)
* Fixes #3341 - Added in-line vlan editing
* Fixes #2160 - Added bulk vlan editing

Inconsequential behaviour changes:

* APISelect can now take "full=True" to return a non-brief set
* Select2 will no group by "group & site, group, site, global" if full=True is set in APISelect
2019-09-06 12:45:37 -05:00
John Anderson
9f361a875a removed deprecated code 2019-01-10 21:23:22 -05:00
John Anderson
abea43805f IPAM Select2 forms and changelog 2019-01-10 21:19:13 -05:00
John Anderson
62602d68c0 Virtulization Select2 forms 2019-01-10 17:32:23 -05:00
John Anderson
658faf1621 DCIM filter forms select2 2019-01-08 15:35:34 -08:00
John Anderson
687f76bc8d implemented #2590 - improved color picker with actual colors 2019-01-05 17:43:42 -05:00
John Anderson
75c9a8f7c7 select2 for all create/edit forms in dcim 2019-01-04 14:41:36 -05:00
John Anderson
2fe031557e Merge branch 'develop' of github.com:digitalocean/netbox into select2-ui 2019-01-04 12:44:41 -05:00
John Anderson
dacc16174d fixed whitespace 2019-01-04 12:44:31 -05:00
John Anderson
b1ef6aa194 initial static select2 fields 2019-01-03 23:02:05 -05:00
Jeremy Stretch
30343cfffc Closes #1871: Enable filtering sites by parent region 2019-01-03 16:59:49 -05:00
John Anderson
8ef5fb703a updated filter-for attr handling 2019-01-03 03:00:27 -05:00
John Anderson
6b3d1ece84 initial select2 support 2018-12-30 02:35:18 -05:00
Jeremy Stretch
47ea8df446 Fixes #2622: Enable filtering cables by multiple types/colors 2018-11-28 14:22:55 -05:00
Jeremy Stretch
6b1abd6a65 Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
John Anderson
b1aa52305b cleanup component filters and UI filter forms for device and device type - #2583 2018-11-15 00:42:01 -05:00
John Anderson
39ff4b40ac added logic to append &type=physical to interface API query for cable creation - #2585 2018-11-14 23:35:15 -05:00
Jeremy Stretch
40bafea2a5 Removed deprecated expand_numeric_pattern() 2018-11-06 15:39:38 -05:00
Jeremy Stretch
f6d4ea00df Cleaned up import statements 2018-11-02 15:20:08 -04:00
Jeremy Stretch
73a3366469 Removed Python2 hack 2018-11-02 14:59:48 -04:00
Jeremy Stretch
e847f830dc Fixed cable type filtering 2018-11-01 10:18:37 -04:00
Jeremy Stretch
b1e5909cb5 Add blank choice to ColorSelect widget 2018-11-01 10:14:47 -04:00
Jeremy Stretch
50dcb1404f Finished CableCSVForm 2018-11-01 09:59:53 -04:00
Jeremy Stretch
cc01f3cbd3 WIP: Initial work on the cable connection form 2018-10-22 16:58:24 -04:00
Jeremy Stretch
455fcf16eb Merge branch 'develop-2.5' into 20-physical-cabling 2018-10-19 13:34:21 -04:00
Jeremy Stretch
26ebed03d0 Merge release v2.4.6 2018-10-10 09:36:51 -04:00
Jeremy Stretch
1dd2dae9c5 Fixes #2393: Fix Unicode support for CSV import under Python 2 2018-10-05 15:33:29 -04:00
Jeremy Stretch
bd72c26a57 Initial work on #20 - patch panels 2018-10-03 14:04:16 -04:00
Jeremy Stretch
66db32fefd Merged release v2.4.5 2018-10-03 11:23:21 -04:00
Jeremy Stretch
e35bb17253 Closes #2402: Order and format JSON data in form fields 2018-09-13 11:31:34 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
2f0e7e04c7 Misc cleanup 2018-07-30 14:00:37 -04:00
Jeremy Stretch
ff6e84ae0e Misc cleanup for config contexts 2018-07-10 16:16:23 -04:00
Jeremy Stretch
4d92ffd153 Merge branch 'develop' into develop-2.4 2018-07-02 17:01:14 -04:00
Anaël Beutot
992dacbb72 Fix pycodestyle errors
Mainly two kind of errors:
* pokemon exceptions
* invalid escape sequences
2018-06-27 17:24:33 +02:00
Jeremy Stretch
6316a9b8bd Merge branch 'develop' into develop-2.4 2018-04-19 11:24:11 -04:00
Nicholas St. Germain
f8427fea91 stop force value split w ArrayFieldSelectMultiple 2018-04-18 14:02:40 -05:00
Jeremy Stretch
4ac941b0b6 Closes #1842: Implement support for Django 2.0 2018-03-30 10:39:22 -04:00
Jeremy Stretch
342c6a9866 Merge pull request #1643 from RyanBreaker/wildcard
Implements #1586, add additional variants for ExpandableNameFields
2018-03-22 11:40:54 -04:00
Jeremy Stretch
3f8cabdb58 Closes #1866: Introduced AnnotatedMultipleChoiceField for filter forms 2018-03-07 14:16:38 -05:00
Jeremy Stretch
5d2b2efc05 Fixes #1926: Prevent reassignment of parent device when bulk editing VC member interfaces 2018-03-01 13:10:36 -05:00
Jeremy Stretch
7c30bdf4ff Fixes #1884: Provide additional context to identify devices when creating/editing avirtual chassis 2018-02-14 11:14:04 -05:00
Jeremy Stretch
9f07379800 Fixes #1859: Implemented support for line breaks within CSV fields 2018-02-02 13:32:16 -05:00
Jeremy Stretch
d63c9965b4 Fixes #1765: Improved rendering of null options for model choice fields in filter forms 2017-12-26 12:08:22 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Ryan Breaker
64f49773ba Fix bug with numbers >10 2017-10-31 22:03:57 -05:00
Ryan Breaker
3c91ded4c0 E226 fix 2017-10-24 20:43:02 -05:00
Ryan Breaker
490ad293f9 Refactor pattern check 2017-10-24 20:22:15 -05:00
Ryan Breaker
a6211acca0 Update comment 2017-10-24 20:03:10 -05:00
Ryan Breaker
c2493a8112 Update help text for ExpandableNameField (again) 2017-10-24 19:59:37 -05:00
Ryan Breaker
c1aff87229 Update help text for ExpandableNameField 2017-10-24 19:55:50 -05:00
Ryan Breaker
2c9f29c20d Prevent mismatch of cases in ranges 2017-10-24 19:46:12 -05:00
Ryan Breaker
c6ff74ad42 Prevent mismatch of types in ranges 2017-10-24 19:30:43 -05:00
Ryan Breaker
122b28a6e3 Merge letters and numbers into one function 2017-10-24 17:55:00 -05:00
Ryan Breaker
1415671396 Add alphabetic variants to interface expansions 2017-10-24 00:09:38 -05:00
Jeremy Stretch
1c10b15c94 Merge branch 'develop' into virtualization 2017-08-31 10:14:50 -04:00
Jeremy Stretch
35833cfb56 Closes #1460: Hostnames with no domain are now acceptable in custom URL fields 2017-08-30 14:08:39 -04:00
Jeremy Stretch
6813721997 Added views to add/remove hosts to/from clusters 2017-08-21 16:53:36 -04:00
Jeremy Stretch
ed08825dd8 Moved DeviceComponentForm to utilities.forms 2017-08-18 13:10:19 -04:00
Jeremy Stretch
87509e709c Fixes #1419: Allow editing image attachments without re-uploading an image 2017-08-11 10:47:06 -04:00
Jeremy Stretch
7dc93af5ac Closes #1320: Remove checkbox from confirmation dialog 2017-07-12 14:53:52 -04:00
Jeremy Stretch
537aa4add8 Fixes #1319: Fixed server error when attempting to create console/power connections 2017-07-06 13:20:53 -04:00
Jeremy Stretch
911db5c358 Fixes #1289: Retain inside NAT assignment when editing an IP address 2017-07-05 14:29:40 -04:00
Jeremy Stretch
7a400af2e4 Fixes #1265: Fix console/power/interface connection validation when selecting a device via live search 2017-06-14 13:00:36 -04:00
Jeremy Stretch
398be0e7bb Fixes #1268: Fix CSV import error under Python 3 2017-06-14 09:55:52 -04:00
Jeremy Stretch
0d651562ac Closes #704: Allow filtering VLANs by group when editing prefixes 2017-06-09 14:15:12 -04:00
Jeremy Stretch
4a6b79646a Replaced all CSVForm ChoiceFields with CSVChoiceField 2017-06-07 13:22:06 -04:00
Jeremy Stretch
e879dec1a2 Added dynamic examples for CSV form fields 2017-06-06 17:27:26 -04:00
Jeremy Stretch
54aed8789c Replaced old CSVDataField 2017-06-05 16:16:23 -04:00
Jeremy Stretch
9f06783fc9 Converted console/power import views to new scheme 2017-06-05 15:53:03 -04:00