kkthxbye-code
1d9808a92a
Added scheduled_time field to JobResult model
2022-10-16 13:42:28 +02:00
kkthxbye-code
ef0b455b05
Called super delete method before deleting JobResult task.
...
Done to avoid having deleted a task on accident if the deleting of the JobResult fails.
2022-10-09 21:16:26 +02:00
kkthxbye-code
679a9e839b
Work on job scheduling:
...
* Added JobResult form filtersets
* Change housekeeping cleanup delete from `_raw_delete` to `delete` to make sure scheduled tasks are cancelled
* Change default sort of JobResult table to -created
* Added `delete` override to `JobResult` to remove scheduled tasks from RQ when a JobResult is deleted
* Updated js/css dist files. Will need to be redone when develop is merged to feature.
2022-10-09 21:05:31 +02:00
kkthxbye-code
53c8a48244
Merge branch 'feature' into 8366-job-scheduling
...
Sync with upstream
2022-10-09 11:18:47 +02:00
Jeremy Stretch
3f37914b3c
Merge pull request #10609 from netbox-community/10608-registered-model-views
...
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:58:07 -04:00
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
jeremystretch
663652f45e
Changelog for #9478
2022-10-06 16:54:19 -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
jeremystretch
664d5db5eb
Changelog for #10556
2022-10-05 15:53:50 -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
Jeremy Stretch
56d9725c39
Merge pull request #10570 from netbox-community/develop
...
Release v3.3.5
2022-10-05 10:10:44 -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
jeremystretch
7feb86fe55
Changelog for #10352
2022-10-03 15:03:28 -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
jeremystretch
aabee05a6a
Changelog for #8424 , #10491
2022-10-03 13:58:04 -04:00
jeremystretch
cf062b5b6a
Closes #10346 : Document how to access plugin config parameters
2022-10-03 13:56:46 -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
568e0c7ff6
Changelog for #9880
2022-09-30 17:30:18 -04:00
Jeremy Stretch
a454a3f74e
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
f7860138c7
Rename plugin_apps to django_apps for clarity
2022-09-30 17:18:12 -04:00
jeremystretch
0607295081
Docs cleanup
2022-09-30 17:18:12 -04:00
Jonathan Senecal
d4a7af8a89
Update plugins development docs
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
jeremystretch
97d561ac33
Changelog for #9654 , #10348
2022-09-30 16:37:07 -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