Skip to content

Commit

Permalink
Merge branch 'release/v6.0.22'
Browse files Browse the repository at this point in the history
  • Loading branch information
JC5 committed Sep 1, 2023
2 parents a59d7cc + b9d750b commit 71325de
Show file tree
Hide file tree
Showing 17 changed files with 172 additions and 151 deletions.
2 changes: 2 additions & 0 deletions app/Models/ObjectGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
* @method static Builder|ObjectGroup whereTitle($value)
* @method static Builder|ObjectGroup whereUpdatedAt($value)
* @method static Builder|ObjectGroup whereUserId($value)
* @property int|null $user_group_id
* @method static Builder|ObjectGroup whereUserGroupId($value)
* @mixin Eloquent
*/
class ObjectGroup extends Model
Expand Down
1 change: 1 addition & 0 deletions app/Models/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
* @method static Builder|Rule withoutTrashed()
* @property int|null $user_group_id
* @method static \Illuminate\Database\Eloquent\Builder|Rule whereUserGroupId($value)
* @property-read \FireflyIII\Models\UserGroup|null $userGroup
* @mixin Eloquent
*/
class Rule extends Model
Expand Down
1 change: 1 addition & 0 deletions app/Models/TransactionGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
* @method static Builder|TransactionGroup withoutTrashed()
* @property int|null $user_group_id
* @method static \Illuminate\Database\Eloquent\Builder|TransactionGroup whereUserGroupId($value)
* @property-read \FireflyIII\Models\UserGroup|null $userGroup
* @mixin Eloquent
*/
class TransactionGroup extends Model
Expand Down
10 changes: 10 additions & 0 deletions app/Models/UserGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@
* @method static Builder|UserGroup whereUpdatedAt($value)
* @property-read Collection<int, Account> $accounts
* @property-read int|null $accounts_count
* @property-read Collection<int, \FireflyIII\Models\AvailableBudget> $availableBudgets
* @property-read int|null $available_budgets_count
* @property-read Collection<int, \FireflyIII\Models\Bill> $bills
* @property-read int|null $bills_count
* @property-read Collection<int, \FireflyIII\Models\Budget> $budgets
* @property-read int|null $budgets_count
* @property-read Collection<int, \FireflyIII\Models\PiggyBank> $piggyBanks
* @property-read int|null $piggy_banks_count
* @property-read Collection<int, \FireflyIII\Models\TransactionJournal> $transactionJournals
* @property-read int|null $transaction_journals_count
* @mixin Eloquent
*/
class UserGroup extends Model
Expand Down
1 change: 1 addition & 0 deletions app/Validation/AccountValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ protected function findExistingAccount(array $validTypes, array $data): ?Account
$first = $this->accountRepository->findByName($accountName, $validTypes);
if (null !== $first) {
app('log')->debug(sprintf('Name: Found %s account #%d ("%s", IBAN "%s")', $first->accountType->type, $first->id, $first->name, $first->iban ?? 'no iban'));
return $first;
}
}
app('log')->debug('Found nothing!');
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 6.0.22 - 2023-09-02

### API

- [Issue 7917](https://github.com/firefly-iii/firefly-iii/issues/7917) Fixed an API issue where submitting an account name would not be accepted.

## 6.0.21 - 2023-09-02

### Added
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/firefly.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
'handle_debts' => true,
// see cer.php for exchange rates feature flag.
],
'version' => '6.0.21',
'api_version' => '2.0.6',
'version' => '6.0.22',
'api_version' => '2.0.7',
'db_version' => 20,

