kkthxbye-code
9bb8454be3
Update JS dependencies WIP
2022-10-04 15:02:37 +02:00
jeremystretch
0b23092c35
Fixes #10460 : Restore missing connection details for device components
2022-10-03 16:11:24 -04:00
jeremystretch
11df4a4e53
Fixes #10517 : Automatically inherit site assignment from cluster when creating a virtual machine
2022-10-03 15:35:45 -04:00
jeremystretch
639b0935b5
Changelog for #10352
2022-10-03 15:03:28 -04:00
PieterL75
8f99699123
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
jeremystretch
d48b15a559
Changelog for #8424 , #10491
2022-10-03 13:58:04 -04:00
jeremystretch
e3e3656a70
Closes #10346 : Document how to access plugin config parameters
2022-10-03 13:56:46 -04:00
Arthur Hanson
200d295660
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
40b6924ae9
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
8d6c315513
Fixes #10513 : Disable the reassignment of a module to a new device
2022-10-03 11:11:51 -04:00
jeremystretch
679a731f2c
Changelog for #9880
2022-09-30 17:30:18 -04:00
Jeremy Stretch
cfe97c2983
Merge pull request #10502 from jsenecal/9880-allow-plugins-to-register-apps
...
Allow Plugins to register a list of Django apps to be appended to INSTALLED_APPS
2022-09-30 17:28:56 -04:00
jeremystretch
5341f59fa5
Rename plugin_apps to django_apps for clarity
2022-09-30 17:18:12 -04:00
jeremystretch
be18d8e389
Docs cleanup
2022-09-30 17:18:12 -04:00
Jonathan Senecal
addd7fecfb
Update plugins development docs
2022-09-30 17:18:12 -04:00
Jonathan Senecal
2d8a1eb975
PEP8 fixes
2022-09-30 17:18:12 -04:00
Jonathan Senecal
53b9330dae
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
ad1d7b3ade
Tidy-up imports and typing
...
(cherry picked from commit adee5cf6a8856ceda0170a4382cec8fd784be93b)
2022-09-30 17:18:12 -04:00
Patrick Hurrelmann
16c33475d7
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
4a4fea40f5
Merge branch 'develop' into feature
2022-09-30 17:17:18 -04:00
jeremystretch
dc85a56118
Changelog for #9654 , #10348
2022-09-30 16:37:07 -04:00
Arthur Hanson
57cbd5243d
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
84f997dff4
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
25f59316f0
Closes #10529 : Run validation on each value of a multi-value filter
2022-09-30 15:05:13 -04:00
Arthur
44f9565c4d
10491 improve error message for ProtectedError on contact assignment
2022-09-30 09:09:21 -07:00
jeremystretch
de1bd6e1b6
Add workflow_dispatch event
2022-09-29 12:36:10 -04:00
jeremystretch
abd775b899
Move permissions block to root
2022-09-29 12:17:10 -04:00
jeremystretch
708b840269
Bump stale to v6
2022-09-29 12:00:44 -04:00
jeremystretch
1777ae6586
Tweak workflow permissions
2022-09-29 11:59:15 -04:00
Alex
23b7f5e9eb
GitHub Workflows security hardening ( #10456 )
...
* build: harden lock.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
* build: harden stale.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
* build: harden ci.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-29 11:41:33 -04:00
jeremystretch
9327341ad1
Changelog for #9045 , #9046 , #9071
2022-09-28 17:18:31 -04:00
Jeremy Stretch
5f550fecbe
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
4d40a52ccd
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
3f9a697516
Add test for plugin menu registration
2022-09-28 16:57:40 -04:00
jeremystretch
222ee23c00
Add documentation for PluginMenu
2022-09-28 16:44:16 -04:00
jeremystretch
0ed28ab36c
Enable plugins to create root-level navigation menus
2022-09-28 16:08:03 -04:00
jeremystretch
8ba74fa337
Refactor navigation resources and menu
2022-09-28 15:56:09 -04:00
Arthur Hanson
90f8b44f72
#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
544d3bbbfb
Fixes #10496 : Use page.canonical_url to identify ReadTheDocs builds
2022-09-28 09:30:38 -04:00
jeremystretch
6693570832
Changelog for #9249
2022-09-27 16:52:14 -04:00
jeremystretch
f4b2f87f14
Update device/VM name filters to be case-insensitive
2022-09-27 16:48:39 -04:00
jeremystretch
d6931e8160
Device/VM unique constraints ignore case for name field
2022-09-27 16:47:56 -04:00
Jeremy Stretch
9e6edf3e03
Merge pull request #10368 from netbox-community/10361-unique-constraints
...
Closes #10361 : Migrate from unique_together to UniqueConstraints
2022-09-27 15:55:44 -04:00
jeremystretch
a6a8f609bd
Use templated app & model names for all unique constraints
2022-09-27 15:44:38 -04:00
jeremystretch
8a2872641c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
jeremystretch
70a612d782
Remove custom validate_unique() methods
2022-09-27 14:28:21 -04:00
jeremystretch
8019761364
Fixes #10408 : Fix validation when attempting to add redundant contact assignments
2022-09-27 13:11:57 -04:00
jeremystretch
48df2874c7
Changelog for #10465 , #10480
2022-09-27 11:53:11 -04:00
Patrick Hurrelmann
49219e480c
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
Jeremy Stretch
640029f703
Merge pull request #10482 from phurrelmann/10480-fix-link-target-on-cable-svg
...
Fixes : #10480 Fix link-target on cable-trace svg
2022-09-27 11:07:14 -04:00