diff --git a/.env.example b/.env.example index bbde8fdc3d..e332ebabee 100644 --- a/.env.example +++ b/.env.example @@ -118,6 +118,7 @@ REDIS_CACHE_DB="1" COOKIE_PATH="/" COOKIE_DOMAIN= COOKIE_SECURE=false +COOKIE_SAMESITE=lax # If you want Firefly III to mail you, update these settings # For instructions, see: https://docs.firefly-iii.org/advanced-installation/email diff --git a/config/session.php b/config/session.php index 09becf087b..f3cb244e20 100644 --- a/config/session.php +++ b/config/session.php @@ -36,5 +36,5 @@ return [ 'domain' => env('COOKIE_DOMAIN', null), 'secure' => env('COOKIE_SECURE', null), 'http_only' => true, - 'same_site' => null, + 'same_site' => env('COOKIE_SAMESITE','lax'), ]; diff --git a/frontend/mix-manifest.json b/frontend/mix-manifest.json index 4cefb1e099..54e5e196b9 100644 --- a/frontend/mix-manifest.json +++ b/frontend/mix-manifest.json @@ -1,22 +1,12 @@ { - "/public/js/manifest.js": "/public/js/manifest.js", - "/public/js/manifest.js.map": "/public/js/manifest.js.map", - "/public/js/vendor.js": "/public/js/vendor.js", - "/public/js/vendor.js.map": "/public/js/vendor.js.map", "/public/js/accounts/index.js": "/public/js/accounts/index.js", - "/public/js/accounts/index.js.map": "/public/js/accounts/index.js.map", "/public/js/accounts/show.js": "/public/js/accounts/show.js", - "/public/js/accounts/show.js.map": "/public/js/accounts/show.js.map", "/public/js/dashboard.js": "/public/js/dashboard.js", "/public/css/app.css": "/public/css/app.css", - "/public/js/dashboard.js.map": "/public/js/dashboard.js.map", - "/public/css/app.css.map": "/public/css/app.css.map", "/public/js/empty.js": "/public/js/empty.js", - "/public/js/empty.js.map": "/public/js/empty.js.map", + "/public/js/manifest.js": "/public/js/manifest.js", "/public/js/new-user/index.js": "/public/js/new-user/index.js", - "/public/js/new-user/index.js.map": "/public/js/new-user/index.js.map", "/public/js/register.js": "/public/js/register.js", - "/public/js/register.js.map": "/public/js/register.js.map", "/public/js/transactions/create.js": "/public/js/transactions/create.js", - "/public/js/transactions/create.js.map": "/public/js/transactions/create.js.map" + "/public/js/vendor.js": "/public/js/vendor.js" } diff --git a/frontend/src/components/dashboard/BudgetLimitRow.vue b/frontend/src/components/dashboard/BudgetLimitRow.vue index b646c8ca31..a463dd4419 100644 --- a/frontend/src/components/dashboard/BudgetLimitRow.vue +++ b/frontend/src/components/dashboard/BudgetLimitRow.vue @@ -50,7 +50,7 @@
- + Spent {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }} of @@ -59,7 +59,7 @@
- +   Spent {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }} diff --git a/frontend/src/components/dashboard/BudgetRow.vue b/frontend/src/components/dashboard/BudgetRow.vue index 71f832551d..608252219a 100644 --- a/frontend/src/components/dashboard/BudgetRow.vue +++ b/frontend/src/components/dashboard/BudgetRow.vue @@ -18,6 +18,7 @@ - along with this program. If not, see . --> + diff --git a/frontend/src/components/dashboard/MainCreditList.vue b/frontend/src/components/dashboard/MainCreditList.vue index 6d559f3062..1dd6cbec45 100644 --- a/frontend/src/components/dashboard/MainCreditList.vue +++ b/frontend/src/components/dashboard/MainCreditList.vue @@ -23,7 +23,20 @@

{{ $t('firefly.revenue_accounts') }}

-
+ +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -53,28 +66,57 @@ - - diff --git a/frontend/src/components/dashboard/MainDebitList.vue b/frontend/src/components/dashboard/MainDebitList.vue index 1c1ee0ef4d..6bb9de0e9d 100644 --- a/frontend/src/components/dashboard/MainDebitList.vue +++ b/frontend/src/components/dashboard/MainDebitList.vue @@ -23,7 +23,20 @@

{{ $t('firefly.expense_accounts') }}

-
+ +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -53,26 +66,55 @@ diff --git a/frontend/src/components/dashboard/TopBoxes.vue b/frontend/src/components/dashboard/TopBoxes.vue index 1f72c8243f..33d6b6238f 100644 --- a/frontend/src/components/dashboard/TopBoxes.vue +++ b/frontend/src/components/dashboard/TopBoxes.vue @@ -25,7 +25,9 @@
- {{ $t("firefly.balance") }} + {{ $t("firefly.balance") }} + + {{ balance.value_parsed }} @@ -48,8 +50,9 @@
- {{ $t('firefly.bills_to_pay') }} - + {{ $t('firefly.bills_to_pay') }} + + {{ balance.value_parsed }} @@ -72,8 +75,9 @@
- {{ $t('firefly.left_to_spend') }} - + {{ $t('firefly.left_to_spend') }} + + {{ left.value_parsed }} @@ -97,7 +101,9 @@
- {{ $t('firefly.net_worth') }} + {{ $t('firefly.net_worth') }} + + {{ nw.value_parsed }}
@@ -117,6 +123,9 @@