Commit Graph

10645 Commits

Author SHA1 Message Date
jeremystretch
e04f29ed49 Update features docs for v3.4 2022-11-16 09:11:03 -05:00
jeremystretch
c4ca9e155f Document save_object() on BulkImportView 2022-11-16 08:47:45 -05:00
jeremystretch
8c4c216a30 Split core views into separate modules 2022-11-16 08:43:22 -05:00
jeremystretch
1b6c8f2cae #10608: Use register_model_view() for token views 2022-11-16 08:11:42 -05:00
jeremystretch
3df5875a05 Clean up plugins documentation 2022-11-15 16:55:18 -05:00
jeremystretch
a69fba423c #10052: Serialize date fields 2022-11-15 16:10:20 -05:00
jeremystretch
84423ec872 Cleanup for #9654 2022-11-15 15:30:39 -05:00
jeremystretch
2350557d90 #8366: Add started field to JobResult 2022-11-15 15:06:11 -05:00
jeremystretch
d4717a4889 #8366: name scheduled_time to scheduled for consistency with other fields 2022-11-15 13:37:13 -05:00
jeremystretch
e5f3ff8ff9 #4347: Rename NetBoxModelCSVForm to NetBoxModelImportForm 2022-11-15 12:24:57 -05:00
jeremystretch
78ca856046 Cleanup for #4347 2022-11-15 12:09:03 -05:00
jeremystretch
ef75940cde Cleanup for #7854 2022-11-15 11:24:36 -05:00
jeremystretch
6e3e0567e1 #9887: Add missing model documentation links 2022-11-15 11:00:13 -05:00
jeremystretch
a2517a7ee7 Add missing model documentation 2022-11-15 10:50:26 -05:00
jeremystretch
6f4e5eae07 #9623: Add slug field to SavedFilter 2022-11-15 10:44:12 -05:00
jeremystretch
c6c9170c45 #10560: Add new fields to indexers 2022-11-15 10:37:35 -05:00
jeremystretch
e051526da0 #10560: Build search index as part of migration 2022-11-15 10:37:16 -05:00
jeremystretch
20afa9b2c3 Add missing milestones to release notes 2022-11-14 17:07:39 -05:00
jeremystretch
0a49ecbfac Changelog for #4751, #10694, #10851 2022-11-14 14:06:30 -05:00
Jeremy Stretch
af1398c64f Closes #10851: New staging mechanism (#10890)
* WIP

* Convert checkout() context manager to a class

* Misc cleanup

* Drop unique constraint from Change model

* Extend staging tests

* Misc cleanup

* Incorporate M2M changes

* Don't cancel wipe out creation records when an object is deleted

* Rename Change to StagedChange

