Commit Graph

12379 Commits

Author SHA1 Message Date
Arthur
5013e0b111 9856 fix virtualization FK 2024-03-07 09:42:52 -08:00
Arthur
394a019fcf 9856 fix tenancy FK 2024-03-07 09:07:31 -08:00
Arthur
2093208cc7 9856 fix extas FK 2024-03-07 08:58:56 -08:00
Arthur Hanson
f98cdf7b7c 10587 script pagination (#15343)
* 10587 temp commit

* 10587 temp commit

* 10587 fix migrations

* 10587 pagination

* 10587 pagination

* 10587 pagination

* 10587 review changes
2024-03-07 11:41:34 -05:00
Arthur
001b6bf741 9856 temp checkin 2024-03-07 07:39:15 -08:00
Arthur
7443de5c84 9856 core test sans DjangoModelType 2024-03-06 15:48:02 -08:00
Arthur
a265350b46 9856 circuits test sans DjangoModelType 2024-03-06 15:44:40 -08:00
Arthur
be1103394a 9856 test fixes 2024-03-06 15:25:06 -08:00
Arthur
4ec554643c 9856 test fixes 2024-03-06 15:00:48 -08:00
Arthur
9eab9bfe9f 9856 test fixes 2024-03-06 14:34:51 -08:00
Arthur
c6177dfb92 9856 test fix vpn 2024-03-06 14:00:53 -08:00
Jeremy Stretch
7148c47795 Changelog for #12795, #15277, #15292 2024-03-06 16:47:38 -05:00
Arthur
534d8bb66f 9856 test fixes 2024-03-06 13:43:40 -08:00
Jeremy Stretch
0023c7510e Merge pull request #15327 from netbox-community/15277-object-types
Closes #15277: Standardize names & model for ContentType ForeignKeys
2024-03-06 16:32:47 -05:00
Arthur
76e8203201 9856 test fixes 2024-03-06 13:27:01 -08:00
Jeremy Stretch
34b302a000 Misc cleanup 2024-03-06 16:16:29 -05:00
Jeremy Stretch
d826e322a2 Re-enable error handling in middleware (disabled for testing) 2024-03-06 16:16:29 -05:00
Jeremy Stretch
4676e9b4ee Use singular names for M2M field filters 2024-03-06 15:43:33 -05:00
Jeremy Stretch
bc67701cdf Rename ContentTypes REST API endpoint & resources 2024-03-06 15:30:59 -05:00
Arthur
a3627e76bb 9856 test fixes 2024-03-06 10:35:44 -08:00
Arthur
18d5e5f9fa 9856 circuits graphql tests working 2024-03-06 10:21:23 -08:00
Arthur
7dfdd1f359 9856 single item query for schema 2024-03-06 09:53:46 -08:00
Arthur
0f1bfc5cf8 9856 fix OrganizationalObjectType 2024-03-06 07:52:42 -08:00
Arthur
baee89d2ad Merge branch 'feature' into 9856-strawberry-2 2024-03-06 07:43:16 -08:00
Arthur
16c080bc18 9856 GraphQLView 2024-03-05 16:27:34 -08:00
Arthur
59a0dfdc21 9856 GraphQLView 2024-03-05 08:30:34 -08:00
Jeremy Stretch
9134873151 Merge branch 'feature' into 15277-object-types 2024-03-05 08:52:07 -05:00
Jeremy Stretch
e416cad9c1 Merge pull request #15281 from netbox-community/15278-primary-nested-serializers
Closes #15278: Use primary serializers when representing nested objects
2024-03-05 08:22:54 -05:00
Arthur
73c8f56c92 9856 merge feature 2024-03-04 14:18:58 -08:00
Jeremy Stretch
1fb5c9035a Merge branch 'feature' into 15278-primary-nested-serializers 2024-03-04 16:42:36 -05:00
Jeremy Stretch
c684892a98 Closes #14871: Complete work on UI cleanup (#15341)
* Fix left padding of login button in top menu

* Relocate "add" buttons for embedded object tables

* Remove unused data template block & getNetboxData() utility function

* Remove bottom margin from last <p> element in rendered Markdown inside a table cell

* Prevent TomSelect from initializing on <select> elements with a size

* Fix styling of dropdown menu button for circuit commit rate

* Change .color-block to display: inline-block

* Delete unused static asset

* Improve contrast between menu group headings & items

* Remove custom color for attr-table row headings

* Fix border color of copy-to-clipboard button

* Fix toast text color in dark mode

* Fix rack elevation label/image toggles

* Increase border radius for small buttons

* Fix object selector
2024-03-04 15:55:01 -05:00
Jeremy Stretch
00a53db970 Rename sequences for ObjectType M2M tables 2024-03-04 12:17:32 -05:00
Jeremy Stretch
55f1953a9f #15277: Clean up references to object types in templates 2024-03-04 11:49:39 -05:00
Jeremy Stretch
b53a99cae8 Clean up outdated references to ContentType 2024-03-04 10:46:34 -05:00
Jeremy Stretch
6517858c97 Add GraphQL type for ObjectType 2024-03-04 10:06:28 -05:00
Jeremy Stretch
3f9e6d1360 Update ObjectPermission.object_types to reference ObjectType 2024-03-04 09:52:45 -05:00
Jeremy Stretch
5640aed225 Update Tag.object_types to reference ObjectType 2024-03-04 09:51:32 -05:00
Jeremy Stretch
acbd3fef06 Rename ContactAssignment.content_type to object_type 2024-03-04 08:33:44 -05:00
Jeremy Stretch
a71c5e02e0 Rename ImageAttachment.content_type to object_type 2024-03-04 08:33:44 -05:00
Jeremy Stretch
545830e430 Rename SavedFilter.content_types to object_types & use ObjectType proxy 2024-03-04 08:33:44 -05:00
Jeremy Stretch
731d03e753 Rename ExportTemplate.content_types to object_types & use ObjectType proxy 2024-03-04 08:33:44 -05:00
Jeremy Stretch
4411bec20d Rename EventRule.content_types to object_types & use ObjectType proxy 2024-03-04 08:33:44 -05:00
Jeremy Stretch
97d8bce886 Rename CustomLink.content_types to object_types & use ObjectType proxy 2024-03-04 08:33:44 -05:00
Jeremy Stretch
67781e7d6e Disconnect search backend during test to avoid discrepancy with ContentTypes on transaction rollback 2024-03-04 08:33:44 -05:00
Jeremy Stretch
b2857ab559 Rename CustomField.content_types to object_types & use ObjectType proxy 2024-03-04 08:33:44 -05:00
Jeremy Stretch
903f02ff01 Rename ContentType proxy model to ObjectType 2024-03-04 08:33:44 -05:00
Jeremy Stretch
5a40437ef2 #12795: Introduce a custom Group model (#15304)
* Rename sequences & indexes after renaming users table

* Migrate from auth.Group to a custom group model

* Delete original groups from auth_group table

* Update object & multi-object custom fields referencing the Group model

* Fix ContentType resolution

* Clean up obsolete logic for view/serializer resolution
2024-03-04 08:29:53 -05:00
Jeremy Stretch
86673156db Closes #15292: Remove obsolete device_role attribute from Device model 2024-03-01 11:31:47 -05:00
Jeremy Stretch
417e8c4381 Fixes #15220: Move IP mask validation logic from form to model 2024-03-01 11:28:48 -05:00
Jeremy Stretch
f82590e907 Improve serializer initialization performance 2024-03-01 10:18:58 -05:00