Jeremy Stretch
49ecf5aa8a
Wrote tests for config contexts
2018-07-03 15:47:54 -04:00
Jeremy Stretch
3ad8850ada
Fixed required fields on ConfigContextSerializer
2018-07-03 15:47:32 -04:00
Jeremy Stretch
89e196e86d
Tweak ConfigContext manager to allow for objects with a regionless site
2018-07-03 13:40:47 -04:00
Jeremy Stretch
d70ef4d3b3
Cleaned up tags table
2018-07-03 09:47:44 -04:00
Jeremy Stretch
d0308e0f58
Merge branch 'develop' into develop-2.4
2018-07-02 17:01:14 -04:00
Jeremy Stretch
97863115ba
Merge pull request #2206 from abeutot/switch_to_pycodestyle
...
Switch to pycodestyle
2018-07-02 13:38:36 -04:00
Jeremy Stretch
3e9cec3e8e
Closes #2159 : Allow custom choice field to specify a default choice
2018-06-29 16:01:28 -04:00
Jeremy Stretch
acfbe9c1b1
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
4824c75563
Merge pull request #2204 from lampwins/bug/2203
...
Fix #2203 - webhook content type check
2018-06-29 12:26:54 -04:00
Jeremy Stretch
bf1c7cacc6
Improved rendering of boolean fields in tables
2018-06-29 12:05:56 -04:00
Jeremy Stretch
b9bdd666da
Closes #2200 : Replaced detail_route API view decorator with action (DRF change)
2018-06-29 11:48:21 -04:00
Jeremy Stretch
278bacbce8
Fixed rendered config context ordering
2018-06-29 09:53:33 -04:00
Jeremy Stretch
743cf6d398
Added description to ConfigContext
2018-06-29 09:44:32 -04:00
Jeremy Stretch
ace7e3b108
Fixed is_active table column
2018-06-28 14:19:26 -04:00
Jeremy Stretch
1edc73179a
Sort rendered config context
2018-06-28 14:10:20 -04:00
Jeremy Stretch
62989ecb6e
Moved object context rendering to ObjectConfigContextView and standardized the template
2018-06-28 13:48:12 -04:00
Jeremy Stretch
b952ec73ce
Introduced the render_json template filter
2018-06-28 10:49:52 -04:00
John Anderson
65e18e057f
fixed #2203
2018-06-27 22:17:17 -04:00
Jeremy Stretch
c13e4858d7
Initial work on config contexts
2018-06-27 16:02:34 -04:00
Anaël Beutot
4e09b32dd9
Fix pycodestyle errors
...
Mainly two kind of errors:
* pokemon exceptions
* invalid escape sequences
2018-06-27 17:24:33 +02:00
Jeremy Stretch
b11c3635b0
Corrected import of reverse() for Django 2.0
2018-06-22 16:34:38 -04:00
Jeremy Stretch
36971b7651
Fixed changelog purging frequency
2018-06-22 16:23:07 -04:00
Jeremy Stretch
3bdfe9c249
Implemented changelog retention setting, automatic purging
2018-06-22 16:18:41 -04:00
Jeremy Stretch
4e6f73e452
Fixed invalid reference to content_type
2018-06-22 15:30:54 -04:00
Jeremy Stretch
2d198403c7
Extend ObjectChange to optionally indicate a related object (e.g. a parent device)
2018-06-22 15:05:40 -04:00
Jeremy Stretch
6c1b5fdf3a
Moved object serialization into a utility function
2018-06-22 14:00:23 -04:00
Jeremy Stretch
9d419de9dc
Merge branch 'develop-2.4' into 1898-activity-logging
2018-06-21 16:53:15 -04:00
Jeremy Stretch
b945dec41b
Closes #1687 : Enabled custom fields for services
2018-06-21 16:17:18 -04:00
Jeremy Stretch
e1055b7f97
Moved ObjectChange creation logic from middleware to ChangeLoggedModel
2018-06-21 13:24:26 -04:00
Jeremy Stretch
a1f6ed1713
Disabled the creation of new UserActions
2018-06-21 10:56:33 -04:00
Jeremy Stretch
ddd878683d
Implemented changelog views
2018-06-20 13:52:54 -04:00
Jeremy Stretch
a8b11e45c1
Record a unique request ID with each ObjectChange
2018-06-19 15:45:15 -04:00
Jeremy Stretch
23f91274d6
Added API serializer for ObjectChange
2018-06-19 15:04:56 -04:00
Jeremy Stretch
38569029d8
Prevent duplicate signals from change logging middleware
2018-06-14 16:18:42 -04:00
Jeremy Stretch
3c2e0b0b17
Added changelog views
2018-06-14 16:15:14 -04:00
Jeremy Stretch
33cf227bc8
Implemented new object change logging to replace UserActions
2018-06-13 17:06:33 -04:00
Jeremy Stretch
e4f336a843
Establish tests for the utilities app
2018-06-08 14:32:41 -04:00
Jeremy Stretch
efa118c3c8
Tweaked webhooks and Redis settings
2018-05-30 14:51:59 -04:00
Jeremy Stretch
503efe2d9d
Miscellaneous cleanup of the Webhook model
2018-05-30 13:59:00 -04:00
John Anderson
836478c166
Implements #81 - webhook event backend ( #1640 )
...
* merge branch develop
* bugfix, signals for virtualization's class wasn't correctly defined
* updated webhooks for 2.4 and cleanup
* updated docs to cover changes to supervisor config
* review changes and further cleanup
* updated redis connection settings
* cleanup settings
2018-05-30 11:19:10 -04:00
Jeremy Stretch
dc2f1d7c64
Added API views & tests for tags
2018-05-22 12:46:14 -04:00
Jeremy Stretch
03a1c48b54
Added list and utility views for tags
2018-05-22 12:22:46 -04:00
Jeremy Stretch
7241783249
Started merging writable serializers (WIP)
2018-04-04 17:01:24 -04:00
Jeremy Stretch
9725f19bae
Code formatting cleanup
2018-03-30 13:57:26 -04:00
Jeremy Stretch
0969c458b3
Closes #1842 : Implement support for Django 2.0
2018-03-30 10:39:22 -04:00
Jeremy Stretch
20cb13e1bb
Fixes #1975 : Correct filtering logic for custom boolean fields
2018-03-29 14:47:35 -04:00
luto
0b825ac3d0
compare strings using "==" not "is", fixes #1980
2018-03-21 14:28:59 +01:00
Jeremy Stretch
8b33b888b2
Merge branch 'develop' into develop-2.3
2018-02-21 16:16:20 -05:00
Jeremy Stretch
a5dc9537e5
Closes #1693 : Allow specifying loose or exact matching for custom field filters
2018-02-21 15:40:11 -05:00
Jeremy Stretch
6967b6bdc5
Fixes #1892 : Removed convenience function from an old migration (see #632 ) to fix database error on extras/0009_topologymap_type
2018-02-21 12:00:38 -05:00