Commit Graph

3823 Commits

Author SHA1 Message Date
John Anderson
21cd260a6c review updates to svg rendering 2019-12-11 13:39:10 -05:00
John Anderson
51bd14a1d8 updated changelog with deprecation notice of rack units endpoint 2019-12-11 10:39:46 -05:00
John Anderson
fd01358773 changelog for #2248 2019-12-11 10:34:44 -05:00
John Anderson
672afac981 drf-yasg updates for rack elevations 2019-12-11 09:45:08 -05:00
John Anderson
c9c42bdb9a removed rack elevations viewset 2019-12-10 03:19:26 -05:00
John Anderson
29f28449b1 initial cleanup of rack elevations 2019-12-10 03:18:10 -05:00
John Anderson
877d8d7b7b Merge branch 'develop-2.7' into 2248-svg-rack-elevations 2019-12-10 02:59:04 -05:00
John Anderson
e255ed5256 Merge pull request #3702 from hellerve/rack-elevations-api
Rack elevations API
2019-12-09 01:02:40 -05:00
John Anderson
0dfddeff6b update openapi field type for choice field value fields to string 2019-12-09 00:41:43 -05:00
hellerve
7dbac272d9 dcim api: fix face default value in rackviewset 2019-12-08 18:24:13 +01:00
hellerve
23304476ba dcim api: add feedback from @jeremystretch to rack elevations api 2019-12-08 18:14:59 +01:00
hellerve
26006c1306 dcim: make linter happy 2019-12-08 17:59:40 +01:00
hellerve
23ecdf7f1b tests: update to reflect absence of utility functions 2019-12-08 17:59:40 +01:00
hellerve
ad0a182201 dcim: remove elevation getters 2019-12-08 17:59:38 +01:00
hellerve
23ab34141c css: purge outdated rack styling 2019-12-08 17:58:36 +01:00
hellerve
2cf8abe618 requirements: fix svgwrite version 2019-12-08 17:58:35 +01:00
hellerve
4cd18e4e19 dcim: refactor reservations and make them resizable 2019-12-08 17:58:21 +01:00
hellerve
589c4c4e7a dcim: add inline stylesheet to rack elevation api view 2019-12-08 17:58:21 +01:00
hellerve
39cc9a7f43 dcim: fix fonts & texts in svg 2019-12-08 17:58:21 +01:00
hellerve
7defacfd7d dcim: make front and rear work (references #2248) 2019-12-08 17:58:21 +01:00
hellerve
cbd9731a37 dcim: add rack-elevations api endpoint (references #2248) 2019-12-08 17:58:20 +01:00
Jeremy Stretch
afcf796128 ClusterForm should inherit from TenancyForm 2019-12-06 16:47:29 -05:00
Jeremy Stretch
9719098f6b Closes #648: Pre-populate forms when selecting "create and add another" 2019-12-06 16:40:39 -05:00
Jeremy Stretch
beed4c2cb8 Implement tag replication for #33 2019-12-06 16:22:56 -05:00
Jeremy Stretch
ef79579119 Closes #33: Add ability to clone objects (pre-populate form fields) 2019-12-06 16:13:52 -05:00
Jeremy Stretch
511d0fbed0 Default to localhost in example Redis configs (needed for CI to work) 2019-12-06 12:00:51 -05:00
Jeremy Stretch
3eb2c631c7 Closes #3408: Remove WEBHOOKS_ENABLE configuration setting 2019-12-06 11:52:28 -05:00
Jeremy Stretch
e92c246e2c Add ITA plug/outlet types (#792) 2019-12-06 11:26:44 -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
31a9917c78 Changelog updates 2019-12-05 20:52:30 -05:00
Jeremy Stretch
4a84fe07b8 Merge pull request #3732 from netbox-community/3569-api-choice-slugs
Replace API integer API choice values with slugs
2019-12-05 17:53:47 -05:00
Jeremy Stretch
809e9d1f8b Adapt device component import forms from #3711 2019-12-05 17:49:44 -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
645aa2a295 Annotate all migration operation lists 2019-12-05 17:42:33 -05:00
Jeremy Stretch
d6557b63f6 Webhook.http_content_type to slug (#3569) 2019-12-05 17:11:59 -05:00
Daniel Sheppard
75e47fa00b Add list view for device components (#3719)
* Initial Work on #3564

* #3564 - Fixup issue with filter on interface

* #3564 - Fix PEP8 errors

* #3564 - Finalize fields, readjust order, reduce repetition

* #3564 - Update Changelog

* #3564 - Fix extra space

* #3564 - Change interface table ordering

* #3564 - Minor cleanup

* #3564 - Add Import Links

* Fix PEP8
2019-12-05 17:10:49 -05:00
Jeremy Stretch
ef3d772894 ExportTemplate.template_language to slug (#3569) 2019-12-05 17:01:00 -05:00
Jeremy Stretch
b2904050aa Delete obsolete user action types 2019-12-05 16:50:44 -05:00
Jeremy Stretch
b4859d4fcc Remain consistent with original action strings (e.g. 'created' instead of 'create') 2019-12-05 16:42:10 -05:00
Jeremy Stretch
ba17918d01 Fix changelog table action labels 2019-12-05 16:37:22 -05:00
Jeremy Stretch
0a72225ca9 ObjectChange.action to slug (#3569) 2019-12-05 16:30:15 -05:00
Jeremy Stretch
3a61536a82 Fix PowerFeed field defaults 2019-12-05 16:05:45 -05:00
Jeremy Stretch
e447a255c2 Extend CustomField migration to update CustomFieldChoice.field.limit_choices_to 2019-12-05 16:02:52 -05:00
Jeremy Stretch
4ffd91d882 Convert BUTTON_CLASS_CHOICES to a ChoiceSet 2019-12-05 15:59:16 -05:00
Jeremy Stretch
c31f172d05 Changelog updates 2019-12-05 15:54:29 -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
4a662c437f CustomField.filter_logic to slug 2019-12-04 21:09:02 -05:00
Jeremy Stretch
0e0cdc65c0 CustomField.type to slug 2019-12-04 21:01:50 -05:00
Jeremy Stretch
b8db33ade9 VirtualMachine.status to slug 2019-12-04 20:40:18 -05:00
Jeremy Stretch
f710335361 Service.protocol to slug (#3569) 2019-11-27 22:27:06 -05:00