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

3483 Commits

Author SHA1 Message Date
46bd62fdc9 Merge branch 'develop' into feature 2024-04-22 13:23:42 -04:00
1eca1c3d17 15803 localize help_text () 2024-04-22 11:42:20 -04:00
90d0104359 15541 Add component selector to InventoryItemTemplate ()
* 15541 make inventoryitemtemplateform match inventoryitemform

* 15541 set tab active
2024-04-22 08:22:53 -04:00
94c31622ac 15588 set readonly nullable fields as allow_null=True 2024-04-19 16:17:28 -04:00
4b83b5d0e1 15764 change vc_position from PositiveSmallInteger to PositiveInteger 2024-04-19 13:22:44 -04:00
f47b158863 15685 Allow decimal for cable length filter form ()
* 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
3b3511c43c Refactor 32264ac3 to re-separate bulk and single device creation. Fixes . 2024-04-04 14:01:55 -04:00
8767577ecd 15553 change graphql sub-queries from functions to types ()
* 15553 change graphql list to types

* 15553 review changes
2024-03-29 14:54:31 -04:00
3be3bbe534 Upgrade DRF to v3.15 2024-03-29 13:13:41 -04:00
45c99e4477 9856 Replace graphene with Strawberry ()
* 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
ae8df77cc8 Move count_related() & dict_to_filter_params() to utilities.query 2024-03-22 08:59:52 -04:00
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
2a3b85a32f Move clean_html() & foreground_color() to utilities.html 2024-03-22 08:59:52 -04:00
bbb8b7d010 Move to_grams() & to_meters() from utilities.utils to utilities.conversion 2024-03-22 08:59:52 -04:00
a9bb4c5c3e Move choice sets from utilities.choices to netbox.choices 2024-03-22 08:59:52 -04:00
72d3c17b48 Use FieldSet instances for all forms 2024-03-19 13:34:13 -04:00
3b28e8e615 Refactor form rendering components & add docstrings 2024-03-19 13:34:13 -04:00
4c7b6fcec0 Enable tabbed group fields in fieldsets 2024-03-19 13:34:13 -04:00
f585c36d86 Introduce InlineFields for rendering fields side-by-side 2024-03-19 13:34:13 -04:00
19f577ccaf Closes: - Add facility field ()
* Fixes:  - 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
78bd7dec48 Merge branch 'develop' into feature 2024-03-15 12:32:54 -04:00
9062d99bfa Closes : Include member devices for virtual chassis in REST API 2024-03-13 19:11:28 -04:00
8bdbb49a27 Fixes : Add description field to YAML export for device & module types 2024-03-13 19:10:49 -04:00
7ac21690e5 Fixes : Fix assignment of front & rear images to device types via REST API 2024-03-13 19:10:30 -04:00
572efeb987 Ensure all filter labels are translated 2024-03-12 12:14:13 -04:00
bea32aef71 Declare FilterSet fields as a tuple 2024-03-12 12:08:11 -04:00
51b2bcf264 Closes : Add FC SFP types 2024-03-12 09:03:42 -04:00
f8744a6659 Clean up exemption logic 2024-03-11 15:54:35 -04:00
a136030094 Validate filter class for foreign key fields 2024-03-11 14:39:34 -04:00
b36a70d236 Add missing filters for reverse many-to-many relationships 2024-03-11 14:39:34 -04:00
6085e0bb0b Test for missing ManyToManyField filters 2024-03-11 14:39:34 -04:00
5cb7af88d4 Fix remaining tests 2024-03-11 14:39:34 -04:00
16b422cbac Add missing filters 2024-03-11 14:39:34 -04:00
6af12b1814 Add tests for missing FilterSet filters 2024-03-11 14:39:34 -04:00
d6acc18c29 Closes : Standardize filtering logic for the parents of recursively-nested models 2024-03-11 13:27:57 -04:00
6629c94148 Closes : Linkify platform column in device & virtual machine tables 2024-03-08 16:48:39 -05:00
6f6d483ca5 Merge branch 'feature' into 15277-object-types 2024-03-05 08:52:07 -05:00
cd74e040c1 Merge branch 'feature' into 15278-primary-nested-serializers 2024-03-04 16:42:36 -05:00
0419a69ae8 Clean up outdated references to ContentType 2024-03-04 10:46:34 -05:00
aeeec284a5 Rename CustomField.content_types to object_types & use ObjectType proxy 2024-03-04 08:33:44 -05:00
0df68bf291 Rename ContentType proxy model to ObjectType 2024-03-04 08:33:44 -05:00
709eac6b98 Closes : Remove obsolete device_role attribute from Device model 2024-03-01 11:31:47 -05:00
8afbb4421b 15232 fix inventory item template permission 2024-02-29 15:30:51 -05:00
7008ffe6d8 Rename 'requested_fields' kwarg to 'fields' on BaseSerializer 2024-02-27 17:01:29 -05:00
78e284c14f Initialize dynamically-resolved serializers with nested=True 2024-02-27 14:56:36 -05:00
ca56c8b9ef Add dynamic nesting support to SerializedPKRelatedField 2024-02-27 14:00:42 -05:00
c382ba0ae0 Refactor REST API serializers to avoid circular imports 2024-02-27 13:26:43 -05:00
c146f5e1b5 Replace nested serializers with primary serializers where possible 2024-02-26 16:49:30 -05:00
d042e6f69d Closes : Include description field in brief mode 2024-02-26 11:39:31 -05:00
edb7d24b45 Added installed_module on NestedModuleBaySerializer ()
* added installed_module on NestedModuleBaySerializer 

* Update test

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-23 15:54:47 -05:00