Commit Graph

3309 Commits

Author SHA1 Message Date
Jeremy Stretch
8d496b0571 Add description field to SecretRole model (#3655) 2019-12-10 13:03:09 -05:00
Jeremy Stretch
26599d77d8 Add description field to Role model (#3655) 2019-12-10 12:59:10 -05:00
Jeremy Stretch
29f1201934 Add description field to RackRole and DeviceRole models (#3655) 2019-12-10 12:53:28 -05:00
Jeremy Stretch
08ad1ec44b Fix inclusion of legacy IDs on choice fields 2019-12-10 12:07:54 -05:00
Jeremy Stretch
82ae419731 Merge branch 'develop' into develop-2.7 2019-12-10 11:51:10 -05:00
Jeremy Stretch
317b32766d Post-release version bump 2019-12-10 10:50:46 -05:00
Jeremy Stretch
5b0455b2a0 Release v2.6.8 2019-12-10 10:42:48 -05:00
Jeremy Stretch
dc53a3e94e Cable.status to slug (#3569) 2019-12-10 09:55:10 -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
Jeremy Stretch
6b51d62474 Merge pull request #3740 from netbox-community/2669-device-vm-names
Allow non-unique device and VM names
2019-12-09 17:26:32 -05:00
Jeremy Stretch
19b8596443 Fixes #3644: Fix exception when connecting a cable to a RearPort with no corresponding FrontPort 2019-12-09 15:42:04 -05:00
Jeremy Stretch
c95fa9485a Remove deprecated context parameter from from_db_value 2019-12-09 12:32:51 -05:00
Jeremy Stretch
ae0a5da6bc Omit default uniqueness validator from VirtualMachineSerializer, which implies required fields 2019-12-09 12:11:42 -05:00
Jeremy Stretch
b8dfbc951f #2269: Allow non-unique VirtualMachine names 2019-12-09 11:59:30 -05:00
Jeremy Stretch
c9f409a1bb #2269: Allow non-unique Device names 2019-12-09 11:41:03 -05:00
Jeremy Stretch
1301ab9cb7 #3722: Tweak ordering of permitted characters to avoid creating a regex range 2019-12-09 10:02:56 -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
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
2de3e579a6 #3720: Update migration to add powerfeeds to termination_type limit list (does not impact database) 2019-12-06 12:29:31 -05:00
Jeremy Stretch
880f248d26 #3722: Update migration with new validator (does not impact database) 2019-12-06 12:19:29 -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
Sander Steffann
86261fec08 Don't redefine exception but split the code 2019-12-06 16:32:18 +01:00
Jeremy Stretch
84c345b043 Fixes #3725: Enforce client validation for minimum service port number 2019-12-05 21:22:34 -05:00
Jeremy Stretch
c530f970b1 Fixes #3722: Allow the underscore character in IPAddress DNS names 2019-12-05 21:14:29 -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
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
John Anderson
05cd8e839f fixes #3724 - allow filtering interfaces by more than one device name 2019-12-04 02:00:08 -05:00
Jeremy Stretch
f710335361 Service.protocol to slug (#3569) 2019-11-27 22:27:06 -05:00
Jeremy Stretch
b22a5616d4 VLAN.status to slug (#3569) 2019-11-27 22:15:59 -05:00
Jeremy Stretch
81772486af IPAddress.role to slug (#3569) 2019-11-27 22:09:16 -05:00
Jeremy Stretch
cf6a9f1a5a IPAddress.status to slug (#3569) 2019-11-27 21:54:01 -05:00
Jeremy Stretch
af42cd7428 Prefix.status to slug (#3569) 2019-11-27 21:46:53 -05:00
Jeremy Stretch
019db0f60f PowerOutlet.feed_leg to slug (#3569) 2019-11-27 21:30:11 -05:00
Jeremy Stretch
683cfa95d7 Fixes #3312: Fix validation error when editing power cables in bulk 2019-11-27 09:19:34 -05:00
Jeremy Stretch
f466b9289d Fixes #3720: Correctly indicate power feed terminations on cable list 2019-11-26 16:56:11 -05:00
Jeremy Stretch
43350136db Fixes #3709: Prevent exception when importing an invalid cable definition 2019-11-26 16:46:51 -05:00
Jeremy Stretch
a295dde4d7 PowerFeed.status to slug (#3569) 2019-11-25 21:22:14 -05:00
Jeremy Stretch
4bb6809f9d PowerFeed.phase to slug (#3569) 2019-11-25 21:14:04 -05:00
Jeremy Stretch
69a276d0d6 PowerFeed.supply to slug (#3569) 2019-11-25 21:08:34 -05:00
Jeremy Stretch
f197dd5f5d PowerFeed.type to slug (#3569) 2019-11-25 21:03:11 -05:00
Jeremy Stretch
7c9f810555 Rack.outer_unit to slug (#3569) 2019-11-25 20:54:24 -05:00
Jeremy Stretch
523475de55 Cable.length_unit to slug (#3569) 2019-11-25 20:40:29 -05:00
Jeremy Stretch
a5f390e757 Cable.type to slug (#3569) 2019-11-25 19:57:13 -05:00
Jeremy Stretch
9aff8a6568 Front/RearPort.type to slug (#3569) 2019-11-25 19:39:25 -05:00
Jeremy Stretch
30eaafc2b7 Device.face to slug (#3569) 2019-11-25 19:23:43 -05:00
Jeremy Stretch
b1a4be03fb Site.status to slug (#3569) 2019-11-21 22:54:01 -05:00
Jeremy Stretch
67b014ab14 Interface.mode to slug (#3569) 2019-11-21 22:50:01 -05:00
Jeremy Stretch
6bb741e853 Consolidate #3569 field migrations by model 2019-11-21 22:26:35 -05:00
Jeremy Stretch
7cf5445365 Interface.type to slug (#3569) 2019-11-21 22:11:02 -05:00
Jeremy Stretch
885cb24a0a Resolved migration discrepancies when dealing with NULL values 2019-11-21 21:44:30 -05:00
Jeremy Stretch
c48363eeeb Move CircuitTermination.term_side choices to a ChoiceSet 2019-11-21 21:28:59 -05:00
Jeremy Stretch
90fb4150d7 #3455: Correct related_name on Cluster.tenant 2019-11-18 22:12:29 -05:00
Jeremy Stretch
0c2d66952b DeviceType.subdevice_role to slug (#3569) 2019-11-18 22:08:33 -05:00
Jeremy Stretch
af0f67a03e Create a separate migration for each field 2019-11-18 21:41:04 -05:00
Jeremy Stretch
acfb8ff767 Standardize migration names for #3569 2019-11-18 21:04:12 -05:00
Jeremy Stretch
be4b790568 Tweak migrations to handle NULL values 2019-11-18 20:56:22 -05:00
Jeremy Stretch
304b92512a Device.face to slug (#3569) 2019-11-16 21:46:07 -05:00
Jeremy Stretch
631e941eb9 Rack.status to slug (#3569) 2019-11-15 22:03:41 -05:00
Jeremy Stretch
fe365e3dd3 Correct Rack.type migration logic 2019-11-15 21:50:33 -05:00
Jeremy Stretch
28c723350e Convert RACK_WIDTH_CHOICES to ChoiceSet 2019-11-15 21:33:56 -05:00
Jeremy Stretch
bcf56b59a7 Rack.status to slug (#3569) 2019-11-15 21:31:57 -05:00
Jeremy Stretch
ace420c52f Convert all DCIM choice classes to ChoiceSets 2019-11-15 21:17:01 -05:00
Jeremy Stretch
db43f51dd3 Merge pull request #3687 from kobayashi/3679
fix url expressions
2019-11-14 22:03:03 -05:00
Jeremy Stretch
7e155898d2 Rename CreatedUpdatedFilter to CreatedUpdatedFilterSet 2019-11-14 22:00:12 -05:00
Jeremy Stretch
865d50e5b6 'base_name' deprecated in DRF v3.9.0 2019-11-14 21:58:37 -05:00
Jeremy Stretch
f7f262b830 Merge pull request #3680 from struppinet/develop
Closes #3663: API filter by created, last_updated
2019-11-14 21:57:26 -05:00
kobayashi
a16b22c833 fix url expressions 2019-11-13 00:48:47 -05:00
struppi
eb03fd7a0f Closes #3663: rename filter class 2019-11-07 22:41:09 +01:00
struppi
3a3e03bdd7 Closes #3663: PEP8 fixes 2019-11-07 22:38:51 +01:00
Jeremy Stretch
79f501d897 Circuit.status (#3569) 2019-11-07 11:11:10 -05:00
Jeremy Stretch
02a8dc36c0 Introduce ChoiceSet class for field choices 2019-11-07 10:33:10 -05:00
Jeremy Stretch
2e43b6b5ca Extend DeviceType import test with power port/outlet types 2019-11-06 16:59:01 -05:00
Jeremy Stretch
b486eb19b4 Convert console port types to slugs (#3569) 2019-11-06 16:56:46 -05:00
Jeremy Stretch
34e7139b64 Initial work on #792 2019-11-06 15:30:54 -05:00
Jeremy Stretch
64a6bb275e #3139: Add a message indicating why the user is redirected 2019-11-06 10:01:42 -05:00
Jeremy Stretch
18d35796c1 Merge pull request #3667 from steffann/3139-disable-user-password-change-if-come-in-with-ldap-auth
Hide password change page when user is logged in using LDAP
2019-11-06 09:57:25 -05:00
Jeremy Stretch
bfc9e39a09 Merge pull request #3673 from ananace/cable-color-display
3457 Display cable colors in device interface list
2019-11-06 09:53:59 -05:00
Jeremy Stretch
60737a8d6b Fixes #3669: Include weight field in prefix/VLAN role form 2019-11-06 09:39:21 -05:00
Jeremy Stretch
43b5439f5d Fixes #3674: Include comments on PowerFeed view 2019-11-06 09:26:49 -05:00
Alexander Olofsson
f5403f0efc 3457 Display cable colors in device interface list 2019-11-06 10:15:55 +01:00
struppi
3285cae845 Closes #3663: fix inheritance error 2019-11-04 21:00:44 +01:00
struppi
0a287420dc Closes #3663: API filter by created, last_updated 2019-11-04 20:51:56 +01:00
Sander Steffann
70d8b3a7fa Fix code for PEP8 2019-11-03 16:12:39 +03:00
Sander Steffann
5dc88c1097 Hide password change page when user is logged in using LDAP 2019-11-03 16:05:53 +03:00
Sander Steffann
fb43e92865 Add support for S3 storage for media 2019-11-03 14:16:12 +03:00
Jeremy Stretch
01ac6d560d Merge branch 'develop' into develop-2.7 2019-11-01 16:19:36 -04:00
Jeremy Stretch
3775047aff Post-release version bump 2019-11-01 15:54:17 -04:00
Jeremy Stretch
a304ef77a0 Release v2.6.7 2019-11-01 15:37:05 -04:00
Jeremy Stretch
a950bf7496 Suppress migration messages during tests; fix typo 2019-11-01 15:08:59 -04:00
Jeremy Stretch
c93159baa5 Corrected test 2019-11-01 15:08:20 -04:00
Jeremy Stretch
f9cb41d000 Move TreeNodeMultipleChoiceFilter tests to utilities (follow-up to #3616) 2019-11-01 15:01:24 -04:00
Jeremy Stretch
522e159abb Merge pull request #3616 from kobayashi/3357
allow null region filtering
2019-11-01 14:29:32 -04:00
Jeremy Stretch
d3bfe80326 Closes #3659: Add filtering for objects in admin UI 2019-11-01 12:22:39 -04:00
Jeremy Stretch
50c753e210 Add new Interface type from #3619 2019-11-01 11:49:17 -04:00
Jeremy Stretch
16916e6b39 Reorganized navigation menu 2019-10-30 16:39:32 -04:00
Jeremy Stretch
5bc5179a13 Move slug-based choices to choices.py 2019-10-30 16:31:04 -04:00
Emil Palm
61b121b575 Merge remote-tracking branch 'upstream/develop' into 3619-new-400G-osfp-interface-type 2019-10-30 14:31:17 -05:00
Emil Palm
bfa5a435dc Add IFACE_TYPE_400GE_OSPF 2019-10-30 14:30:23 -05:00
Jeremy Stretch
acd5ccccef Closes #1865: Add console port and console server port types 2019-10-30 14:25:55 -04:00
Jeremy Stretch
6d888421d1 Only use module.name for human-facing display 2019-10-30 09:13:26 -04:00
Jeremy Stretch
36ce1b1c78 Add tests for custom script API 2019-10-29 16:54:27 -04:00
Jeremy Stretch
c34c4f2509 Improve script output serialization 2019-10-29 16:17:59 -04:00
Jeremy Stretch
5360aa9593 Closes #3652: Limit next/previous rack by assigned rack group 2019-10-29 15:17:00 -04:00
Jeremy Stretch
88d3cc8498 Initial work on #3538: script execution API 2019-10-28 15:02:21 -04:00
kobayashi
4759743f28 Merge pull request #3645 from BegBlev/llpd-port-id
Retrieve port-id in LLDP tab
2019-10-28 12:19:10 -04:00
kobayashi
f8b3518897 filtering multiple regions with null 2019-10-28 02:24:44 -04:00
Tyler Bigler
26f3c1afb3 Add CONN_MAX_AGE to documentation (#3642)
* Add CONN_MAX_AGE to sample configurations

* Correct alignment

* Restore ghost space

* Correct alignment.

* Use stable docs url
2019-10-25 13:11:48 -04:00
Jeremy Stretch
c038c4450c Fixes #3643: Update all Django documentation links to 'stable' version 2019-10-25 11:09:30 -04:00
Jeremy Stretch
c84e608f8e Merge pull request #3632 from netbox-community/3309-changelog-middleware
Rewrite change logging middleware
2019-10-25 09:47:32 -04:00
Jeremy Stretch
75d81d1815 Fixes #3636: Add missing rack_group field to PowerFeed CSV export 2019-10-25 09:27:33 -04:00
Stefan de Kooter
709da30f9d Fix #3635 - cache circuits.*
Enable caching for items under the circuits app
2019-10-25 00:46:05 +02:00
Jeremy Stretch
ebde65d1b2 Closes #3594: Add ChoiceVar for custom scripts 2019-10-23 15:59:27 -04:00
Jeremy Stretch
33b0d8e131 Merge pull request #3572 from frelon/cluster-tenant
Add tenancy to cluster
2019-10-23 11:53:22 -04:00
Jeremy Stretch
a6781d5083 Fixes #3596: Prevent server error when reassigning a device to a new device bay 2019-10-23 09:28:00 -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
b6beb37e36 Rewrote ObjectChangeMiddleware to remove the curried handle_deleted_object() function 2019-10-22 15:10:49 -04:00
kobayashi
11bfd770dc allow null region filtering 2019-10-22 00:41:49 -04:00
Vincent Catros
997fd32514 Retrieve port-id in LLDP tab 2019-10-21 11:57:23 +02:00
kobayashi
685a4ee56e modify patch panel port connection type list 2019-10-18 00:01:21 -04:00
Jeremy Stretch
917995e868 Merge pull request #3621 from netbox-community/451-devicetype-import
Enable YAML/JSON-based DeviceType import
2019-10-17 16:43:15 -04:00
Jeremy Stretch
77a9e581bf Rework InterfaceTypes and PortTypes classes 2019-10-17 16:38:31 -04:00
Jeremy Stretch
bf54bb682e Merge pull request #3604 from netbox-community/3282-seperate-redis-config
implements #3282 - seperate webhooks and caching redis configs
2019-10-17 16:03:26 -04:00
Jeremy Stretch
c7d6f6e1c9 Rebase schema migrations 2019-10-17 15:53:10 -04:00
Jeremy Stretch
e65570dd48 Merge branch 'develop' into develop-2.7 2019-10-17 15:51:33 -04:00
Jeremy Stretch
c741e0dc43 Deleted errant import of graphviz 2019-10-17 15:43:49 -04:00
Fredrik Lönnegren
e85007d468 Fix typo 2019-10-16 08:22:06 +02:00
Tobias Genannt
43a2eb766b Add SCRIPTS_ROOT to configuration.example.py
Fixes #3608 by adding the new variable to the example configuration.
2019-10-14 09:29:04 +02:00
John Anderson
8d8ad02831 implemented #3445 - Add support for additional user defined headers to be added to webhook requests 2019-10-13 03:09:58 -04:00
John Anderson
8895c415ed implements #3282 - seperate webhooks and caching redis configs 2019-10-13 02:49:54 -04:00
John Anderson
214c976b22 Merge branch 'develop' into develop-2.7 2019-10-13 02:03:16 -04:00
John Anderson
45806c312a implemented #3499 - Add to Webhook model to support user supplied CA certificate verrification of webhook requests 2019-10-13 01:43:08 -04:00
Jeremy Stretch
c0f8034c7b Added slug choices for interface and port types 2019-10-10 23:24:44 -04:00
Jeremy Stretch
531edc21f3 Merge branch 'develop' into 451-devicetype-import 2019-10-10 13:50:57 -04:00
Jeremy Stretch
5d179d54d1 Merge branch 'develop' into develop-2.7 2019-10-10 13:41:10 -04:00
Jeremy Stretch
0c1e835ce5 Post-release version bump 2019-10-10 12:42:57 -04:00
Jeremy Stretch
07450d68c0 #3259: Add site and rack fields to cables filter form 2019-10-10 12:28:17 -04:00
Jeremy Stretch
e705f4c3e4 Fixes #3588: Enforce object-form JSON for local context data on devices and VMs 2019-10-10 10:41:08 -04:00
chambersh1129
13368dc2aa PEP 8 E121 continuation line under-indented for hanging indent fix 2019-10-09 20:11:02 -04:00
chambersh1129
de71669d93 Replace all instances of .extra() in QuerySets with annotations, including references in docstrings 2019-10-09 20:11:02 -04:00
Jeremy Stretch
cd1d476f24 Fixes #3582: Enforce view permissions on global search results 2019-10-09 16:45:33 -04:00
Jeremy Stretch
010cc8e53c Fixes #3458: Prevent primary IP address for a device/VM from being reassigned 2019-10-09 16:22:06 -04:00
Jeremy Stretch
3d41fdc5fb Fixes #3474: Fix device status page loading when NAPALM call fails 2019-10-09 15:44:32 -04:00
Jeremy Stretch
a8d93ee8cd Fixes #3463: Correct CSV headers for exported power feeds 2019-10-09 15:25:31 -04:00
Jeremy Stretch
46eb858a26 Closes #3581: Introduce commit_default custom script attribute to not commit changes by default 2019-10-09 15:16:50 -04:00
Jeremy Stretch
644b793b0a Closes #3545: Add MultiObjectVar for custom scripts 2019-10-09 15:06:00 -04:00
Jeremy Stretch
539c9e5ec7 Closes #3471: Disallow raw HTML in Markdown-rendered fields 2019-10-09 14:47:40 -04:00
Jeremy Stretch
ea42ec6a11 Merge pull request #3561 from netbox-community/3560-drf-bootstrap-css
Override DRF's builtin Bootstrap with NetBox's own more recent copy
2019-10-09 08:53:13 -07:00
Jeremy Stretch
ce1c894c8b Closes #3580: Render text and URL fields as textareas in the custom link form 2019-10-09 09:40:24 -04:00
Jeremy Stretch
6b4e065b67 Force checkbox table columns to narrow width 2019-10-07 17:22:35 -04:00
Jeremy Stretch
51c96e475d Closes #3563: Enable editing of individual DeviceType components 2019-10-07 17:08:51 -04:00
Jeremy Stretch
64787181e4 Merge pull request #3565 from ananace/add-infiniband
Added InfiniBand interface form factor
2019-10-07 12:02:06 -07:00
Jeremy Stretch
c9d11edf6d Fixes #3571: Prevent erroneous redirects when editing tags 2019-10-07 14:27:02 -04:00
Jeremy Stretch
c26f5ae17a Fixes #3573: Ensure consistent display of changelog retention period 2019-10-07 14:12:16 -04:00
Jeremy Stretch
45a41bbee7 Fixes #3575: Restore label for comments field when bulk editing circuits 2019-10-07 14:06:41 -04:00
Fredrik Lönnegren
2b9fc8d7e1 Add tenancy to cluster
fix pep8
2019-10-07 16:20:14 +02:00
dansheps
bfe55c2dfc Fixes #3574 - Change device to parent in interface edit form vlan filtering logic 2019-10-07 08:54:39 -05:00
Jeremy Stretch
b4acade70d Miscellaneous cleanup 2019-10-04 12:59:10 -04:00
Jeremy Stretch
f47a37ca13 Delete obsolete IFACE_ORDERING constants 2019-10-03 19:53:32 -04:00
Jeremy Stretch
2787f525f8 Closes #3568: Update jQuery library to v3.4.1 2019-10-03 18:53:00 -04:00
Jeremy Stretch
7d5657eec3 Add stdout progress logging to cable migration 2019-10-03 18:49:56 -04:00
Saria Hajjar
c459c7b35e Added InfiniBand interface form factor 2019-10-03 09:22:19 +02:00
Jeremy Stretch
eb961ef40d PEP8 fix 2019-10-01 17:07:17 -04:00
Jeremy Stretch
3d2e535866 Enforce object creation permissions 2019-10-01 16:54:10 -04:00
Jeremy Stretch
7ac8f223ea Fix YAMLLoadWarning 2019-10-01 16:39:11 -04:00
Jeremy Stretch
2e373bcd28 Rewrote test for DeviceType import 2019-10-01 16:36:31 -04:00
Jeremy Stretch
e95ad82725 Override DRF's builtin Bootstrap with NetBox's own more recent copy 2019-10-01 10:11:23 -04:00
Jeremy Stretch
02ecb22c24 Adopted a different approach to importing related objects 2019-09-27 16:51:12 -04:00
Jeremy Stretch
38205bb9c4 Filter by site slug rather than by name 2019-09-27 15:12:16 -04:00
Jeremy Stretch
db1689c73a Closes #3259: Add rack and site filters for cables 2019-09-27 12:18:53 -04:00
Jeremy Stretch
15d7d6b87c Cache A/B termination devices on the Cable model 2019-09-26 17:17:12 -04:00
Jeremy Stretch
3c225907f8 Fix typo 2019-09-25 16:39:04 -04:00
Jeremy Stretch
980972c942 Capture MultiObjectField default form field values 2019-09-25 16:19:22 -04:00
Jeremy Stretch
db64aa7322 Capture import form field default values 2019-09-25 16:06:09 -04:00
Jeremy Stretch
7b37b3f8a1 Merge branch 'develop' into 451-devicetype-import 2019-09-25 13:44:48 -04:00
Jeremy Stretch
e861c984c7 Merge branch 'develop' into develop-2.7 2019-09-25 13:44:29 -04:00
Jeremy Stretch
d092568fbf Post-release version bump 2019-09-25 13:29:22 -04:00
Jeremy Stretch
6d8d617cbc Releae v2.6.5 2019-09-25 13:24:28 -04:00
Jeremy Stretch
ee0865478e Closes #3515: Enable export templates for inventory items 2019-09-25 12:07:41 -04:00
Daniel Sheppard
057e5ed349 Fixes: #3543 - Adds inline vlan editing to virtual machine interfaces 2019-09-25 10:49:08 -05:00
Jeremy Stretch
0c2c1a3673 Closes #3297: Include reserved units when calculating rack utilization 2019-09-25 10:54:08 -04:00
Daniel Sheppard
6d0ba02a3c Fixes: #3540 - Changed interface edit to use new inline vlan edit fields 2019-09-25 09:28:23 -05:00
Jeremy Stretch
b87689cf27 Closes #3352: Enable filtering changelog API by changed_object_id 2019-09-25 10:11:41 -04:00
Jeremy Stretch
5fc4b398eb Fixes #3435: Change IP/prefix CSV export to reference VRF name instead of RD 2019-09-25 09:39:03 -04:00
Jeremy Stretch
a7fedcfee3 Closes #3529: Enable filtering circuits list by region 2019-09-25 09:21:21 -04:00
Jeremy Stretch
b0a6b3c848 Force validation of individual objects within a MultiObjectField 2019-09-24 16:51:59 -04:00
Jeremy Stretch
45bed25234 Move JSON/YAML data valdiation to ImportForm 2019-09-24 16:13:52 -04:00
Daniel Sheppard
78555903c2 Fix ordering for rack positioning 2019-09-24 15:08:57 -05:00
Jeremy Stretch
f2cf335e7c Remove legacy CSV-based DeviceType import 2019-09-24 16:03:10 -04:00
Jeremy Stretch
358f686ede Fix form rendering; enable toggling of redirect to imported object 2019-09-24 15:58:23 -04:00
Jeremy Stretch
38cd09c60f Closes #3524: Enable bulk editing of power outlet/power port associations 2019-09-24 15:27:47 -04:00
Jeremy Stretch
429aaa07b8 Merge pull request #3536 from DanSheps/develop
Fixes: #3464 - Change color picker to dynamic coloring from static CSS
2019-09-24 15:13:11 -04:00
Jeremy Stretch
5dfe6f17eb Fixes #3519: Prevent cables from being terminated to virtual/wireless interfaces 2019-09-24 15:07:54 -04:00
Daniel Sheppard
c6243e63ab Fixes: #3464 - Change color picker to dynamic coloring from static CSS 2019-09-24 09:39:06 -05:00
Daniel Sheppard
2a5e871a62 Fixes: #3531 - Fix FG Color for Rack Role 2019-09-24 08:50:23 -05:00
Daniel Sheppard
8d0d3528d6 Fixes: #3534 - Add none option for untagged vlan field 2019-09-24 08:39:41 -05:00
Jeremy Stretch
eb694f0567 Remove extraneous demo scripts 2019-09-23 09:21:38 -04:00
Jeremy Stretch
2947388da6 Add test for DeviceType import 2019-09-20 15:57:44 -04:00
Jeremy Stretch
0b1f3751fa Add RearPortTemplate power_port field 2019-09-20 15:16:14 -04:00
Jeremy Stretch
a8a2a786a1 Extend DeviceType import to include related objects 2019-09-20 14:02:14 -04:00
Jeremy Stretch
429fe9223a Merged v2.6.4 2019-09-20 08:35:14 -04:00
Daniel Sheppard
8c0166fc1c Fixed thrown error in parseURL 2019-09-19 10:32:47 -05:00
Jeremy Stretch
3c5c31e569 Post-release version bump 2019-09-19 09:36:23 -04:00
Jeremy Stretch
06f911b479 Release v2.6.4 2019-09-19 09:30:16 -04:00
Jeremy Stretch
f426334c2e Closes #3485: Enable embedded graphs for devices 2019-09-18 15:59:52 -04:00
Jeremy Stretch
7f641c77f5 Fixes #3514: Label TextVar fields when rendering custom script forms 2019-09-18 15:39:26 -04:00
Jeremy Stretch
f012c662f0 Fixes #3511: Correct API URL for nested device bays 2019-09-18 14:40:47 -04:00
Jeremy Stretch
8ff80afe70 Fixes #3513: Fix assignment of tags when creating front/rear ports 2019-09-18 14:33:47 -04:00
Daniel Sheppard
b5b99cb3b9 Clean up extra line that snuck in 2019-09-17 15:45:55 -05:00
Jeremy Stretch
aedffce736 Closes #3510: Add minimum/maximum prefix length enforcement for IPNetworkVar 2019-09-17 16:36:36 -04:00
Jeremy Stretch
04ecd5e147 Initial work on JSON/YAML-based DeviceType import 2019-09-13 16:18:29 -04:00
Jeremy Stretch
796917beac Fixes #3501: Fix rendering of checkboxes on custom script forms 2019-09-13 11:45:35 -04:00
Daniel Sheppard
a0d8ce96b2 Fix performance issues when creating/editing interfaces due to unfiltered vlan queryset 2019-09-12 11:13:40 -05:00
Daniel Sheppard
41e66d5427 Using static element to determine brief parameter, corrected to $(element) 2019-09-11 10:10:43 -05:00
Jeremy Stretch
46142affe7 Bump platform name/slug max length to 100 chars (#3318) 2019-09-10 15:50:41 -04:00
Jeremy Stretch
5dd61562f7 Fixes #3489: Prevent exception triggered by webhook upon object deletion 2019-09-09 15:50:10 -04:00
Daniel Sheppard
96738bee9b Fixes: #3318 - Increases length of platform name and slug to 64 characters (#3353) 2019-09-06 13:01:27 -05:00