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

Support 202303 (#1371)

* add social media fields

Clearly show when a facility is part of a campus #1336

fix get carrier with parameter

Duplicate address(es) should result in rejection of JSON export and notification of IXP

linting

move style to css file

social media field fixes

fix tests

remove social media fields from entity creation

change label to "+ Social Media"

poetry relock

fix migration hierarchy

fix missing template tag

pin django-peeringdb to support_202303 branch

django-cors-headers to 3.13 as 3.14 breaks stuff

fix pdb_load issues

PEERINGDB_SYNC_USERNAME

linting

django-peeringdb 3.0.0

* use .text() to set social media label content

---------

Co-authored-by: 20C <code@20c.com>
This commit is contained in:
Stefan Pratter
2023-04-12 00:04:36 +03:00
committed by GitHub
parent 86bf5e0de4
commit 9b19492fee
30 changed files with 1697 additions and 436 deletions

View File

@ -396,6 +396,11 @@ set_option("DATA_QUALITY_MIN_SPEED", 100)
# maximum value to allow for speed on an netixlan (currently 5Tbit)
set_option("DATA_QUALITY_MAX_SPEED", 5000000)
# validate parent status when saving objects (e.g., ensure an active object cannot have a deleted parent)
# this SHOULD BE ENABLED in 99% of cases
# developers may disable before running pdb_load if the sync source has broken parent -> child status relationships
set_option("DATA_QUALITY_VALIDATE_PARENT_STATUS", True)
set_option(
"RATELIMITS",
{
@ -1277,4 +1282,11 @@ set_option("PERIODIC_REAUTH_ENABLED", True)
# Maximum amount of email addresses allowed per user
set_option("USER_MAX_EMAIL_ADDRESSES", 5)
# Authentication settings to use when syncing via pdb_load
set_option("PEERINGDB_SYNC_USERNAME", "")
set_option("PEERINGDB_SYNC_PASSWORD", "")
# If the api key is specified it will be used over the username and password
set_option("PEERINGDB_SYNC_API_KEY", "")
print_debug(f"loaded settings for PeeringDB {PEERINGDB_VERSION} (DEBUG: {DEBUG})")