* Add documentation for change staging
2022-11-14 13:55:03 -05:00
Arthur Hanson
f7c8b37b69 4751 Enable plugins to inject content within object list views (#10901)
* 4751 add plugin buttons to list templates

* 4751 add plugin buttons to list templates

* 4751 add documentation

* 4751 fix object reference

* 4751 update docs
2022-11-14 13:51:58 -05:00
Jeremy Stretch
515f1cb692 #10694: Emit post_save signal when creating/updating device components in bulk (#10900)
* Emit post_save signal when creating/updating device components in bulk

* Fix post_save for bulk_update()
2022-11-14 13:46:32 -05:00
Arthur
b06845e666 10300 initial translation support use gettext 2022-11-11 08:47:29 -05:00
jeremystretch
8a6143efdb Changelog & documentation for #7854 2022-11-11 08:25:44 -05:00
Daniel Sheppard
e0e38c63cf Closes: #7854 - Add VDC/Instances/etc (#10787)
* Work on #7854

* Move to new URL scheme.

* Fix PEP8 errors

* Fix PEP8 errors

* Add GraphQL and fix primary_ip missing

* Fix PEP8 on GQL Type

* Fix missing NestedSerializer.

* Fix missing NestedSerializer & rename VDC to VDCs

* Fix migration

* Change Validation for identifier

* Fix missing migration

* Rebase to feature

* Post-review changes

* Remove VDC Type
* Remove M2M Enforcement logic

* Interface related changes

* Add filter fields to filterset for Interface filter
* Add form field to filterset form for Interface filter
* Add VDC display to interface detail template

* Remove VirtualDeviceContextTypeChoices

* Accommodate recent changes in feature branch

* Add tests
Add missing search()

* Update tests, and fix model form

* Update test_api

* Update test_api.InterfaceTest create_data

* Fix issue with tests

* Update interface serializer

* Update serializer and tests

* Update status to be required

* Remove error message for constraint

* Remove extraneous import

* Re-ordered devices menu to place VDC below virtual chassis

* Add helptext for `identifier` field

* Fix breadcrumb link

* Remove add interface link

* Add missing tenant and status fields

* Changes to tests as per Jeremy

* Change for #9623

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Update filterset form for status field

* Remove Rename View

* Change tabs to spaces

* Update netbox/dcim/tables/devices.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Update netbox/dcim/tables/devices.py

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Fix tenant in bulk_edit

* Apply suggestions from code review

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Add status field to table.

* Re-order table fields.

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-11 07:55:49 -05:00
jeremystretch
92b8da8aa9 #4347: Changelog & cleanup 2022-11-10 11:05:44 -05:00
Arthur Hanson
eab0451aa3 4347 Add JSON/YAML import support for all objects (#10367)
* 4347 initial code for json import

* 4347 initial code for json import

* Clean up form processing logic

* Consolidate import forms

* Consolidate object import/update logic

* Clean up bulk import view

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-10 11:01:52 -05:00
jeremystretch
d8b60e70e7 Closes #10052: The cf attribute now returns deserialized custom field data 2022-11-04 14:53:18 -04:00
jeremystretch
18b5b94152 Reorganize virtualization models 2022-11-04 13:51:30 -04:00
jeremystretch
4eb2c387c3 Changelog for #7376, #10710 2022-11-04 13:46:15 -04:00
jeremystretch
79a1c99f4e Closes #10710: Add status field to WirelessLAN 2022-11-04 13:40:39 -04:00
Arthur Hanson
70d3529004 7376 csv tags (#10802)
* 7376 add tags to CSV import

* 7376 change help text

* 7376 validate tags

* 7376 fix tests

* 7376 add tag validation tests

* Introduce CSVModelMultipleChoiceField for CSV import tag assignment

* Clean up CSVImportTestCase

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-04 10:50:43 -04:00
Jeremy Stretch
acc750ad70 Closes #10545: Standardize description & comment fields on primary models (#10834)
* Standardize description & comments fields on primary models

* Update REST API serializers

* Update forms

* Update tables

* Update templates
2022-11-04 08:28:09 -04:00
jeremystretch
8ea0bb75c1 Clean up redundant NestedGroupModel, OrganizationalModel fields 2022-11-03 13:59:44 -04:00
jeremystretch
3c74cb97d3 Closes #8485: Enable journaling for all organizational models 2022-11-03 13:31:51 -04:00
jeremystretch
980987e342 Closes #10543: Introduce get_plugin_config() utility function 2022-11-03 13:18:58 -04:00
jeremystretch
1e6bea48dd Reorganize plugin resources 2022-11-03 12:59:01 -04:00
jeremystretch
17516f786f #10820: Fix zoneinfo import for py3.9+ 2022-11-02 16:29:42 -04:00
jeremystretch
e97e39a479 Closes #10698: Omit app label from content type in table columns 2022-11-02 16:26:26 -04:00
jeremystretch
be56bb22cf Closes #10821: Enable data localization 2022-11-02 15:55:39 -04:00
jeremystretch
5ef76f2b2a Closes #10820: Switch timezone library from pytz to zoneinfo 2022-11-02 15:54:41 -04:00
jeremystretch
67799fa422 Closes #10697: Move application registry into core app 2022-11-02 15:25:22 -04:00
Arthur Hanson
c42b209f79 8853 Prevent the retrieval of API tokens after creation (#10645)
* 8853 hide api token

* 8853 hide key on edit

* 8853 add key display

* 8853 cleanup html

* 8853 make token view accessible only once on POST

* Clean up display of tokens in views

* Honor ALLOW_TOKEN_RETRIEVAL in API serializer

* Add docs & tweak default setting

* Include token key when provisioning with user credentials

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-02 12:45:00 -04:00
Jeremy Stretch
687f342496 Closes #9623: Implement saved filters (#10801)
* Initial work on saved filters

* Return only enabled/shared filters

* Add tests

* Clean up filtering of usable SavedFilters
2022-11-02 12:27:53 -04:00
jeremystretch
c55cb7a5ed Closes #10816: Pass the current request when instantiating a FilterSet within UI views 2022-11-02 11:00:09 -04:00
jeremystretch
d994ee7b21 Merge branch 'develop' into feature 2022-11-01 17:13:11 -04:00
jeremystretch
054a84adcd PRVB 2022-11-01 17:11:55 -04:00
jeremystretch
913ef1920d Merge branch 'master' into develop 2022-11-01 17:10:18 -04:00
jeremystretch
27ca4ddeb8 Release v3.3.7 2022-11-01 17:09:55 -04:00
jeremystretch
dc74ec57b4 Fixes #10809: Permit nullifying site time_zone via REST API 2022-11-01 17:09:55 -04:00