// generic settings
Expand Down
10 changes: 5 additions & 5 deletions resources/lang/ca_ES/firefly.php
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@
'pref_notification_new_access_token' => 'Avisar quan es creï un nou identificador d\'accés API',
'pref_notification_transaction_creation' => 'Avisar quan una transacció es creï automàticament',
'pref_notification_user_login' => 'Avisar quan s\'iniciï sessió des d\'una nova ubicació',
'pref_notification_rule_action_failures' => 'Alert when rule actions fail to execute (Slack or Discord only)',
'pref_notification_rule_action_failures' => 'Alerta quan les accions de la regla no es poden executar (només Slack i Discord)',
'pref_notifications' => 'Notificacions',
'pref_notifications_help' => 'Indica si aquestes són notificacions que vols rebre. Algunes notificacions podrien contenir informació financera sensible.',
'slack_webhook_url' => 'Webhook URL de Slack',
Expand Down Expand Up @@ -1625,8 +1625,8 @@
'create_new_revenue' => 'Crear un nou compte de beneficis',
'create_new_piggy_bank' => 'Crea una guardiola nova',
'create_new_bill' => 'Crear una nova factura',
'create_new_subscription' => 'Create new subscription',
'create_new_rule' => 'Create new rule',
'create_new_subscription' => 'Crea una nova subscripció',
'create_new_rule' => 'Crea una nova regla',

// currencies:
'create_currency' => 'Crear una nova moneda',
Expand Down Expand Up @@ -1785,7 +1785,7 @@
'bill_repeats_half-year_skip' => 'Es repeteix cada {skip} mitjos anys',
'bill_repeats_yearly_skip' => 'Es repeteix cada {skip} anys',
'subscriptions' => 'Subscripcions',
'go_to_subscriptions' => 'Go to your subscriptions',
'go_to_subscriptions' => 'Ves a les teves subscripcions',
'forever' => 'Per a sempre',
'extension_date_is' => 'La data d\'extensió és {date}',

Expand Down Expand Up @@ -2372,7 +2372,7 @@
'created_tag' => 'L\'etiqueta ":tag" ha sigut creada!',

'transaction_journal_information' => 'Informació de la transacció',
'transaction_journal_amount' => 'Amount information',
'transaction_journal_amount' => 'Informació de la quantitat',
'transaction_journal_meta' => 'Metainformació',
'transaction_journal_more' => 'Més informació',
'basic_journal_information' => 'Informació de transacció bàsica',
Expand Down
86 changes: 43 additions & 43 deletions resources/lang/ca_ES/rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,47 +23,47 @@


