2015-02-06 12:33:31 -06:00
|
|
|
<?php
|
2016-10-04 23:52:15 -05:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2017-04-09 00:56:46 -05:00
|
|
|
declare(strict_types=1);
|
2016-05-20 01:57:45 -05:00
|
|
|
|
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 [
|
2017-04-13 13:47:59 -05:00
|
|
|
'configuration' => [
|
2017-01-03 21:48:58 -06:00
|
|
|
'single_user_mode' => true,
|
|
|
|
'is_demo_site' => false,
|
2016-09-01 11:31:39 -05:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'encryption' => (is_null(env('USE_ENCRYPTION')) || env('USE_ENCRYPTION') === true),
|
2017-06-07 05:08:32 -05:00
|
|
|
'version' => '4.5.0',
|
2017-04-13 13:47:59 -05:00
|
|
|
'maxUploadSize' => 5242880,
|
|
|
|
'allowedMimes' => ['image/png', 'image/jpeg', 'application/pdf'],
|
|
|
|
'list_length' => 10,
|
|
|
|
'export_formats' => [
|
2016-02-04 10:16:16 -06:00
|
|
|
'csv' => 'FireflyIII\Export\Exporter\CsvExporter',
|
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'import_formats' => [
|
2016-05-22 13:18:16 -05:00
|
|
|
'csv' => 'FireflyIII\Import\Importer\CsvImporter',
|
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'default_export_format' => 'csv',
|
|
|
|
'default_import_format' => 'csv',
|
|
|
|
'bill_periods' => ['weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
|
|
|
|
'accountRoles' => ['defaultAsset', 'sharedAsset', 'savingAsset', 'ccAsset',],
|
|
|
|
'ccTypes' => [
|
2016-02-04 10:16:16 -06:00
|
|
|
'monthlyFull' => 'Full payment every month',
|
2015-04-03 15:54:21 -05:00
|
|
|
],
|
2017-04-13 13:47:59 -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
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'subTitlesByIdentifier' =>
|
2015-02-07 16:19:28 -06:00
|
|
|
[
|
|
|
|
'asset' => 'Asset accounts',
|
|
|
|
'expense' => 'Expense accounts',
|
|
|
|
'revenue' => 'Revenue accounts',
|
2015-06-27 01:06:24 -05:00
|
|
|
'cash' => 'Cash accounts',
|
2015-02-07 16:19:28 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'subIconsByIdentifier' =>
|
2015-02-07 16:19:28 -06:00
|
|
|
[
|
|
|
|
'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',
|
2015-02-07 16:19:28 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'accountTypesByIdentifier' =>
|
2015-02-07 16:19:28 -06:00
|
|
|
[
|
|
|
|
'asset' => ['Default account', 'Asset account'],
|
|
|
|
'expense' => ['Expense account', 'Beneficiary account'],
|
|
|
|
'revenue' => ['Revenue account'],
|
2016-07-16 00:58:25 -05:00
|
|
|
'import' => ['Import account'],
|
2015-02-07 16:19:28 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'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
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'shortNamesByFullName' =>
|
2015-02-14 07:25:29 -06:00
|
|
|
[
|
|
|
|
'Default account' => 'asset',
|
|
|
|
'Asset account' => 'asset',
|
2016-07-16 00:58:25 -05:00
|
|
|
'Import account' => 'import',
|
2015-02-14 07:25:29 -06:00
|
|
|
'Expense account' => 'expense',
|
|
|
|
'Beneficiary account' => 'expense',
|
|
|
|
'Revenue account' => 'revenue',
|
|
|
|
'Cash account' => 'cash',
|
2015-05-14 02:52:58 -05:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'languages' => [
|
2017-01-02 08:22:30 -06:00
|
|
|
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German', 'complete' => true],
|
2015-12-24 01:20:47 -06:00
|
|
|
'en_US' => ['name_locale' => 'English', 'name_english' => 'English', 'complete' => true],
|
2016-10-10 01:13:27 -05:00
|
|
|
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French', 'complete' => false],
|
2015-12-24 01:20:47 -06:00
|
|
|
'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],
|
2016-04-28 12:40:59 -05:00
|
|
|
'pt_BR' => ['name_locale' => 'Português do Brasil', 'name_english' => 'Portuguese (Brazil)', 'complete' => true],
|
2017-05-02 14:08:29 -05:00
|
|
|
'sl-SI' => ['name_locale' => 'Slovenščina', 'name_english' => 'Slovenian', 'complete' => false],
|
2016-10-10 01:27:08 -05:00
|
|
|
'zh-TW' => ['name_locale' => '正體中文', 'name_english' => 'Chinese Traditional', 'complete' => false],
|
2015-12-24 01:20:47 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'transactionTypesByWhat' => [
|
2015-07-06 15:12:35 -05:00
|
|
|
'expenses' => ['Withdrawal'],
|
|
|
|
'withdrawal' => ['Withdrawal'],
|
|
|
|
'revenue' => ['Deposit'],
|
|
|
|
'deposit' => ['Deposit'],
|
|
|
|
'transfer' => ['Transfer'],
|
|
|
|
'transfers' => ['Transfer'],
|
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'transactionIconsByWhat' => [
|
2015-07-06 15:12:35 -05:00
|
|
|
'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',
|
|
|
|
|
|
|
|
],
|
2017-04-13 13:47:59 -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',
|
2017-04-13 13:47:59 -05:00
|
|
|
'fromCurrencyCode' => 'FireflyIII\Support\Binder\CurrencyCode',
|
|
|
|
'toCurrencyCode' => 'FireflyIII\Support\Binder\CurrencyCode',
|
2016-05-15 05:08:41 -05:00
|
|
|
'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',
|
2017-02-15 13:07:10 -06:00
|
|
|
'tagList' => 'FireflyIII\Support\Binder\TagList',
|
2016-05-15 05:08:41 -05:00
|
|
|
'start_date' => 'FireflyIII\Support\Binder\Date',
|
|
|
|
'end_date' => 'FireflyIII\Support\Binder\Date',
|
2017-04-14 03:16:52 -05:00
|
|
|
'date' => 'FireflyIII\Support\Binder\Date',
|
2016-01-12 13:38:19 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -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',
|
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',
|
2017-01-24 08:38:41 -06:00
|
|
|
'transaction_type' => 'FireflyIII\Rules\Triggers\TransactionType',
|
2017-01-22 04:23:40 -06:00
|
|
|
'category_is' => 'FireflyIII\Rules\Triggers\CategoryIs',
|
|
|
|
'budget_is' => 'FireflyIII\Rules\Triggers\BudgetIs',
|
2017-02-15 13:07:10 -06:00
|
|
|
'tag_is' => 'FireflyIII\Rules\Triggers\TagIs',
|
2017-05-02 14:08:29 -05:00
|
|
|
'has_attachments' => 'FireflyIII\Rules\Triggers\HasAttachment',
|
2016-01-12 14:09:28 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'rule-actions' => [
|
2016-01-13 01:14:14 -06:00
|
|
|
'set_category' => 'FireflyIII\Rules\Actions\SetCategory',
|
2016-01-13 08:10:49 -06:00
|
|
|
'clear_category' => 'FireflyIII\Rules\Actions\ClearCategory',
|
2016-01-13 01:14:14 -06:00
|
|
|
'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
|
|
|
|
2016-10-29 02:22:51 -05:00
|
|
|
'set_source_account' => 'FireflyIII\Rules\Actions\SetSourceAccount',
|
|
|
|
'set_destination_account' => 'FireflyIII\Rules\Actions\SetDestinationAccount',
|
2016-01-12 13:36:47 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'rule-actions-text' => [
|
2016-01-14 12:20:02 -06:00
|
|
|
'set_category',
|
|
|
|
'set_budget',
|
|
|
|
'add_tag',
|
|
|
|
'remove_tag',
|
|
|
|
'set_description',
|
|
|
|
'append_description',
|
|
|
|
'prepend_description',
|
2016-02-04 10:16:16 -06:00
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'test-triggers' => [
|
2016-02-17 23:56:24 -06:00
|
|
|
'limit' => 10,
|
2016-03-29 04:54:50 -05:00
|
|
|
'range' => 200,
|
|
|
|
],
|
2017-04-13 13:47:59 -05:00
|
|
|
'default_currency' => 'EUR',
|
|
|
|
'default_language' => 'en_US',
|
|
|
|
'search_modifiers' => ['amount_is', 'amount', 'amount_max', 'amount_min', 'amount_less', 'amount_more', 'source', 'destination', 'category',
|
|
|
|
'budget', 'bill', 'type', 'date', 'date_before', 'date_after', 'on', 'before', 'after'],
|
2017-02-19 02:07:14 -06:00
|
|
|
// tag notes has_attachments
|
2017-04-13 13:47:59 -05:00
|
|
|
'currency_exchange_services' => [
|
2017-04-14 03:16:52 -05:00
|
|
|
'fixerio' => 'FireflyIII\Services\Currency\FixerIO',
|
2017-04-13 13:47:59 -05:00
|
|
|
],
|
|
|
|
'preferred_exchange_service' => 'fixerio',
|
|
|
|
|
2015-02-06 12:33:31 -06:00
|
|
|
];
|