diff --git a/conf/openlibrary.yml b/conf/openlibrary.yml index 1a52b3e236d..989bb6c3fc2 100644 --- a/conf/openlibrary.yml +++ b/conf/openlibrary.yml @@ -165,6 +165,7 @@ ia_ol_xauth_s3: ia_loan_api_url: http://web:8080/internal/fake/loans ia_xauth_api_url: http://web:8080/internal/fake/xauth ia_s3_auth_url: http://web:8080/internal/fake/s3auth +otp_seed: dev-otp-seed-for-e2e-testing internal_tests_api_key: 8oPd1tx747YH374ohs48ZO5s2Nt1r9yD ia_availability_api_v2_url: https://archive.org/services/availability/ @@ -177,9 +178,15 @@ sentry: # Dummy endpoint; where sentry logs are sent to dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0' traces_sample_rate: 1.0 - profiles_sample_rate: 0.001 + profiles_sample_rate: 0.05 environment: 'local' + frontend: + dsn: 'https://examplePublicKey@o0.ingest.sentry.io/1' + # Inherits same rates from above + # In JS, this controls error sample rate + sample_rate: 0.01 + sentry_cron_jobs: enabled: false # Dummy endpoint; where sentry logs are sent to @@ -194,3 +201,9 @@ observation_cache_duration: 86400 # Include credentials directly in the URL if required by the proxy. # Dev/local: leave unset — no proxy needed. # http_proxy: http://user:password@squid.example.com:3128 + +# Author keys whose pages (and their books/works) should return 404. +# In production this list lives in olsystem's openlibrary.yml. +# Format: full author keys, e.g. ["/authors/OL123A"]. +# The value below is intentionally empty so dev behaves like a normal site. +author_exclusions: [] diff --git a/requirements.txt b/requirements.txt index e1631b8fc13..1932c819466 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,7 @@ amightygirl.paapi5-python-sdk==1.0.0 APScheduler==3.11.2 Babel==2.18.0 beautifulsoup4==4.14.3 +cryptography==44.0.2 eventer==0.1.1 fastapi==0.136.3 feedparser==6.0.12