return [
'main_message' => 'Action ":action", present in rule ":rule", could not be applied to transaction #:group: :error',
'find_or_create_tag_failed' => 'Could not find or create tag ":tag"',
'tag_already_added' => 'Tag ":tag" is already linked to this transaction',
'inspect_transaction' => 'Inspect transaction ":title" @ Firefly III',
'inspect_rule' => 'Inspect rule ":title" @ Firefly III',
'journal_other_user' => 'This transaction doesn\'t belong to the user',
'no_such_journal' => 'This transaction doesn\'t exist',
'journal_already_no_budget' => 'This transaction has no budget, so it cannot be removed',
'journal_already_no_category' => 'This transaction had no category, so it cannot be removed',
'journal_already_no_notes' => 'This transaction had no notes, so they cannot be removed',
'journal_not_found' => 'Firefly III can\'t find the requested transaction',
'split_group' => 'Firefly III cannot execute this action on a transaction with multiple splits',
'is_already_withdrawal' => 'This transaction is already a withdrawal',
'is_already_deposit' => 'This transaction is already a deposit',
'is_already_transfer' => 'This transaction is already a transfer',
'is_not_transfer' => 'This transaction is not a transfer',
'complex_error' => 'Something complicated went wrong. Sorry about that. Please inspect the logs of Firefly III',
'no_valid_opposing' => 'Conversion failed because there is no valid account named ":account"',
'new_notes_empty' => 'The notes to be set are empty',
'unsupported_transaction_type_withdrawal' => 'Firefly III cannot convert a ":type" to a withdrawal',
'unsupported_transaction_type_deposit' => 'Firefly III cannot convert a ":type" to a deposit',
'unsupported_transaction_type_transfer' => 'Firefly III cannot convert a ":type" to a transfer',
'already_has_source_asset' => 'This transaction already has ":name" as the source asset account',
'already_has_destination_asset' => 'This transaction already has ":name" as the destination asset account',
'already_has_destination' => 'This transaction already has ":name" as the destination account',
'already_has_source' => 'This transaction already has ":name" as the source account',
'already_linked_to_subscription' => 'The transaction is already linked to subscription ":name"',
'cannot_find_subscription' => 'Firefly III can\'t find subscription ":name"',
'no_notes_to_move' => 'The transaction has no notes to move to the description field',
'no_tags_to_remove' => 'The transaction has no tags to remove',
'cannot_find_tag' => 'Firefly III can\'t find tag ":tag"',
'cannot_find_asset' => 'Firefly III can\'t find asset account ":name"',
'cannot_find_accounts' => 'Firefly III can\'t find the source or destination account',
'cannot_find_source_transaction' => 'Firefly III can\'t find the source transaction',
'cannot_find_destination_transaction' => 'Firefly III can\'t find the destination transaction',
'cannot_find_source_transaction_account' => 'Firefly III can\'t find the source transaction account',
'cannot_find_destination_transaction_account' => 'Firefly III can\'t find the destination transaction account',
'cannot_find_piggy' => 'Firefly III can\'t find a piggy bank named ":name"',
'no_link_piggy' => 'This transaction\'s accounts are not linked to the piggy bank, so no action will be taken',
'cannot_unlink_tag' => 'Tag ":tag" isn\'t linked to this transaction',
'cannot_find_budget' => 'Firefly III can\'t find budget ":name"',
'cannot_find_category' => 'Firefly III can\'t find category ":name"',
'cannot_set_budget' => 'Firefly III can\'t set budget ":name" to a transaction of type ":type"',
'main_message' => 'Acció ":action", present a la regla ":rule", no s\'ha pogut aplicar a la transacció #:group: :error',
'find_or_create_tag_failed' => 'No s\'ha pogut trobar o crear l\'etiqueta ":tag"',
'tag_already_added' => 'L\'etiqueta ":tag" ja està enllaçada a aquesta transacció',
'inspect_transaction' => 'Inspecciona la transacció ":title" a Firefly III',
'inspect_rule' => 'Inspecciona la norma ":title" a Firefly III',
'journal_other_user' => 'Aquesta transacció no pertany a l\'usuari',
'no_such_journal' => 'Aquesta transacció no existeix',
'journal_already_no_budget' => 'Aquesta transacció no té cap pressupost, així que no es pot eliminar',
'journal_already_no_category' => 'Aquesta transacció no tenia cap categoria, així que no es pot eliminar',
'journal_already_no_notes' => 'Aquesta transacció no tenia notes, així que no es poden eliminar',
'journal_not_found' => 'Firefly III no pot trobar la transacció sol·licitada',
'split_group' => 'Firefly III no pot executar aquesta acció a una transacció amb varies divisions',
'is_already_withdrawal' => 'Aquesta transacció ja és una retirada',
'is_already_deposit' => 'Aquesta transacció ja és un dipòsit',
'is_already_transfer' => 'Aquesta transacció ja és una transferència',
'is_not_transfer' => 'Aquesta transacció no és una transferència',
'complex_error' => 'Una operació complicada ha anat malament. Disculpa. Per favor, revisa els registres de Firefly III',
'no_valid_opposing' => 'La conversió ha fallat perquè no hi ha cap compte anomenat ":account"',
'new_notes_empty' => 'Les notes a establir són buides',
'unsupported_transaction_type_withdrawal' => 'Firefly III no pot convertir un/una ":type" a una retirada',
'unsupported_transaction_type_deposit' => 'Firefly III no pot convertir una ":type" a un dipòsit',
'unsupported_transaction_type_transfer' => 'Firefly III no pot convertir un/una ":type" a una transferència',
'already_has_source_asset' => 'Aquesta transacció ja té ":name" com al compte d\'actius font',
'already_has_destination_asset' => 'Aquesta transacció ja té ":name" com al compte d\'actius destí',
'already_has_destination' => 'Aquesta transacció ja té ":name" com al compte destí',
'already_has_source' => 'Aquesta transacció ja té ":name" com al compte font',
'already_linked_to_subscription' => 'La transacció ja està enllaçada a la subscripció ":name"',
'cannot_find_subscription' => 'Firefly III no pot trobar la subscripció ":name"',
'no_notes_to_move' => 'La transacció no té cap nota que moure al camp de descripció',
'no_tags_to_remove' => 'La transacció no té etiquetes que eliminar',
'cannot_find_tag' => 'Firefly III no ha pogut trobar l\'etiqueta ":tag"',
'cannot_find_asset' => 'Firefly III no ha pogut trobar el compte d\'actius ":name"',
'cannot_find_accounts' => 'Firefly III no ha pogut trobar el compte destí o font',
'cannot_find_source_transaction' => 'Firefly III no pot trobar la transacció d\'origen',
'cannot_find_destination_transaction' => 'Firefly III no pot trobar la transacció de destinació',
'cannot_find_source_transaction_account' => 'Firefly III no pot trobar el compte font de la transacció',
'cannot_find_destination_transaction_account' => 'Firefly III no pot trobar el compte de destinació de la transacció',
'cannot_find_piggy' => 'Firefly III no pot trobar una guardiola anomenada ":name"',
'no_link_piggy' => 'Els comptes d\'aquesta transacció no estan enllaçats a la guardiola, així que no es durà a terme cap acció',
'cannot_unlink_tag' => 'L\'etiqueta ":tag" no està enllaçada a aquesta transacció',
'cannot_find_budget' => 'Firefly III no pot trobar el pressupost ":name"',
'cannot_find_category' => 'Firefly III no pot trobar la categoria ":name"',
'cannot_set_budget' => 'Firefly III no pot establir el pressupost ":name" a una transacció del tipus ":type"',
];
10 changes: 5 additions & 5 deletions resources/lang/de_DE/firefly.php
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@
'pref_notification_new_access_token' => 'Warnen, wenn ein neues API-Zugangs-Token erstellt wird',
'pref_notification_transaction_creation' => 'Warnen, wenn eine Buchung automatisch erstellt wird',
'pref_notification_user_login' => 'Warnen, wenn Sie sich von einem neuen Standort aus anmelden',
'pref_notification_rule_action_failures' => 'Alert when rule actions fail to execute (Slack or Discord only)',
'pref_notification_rule_action_failures' => 'Warnung, wenn Regelaktionen nicht ausgeführt werden (nur Slack oder Discord)',
'pref_notifications' => 'Benachrichtigungen',
'pref_notifications_help' => 'Geben Sie an, ob Sie diese Mitteilungen erhalten möchten. Einige Mitteilungen können sensible Finanzinformationen enthalten.',
'slack_webhook_url' => 'Slack Webhook URL',
Expand Down Expand Up @@ -1625,8 +1625,8 @@
'create_new_revenue' => 'Neues Einnahmenkonto erstellen',
'create_new_piggy_bank' => 'Ein neues Sparschwein erstellen',
'create_new_bill' => 'Eine neue Rechnung erstellen',
'create_new_subscription' => 'Create new subscription',
'create_new_rule' => 'Create new rule',
'create_new_subscription' => 'Neues Abonnement erstellen',
'create_new_rule' => 'Neue Regel erstellen',

// currencies:
'create_currency' => 'Eine neue Währung erstellen',
Expand Down Expand Up @@ -1785,7 +1785,7 @@
'bill_repeats_half-year_skip' => 'Wiederholt sich alle {skip} Halbjahre',
'bill_repeats_yearly_skip' => 'Wiederholt sich alle {skip} Jahre',
'subscriptions' => 'Abonnements',
'go_to_subscriptions' => 'Go to your subscriptions',
'go_to_subscriptions' => 'Zu Abonnements gehen',
'forever' => 'Dauerhaft',
'extension_date_is' => 'Zeitpunkt der Verlängerung ist {date}',

Expand Down Expand Up @@ -2372,7 +2372,7 @@
'created_tag' => 'Schlagwort „:tag” wurde angelegt!',

'transaction_journal_information' => 'Transaktionsinformationen',
'transaction_journal_amount' => 'Amount information',
'transaction_journal_amount' => 'Betraginformation',
'transaction_journal_meta' => 'Metainformationen',
'transaction_journal_more' => 'Weitere Informationen',
'basic_journal_information' => 'Allgemeine Buchungsinformationen',
Expand Down

0 comments on commit 71325de

Please sign in to comment.