6f6d483ca5
Merge branch 'feature' into 15277-object-types
2024-03-05 08:52:07 -05:00
9000e125e3
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
cd74e040c1
Merge branch 'feature' into 15278-primary-nested-serializers
2024-03-04 16:42:36 -05:00
239d21870b
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
4533c8dae0
Rename sequences for ObjectType M2M tables
2024-03-04 12:17:32 -05:00
0e89f46601
#15277 : Clean up references to object types in templates
2024-03-04 11:49:39 -05:00
0419a69ae8
Clean up outdated references to ContentType
2024-03-04 10:46:34 -05:00
d538010069
Add GraphQL type for ObjectType
2024-03-04 10:06:28 -05:00
01ee9c87b8
Update ObjectPermission.object_types to reference ObjectType
2024-03-04 09:52:45 -05:00
570f64784f
Update Tag.object_types to reference ObjectType
2024-03-04 09:51:32 -05:00
5f43eabab1
Rename ContactAssignment.content_type to object_type
2024-03-04 08:33:44 -05:00
e0165539b3
Rename ImageAttachment.content_type to object_type
2024-03-04 08:33:44 -05:00
ce6b2666a9
Rename SavedFilter.content_types to object_types & use ObjectType proxy
2024-03-04 08:33:44 -05:00
bef17e5a95
Rename ExportTemplate.content_types to object_types & use ObjectType proxy
2024-03-04 08:33:44 -05:00
e51d71d7e6
Rename EventRule.content_types to object_types & use ObjectType proxy
2024-03-04 08:33:44 -05:00
ba514aceac
Rename CustomLink.content_types to object_types & use ObjectType proxy
2024-03-04 08:33:44 -05:00
54b9d1b3f2
Disconnect search backend during test to avoid discrepancy with ContentTypes on transaction rollback
2024-03-04 08:33:44 -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
c6a3fc2407
#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
709eac6b98
Closes #15292 : Remove obsolete device_role attribute from Device model
2024-03-01 11:31:47 -05:00
3bd28e2efe
Improve serializer initialization performance
2024-03-01 10:18:58 -05:00
125a493dc6
Changelog for #14438 , #15042 , #15087 , #15131 , #15238
2024-02-29 11:37:23 -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 #15238 : Include description field in brief mode
2024-02-26 11:39:31 -05:00
3f3bcc5eb5
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
ca2ee436a0
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
7e7e5d5eb0
#14917 : Nullify maxOptions for static select fields
2024-02-22 15:49:41 -05:00
3ddacf4b88
Merge branch 'develop' into feature
2024-02-21 16:24:23 -05:00
d7e7137582
PRVB
2024-02-21 16:04:04 -05:00
b7f6b728b9
Merge pull request #15222 from netbox-community/develop
...
Release v3.7.3
v3.7.3
2024-02-21 16:01:21 -05:00
503c78b0db
Release v3.7.3
2024-02-21 15:46:41 -05:00
cb05288c4d
Update translations
2024-02-21 15:24:50 -05:00
0373b8aade
Update translation strings
2024-02-21 14:49:09 -05:00
580d417aa1
Changelog for #14064 , #14689 , #14966 , #15101 , #15185
2024-02-21 14:46:10 -05:00
5f159795dd
Closes #15042 : Move model registration logic to AppConfigs ( #15203 )
...
* Closes #15042 : Move model registration logic to AppConfigs
* Refactor register_model() to accept multiple models
2024-02-21 14:22:13 -05:00
8571f428b1
fixed location import #14064
2024-02-21 14:10:10 -05:00
276a73f820
#15094 : Fix missing format variable
2024-02-21 14:06:01 -05:00
d8fb5a819f
fixed json field save issue #14689
2024-02-21 14:00:34 -05:00
f14eac58e4
Fixed error display on parent import form ( #15213 )
...
* fixed error display on parent import form #15185
* Rename parent_form; handle errors assigned to __all__
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-21 13:50:09 -05:00
1780acc8a6
Fixes the rackelevation api schema ( #15214 )
...
* fixes the rackelevation api schema #15101
* fixes the rackelevation api schema #15101
2024-02-21 13:39:32 -05:00
a3b8262ab0
Added index on cachevalue ( #15199 )
...
* added index on cachevalue #14966
* Update netbox/extras/models/search.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* fixed migration
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-21 13:20:55 -05:00
a1ee02cdf0
15211 fix typo on DeviceType detail view
2024-02-21 12:10:35 -05:00
f751afcce7
Changelog for #14405 , #14587 , #14946 , #15090 . #15174 , #15177 , #15184 , #15192
2024-02-20 16:29:46 -05:00
17a321a340
14405 render link_peer to CSV ( #15201 )
...
* 14405 render link_peer to csv
* 14405 review changes
2024-02-20 16:24:14 -05:00
cf3969bc6c
Added Last Login to user/profile GUI views and the /users/user API output ( #15198 )
...
* Added Last Login to user/profile GUI and user api output
* Update netbox/templates/account/profile.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/templates/account/profile.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/templates/users/user.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-20 15:43:49 -05:00