Commit Graph

12195 Commits

Author SHA1 Message Date
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
Arthur
534d8bb66f 9856 test fixes 2024-03-06 13:43:40 -08:00
Arthur
76e8203201 9856 test fixes 2024-03-06 13:27:01 -08: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
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
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
f82590e907 Improve serializer initialization performance 2024-03-01 10:18:58 -05:00
Jeremy Stretch
11830a2e80 Changelog for #14438, #15042, #15087, #15131, #15238 2024-02-29 11:37:23 -05:00
Jeremy Stretch
f7430b1156 Rename 'requested_fields' kwarg to 'fields' on BaseSerializer 2024-02-27 17:01:29 -05:00
Jeremy Stretch
6f74b77dde Initialize dynamically-resolved serializers with nested=True 2024-02-27 14:56:36 -05:00
Jeremy Stretch
66cc58e7d0 Add dynamic nesting support to SerializedPKRelatedField 2024-02-27 14:00:42 -05:00
Jeremy Stretch
de0427a45b Refactor REST API serializers to avoid circular imports 2024-02-27 13:26:43 -05:00
Arthur
a25cced19a 9856 update types 2024-02-26 14:13:44 -08:00
Jeremy Stretch
aea8c693f5 Replace nested serializers with primary serializers where possible 2024-02-26 16:49:30 -05:00
Arthur
179f6241dc 9856 update types 2024-02-26 12:57:53 -08:00
Arthur
a3ed91db89 9856 update types 2024-02-26 11:26:50 -08:00
Arthur
1374d7920e 9856 update types 2024-02-26 11:18:03 -08:00
Arthur
d84d1a8f97 9856 update types 2024-02-26 11:04:29 -08:00
Arthur
b3506c2840 9856 update types 2024-02-26 09:46:03 -08:00
Jeremy Stretch
5c2f7fa59c Closes #15238: Include description field in brief mode 2024-02-26 11:39:31 -05:00
Arthur
23a42dc8ce 9856 update types 2024-02-26 08:20:32 -08:00
Arthur
cd468a9298 9856 update types 2024-02-23 15:56:21 -08:00
Arthur
e9fdc0b156 9856 update types 2024-02-23 14:36:41 -08:00
Jeremy Stretch
c9a62ed6bd Closes #15235: Use primary serializers for REST API "brief" mode (#15246)
* Use primary serializers for brief mode

* Remove BriefModeMixin

* Correct ModuleBayTest brief_fields (see #15243)
2024-02-23 14:21:25 -05:00
Arthur Hanson
0555d991bf Closes #14438: Database representation of scripts
- Introduces the Script model to represent individual Python classes within a ScriptModule file
- Automatically migrates jobs & event rules

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-23 08:27:37 -05:00
Arthur
90cd9eb0b4 9856 _name to types 2024-02-22 16:56:54 -08:00
Arthur
725ea13ca2 9856 type updates 2024-02-22 16:35:24 -08:00
Jeremy Stretch
19f6b21b2a #14917: Nullify maxOptions for static select fields 2024-02-22 15:49:41 -05:00
Jeremy Stretch
703791326d Merge branch 'develop' into feature 2024-02-21 16:24:23 -05:00
Jeremy Stretch
9dea6dfdaf PRVB 2024-02-21 16:04:04 -05:00
Jeremy Stretch
0f29bb6a99 Merge pull request #15222 from netbox-community/develop
Release v3.7.3
2024-02-21 16:01:21 -05:00
Jeremy Stretch
a7663fbc02 Release v3.7.3 2024-02-21 15:46:41 -05:00
Jeremy Stretch
c79f0634a1 Update translations 2024-02-21 15:24:50 -05:00
Jeremy Stretch
81198a402c Update translation strings 2024-02-21 14:49:09 -05:00
Jeremy Stretch
a5f56c4f4e Changelog for #14064, #14689, #14966, #15101, #15185 2024-02-21 14:46:10 -05:00