Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Expand webhook code.
James Colead9efde2d072
diff --git a/app/Http/Controllers/Webhooks/CreateController.php b/app/Http/Controllers/Webhooks/CreateController.phpnew file mode 100644index 0000000000..e9444b2472--- /dev/null+++ b/app/Http/Controllers/Webhooks/CreateController.php@@ -0,0 +1,70 @@+<?php+declare(strict_types=1);+/*+ * IndexController.php+ * Copyright (c) 2022 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++namespace FireflyIII\Http\Controllers\Webhooks;++use FireflyIII\Exceptions\FireflyException;+use FireflyIII\Http\Controllers\Controller;+use Illuminate\Contracts\View\Factory;+use Illuminate\Http\Request;+use Illuminate\View\View;++/**+ * Class CreateController+ */+class CreateController extends Controller+{++ /**+ *+ */+ public function __construct()+ {+ parent::__construct();++ // translations:+ $this->middleware(+ function ($request, $next) {+ app('view')->share('mainTitleIcon', 'fa-bolt');+ app('view')->share('subTitleIcon', 'fa-plus');+ app('view')->share('title', (string) trans('firefly.webhooks'));+ app('view')->share('subTitle', (string) trans('firefly.create_new_webhook'));++ return $next($request);+ }+ );+ }+ /**+ * Show debug info.+ *+ * @param Request $request+ *+ * @return Factory|View+ * @throws FireflyException+ */+ public function index(Request $request)+ {++ return view('webhooks.create');+ }++}diff --git a/app/Http/Controllers/Webhooks/IndexController.php b/app/Http/Controllers/Webhooks/IndexController.phpnew file mode 100644index 0000000000..dc20509b4c--- /dev/null+++ b/app/Http/Controllers/Webhooks/IndexController.php@@ -0,0 +1,68 @@+<?php+declare(strict_types=1);+/*+ * IndexController.php+ * Copyright (c) 2022 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++namespace FireflyIII\Http\Controllers\Webhooks;++use FireflyIII\Exceptions\FireflyException;+use FireflyIII\Http\Controllers\Controller;+use Illuminate\Contracts\View\Factory;+use Illuminate\Http\Request;+use Illuminate\View\View;++/**+ * Class IndexController+ */+class IndexController extends Controller+{++ /**+ *+ */+ public function __construct()+ {+ parent::__construct();++ // translations:+ $this->middleware(+ function ($request, $next) {+ app('view')->share('mainTitleIcon', 'fa-bolt');+ app('view')->share('title', (string) trans('firefly.webhooks'));++ return $next($request);+ }+ );+ }+ /**+ * Show debug info.+ *+ * @param Request $request+ *+ * @return Factory|View+ * @throws FireflyException+ */+ public function index(Request $request)+ {++ return view('webhooks.index');+ }++}diff --git a/app/Http/Middleware/AcceptHeaders.php b/app/Http/Middleware/AcceptHeaders.phpindex 0802e1a918..09caa000fd 100644--- a/app/Http/Middleware/AcceptHeaders.php+++ b/app/Http/Middleware/AcceptHeaders.php@@ -30,7 +30,7 @@ class AcceptHeadersthrow new BadHttpHeaderException('Your request must accept either application/json or application/vdn.api+json.');}if (('POST' === $method || 'PUT' === $method) && 'application/json' !== (string)$request->header('Content-Type')) {- $error = new BadHttpHeaderException('B');+ $error = new BadHttpHeaderException('Content-Type must be application/json');$error->statusCode = 415;throw $error;}diff --git a/frontend/src/i18n/nb_NO/index.js b/frontend/src/i18n/nb_NO/index.jsindex 7dec4d05fe..c96e4c3bd4 100644--- a/frontend/src/i18n/nb_NO/index.js+++ b/frontend/src/i18n/nb_NO/index.js@@ -18,26 +18,26 @@ export default {},"list": {"name": "Navn",- "account_number": "Account number",+ "account_number": "Kontonummer","currentBalance": "N\u00e5v\u00e6rende saldo","lastActivity": "Siste aktivitet","active": "Er aktiv?"},"breadcrumbs": {"placeholder": "[Placeholder]",- "budgets": "Budgets",- "subscriptions": "Subscriptions",- "transactions": "Transactions",- "title_expenses": "Expenses",- "title_withdrawal": "Expenses",- "title_revenue": "Revenue \/ income",- "title_deposit": "Revenue \/ income",- "title_transfer": "Transfers",- "title_transfers": "Transfers",- "asset_accounts": "Asset accounts",- "expense_accounts": "Expense accounts",- "revenue_accounts": "Revenue accounts",- "liabilities_accounts": "Liabilities"+ "budgets": "Budsjetter",+ "subscriptions": "Abonnementer",+ "transactions": "Transaksjoner",+ "title_expenses": "Utgifter",+ "title_withdrawal": "Utgifter",+ "title_revenue": "Inntekt",+ "title_deposit": "Inntekt",+ "title_transfer": "Overf\u00f8ringer",+ "title_transfers": "Overf\u00f8ringer",+ "asset_accounts": "Aktivakonto",+ "expense_accounts": "Utgiftskonto",+ "revenue_accounts": "Inntektskontoer",+ "liabilities_accounts": "Gjeld"},"firefly": {"actions": "Handlinger",@@ -45,7 +45,7 @@ export default {"delete": "Slett","reconcile": "Reconcile","create_new_asset": "Opprett ny aktivakonto",- "confirm_action": "Confirm action",+ "confirm_action": "Bekreft handling","new_budget": "Nytt budsjett","new_asset_account": "Ny aktivakonto","newTransfer": "Ny overf\u00f8ring",@@ -57,44 +57,44 @@ export default {"budgeted": "Budsjettert","spent": "Brukt","no_bill": "(no bill)",- "rule_trigger_source_account_starts_choice": "Source account name starts with..",- "rule_trigger_source_account_ends_choice": "Source account name ends with..",- "rule_trigger_source_account_is_choice": "Source account name is..",- "rule_trigger_source_account_contains_choice": "Source account name contains..",- "rule_trigger_account_id_choice": "Either account ID is exactly..",- "rule_trigger_source_account_id_choice": "Source account ID is exactly..",- "rule_trigger_destination_account_id_choice": "Destination account ID is exactly..",- "rule_trigger_account_is_cash_choice": "Either account is cash",- "rule_trigger_source_is_cash_choice": "Source account is (cash) account",- "rule_trigger_destination_is_cash_choice": "Destination account is (cash) account",- "rule_trigger_source_account_nr_starts_choice": "Source account number \/ IBAN starts with..",- "rule_trigger_source_account_nr_ends_choice": "Source account number \/ IBAN ends with..",- "rule_trigger_source_account_nr_is_choice": "Source account number \/ IBAN is..",- "rule_trigger_source_account_nr_contains_choice": "Source account number \/ IBAN contains..",- "rule_trigger_destination_account_starts_choice": "Destination account name starts with..",- "rule_trigger_destination_account_ends_choice": "Destination account name ends with..",- "rule_trigger_destination_account_is_choice": "Destination account name is..",- "rule_trigger_destination_account_contains_choice": "Destination account name contains..",- "rule_trigger_destination_account_nr_starts_choice": "Destination account number \/ IBAN starts with..",- "rule_trigger_destination_account_nr_ends_choice": "Destination account number \/ IBAN ends with..",- "rule_trigger_destination_account_nr_is_choice": "Destination account number \/ IBAN is..",- "rule_trigger_destination_account_nr_contains_choice": "Destination account number \/ IBAN contains..",+ "rule_trigger_source_account_starts_choice": "Kildekonto navn starter med..",+ "rule_trigger_source_account_ends_choice": "Kildenavnet slutter med..",+ "rule_trigger_source_account_is_choice": "Kildekonto navn er..",+ "rule_trigger_source_account_contains_choice": "Kildekonto navn inneholder..",+ "rule_trigger_account_id_choice": "En av konto ID'er, er n\u00f8yaktig.",+ "rule_trigger_source_account_id_choice": "Kildekonto-ID er n\u00f8yaktig..",+ "rule_trigger_destination_account_id_choice": "M\u00e5lkonto ID er n\u00f8yaktig..",+ "rule_trigger_account_is_cash_choice": "En av konto er kontant",+ "rule_trigger_source_is_cash_choice": "Kildekonto er (kontant) konto",+ "rule_trigger_destination_is_cash_choice": "M\u00e5lkonto er (kontant) konto",+ "rule_trigger_source_account_nr_starts_choice": "Kildekontonummer \/ IBAN starter med..",+ "rule_trigger_source_account_nr_ends_choice": "Kildekontonummer \/ IBAN slutter med..",+ "rule_trigger_source_account_nr_is_choice": "Kildekontonummer \/ IBAN er..",+ "rule_trigger_source_account_nr_contains_choice": "Kilde kontonummer \/ IBAN inneholder..",+ "rule_trigger_destination_account_starts_choice": "M\u00e5lkontonavnet begynner med..",+ "rule_trigger_destination_account_ends_choice": "M\u00e5lkontonavnet slutter med..",+ "rule_trigger_destination_account_is_choice": "M\u00e5lkonto navn slutter med..",+ "rule_trigger_destination_account_contains_choice": "M\u00e5lkontonavn inneholder..",+ "rule_trigger_destination_account_nr_starts_choice": "M\u00e5lkontonummer \/ IBAN starter med..",+ "rule_trigger_destination_account_nr_ends_choice": "M\u00e5lkontonummer \/ IBAN slutter med..",+ "rule_trigger_destination_account_nr_is_choice": "M\u00e5lkontonummer \/ IBAN er..",+ "rule_trigger_destination_account_nr_contains_choice": "M\u00e5lkontonummer \/ IBAN inneholder..","rule_trigger_transaction_type_choice": "Transaksjonen er av typen..","rule_trigger_category_is_choice": "Kategori er..","rule_trigger_amount_less_choice": "Bel\u00f8pet er mindre enn..",- "rule_trigger_amount_is_choice": "Amount is..",+ "rule_trigger_amount_is_choice": "Bel\u00f8pet er..","rule_trigger_amount_more_choice": "Bel\u00f8pet er mer enn..","rule_trigger_description_starts_choice": "Beskrivelse starter med..","rule_trigger_description_ends_choice": "Beskrivelse slutter med..","rule_trigger_description_contains_choice": "Beskrivelse inneholder..","rule_trigger_description_is_choice": "Beskrivelse er..",- "rule_trigger_date_on_choice": "Transaction date is..",- "rule_trigger_date_before_choice": "Transaction date is before..",- "rule_trigger_date_after_choice": "Transaction date is after..",- "rule_trigger_created_at_on_choice": "Transaction was made on..",- "rule_trigger_updated_at_on_choice": "Transaction was last edited on..",+ "rule_trigger_date_on_choice": "Transaksjonsdato er..",+ "rule_trigger_date_before_choice": "Transaksjons dato er f\u00f8r..",+ "rule_trigger_date_after_choice": "Transaksjons dato er etter..",+ "rule_trigger_created_at_on_choice": "Transaksjonen ble gjort p\u00e5..",+ "rule_trigger_updated_at_on_choice": "Transaksjonen ble sist redigert den..","rule_trigger_budget_is_choice": "Budsjett er..",- "rule_trigger_tag_is_choice": "Any tag is..",+ "rule_trigger_tag_is_choice": "(En) tagg er..","rule_trigger_currency_is_choice": "Transaksjonsvaluta er..","rule_trigger_foreign_currency_is_choice": "Transaction foreign currency is..","rule_trigger_has_attachments_choice": "Har minst s\u00e5 mange vedlegg",@@ -102,24 +102,24 @@ export default {"rule_trigger_has_any_category_choice": "Har en (hvilken som helst) kategori","rule_trigger_has_no_budget_choice": "Har ingen budsjett","rule_trigger_has_any_budget_choice": "Har et (hvilket som helst) budsjett",- "rule_trigger_has_no_bill_choice": "Has no bill",- "rule_trigger_has_any_bill_choice": "Has a (any) bill",+ "rule_trigger_has_no_bill_choice": "Har ingen regning",+ "rule_trigger_has_any_bill_choice": "Har en regning","rule_trigger_has_no_tag_choice": "Har ingen tagg(er)","rule_trigger_has_any_tag_choice": "Har en eller flere tagger","rule_trigger_any_notes_choice": "Har ett eller flere notater","rule_trigger_no_notes_choice": "Har ingen notater",- "rule_trigger_notes_is_choice": "Notes are..",- "rule_trigger_notes_contains_choice": "Notes contain..",- "rule_trigger_notes_starts_choice": "Notes start with..",- "rule_trigger_notes_ends_choice": "Notes end with..",- "rule_trigger_bill_is_choice": "Bill is..",- "rule_trigger_external_id_is_choice": "External ID is..",- "rule_trigger_internal_reference_is_choice": "Internal reference is..",+ "rule_trigger_notes_is_choice": "Notater er..",+ "rule_trigger_notes_contains_choice": "Notater inneholder..",+ "rule_trigger_notes_starts_choice": "Notater begynner med..",+ "rule_trigger_notes_ends_choice": "Notater som slutter med..",+ "rule_trigger_bill_is_choice": "Regning er..",+ "rule_trigger_external_id_is_choice": "Ekstern ID er..",+ "rule_trigger_internal_reference_is_choice": "Intern referanse er..","rule_trigger_journal_id_choice": "Transaction journal ID is..","rule_trigger_any_external_url_choice": "Transaction has an external URL","rule_trigger_no_external_url_choice": "Transaction has no external URL",- "rule_trigger_id_choice": "Transaction ID is..",- "rule_action_delete_transaction_choice": "DELETE transaction (!)",+ "rule_trigger_id_choice": "Transaksjons-ID er",+ "rule_action_delete_transaction_choice": "SLETT transaksjon (!)","rule_action_set_category_choice": "Sett kategori til..","rule_action_clear_category_choice": "T\u00f8m alle kategorier","rule_action_set_budget_choice": "Sett budsjett til..",@@ -128,11 +128,11 @@ export default {"rule_action_remove_tag_choice": "Fjern tagg..","rule_action_remove_all_tags_choice": "Fjern alle tagger","rule_action_set_description_choice": "Sett beskrivelse til..",- "rule_action_update_piggy_choice": "Add\/remove transaction amount in piggy bank..",+ "rule_action_update_piggy_choice": "Legg til\/fjern transaksjonsbel\u00f8p i sparegriser..","rule_action_append_description_choice": "Legg til etter beskrivelse..","rule_action_prepend_description_choice": "Legg til foran beskrivelse..",- "rule_action_set_source_account_choice": "Set source account to..",- "rule_action_set_destination_account_choice": "Set destination account to..",+ "rule_action_set_source_account_choice": "Sett kildekonto til..",+ "rule_action_set_destination_account_choice": "Sett m\u00e5lkonto til..","rule_action_append_notes_choice": "Legg til notater med..","rule_action_prepend_notes_choice": "Legg til notater med..","rule_action_clear_notes_choice": "Fjern notater",@@ -157,7 +157,7 @@ export default {"repeat_freq_quarterly": "kvartalsvis","repeat_freq_monthly": "m\u00e5nedlig","repeat_freq_weekly": "ukentlig",- "single_split": "Split",+ "single_split": "Del opp","asset_accounts": "Aktivakontoer","expense_accounts": "Utgiftskontoer","liabilities_accounts": "Gjeld",@@ -180,8 +180,8 @@ export default {"currencies": "Valutaer","administration": "Administrasjon","profile": "Profil",- "source_account": "Source account",- "destination_account": "Destination account",+ "source_account": "Kildekonto",+ "destination_account": "Destinasjonskonto","amount": "Bel\u00f8p","date": "Dato","time": "Time",@@ -189,14 +189,14 @@ export default {"transactions": "Transaksjoner","balance": "Saldo","budgets": "Budsjetter",- "subscriptions": "Subscriptions",- "welcome_back": "What's playing?",+ "subscriptions": "Abonnementer",+ "welcome_back": "Hvordan g\u00e5r det?","bills_to_pay": "Regninger \u00e5 betale","net_worth": "Formue",- "pref_last365": "Last year",- "pref_last90": "Last 90 days",- "pref_last30": "Last 30 days",- "pref_last7": "Last 7 days",+ "pref_last365": "I fjor",+ "pref_last90": "Siste 90 dager",+ "pref_last30": "Siste 30 dagene",+ "pref_last7": "Siste 7 dager","pref_YTD": "Year to date","pref_QTD": "Quarter to date","pref_MTD": "Month to date"diff --git a/frontend/src/i18n/nl_NL/index.js b/frontend/src/i18n/nl_NL/index.jsindex 74ecc48933..f72d439063 100644--- a/frontend/src/i18n/nl_NL/index.js+++ b/frontend/src/i18n/nl_NL/index.js@@ -18,7 +18,7 @@ export default {},"list": {"name": "Naam",- "account_number": "Account number",+ "account_number": "Rekeningnummer","currentBalance": "Huidig saldo","lastActivity": "Laatste activiteit","active": "Actief?"@@ -45,7 +45,7 @@ export default {"delete": "Verwijder","reconcile": "Afstemmen","create_new_asset": "Nieuwe betaalrekening",- "confirm_action": "Confirm action",+ "confirm_action": "Actie bevestigen","new_budget": "Nieuw budget","new_asset_account": "Nieuwe betaalrekening","newTransfer": "Nieuwe overschrijving",diff --git a/frontend/src/i18n/ru_RU/index.js b/frontend/src/i18n/ru_RU/index.jsindex ca053a15aa..27ae04f612 100644--- a/frontend/src/i18n/ru_RU/index.js+++ b/frontend/src/i18n/ru_RU/index.js@@ -45,7 +45,7 @@ export default {"delete": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c","reconcile": "\u0421\u0432\u0435\u0440\u0438\u0442\u044c","create_new_asset": "\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0441\u0447\u0451\u0442",- "confirm_action": "Confirm action",+ "confirm_action": "\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435","new_budget": "\u041d\u043e\u0432\u044b\u0439 \u0431\u044e\u0434\u0436\u0435\u0442","new_asset_account": "\u041d\u043e\u0432\u044b\u0439 \u0441\u0447\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043e\u0432","newTransfer": "\u041d\u043e\u0432\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434",diff --git a/public/mix-manifest.json b/public/mix-manifest.jsonindex b7bb700e03..5507c189e7 100644--- a/public/mix-manifest.json+++ b/public/mix-manifest.json@@ -3,5 +3,7 @@"/v1/js/app_vue.js": "/v1/js/app_vue.js","/v1/js/create_transaction.js": "/v1/js/create_transaction.js","/v1/js/edit_transaction.js": "/v1/js/edit_transaction.js",- "/v1/js/profile.js": "/v1/js/profile.js"+ "/v1/js/profile.js": "/v1/js/profile.js",+ "/v1/js/webhooks/index.js": "/v1/js/webhooks/index.js",+ "/v1/js/webhooks/create.js": "/v1/js/webhooks/create.js"}diff --git a/resources/assets/js/components/form/Title.vue b/resources/assets/js/components/form/Title.vuenew file mode 100644index 0000000000..843549a719--- /dev/null+++ b/resources/assets/js/components/form/Title.vue@@ -0,0 +1,157 @@+<!--+ - TransactionDescription.vue+ - Copyright (c) 2019 [email protected]+ -+ - This file is part of Firefly III (https://github.com/firefly-iii).+ -+ - This program is free software: you can redistribute it and/or modify+ - it under the terms of the GNU Affero General Public License as+ - published by the Free Software Foundation, either version 3 of the+ - License, or (at your option) any later version.+ -+ - This program is distributed in the hope that it will be useful,+ - but WITHOUT ANY WARRANTY; without even the implied warranty of+ - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ - GNU Affero General Public License for more details.+ -+ - You should have received a copy of the GNU Affero General Public License+ - along with this program. If not, see <https://www.gnu.org/licenses/>.+ -->++<template>+ <div class="form-group" v-bind:class="{ 'has-error': hasError()}">+ <div class="col-sm-12 text-sm">+ {{ $t('firefly.title') }}+ </div>+ <div class="col-sm-12">+ <div class="input-group">+ <input+ ref="title"+ :title="$t('firefly.title')"+ :value="value"+ autocomplete="off"+ class="form-control"+ name="title"+ type="text"+ v-bind:placeholder="$t('firefly.title')"+ @input="handleInput"+ v-on:keypress="handleEnter" v-on:submit.prevent+ >+ <span class="input-group-btn">+ <button+ class="btn btn-default"+ tabIndex="-1"+ type="button"+ v-on:click="clearTitle"><i class="fa fa-trash-o"></i></button>+ </span>+ </div>+ <typeahead+ v-model="name"+ :async-function="aSyncFunction"+ :open-on-empty=true+ :open-on-focus=true+ :target="target"+ item-key="description"+ v-on:input="selectedItem"+ >+ <template slot="item" slot-scope="props">+ <li v-for="(item, index) in props.items" :class="{active:props.activeIndex===index}">+ <a role="button" @click="props.select(item)">+ <span v-html="betterHighlight(item)"></span>+ </a>+ </li>+ </template>+ </typeahead>+ <ul v-for="error in this.error" class="list-unstyled">+ <li class="text-danger">{{ error }}</li>+ </ul>+ </div>+ </div>+</template>++<script>+export default {+ props: ['error', 'value', 'url'],+ name: "Title",+ mounted() {+ this.target = this.$refs.descr;+ this.$refs.title.focus();+ },+ components: {},+ data() {+ return {+ name: null,+ title: null,+ target: null,+ }+ },+ methods: {+ aSyncFunction: function (query, done) {+ axios.get(this.url + query)+ .then(res => {+ done(res.data);+ })+ .catch(err => {+ // any error handler+ })+ },+ betterHighlight: function (item) {+ var inputValue = this.$refs.descr.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');+ var escapedName = this.escapeHtml(item.description);+ return escapedName.replace(new RegExp(("" + inputValue), 'i'), '<b>$&</b>');+ },+ escapeHtml: function (string) {++ let entityMap = {+ '&': '&',+ '<': '<',+ '>': '>',+ '"': '"',+ "'": ''',+ '/': '/',+ '`': '`',+ '=': '='+ };++ return String(string).replace(/[&<>"'`=\/]/g, function fromEntityMap(s) {+ return entityMap[s];+ });++ },+ search: function (input) {+ return ['ab', 'cd'];+ },+ hasError: function () {+ return this.error.length > 0;+ },+ clearTitle: function () {+ //props.value = '';+ this.title = '';+ this.$refs.title.value = '';+ this.$emit('input', this.$refs.title.value);+ // some event?+ this.$emit('clear:title')+ },+ handleInput(e) {+ this.$emit('input', this.$refs.title.value);+ },+ handleEnter: function (e) {+ // See reference nr. 7++ if (e.keyCode === 13) {+ //e.preventDefault();+ }+ },+ selectedItem: function (e) {+ if (typeof this.name === 'undefined') {+ return;+ }+ if (typeof this.name === 'string') {+ return;+ }+ this.$refs.title.value = this.name.description;+ this.$emit('input', this.$refs.title.value);+ },+ }+}+</script>diff --git a/resources/assets/js/components/webhooks/Create.vue b/resources/assets/js/components/webhooks/Create.vuenew file mode 100644index 0000000000..48d586816e--- /dev/null+++ b/resources/assets/js/components/webhooks/Create.vue@@ -0,0 +1,60 @@+<!--+ - Create.vue+ - Copyright (c) 2022 [email protected]+ -+ - This file is part of Firefly III (https://github.com/firefly-iii).+ -+ - This program is free software: you can redistribute it and/or modify+ - it under the terms of the GNU Affero General Public License as+ - published by the Free Software Foundation, either version 3 of the+ - License, or (at your option) any later version.+ -+ - This program is distributed in the hope that it will be useful,+ - but WITHOUT ANY WARRANTY; without even the implied warranty of+ - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ - GNU Affero General Public License for more details.+ -+ - You should have received a copy of the GNU Affero General Public License+ - along with this program. If not, see <https://www.gnu.org/licenses/>.+ -->++<template>+ <form accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">+ <input name="_token" type="hidden" value="xxx">+ <div class="row">+ <div class="col-lg-12 col-md-12 col-sm-12">+ <div class="box">+ <div class="box-header with-border">+ <h3 class="box-title">+ {{ $t('firefly.create_new_webhook') }}+ </h3>+ </div>+ <div class="box-body">+ <div class="row">+ <div class="col-lg-6">+ <Title value="Hello" url="something" :error="[]"></Title>+ </div>+ <div class="col-lg-6">+ B+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </form>+</template>++<script>+import Title from "../form/Title";+export default {+ name: "Create",+ components: {Title},+ // this.descriptionAutoCompleteURI = document.getElementsByTagName('base')[0].href + "api/v1/autocomplete/transactions?query=";++}+</script>++<style scoped>++</style>diff --git a/resources/assets/js/components/webhooks/Index.vue b/resources/assets/js/components/webhooks/Index.vuenew file mode 100644index 0000000000..ff439da0f2--- /dev/null+++ b/resources/assets/js/components/webhooks/Index.vue@@ -0,0 +1,155 @@+<!--+ - Index.vue+ - Copyright (c) 2022 [email protected]+ -+ - This file is part of Firefly III (https://github.com/firefly-iii).+ -+ - This program is free software: you can redistribute it and/or modify+ - it under the terms of the GNU Affero General Public License as+ - published by the Free Software Foundation, either version 3 of the+ - License, or (at your option) any later version.+ -+ - This program is distributed in the hope that it will be useful,+ - but WITHOUT ANY WARRANTY; without even the implied warranty of+ - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ - GNU Affero General Public License for more details.+ -+ - You should have received a copy of the GNU Affero General Public License+ - along with this program. If not, see <https://www.gnu.org/licenses/>.+ -->++<template>+ <div class="row">+ <div class="col-lg-12 col-md-12 col-sm-12">+ <div class="box">+ <div class="box-header with-border">+ <h3 class="box-title">+ {{ $t('firefly.webhooks') }}+ </h3>+ </div>+ <div class="box-body no-padding">+ <div style="padding:8px;">+ <a href="webhooks/create" class="btn btn-success"><span class="fa fa-plus fa-fw"></span>{{ $t('firefly.create_new_webhook') }}</a>+ </div>++ <table class="table table-responsive table-hover" v-if="webhooks.length > 0">+ <thead>+ <tr>+ <th>Title</th>+ <th>Responds when</th>+ <th>Responds with (delivery)</th>+ <th style="width:20%;">Secret (show / hide)</th>+ <th>URL</th>+ <th class="hidden-sm hidden-xs"> </th>+ </tr>+ </thead>+ <tbody>+ <tr v-for="webhook in webhooks" :key="webhook.id">+ <td>+ <a :href="'webhooks/show/' + webhook.id">{{ webhook.title }}</a>+ </td>+ <td>{{ triggers[webhook.trigger] }}</td>+ <td>{{ responses[webhook.response] }} ({{ deliveries[webhook.delivery] }})</td>+ <td>+ <em style="cursor:pointer"+ v-if="webhook.show_secret" class="fa fa-eye" @click="toggleSecret(webhook)"></em>+ <em style="cursor:pointer"+ v-if="!webhook.show_secret" class="fa fa-eye-slash" @click="toggleSecret(webhook)"></em>+ <code v-if="webhook.show_secret">{{ webhook.secret }}</code>+ <code v-if="!webhook.show_secret">********</code>+ </td>+ <td>+ <code :title="webhook.full_url">{{ webhook.url }}</code>++ </td>+ <td class="hidden-sm hidden-xs">+ <div class="btn-group btn-group-xs pull-right">+ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">+ {{ $t('firefly.actions') }} <span class="caret"></span></button>+ <ul class="dropdown-menu dropdown-menu-right" role="menu">+ <li><a :href="'webhooks/show/' + webhook.id"><span class="fa fa-fw fa-search"></span> {{ $t('firefly.inspect') }}</a></li>+ <li><a :href="'webhooks/edit/' + webhook.id"><span class="fa fa-fw fa-pencil"></span> {{$t( 'firefly.edit') }}</a></li>+ <li><a :href="'webhooks/delete/' + webhook.id"><span class="fa fa-fw fa-trash"></span> {{ $t('firefly.delete') }}</a></li>+ </ul>+ </div>+ </td>+ </tr>+ </tbody>+ </table>++ <div style="padding:8px;">+ <a href="webhooks/create" class="btn btn-success"><span class="fa fa-plus fa-fw"></span>{{ $t('firefly.create_new_webhook') }}</a>+ </div>+ </div>+ </div>+ </div>+ </div>+</template>++<script>+export default {+ name: "Index",+ data() {+ return {+ webhooks: [],+ triggers: {+ STORE_TRANSACTION: this.$t('firefly.webhook_trigger_STORE_TRANSACTION'),+ UPDATE_TRANSACTION: this.$t('firefly.webhook_trigger_UPDATE_TRANSACTION'),+ DESTROY_TRANSACTION: this.$t('firefly.webhook_trigger_DESTROY_TRANSACTION'),+ },+ responses: {+ TRANSACTIONS: this.$t('firefly.webhook_response_TRANSACTIONS'),+ ACCOUNTS: this.$t('firefly.webhook_response_ACCOUNTS'),+ NONE: this.$t('firefly.webhook_response_none_NONE'),+ },+ deliveries: {+ JSON: this.$t('firefly.webhook_delivery_JSON'),+ },+ };+ },+ mounted() {+ this.getWebhooks();+ },+ methods: {+ getWebhooks: function () {+ this.webhooks = [];+ this.downloadWebhooks(1);+ },+ toggleSecret: function (webhook) {+ webhook.show_secret = !webhook.show_secret;+ },+ downloadWebhooks: function (page) {+ axios.get("/api/v1/webhooks?page=" + page).then((response) => {+ for (let i in response.data.data) {+ if (response.data.data.hasOwnProperty(i)) {+ let current = response.data.data[i];+ let webhook = {+ id: current.id,+ title: current.attributes.title,+ url: current.attributes.url,+ full_url: current.attributes.url,+ secret: current.attributes.secret,+ trigger: current.attributes.trigger,+ response: current.attributes.response,+ delivery: current.attributes.delivery,+ show_secret: false,+ };+ if(current.attributes.url.length > 20) {+ webhook.url = current.attributes.url.slice(0, 20) + '...';+ }+ this.webhooks.push(webhook);+ }+ }++ if (response.data.meta.pagination.current_page < response.data.meta.pagination.total_pages) {+ this.downloadWebhooks(response.data.meta.pagination.current_page + 1);+ }+ });+ },+ }+}+</script>++<style scoped>++</style>diff --git a/resources/assets/js/locales/bg.json b/resources/assets/js/locales/bg.jsonindex ab7b49132c..ed202bf227 100644--- a/resources/assets/js/locales/bg.json+++ b/resources/assets/js/locales/bg.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "\u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442 \u043e\u0442 \u0432\u0438\u0434\u0430 \u043d\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\u0442\u0430 \u043a\u043e\u044f\u0442\u043e \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0442\u0435, \u0438\u0437\u0442\u043e\u0447\u043d\u0438\u043a\u044a\u0442 \u0438 \/ \u0438\u043b\u0438 \u0446\u0435\u043b\u0435\u0432\u0430\u0442\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043f\u0440\u043e\u043c\u0435\u043d\u0435\u043d\u0430 \u043e\u0442 \u0442\u043e\u0432\u0430 \u043a\u043e\u0435\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u043e \u0432 \u043f\u044a\u0440\u0432\u043e\u0442\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\u0442\u0430.","multi_account_warning_withdrawal": "\u0418\u043c\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0432\u0438\u0434, \u0447\u0435 \u0440\u0430\u0437\u0445\u043e\u0434\u043d\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u0449\u0435 \u0431\u044a\u0434\u0435 \u0442\u0430\u0437\u0438 \u043a\u043e\u044f\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0430 \u0432 \u043f\u044a\u0440\u0432\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430 \u0442\u0435\u0433\u043b\u0435\u043d\u0435\u0442\u043e.","multi_account_warning_deposit": "\u0418\u043c\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0432\u0438\u0434, \u0447\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u043d\u0430\u0442\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u0449\u0435 \u0431\u044a\u0434\u0435 \u0442\u0430\u0437\u0438 \u043a\u043e\u044f\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0430 \u0432 \u043f\u044a\u0440\u0432\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430 \u0434\u0435\u043f\u043e\u0437\u0438\u0442\u0430.",- "multi_account_warning_transfer": "\u0418\u043c\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0432\u0438\u0434, \u0447\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u043d\u0430\u0442\u0430 + \u0440\u0430\u0437\u0445\u043e\u0434\u043d\u0430\u0442\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u0449\u0435 \u0431\u044a\u0434\u0435 \u0442\u0430\u0437\u0438 \u043a\u043e\u044f\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0430 \u0432 \u043f\u044a\u0440\u0432\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430 \u043f\u0440\u0435\u0445\u0432\u044a\u0440\u043b\u044f\u043d\u0435\u0442\u043e."+ "multi_account_warning_transfer": "\u0418\u043c\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0432\u0438\u0434, \u0447\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u043d\u0430\u0442\u0430 + \u0440\u0430\u0437\u0445\u043e\u0434\u043d\u0430\u0442\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u0449\u0435 \u0431\u044a\u0434\u0435 \u0442\u0430\u0437\u0438 \u043a\u043e\u044f\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0430 \u0432 \u043f\u044a\u0440\u0432\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430 \u043f\u0440\u0435\u0445\u0432\u044a\u0440\u043b\u044f\u043d\u0435\u0442\u043e.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "\u041f\u0430\u0434\u0435\u0436 \u043d\u0430 \u043b\u0438\u0445\u0432\u0430",diff --git a/resources/assets/js/locales/cs.json b/resources/assets/js/locales/cs.jsonindex fd69a69e81..40586585ec 100644--- a/resources/assets/js/locales/cs.json+++ b/resources/assets/js/locales/cs.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.","multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.","multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.",- "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer."+ "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Akce",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooky"},"form": {"interest_date": "\u00darokov\u00e9 datum",diff --git a/resources/assets/js/locales/de.json b/resources/assets/js/locales/de.jsonindex 82d134c1c2..c522a990fa 100644--- a/resources/assets/js/locales/de.json+++ b/resources/assets/js/locales/de.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Abh\u00e4ngig von der Art der Buchung, die Sie anlegen, kann das Quell- und\/oder Zielkonto nachfolgender Aufteilungen durch das \u00fcberschrieben werden, was in der ersten Aufteilung der Buchung definiert wurde.","multi_account_warning_withdrawal": "Bedenken Sie, dass das Quellkonto nachfolgender Aufteilungen von dem, was in der ersten Aufteilung der Abhebung definiert ist, au\u00dfer Kraft gesetzt wird.","multi_account_warning_deposit": "Bedenken Sie, dass das Zielkonto nachfolgender Aufteilungen von dem, was in der ersten Aufteilung der Einzahlung definiert ist, au\u00dfer Kraft gesetzt wird.",- "multi_account_warning_transfer": "Bedenken Sie, dass das Quell- und Zielkonto nachfolgender Aufteilungen durch das, was in der ersten Aufteilung der \u00dcbertragung definiert ist, au\u00dfer Kraft gesetzt wird."+ "multi_account_warning_transfer": "Bedenken Sie, dass das Quell- und Zielkonto nachfolgender Aufteilungen durch das, was in der ersten Aufteilung der \u00dcbertragung definiert ist, au\u00dfer Kraft gesetzt wird.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Aktionen",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Zinstermin",diff --git a/resources/assets/js/locales/el.json b/resources/assets/js/locales/el.jsonindex c2d7e67433..cc45442a9a 100644--- a/resources/assets/js/locales/el.json+++ b/resources/assets/js/locales/el.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "\u0391\u03bd\u03ac\u03bb\u03bf\u03b3\u03b1 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03c4\u03cd\u03c0\u03bf \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2 \u03c0\u03bf\u03c5 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03c4\u03b5, \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03ae\/\u03ba\u03b1\u03b9 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b5\u03bd\u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03bd\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bc\u03c6\u03b8\u03b5\u03af \u03b1\u03c0\u03cc \u03b1\u03c5\u03c4\u03cc \u03c0\u03bf\u03c5 \u03bf\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c3\u03c4\u03bf \u03c0\u03c1\u03ce\u03c4\u03bf \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03cc \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2.","multi_account_warning_withdrawal": "\u039b\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c5\u03c0\u03cc\u03c8\u03b7 \u03cc\u03c4\u03b9 \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b8\u03b1 \u03c5\u03c0\u03b5\u03c1\u03b9\u03c3\u03c7\u03cd\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03c0\u03c1\u03ce\u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03b7\u03c2 \u03b1\u03bd\u03ac\u03bb\u03b7\u03c8\u03b7\u03c2.","multi_account_warning_deposit": "\u039b\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c5\u03c0\u03cc\u03c8\u03b7 \u03cc\u03c4\u03b9 \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b8\u03b1 \u03c5\u03c0\u03b5\u03c1\u03b9\u03c3\u03c7\u03cd\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03c0\u03c1\u03ce\u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03b7\u03c2 \u03ba\u03b1\u03c4\u03ac\u03b8\u03b5\u03c3\u03b7\u03c2.",- "multi_account_warning_transfer": "\u039b\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c5\u03c0\u03cc\u03c8\u03b7 \u03cc\u03c4\u03b9 \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03ba\u03b1\u03b9 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b8\u03b1 \u03c5\u03c0\u03b5\u03c1\u03b9\u03c3\u03c7\u03cd\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03c0\u03c1\u03ce\u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03b7\u03c2 \u03bc\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac\u03c2."+ "multi_account_warning_transfer": "\u039b\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c5\u03c0\u03cc\u03c8\u03b7 \u03cc\u03c4\u03b9 \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03ba\u03b1\u03b9 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b8\u03b1 \u03c5\u03c0\u03b5\u03c1\u03b9\u03c3\u03c7\u03cd\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03c0\u03c1\u03ce\u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03b7\u03c2 \u03bc\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac\u03c2.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "\u0395\u03bd\u03ad\u03c1\u03b3\u03b5\u03b9\u03b5\u03c2",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03c4\u03bf\u03ba\u03b9\u03c3\u03bc\u03bf\u03cd",diff --git a/resources/assets/js/locales/en-gb.json b/resources/assets/js/locales/en-gb.jsonindex f99b14ffdb..deb7b939ea 100644--- a/resources/assets/js/locales/en-gb.json+++ b/resources/assets/js/locales/en-gb.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.","multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.","multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.",- "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer."+ "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Actions",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Interest date",diff --git a/resources/assets/js/locales/en.json b/resources/assets/js/locales/en.jsonindex 3da91b6f14..2b1e2b6e11 100644--- a/resources/assets/js/locales/en.json+++ b/resources/assets/js/locales/en.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.","multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.","multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.",- "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer."+ "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Actions",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Interest date",diff --git a/resources/assets/js/locales/es.json b/resources/assets/js/locales/es.jsonindex c96a026329..2e2b38f853 100644--- a/resources/assets/js/locales/es.json+++ b/resources/assets/js/locales/es.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Dependiendo del tipo de transacci\u00f3n que cree, la cuenta de origen y\/o destino de divisiones posteriores puede ser anulada por lo que se define en la primera divisi\u00f3n de la transacci\u00f3n.","multi_account_warning_withdrawal": "Tenga en cuenta que la cuenta de origen de las divisiones posteriores ser\u00e1 anulada por lo que se defina en la primera divisi\u00f3n del retiro.","multi_account_warning_deposit": "Tenga en cuenta que la cuenta de destino de las divisiones posteriores ser\u00e1 anulada por lo que se defina en la primera divisi\u00f3n del retiro.",- "multi_account_warning_transfer": "Tenga en cuenta que la cuenta de origen + destino de divisiones posteriores ser\u00e1 anulada por lo que se defina en la primera divisi\u00f3n de la transferencia."+ "multi_account_warning_transfer": "Tenga en cuenta que la cuenta de origen + destino de divisiones posteriores ser\u00e1 anulada por lo que se defina en la primera divisi\u00f3n de la transferencia.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Acciones",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Fecha de inter\u00e9s",diff --git a/resources/assets/js/locales/fi.json b/resources/assets/js/locales/fi.jsonindex 6ed4eb9c71..cdc3b19492 100644--- a/resources/assets/js/locales/fi.json+++ b/resources/assets/js/locales/fi.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Riippuen luomasi tapahtuman tyypist\u00e4, my\u00f6hempien jaotteluiden l\u00e4hde- ja\/tai kohdetilin tyyppi voidaan kumota sen mukaan, mit\u00e4 on m\u00e4\u00e4ritelty tapahtuman ensimm\u00e4isess\u00e4 jaossa.","multi_account_warning_withdrawal": "Muista, ett\u00e4 my\u00f6hempien jakojen l\u00e4hdetili m\u00e4\u00e4r\u00e4ytyy noston ensimm\u00e4isen jaon m\u00e4\u00e4ritysten mukaan.","multi_account_warning_deposit": "Muista, ett\u00e4 my\u00f6hempien jakojen kohdetili m\u00e4\u00e4r\u00e4ytyy talletuksen ensimm\u00e4isen jaon m\u00e4\u00e4ritysten mukaan.",- "multi_account_warning_transfer": "Muista, ett\u00e4 my\u00f6hempien jakojen l\u00e4hde- ja kohdetili m\u00e4\u00e4r\u00e4ytyv\u00e4t ensimm\u00e4isen jaon m\u00e4\u00e4ritysten mukaan."+ "multi_account_warning_transfer": "Muista, ett\u00e4 my\u00f6hempien jakojen l\u00e4hde- ja kohdetili m\u00e4\u00e4r\u00e4ytyv\u00e4t ensimm\u00e4isen jaon m\u00e4\u00e4ritysten mukaan.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Toiminnot",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhookit"},"form": {"interest_date": "Korkop\u00e4iv\u00e4",diff --git a/resources/assets/js/locales/fr.json b/resources/assets/js/locales/fr.jsonindex 614f3e7e43..a9213d1cb9 100644--- a/resources/assets/js/locales/fr.json+++ b/resources/assets/js/locales/fr.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Selon le type d'op\u00e9ration que vous cr\u00e9ez, le(s) compte(s) source et\/ou de destination des ventilations suivantes peuvent \u00eatre remplac\u00e9s par celui de la premi\u00e8re ventilation de l'op\u00e9ration.","multi_account_warning_withdrawal": "Gardez en t\u00eate que le compte source des ventilations suivantes peut \u00eatre remplac\u00e9 par celui de la premi\u00e8re ventilation de la d\u00e9pense.","multi_account_warning_deposit": "Gardez en t\u00eate que le compte de destination des ventilations suivantes peut \u00eatre remplac\u00e9 par celui de la premi\u00e8re ventilation du d\u00e9p\u00f4t.",- "multi_account_warning_transfer": "Gardez en t\u00eate que les comptes source et de destination des ventilations suivantes peuvent \u00eatre remplac\u00e9s par ceux de la premi\u00e8re ventilation du transfert."+ "multi_account_warning_transfer": "Gardez en t\u00eate que les comptes source et de destination des ventilations suivantes peuvent \u00eatre remplac\u00e9s par ceux de la premi\u00e8re ventilation du transfert.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Actions",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Date de valeur (int\u00e9r\u00eats)",diff --git a/resources/assets/js/locales/hu.json b/resources/assets/js/locales/hu.jsonindex bab032d88d..c1370a13c6 100644--- a/resources/assets/js/locales/hu.json+++ b/resources/assets/js/locales/hu.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.","multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.","multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.",- "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer."+ "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "M\u0171veletek",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Kamatfizet\u00e9si id\u0151pont",diff --git a/resources/assets/js/locales/it.json b/resources/assets/js/locales/it.jsonindex b7d9dbf6d3..6c2a241d00 100644--- a/resources/assets/js/locales/it.json+++ b/resources/assets/js/locales/it.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "A seconda del tipo di transazione che hai creato, il conto di origine e\/o destinazione delle successive suddivisioni pu\u00f2 essere sovrascritto da qualsiasi cosa sia definita nella prima suddivisione della transazione.","multi_account_warning_withdrawal": "Ricorda che il conto di origine delle successive suddivisioni verr\u00e0 sovrascritto da quello definito nella prima suddivisione del prelievo.","multi_account_warning_deposit": "Ricorda che il conto di destinazione delle successive suddivisioni verr\u00e0 sovrascritto da quello definito nella prima suddivisione del deposito.",- "multi_account_warning_transfer": "Ricorda che il conto di origine e il conto di destinazione delle successive suddivisioni verranno sovrascritti da quelli definiti nella prima suddivisione del trasferimento."+ "multi_account_warning_transfer": "Ricorda che il conto di origine e il conto di destinazione delle successive suddivisioni verranno sovrascritti da quelli definiti nella prima suddivisione del trasferimento.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Azioni",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhook"},"form": {"interest_date": "Data di valuta",diff --git a/resources/assets/js/locales/ja.json b/resources/assets/js/locales/ja.jsonindex 28abdbe4bc..c36291195e 100644--- a/resources/assets/js/locales/ja.json+++ b/resources/assets/js/locales/ja.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "\u4f5c\u6210\u3059\u308b\u53d6\u5f15\u306e\u7a2e\u985e\u306b\u5fdc\u3058\u3066\u3001\u7d9a\u304f\u5206\u5272\u306e\u51fa\u91d1\u5143\u53e3\u5ea7\u3084\u9001\u91d1\u5148\u53e3\u5ea7\u306f\u3001\u53d6\u5f15\u306e\u6700\u521d\u306e\u5206\u5272\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002","multi_account_warning_withdrawal": "\u7d9a\u304f\u5206\u5272\u306e\u51fa\u91d1\u5143\u53e3\u5ea7\u306f\u3001\u51fa\u91d1\u306e\u6700\u521d\u306e\u5206\u5272\u306e\u5b9a\u7fa9\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002","multi_account_warning_deposit": "\u7d9a\u304f\u5206\u5272\u306e\u9001\u91d1\u5148\u53e3\u5ea7\u306f\u3001\u9001\u91d1\u306e\u6700\u521d\u306e\u5206\u5272\u306e\u5b9a\u7fa9\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002",- "multi_account_warning_transfer": "\u7d9a\u304f\u5206\u5272\u306e\u9001\u91d1\u5148\u53e3\u5ea7\u3068\u51fa\u91d1\u5143\u53e3\u5ea7\u306f\u3001\u9001\u91d1\u306e\u6700\u521d\u306e\u5206\u5272\u306e\u5b9a\u7fa9\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002"+ "multi_account_warning_transfer": "\u7d9a\u304f\u5206\u5272\u306e\u9001\u91d1\u5148\u53e3\u5ea7\u3068\u51fa\u91d1\u5143\u53e3\u5ea7\u306f\u3001\u9001\u91d1\u306e\u6700\u521d\u306e\u5206\u5272\u306e\u5b9a\u7fa9\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "\u64cd\u4f5c",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "\u5229\u606f\u65e5",diff --git a/resources/assets/js/locales/nb.json b/resources/assets/js/locales/nb.jsonindex 525f48f57a..a3d78984eb 100644--- a/resources/assets/js/locales/nb.json+++ b/resources/assets/js/locales/nb.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Avhengig av hvilken type transaksjon du oppretter, Kilden og\/eller destinasjonskonto for etterf\u00f8lgende delinger kan overstyres av det som er definert i transaksjonens f\u00f8rste del.","multi_account_warning_withdrawal": "Husk at kildekontoen for etterf\u00f8lgende oppsplitting skal overlates av hva som defineres i den f\u00f8rste delen av uttrekket.","multi_account_warning_deposit": "Husk at mottakerkontoen for etterf\u00f8lgende oppsplitting skal overstyres av det som er definert i den f\u00f8rste delen av depositumet.",- "multi_account_warning_transfer": "Husk at kildens pluss destinasjonskonto med etterf\u00f8lgende oppdeling overstyres av det som er definert i en f\u00f8rste del av overf\u00f8ringen."+ "multi_account_warning_transfer": "Husk at kildens pluss destinasjonskonto med etterf\u00f8lgende oppdeling overstyres av det som er definert i en f\u00f8rste del av overf\u00f8ringen.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Handlinger",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Rentedato",diff --git a/resources/assets/js/locales/nl.json b/resources/assets/js/locales/nl.jsonindex f406fa61c6..7e9e9d386b 100644--- a/resources/assets/js/locales/nl.json+++ b/resources/assets/js/locales/nl.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Afhankelijk van het type transactie wordt de bron- en\/of doelrekening overschreven door wat er in de eerste split staat.","multi_account_warning_withdrawal": "De bronrekening wordt overschreven door wat er in de eerste split staat.","multi_account_warning_deposit": "De doelrekening wordt overschreven door wat er in de eerste split staat.",- "multi_account_warning_transfer": "De bron + doelrekening wordt overschreven door wat er in de eerste split staat."+ "multi_account_warning_transfer": "De bron + doelrekening wordt overschreven door wat er in de eerste split staat.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Acties",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Rentedatum",diff --git a/resources/assets/js/locales/pl.json b/resources/assets/js/locales/pl.jsonindex ef435e2637..9a78e0644d 100644--- a/resources/assets/js/locales/pl.json+++ b/resources/assets/js/locales/pl.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "W zale\u017cno\u015bci od rodzaju transakcji, kt\u00f3r\u0105 tworzysz, konto \u017ar\u00f3d\u0142owe i\/lub docelowe kolejnych podzia\u0142\u00f3w mo\u017ce zosta\u0107 ustawione na konto zdefiniowane w pierwszym podziale transakcji.","multi_account_warning_withdrawal": "Pami\u0119taj, \u017ce konto \u017ar\u00f3d\u0142owe kolejnych podzia\u0142\u00f3w zostanie ustawione na konto zdefiniowane w pierwszym podziale wyp\u0142aty.","multi_account_warning_deposit": "Pami\u0119taj, \u017ce konto docelowe kolejnych podzia\u0142\u00f3w zostanie ustawione na konto zdefiniowane w pierwszym podziale wp\u0142aty.",- "multi_account_warning_transfer": "Pami\u0119taj, \u017ce konta \u017ar\u00f3d\u0142owe i docelowe kolejnych podzia\u0142\u00f3w zostan\u0105 ustawione na konto zdefiniowane w pierwszym podziale transferu."+ "multi_account_warning_transfer": "Pami\u0119taj, \u017ce konta \u017ar\u00f3d\u0142owe i docelowe kolejnych podzia\u0142\u00f3w zostan\u0105 ustawione na konto zdefiniowane w pierwszym podziale transferu.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Akcje",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooki"},"form": {"interest_date": "Data odsetek",diff --git a/resources/assets/js/locales/pt-br.json b/resources/assets/js/locales/pt-br.jsonindex 126cf1d530..8d78402205 100644--- a/resources/assets/js/locales/pt-br.json+++ b/resources/assets/js/locales/pt-br.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Dependendo do tipo de transa\u00e7\u00e3o que voc\u00ea criar, a conta de origem e\/ou de destino das divis\u00f5es subsequentes pode ser sobrescrita pelo que estiver definido na primeira divis\u00e3o da transa\u00e7\u00e3o.","multi_account_warning_withdrawal": "Tenha em mente que a conta de origem das subsequentes divis\u00f5es ser\u00e1 sobrescrita pelo que estiver definido na primeira divis\u00e3o da sa\u00edda.","multi_account_warning_deposit": "Tenha em mente que a conta de destino das divis\u00f5es subsequentes ser\u00e1 sobrescrita pelo que estiver definido na primeira divis\u00e3o da entrada.",- "multi_account_warning_transfer": "Tenha em mente que a conta de origem + de destino das divis\u00f5es subsequentes ser\u00e1 sobrescrita pelo que for definido na primeira divis\u00e3o da transfer\u00eancia."+ "multi_account_warning_transfer": "Tenha em mente que a conta de origem + de destino das divis\u00f5es subsequentes ser\u00e1 sobrescrita pelo que for definido na primeira divis\u00e3o da transfer\u00eancia.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "A\u00e7\u00f5es",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Data de interesse",diff --git a/resources/assets/js/locales/pt.json b/resources/assets/js/locales/pt.jsonindex dbb82d2df8..4ee9e79c8b 100644--- a/resources/assets/js/locales/pt.json+++ b/resources/assets/js/locales/pt.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Dependendo do tipo de transi\u00e7\u00e3o que quer criar, a conta de origem e\/ou a destino de subsequentes divis\u00f5es pode ser sub-escrita por quaisquer regra definida na primeira divis\u00e3o da transa\u00e7\u00e3o.","multi_account_warning_withdrawal": "Mantenha em mente que a conta de origem de divis\u00f5es subsequentes ser\u00e1 sobre-escrita por quaisquer regra definida na primeira divis\u00e3o do levantamento.","multi_account_warning_deposit": "Mantenha em mente que a conta de destino de divis\u00f5es subsequentes ser\u00e1 sobre-escrita por quaisquer regra definida na primeira divis\u00e3o do dep\u00f3sito.",- "multi_account_warning_transfer": "Mantenha em mente que a conta de origem + destino de divis\u00f5es subsequentes ser\u00e3o sobre-escritas por quaisquer regras definidas na divis\u00e3o da transfer\u00eancia."+ "multi_account_warning_transfer": "Mantenha em mente que a conta de origem + destino de divis\u00f5es subsequentes ser\u00e3o sobre-escritas por quaisquer regras definidas na divis\u00e3o da transfer\u00eancia.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "A\u00e7\u00f5es",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Data de juros",diff --git a/resources/assets/js/locales/ro.json b/resources/assets/js/locales/ro.jsonindex 43e669964f..bb00120429 100644--- a/resources/assets/js/locales/ro.json+++ b/resources/assets/js/locales/ro.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "\u00cen func\u021bie de tipul de tranzac\u021bie pe care o crea\u021bi, contul sursei \u0219i\/sau destina\u021biei frac\u021bion\u0103rilor ulterioare poate fi dep\u0103\u0219it cu orice se define\u0219te \u00een prima \u00eemp\u0103r\u021bire a tranzac\u021biei.","multi_account_warning_withdrawal": "Re\u0163ine\u0163i faptul c\u0103 sursa scind\u0103rilor ulterioare va fi anulat\u0103 de orice altceva definit \u00een prima \u00eemp\u0103r\u0163ire a retragerii.","multi_account_warning_deposit": "\u021aine\u021bi cont de faptul c\u0103 destina\u021bia scind\u0103rilor ulterioare va fi dep\u0103\u0219it\u0103 cu orice se define\u0219te la prima \u00eemp\u0103r\u021bire a depozitului.",- "multi_account_warning_transfer": "Re\u0163ine\u0163i faptul c\u0103 contul sursei + destina\u0163ia frac\u0163ion\u0103rilor ulterioare va fi anulat de orice se define\u015fte \u00een prima \u00eemp\u0103r\u0163ire a transferului."+ "multi_account_warning_transfer": "Re\u0163ine\u0163i faptul c\u0103 contul sursei + destina\u0163ia frac\u0163ion\u0103rilor ulterioare va fi anulat de orice se define\u015fte \u00een prima \u00eemp\u0103r\u0163ire a transferului.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Ac\u021biuni",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhook-uri"},"form": {"interest_date": "Data de interes",diff --git a/resources/assets/js/locales/ru.json b/resources/assets/js/locales/ru.jsonindex bc070cb7e3..97b8b2b91a 100644--- a/resources/assets/js/locales/ru.json+++ b/resources/assets/js/locales/ru.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "\u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u0438\u043f\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0435, \u0441\u0447\u0451\u0442-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0438\/\u0438\u043b\u0438 \u0441\u0447\u0451\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u0442\u0435\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438.","multi_account_warning_withdrawal": "\u0418\u043c\u0435\u0439\u0442\u0435 \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0441\u0447\u0451\u0442-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u0436\u0435, \u043a\u0430\u043a \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u0430.","multi_account_warning_deposit": "\u0418\u043c\u0435\u0439\u0442\u0435 \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0441\u0447\u0451\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u0436\u0435, \u043a\u0430\u043a \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0434\u043e\u0445\u043e\u0434\u0430.",- "multi_account_warning_transfer": "\u0418\u043c\u0435\u0439\u0442\u0435 \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0441\u0447\u0451\u0442-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0438 \u0441\u0447\u0451\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0442\u0430\u043a\u0438\u043c\u0438 \u0436\u0435, \u043a\u0430\u043a \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430."+ "multi_account_warning_transfer": "\u0418\u043c\u0435\u0439\u0442\u0435 \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0441\u0447\u0451\u0442-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0438 \u0441\u0447\u0451\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0442\u0430\u043a\u0438\u043c\u0438 \u0436\u0435, \u043a\u0430\u043a \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "\u0412\u0435\u0431-\u0445\u0443\u043a\u0438"},"form": {"interest_date": "\u0414\u0430\u0442\u0430 \u043d\u0430\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432",diff --git a/resources/assets/js/locales/sk.json b/resources/assets/js/locales/sk.jsonindex ee50e7effe..6842e31562 100644--- a/resources/assets/js/locales/sk.json+++ b/resources/assets/js/locales/sk.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "V z\u00e1vislosti od typu vytvorenej transakcie, m\u00f4\u017ee by\u0165 zdrojov\u00fd a\/alebo cie\u013eov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed prep\u00edsan\u00fd \u00fadajmi v prvom rozdelen\u00ed transakcie.","multi_account_warning_withdrawal": "Majte na pam\u00e4ti, \u017ee zdrojov\u00fd bankov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed bude prep\u00edsan\u00fd t\u00fdm, \u010do je definovan\u00e9 v prvom rozdelen\u00ed v\u00fdberu.","multi_account_warning_deposit": "Majte na pam\u00e4ti, \u017ee zdrojov\u00fd bankov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed bude prep\u00edsan\u00fd t\u00fdm, \u010do je definovan\u00e9 v prvom roz\u00fa\u010dtovan\u00ed vkladu.",- "multi_account_warning_transfer": "Majte na pam\u00e4ti, \u017ee zdrojov\u00fd a cie\u013eov\u00fd bankov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed bude prep\u00edsan\u00fd t\u00fdm, \u010do je definovan\u00e9 v prvom roz\u00fa\u010dtovan\u00ed prevodu."+ "multi_account_warning_transfer": "Majte na pam\u00e4ti, \u017ee zdrojov\u00fd a cie\u013eov\u00fd bankov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed bude prep\u00edsan\u00fd t\u00fdm, \u010do je definovan\u00e9 v prvom roz\u00fa\u010dtovan\u00ed prevodu.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "Akcie",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooky"},"form": {"interest_date": "\u00darokov\u00fd d\u00e1tum",diff --git a/resources/assets/js/locales/sv.json b/resources/assets/js/locales/sv.jsonindex b91e09b7cb..4d215c3706 100644--- a/resources/assets/js/locales/sv.json+++ b/resources/assets/js/locales/sv.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Beroende p\u00e5 vilken typ av transaktion du skapar, k\u00e4llan och\/eller destinationskontot f\u00f6r efterf\u00f6ljande delningar kan \u00e5sidos\u00e4ttas av vad som \u00e4n definieras i den f\u00f6rsta delningen av transaktionen.","multi_account_warning_withdrawal": "T\u00e4nk p\u00e5 att k\u00e4llkontot f\u00f6r efterf\u00f6ljande uppdelningar kommer att upph\u00e4vas av vad som \u00e4n definieras i den f\u00f6rsta uppdelningen av uttaget.","multi_account_warning_deposit": "T\u00e4nk p\u00e5 att destinationskontot f\u00f6r efterf\u00f6ljande uppdelningar kommer att styras av vad som \u00e4n definieras i den f\u00f6rsta uppdelningen av ins\u00e4ttningen.",- "multi_account_warning_transfer": "T\u00e4nk p\u00e5 att k\u00e4ll + destinationskonto av efterf\u00f6ljande delningar kommer att styras av vad som definieras i den f\u00f6rsta uppdelningen av \u00f6verf\u00f6ringen."+ "multi_account_warning_transfer": "T\u00e4nk p\u00e5 att k\u00e4ll + destinationskonto av efterf\u00f6ljande delningar kommer att styras av vad som definieras i den f\u00f6rsta uppdelningen av \u00f6verf\u00f6ringen.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "\u00c5tg\u00e4rder",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhookar"},"form": {"interest_date": "R\u00e4ntedatum",diff --git a/resources/assets/js/locales/vi.json b/resources/assets/js/locales/vi.jsonindex a22972e1be..287b3d242b 100644--- a/resources/assets/js/locales/vi.json+++ b/resources/assets/js/locales/vi.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.","multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.","multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.",- "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer."+ "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "H\u00e0nh \u0111\u1ed9ng",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "Ng\u00e0y l\u00e3i",diff --git a/resources/assets/js/locales/zh-cn.json b/resources/assets/js/locales/zh-cn.jsonindex a750d3800c..8e85073c8a 100644--- a/resources/assets/js/locales/zh-cn.json+++ b/resources/assets/js/locales/zh-cn.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "\u6839\u636e\u60a8\u521b\u5efa\u7684\u4ea4\u6613\u7c7b\u578b\uff0c\u540e\u7eed\u62c6\u5206\u7684\u6765\u6e90\u548c\/\u6216\u76ee\u6807\u8d26\u6237\u53ef\u80fd\u88ab\u4ea4\u6613\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002","multi_account_warning_withdrawal": "\u8bf7\u6ce8\u610f\uff0c\u540e\u7eed\u62c6\u5206\u7684\u6765\u6e90\u8d26\u6237\u5c06\u4f1a\u88ab\u652f\u51fa\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002","multi_account_warning_deposit": "\u8bf7\u6ce8\u610f\uff0c\u540e\u7eed\u62c6\u5206\u7684\u76ee\u6807\u8d26\u6237\u5c06\u4f1a\u88ab\u6536\u5165\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002",- "multi_account_warning_transfer": "\u8bf7\u6ce8\u610f\uff0c\u540e\u7eed\u62c6\u5206\u7684\u6765\u6e90\u548c\u76ee\u6807\u8d26\u6237\u5c06\u4f1a\u88ab\u8f6c\u8d26\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002"+ "multi_account_warning_transfer": "\u8bf7\u6ce8\u610f\uff0c\u540e\u7eed\u62c6\u5206\u7684\u6765\u6e90\u548c\u76ee\u6807\u8d26\u6237\u5c06\u4f1a\u88ab\u8f6c\u8d26\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "\u64cd\u4f5c",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "\u5229\u606f\u65e5\u671f",diff --git a/resources/assets/js/locales/zh-tw.json b/resources/assets/js/locales/zh-tw.jsonindex b207204ddf..07826319fa 100644--- a/resources/assets/js/locales/zh-tw.json+++ b/resources/assets/js/locales/zh-tw.json@@ -85,7 +85,18 @@"multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.","multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.","multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.",- "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer."+ "multi_account_warning_transfer": "Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.",+ "webhook_trigger_STORE_TRANSACTION": "On transaction creation",+ "webhook_trigger_UPDATE_TRANSACTION": "On transaction update",+ "webhook_trigger_DESTROY_TRANSACTION": "On transaction delete",+ "webhook_response_TRANSACTIONS": "Account details",+ "webhook_response_ACCOUNTS": "Transaction details",+ "webhook_response_none_NONE": "No details",+ "webhook_delivery_JSON": "JSON",+ "actions": "\u64cd\u4f5c",+ "inspect": "Inspect",+ "create_new_webhook": "Create new webhook",+ "webhooks": "Webhooks"},"form": {"interest_date": "\u5229\u7387\u65e5\u671f",diff --git a/resources/assets/js/webhooks/create.js b/resources/assets/js/webhooks/create.jsnew file mode 100644index 0000000000..379185990b--- /dev/null+++ b/resources/assets/js/webhooks/create.js@@ -0,0 +1,39 @@+/*+ * create.js+ * Copyright (c) 2019 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++import Create from "../components/webhooks/Create";++/**+ * First we will load Axios via bootstrap.js+ * jquery and bootstrap-sass preloaded in app.js+ * vue, uiv and vuei18n are in app_vue.js+ */++require('../bootstrap');+const i18n = require('../i18n');++let props = {};+const app = new Vue({+ i18n,+ el: "#webhooks_create",+ render: (createElement) => {+ return createElement(Create, {props: props})+ },+});diff --git a/resources/assets/js/webhooks/index.js b/resources/assets/js/webhooks/index.jsnew file mode 100644index 0000000000..954bb7dd6e--- /dev/null+++ b/resources/assets/js/webhooks/index.js@@ -0,0 +1,39 @@+/*+ * edit_transactions.js+ * Copyright (c) 2019 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++import Index from "../components/webhooks";++/**+ * First we will load Axios via bootstrap.js+ * jquery and bootstrap-sass preloaded in app.js+ * vue, uiv and vuei18n are in app_vue.js+ */++require('../bootstrap');+const i18n = require('../i18n');++let props = {};+const app = new Vue({+ i18n,+ el: "#webhooks_index",+ render: (createElement) => {+ return createElement(Index, {props: props})+ },+});diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.phpindex 755842b29d..26fa300ad9 100644--- a/resources/lang/en_US/firefly.php+++ b/resources/lang/en_US/firefly.php@@ -228,6 +228,17 @@ return [// Webhooks'webhooks' => 'Webhooks',+ 'webhooks_breadcrumb' => 'Webhooks',+ 'webhook_trigger_STORE_TRANSACTION' => 'On transaction creation',+ 'webhook_trigger_UPDATE_TRANSACTION' => 'On transaction update',+ 'webhook_trigger_DESTROY_TRANSACTION' => 'On transaction delete',+ 'webhook_response_TRANSACTIONS' => 'Account details',+ 'webhook_response_ACCOUNTS' => 'Transaction details',+ 'webhook_response_none_NONE' => 'No details',+ 'webhook_delivery_JSON' => 'JSON',+ 'inspect' => 'Inspect',+ 'create_new_webhook' => 'Create new webhook',+ 'webhooks_create_breadcrumb' => 'Create new webhook',// API access'authorization_request' => 'Firefly III v:version Authorization Request',@@ -247,7 +258,6 @@ return ['all_source_accounts' => 'Source accounts','back_to_index' => 'Back to the index','cant_logout_guard' => 'Firefly III can\'t log you out.',- 'external_url' => 'External URL','internal_reference' => 'Internal reference',// check for updates:diff --git a/resources/lang/en_US/validation.php b/resources/lang/en_US/validation.phpindex 5f5e96124c..e3c07f5369 100644--- a/resources/lang/en_US/validation.php+++ b/resources/lang/en_US/validation.php@@ -141,8 +141,8 @@ return ['unique_piggy_bank_for_user' => 'The name of the piggy bank must be unique.','unique_object_group' => 'The group name must be unique','starts_with' => 'The value must start with :values.',- 'unique_webhook' => 'You already have a webhook with these values.',- 'unique_existing_webhook' => 'You already have another webhook with these values.',+ 'unique_webhook' => 'You already have a webhook with this combination of URL, trigger, response and delivery.',+ 'unique_existing_webhook' => 'You already have another webhook this combination of URL, trigger, response and delivery.','same_account_type' => 'Both accounts must be of the same account type','same_account_currency' => 'Both accounts must have the same currency setting',diff --git a/resources/views/partials/menu-sidebar.twig b/resources/views/partials/menu-sidebar.twigindex 07a57665c5..1d2644e396 100644--- a/resources/views/partials/menu-sidebar.twig+++ b/resources/views/partials/menu-sidebar.twig@@ -84,6 +84,12 @@<span>{{ 'recurrences'|_ }}</span></a></li>+ <li class="{{ activeRoutePartial('webhooks') }}">+ <a href="{{ route('webhooks.index') }}">+ <span class="fa fa-angle-right fa-fw"></span>+ <span>{{ 'webhooks'|_ }}</span>+ </a>+ </li></ul></li>diff --git a/resources/views/webhooks/create.twig b/resources/views/webhooks/create.twignew file mode 100644index 0000000000..625630473d--- /dev/null+++ b/resources/views/webhooks/create.twig@@ -0,0 +1,12 @@+{% set VUE_SCRIPT_NAME = 'webhooks/create' %}+{% extends './layout/default' %}+{% block breadcrumbs %}+ {{ Breadcrumbs.render(Route.getCurrentRoute.getName, objectType) }}+{% endblock %}++{% block content %}+ <div id="webhooks_create"></div>+{% endblock %}+{% block scripts %}++{% endblock %}diff --git a/resources/views/webhooks/index.twig b/resources/views/webhooks/index.twignew file mode 100644index 0000000000..09a66a2002--- /dev/null+++ b/resources/views/webhooks/index.twig@@ -0,0 +1,12 @@+{% set VUE_SCRIPT_NAME = 'webhooks/index' %}+{% extends './layout/default' %}+{% block breadcrumbs %}+ {{ Breadcrumbs.render(Route.getCurrentRoute.getName, objectType) }}+{% endblock %}++{% block content %}+ <div id="webhooks_index"></div>+{% endblock %}+{% block scripts %}++{% endblock %}diff --git a/routes/breadcrumbs.php b/routes/breadcrumbs.phpindex badcc9e06d..c51e7f5aa3 100644--- a/routes/breadcrumbs.php+++ b/routes/breadcrumbs.php@@ -1228,6 +1228,22 @@ try {});+ // webhooks+ Breadcrumbs::for(+ 'webhooks.index',+ static function (Generator $breadcrumbs): void {+ $breadcrumbs->parent('index');+ $breadcrumbs->push(trans('firefly.webhooks_breadcrumb'), route('webhooks.index'));+ }+ );+ Breadcrumbs::for(+ 'webhooks.create',+ static function (Generator $breadcrumbs): void {+ $breadcrumbs->parent('index');+ $breadcrumbs->push(trans('firefly.webhooks_create_breadcrumb'), route('webhooks.create'));+ }+ );+} catch (DuplicateBreadcrumbException $e) {// @ignoreException}diff --git a/routes/web.php b/routes/web.phpindex 8fe655cf18..15570a8a0f 100644--- a/routes/web.php+++ b/routes/web.php@@ -1091,6 +1091,7 @@ Route::group(['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers\Webhooks', 'prefix' => 'webhooks', 'as' => 'webhooks.'],static function () {Route::get('index', ['uses' => 'IndexController@index', 'as' => 'index']);+ Route::get('create', ['uses' => 'CreateController@index', 'as' => 'create']);});diff --git a/webpack.mix.js b/webpack.mix.jsindex bab0304fc9..c18765c046 100644--- a/webpack.mix.js+++ b/webpack.mix.js@@ -33,3 +33,7 @@ mix.js('resources/assets/js/app_vue.js', 'public/v1/js').vue({version: 2});mix.js('resources/assets/js/create_transaction.js', 'public/v1/js').vue({version: 2});mix.js('resources/assets/js/edit_transaction.js', 'public/v1/js').vue({version: 2});mix.js('resources/assets/js/profile.js', 'public/v1/js').vue({version: 2});++// webhooks+mix.js('resources/assets/js/webhooks/index.js', 'public/v1/js/webhooks').vue({version: 2});+mix.js('resources/assets/js/webhooks/create.js', 'public/v1/js/webhooks').vue({version: 2});