Commit Graph

3573 Commits

Author SHA1 Message Date
Sander Steffann
b5dfabf651 Remove ugly hacks and add property of CableTermination type 2019-10-23 13:38:37 +02:00
Sander Steffann
b8f8ae4a58 Break infinite loop by removing redundant update 2019-10-23 13:28:10 +02:00
Sander Steffann
a8c783bd1c Fix broken device link 2019-10-23 13:09:25 +02:00
Sander Steffann
18fbb9eba1 Move class queryset to cached property
Using ContentType on class definition breaks when the
database tables haven't been created yet
2019-10-21 14:52:40 +02:00
Sander Steffann
fb4d9a6c14 Update connection status when tracing correctly for different port types 2019-10-20 22:58:12 +02:00
Sander Steffann
a6d8f30f74 Update connection status when tracing 2019-10-20 22:25:58 +02:00
Sander Steffann
304eccd7e2 Adapt test to new flexible endpoints 2019-10-20 22:25:36 +02:00
Sander Steffann
96c9cb8dad Change fixture to correspond with new models 2019-10-20 21:45:25 +02:00
Sander Steffann
45aa9de22a Let console connections use the same flexible framework 2019-10-20 21:30:01 +02:00
Sander Steffann
4e37175c3c New visualisation of connected endpoint using new trace cache 2019-10-20 19:21:18 +02:00
Sander Steffann
e4f1aab044 Just store contenttype and pk, don't cache attributes
Otherwise we'll have to update the trace cache way too often
2019-10-20 19:21:18 +02:00
Sander Steffann
f469706c9c Improve trace data 2019-10-20 19:21:18 +02:00
Sander Steffann
72f4ded24e When deleting a cable make sure the trace sees the cable as gone 2019-10-20 19:21:18 +02:00
Sander Steffann
84c9ef8144 Adding trace information for quick display 2019-10-20 19:21:18 +02:00
Sander Steffann
857f27c370 Improve comments to help understand the code 2019-10-20 19:21:18 +02:00
Sander Steffann
0dc01681b1 Allow single-position links to carry multi-position channels 2019-10-20 19:21:18 +02:00
Sander Steffann
d092f14afb Split migrations into DDL and data migrations
From https://docs.djangoproject.com/en/2.2/ref/migration-operations/:
Thus, on PostgreSQL, for example, you should avoid combining schema
changes and RunPython operations in the same migration or you may hit
errors like OperationalError: cannot ALTER TABLE "mytable" because it
has pending trigger events.
2019-10-20 19:21:18 +02:00
Sander Steffann
4ee391d27c Fix code style
E251 unexpected spaces around keyword / parameter equals
2019-10-20 19:21:18 +02:00
Sander Steffann
0ee13646a5 Correct migration chain 2019-10-20 19:21:18 +02:00
Sander Steffann
5014217052 Rewrite trace for nested MUXes 2019-10-20 19:21:18 +02:00
Sander Steffann
c17a6f4184 Replace _connected_interface and _connected_circuittermination
with a generic foreign key for upcoming flexibility
2019-10-20 19:21:18 +02:00
Jeremy Stretch
f21a63382c Changelog for #3340 2019-10-18 09:08:56 -04:00
Jeremy Stretch
6f0581598b
Merge pull request #3613 from kobayashi/3340
modified front port connection type list
2019-10-18 09:07:22 -04:00
kobayashi
244e85e836 modify patch panel port connection type list 2019-10-18 00:01:21 -04:00
Jeremy Stretch
1df6713ad5 Minor improvements pertaining to CII best practices 2019-10-17 20:56:37 -04:00
Jeremy Stretch
af73ce75ce
Merge pull request #3607 from netbox-community/3606-stale-bot
implemented #3606 - added stale bot config
2019-10-17 14:32:40 -04:00
Jeremy Stretch
f08968da49 Exempt issues tagged with "status: blocked" 2019-10-17 14:28:27 -04:00
John Anderson
24344ccfaf
Merge pull request #3615 from markkuleinio/develop
Update examples in webhooks.md
2019-10-15 14:27:20 -04:00
Markku Leiniö
91f045a2e4 Update examples in webhooks.md 2019-10-15 20:51:57 +03:00
Jeremy Stretch
050dfb279d
Merge pull request #3597 from dgarros/patch-1
Update pillow version to 6.2.0
2019-10-15 11:54:44 -04:00
Jeremy Stretch
f9b7f18be6
Merge pull request #3609 from ScanPlusGmbH/missing-variable
Add SCRIPTS_ROOT to configuration.example.py
2019-10-14 11:58:28 -04:00
Tobias Genannt
a7380ba353 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
b8feba1070 implemented #3606 - added stale bot config 2019-10-13 04:12:58 -04:00
John Anderson
64575fec42
Merge pull request #3605 from netbox-community/3445-webhooks-additional-headers
implemented #3445 - Add support for additional user defined headers t…
2019-10-13 03:15:43 -04:00
John Anderson
c7d9bf839e 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
8480c0da53
Merge pull request #3603 from netbox-community/3499-webhooks-ca-filepath
implemented #3499 - Add  to Webhook model to support user supplied CA certificate verification of webhook requests
2019-10-13 01:50:10 -04:00
John Anderson
5e88313276 typo in change log 2019-10-13 01:45:20 -04:00
John Anderson
09d7d38b04 implemented #3499 - Add to Webhook model to support user supplied CA certificate verrification of webhook requests 2019-10-13 01:43:08 -04:00
Damien Garros
4cc29729f9
Update pillow version to 6.2.0
A new CVE just got reporter regarding Pillow 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16865
it's affecting all version prior to 6.2.0
2019-10-11 13:45:37 -04:00
Jeremy Stretch
b25faec159 Post-release version bump 2019-10-10 12:42:57 -04:00
Jeremy Stretch
abbc44a7d1 #3259: Add site and rack fields to cables filter form 2019-10-10 12:28:17 -04:00
Jeremy Stretch
74c259af2e Tweak release notes for v2.6.6 2019-10-10 12:21:40 -04:00
Jeremy Stretch
465304588e Release v2.6.6 2019-10-10 12:18:18 -04:00
Jeremy Stretch
70ad705380 Provide index link to most recent version for release note 2019-10-10 12:10:35 -04:00
Jeremy Stretch
4e6b60b0f4 Rearranged release notes 2019-10-10 12:02:53 -04:00
Jeremy Stretch
d849a49842 Fixes #3588: Enforce object-form JSON for local context data on devices and VMs 2019-10-10 10:41:08 -04:00
Jeremy Stretch
4c7c40a09d
Merge pull request #3587 from netbox-community/reorganized-changelog
Reorganized CHANGELOG into release notes based on minor version number
2019-10-10 06:17:42 -07:00
Jeremy Stretch
521d6941fa Merge branch 'develop' into reorganized-changelog 2019-10-10 09:15:57 -04:00
kobayashi
e223c88548
Merge pull request #3553 from chambersh1129/develop
Replace all instances of .extra() in QuerySets with annotations #3117
2019-10-09 21:54:16 -04:00
chambersh1129
52e9369af4 PEP 8 E121 continuation line under-indented for hanging indent fix 2019-10-09 20:11:02 -04:00