Jeremy Stretch
51bd98bdfc
Merge branch 'develop' into feature
2024-05-06 12:59:24 -04:00
Jeremy Stretch
15cc50fc1d
Fixes #15960 : Use internal ManyToManyColumn to ensure proper export behavior
2024-05-06 10:32:29 -04:00
Daniel Sheppard
56e0449ebc
Fixes : #15948 - Fixes cable fanin/fanout when both are required ( #15953 )
...
* Preliminary fix for #15948
* Tweaking of line height
2024-05-06 09:48:14 -04:00
Arthur
4cc5079ecb
12127 enable cable add button
2024-05-06 08:37:22 -04:00
Jeremy Stretch
408e0c5a9b
Fixes #15877 : Consider VC membership when assigning LAG interfaces via bulk edit
2024-05-03 10:55:41 -04:00
Jeremy Stretch
c8a9bc006d
Fixes #15925 : Fix rendering of cable traces to circuit terminations
2024-05-03 10:54:34 -04:00
Jeremy Stretch
312291b010
Merge branch 'develop' into feature
2024-05-01 16:09:14 -04:00
Daniel Sheppard
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
Arthur Hanson
4923025fec
15541 Add component selector to InventoryItemTemplate ( #15691 )
...
* 15541 update InventoryItemTemplateForm
* 15541 update InventoryItemTemplateForm
* Remove custom template
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-25 09:22:32 -04:00
Arthur Hanson
ded2fe9471
15809 Mark unions as nullable in GraphQL where appropriate ( #15824 )
...
* 15809 mark unions as nullable where appropriate
* 15809 fix tests
* 15809 fix tests
2024-04-25 09:19:19 -04:00
Daniel Sheppard
cad3e34d8f
Merge pull request #14750 from Moehritz/13922-svg-uneven
...
Fixes #14241 , Fixes #13922 : Update the CableRender
2024-04-22 21:53:34 -05:00
Daniel Sheppard
07e2cf0ad2
Merge pull request #13874 from pv2b/choices-css-rewrite
...
Refactor row coloring logic and simplify mark planned/connected toggle implementation
2024-04-22 21:45:15 -05:00
Jeremy Stretch
46bd62fdc9
Merge branch 'develop' into feature
2024-04-22 13:23:42 -04:00
Arthur Hanson
1eca1c3d17
15803 localize help_text ( #15804 )
2024-04-22 11:42:20 -04:00
Arthur Hanson
90d0104359
15541 Add component selector to InventoryItemTemplate ( #15759 )
...
* 15541 make inventoryitemtemplateform match inventoryitemform
* 15541 set tab active
2024-04-22 08:22:53 -04:00
Arthur
94c31622ac
15588 set readonly nullable fields as allow_null=True
2024-04-19 16:17:28 -04:00
Arthur
4b83b5d0e1
15764 change vc_position from PositiveSmallInteger to PositiveInteger
2024-04-19 13:22:44 -04:00
Arthur Hanson
f47b158863
15685 Allow decimal for cable length filter form ( #15703 )
...
* 15685 allow decimal for cable length filter
* 15685 allow decimal for cable length filter
* 15685 remove minlenth
* 15685 remove minlenth
2024-04-15 11:24:32 -04:00
padthaitofuhot
3b3511c43c
Refactor 32264ac3 to re-separate bulk and single device creation. Fixes #15598 .
2024-04-04 14:01:55 -04:00
Arthur Hanson
8767577ecd
15553 change graphql sub-queries from functions to types ( #15557 )
...
* 15553 change graphql list to types
* 15553 review changes
2024-03-29 14:54:31 -04:00
Jeremy Stretch
3be3bbe534
Upgrade DRF to v3.15
2024-03-29 13:13:41 -04:00
Arthur Hanson
45c99e4477
9856 Replace graphene with Strawberry ( #15141 )
...
* 9856 base strawberry integration
* 9856 user and group
* 9856 user and circuits base
* 9856 extras and mixins
* 9856 fk
* 9856 update strawberry version
* 9856 update imports
* 9856 compatability fixes
* 9856 compatability fixes
* 9856 update strawberry types
* 9856 update strawberry types
* 9856 core schema
* 9856 dcim schema
* 9856 extras schema
* 9856 ipam and tenant schema
* 9856 virtualization, vpn, wireless schema
* 9856 fix old decorator
* 9856 cleanup
* 9856 cleanup
* 9856 fixes to circuits type specifiers
* 9856 fixes to circuits type specifiers
* 9856 update types
* 9856 GFK working
* 9856 GFK working
* 9856 _name
* 9856 misc fixes
* 9856 type updates
* 9856 _name to types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 update types
* 9856 GraphQLView
* 9856 GraphQLView
* 9856 fix OrganizationalObjectType
* 9856 single item query for schema
* 9856 circuits graphql tests working
* 9856 test fixes
* 9856 test fixes
* 9856 test fixes
* 9856 test fix vpn
* 9856 test fixes
* 9856 test fixes
* 9856 test fixes
* 9856 circuits test sans DjangoModelType
* 9856 core test sans DjangoModelType
* 9856 temp checkin
* 9856 fix extas FK
* 9856 fix tenancy FK
* 9856 fix virtualization FK
* 9856 fix vpn FK
* 9856 fix wireless FK
* 9856 fix ipam FK
* 9856 fix partial dcim FK
* 9856 fix dcim FK
* 9856 fix virtualization FK
* 9856 fix tests / remove debug code
* 9856 fix test imagefield
* 9856 cleanup graphene
* 9856 fix plugin schema
* 9856 fix requirements
* 9856 fix requirements
* 9856 fix docs
* 9856 fix docs
* 9856 temp fix tests
* 9856 first filterset
* 9856 first filterset
* 9856 fix tests
* 9856 fix tests
* 9856 working auto filter generation
* 9856 filter types
* 9856 filter types
* 9856 filter types
* 9856 fix graphiql test
* 9856 fix counter fields and merge feature
* 9856 temp fix tests
* 9856 fix tests
* 9856 fix tenancy, ipam filter definitions
* 9856 cleanup
* 9856 cleanup
* 9856 cleanup
* 9856 review changes
* 9856 review changes
* 9856 review changes
* 9856 fix base-requirements
* 9856 add wrapper to graphiql
* 9856 remove old graphiql debug toolbar
* 9856 review changes
* 9856 update strawberry
* 9856 remove superfluous check
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-03-22 12:56:30 -04:00
Jeremy Stretch
ae8df77cc8
Move count_related() & dict_to_filter_params() to utilities.query
2024-03-22 08:59:52 -04:00
Jeremy Stretch
81ca455fef
Move array_to_range(), array_to_string(), deepmerge(), drange(), flatten_dict(), and shallow_compare_dict() to utilities.data
2024-03-22 08:59:52 -04:00
Jeremy Stretch
2a3b85a32f
Move clean_html() & foreground_color() to utilities.html
2024-03-22 08:59:52 -04:00
Jeremy Stretch
bbb8b7d010
Move to_grams() & to_meters() from utilities.utils to utilities.conversion
2024-03-22 08:59:52 -04:00
Jeremy Stretch
a9bb4c5c3e
Move choice sets from utilities.choices to netbox.choices
2024-03-22 08:59:52 -04:00
Jeremy Stretch
72d3c17b48
Use FieldSet instances for all forms
2024-03-19 13:34:13 -04:00
Jeremy Stretch
3b28e8e615
Refactor form rendering components & add docstrings
2024-03-19 13:34:13 -04:00
Jeremy Stretch
4c7b6fcec0
Enable tabbed group fields in fieldsets
2024-03-19 13:34:13 -04:00
Jeremy Stretch
f585c36d86
Introduce InlineFields for rendering fields side-by-side
2024-03-19 13:34:13 -04:00
Daniel Sheppard
19f577ccaf
Closes : #13918 - Add facility field ( #15456 )
...
* Fixes : #13918 - Add facilities field to Location model.
* Stupidly forgot to `git add`
* Fix errant reference to site.
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-03-18 10:09:50 -04:00
Jeremy Stretch
78bd7dec48
Merge branch 'develop' into feature
2024-03-15 12:32:54 -04:00
Jeremy Stretch
9062d99bfa
Closes #14454 : Include member devices for virtual chassis in REST API
2024-03-13 19:11:28 -04:00
Jeremy Stretch
8bdbb49a27
Fixes #15322 : Add description field to YAML export for device & module types
2024-03-13 19:10:49 -04:00
Jeremy Stretch
7ac21690e5
Fixes #15356 : Fix assignment of front & rear images to device types via REST API
2024-03-13 19:10:30 -04:00
Jeremy Stretch
572efeb987
Ensure all filter labels are translated
2024-03-12 12:14:13 -04:00
Jeremy Stretch
bea32aef71
Declare FilterSet fields as a tuple
2024-03-12 12:08:11 -04:00
Markku Leiniö
51b2bcf264
Closes #14206 : Add FC SFP types
2024-03-12 09:03:42 -04:00
Jeremy Stretch
f8744a6659
Clean up exemption logic
2024-03-11 15:54:35 -04:00
Jeremy Stretch
a136030094
Validate filter class for foreign key fields
2024-03-11 14:39:34 -04:00
Jeremy Stretch
b36a70d236
Add missing filters for reverse many-to-many relationships
2024-03-11 14:39:34 -04:00
Jeremy Stretch
6085e0bb0b
Test for missing ManyToManyField filters
2024-03-11 14:39:34 -04:00
Jeremy Stretch
5cb7af88d4
Fix remaining tests
2024-03-11 14:39:34 -04:00
Jeremy Stretch
16b422cbac
Add missing filters
2024-03-11 14:39:34 -04:00
Jeremy Stretch
6af12b1814
Add tests for missing FilterSet filters
2024-03-11 14:39:34 -04:00
Jeremy Stretch
d6acc18c29
Closes #15383 : Standardize filtering logic for the parents of recursively-nested models
2024-03-11 13:27:57 -04:00
Jeremy Stretch
6629c94148
Closes #15297 : Linkify platform column in device & virtual machine tables
2024-03-08 16:48:39 -05:00
Jeremy Stretch
6f6d483ca5
Merge branch 'feature' into 15277-object-types
2024-03-05 08:52:07 -05:00
Jeremy Stretch
cd74e040c1
Merge branch 'feature' into 15278-primary-nested-serializers
2024-03-04 16:42:36 -05:00