Jeremy Stretch
312291b010
Merge branch 'develop' into feature
2024-05-01 16:09:14 -04:00
JCWasmx86
3cbade536e
Fixes #15812 : Add Date(Time)Var for scripts to allow much easier date… ( #15821 )
...
* Fixes #15812 : Add Date(Time)Var for scripts to allow much easier date input
* Extend tests for invalid data
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-29 12:46:39 -04:00
Jeremy Stretch
709eac6b98
Closes #15292 : Remove obsolete device_role attribute from Device model
2024-03-01 11:31:47 -05:00
Jeremy Stretch
3ddacf4b88
Merge branch 'develop' into feature
2024-02-21 16:24:23 -05:00
Jeremy Stretch
20824ceb25
Closes #13283 : Add context to dropdown options ( #15104 )
...
* Initial work on #13283
* Enable passing TomSelect HTML template attibutes on DynamicModelChoiceField
* Merge disabled_indicator into option_attrs
* Add support for annotating a numeric count on dropdown options
* Annotate parent object on relevant fields
* Improve rendering of color options
* Improve rendering of color options
* Rename option_attrs to context
* Expose option context on ObjectVar for custom scripts
* Document dropdown context variables
2024-02-13 16:31:17 -05:00
Arthur Hanson
11697d19a6
12510 Merge Scripts and Reports ( #14976 )
...
* 12510 move reports to use BaseScript
* 12510 merge report into script view
* 12510 add migration for job report to script
* 12510 update templates
* 12510 remove reports
* 12510 cleanup
* 12510 legacy jobs
* 12510 legacy jobs
* 12510 fixes
* 12510 review changes
* 12510 review changes
* 12510 update docs
* 12510 review changes
* 12510 review changes
* 12510 review changes
* 12510 review changes
* 12510 main log results to empty string
* 12510 move migration
* Introduce an internal log level for debug to simplify Script logging
* Misc cleanup
* Remove obsolete is_valid() method
* Reformat script job data (log, output, tests)
* Remove ScriptLogMessageSerializer
* Fix formatting of script logs
* Record a timestamp with script logs
* Rename _current_method to _current_test
* Clean up template
* Remove obsolete runreport management command
* Misc cleanup & refactoring
* Clean up template
* Clean up migration
* Clean up docs
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-02-07 12:02:09 -05:00
Anders Harrisson
4afebd3565
Fix custom script documentation example script
...
The example script still uses the old "role" field when creating
a Device object.
Fixes #15052
2024-02-06 12:42:17 +01:00
Markku Leiniö
3d941411d4
Fixes #14722 : Change references to admin UI to Admin menu ( #14743 )
...
* Change references to admin UI to Admin menu
* Change also for reports and custom scripts
* Minor tweaks to help text flow better
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-01-10 16:04:46 -05:00
Arthur Hanson
bbb133019d
13815 document view permissions for scripts ( #13943 )
...
* 13815 document view permissions for scripts
* Replicate permissions note for reports
* Remove duplicated text
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-05 15:15:50 -04:00
Abhimanyu Saharan
0bb86f1e7d
Replaces device_role with role on device model ( #13342 )
...
* replaces device_role with role on device model #6391
* fixes lint issue #6391
* revert the database user
* revert test_runner comment
* changes as per review
* Update references to device_role column in UserConfigs
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-02 09:55:52 -04:00
Abhimanyu Saharan
1af3ba9496
Adds full_clean in examples ( #12527 )
...
* adds full_clean in examples #11689
* removes extra info
2023-05-09 08:31:50 -04:00
jeremystretch
d5d2431cbd
Docs cleanup for v3.5
2023-04-18 16:58:53 -04:00
jeremystretch
197c6a1cbf
Add scheduling_enabled parameter for scripts
2023-04-18 08:45:31 -04:00
jeremystretch
3b9fda0169
Merge branch 'develop' into feature
2023-03-20 08:54:22 -04:00
Ryan Merolle
4286d74d44
Add fieldsets functionality to scripts to allow for form field groupings ( #11880 )
...
* update script template
* update docs
* introduce default_fieldset
* correct custom script docs
* default to use fieldsets in scripts
* update scripts docs for new behavior
* Misc cleanup
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-14 15:50:49 -04:00
jeremystretch
ef3ac25406
Remove old feature version notices
2023-02-19 20:09:51 -05:00
Maximilian Wilhelm
699edd049c
Closes #11152 : Add support to abort custom script gracefully ( #11621 )
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2023-02-02 15:22:55 -05:00
kkthxbye-code
4f95c5a72c
Allow scheduling jobs via. the API
2022-10-20 21:36:43 +02:00
kkthxbye-code
52faeb6f60
Added documentation describing job scheduling
2022-10-16 18:15:45 +02:00
Daniel Sheppard
86d366be4d
Fixes #9651 - Document Pre-Change process for scripts
2022-09-20 09:46:23 -05:00
jeremystretch
1d8b8aad3b
Changelog & documentation for #5479
2022-04-08 14:10:21 -04:00
kkthxbye-code
36d6ae33d1
Allow setting individual timeouts on scripts and reports
2022-04-04 18:00:38 +02:00
jeremystretch
69eb6b11d0
Closes #8368 : Enable controlling the order of custom script form fields with field_order
2022-01-18 16:01:40 -05:00
Jeremy Stretch
2e20d7f02b
Merge pull request #7677 from netbox-community/6529-command-line-run-scripts
...
#6529 - Add CLI to run scripts
2021-11-03 08:10:36 -04:00
Daniel Sheppard
19bacc9e23
#6529 - Adjusted the arguments. Fixed documentation
2021-11-02 21:37:11 -05:00
Daniel Sheppard
7c3318df92
#6529 - Adjusted the arguments. Added documentation
2021-11-02 15:56:42 -05:00
bluikko
b5e8157700
Fix #7685 : Doc image links ( #7698 )
...
* Fix image link in custom-script.md
* Fix image link in cable.md
* Fix image link in power.md
2021-11-01 09:13:18 -04:00
maximumG
7337630704
chore: introduce the script_order notion in the documentation
2021-09-30 09:21:38 +02:00
jeremystretch
baf045aed6
Clean up documentation build warnings
2021-09-15 11:46:58 -04:00
jeremystretch
036a068b83
Update extras documentation
2021-06-24 08:37:06 -04:00