Add grant giveaway donation dialog

This commit is contained in:
Alex Cabal 2022-05-01 17:36:59 -05:00
parent 5985939cd5
commit e5c2e0d5fc
10 changed files with 172 additions and 20 deletions

View file

@ -77,6 +77,7 @@ define('PD_YEAR', intval(gmdate('Y')) - 96);
define('DONATION_HOLIDAY_ALERT_ON', time() > strtotime('November 15, ' . gmdate('Y')) || time() < strtotime('January 7, ' . gmdate('Y')));
define('DONATION_ALERT_ON', DONATION_HOLIDAY_ALERT_ON || rand(1, 4) == 2);
define('DONATION_DRIVE_ON', false);
define('DONATION_DRIVE_COUNTER_ON', false);
const GITHUB_SECRET_FILE_PATH = SITE_ROOT . '/config/secrets/se-vcs-bot@github.com'; // Set in the GitHub organization global webhook settings.
const GITHUB_WEBHOOK_LOG_FILE_PATH = '/var/log/local/webhooks-github.log'; // Must be writable by `www-data` Unix user.