1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00

June updates (#751)

* Add pointer from API docs to tutorial #650

* Sorting by clicking table headers should use local-compare #356

* Mark IXP peering LAN as bogon #352

* Add help text to "Add (Facility, Network, Exchange)" tab #669

* Add Looking Glass field to the IX object #672

* Add read-only Superuser #679

* Make spelling of traffic levels consistent #519 (#723)

* Offer 2FA (#290)

* Show "Last Updated" fields on fac, ix, org records (#526)

* Enable sort and reverse sort of IP column in IX display (#72)

* IRR validation not handling unexpected characters gracefully (#712)

* Support alternative direction of writing, e.g. Arabic (#618)

* Undeleting an ixlan with an emtpy IPv4 XOR IPv6 field throws a silly error (#644)

* Changing org while adding net results in 500 #654

* missing delete button for organisations (#121)

* When changing owner of an ix admin GUI borks because of "Ixlan for exchange already exists" #666

* Selection should only present undeleted objects (#664)

* change default encoding of API calls to 'utf-8' #663

* Posting https://www.peeringdb.com onto social media doesn't select a good preview image #537

* Revert "Add Looking Glass field to the IX object #672"

This reverts commit 4daf2520043c241fabe9a521757efa86a274e28a.

Conflicts:
	peeringdb_server/migrations/0037_ix_looking_glass.py
	peeringdb_server/views.py

* 500 Internal Error when creating IX where prefix already exists elsewhere #718

* Fix graceful restore of soft-deleted objects with translation active (#580)

* Don't return any POC data with status=deleted #569
Hard delete soft-deleted pocs after grace period #566

* django-peeringdb from github@2.0.0.2-beta

Co-authored-by: Stefan Pratter <stefan@20c.com>
This commit is contained in:
Matt Griswold
2020-06-24 12:55:01 -05:00
committed by GitHub
parent 09b4759b02
commit af6974e3d3
60 changed files with 1797 additions and 336 deletions

View File

@@ -1,3 +1,4 @@
import os
from django.conf import settings
# lazy init for translations
@@ -12,6 +13,12 @@ settings.configure(
INSTALLED_APPS=[
"django.contrib.auth",
"django.contrib.contenttypes",
"django_otp",
"django_otp.plugins.otp_static",
"django_otp.plugins.otp_totp",
"django_otp.plugins.otp_email",
"two_factor",
"grappelli",
"django.contrib.admin",
"django.contrib.sessions",
"django.contrib.sites",
@@ -40,6 +47,9 @@ settings.configure(
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"APP_DIRS": True,
"DIRS": (
os.path.join(os.path.dirname(__file__), "..", "peeringdb_server", "templates"),
),
"OPTIONS": {
"context_processors": [
"django.contrib.auth.context_processors.auth",
@@ -51,7 +61,6 @@ settings.configure(
"django.template.context_processors.tz",
"django.contrib.messages.context_processors.messages",
],
# "loaders" : TEMPLATE_LOADERS
},
}
],
@@ -125,11 +134,12 @@ settings.configure(
DEBUG_EMAIL=True,
TIME_ZONE="UTC",
USE_TZ=True,
POC_DELETION_PERIOD=30,
AUTHENTICATION_BACKENDS=("django_namespace_perms.auth.backends.NSPBackend",),
ROOT_URLCONF="mainsite.urls",
LOGGING={
"version": 1,
"disable_existing_loggers": False,
"disable_existing_loggers": True,
"handlers": {"stderr": {"level": "DEBUG", "class": "logging.StreamHandler",},},
"loggers": {
"": {"handlers": ["stderr"], "level": "DEBUG", "propagate": False},
@@ -142,6 +152,8 @@ settings.configure(
"delete": "delete object",
"create": "create object",
},
LOGIN_URL = "/account/login",
LOGIN_REDIRECT_URL = "/",
OAUTH_ENABLED=False,
RECAPTCHA_PUBLIC_KEY="",
EMAIL_SUBJECT_PREFIX="[test]",