X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/88bfac93513a532bdbd0311a84a62ab854e473cc..f3ee4c1bfbf4e3856268fa79c63465f591f3499e:/src/wolnelektury/settings/custom.py?ds=sidebyside diff --git a/src/wolnelektury/settings/custom.py b/src/wolnelektury/settings/custom.py index 8e51f0fdb..a9ae731eb 100644 --- a/src/wolnelektury/settings/custom.py +++ b/src/wolnelektury/settings/custom.py @@ -1,6 +1,7 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # +from datetime import date import os from .paths import VAR_DIR @@ -19,7 +20,7 @@ CATALOGUE_CUSTOMPDF_RATE_LIMIT = '1/m' # for TeX morefloats library version LIBRARIAN_PDF_MOREFLOATS = None -LATEST_BLOG_POSTS = "http://nowoczesnapolska.org.pl/feed/?cat=-135" +LATEST_BLOG_POSTS = "https://fundacja.wolnelektury.pl/feed/?cat=-135" CATALOGUE_COUNTERS_FILE = os.path.join(VAR_DIR, 'catalogue_counters.p') @@ -39,10 +40,37 @@ CLUB_PAYU_POS = '300746' CLUB_PAYU_RECURRING_POS = '300746' CLUB_APP_HOST = None -AB_TESTS = { - 'PAYLOGO': 2, -} +CLUB_RETRIES_START = date(2022, 4, 20) +CLUB_RETRY_DAYS_MAX = 90 +CLUB_RETRY_DAYS_DAILY = 3 +CLUB_RETRY_LESS = 7 + +CLUB_CONTACT_EMAIL = 'darowizny@wolnelektury.pl' MESSAGING_MIN_DAYS = 2 NEWSLETTER_PHPLIST_SUBSCRIBE_URL = None + + +VARIANTS = { +} + +EPUB_FUNDRAISING = [] + +CIVICRM_BASE = None +CIVICRM_KEY = None + +CIVICRM_ACTIVITIES = { + 'Contribution': 'Wpłata', + 'Recurring contribution': 'Wpłata cykliczna', + 'Failed contribution': 'Nieudana wpłata', +} + +EXPERIMENTS_LAYOUT = 1 +EXPERIMENTS_SOWKA = 0 + +WIDGETS = {} + +SEARCH_CONFIG = 'english' +SEARCH_CONFIG_SIMPLE = 'simple' +SEARCH_USE_UNACCENT = False