Commit Graph

10654 Commits

Author SHA1 Message Date
Daniel Sheppard
99e36f23f6
Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-10 15:05:46 -06:00
Daniel Sheppard
484ed84b4a
Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-10 15:05:22 -06:00
Daniel Sheppard
a17acda156 Change tabs to spaces 2022-11-10 15:03:39 -06:00
Daniel Sheppard
2f58962d60 Remove Rename View 2022-11-10 15:03:15 -06:00
Daniel Sheppard
9edd76b85f Update filterset form for status field 2022-11-10 14:58:42 -06:00
Daniel Sheppard
f6a87df63d Merge branch '7854-vdc' of https://github.com/netbox-community/netbox into 7854-vdc 2022-11-10 14:53:28 -06:00
Daniel Sheppard
b05725c8d1
Change for #9623
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-11-10 14:52:33 -06:00
Daniel Sheppard
ccd31322d8 Changes to tests as per Jeremy 2022-11-10 14:51:49 -06:00
Daniel Sheppard
b093f432bb Add missing tenant and status fields 2022-11-10 11:24:10 -06:00
Daniel Sheppard
95f83400e1 Remove add interface link 2022-11-10 11:21:02 -06:00
Daniel Sheppard
b8592d14a1 Fix breadcrumb link 2022-11-10 11:20:29 -06:00
Daniel Sheppard
909f075a02 Add helptext for identifier field 2022-11-10 11:17:12 -06:00
Daniel Sheppard
b74543800e Re-ordered devices menu to place VDC below virtual chassis 2022-11-10 11:10:07 -06:00
Daniel Sheppard
6df4a38ea0 Remove extraneous import 2022-11-10 11:09:34 -06:00
Daniel Sheppard
c282b0848e Remove error message for constraint 2022-11-10 11:06:34 -06:00
Daniel Sheppard
03a56c07d3 Update status to be required 2022-11-10 10:58:27 -06:00
Daniel Sheppard
82b5e0e95c Update serializer and tests 2022-11-09 11:52:59 -06:00
Daniel Sheppard
0a8a6d3023 Update interface serializer 2022-11-09 10:37:40 -06:00
Daniel Sheppard
5f73eb98b9 Fix issue with tests 2022-11-09 10:25:00 -06:00
Daniel Sheppard
18754fe8dc Update test_api.InterfaceTest create_data 2022-11-09 09:57:17 -06:00
Daniel Sheppard
9b3794ec6d Update test_api 2022-11-09 09:14:07 -06:00
Daniel Sheppard
51a7e9b783 Update tests, and fix model form 2022-11-04 16:17:01 -05:00
Daniel Sheppard
c9afb2895e Merge branch '7854-vdc' of https://github.com/netbox-community/netbox into 7854-vdc 2022-11-04 08:21:12 -05:00
Daniel Sheppard
14f3eda2b1 Add tests
Add missing search()
2022-11-04 08:20:50 -05:00
jeremystretch
341243c2ec Accommodate recent changes in feature branch 2022-11-04 08:55:32 -04:00
Jeremy Stretch
2832dc7c9a
Merge branch 'feature' into 7854-vdc 2022-11-04 08:32:24 -04:00
Jeremy Stretch
bc6b5bc4be
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
e2f5ee661a Clean up redundant NestedGroupModel, OrganizationalModel fields 2022-11-03 13:59:44 -04:00
jeremystretch
6b2deaeced Closes #8485: Enable journaling for all organizational models 2022-11-03 13:31:51 -04:00
jeremystretch
13afc52617 Closes #10543: Introduce get_plugin_config() utility function 2022-11-03 13:18:58 -04:00
jeremystretch
e7f54c5867 Reorganize plugin resources 2022-11-03 12:59:01 -04:00
jeremystretch
07730ccd33 #10820: Fix zoneinfo import for py3.9+ 2022-11-02 16:29:42 -04:00
jeremystretch
0ad7ae2837 Closes #10698: Omit app label from content type in table columns 2022-11-02 16:26:26 -04:00
jeremystretch
8fb91a1f8c Closes #10821: Enable data localization 2022-11-02 15:55:39 -04:00
jeremystretch
3b0a84969b Closes #10820: Switch timezone library from pytz to zoneinfo 2022-11-02 15:54:41 -04:00
jeremystretch
81c0dce5a3 Closes #10697: Move application registry into core app 2022-11-02 15:25:22 -04:00
Arthur Hanson
816fedb78d
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
484efdaf75
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
ea61a540cd Closes #10816: Pass the current request when instantiating a FilterSet within UI views 2022-11-02 11:00:09 -04:00
Daniel Sheppard
c3ed3ab439 Remove VirtualDeviceContextTypeChoices 2022-11-02 09:26:08 -05:00
Daniel Sheppard
a33b2a64bf 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
2022-11-02 09:23:57 -05:00
Daniel Sheppard
0d3b85936e Post-review changes
* Remove VDC Type
* Remove M2M Enforcement logic
2022-11-02 08:43:42 -05:00
Daniel Sheppard
0896b84bea Rebase to feature 2022-11-02 08:25:36 -05:00
Daniel Sheppard
cf5482cb19 Fix missing migration 2022-11-02 08:25:36 -05:00
Daniel Sheppard
52fbd84d3f Change Validation for identifier 2022-11-02 08:25:36 -05:00
Daniel Sheppard
969bca6e63 Fix migration 2022-11-02 08:25:36 -05:00
Daniel Sheppard
2e1f9150d1 Fix missing NestedSerializer & rename VDC to VDCs 2022-11-02 08:25:36 -05:00
Daniel Sheppard
b78eebed31 Fix missing NestedSerializer. 2022-11-02 08:25:36 -05:00
Daniel Sheppard
04af1e12b2 Fix PEP8 on GQL Type 2022-11-02 08:25:36 -05:00
Daniel Sheppard
9aef6fe87a Add GraphQL and fix primary_ip missing 2022-11-02 08:25:36 -05:00