firefly-iii/config/firefly.php

213 lines
9.6 KiB
PHP
Raw Normal View History

2015-02-06 12:33:31 -06:00
<?php
/**
* firefly.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
2016-05-20 01:57:45 -05:00
declare(strict_types = 1);
2016-09-18 12:57:21 -05:00
/*
* DO NOT EDIT THIS FILE. IT IS AUTO GENERATED.
*
* ANY OPTIONS IN THIS FILE YOU CAN SAFELY EDIT CAN BE FOUND IN THE USER INTERFACE OF FIRFELY III.
*/
2016-05-20 01:57:45 -05:00
2015-02-06 12:33:31 -06:00
return [
2016-09-18 12:57:21 -05:00
'configuration' => [
2017-01-03 21:48:58 -06:00
'single_user_mode' => true,
'is_demo_site' => false,
],
2016-03-29 04:54:50 -05:00
'chart' => 'chartjs',
2017-01-03 21:48:58 -06:00
'version' => '4.3.1',
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-10-25 11:53:54 -05:00
'list_length' => 10,
2016-02-04 10:16:16 -06:00
2016-09-18 12:57:21 -05:00
'export_formats' => [
2016-02-04 10:16:16 -06:00
'csv' => 'FireflyIII\Export\Exporter\CsvExporter',
],
2016-09-18 12:57:21 -05:00
'import_formats' => [
'csv' => 'FireflyIII\Import\Importer\CsvImporter',
],
2016-09-18 12:57:21 -05:00
'default_export_format' => 'csv',
'default_import_format' => 'csv',
'bill_periods' => ['weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
'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' => [
2017-01-02 08:22:30 -06:00
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German', 'complete' => true],
'en_US' => ['name_locale' => 'English', 'name_english' => 'English', 'complete' => true],
2016-12-20 10:21:16 -06:00
'es_ES' => ['name_locale' => 'Español', 'name_english' => 'Spanish', 'complete' => false],
2016-10-10 01:13:27 -05:00
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French', 'complete' => false],
2016-10-10 12:08:09 -05:00
'hr_HR' => ['name_locale' => 'hrvatski', 'name_english' => 'Croatian', 'complete' => false],
'nl_NL' => ['name_locale' => 'Nederlands', 'name_english' => 'Dutch', 'complete' => true],
2017-01-02 05:18:18 -06:00
'pl_PL' => ['name_locale' => 'Polski', 'name_english' => 'Polish ', 'complete' => false],
'pt_BR' => ['name_locale' => 'Português do Brasil', 'name_english' => 'Portuguese (Brazil)', 'complete' => true],
2016-12-27 12:39:39 -06:00
'ru-RU' => ['name_locale' => 'Russian', 'name_english' => 'Russian', 'complete' => false],
2016-10-10 01:27:08 -05:00
'zh-HK' => ['name_locale' => '繁體中文(香港)', 'name_english' => 'Chinese Traditional, Hong Kong', 'complete' => false],
'zh-TW' => ['name_locale' => '正體中文', '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',
],
2016-09-18 12:57:21 -05:00
'bindables' => [
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',
2016-10-29 08:14:33 -05:00
'transaction_type' => 'FireflyIII\Models\TransactionType',
2016-05-15 05:08:41 -05:00
'currency' => 'FireflyIII\Models\TransactionCurrency',
'limitrepetition' => 'FireflyIII\Models\LimitRepetition',
2017-01-03 21:48:58 -06:00
'budgetlimit' => 'FireflyIII\Models\BudgetLimit',
2016-05-15 05:08:41 -05:00
'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-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',
'start_date' => 'FireflyIII\Support\Binder\Date',
'end_date' => 'FireflyIII\Support\Binder\Date',
2016-01-12 13:38:19 -06:00
],
2016-09-18 12:57:21 -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-09-18 12:57:21 -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-10-29 02:03:14 -05:00
'set_source_account' => 'FireflyIII\Rules\Actions\SetSourceAccount',
'set_destination_account' => 'FireflyIII\Rules\Actions\SetDestinationAccount',
2016-01-12 13:36:47 -06:00
],
2016-09-18 12:57:21 -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-09-18 12:57:21 -05:00
'test-triggers' => [
'limit' => 10,
2016-03-29 04:54:50 -05:00
'range' => 200,
],
2016-09-18 12:57:21 -05:00
'default_currency' => 'EUR',
'default_language' => 'en_US',
2015-02-06 12:33:31 -06:00
];