jeremystretch
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00
Jeremy Stretch
a3dbf4023c
Merge pull request #10597 from netbox-community/9072-plugin-view-tabs
...
#9072 : Custom model view tabs for plugins
2022-10-07 15:22:04 -04:00
jeremystretch
053c97b7a8
Docs and test for #9072
2022-10-07 15:03:52 -04:00
jeremystretch
1fc8de85a3
Add device NAPALM view tabs
2022-10-07 14:17:18 -04:00
jeremystretch
5e1a0733e4
Replace active_tab context for object views
2022-10-07 12:14:19 -04:00
jeremystretch
bfe26b46a6
Wrap model detail views with register_model_view()
2022-10-07 11:36:14 -04:00
jeremystretch
4c999daacd
Introduce ViewTab
2022-10-07 10:54:34 -04:00
Arthur Hanson
10bb8fa10a
9478 link peers to GraphQL ( #10574 )
...
* 9468 add link_peer to GraphQL
* 9478 add class_type
* 9478 fix tests
* 9478 fix tests
* 9478 fix tests
2022-10-06 16:50:53 -04:00
jeremystretch
a0bae06ff7
Replace static journaling, changelog URL paths with dynamic resolution
2022-10-06 16:21:23 -04:00
jeremystretch
0d7851ed9d
#9072 : Implement a mechanism for dynamically registering model detail views
2022-10-06 16:20:35 -04:00
Jeremy Stretch
a1cc15a604
Merge pull request #10557 from netbox-community/10556-graphql-display
...
#10556 add display to GraphQL
2022-10-05 15:51:54 -04:00
Arthur Hanson
24ba840be7
10472 graphene 3 ( #10473 )
...
* update to Graphene 3.0.0
* 10472 exempt view permissions on tests
* 10472 exempt permission check on graphql tests
2022-10-05 15:50:17 -04:00
jeremystretch
c481a1b6a2
Merge branch 'develop' into feature
2022-10-05 10:28:48 -04:00
jeremystretch
ae90ad1fb7
PRVB
2022-10-05 10:13:02 -04:00
jeremystretch
1c69bfaf2c
Release v3.3.5
2022-10-05 09:47:55 -04:00
jeremystretch
bdefd8ea8c
Fixes #10562 : Correct URL for contacts table tags column
2022-10-05 08:13:33 -04:00
jeremystretch
03946f2ca8
Fixes #10559 : Permit the pinning of a VM to a particular device within a cluster which has no site assignment
2022-10-04 15:46:55 -04:00
jeremystretch
fec8d1bc2f
Fixes #10423 : Enforce object type validation when creating journal entries
2022-10-04 15:26:52 -04:00
jeremystretch
53f5f46037
#10460 : Fix PowerFeed details
2022-10-04 14:36:14 -04:00
Arthur
81d99a0061
#10556 add display to GraphQL
2022-10-04 10:50:34 -07:00
jeremystretch
eef5cefb5d
Fixes #10460 : Restore missing connection details for device components
2022-10-03 16:11:24 -04:00
jeremystretch
7712b81ab9
Fixes #10517 : Automatically inherit site assignment from cluster when creating a virtual machine
2022-10-03 15:35:45 -04:00
PieterL75
d1efbf6620
Issue10352 removegetvariables ( #10475 )
...
* Add javascript to disable empty form fields
* add js cleanGetUrl
* use addEventListener submit
* use addEventListener
* update collectstatics
* Use FormData to remove empty fields
* optimeze ts-ignore
* update ts-ignore comment
* oneline of ts-ignore
* one line of ts-ingnore
* fix tsc errors by adding types (as per kkthxbye)
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com >
2022-10-03 14:32:01 -04:00
Arthur Hanson
0b6a3898fe
8424 device location ( #10544 )
...
* 8424 fix merge
* 8424 fix merge
* 8424 fix merge
* 8424 fix merge
2022-10-03 13:55:05 -04:00
Jeremy Stretch
517ebcfbcd
Merge pull request #10525 from netbox-community/10491-delete-dependant
...
10491 improve error message for ProtectedError on contact assignment
2022-10-03 13:27:34 -04:00
jeremystretch
9ef24d3f43
Fixes #10513 : Disable the reassignment of a module to a new device
2022-10-03 11:11:51 -04:00
jeremystretch
f7860138c7
Rename plugin_apps to django_apps for clarity
2022-09-30 17:18:12 -04:00
Jonathan Senecal
5c1417c4c7
PEP8 fixes
2022-09-30 17:18:12 -04:00
Jonathan Senecal
dc522a0135
Initial implementation
...
- Allows to specify a list of django-apps to be "installed" alongside the plugin.
(cherry picked from commit 6c7296200d756d2acbba3a589a7759f3a690cc48)
2022-09-30 17:18:12 -04:00
Jonathan Senecal
ac7db3cc88
Tidy-up imports and typing
...
(cherry picked from commit adee5cf6a8856ceda0170a4382cec8fd784be93b)
2022-09-30 17:18:12 -04:00
Patrick Hurrelmann
5cc55d1e99
Fixes : #10465 Format all remaining displayed rackunits with floatformat ( #10481 )
...
* Fixes : #10465 Try to finish #10268 and format all remaining displayed rackunits with floatformat
* #10465 : PEP8 fix
Co-authored-by: Patrick Hurrelmann <patrick.hurrelmann@nfon.com >
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-30 17:18:12 -04:00
jeremystretch
10352ff5ad
Merge branch 'develop' into feature
2022-09-30 17:17:18 -04:00
Arthur Hanson
204c10c053
9654 device weight ( #10448 )
...
* 9654 add weight fields to devices
* 9654 changes from code review
* 9654 change _abs_weight to grams
* Resolve migrations conflict
* 9654 code-review changes
* 9654 total weight on devices
* Misc cleanup
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2022-09-30 16:31:04 -04:00
Arthur Hanson
af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-30 16:03:24 -04:00
jeremystretch
ada5c58acf
Closes #10529 : Run validation on each value of a multi-value filter
2022-09-30 15:05:13 -04:00
Arthur
02ffc2ddee
10491 improve error message for ProtectedError on contact assignment
2022-09-30 09:09:21 -07:00
Jeremy Stretch
c95ad5b208
Merge pull request #10441 from netbox-community/9071-plugin-menu
...
9071 add header to plugin menu
2022-09-28 17:08:10 -04:00
Jeremy Stretch
5382ac20b6
Merge pull request #10488 from netbox-community/9249-device-vm-names
...
Closes #9249 : Ignore case for device/VM names
2022-09-28 17:05:57 -04:00
jeremystretch
3fbd514417
Add test for plugin menu registration
2022-09-28 16:57:40 -04:00
jeremystretch
d0465242a3
Add documentation for PluginMenu
2022-09-28 16:44:16 -04:00
jeremystretch
db90b084cf
Enable plugins to create root-level navigation menus
2022-09-28 16:08:03 -04:00
jeremystretch
00d2dcda68
Refactor navigation resources and menu
2022-09-28 15:56:09 -04:00
Arthur Hanson
20e3fdc782
#9045 #9046 - remove legacy fields from Provider ( #10377 )
...
* #9045 - remove legacy fields from Provider
* Add safegaurd for legacy data to migration
* 9045 remove fields from forms and tables
* Update unrelated tests to use ASN model instead of Provider
* Fix migrations collision
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-28 15:22:19 -04:00
jeremystretch
e977333177
Update device/VM name filters to be case-insensitive
2022-09-27 16:48:39 -04:00
jeremystretch
1d4f828b93
Device/VM unique constraints ignore case for name field
2022-09-27 16:47:56 -04:00
jeremystretch
7ff2cb75a8
Use templated app & model names for all unique constraints
2022-09-27 15:44:38 -04:00
jeremystretch
f51415cf2c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
jeremystretch
ec6457bcd3
Remove custom validate_unique() methods
2022-09-27 14:28:21 -04:00
jeremystretch
2d9852d6f1
Fixes #10408 : Fix validation when attempting to add redundant contact assignments
2022-09-27 13:11:57 -04:00
Patrick Hurrelmann
669e86f96e
Fixes : #10465 Format all remaining displayed rackunits with floatformat ( #10481 )
...
* Fixes : #10465 Try to finish #10268 and format all remaining displayed rackunits with floatformat
* #10465 : PEP8 fix
Co-authored-by: Patrick Hurrelmann <patrick.hurrelmann@nfon.com >
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-09-27 11:24:19 -04:00