Commit Graph

131 Commits

Author SHA1 Message Date
Saria Hajjar
0fa1701905 Added cluster groups and clusters to serializers 2020-01-28 17:30:26 +00:00
Jeremy Stretch
e1eb8a86df Remove obsolete utility function model_names_to_filter_dict() 2020-01-15 16:21:41 -05:00
Jeremy Stretch
3c24ad1df3 #3892: Convert GRAPH_MODELS to a Q object 2020-01-15 16:08:19 -05:00
Jeremy Stretch
c19ad86328 Refactor FieldChoicesViewSet; add Interface.type to virtualization _choices endpoint 2020-01-15 09:59:44 -05:00
Jeremy Stretch
6e5acf64c0 Rename ExportTemplateLanguageChoices to TemplateLanguageChoices 2020-01-15 09:40:05 -05:00
Jeremy Stretch
0254e5c404 Fix graph:type choices under /api/extras/_choices/ 2020-01-10 12:18:56 -05:00
Jeremy Stretch
5fec868f71 Add template_language field to Graph 2020-01-10 11:28:50 -05:00
Jeremy Stretch
f527edd728 Renamed extras FilterSets 2020-01-09 20:35:07 -05:00
Jeremy Stretch
ab7bb5c374 Merge branch 'develop' into develop-2.7 2020-01-02 17:21:15 -05:00
Jeremy Stretch
0cfc27b58b Fixes #3780: Fix AttributeError exception in API docs 2019-12-19 14:04:18 -05:00
Jeremy Stretch
b1863c6ffd Fixes #2358: Respect custom field default values when creating objects via the REST API 2019-12-13 14:15:48 -05:00
Jeremy Stretch
a5476108ee Represent and assign ConfigContext tags by their slugs 2019-12-11 16:04:43 -05:00
kobayashi
6f4eeaa83a implement 3664 2019-12-11 04:58:42 -05:00
Jeremy Stretch
ad9d33550f Closes #3731: Change Graph.type to a ContentType foreign key field 2019-12-06 10:32:59 -05:00
Jeremy Stretch
e4ffd4a5cc Merge branch 'develop-2.7' into 3569-api-choice-slugs 2019-12-05 17:43:11 -05:00
Jeremy Stretch
ef3d772894 ExportTemplate.template_language to slug (#3569) 2019-12-05 17:01:00 -05:00
Jeremy Stretch
0a72225ca9 ObjectChange.action to slug (#3569) 2019-12-05 16:30:15 -05:00
Sander Steffann
9b9a9bf8f5 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
0e0cdc65c0 CustomField.type to slug 2019-12-04 21:01:50 -05:00
Jeremy Stretch
865d50e5b6 'base_name' deprecated in DRF v3.9.0 2019-11-14 21:58:37 -05:00
Jeremy Stretch
01ac6d560d Merge branch 'develop' into develop-2.7 2019-11-01 16:19:36 -04:00
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
5fd9b27f9b Fix reporting of custom fields in webhook data on object deletion 2019-10-22 16:12:25 -04:00
Jeremy Stretch
5d179d54d1 Merge branch 'develop' into develop-2.7 2019-10-10 13:41:10 -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
b87689cf27 Closes #3352: Enable filtering changelog API by changed_object_id 2019-09-25 10:11:41 -04:00
Jeremy Stretch
212252d0ea Merge v2.6.3 2019-09-04 16:45:33 -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
0674e9572f Closes #2745: Remove topology maps 2019-08-08 21:33:20 -04: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
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
2b3be845cd Merge branch 'develop' into develop-2.6 2019-04-02 13:12:34 -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
Jeremy Stretch
6c94b53fca FieldChoicesViewSet should infer field choices from serializer, not model 2019-03-22 16:24:53 -04:00
Jeremy Stretch
80d8035f0e Fixes #2968: Correct API documentation for SerializerMethodFields 2019-03-08 10:25:09 -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
c679dd4ff8 initial pass on migrating to custom tag model with color and comments fields 2019-02-20 03:52:47 -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
6b1abd6a65 Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
Jeremy Stretch
9a4f3453fb Closes #2578: Reorganized nested serializers 2018-11-12 11:36:44 -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
6d11bbccb0 Closes #2292: Remove the deprecated UserAction model 2018-08-14 12:13:43 -04:00