X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/98b2c09ef1f1c8288a31517f61423264c6b3291c..1610eb2c8c981232e53cbc58039fd3c00736a652:/src/wolnelektury/settings/custom.py diff --git a/src/wolnelektury/settings/custom.py b/src/wolnelektury/settings/custom.py index 08ad482b3..da3af83d4 100644 --- a/src/wolnelektury/settings/custom.py +++ b/src/wolnelektury/settings/custom.py @@ -1,14 +1,13 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # +from datetime import date import os from .paths import VAR_DIR # limit number of filtering tags MAX_TAG_LIST = 6 -NO_SEARCH_INDEX = False NO_CUSTOM_PDF = True CATALOGUE_DEFAULT_LANGUAGE = 'pol' @@ -29,4 +28,40 @@ CATALOGUE_MIN_INITIALS = 60 PICTURE_PAGE_SIZE = 20 -CONTACT_FORMS_MODULE = 'wolnelektury.contact_forms' +PAYU_POS = { + '300746': { + 'client_secret': '2ee86a66e5d97e3fadc400c9f19b065d', + 'secondary_key': 'b6ca15b0d1020e8094d9b5f8d163db54', + 'sandbox': True, + }, +} + +CLUB_PAYU_POS = '300746' +CLUB_PAYU_RECURRING_POS = '300746' +CLUB_APP_HOST = None + +CLUB_RETRIES_START = date(2022, 4, 20) +CLUB_RETRY_DAYS_MAX = 90 +CLUB_RETRY_DAYS_DAILY = 3 +CLUB_RETRY_LESS = 7 + +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 = 0