1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

17 Commits

Author SHA1 Message Date
d2a694a878 Closes #12068: Establish a direct relationship from jobs to objects (#12075)
* Reference database object by GFK when running scripts & reports via UI

* Reference database object by GFK when running scripts & reports via API

* Remove old enqueue_job() method

* Enable filtering jobs by object

* Introduce ObjectJobsView

* Add tabbed views for report & script jobs

* Add object_id to JobSerializer

* Move generic relation to JobsMixin

* Clean up old naming
2023-03-28 15:47:09 -04:00
40572b543f Rename JobResult to Job and move to core 2023-03-27 14:20:13 -04:00
f7a2eb8aef Closes #11890: Sync/upload reports & scripts (#12059)
* Initial work on #11890

* Consolidate get_scripts() and get_reports() functions

* Introduce proxy models for script & report modules

* Add add/delete views for reports & scripts

* Add deletion links for modules

* Enable resolving scripts/reports from module class

* Remove get_modules() utility function

* Show results in report/script lists

* Misc cleanup

* Fix file uploads

* Support automatic migration for submodules

* Fix module child ordering

* Template cleanup

* Remove ManagedFile views

* Move is_script(), is_report() into extras.utils

* Fix URLs for nested reports & scripts

* Misc cleanup
2023-03-24 21:00:36 -04:00
356ff457be Allow reports to be nested in submodules 2022-09-14 19:57:37 +02:00
36d6ae33d1 Allow setting individual timeouts on scripts and reports 2022-04-04 18:00:38 +02:00
0a40418614 Fixes #5066: Update view_reportresult to view_report permission 2020-09-23 13:40:15 -04:00
c5e82a3895 fixes #5108 - correct the runreport management command to work with JobResults model 2020-09-10 17:43:41 -04:00
980d62d579 Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
00986fd7bf Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
3a0b57b50f Fixed typo 2017-10-12 13:47:44 -04:00
e86ec75513 Fixed 'failure' field name 2017-09-28 14:57:54 -04:00
b65e9fe0f5 Fixed runreport management command 2017-09-28 12:50:52 -04:00
d35a2b0faa Extended reports API 2017-09-25 17:27:58 -04:00
79fdf641c0 Implemented rough UI for accessing report results 2017-09-22 12:11:10 -04:00
b5ab498e75 Initial work on reports API 2017-09-21 16:32:05 -04:00
16d1f9aca8 Tweaked report run logic 2017-09-21 13:49:04 -04:00
8f1607e010 Initial work on reports 2017-09-19 17:47:42 -04:00