Commit Graph

10748 Commits

Author SHA1 Message Date
kkthxbye-code
91cb060729 PEP8 fix 2022-10-21 10:42:49 +02:00
kkthxbye-code
ee2bfa7b95 Job scheduling review changes 2022-10-21 10:31:30 +02:00
jeremystretch
c18a7f09bc Merge branch 'feature' into 8366-job-scheduling 2022-10-20 17:03:57 -04:00
jeremystretch
fd3435cb4c Changelog for #9584, #10580, #10639 2022-10-20 16:31:52 -04:00
Arthur Hanson
c5e2290bd3 9584 add device type (slug) to filter list (#10630)
* 9584 add device type (slug) to filter list

* 9584 add test
2022-10-20 16:27:51 -04:00
Craig Pund
9b5d2d2178 Fixes #10580 (#10687)
* change IP address accessor to parent object

* set IP assigned check to link to interface

* Fix Assigned not being orderable

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

Co-authored-by: Craig Pund <cpund@iuhealth.org>
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-10-20 16:26:26 -04:00
Patrick Rauscher
a9af9db22a Set *_COOKIE_PATH according to BASE_PATH
As discussed in #10639, all three `COOKIE_PATH`s should be set accordingly with the netbox-`BASE_PATH` to improve coexistance with other Django-projects probably hosted on the same Host
2022-10-20 16:24:38 -04:00
jeremystretch
a8ec25d635 Merge branch 'develop' into feature 2022-10-20 16:07:03 -04:00
jeremystretch
b5d77a7776 Fixes #10712: Fix ModuleNotFoundError exception when generating API schema under Python 3.9+ 2022-10-20 15:49:13 -04:00
kkthxbye-code
1781414a7a Allow scheduling jobs via. the API 2022-10-20 21:36:43 +02:00
jeremystretch
718a85cf58 Closes #10699: Remove custom import_object() function 2022-10-19 10:40:39 -04:00
jeremystretch
2c561fdd1c Update documentation section options for new issues 2022-10-19 09:52:10 -04:00
jeremystretch
5acc7a941b Changelog for #10643, #10646 2022-10-19 09:02:09 -04:00
jeremystretch
cedc528a4b Revert PR #10621 2022-10-19 08:55:30 -04:00
jeremystretch
b55993086d Fix styling for power input, rear port connection links 2022-10-19 08:47:14 -04:00
Arthur
9983197282 10646 fix cable power feed filter 2022-10-19 08:42:55 -04:00
Arthur Hanson
081911df00 10643 add fieldset to device role for improved add/edit form display (#10680)
* 10643 add fieldset to device role for improved add/edit form display

* 10643 update other forms

* 10643 update other forms

* Specify fieldsets for additional models

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-19 08:35:23 -04:00
jeremystretch
99925720f9 Closes #10685: Position A/Z termination cards above the fold under circuit view 2022-10-18 16:51:37 -04:00
Arthur Hanson
6d5f7919b6 10655 fix contacts display in list views (#10681)
* 10655 fix contacts display in list views

* 10655 review changes
2022-10-18 16:47:14 -04:00
Arthur
0bf2b18715 10584 add clone fields to ipam-service 2022-10-18 16:06:31 -04:00
kkthxbye-code
fd37baa6fa Added delete button to script/report result 2022-10-17 09:54:23 +02:00
kkthxbye-code
d92e689a1c Added documentation describing job scheduling 2022-10-16 18:15:45 +02:00
kkthxbye-code
11b430e55f Add scheduled_time to JobResultSerializer 2022-10-16 15:27:33 +02:00
kkthxbye-code
886359c0c5 Remove JobResult view from admin panel 2022-10-16 15:20:38 +02:00
kkthxbye-code
6056858b83 Allow export of JobResult table 2022-10-16 15:18:54 +02:00
kkthxbye-code
dd115c6c96 Always activate scheduler functionality when running the rqworker management command 2022-10-16 13:47:15 +02:00
kkthxbye-code
59cd87b283 Added scheduled_time field to JobResult model 2022-10-16 13:42:28 +02:00
Arthur
f1944bce18 10631 add extra GraphQL documentation 2022-10-13 08:08:26 -04:00
jeremystretch
327b79908c Changelog for #8245 2022-10-12 13:43:31 -04:00
Arthur Hanson
8f5e2f8479 8245 add graphql filtering at all levels (#10618)
* 8245 monkey-patch graphene-django to support filtering at all levels

* 8245 fix tests

* 8245 fix tests
2022-10-12 13:21:34 -04:00
jeremystretch
63e5728c79 Changelog for #10575, #10596 2022-10-12 08:41:41 -04:00
Arthur
d16db5defb 10575 add requirements for openid connect packages 2022-10-12 08:39:14 -04:00
Arthur Hanson
597578f5c3 10571 replace deprecated mkdoc settings (#10622)
* 10571 replace deprecated mkdoc settings

* Omit landing page from docs nav menu

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-12 08:36:02 -04:00
Arthur Hanson
c08afd9197 10596 add overflow-auto to card-body (#10621)
* 10596 add overflow-auto to card-body

* 10596 add overflow-auto to card-body
2022-10-12 08:31:02 -04:00
jeremystretch
89e63f54c3 Changelog for #9817, #10595 2022-10-11 12:35:50 -04:00
Arthur Hanson
d9bf5d0b3b 10595 extend graphql relationships (#10603)
* 9817 add graphql l2vpntermination assigned_object

* 9817 add graphql ipaddressassignment assigned_object

* 9817 ipan graphql gfk

* 9817 dcim graphql gfk

* 9817 dcim graphql gfk

* 9817 fix tests

* 10595 cable a_terminations to graphql

* 10595 add contacts to graphql

* 10595 move contacts to Provider
2022-10-11 12:26:18 -04:00
Arthur Hanson
f63ee79a35 8927 plugin search (#10489)
* #7016 base search classes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 get search choices working

* 8927 cleanup - optimize

* 8927 use backend search function

* 8927 fix for plugin search

* 8927 add docs

* Move search app to a module under netbox/

* Utilize global registry to register model search classes

* Build search form options from registry

* Determine search categories from model app by default

* Enable dynamic search registration for plugins

* Update docs & improve plugin support

* Clean up search backend class

* Docs for #8927

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-10 14:00:59 -04:00
jeremystretch
89786934dc #9072: Add hide_if_empty argument to ViewTab 2022-10-10 08:11:29 -04:00
kkthxbye-code
6fc89db923 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
396d1016a3 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
b8dae34eb5 Merge branch 'feature' into 8366-job-scheduling
Sync with upstream
2022-10-09 11:18:47 +02:00
Jeremy Stretch
d9783f3df3 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
c042c7e166 Closes #10608: Register all core model views using register_model_view() 2022-10-07 17:17:58 -04:00
Jeremy Stretch
f470f9620b 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
2a065f7603 Docs and test for #9072 2022-10-07 15:03:52 -04:00
jeremystretch
95ac085bec Add device NAPALM view tabs 2022-10-07 14:17:18 -04:00
jeremystretch
21b9d38748 Replace active_tab context for object views 2022-10-07 12:14:19 -04:00
jeremystretch
0a8d83cec1 Wrap model detail views with register_model_view() 2022-10-07 11:36:14 -04:00
jeremystretch
98f32fbdba Introduce ViewTab 2022-10-07 10:54:34 -04:00
jeremystretch
56f2747e77 Changelog for #9478 2022-10-06 16:54:19 -04:00