Jeremy Stretch
d2168b107f
Closes #13086 : Virtual circuits ( #17933 )
...
* WIP
* Add API tests
* Add remaining tests
* Add model docs
* Show virtual circuit connections on interfaces
* Misc cleanup per PR feedback
* Renumber migration
* Support nested terminations for virtual circuit bulk import
2024-11-19 10:58:39 -05:00
Arthur Hanson
a8eb455f3e
9604 Add Termination to CircuitTermination ( #17821 )
...
* 9604 add scope type to CircuitTermination
* 9604 add scope type to CircuitTermination
* 9604 add scope type to CircuitTermination
* 9604 model_forms
* 9604 form filtersets
* 9604 form bulk_import
* 9604 form bulk_edit
* 9604 serializers
* 9604 graphql
* 9604 tests and detail template
* 9604 fix migration merge
* 9604 fix tests
* 9604 fix tests
* 9604 fix table
* 9604 updates
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* 9604 remove provider_network
* 9604 fix tests
* 9604 fix tests
* 9604 fix forms
* 9604 review changes
* 9604 scope->termination
* 9604 fix _circuit_terminations
* 9604 fix _circuit_terminations
* 9604 sitegroup -> site_group
* 9604 update docs
* 9604 fix form termination side reference
* Misc cleanup
* Fix terminations in circuits table
* Fix missing imports
* Clean up termination attrs display
* Add termination & type to CircuitTerminationTable
* Update cable tracing logic
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-31 09:55:08 -04:00
Arthur Hanson
65687851fe
16547 Add distance to Circuit ( #17629 )
...
* 16547 Add distance to Circuit
* 16547 fix test cases
* 16547 fix test cases
* 16547 add distance to API, forms, tables
* 16547 fixes
* 16547 fixes
* 16547 review changes
* 16547 review changes
* Clean up DistanceColumn
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-10 14:37:33 -04:00
Arthur Hanson
8237c6accc
7025 circuit redundancy ( #16945 )
...
* 7025 CircuitRedundancyGroups
* 7025 CircuitRedundancyGroups api
* 7025 CircuitRedundancyGroups api
* 7025 CircuitRedundancyGroups tests
* 7025 CircuitRedundancyGroup -> CircuitGroup
* 7025 add tenancy
* 7025 linkify name
* 7025 missing file
* 7025 circuitgroupassignment
* 7025 base group assignment working
* 7025 assignments
* 7025 fix forms/tests for CircuitGroup
* 7025 fix api tests
* 7025 view tests
* 7025 CircuitGroupAssignment tests
* 7025 fix typo
* 7025 fix typo
* 7025 fix tests
* 7025 remove m2m
* 7025 add count to serializer
* 7025 fix test
* 7025 documentation
* 7025 review comments
* 7025 review comments
* 7025 add search index
* Make CircuitPriorityChoices extensible
* Add group assignment table to circuit view
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-07-24 12:24:44 -04:00
Arthur Hanson
b2d2a23c26
15496 Add circuit termination to menu and associated forms ( #15980 )
...
* 15496 base changes
* 15496 detail view template
* 15496 tweaks
* 15496 bulk views
* 15496 filterset
* 15496 optimize qs
* 15496 bulk edit
* 15496 bulk import
* 15496 update tests
* Update netbox/templates/circuits/circuittermination.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* 15496 review changes
* 15496 template include
* 15496 expand filters
* 15496 split import form
* 15496 split import form
* 15496 add test for circuit bulk import with termiantions
* Add test for provider filters
* Rename provider column
* Fix test
* Misc cleanup
* Fix test
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-05-17 15:30:10 -04:00
Jeremy Stretch
72d3c17b48
Use FieldSet instances for all forms
2024-03-19 13:34:13 -04:00
Arthur Hanson
ae447bd187
12216 Add color to circuit-type and add to SVG rendering ( #14098 )
...
* 12216 add color to model
* 12216 add forms, serializers for color
* 12216 color to detail view, add type to svg
* 12216 add color to svg
* 12216 review changes
2023-10-24 08:19:04 -04:00
Arthur Hanson
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
jeremystretch
c08c7dda50
Closes #12292 : Replace SelectSpeedWidget and SelectDurationWidget with NumberWithOptions
2023-04-18 16:33:43 -04:00
Jeremy Stretch
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
Daniel Sheppard
9d709c84e7
Closes : #9047 - Add Provider Accounts ( #12057 )
...
* #9047 - ProviderAccount
* #9047 - Move to new selector types
* #9047 - Re-introduce provider FK to Circuit model
* #9047 - Fix broken tests
* Misc cleanup
* Revert errant change
* Fix tests
* Update circuit filter form
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-29 08:27:11 -04:00
jeremystretch
2a9178af12
Merge branch 'develop' into feature
2023-03-13 11:58:37 -04:00
Aron Bergur Jóhannsson
fa60f9d2a8
Closes #11294 : Markdown Preview ( #11894 )
...
* MarkdownWidget
* Change border and color of active markdown tab
* Fix template name typo
* Add render markdown endpoint
* Static assets for markdown widget
* widget style fix and unique ids based on name
* Replace SmallTextArea with SmallMarkdownWidget
* Clear innerHTML before swapping
* render markdown directly in template
* change render markdown view path
* remove small markdown widget
* Simplify rendering logic
* Use a form to clean input Markdown data
---------
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2023-03-09 08:21:13 -05:00
Jeremy Stretch
b9bd96f0c7
Closes #11765 : Remove StaticSelect & StaticSelectMultiple ( #11767 )
...
* Remove StaticSelect, StaticSelectMultiple form widgets
* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-19 20:09:51 -05:00
kkthxbye-code
8d68b6a2e6
Fixes #11694 - Remove obsolete SmallTextarea widget
2023-02-19 20:09:51 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
Jeremy Stretch
bc6b5bc4be
Closes #10545 : Standardize description & comment fields on primary models ( #10834 )
...
* Standardize description & comments fields on primary models
* Update REST API serializers
* Update forms
* Update tables
* Update templates
2022-11-04 08:28:09 -04:00
Arthur Hanson
20e3fdc782
#9045 #9046 - remove legacy fields from Provider ( #10377 )
...
* #9045 - remove legacy fields from Provider
* Add safegaurd for legacy data to migration
* 9045 remove fields from forms and tables
* Update unrelated tests to use ASN model instead of Provider
* Fix migrations collision
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-28 15:22:19 -04:00
jeremystretch
341615668b
Closes #7120 : Add termination_date field to Circuit
2022-06-22 15:09:50 -04:00
jeremystretch
bddc35bbc7
Closes #8496 : Enable assigning multiple ASNs to a provider
2022-03-30 17:17:36 -04:00
jeremystretch
60e87cd496
Enable the use of fieldsets on bulk edit forms
2022-02-04 09:59:53 -05:00
jeremystretch
5af18c2d8a
Move pk field declaration under NetBoxModelBulkEditForm
2022-02-01 11:40:23 -05:00
jeremystretch
3621b1a0d0
Set model as attribute on bulk edit forms
2022-02-01 11:00:18 -05:00
jeremystretch
d1672f8818
Move nullable_fields out of Meta for bulk edit forms
2022-01-31 16:15:40 -05:00
jeremystretch
e4eee1cdfc
Clean up nullable fields declaration for bulk edit forms
2022-01-28 16:47:54 -05:00
jeremystretch
f4776731ec
Establish 4 core forms in netbox.forms.base
2022-01-28 15:48:15 -05:00
jeremystretch
bffd22038b
Closes #7681 : Add service_id field for provider networks
2021-12-23 13:50:01 -05:00
jeremystretch
beca978af5
Clean up imports
2021-11-18 16:48:29 -05:00
jeremystretch
55049bb303
Apply BootstrapMixin to BulkEditForm
2021-11-18 16:23:26 -05:00
jeremystretch
cfb3897047
Add tags to organizational & nested group models
2021-10-21 10:51:02 -04:00
jeremystretch
b5aecfeb91
Refactor circuits forms
2021-09-27 15:23:12 -04:00