Commit Graph

265 Commits

Author SHA1 Message Date
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
Jeremy Stretch
66e066a8a7 Enabled export templates for services 2018-07-12 16:59:22 -04:00
Jeremy Stretch
e6308fcfb3 Enabled export templates for virtual chassis 2018-07-12 16:55:23 -04:00
Jeremy Stretch
707465d222 Cleaned up objectchange table 2018-07-12 13:54:22 -04:00
Jeremy Stretch
301f27cdd8 Enabled export templates for VRFs 2018-07-12 13:16:34 -04:00
Jeremy Stretch
5ff0c6014d Enabled webhooks for all (and only) primary models 2018-07-12 13:09:13 -04:00
Jeremy Stretch
ff6e84ae0e Misc cleanup for config contexts 2018-07-10 16:16:23 -04:00
Jeremy Stretch
c9cc41cc5b Adapted change logging to queue changes in thread-local storage and record them at the end of the request 2018-07-10 13:33:54 -04:00
Jeremy Stretch
6da5abbede Added bulk tag addition/removal 2018-07-10 10:00:21 -04:00
Jeremy Stretch
ca6a58b966 Wrote tests for config contexts 2018-07-03 15:47:54 -04:00
Jeremy Stretch
a96bc8b6d2 Fixed required fields on ConfigContextSerializer 2018-07-03 15:47:32 -04:00
Jeremy Stretch
adaf4614ed Tweak ConfigContext manager to allow for objects with a regionless site 2018-07-03 13:40:47 -04:00
Jeremy Stretch
eb7fc628cb Cleaned up tags table 2018-07-03 09:47:44 -04:00
Jeremy Stretch
4d92ffd153 Merge branch 'develop' into develop-2.4 2018-07-02 17:01:14 -04:00
Jeremy Stretch
9b8b7abfaf Merge pull request #2206 from abeutot/switch_to_pycodestyle
Switch to pycodestyle
2018-07-02 13:38:36 -04:00
Jeremy Stretch
02e7cf1994 Closes #2159: Allow custom choice field to specify a default choice 2018-06-29 16:01:28 -04:00
Jeremy Stretch
8d62a05f82 Merge branch 'develop-2.4' of https://github.com/digitalocean/netbox into develop-2.4 2018-06-29 12:27:08 -04:00
Jeremy Stretch
0f16a6289d Merge pull request #2204 from lampwins/bug/2203
Fix #2203 - webhook content type check
2018-06-29 12:26:54 -04:00
Jeremy Stretch
78226ddb12 Improved rendering of boolean fields in tables 2018-06-29 12:05:56 -04:00
Jeremy Stretch
999aebc167 Closes #2200: Replaced detail_route API view decorator with action (DRF change) 2018-06-29 11:48:21 -04:00
Jeremy Stretch
e0bde1b4eb Fixed rendered config context ordering 2018-06-29 09:53:33 -04:00
Jeremy Stretch
ba282a63e2 Added description to ConfigContext 2018-06-29 09:44:32 -04:00
Jeremy Stretch
7a7260bab3 Fixed is_active table column 2018-06-28 14:19:26 -04:00
Jeremy Stretch
ddae62905d Sort rendered config context 2018-06-28 14:10:20 -04:00
Jeremy Stretch
1f8e4698f9 Moved object context rendering to ObjectConfigContextView and standardized the template 2018-06-28 13:48:12 -04:00
Jeremy Stretch
aa8ffad29c Introduced the render_json template filter 2018-06-28 10:49:52 -04:00
John Anderson
71a2b629b4 fixed #2203 2018-06-27 22:17:17 -04:00
Jeremy Stretch
2b56131412 Initial work on config contexts 2018-06-27 16:02:34 -04:00
Anaël Beutot
992dacbb72 Fix pycodestyle errors
Mainly two kind of errors:
* pokemon exceptions
* invalid escape sequences
2018-06-27 17:24:33 +02:00
Jeremy Stretch
5ba433b058 Corrected import of reverse() for Django 2.0 2018-06-22 16:34:38 -04:00
Jeremy Stretch
2b1933876d Fixed changelog purging frequency 2018-06-22 16:23:07 -04:00
Jeremy Stretch
1d1af4cf1a Implemented changelog retention setting, automatic purging 2018-06-22 16:18:41 -04:00
Jeremy Stretch
786f163d09 Fixed invalid reference to content_type 2018-06-22 15:30:54 -04:00
Jeremy Stretch
895bae649f Extend ObjectChange to optionally indicate a related object (e.g. a parent device) 2018-06-22 15:05:40 -04:00
Jeremy Stretch
e3f625cb7b Moved object serialization into a utility function 2018-06-22 14:00:23 -04:00
Jeremy Stretch
837ae2b7b8 Merge branch 'develop-2.4' into 1898-activity-logging 2018-06-21 16:53:15 -04:00
Jeremy Stretch
337897e6e2 Closes #1687: Enabled custom fields for services 2018-06-21 16:17:18 -04:00