Config for webhooks.

This commit is contained in:
James Cole 2020-11-29 09:15:27 +01:00
parent d8344d8d45
commit 0e5e2fcef7
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
2 changed files with 10 additions and 3 deletions

View File

@ -276,6 +276,11 @@ TRACKER_URL=
# To read more about this feature, go to this page: https://docs.firefly-iii.org/support/telemetry
SEND_TELEMETRY=false
#
# Firefly III supports webhooks. These are security sensitive and must be enabled manually first.
#
ALLOW_WEBHOOKS=false
# You can fine tune the start-up of a Docker container by editing these environment variables.
# Use this at your own risk. Disabling certain checks and features may result in lost of inconsistent data.
# However if you know what you're doing you can significantly speed up container start times.

View File

@ -85,13 +85,14 @@ use FireflyIII\User;
*/
return [
'configuration' => [
'configuration' => [
'single_user_mode' => true,
'is_demo_site' => false,
],
'feature_flags' => [
'feature_flags' => [
'export' => true,
'telemetry' => true,
'webhooks' => false,
],
'version' => '5.4.6',
@ -120,6 +121,7 @@ return [
'cer_provider' => envNonEmpty('CER_PROVIDER', 'fixer'),
'update_endpoint' => 'https://version.firefly-iii.org/index.json',
'send_telemetry' => env('SEND_TELEMETRY', false),
'allow_webhooks' => env('ALLOW_WEBHOOKS', false),
'telemetry_endpoint' => 'https://telemetry.firefly-iii.org',
'layout' => envNonEmpty('FIREFLY_III_LAYOUT', 'v1'),
'update_minimum_age' => 6,
@ -801,7 +803,7 @@ return [
],
],
// if you add fields to this array, dont forget to update the export routine (ExportDataGenerator).
'journal_meta_fields' => [
'journal_meta_fields' => [
// sepa
'sepa_cc', 'sepa_ct_op', 'sepa_ct_id',
'sepa_db', 'sepa_country', 'sepa_ep',