1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

1507 Commits

Author SHA1 Message Date
ff952fb221 Migrate extras views to use common object list template 2020-02-13 16:39:38 -05:00
fff657cd5a Migrate DCIM views to use common object list template 2020-02-13 14:07:15 -05:00
df3fef8bb1 Merge pull request #4154 from netbox-community/4138-device_bays_in_rack_elevations
Fixes: #4138 - Add Device Bay count to rack elevation
2020-02-12 16:19:57 -05:00
d0ece2e48d Merge pull request #4144 from netbox-community/3986-rack_positions_svg
Fixes: #3986 - Convert rack units to part of SVG rendered document
2020-02-12 16:06:05 -05:00
62d6e02d6b Modify _draw_elevations
* Add legend_width argument, variable & constant
* Applied legend_width variable where required
* Removed U prefix
2020-02-12 13:15:29 -06:00
fe452735be Add Device Bay count to rack elevation names 2020-02-12 12:48:13 -06:00
3b1128f8f3 Establish standard test cases for all models 2020-02-12 13:25:56 -05:00
15bc731f61 Convert rack units to part of SVG rendered document 2020-02-11 23:31:51 -06:00
2ab382eec5 Fixes #4137: Disable occupied terminations when connecting a cable to a circuit 2020-02-11 14:56:02 -05:00
009c0ba31c Fixes #4134: Device power ports and outlets should inherit type from the parent device type 2020-02-11 14:18:45 -05:00
7177fcfa61 Use DynamicModelChoiceField for all fields using APISelect 2020-02-11 12:25:40 -05:00
221805a63e Use TreeNode choice fields for region assignment 2020-02-11 09:50:33 -05:00
da68968d75 Replace FilterChoiceField with DynamicModelMultipleChoiceField 2020-02-11 09:33:41 -05:00
5ea30c8628 Replace ChainedModelChoiceField with DynamicModelChoiceField 2020-02-10 17:23:52 -05:00
7388fa3556 Fixes #4083: Permit nullifying applicable choice fields via API requests 2020-02-10 15:10:33 -05:00
a966a4c8ac Closes #4129: Add individual deletion views for device type components 2020-02-10 11:43:51 -05:00
55f5ede970 Standardize usage of FilterChoiceField 2020-02-10 09:58:33 -05:00
5ddfde2214 Clean up unneeded code relevant to FilterChoiceField 2020-02-10 09:44:19 -05:00
7c74d2ca65 Convert interface models to use NaturalOrderingField 2020-02-07 15:58:03 -05:00
9adeed55fb Update table field ordering 2020-02-07 12:44:51 -05:00
12c7d83a91 Fix PowerOutlet migrations 2020-02-07 12:43:53 -05:00
dc1b7874ff Store empty names as null 2020-02-07 12:24:38 -05:00
c72a353733 Enable reverse migration 2020-02-07 12:23:52 -05:00
099c446f38 Convert remaining DCIM models to use NaturalOrderingField 2020-02-07 11:59:16 -05:00
705c352885 Convert device component templates to use NaturalOrderingField 2020-02-07 11:42:12 -05:00
12d09e2274 Convert device components to use NaturalOrderingField 2020-02-07 11:36:58 -05:00
97a89948c8 Merge pull request #4115 from hSaria/4100-interface-filter-device
Fixes #4100: Added device field to device components filter forms
2020-02-07 09:20:49 -05:00
52257467c3 Tweak bulk edit views to dynamically remove device-dependent fields 2020-02-06 21:44:28 -05:00
4563749fd9 Enable bulk edit/delete views for all device components 2020-02-06 20:58:14 -05:00
bb9e1ad857 Fixes #4100: Added device field to device components filter forms 2020-02-06 23:10:38 +00:00
17e0054941 Fix up bulk editing forms 2020-02-06 15:51:51 -05:00
1b5969a5ee Add tests for DeviceType component bulk edit views 2020-02-06 15:33:47 -05:00
3378287b0c Add bulk edit views for DeviceType components 2020-02-06 15:29:10 -05:00
5620fdc63e Add tests for device type component views 2020-02-06 14:39:36 -05:00
d400f92ee8 Overhaul device component template creation views/URLs 2020-02-06 13:13:40 -05:00
c1792653cc Rename device component edit URLs 2020-02-06 12:18:53 -05:00
aebfb143e0 Rename component template deletion URLs 2020-02-06 12:16:28 -05:00
ef4ea06f5d Reorganized device component URLs (again) 2020-02-06 11:51:27 -05:00
a2475ee501 Remove obsolete ComponentForm 2020-02-06 11:36:25 -05:00
71601aad39 Replace HiddenInput widget on device component creation forms with APISelect 2020-02-06 11:29:50 -05:00
c1c8b5e816 Introduce InventoryItemCreateView to bring inventory items up to par with other components 2020-02-06 10:59:13 -05:00
d04626e75f Fixes #4099: Linkify interfaces on global interfaces list 2020-02-05 16:52:42 -05:00
3f2c74f5e7 Merge pull request #4096 from elju/patch-1
Updated forms.py to match current naming (Fix for #4095)
2020-02-05 16:25:34 -05:00
a58bbccfd3 Fixes #4094: Convert unnecessary regular expressions to strings in URL patterns 2020-02-05 16:12:48 -05:00
b1e78fa3c4 Merge pull request #4098 from netbox-community/4086-device-component-urls
Closes #4086: Rename device component create/edit/delete URLs
2020-02-05 16:03:14 -05:00
0d3ff664b6 Move model_to_dict() into assertInstanceEqual(); clean up test data 2020-02-05 15:47:50 -05:00
b0c0ad7c82 Adapt component creation forms to infer parent device/VM from initial or bound data 2020-02-05 15:31:30 -05:00
0ad613e6b4 Enable bulk creation tests for device components 2020-02-05 15:22:57 -05:00
75906f7591 Move component bulk creation views to new URLs 2020-02-05 12:36:38 -05:00
c49d977379 Updated forms.py to match current naming 2020-02-05 17:26:44 +01:00