Sander Steffann
0174c9747b
Implement request passing as a property of Script
2019-12-19 23:35:18 +01:00
Jeremy Stretch
bfede60f3d
Rename CreatedUpdatedFilter to CreatedUpdatedFilterSet
2019-11-14 22:00:12 -05:00
Jeremy Stretch
03b8759597
'base_name' deprecated in DRF v3.9.0
2019-11-14 21:58:37 -05:00
struppi
0319450643
Closes #3663 : rename filter class
2019-11-07 22:41:09 +01:00
struppi
099774d667
Closes #3663 : PEP8 fixes
2019-11-07 22:38:51 +01:00
struppi
99a542e4e4
Closes #3663 : API filter by created, last_updated
2019-11-04 20:51:56 +01:00
Jeremy Stretch
391c42300e
Closes #3659 : Add filtering for objects in admin UI
2019-11-01 12:22:39 -04:00
Jeremy Stretch
5a5f51fe48
Merge pull request #3632 from netbox-community/3309-changelog-middleware
...
Rewrite change logging middleware
2019-10-25 09:47:32 -04:00
Jeremy Stretch
c7d8083ac6
Closes #3594 : Add ChoiceVar for custom scripts
2019-10-23 15:59:27 -04:00
Jeremy Stretch
0ebc2e4ac0
Fix reporting of custom fields in webhook data on object deletion
2019-10-22 16:12:25 -04:00
Jeremy Stretch
ccb9f7bfe2
Rewrote ObjectChangeMiddleware to remove the curried handle_deleted_object() function
2019-10-22 15:10:49 -04:00
John Anderson
c7d9bf839e
implemented #3445 - Add support for additional user defined headers to be added to webhook requests
2019-10-13 03:09:58 -04:00
John Anderson
09d7d38b04
implemented #3499 - Add to Webhook model to support user supplied CA certificate verrification of webhook requests
2019-10-13 01:43:08 -04:00
Jeremy Stretch
d849a49842
Fixes #3588 : Enforce object-form JSON for local context data on devices and VMs
2019-10-10 10:41:08 -04:00
Jeremy Stretch
99f7cfcbd3
Closes #3581 : Introduce commit_default custom script attribute to not commit changes by default
2019-10-09 15:16:50 -04:00
Jeremy Stretch
d402b6c3e5
Closes #3545 : Add MultiObjectVar for custom scripts
2019-10-09 15:06:00 -04:00
Jeremy Stretch
6068b1a275
Closes #3580 : Render text and URL fields as textareas in the custom link form
2019-10-09 09:40:24 -04:00
Jeremy Stretch
a3b9bdaff1
Miscellaneous cleanup
2019-10-04 12:59:10 -04:00
Jeremy Stretch
b7b04045de
Closes #3515 : Enable export templates for inventory items
2019-09-25 12:07:41 -04:00
Jeremy Stretch
d183a9e7b5
Closes #3352 : Enable filtering changelog API by changed_object_id
2019-09-25 10:11:41 -04:00
Jeremy Stretch
51fb0b59ec
Closes #3485 : Enable embedded graphs for devices
2019-09-18 15:59:52 -04:00
Jeremy Stretch
a0545568cd
Fixes #3514 : Label TextVar fields when rendering custom script forms
2019-09-18 15:39:26 -04:00
Jeremy Stretch
a742d897d7
Closes #3510 : Add minimum/maximum prefix length enforcement for IPNetworkVar
2019-09-17 16:36:36 -04:00
Jeremy Stretch
5962e7c942
Fixes #3501 : Fix rendering of checkboxes on custom script forms
2019-09-13 11:45:35 -04:00
Jeremy Stretch
355910e182
Fixes #3489 : Prevent exception triggered by webhook upon object deletion
2019-09-09 15:50:10 -04:00
Daniel Sheppard
8f5e73a598
Add filter for has local context data ( #3159 )
...
* Add filter for has local context data
* Broke out filter and form for re-use
* Fix missing StaticSelect2 import
* Fix missing BOOLEAN_WITH_BLANK_CHOICES import
* Fix class resolution
* Fix field ordering
* Fix PEP8 errors
2019-09-06 11:42:56 -05:00
Jeremy Stretch
8ff3d2cbf6
Closes #3456 : Enable bulk editing of tag color
2019-08-28 11:56:00 -04:00
Jeremy Stretch
5a911aa5a1
Fixes #3392 : Add database index for ObjectChange time
2019-08-28 10:48:19 -04:00
Jeremy Stretch
3078e366e2
Simplify changelog cleanup logic
2019-08-28 10:44:05 -04:00
Jeremy Stretch
22b8a45a71
Add tests for changelog
2019-08-28 10:18:37 -04:00
Jeremy Stretch
6e66f8d68a
Fixes #3452 : Queue deletion ObjectChanges until after response is sent
2019-08-26 16:52:05 -04:00
Jeremy Stretch
03ac2721bc
Merge pull request #3423 from netbox-community/3415-custom-scripts
...
Add custom scripting
2019-08-26 14:06:22 -04:00
Jeremy Stretch
9a9660a765
Fix errant changelog entries when executing a script without committing
2019-08-26 11:59:38 -04:00
John Anderson
63c3f423c2
Merge branch 'develop' into 3428-cache-invalidation
2019-08-20 17:35:54 -04:00
Jeremy Stretch
a4936ad0dd
Introduce BaseScript for extending Script without creating a new executable script
2019-08-19 14:40:08 -04:00
Jeremy Stretch
a02ded6b01
Import Django User model automatically when running nbshell
2019-08-19 11:47:50 -04:00
Jeremy Stretch
eb6e95ae9b
Add tests for Script Variables
2019-08-19 10:41:44 -04:00
John Anderson
ade844f7a7
fixes #3428 - caching invalidation issues
...
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
Jeremy Stretch
de770faf6a
Add FileVar for file uploads
2019-08-16 15:27:58 -04:00
Jeremy Stretch
99394de14e
Change fields to field_order
2019-08-15 16:19:25 -04:00
Jeremy Stretch
cb0dbc0769
Add TextVar for large text entry
2019-08-14 16:20:52 -04:00
Jeremy Stretch
f8326ef6df
Add markdown rendering for log mesages
2019-08-14 14:38:11 -04:00
Jeremy Stretch
434e656e27
Include stack trace when catching an exception
2019-08-14 14:26:13 -04:00
Jeremy Stretch
8bd1fad7d0
Use TreeNodeChoiceField for MPTT objects
2019-08-14 14:03:11 -04:00
Jeremy Stretch
7f65e009a8
Add convenience functions for loading YAML/JSON data from file
2019-08-14 13:08:21 -04:00
Jeremy Stretch
9c079ead4c
Fix notice when form does not require user input
2019-08-14 10:18:25 -04:00
Jeremy Stretch
c562af3a13
Record script execution time
2019-08-14 10:12:30 -04:00
Jeremy Stretch
30e14db881
Tweak form display (cosmetic)
2019-08-14 09:40:23 -04:00
Jeremy Stretch
dab30f50d3
Add IPNetworkVar
2019-08-13 09:48:51 -04:00
Jeremy Stretch
3d6a583ce4
Allow user to override module name
2019-08-13 09:09:12 -04:00