Commit Graph

601 Commits

Author SHA1 Message Date
Jeremy Stretch
c34c4f2509 Improve script output serialization 2019-10-29 16:17:59 -04:00
Jeremy Stretch
88d3cc8498 Initial work on #3538: script execution API 2019-10-28 15:02:21 -04:00
Jeremy Stretch
c84e608f8e Merge pull request #3632 from netbox-community/3309-changelog-middleware
Rewrite change logging middleware
2019-10-25 09:47:32 -04:00
Jeremy Stretch
ebde65d1b2 Closes #3594: Add ChoiceVar for custom scripts 2019-10-23 15:59:27 -04:00
Jeremy Stretch
5fd9b27f9b Fix reporting of custom fields in webhook data on object deletion 2019-10-22 16:12:25 -04:00
Jeremy Stretch
b6beb37e36 Rewrote ObjectChangeMiddleware to remove the curried handle_deleted_object() function 2019-10-22 15:10:49 -04:00
Jeremy Stretch
bf54bb682e 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
c7d6f6e1c9 Rebase schema migrations 2019-10-17 15:53:10 -04:00
Jeremy Stretch
e65570dd48 Merge branch 'develop' into develop-2.7 2019-10-17 15:51:33 -04:00
Jeremy Stretch
c741e0dc43 Deleted errant import of graphviz 2019-10-17 15:43:49 -04:00
John Anderson
8d8ad02831 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
8895c415ed implements #3282 - seperate webhooks and caching redis configs 2019-10-13 02:49:54 -04:00
John Anderson
214c976b22 Merge branch 'develop' into develop-2.7 2019-10-13 02:03:16 -04:00
John Anderson
45806c312a 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
5d179d54d1 Merge branch 'develop' into develop-2.7 2019-10-10 13:41:10 -04:00
Jeremy Stretch
e705f4c3e4 Fixes #3588: Enforce object-form JSON for local context data on devices and VMs 2019-10-10 10:41:08 -04:00
Jeremy Stretch
46eb858a26 Closes #3581: Introduce commit_default custom script attribute to not commit changes by default 2019-10-09 15:16:50 -04:00
Jeremy Stretch
644b793b0a Closes #3545: Add MultiObjectVar for custom scripts 2019-10-09 15:06:00 -04:00
Jeremy Stretch
ce1c894c8b Closes #3580: Render text and URL fields as textareas in the custom link form 2019-10-09 09:40:24 -04:00
Jeremy Stretch
b4acade70d Miscellaneous cleanup 2019-10-04 12:59:10 -04:00
Jeremy Stretch
e861c984c7 Merge branch 'develop' into develop-2.7 2019-09-25 13:44:29 -04:00
Jeremy Stretch
ee0865478e Closes #3515: Enable export templates for inventory items 2019-09-25 12:07:41 -04:00
Jeremy Stretch
b87689cf27 Closes #3352: Enable filtering changelog API by changed_object_id 2019-09-25 10:11:41 -04:00
Jeremy Stretch
429fe9223a Merged v2.6.4 2019-09-20 08:35:14 -04:00
Jeremy Stretch
f426334c2e Closes #3485: Enable embedded graphs for devices 2019-09-18 15:59:52 -04:00
Jeremy Stretch
7f641c77f5 Fixes #3514: Label TextVar fields when rendering custom script forms 2019-09-18 15:39:26 -04:00
Jeremy Stretch
aedffce736 Closes #3510: Add minimum/maximum prefix length enforcement for IPNetworkVar 2019-09-17 16:36:36 -04:00
Jeremy Stretch
796917beac Fixes #3501: Fix rendering of checkboxes on custom script forms 2019-09-13 11:45:35 -04:00
Jeremy Stretch
5dd61562f7 Fixes #3489: Prevent exception triggered by webhook upon object deletion 2019-09-09 15:50:10 -04:00
Daniel Sheppard
7968515af0 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
f9cd812837 Renumber remove_topology_maps migration 2019-09-05 10:25:44 -04:00
Jeremy Stretch
212252d0ea Merge v2.6.3 2019-09-04 16:45:33 -04:00
Jeremy Stretch
3f87bdf5c4 Closes #3456: Enable bulk editing of tag color 2019-08-28 11:56:00 -04:00
Jeremy Stretch
0294f803a1 Fixes #3392: Add database index for ObjectChange time 2019-08-28 10:48:19 -04:00
Jeremy Stretch
21c196444e Simplify changelog cleanup logic 2019-08-28 10:44:05 -04:00
Jeremy Stretch
45f5ec7e60 Add tests for changelog 2019-08-28 10:18:37 -04:00
Jeremy Stretch
c251f32fbc Fixes #3452: Queue deletion ObjectChanges until after response is sent 2019-08-26 16:52:05 -04:00
Jeremy Stretch
0a18c86bfa Merge pull request #3423 from netbox-community/3415-custom-scripts
Add custom scripting
2019-08-26 14:06:22 -04:00
Jeremy Stretch
15a0240df0 Fix errant changelog entries when executing a script without committing 2019-08-26 11:59:38 -04:00
John Anderson
68c6c8b642 Merge branch 'develop' into 3428-cache-invalidation 2019-08-20 17:35:54 -04:00
Jeremy Stretch
ed6dc806a0 Introduce BaseScript for extending Script without creating a new executable script 2019-08-19 14:40:08 -04:00
Jeremy Stretch
1afa97f454 Import Django User model automatically when running nbshell 2019-08-19 11:47:50 -04:00
Jeremy Stretch
9d1516cadc Add tests for Script Variables 2019-08-19 10:41:44 -04:00
John Anderson
8bd1a48973 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
c8c6c783b2 Add FileVar for file uploads 2019-08-16 15:27:58 -04:00
Jeremy Stretch
bfd73db5b6 Change fields to field_order 2019-08-15 16:19:25 -04:00
Jeremy Stretch
f4b2015f1d Add TextVar for large text entry 2019-08-14 16:20:52 -04:00
Jeremy Stretch
9931d4d1a0 Add markdown rendering for log mesages 2019-08-14 14:38:11 -04:00
Jeremy Stretch
502e745509 Include stack trace when catching an exception 2019-08-14 14:26:13 -04:00
Jeremy Stretch
f0ec068650 Use TreeNodeChoiceField for MPTT objects 2019-08-14 14:03:11 -04:00
Jeremy Stretch
81bb6a59e2 Add convenience functions for loading YAML/JSON data from file 2019-08-14 13:08:21 -04:00
Jeremy Stretch
500eb63d9f Fix notice when form does not require user input 2019-08-14 10:18:25 -04:00
Jeremy Stretch
ce43e5f6ea Record script execution time 2019-08-14 10:12:30 -04:00
Jeremy Stretch
52de9d227a Tweak form display (cosmetic) 2019-08-14 09:40:23 -04:00
Jeremy Stretch
a0d181728a Add IPNetworkVar 2019-08-13 09:48:51 -04:00
Jeremy Stretch
f1e12213e7 Allow user to override module name 2019-08-13 09:09:12 -04:00
Jeremy Stretch
fc9a5c5cd1 Meta.fields should be optional 2019-08-12 16:59:09 -04:00
Jeremy Stretch
90bb0d47df Add option to commit database changes 2019-08-12 14:28:06 -04:00
Jeremy Stretch
ab16af1265 Implemented run_script() wrapper 2019-08-12 13:51:25 -04:00
Jeremy Stretch
eeacd04483 Move script attributes under a Meta class 2019-08-12 13:16:18 -04:00
Jeremy Stretch
cad46f81e6 Implemented permissions for scripts 2019-08-12 11:39:36 -04:00
Jeremy Stretch
8312a23056 BooleanVar cannot be required 2019-08-12 11:13:16 -04:00
Jeremy Stretch
1331072d92 Fix form field ordering 2019-08-12 11:13:16 -04:00
Jeremy Stretch
49a23f1fe9 Add options for script vars; include script output 2019-08-12 11:13:16 -04:00
Jeremy Stretch
f602ffbca7 Initial work on custom scripts (#3415) 2019-08-12 11:13:16 -04:00
Jeremy Stretch
0674e9572f Closes #2745: Remove topology maps 2019-08-08 21:33:20 -04:00
Jeremy Stretch
99d60dbfbd Closes #3314: Paginate object changelog entries 2019-07-18 21:40:36 -04:00
Jeremy Stretch
ad21710114 Fixes #3317: Fix permissions for ConfigContextBulkDeleteView 2019-07-02 09:39:26 -04:00
Jeremy Stretch
fa284c1ade Closes #3281: Hide custom links which render as empty text 2019-06-24 12:20:09 -04:00
Jeremy Stretch
5081486a1f Fixes #3279: Reset the PostgreSQL sequence for Tag and TaggedItem IDs 2019-06-21 17:34:06 -04:00
Jeremy Stretch
b76ff67de7 Fix test for tags view 2019-06-05 15:05:35 -04:00
Jeremy Stretch
35fb3f599c Add missing PermissionRequiredMixin to TagListView 2019-06-05 14:47:43 -04:00
Jeremy Stretch
31ed16335a Merged v2.5.13 2019-05-31 21:37:41 -04:00
Jeremy Stretch
e5094ca6b4 Remove request.user assertion from ObjectChangeMiddleware 2019-05-30 10:32:09 -04:00
Jeremy Stretch
1c807fa212 Closes #3185: Improve performance for custom field access within templates 2019-05-29 15:04:57 -04:00
hellerve
d264c5f011 urls: fix 3168 by changing url to path 2019-05-26 14:56:00 +02:00
Jeremy Stretch
53257a5838 Fixes #3190: Fix custom field rendering for Jinja2 export templates 2019-05-16 19:45:36 -04:00
Jeremy Stretch
9c597d7a96 Cleanup from #2931 2019-05-09 14:32:49 -04:00
dansheps
92f18d9076 Merge branch 'develop' of https://github.com/digitalocean/netbox into 2813-addtenantgroupfilter 2019-04-30 10:01:29 -05:00
Jeremy Stretch
d907037461 Fix erroneous merge conflict resolution from v2.5.11 2019-04-29 14:57:28 -04:00
Jeremy Stretch
c89a155f67 Merge v2.5.11 2019-04-29 14:40:18 -04:00
Jeremy Stretch
365825af5f Fixes #3116: Fix tagged_items count in tags API endpoint 2019-04-26 16:54:13 -04:00
John Anderson
5489f42681 closes #3104 - add support for exposing prometheus metrics 2019-04-25 01:09:19 -04:00
Jeremy Stretch
5f597c12de Cleanup from earlier work on caching 2019-04-22 14:49:31 -04:00
Jeremy Stretch
879cfb6a8f Increase length of CustomLink text and url fields 2019-04-19 14:58:55 -04:00
Jeremy Stretch
94837647d7 Misc cleanup 2019-04-19 14:56:40 -04:00
John Anderson
cf64c21cac Merge pull request #3080 from digitalocean/2647-cacheops
change cacheing to use cacheops
2019-04-19 01:41:59 -04:00
Jeremy Stretch
3fef0a1d2b Improve the logic for gathering models from all apps 2019-04-17 14:33:26 -04:00
Jeremy Stretch
7fd56d9a06 Clean up, update Webhook models 2019-04-17 14:19:57 -04:00
Jeremy Stretch
9c7074c529 Clean up limit_to for ForeignKeys referencing ContentType 2019-04-17 13:36:05 -04:00
John Anderson
65f357ff85 change cacheing to use cacheops 2019-04-17 12:29:21 -04:00
Jeremy Stretch
5f103e6aab Add limit_choices_to to CustomLink.content_type field 2019-04-15 21:53:22 -04:00
Jeremy Stretch
489d0f809c Merge pull request #3074 from digitalocean/969-custom-links
969 custom links
2019-04-15 21:43:17 -04:00
Jeremy Stretch
c7a70e3821 Add custom links to templates 2019-04-15 21:38:04 -04:00
Jeremy Stretch
ebb384f395 Custom link cleanup 2019-04-15 21:29:02 -04:00
Jeremy Stretch
c20028cb69 Initial work on #969: Custom links 2019-04-15 17:12:41 -04:00
John Anderson
0596a9a160 move caching to views 2019-04-15 14:41:04 -04:00
John Anderson
aae36cdce2 intial work on #2647 - caching 2019-04-15 03:55:33 -04:00
Jeremy Stretch
10f6b96b02 Enforce view permissions for UI views 2019-04-11 17:27:38 -04:00
dansheps
e0f27656b5 Move Filter and Form to new file, update all files 2019-04-10 08:37:12 -05:00
Jeremy Stretch
51e2c4165e Update migrations 2019-04-09 14:22:45 -04:00
Jeremy Stretch
9a690ef644 Merge branch 'develop-2.6' into 54-power-modeling 2019-04-09 14:12:45 -04:00
Jeremy Stretch
856651c4e8 Merge branch 'develop' into develop-2.6 2019-04-09 14:11:26 -04:00
Jeremy Stretch
197b0c5608 Closes #3052: Add Jinja2 support for export templates 2019-04-08 12:20:24 -04:00
Jeremy Stretch
40d6d811e5 Fixes #3039: Fix exception when retrieving change object for a component template via API 2019-04-04 15:00:59 -04:00
Jeremy Stretch
f065ecdf26 Merge branch 'develop-2.6' into 54-power-modeling 2019-04-02 13:15:40 -04:00
Jeremy Stretch
2b3be845cd Merge branch 'develop' into develop-2.6 2019-04-02 13:12:34 -04:00
Jeremy Stretch
bf94129f90 Fixes #3027: Ignore empty local context data when rendering config contexts 2019-03-28 10:16:28 -04:00
Jeremy Stretch
7a6c0d1d96 Fixes #3001: Fix API representation of ObjectChange action and add changed_object_type 2019-03-28 09:57:26 -04:00
John Anderson
b1351be750 implements #3025 - Add request ID to outbound webhook requests 2019-03-24 15:35:42 -04:00
John Anderson
a54d906be2 implements #2933 - username in webhooks 2019-03-24 15:31:12 -04:00
Jeremy Stretch
6c94b53fca FieldChoicesViewSet should infer field choices from serializer, not model 2019-03-22 16:24:53 -04:00
Jeremy Stretch
ef5811f30b Further work on power feed modeling 2019-03-21 17:47:43 -04:00
Alexander Kinneer
2db6af0a1e Add support for configuring use of an SSL connection to Redis.
Requires a build or release of django-rq containing
44f3fdd7cb
2019-03-18 11:26:37 -05:00
Jeremy Stretch
3f6c583074 Merge branch 'develop' into develop-2.6 2019-03-11 21:01:18 -04:00
Jeremy Stretch
80d8035f0e Fixes #2968: Correct API documentation for SerializerMethodFields 2019-03-08 10:25:09 -05:00
Jeremy Stretch
593105dd8f Merge pull request #2969 from DanSheps/2435-PrintingCSS
Closes #2435: Printer friendly CSS
2019-03-06 09:44:04 -05:00
dansheps
a7f5db45e4 * Added CSS to:
* Hide URLs
  * Hide elements with "noprint" class
* Added noprint to:
  * Header Panel
  * Search Panel, Tags Panel
  * Buttons
  * Various list elements
  * Related elements
2019-03-05 15:42:47 -06:00
Jeremy Stretch
2fa7a21250 Updated migrations to account for extras/0017_exporttemplate_mime_type_length 2019-03-05 13:46:37 -05:00
Jeremy Stretch
4bb54bb403 Merge branch 'develop' into develop-2.6 2019-03-05 13:39:00 -05:00
Jeremy Stretch
b3c753bb8a Fixes #2962: Increase ExportTemplate mime_type field length 2019-03-05 13:08:40 -05:00
Grokzen
0ce752c816 Closes #1792 - Add CustomFieldChoices API endpoint (#2941)
* Add new api endpoint for CustomFieldChoices

* Add changelog item for #1792

* Add tests for CustomFieldchoiceAPI endpoint
2019-03-04 15:58:40 -05:00
John Anderson
61927f5eb4 Merge branch 'develop-2.6' of github.com:digitalocean/netbox into develop-2.6 2019-03-03 19:06:05 -05:00
Jeremy Stretch
6d428b39d7 Force resolution of request User object when logging an object deletion (resolves intermittent test failures) 2019-02-28 11:40:32 -05:00
John Anderson
c06723f133 added changelog views for Tag 2019-02-22 02:29:00 -05:00
John Anderson
20bd8411d6 fix circular import for ObjectChange, for now... 2019-02-22 01:42:17 -05:00
John Anderson
b318811de8 refactor tag migrations and add changelog fields to tag 2019-02-22 01:32:31 -05:00
John Anderson
ed8adcf339 removed migration to delete taggit models 2019-02-21 00:15:15 -05:00
John Anderson
3e4a82f5ad added default values for comments and color fields on tag 2019-02-20 03:56:32 -05:00
John Anderson
c679dd4ff8 initial pass on migrating to custom tag model with color and comments fields 2019-02-20 03:52:47 -05:00
John Anderson
ce0c323de3 fixed #2910 - config context list and edit views not using select2 2019-02-18 21:10:15 -05:00
Jeremy Stretch
f66ecd3eb4 Implement basic view testing for all models (#2909) 2019-02-15 17:02:18 -05:00
Brian Candler
c513fa79b3 Show exception description on failure to render graphviz
This means that problems give a more specific reason.  In the event
that dot is not found, the error is now:

There was an error generating the requested graph: failed to execute ['dot',
'-Tpng'], make sure the Graphviz executables are on your systems' PATH
2019-01-01 11:41:54 +00:00
Jeremy Stretch
07557e9699 Fixes #2723: Correct permission evaluation when bulk deleting tags 2018-12-21 09:11:07 -05:00
Jeremy Stretch
0812c52495 Fixes #2717: Fix bulk deletion of tags 2018-12-21 09:08:00 -05:00
Jeremy Stretch
1246641fee Fixes #2687: Correct naming of before/after filters for changelog entries 2018-12-13 14:43:05 -05:00
Jeremy Stretch
0ce2930b81 Closes #2674: Enable filtering changelog by object type under web UI 2018-12-13 14:37:03 -05:00
Jeremy Stretch
1ed1f05daf Fixes #2684: Fix custom field filtering 2018-12-12 16:06:50 -05:00
Jeremy Stretch
a82d476f34 Fixes #2678: Fix error when viewing webhook in admin UI without write permission 2018-12-12 09:30:31 -05:00
Jeremy Stretch
13edc47a4d Merge v2.5 work 2018-12-07 10:51:28 -05:00
Jeremy Stretch
8cc582b360 Closes #2495: Enable deep-merging of config context data 2018-12-05 14:34:49 -05:00
John Anderson
12df37b155 fixes #2623 - model class being passed to rqworker 2018-12-04 00:40:54 -05:00
Jeremy Stretch
f1a2a724b4 Formatting cleanup 2018-11-27 11:57:29 -05:00
Jeremy Stretch
6b1abd6a65 Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
Tyler Bigler
c98de8e348 Refactor Extras Migration Version Check (#2604)
* Add constant for DB_MINIMUM_VERSION

* Refactor verify_postgresql_version to use Django connection pg_version method for comparing versions.

* Remove StrictVersion import

* Remove DB_MINIMUM_VERSION as not necessary in constants.

* Define DB_MINIMUM_VERSION locally to freeze to migration.

* Refactor database version verification to use django builtin methods.
2018-11-26 14:16:37 -05:00
Jeremy Stretch
b5ef607224 Merge v2.4.8 2018-11-20 12:28:24 -05:00
Jeremy Stretch
83cac4c90c Closes #2557: Added object view for tags 2018-11-15 16:47:41 -05:00
Jeremy Stretch
fb37af673b Closes #2490: Added bulk editing for config contexts 2018-11-13 15:08:55 -05:00
Jeremy Stretch
9a4f3453fb Closes #2578: Reorganized nested serializers 2018-11-12 11:36:44 -05:00
Jeremy Stretch
fb086de11a Fixes #2574: Remove duplicate interface links from topology maps 2018-11-09 09:54:30 -05:00
Jeremy Stretch
c0d9e86a34 Fixes #2563: Enable export templates for cables 2018-11-07 15:49:45 -05:00
Jeremy Stretch
f6d4ea00df Cleaned up import statements 2018-11-02 15:20:08 -04:00
Jeremy Stretch
5bc3f4b868 Fixed deprecation warnings from DRF 3.9 2018-11-02 13:48:44 -04:00
Jeremy Stretch
9cad97b073 Upgraded django-filter to 2.0.0 2018-11-02 13:46:28 -04:00
Jeremy Stretch
0623f45109 Cable migration for ExportTemplate 2018-11-01 14:54:53 -04:00
Jeremy Stretch
7e828b7f2a Extended Cables to connect CircuitTerminations 2018-10-30 12:16:22 -04:00
Jeremy Stretch
f3174c14f7 Deprecated the InterfaceConnection model 2018-10-24 13:59:44 -04:00
Jeremy Stretch
0370a91558 Renamed PowerPort.power_outlet to connected_endpoint 2018-10-24 11:00:13 -04:00
Jeremy Stretch
d4e159dec6 Renamed ConsolePort.cs_port to connected_endpoint 2018-10-24 10:37:54 -04:00
Jeremy Stretch
66db32fefd Merged release v2.4.5 2018-10-03 11:23:21 -04:00
John Anderson
912c0a7243 Merge branch 'develop' of github.com:digitalocean/netbox into local-config-context 2018-09-18 12:16:07 -04:00
John Anderson
0bda0a9334 refactored UI for local config context 2018-09-18 11:52:12 -04:00
Jeremy Stretch
af3d452675 Fixes #2443: Enforce JSON object format when creating config contexts 2018-09-18 11:46:22 -04:00
John Anderson
39b2a541af PEP8 fix 2018-09-16 00:30:51 -04:00
John Anderson
7997b70ba1 implemnted #2392 - local config context for devices and VMs 2018-09-16 00:25:20 -04:00
Jeremy Stretch
5c1385f16b Merge branch 'develop' into develop-2.5 2018-08-16 16:31:54 -04:00
Jeremy Stretch
34dda068c7 Closes #2367: Remove deprecated RPCClient functionality 2018-08-16 12:21:24 -04:00
Jeremy Stretch
36cac325bb Fixes #2362: Implemented custom admin site to properly handle BASE_PATH 2018-08-16 09:44:00 -04:00
Jeremy Stretch
6d11bbccb0 Closes #2292: Remove the deprecated UserAction model 2018-08-14 12:13:43 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
1724491366 Closes #2000: Remove support for Python 2 2018-08-14 11:48:12 -04:00
Jeremy Stretch
5a5b739517 Closes #2333: Added search filters for ConfigContexts 2018-08-09 12:22:34 -04:00
Jeremy Stretch
e107077192 Fixes #2322: Webhooks firing on non-enabled event types 2018-08-07 15:41:31 -04:00
Jeremy Stretch
bfdfe66bcf Fixes #2320: TypeError when dispatching a webhook with a secret key configured 2018-08-07 14:19:46 -04:00
Jeremy Stretch
40f7667e51 Fixes #2318: ImportError when viewing a report 2018-08-07 12:10:14 -04:00
Jeremy Stretch
318e5aac45 Fixes #2312: Running a report yields a ValueError exception 2018-08-07 09:12:05 -04:00
Jeremy Stretch
f7820ee0be Merge branch 'develop-2.4' into develop 2018-08-06 12:28:23 -04:00
Jeremy Stretch
d46cbcff5f Refactored the tests to remove a lot of boilerplate 2018-08-03 11:39:26 -04:00
Jeremy Stretch
09f6b76cc9 Fixes #2301: Fix model validation on assignment of ManyToMany fields via API patch 2018-08-03 10:45:53 -04:00
Jeremy Stretch
79fb2c5e08 Added tests for assigning tags during POST/PATCH 2018-08-02 14:23:30 -04:00
Jeremy Stretch
c029d7382e Mark UserAction as deprecated 2018-08-02 09:38:09 -04:00
Jeremy Stretch
f05261631c Closes #2213: Added squashed migrations 2018-08-01 14:01:20 -04:00
Jeremy Stretch
488acd99b6 Merge pull request #2290 from lampwins/bug/2137
Force webhooks to use the same JSONEncoder class as DRF - fixes #2137
2018-08-01 12:57:05 -04:00
John Anderson
8a55a6702a force webhooks to use the same JSONEncoder class as DRF - fixes #2137 2018-07-31 16:17:24 -04:00
Jeremy Stretch
e47ea595cc Fixes #1786: Correct loading of reports from a custom file path 2018-07-31 13:48:07 -04:00
Jeremy Stretch
fb99c5e0d0 Closes #2288: Fix exception when assigning objects to a ConfigContext via the API 2018-07-31 11:32:49 -04:00
Jeremy Stretch
fcdace0d70 Fixes #2284: Record object deletions before the request finishes 2018-07-30 16:33:37 -04:00
John Anderson
8c51fc86f4 Webhook signal refactor - fixes #2282 (#2260)
Refactor of webhook signaling system to use the same middleware mechanics of Changelogging
2018-07-30 14:23:49 -04:00
Jeremy Stretch
7809eb42d9 Renamed ChoiceFieldSerializer and ContentTypeFieldSerializer 2018-07-30 12:41:20 -04:00
Jeremy Stretch
3ce34fdff9 Remove admin UI views for ConfigContexts and ObjectChanges 2018-07-27 16:00:50 -04:00
Jeremy Stretch
3cef939e0c Closes #2229: Allow mapping of ConfigContexts to tenant groups 2018-07-27 15:47:29 -04:00
Jeremy Stretch
971a3f8d4d Fixes #2265: Include parent regions when filtering applicable ConfigContexts (credit: lampwins) 2018-07-27 15:10:43 -04:00
Jeremy Stretch
0d1bb22c6c Cleaned up BulkEditView and BulkDeleteView 2018-07-20 21:18:10 -04:00
Jeremy Stretch
bd2eed5285 Convert CustomFieldModel from object to abstract model 2018-07-20 19:44:04 -04:00
Jeremy Stretch
14d07634ad Enabled export templates for secrets 2018-07-17 10:34:50 -04:00
Jeremy Stretch
278f7228eb Closes #1739: Enabled custom fields for secrets 2018-07-17 09:43:57 -04:00
Jeremy Stretch
34a9573a0b Cleaned up imports 2018-07-16 17:09:21 -04:00
Jeremy Stretch
c6e54c6ee8 Webhook admin form cleanup 2018-07-16 13:54:50 -04:00
Jeremy Stretch
52e7f66b2c Enabled webhooks for device components 2018-07-16 13:34:00 -04:00
Jeremy Stretch
6a92419490 Link to related object if changed object has no URL 2018-07-16 13:29:57 -04:00