firefly-iii/config/firefly.php

202 lines
8.7 KiB
PHP
Raw Normal View History

2015-02-06 12:33:31 -06:00
<?php
2016-05-20 01:57:45 -05:00
declare(strict_types = 1);
2015-02-06 12:33:31 -06:00
return [
// default values for editable configuration:
'configuration' => [
'single_user_mode' => true,
],
2016-03-29 04:54:50 -05:00
'chart' => 'chartjs',
2016-09-14 13:37:12 -05:00
'version' => '3.10.4',
2016-06-06 02:28:25 -05:00
'csv_import_enabled' => true,
2016-03-29 04:54:50 -05:00
'maxUploadSize' => 5242880,
'allowedMimes' => ['image/png', 'image/jpeg', 'application/pdf'],
'resend_confirmation' => 3600,
'confirmation_age' => 14400, // four hours
2016-02-04 10:16:16 -06:00
2016-06-27 08:15:46 -05:00
'export_formats' => [
2016-02-04 10:16:16 -06:00
'csv' => 'FireflyIII\Export\Exporter\CsvExporter',
2016-03-03 03:24:59 -06:00
// mt940 FireflyIII Export Exporter MtExporter
2016-02-04 10:16:16 -06:00
],
2016-06-27 08:15:46 -05:00
'import_formats' => [
'csv' => 'FireflyIII\Import\Importer\CsvImporter',
// mt940 FireflyIII Import Importer MtImporter
],
2016-02-04 10:16:16 -06:00
'default_export_format' => 'csv',
'default_import_format' => 'csv',
2016-05-20 10:28:07 -05:00
'bill_periods' => ['weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
2015-02-06 12:33:31 -06:00
2015-12-22 13:46:16 -06:00
'accountRoles' => [
'defaultAsset' => 'Default asset account',
2015-03-20 17:17:59 -05:00
'sharedAsset' => 'Shared asset account',
2015-04-03 14:12:54 -05:00
'savingAsset' => 'Savings account',
2015-05-14 02:52:58 -05:00
'ccAsset' => 'Credit card',
2015-02-06 12:33:31 -06:00
],
2015-05-14 02:52:58 -05:00
'ccTypes' => [
2016-02-04 10:16:16 -06:00
'monthlyFull' => 'Full payment every month',
2015-04-03 15:54:21 -05:00
],
'range_to_repeat_freq' => [
2015-02-06 12:33:31 -06:00
'1D' => 'weekly',
'1W' => 'weekly',
'1M' => 'monthly',
'3M' => 'quarterly',
'6M' => 'half-year',
2016-04-25 11:43:09 -05:00
'1Y' => 'yearly',
2016-04-28 03:59:36 -05:00
'custom' => 'custom',
2015-02-06 12:33:31 -06:00
],
'subTitlesByIdentifier' =>
[
'asset' => 'Asset accounts',
'expense' => 'Expense accounts',
'revenue' => 'Revenue accounts',
2015-06-27 01:06:24 -05:00
'cash' => 'Cash accounts',
],
'subIconsByIdentifier' =>
[
'asset' => 'fa-money',
'Asset account' => 'fa-money',
'Default account' => 'fa-money',
'Cash account' => 'fa-money',
'expense' => 'fa-shopping-cart',
'Expense account' => 'fa-shopping-cart',
'Beneficiary account' => 'fa-shopping-cart',
'revenue' => 'fa-download',
'Revenue account' => 'fa-download',
2016-07-16 00:58:25 -05:00
'import' => 'fa-download',
'Import account' => 'fa-download',
],
'accountTypesByIdentifier' =>
[
'asset' => ['Default account', 'Asset account'],
'expense' => ['Expense account', 'Beneficiary account'],
'revenue' => ['Revenue account'],
2016-07-16 00:58:25 -05:00
'import' => ['Import account'],
],
'accountTypeByIdentifier' =>
2015-02-09 00:23:39 -06:00
[
2015-05-14 02:52:58 -05:00
'asset' => 'Asset account',
'expense' => 'Expense account',
2015-08-15 14:42:45 -05:00
'revenue' => 'Revenue account',
'opening' => 'Initial balance account',
'initial' => 'Initial balance account',
2016-07-16 00:58:25 -05:00
'import' => 'Import account',
2015-02-09 00:23:39 -06:00
],
'shortNamesByFullName' =>
[
'Default account' => 'asset',
'Asset account' => 'asset',
2016-07-16 00:58:25 -05:00
'Import account' => 'import',
'Expense account' => 'expense',
'Beneficiary account' => 'expense',
'Revenue account' => 'revenue',
'Cash account' => 'cash',
2015-05-14 02:52:58 -05:00
],
2016-01-12 13:38:19 -06:00
'languages' => [
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German', 'complete' => false],
'en_US' => ['name_locale' => 'English', 'name_english' => 'English', 'complete' => true],
'nl_NL' => ['name_locale' => 'Nederlands', 'name_english' => 'Dutch', 'complete' => true],
'pt_BR' => ['name_locale' => 'Português do Brasil', 'name_english' => 'Portuguese (Brazil)', 'complete' => true],
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French', 'complete' => false],
2016-08-12 03:46:22 -05:00
'zh-HK' => ['name_locale' => 'Chinese Traditional, Hong Kong', 'name_english' => 'Chinese Traditional, Hong Kong', 'complete' => false],
'zh-TW' => ['name_locale' => 'Chinese Traditional', 'name_english' => 'Chinese Traditional', 'complete' => false],
],
2015-07-06 15:12:35 -05:00
'transactionTypesByWhat' => [
'expenses' => ['Withdrawal'],
'withdrawal' => ['Withdrawal'],
'revenue' => ['Deposit'],
'deposit' => ['Deposit'],
'transfer' => ['Transfer'],
'transfers' => ['Transfer'],
],
'transactionIconsByWhat' => [
'expenses' => 'fa-long-arrow-left',
'withdrawal' => 'fa-long-arrow-left',
'revenue' => 'fa-long-arrow-right',
'deposit' => 'fa-long-arrow-right',
'transfer' => 'fa-exchange',
'transfers' => 'fa-exchange',
],
'bindables' => [
2016-01-12 13:38:19 -06:00
// models
2016-05-15 05:08:41 -05:00
'account' => 'FireflyIII\Models\Account',
'attachment' => 'FireflyIII\Models\Attachment',
'bill' => 'FireflyIII\Models\Bill',
'budget' => 'FireflyIII\Models\Budget',
'category' => 'FireflyIII\Models\Category',
'currency' => 'FireflyIII\Models\TransactionCurrency',
'limitrepetition' => 'FireflyIII\Models\LimitRepetition',
'piggyBank' => 'FireflyIII\Models\PiggyBank',
'tj' => 'FireflyIII\Models\TransactionJournal',
'unfinishedJournal' => 'FireflyIII\Support\Binder\UnfinishedJournal',
'tag' => 'FireflyIII\Models\Tag',
'rule' => 'FireflyIII\Models\Rule',
'ruleGroup' => 'FireflyIII\Models\RuleGroup',
'jobKey' => 'FireflyIII\Models\ExportJob',
2016-06-10 14:00:00 -05:00
'importJob' => 'FireflyIII\Models\ImportJob',
2016-01-12 13:38:19 -06:00
// lists
2016-05-15 05:08:41 -05:00
'accountList' => 'FireflyIII\Support\Binder\AccountList',
'budgetList' => 'FireflyIII\Support\Binder\BudgetList',
'journalList' => 'FireflyIII\Support\Binder\JournalList',
'categoryList' => 'FireflyIII\Support\Binder\CategoryList',
2016-01-12 13:38:19 -06:00
// others
2016-05-15 05:08:41 -05:00
'start_date' => 'FireflyIII\Support\Binder\Date',
'end_date' => 'FireflyIII\Support\Binder\Date',
2016-01-12 13:38:19 -06:00
],
2016-07-16 00:58:25 -05:00
'rule-triggers' => [
2016-01-13 00:47:26 -06:00
'user_action' => 'FireflyIII\Rules\Triggers\UserAction',
2016-01-13 07:02:22 -06:00
'from_account_starts' => 'FireflyIII\Rules\Triggers\FromAccountStarts',
'from_account_ends' => 'FireflyIII\Rules\Triggers\FromAccountEnds',
2016-01-13 00:47:26 -06:00
'from_account_is' => 'FireflyIII\Rules\Triggers\FromAccountIs',
2016-01-13 07:05:26 -06:00
'from_account_contains' => 'FireflyIII\Rules\Triggers\FromAccountContains',
2016-01-13 07:12:46 -06:00
'to_account_starts' => 'FireflyIII\Rules\Triggers\ToAccountStarts',
'to_account_ends' => 'FireflyIII\Rules\Triggers\ToAccountEnds',
'to_account_is' => 'FireflyIII\Rules\Triggers\ToAccountIs',
'to_account_contains' => 'FireflyIII\Rules\Triggers\ToAccountContains',
'transaction_type' => 'FireflyIII\Rules\Triggers\TransactionType',
2016-01-13 07:37:19 -06:00
'amount_less' => 'FireflyIII\Rules\Triggers\AmountLess',
'amount_exactly' => 'FireflyIII\Rules\Triggers\AmountExactly',
'amount_more' => 'FireflyIII\Rules\Triggers\AmountMore',
'description_starts' => 'FireflyIII\Rules\Triggers\DescriptionStarts',
2016-01-13 08:10:49 -06:00
'description_ends' => 'FireflyIII\Rules\Triggers\DescriptionEnds',
2016-01-13 00:47:26 -06:00
'description_contains' => 'FireflyIII\Rules\Triggers\DescriptionContains',
2016-01-13 08:10:49 -06:00
'description_is' => 'FireflyIII\Rules\Triggers\DescriptionIs',
2016-01-12 14:09:28 -06:00
],
2016-07-16 00:58:25 -05:00
'rule-actions' => [
'set_category' => 'FireflyIII\Rules\Actions\SetCategory',
2016-01-13 08:10:49 -06:00
'clear_category' => 'FireflyIII\Rules\Actions\ClearCategory',
'set_budget' => 'FireflyIII\Rules\Actions\SetBudget',
2016-01-13 08:10:49 -06:00
'clear_budget' => 'FireflyIII\Rules\Actions\ClearBudget',
'add_tag' => 'FireflyIII\Rules\Actions\AddTag',
'remove_tag' => 'FireflyIII\Rules\Actions\RemoveTag',
'remove_all_tags' => 'FireflyIII\Rules\Actions\RemoveAllTags',
'set_description' => 'FireflyIII\Rules\Actions\SetDescription',
'append_description' => 'FireflyIII\Rules\Actions\AppendDescription',
'prepend_description' => 'FireflyIII\Rules\Actions\PrependDescription',
2016-01-12 13:36:47 -06:00
],
// all rule actions that require text input:
2016-07-16 00:58:25 -05:00
'rule-actions-text' => [
'set_category',
'set_budget',
'add_tag',
'remove_tag',
'set_description',
'append_description',
'prepend_description',
2016-02-04 10:16:16 -06:00
],
2016-07-16 00:58:25 -05:00
'test-triggers' => [
// The maximum number of transactions shown when testing a list of triggers
'limit' => 10,
2016-03-29 04:54:50 -05:00
// The maximum number of transactions to analyse, when testing a list of triggers
2016-03-29 04:54:50 -05:00
'range' => 200,
],
2015-02-06 12:33:31 -06:00
];