Commit Graph

2489 Commits

Author SHA1 Message Date
Jeremy Stretch
02e7cf1994 Closes #2159: Allow custom choice field to specify a default choice 2018-06-29 16:01:28 -04:00
Erik Hetland
5a43413c5c Adding Swagger settings to describe API authentication correctly. Fixes #1826 2018-06-29 22:01:01 +02:00
Jeremy Stretch
f023b47b0e Tweaked API error reporting from #2181 2018-06-29 15:18:30 -04:00
Jeremy Stretch
6093fbfb94 Fixes #2181: Raise validation error on invalid prefix_length when allocating next-available prefix 2018-06-29 15:10:30 -04:00
Jeremy Stretch
b8d551f45b Fixes #2173: Fixed IndexError when automaticating allocating IP addresses from large IPv6 prefixes 2018-06-29 14:52:37 -04:00
Jeremy Stretch
6ae9e7cd09 Fixes #2192: Prevent a 0U device from being assigned to a rack position 2018-06-29 14:09:20 -04:00
Jeremy Stretch
ea74f88b6a Closes #2194: Added 'address' filter to IPAddress model 2018-06-29 13:54:21 -04:00
Jeremy Stretch
6fe28e5047 Fixes #2191: Added missing static choices to circuits and DCIM API endpoints 2018-06-29 13:17:07 -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
11a253d0fc Merge pull request #2209 from digitalocean/revert-2169-patch-1
Revert "Closes #2168: Add Extreme SummitStack interface form factors"
2018-06-29 12:19:33 -04:00
Jeremy Stretch
babcd533df Revert "Closes #2168: Add Extreme SummitStack interface form factors" 2018-06-29 12:18:49 -04:00
Jeremy Stretch
69f7171b39 Merge pull request #2169 from tradiuz/patch-1
Closes #2168: Add Extreme SummitStack interface form factors
2018-06-29 12:18:37 -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
aeb91ea6e7 Closes #2029: Added optional NAPALM arguments to Platform model 2018-06-29 11:21:00 -04:00
Jeremy Stretch
8d551eb9a5 Include custom fields in ObjectChange data 2018-06-29 10:40:57 -04:00
Jeremy Stretch
8372ae4b2c Merge pull request #2208 from digitalocean/1349-config-contexts
1349 config contexts
2018-06-29 10:02:18 -04:00
Jeremy Stretch
20cfcb605e Added missing description field 2018-06-29 09:56:04 -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
9e7ee4b28b Applied JSON rederer to ConfigContext data 2018-06-28 14:05:57 -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
cff09f228a Merge pull request #2198 from digitalocean/1898-activity-logging
Closes #1898: Change logging
2018-06-25 13:36:48 -04:00
Jeremy Stretch
3bba5f2ae8 Fixes interface logging error 2018-06-25 13:29:23 -04:00
Jeremy Stretch
9bab7c8942 Log interface connection changes 2018-06-25 13:12:03 -04:00
Jeremy Stretch
5ba433b058 Corrected import of reverse() for Django 2.0 2018-06-22 16:34:38 -04:00
Jeremy Stretch
6b4ee90c09 Fixed Region model declaration 2018-06-22 16:34:07 -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
435732f4fd serialize_object(): Allow extra data to overwrite existing fields 2018-06-22 15:27:22 -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
Jeremy Stretch
2f0bac7f64 Closes #1673: Added object/list views for services 2018-06-21 15:55:27 -04:00
Jeremy Stretch
88cde1da28 Closes #2118: Added latitude and longitude fields to Site 2018-06-21 14:55:10 -04:00
Jeremy Stretch
ec8143fc1b Moved ObjectChange creation logic from middleware to ChangeLoggedModel 2018-06-21 13:24:26 -04:00
Jeremy Stretch
4a46474005 Disabled the creation of new UserActions 2018-06-21 10:56:33 -04:00
Jeremy Stretch
46cf4d69ee Fixed typo 2018-06-21 09:47:20 -04:00
Jeremy Stretch
51bb7cee5c Added changelog links for organizational models 2018-06-20 14:54:04 -04:00
Jeremy Stretch
d04b1dc304 Implemented changelog views 2018-06-20 13:52:54 -04:00
Jeremy Stretch
dbafc047da Record a unique request ID with each ObjectChange 2018-06-19 15:45:15 -04:00