Jeremy Stretch
84a2b726f5
Merge pull request #3775 from steffann/3705-make-current-user-available-in-custom-scripts
...
Add request to Custom Script run, if receiver supports it
2019-12-26 10:04:07 -05:00
struppi
407a60dcc4
Closes #3663 : fix PEP errors
2019-12-26 12:26:41 +01:00
struppi
d31507985b
Closes #3663 : add Filter Tests
2019-12-25 18:41:59 +01:00
Sander Steffann
0174c9747b
Implement request passing as a property of Script
2019-12-19 23:35:18 +01:00
Jeremy Stretch
55b503da5b
Fixes #3780 : Fix AttributeError exception in API docs
2019-12-19 14:04:18 -05:00
Jeremy Stretch
a22c7c1539
Fixes #2358 : Respect custom field default values when creating objects via the REST API
2019-12-13 14:15:48 -05:00
Jeremy Stretch
590bbbce7f
Fix bug left over from work on #3569
2019-12-11 16:16:14 -05:00
Jeremy Stretch
19363add30
Represent and assign ConfigContext tags by their slugs
2019-12-11 16:04:43 -05:00
Jeremy Stretch
fd88ba65b2
Cleanup for #3664
2019-12-11 15:55:33 -05:00
Jeremy Stretch
ce4a5a38a3
Introduce is_taggable utility function for identifying taggable models
2019-12-11 15:52:35 -05:00
Jeremy Stretch
8b189abd58
Merge pull request #3752 from kobayashi/3664
...
implement 3664
2019-12-11 14:14:48 -05:00
Sander Steffann
f1e75b0fbb
Implement storage configuration as suggested by @jeremystretch
2019-12-11 16:09:32 +01:00
Sander Steffann
f7a1595ce5
Merge branch '1814-Ability_to_use_object_store_for_images' of github.com:steffann/netbox into 1814-Ability_to_use_object_store_for_images
2019-12-11 15:23:47 +01:00
Sander Steffann
dafa2513e3
Add support for S3 storage for media
2019-12-11 15:19:32 +01:00
kobayashi
5710f297f1
implement 3664
2019-12-11 04:58:42 -05:00
Jeremy Stretch
45917f8014
Closes #3408 : Remove WEBHOOKS_ENABLE configuration setting
2019-12-06 11:52:28 -05:00
Jeremy Stretch
7518174374
Closes #3731 : Change Graph.type to a ContentType foreign key field
2019-12-06 10:32:59 -05:00
Sander Steffann
02a009b7a7
Don't redefine exception but split the code
2019-12-06 16:32:18 +01:00
Jeremy Stretch
17898a4c57
Merge branch 'develop-2.7' into 3569-api-choice-slugs
2019-12-05 17:43:11 -05:00
Jeremy Stretch
5d772d7055
Webhook.http_content_type to slug ( #3569 )
2019-12-05 17:11:59 -05:00
Jeremy Stretch
89e720cb77
ExportTemplate.template_language to slug ( #3569 )
2019-12-05 17:01:00 -05:00
Jeremy Stretch
2583823e5f
Delete obsolete user action types
2019-12-05 16:50:44 -05:00
Jeremy Stretch
33890e6b97
Remain consistent with original action strings (e.g. 'created' instead of 'create')
2019-12-05 16:42:10 -05:00
Jeremy Stretch
a2b0da2608
Fix changelog table action labels
2019-12-05 16:37:22 -05:00
Jeremy Stretch
2bcbcd3458
ObjectChange.action to slug ( #3569 )
2019-12-05 16:30:15 -05:00
Jeremy Stretch
4e1ee270cf
Extend CustomField migration to update CustomFieldChoice.field.limit_choices_to
2019-12-05 16:02:52 -05:00
Jeremy Stretch
7a3c725f51
Convert BUTTON_CLASS_CHOICES to a ChoiceSet
2019-12-05 15:59:16 -05:00
Sander Steffann
adb25fd7d7
822 bulk import of device components ( #3711 )
...
Closes #822 : CSV import for device components
* Implement CSV import for netbox-community#822
* Comment out default_return_url until there is a proper target
* Fix the default value of `enabled` when not included in the import
* rear_port is definitely required here
* Power Ports don't have a type (yet)
* Add import for console-ports and console-server-ports
* Add import for device-bays
2019-12-05 15:36:11 -05:00
Jeremy Stretch
bfea77baa5
CustomField.filter_logic to slug
2019-12-04 21:09:02 -05:00
Jeremy Stretch
3ff22bea56
CustomField.type to slug
2019-12-04 21:01:50 -05: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
Sander Steffann
7306d56902
Add support for S3 storage for media
2019-11-03 14:16:12 +03:00
Jeremy Stretch
b8f1585976
Merge branch 'develop' into develop-2.7
2019-11-01 16:19:36 -04:00
Jeremy Stretch
391c42300e
Closes #3659 : Add filtering for objects in admin UI
2019-11-01 12:22:39 -04:00
Jeremy Stretch
0f65cf23a5
Only use module.name for human-facing display
2019-10-30 09:13:26 -04:00
Jeremy Stretch
fd3f718a0a
Add tests for custom script API
2019-10-29 16:54:27 -04:00
Jeremy Stretch
93d28e6a72
Improve script output serialization
2019-10-29 16:17:59 -04:00
Jeremy Stretch
1cfb8aea23
Initial work on #3538 : script execution API
2019-10-28 15:02:21 -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
Jeremy Stretch
bfce177a07
Merge pull request #3604 from netbox-community/3282-seperate-redis-config
...
implements #3282 - seperate webhooks and caching redis configs
2019-10-17 16:03:26 -04:00
Jeremy Stretch
8ca182571c
Rebase schema migrations
2019-10-17 15:53:10 -04:00
Jeremy Stretch
801dd384d8
Merge branch 'develop' into develop-2.7
2019-10-17 15:51:33 -04:00
Jeremy Stretch
adc96702db
Deleted errant import of graphviz
2019-10-17 15:43:49 -04:00