1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
c08784da46 Fixes #11460 - Fix unterminated cable exception when editing cable (#15813)
* Fix cable edit form with single unterminated cable

* Minor tweaks

* Instead of skipping HTMX, override the template & move form template to an "htmx" template

* Use HTMXSelect widget for A/B type selection

* Infer A/B termination types from POST data

* Fix saving cable which results in resetting of the termination type fields

* Condense view logic

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-05-01 14:24:50 -04:00
b7a9649269 Closes #13149: Wrap form field labels with gettext_lazy()
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 12:52:38 -04:00
d470848b29 Closes #12246: General cleanup of utilities modules
* Clean up base modules

* Clean up forms modules

* Clean up templatetags modules

* Replace custom simplify_decimal filter with floatformat

* Misc cleanup

* Merge ReturnURLForm into ConfirmationForm

* Clean up import statements for utilities.forms

* Fix field class references in docs
2023-04-14 10:33:53 -04:00
da7293524e #10054: Simplify cable forms 2023-03-15 14:01:01 -04:00
6eba5d4d96 10300 initial translation support use gettext 2022-11-11 08:47:29 -05:00
91c6bbcd78 Closes #10695: Rename forms/models.py to forms/model_forms.py 2022-10-25 16:26:05 -04:00
d53da57f63 10646 fix cable power feed filter 2022-10-19 08:42:55 -04:00
7dc2e02e22 Fixes #9938: Exclude virtual interfaces from terminations list when connecting a cable 2022-08-09 11:39:04 -04:00
e2580ea469 fixes #9818 2022-07-21 16:54:23 +03:00
58b191b439 Fix CableForm Validation for #9102 2022-07-17 09:28:58 +02:00
0b86326435 #9102: Enable creating terminations in conjunction with cables via REST API 2022-07-13 15:35:37 -04:00
0b0a646f87 Clean up cable termination changes 2022-06-03 14:15:28 -04:00
50c872c47c Clean up tests 2022-05-23 14:50:58 -04:00
4ec26aa6aa Fix population of initial field selections when creating a cable 2022-05-23 13:52:39 -04:00
7b5ff4c1a5 Merge cable creation/edit views & forms 2022-05-20 16:53:23 -04:00
a909ceda84 Simplify assignment of new cable terminations 2022-05-18 15:49:52 -04:00
1b593384e5 Restore reverse relation to CableTerminations from Cable 2022-05-13 15:45:58 -04:00
c22007939b Ensure cable is cached on terminating endpoints 2022-05-12 16:08:44 -04:00
5d37f9f975 Update cable connection forms 2022-05-12 16:08:44 -04:00
907323d46f Revert initial model changes 2022-05-12 16:08:44 -04:00
4bb9b6ee26 Extend Cable model to support multiple A/B terminations 2022-05-12 16:08:44 -04:00
6c290353c1 Allow editing A side termination when creating cable 2022-05-12 16:08:44 -04:00
c48c8cc353 Remove termination IDs from cable creation view paths 2022-05-12 16:08:44 -04:00
ffc29d14a8 Add tags field to NetBoxModelForm 2022-03-10 15:08:23 -05:00
f4776731ec Establish 4 core forms in netbox.forms.base 2022-01-28 15:48:15 -05:00
ecb9fc65b7 Closes #8197: Allow filtering sites by group when connecting a cable 2022-01-03 10:41:43 -05:00
beca978af5 Clean up imports 2021-11-18 16:48:29 -05:00
c210c6937b Apply BootstrapMixin to CustomFieldModelForm 2021-11-18 16:19:25 -05:00
f16c6d81cf Merge branch 'develop' into feature 2021-11-18 11:06:54 -05:00
4bfb6b476c Fixes #7859: Fix styling of form widgets under cable connection views 2021-11-17 15:53:26 -05:00
0afd3e6189 Closes #6715: Add tenant assignment for cables 2021-10-19 12:33:17 -04:00
9e2364b246 Refactor DCIM forms 2021-09-27 17:09:37 -04:00