Compare commits

...

712 Commits
5.5.0 ... 5.6.0

Author SHA1 Message Date
James Cole
1d02d86f9e Merge branch 'release/5.6.0' 2021-09-17 15:19:52 +02:00
James Cole
f63a561c76 Update final packages. 2021-09-17 15:18:49 +02:00
James Cole
a74098d7dc Update some last-minute files. 2021-09-17 15:18:04 +02:00
James Cole
ebcf40cb8f Update packages 2021-09-17 09:27:40 +02:00
James Cole
0ab9db23d1 Update meta files for new release. 2021-09-17 09:23:49 +02:00
James Cole
46f2494dfd Rebuild frontend. 2021-09-17 09:02:59 +02:00
James Cole
5e5d2b2acc Fix #4988 2021-09-17 09:01:36 +02:00
James Cole
6691062747 Search for non-existing values now returns nothing. 2021-09-17 08:46:03 +02:00
James Cole
0e5256c8ce Rebuild transaction list. 2021-09-17 07:18:37 +02:00
James Cole
f95a064eca Rebuild frontend. 2021-09-16 14:32:06 +02:00
James Cole
eaa293f406 Merge stuff 2021-09-16 14:24:27 +02:00
James Cole
7c0f387f2c Various update meta-data in files. 2021-09-16 14:21:35 +02:00
James Cole
34f9b38ea3 Merge pull request #5067 from LBreda/develop
Maskable icon and service worker
2021-09-14 06:19:58 +02:00
Lorenzo Breda
232cdd6901 Rename Offline.twig -> offline.twig 2021-09-13 21:07:54 +02:00
Lorenzo Breda
a815d7b3e2 Delete the offline page translations 2021-09-13 21:06:24 +02:00
Lorenzo Breda
91b1a89334 Change serviceworker.js license holder 2021-09-13 21:04:55 +02:00
Lorenzo Breda
d7a5da0fc9 Remove .idea from .gitignore 2021-09-13 21:02:42 +02:00
James Cole
18b0386c75 Merge pull request #5080 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/webpack-5.52.1
Bump webpack from 5.52.0 to 5.52.1 in /frontend
2021-09-13 12:38:53 +02:00
James Cole
64d8985be1 Merge pull request #5081 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/laravel-mix-6.0.31
Bump laravel-mix from 6.0.29 to 6.0.31 in /frontend
2021-09-13 12:38:41 +02:00
James Cole
73c30f532a Merge pull request #5077 from firefly-iii/dependabot/npm_and_yarn/develop/vue/compiler-sfc-3.2.11
Bump @vue/compiler-sfc from 3.2.9 to 3.2.11
2021-09-13 12:18:51 +02:00
James Cole
27b556e653 Merge pull request #5076 from firefly-iii/dependabot/npm_and_yarn/develop/axios-0.21.4
Bump axios from 0.21.3 to 0.21.4
2021-09-13 12:17:40 +02:00
James Cole
511d3d958f Merge pull request #5078 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/sass-1.39.2
Bump sass from 1.39.0 to 1.39.2 in /frontend
2021-09-13 12:17:31 +02:00
James Cole
69f091e430 Merge pull request #5079 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/axios-0.21.4
Bump axios from 0.21.3 to 0.21.4 in /frontend
2021-09-13 12:17:22 +02:00
dependabot[bot]
f230aba392 Bump laravel-mix from 6.0.29 to 6.0.31 in /frontend
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.29 to 6.0.31.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/laravel-mix/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 10:00:35 +00:00
dependabot[bot]
d1033251ff Bump webpack from 5.52.0 to 5.52.1 in /frontend
Bumps [webpack](https://github.com/webpack/webpack) from 5.52.0 to 5.52.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.52.0...v5.52.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 10:00:07 +00:00
James Cole
1e4551b306 Merge pull request #5075 from firefly-iii/dependabot/npm_and_yarn/develop/laravel-mix-6.0.31
Bump laravel-mix from 6.0.29 to 6.0.31
2021-09-13 11:57:25 +02:00
dependabot[bot]
12535706d0 Bump axios from 0.21.3 to 0.21.4 in /frontend
Bumps [axios](https://github.com/axios/axios) from 0.21.3 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/0.21.3...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 03:02:51 +00:00
dependabot[bot]
1d325c3433 Bump sass from 1.39.0 to 1.39.2 in /frontend
Bumps [sass](https://github.com/sass/dart-sass) from 1.39.0 to 1.39.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.39.0...1.39.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 03:02:40 +00:00
dependabot[bot]
fff9676811 Bump @vue/compiler-sfc from 3.2.9 to 3.2.11
Bumps [@vue/compiler-sfc](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-sfc) from 3.2.9 to 3.2.11.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.2.11/packages/compiler-sfc)

---
updated-dependencies:
- dependency-name: "@vue/compiler-sfc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 03:02:37 +00:00
dependabot[bot]
244428929f Bump axios from 0.21.3 to 0.21.4
Bumps [axios](https://github.com/axios/axios) from 0.21.3 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/0.21.3...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 03:02:26 +00:00
dependabot[bot]
947336b578 Bump laravel-mix from 6.0.29 to 6.0.31
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.29 to 6.0.31.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/laravel-mix/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 03:02:18 +00:00
James Cole
c38e712338 Small readme updates. 2021-09-11 07:31:19 +02:00
James Cole
5bac889d52 Merge branch 'main' into develop 2021-09-11 06:55:16 +02:00
James Cole
4352f4a095 Update templates. 2021-09-11 06:54:57 +02:00
James Cole
4ab7f00f86 Improve transactions overview. 2021-09-11 06:53:06 +02:00
James Cole
c0099262ea Fix issue with piggies. 2021-09-11 06:52:49 +02:00
James Cole
e53eb48ecc Update readme. 2021-09-11 06:52:38 +02:00
Lorenzo Breda
16d39ff9d0 Add service worker and offline page (needed to install the webapp on mobile devices) 2021-09-11 01:52:58 +02:00
Lorenzo Breda
e9f2f56634 Add maskable icons (and some PWA-related settings) 2021-09-11 01:06:22 +02:00
James Cole
dceea6795a Merge pull request #5052 from firefly-iii/dependabot/npm_and_yarn/develop/laravel-mix-6.0.29
Bump laravel-mix from 6.0.28 to 6.0.29
2021-09-06 06:16:53 +02:00
James Cole
7756227dc2 Merge pull request #5053 from firefly-iii/dependabot/npm_and_yarn/develop/axios-0.21.3
Bump axios from 0.21.1 to 0.21.3
2021-09-06 06:16:45 +02:00
James Cole
5d0596053e Merge pull request #5054 from firefly-iii/dependabot/npm_and_yarn/develop/vue/compiler-sfc-3.2.9
Bump @vue/compiler-sfc from 3.2.6 to 3.2.9
2021-09-06 06:16:34 +02:00
James Cole
436298891e Merge pull request #5056 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/laravel-mix-6.0.29
Bump laravel-mix from 6.0.28 to 6.0.29 in /frontend
2021-09-06 06:16:26 +02:00
James Cole
55b8b082ed Merge pull request #5055 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/sass-1.39.0
Bump sass from 1.38.2 to 1.39.0 in /frontend
2021-09-06 06:16:16 +02:00
James Cole
faff056674 Merge pull request #5057 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/webpack-5.52.0
Bump webpack from 5.51.1 to 5.52.0 in /frontend
2021-09-06 06:16:03 +02:00
James Cole
b10484d993 Merge pull request #5058 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/axios-0.21.3
Bump axios from 0.21.1 to 0.21.3 in /frontend
2021-09-06 06:15:52 +02:00
dependabot[bot]
b61c47cc8a Bump axios from 0.21.1 to 0.21.3 in /frontend
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...0.21.3)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 03:04:10 +00:00
dependabot[bot]
859a71cc6a Bump webpack from 5.51.1 to 5.52.0 in /frontend
Bumps [webpack](https://github.com/webpack/webpack) from 5.51.1 to 5.52.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.51.1...v5.52.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 03:03:57 +00:00
dependabot[bot]
8297aa4100 Bump laravel-mix from 6.0.28 to 6.0.29 in /frontend
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.28 to 6.0.29.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/laravel-mix/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 03:03:40 +00:00
dependabot[bot]
83e5b5edc6 Bump sass from 1.38.2 to 1.39.0 in /frontend
Bumps [sass](https://github.com/sass/dart-sass) from 1.38.2 to 1.39.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.38.2...1.39.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 03:03:29 +00:00
dependabot[bot]
fbfd763a74 Bump @vue/compiler-sfc from 3.2.6 to 3.2.9
Bumps [@vue/compiler-sfc](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-sfc) from 3.2.6 to 3.2.9.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.2.9/packages/compiler-sfc)

---
updated-dependencies:
- dependency-name: "@vue/compiler-sfc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 03:02:08 +00:00
dependabot[bot]
925dbfead8 Bump axios from 0.21.1 to 0.21.3
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...0.21.3)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 03:01:55 +00:00
dependabot[bot]
7de8439323 Bump laravel-mix from 6.0.28 to 6.0.29
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.28 to 6.0.29.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/laravel-mix/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 03:01:49 +00:00
James Cole
8572e056f9 Fix 404 title. 2021-09-04 07:32:25 +02:00
James Cole
6fee873729 Fix #5042 2021-09-04 07:32:03 +02:00
James Cole
b96a7bcbbd Update bug.yml 2021-09-04 07:25:46 +02:00
James Cole
4f2e7ac0d4 Fix foreign keys. 2021-09-04 06:12:31 +02:00
James Cole
30d155a8e2 Add field to user management. 2021-08-30 06:37:55 +02:00
James Cole
a08440aacf Update security text 2021-08-29 07:12:37 +02:00
James Cole
0cd5773362 Rebuild frontend. 2021-08-28 16:37:48 +02:00
James Cole
a13af41e9f Rebuild frontend. 2021-08-28 16:30:08 +02:00
James Cole
d8a7bb4dc7 Update packages 2021-08-28 16:29:45 +02:00
James Cole
9b8d50aa54 Update DB version. 2021-08-28 15:56:15 +02:00
James Cole
10787aada8 New user groups and memberships 2021-08-28 15:47:33 +02:00
James Cole
a14c9438ad Minor code cleanup. 2021-08-28 15:47:09 +02:00
James Cole
92f7a9c574 Small code cleanup 2021-08-28 15:46:34 +02:00
James Cole
d9e3d9ca9e Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-08-28 15:45:38 +02:00
James Cole
54b4b9438e Merge branch 'main' into develop 2021-08-28 15:45:04 +02:00
James Cole
ef3d2b8e99 Merge pull request #5015 from firefly-iii/dependabot/npm_and_yarn/develop/laravel-mix-6.0.28
Bump laravel-mix from 6.0.27 to 6.0.28
2021-08-25 12:17:02 +02:00
James Cole
fa2c90064d Merge pull request #5016 from firefly-iii/dependabot/npm_and_yarn/develop/vue/compiler-sfc-3.2.4
Bump @vue/compiler-sfc from 3.2.2 to 3.2.4
2021-08-25 12:16:03 +02:00
James Cole
ec1764ba8c Update fr.yml 2021-08-23 06:24:47 +02:00
dependabot[bot]
8049a5d301 Bump @vue/compiler-sfc from 3.2.2 to 3.2.4
Bumps [@vue/compiler-sfc](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-sfc) from 3.2.2 to 3.2.4.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.2.4/packages/compiler-sfc)

---
updated-dependencies:
- dependency-name: "@vue/compiler-sfc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 03:02:26 +00:00
dependabot[bot]
edf4f9e49b Bump laravel-mix from 6.0.27 to 6.0.28
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.27 to 6.0.28.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/compare/v6.0.27...v6.0.28)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 03:02:15 +00:00
James Cole
17757eb3ca Merge pull request #5007 from hoshsadiq/patch-1
Add additional extensions to composer require
2021-08-21 20:43:10 +02:00
Hosh
cd009f51d6 Add additional extensions to composer require 2021-08-21 10:52:33 +00:00
James Cole
c9c043712a Sort and clean up some code. 2021-08-20 20:49:42 +02:00
James Cole
f80178b1b2 Fix https://huntr.dev/bounties/ea181323-51f8-46a2-a60f-6a401907feb7/ 2021-08-20 10:05:18 +02:00
James Cole
06d319cd71 Fix https://huntr.dev/bounties/d32f3d5a-0738-41ba-89de-34f2a772de76/ 2021-08-20 09:51:00 +02:00
James Cole
14cdce113e Fix vulnerability https://huntr.dev/bounties/dd54c5a1-0d4a-4f02-a111-7ce4ddc67a4d/ 2021-08-20 09:38:52 +02:00
James Cole
83518d7f96 Rebuild frontend. 2021-08-20 09:29:00 +02:00
James Cole
e73f04cf77 Fix #4987 2021-08-17 17:29:54 +02:00
James Cole
2a1cec61f3 Merge branch 'main' into develop 2021-08-17 17:18:04 +02:00
James Cole
c16eb6f939 Add feature request 2021-08-17 17:16:17 +02:00
James Cole
901d4a2206 Switch templates. 2021-08-17 17:10:52 +02:00
James Cole
3b7bf5a1dd new support document. 2021-08-17 17:08:51 +02:00
James Cole
716a90cf7e Expand show. 2021-08-17 17:07:51 +02:00
James Cole
df51dac805 Also test commit. 2021-08-17 12:30:39 +02:00
James Cole
c4567a521b Test commit. 2021-08-17 12:29:11 +02:00
James Cole
d1fa375d6f Merge branches 'develop' and 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-08-17 12:28:16 +02:00
James Cole
fe4db6ea35 Rename file. 2021-08-17 12:28:09 +02:00
James Cole
dfe5af9191 Merge pull request #4995 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/webpack-5.50.0
Bump webpack from 5.49.0 to 5.50.0 in /frontend
2021-08-16 08:23:52 +02:00
dependabot[bot]
0618b29778 Bump webpack from 5.49.0 to 5.50.0 in /frontend
Bumps [webpack](https://github.com/webpack/webpack) from 5.49.0 to 5.50.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.49.0...v5.50.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 03:03:08 +00:00
James Cole
a4ba6e1842 Rebuild front. 2021-08-12 15:19:32 +02:00
James Cole
077fe2eb69 Move iban character replacements. 2021-08-12 15:13:59 +02:00
James Cole
b1ea497262 Just log and return false. 2021-08-11 19:44:22 +02:00
James Cole
f741d05f94 Expand error 2021-08-11 14:17:27 +02:00
James Cole
d222a7f1b7 Add questionmark. 2021-08-11 14:17:01 +02:00
James Cole
1b62e7289f Fix code. 2021-08-11 14:16:23 +02:00
James Cole
41cb256d49 Filter special chars. 2021-08-11 14:13:19 +02:00
James Cole
baa3a91f65 Merge tag '5.6.0-alpha.2' into develop
5.6.0-alpha.2
2021-08-10 19:54:36 +02:00
James Cole
fd932ad5b3 Merge branch 'release/5.6.0-alpha.2' into main 2021-08-10 19:54:31 +02:00
James Cole
02aeccbfb4 Update frontend and packages. 2021-08-10 19:52:56 +02:00
James Cole
ec7bc53b5a Rebuild frontend. 2021-08-10 19:43:51 +02:00
James Cole
21d28a9a19 New translations. 2021-08-10 19:32:48 +02:00
James Cole
8328c26df3 Update PHP code, code cleanup. 2021-08-10 19:31:55 +02:00
James Cole
8e104a62ae Better endpoint to move transactions. 2021-08-10 18:43:21 +02:00
James Cole
840316d4e4 Fix huntr link. 2021-08-10 18:08:22 +02:00
James Cole
5938fb7f88 Update config. 2021-08-10 18:06:49 +02:00
James Cole
c54dc1ad98 Fix readme in dev. 2021-08-10 18:05:40 +02:00
James Cole
54cf46ff32 Rebuild frontend for account creation / editing. 2021-08-09 08:01:27 +02:00
James Cole
6f7900234d Progress and updates for new layout. 2021-08-07 12:14:48 +02:00
James Cole
d97f090f86 Fix conversion. 2021-08-03 10:20:50 +02:00
James Cole
4b9f70db1c cast to string 2021-08-03 06:18:35 +02:00
James Cole
a7eb92b9bb Edit views for auth 2021-08-02 20:31:00 +02:00
James Cole
e04a71738d Fix commonmark error. 2021-08-02 20:30:26 +02:00
James Cole
f7f296c674 Merge pull request #4962 from firefly-iii/dependabot/composer/develop/phpunit/phpunit-9.5.8 2021-08-02 04:13:12 +00:00
James Cole
440ddd175d Merge pull request #4964 from firefly-iii/dependabot/composer/develop/phpstan/phpstan-0.12.94 2021-08-02 04:13:04 +00:00
James Cole
c814082918 Merge pull request #4966 from firefly-iii/dependabot/npm_and_yarn/develop/laravel-mix-6.0.27 2021-08-02 04:12:57 +00:00
James Cole
879c0224d5 Merge pull request #4963 from firefly-iii/dependabot/composer/develop/league/commonmark-2.0.1 2021-08-02 04:12:48 +00:00
James Cole
18bd06760a Merge pull request #4967 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/sass-1.37.0 2021-08-02 04:12:40 +00:00
James Cole
5232aec11e Merge pull request #4968 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/vue-loader-15.9.7 2021-08-02 04:12:32 +00:00
James Cole
8f926fb176 Merge pull request #4965 from firefly-iii/dependabot/npm_and_yarn/develop/uiv-1.3.1 2021-08-02 04:12:25 +00:00
dependabot[bot]
0cda2b7e4e Bump vue-loader from 15.9.6 to 15.9.7 in /frontend
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.6 to 15.9.7.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.6...v15.9.7)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:03:12 +00:00
dependabot[bot]
7ba803965e Bump sass from 1.36.0 to 1.37.0 in /frontend
Bumps [sass](https://github.com/sass/dart-sass) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.36.0...1.37.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:02:49 +00:00
dependabot[bot]
a22ee35cd0 Bump laravel-mix from 6.0.25 to 6.0.27
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.25 to 6.0.27.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/compare/v6.0.25...v6.0.27)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:02:07 +00:00
dependabot[bot]
c6386241fd Bump uiv from 1.3.0 to 1.3.1
Bumps [uiv](https://github.com/uiv-lib/uiv) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/uiv-lib/uiv/releases)
- [Commits](https://github.com/uiv-lib/uiv/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: uiv
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:01:56 +00:00
dependabot[bot]
3cd1369e61 Bump phpstan/phpstan from 0.12.93 to 0.12.94
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.12.93 to 0.12.94.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Commits](https://github.com/phpstan/phpstan/compare/0.12.93...0.12.94)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:00:59 +00:00
dependabot[bot]
924b615019 Bump league/commonmark from 2.0.0 to 2.0.1
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/2.0.0...2.0.1)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:00:50 +00:00
dependabot[bot]
47c43b485a Bump phpunit/phpunit from 9.5.7 to 9.5.8
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.7 to 9.5.8.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.7...9.5.8)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 03:00:41 +00:00
James Cole
8ebdd481aa Update frontpage and packages. 2021-07-30 07:02:11 +02:00
James Cole
1a79525024 New frontend. 2021-07-29 06:24:50 +02:00
James Cole
03bdca39f1 New translations. 2021-07-29 06:22:59 +02:00
James Cole
89f98bb7ab Catch error. 2021-07-26 18:51:29 +02:00
James Cole
0d4e952a69 Merge pull request #4941 from firefly-iii/dependabot/composer/develop/nunomaduro/larastan-0.7.11
Bump nunomaduro/larastan from 0.7.10 to 0.7.11
2021-07-26 18:45:29 +02:00
dependabot[bot]
3760d5b039 Bump nunomaduro/larastan from 0.7.10 to 0.7.11
Bumps [nunomaduro/larastan](https://github.com/nunomaduro/larastan) from 0.7.10 to 0.7.11.
- [Release notes](https://github.com/nunomaduro/larastan/releases)
- [Changelog](https://github.com/nunomaduro/larastan/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nunomaduro/larastan/compare/v0.7.10...v0.7.11)

---
updated-dependencies:
- dependency-name: nunomaduro/larastan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 04:33:58 +00:00
James Cole
011d6273fa Merge pull request #4943 from firefly-iii/dependabot/composer/develop/laravel/framework-8.51.0
Bump laravel/framework from 8.50.0 to 8.51.0
2021-07-26 06:33:01 +02:00
dependabot[bot]
c980be28ac Bump laravel/framework from 8.50.0 to 8.51.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.50.0 to 8.51.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md)
- [Commits](https://github.com/laravel/framework/compare/v8.50.0...v8.51.0)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 04:28:42 +00:00
James Cole
095ef308c7 Merge pull request #4944 from firefly-iii/dependabot/npm_and_yarn/develop/postcss-8.3.6
Bump postcss from 8.3.5 to 8.3.6
2021-07-26 06:17:36 +02:00
James Cole
e329784448 Merge pull request #4942 from firefly-iii/dependabot/composer/develop/league/commonmark-2.0.0
Bump league/commonmark from 1.6.6 to 2.0.0
2021-07-26 06:16:02 +02:00
James Cole
b44f893869 Merge pull request #4940 from firefly-iii/dependabot/composer/develop/phpunit/phpunit-9.5.7
Bump phpunit/phpunit from 9.5.6 to 9.5.7
2021-07-26 06:15:52 +02:00
James Cole
2df20b4480 Merge pull request #4945 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/v-calendar-2.3.2
Bump v-calendar from 2.3.1 to 2.3.2 in /frontend
2021-07-26 06:14:24 +02:00
dependabot[bot]
cad0004a92 Bump v-calendar from 2.3.1 to 2.3.2 in /frontend
Bumps [v-calendar](https://github.com/nathanreyes/v-calendar) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/nathanreyes/v-calendar/releases)
- [Commits](https://github.com/nathanreyes/v-calendar/commits)

---
updated-dependencies:
- dependency-name: v-calendar
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 03:02:48 +00:00
dependabot[bot]
453ca0b9f4 Bump postcss from 8.3.5 to 8.3.6
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.5 to 8.3.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.5...8.3.6)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 03:01:59 +00:00
dependabot[bot]
ab525867e1 Bump league/commonmark from 1.6.6 to 2.0.0
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 1.6.6 to 2.0.0.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/main/CHANGELOG-1.x.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/1.6.6...2.0.0)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 03:01:09 +00:00
dependabot[bot]
0153a326da Bump phpunit/phpunit from 9.5.6 to 9.5.7
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.6 to 9.5.7.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.6...9.5.7)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 03:00:47 +00:00
James Cole
9885b7e716 Rebuild frontend. 2021-07-25 19:41:28 +02:00
James Cole
abb4b0befe Update and improve bills. 2021-07-25 19:40:14 +02:00
James Cole
217a382616 Update frontend to facilitate bills. 2021-07-25 19:39:35 +02:00
James Cole
a18742d250 Merge pull request #4936 from Flightkick/feature/fix-broken-images-readme
Feature/fix broken images readme
2021-07-23 13:16:23 +02:00
Flightkick
91e7d3bac0 Update images in readme
Currently pointing to nowhere until the PR will be merged.
2021-07-23 12:05:29 +02:00
Flightkick
b5a2531090 Add screenshots to Github repo 2021-07-23 11:58:30 +02:00
James Cole
afc9f4b7eb Add missing rate limiter. 2021-07-23 06:26:42 +02:00
James Cole
cb759e5c21 Fix issue in liability credits. 2021-07-21 06:23:42 +02:00
James Cole
33d6584924 Merge pull request #4926 from firefly-iii/dependabot/npm_and_yarn/develop/vue-loader-16.3.1
Bump vue-loader from 15.9.7 to 16.3.1
2021-07-19 06:49:29 +02:00
dependabot[bot]
6bbd0f5be6 Bump vue-loader from 15.9.7 to 16.3.1
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.7 to 16.3.1.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/commits)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 04:37:48 +00:00
James Cole
fbb5a4dc25 Merge pull request #4927 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/vue-loader-16.3.1 2021-07-19 06:35:52 +02:00
James Cole
abb9ced8e6 Merge pull request #4924 from firefly-iii/dependabot/npm_and_yarn/develop/vue/compiler-sfc-3.1.5 2021-07-19 06:35:40 +02:00
James Cole
35bd023a79 Merge pull request #4925 from firefly-iii/dependabot/npm_and_yarn/develop/vue-i18n-8.25.0 2021-07-19 06:35:32 +02:00
dependabot[bot]
d827bfee99 Bump vue-loader from 15.9.7 to 16.3.1 in /frontend
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.7 to 16.3.1.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/commits)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 03:02:49 +00:00
dependabot[bot]
afc21844b5 Bump vue-i18n from 8.24.5 to 8.25.0
Bumps [vue-i18n](https://github.com/kazupon/vue-i18n) from 8.24.5 to 8.25.0.
- [Release notes](https://github.com/kazupon/vue-i18n/releases)
- [Changelog](https://github.com/kazupon/vue-i18n/blob/v8.x/CHANGELOG.md)
- [Commits](https://github.com/kazupon/vue-i18n/compare/v8.24.5...v8.25.0)

---
updated-dependencies:
- dependency-name: vue-i18n
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 03:01:42 +00:00
dependabot[bot]
8a5354fcd7 Bump @vue/compiler-sfc from 3.1.4 to 3.1.5
Bumps [@vue/compiler-sfc](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-sfc) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.1.5/packages/compiler-sfc)

---
updated-dependencies:
- dependency-name: "@vue/compiler-sfc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 03:01:33 +00:00
James Cole
e959dbc6e0 Rebuild frontend. 2021-07-18 19:23:50 +02:00
James Cole
704cf26725 Translations. 2021-07-18 19:21:30 +02:00
James Cole
e8c08a0e93 Update packages. 2021-07-18 19:20:24 +02:00
James Cole
6d971e86b1 Various fixes and extensions. 2021-07-18 14:51:30 +02:00
James Cole
fb17da3f56 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-07-18 14:50:51 +02:00
James Cole
fae8c05e71 Fix events for LDAP 2021-07-17 17:26:12 +02:00
James Cole
a865f4b72e Merge pull request #4913 from firefly-iii/dependabot/composer/develop/phpstan/phpstan-0.12.92
Bump phpstan/phpstan from 0.12.91 to 0.12.92
2021-07-12 06:19:27 +02:00
dependabot[bot]
48ef268c0d Bump phpstan/phpstan from 0.12.91 to 0.12.92
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.12.91 to 0.12.92.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Commits](https://github.com/phpstan/phpstan/compare/0.12.91...0.12.92)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 03:00:44 +00:00
James Cole
2c943e0d53 Fix #4901 2021-07-11 09:31:29 +02:00
James Cole
7e1af72186 Update JS 2021-07-11 09:31:10 +02:00
James Cole
1bf4fb1b70 Rebuild frontend. 2021-07-10 16:24:00 +02:00
James Cole
b7919e4ef2 Add strict thing. 2021-07-10 15:54:49 +02:00
James Cole
d828660b9e Catch LDAP events 2021-07-10 07:35:54 +02:00
James Cole
ddb222cc72 Various code cleanup. 2021-07-10 07:29:39 +02:00
James Cole
b0ccd26928 Update packages 2021-07-10 07:27:22 +02:00
James Cole
c741878f9f Update translations. 2021-07-10 05:21:14 +02:00
James Cole
e2380def5d Delete unused route 2021-07-09 06:42:23 +02:00
James Cole
ec73020b3c Fix exception. 2021-07-08 20:31:12 +02:00
James Cole
253e7499e3 Remove unused strings. 2021-07-05 20:03:54 +02:00
James Cole
48fdd50428 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop
# Conflicts:
#	frontend/yarn.lock
2021-07-05 20:02:07 +02:00
James Cole
c0d3554acb Clean up views and code 2021-07-05 20:01:36 +02:00
James Cole
24b633b5ad Merge pull request #4896 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/sortablejs-1.14.0
Bump sortablejs from 1.13.0 to 1.14.0 in /frontend
2021-07-05 06:18:21 +02:00
James Cole
41cfa7b84e Merge pull request #4897 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/vue-loader-16.3.0
Bump vue-loader from 15.9.7 to 16.3.0 in /frontend
2021-07-05 06:18:10 +02:00
James Cole
f9abb1fb6e Merge pull request #4895 from firefly-iii/dependabot/composer/develop/phpstan/phpstan-0.12.91
Bump phpstan/phpstan from 0.12.90 to 0.12.91
2021-07-05 06:18:00 +02:00
dependabot[bot]
c4172d7f52 Bump vue-loader from 15.9.7 to 16.3.0 in /frontend
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.7 to 16.3.0.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/commits)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 03:03:07 +00:00
dependabot[bot]
addb351c85 Bump sortablejs from 1.13.0 to 1.14.0 in /frontend
Bumps [sortablejs](https://github.com/SortableJS/Sortable) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/SortableJS/Sortable/releases)
- [Commits](https://github.com/SortableJS/Sortable/compare/1.13.0...1.14.0)

---
updated-dependencies:
- dependency-name: sortablejs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 03:02:56 +00:00
dependabot[bot]
20d94782f5 Bump phpstan/phpstan from 0.12.90 to 0.12.91
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.12.90 to 0.12.91.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Commits](https://github.com/phpstan/phpstan/compare/0.12.90...0.12.91)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 03:00:41 +00:00
James Cole
8135c034a9 Rename file 2021-07-04 19:41:47 +02:00
James Cole
b5583eba23 Catch error 2021-07-04 19:38:17 +02:00
James Cole
b0ab79bb48 Build empty bills things. 2021-07-04 19:20:21 +02:00
James Cole
5eca404866 Fix issue in number formatting. 2021-07-04 19:19:31 +02:00
James Cole
b94885f8ba Update meta file. 2021-07-04 19:18:41 +02:00
James Cole
6814582f32 Empty bills view. 2021-07-04 19:18:23 +02:00
James Cole
a09d831613 Fix #4894 2021-07-04 07:58:11 +02:00
James Cole
d35b0ea279 Merge tag '5.6.0-alpha.1' into develop
5.6.0-alpha.1
2021-07-03 12:35:08 +02:00
James Cole
10545f3e1b Merge branch 'release/5.6.0-alpha.1' 2021-07-03 12:35:07 +02:00
James Cole
2d294015f2 Update PR template 2021-07-03 12:34:47 +02:00
James Cole
739d01efe4 Update and build. 2021-07-03 12:32:02 +02:00
James Cole
3d81315769 Some search fixes. 2021-06-30 20:02:19 +02:00
James Cole
1350da9666 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-06-30 19:45:25 +02:00
James Cole
7e73af789d Merge pull request #4889 from firefly-iii/dependabot/npm_and_yarn/develop/vue-loader-16.3.0
Bump vue-loader from 15.9.7 to 16.3.0
2021-06-30 19:44:44 +02:00
James Cole
42267bfc65 Fix feature flag. 2021-06-30 19:44:42 +02:00
dependabot[bot]
e864525e79 Bump vue-loader from 15.9.7 to 16.3.0
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.7 to 16.3.0.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/commits)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 17:40:45 +00:00
James Cole
a952ba5411 Merge branch 'main' into develop 2021-06-30 19:38:35 +02:00
James Cole
8bf0eaf969 Rebuild front 2021-06-30 06:48:49 +02:00
James Cole
27c90bd217 Remove logging 2021-06-30 06:45:54 +02:00
James Cole
1d6e05f7cf Update translations. 2021-06-30 06:45:37 +02:00
James Cole
7bd1041820 Fix various bugs (very descriptive I know) 2021-06-30 06:45:19 +02:00
James Cole
7195f198a6 add entry 2021-06-30 06:18:05 +02:00
James Cole
70da5917c9 Refactor findNull to find 2021-06-30 06:17:38 +02:00
James Cole
0fed21e831 Merge pull request #4888 from firefly-iii/dependabot/composer/league/flysystem-1.1.4
Bump league/flysystem from 1.1.3 to 1.1.4
2021-06-29 06:42:00 +02:00
dependabot[bot]
405384dbe5 Bump league/flysystem from 1.1.3 to 1.1.4
Bumps [league/flysystem](https://github.com/thephpleague/flysystem) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/thephpleague/flysystem/releases)
- [Changelog](https://github.com/thephpleague/flysystem/blob/2.x/CHANGELOG.md)
- [Commits](https://github.com/thephpleague/flysystem/compare/1.1.3...1.1.4)

---
updated-dependencies:
- dependency-name: league/flysystem
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 03:59:39 +00:00
James Cole
b7ae5eda35 Merge pull request #4880 from firefly-iii/dependabot/composer/develop/phpunit/phpunit-9.5.6 2021-06-28 07:30:08 +02:00
dependabot[bot]
3c18808601 Bump phpunit/phpunit from 9.5.5 to 9.5.6
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.5 to 9.5.6.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.5...9.5.6)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 05:26:57 +00:00
James Cole
720a90a6ab Merge pull request #4879 from firefly-iii/dependabot/composer/develop/doctrine/dbal-3.1.1 2021-06-28 07:26:17 +02:00
James Cole
0008da3e79 Merge pull request #4881 from firefly-iii/dependabot/composer/develop/league/commonmark-1.6.5 2021-06-28 07:26:07 +02:00
James Cole
3625204df9 Merge pull request #4882 from firefly-iii/dependabot/composer/develop/laravel/framework-8.48.2 2021-06-28 07:25:52 +02:00
James Cole
d4483aed74 Merge pull request #4883 from firefly-iii/dependabot/npm_and_yarn/develop/laravel-mix-6.0.25 2021-06-28 07:25:45 +02:00
dependabot[bot]
8f5ac5cd7e Bump laravel-mix from 6.0.24 to 6.0.25
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.24 to 6.0.25.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/compare/v6.0.24...v6.0.25)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 05:17:18 +00:00
James Cole
9d1135cb69 Merge pull request #4884 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/laravel-mix-6.0.25 2021-06-28 07:15:57 +02:00
James Cole
ac8f2e9e0d Merge pull request #4885 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/vue2-leaflet-2.7.1 2021-06-28 07:15:50 +02:00
James Cole
070a26a85e Merge pull request #4887 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/chart.js-3.4.0 2021-06-28 07:15:44 +02:00
James Cole
0eb3676268 Merge pull request #4886 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/webpack-5.40.0 2021-06-28 07:15:33 +02:00
dependabot[bot]
b6f4a30316 Bump chart.js from 3.3.2 to 3.4.0 in /frontend
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v3.3.2...v3.4.0)

---
updated-dependencies:
- dependency-name: chart.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 03:03:22 +00:00
dependabot[bot]
84b9aab3c2 Bump webpack from 5.39.1 to 5.40.0 in /frontend
Bumps [webpack](https://github.com/webpack/webpack) from 5.39.1 to 5.40.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.39.1...v5.40.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 03:03:05 +00:00
dependabot[bot]
82b877ed7c Bump vue2-leaflet from 2.7.0 to 2.7.1 in /frontend
Bumps [vue2-leaflet](https://github.com/vue-leaflet/Vue2Leaflet) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/vue-leaflet/Vue2Leaflet/releases)
- [Commits](https://github.com/vue-leaflet/Vue2Leaflet/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: vue2-leaflet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 03:02:52 +00:00
dependabot[bot]
c446351ffa Bump laravel-mix from 6.0.24 to 6.0.25 in /frontend
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.24 to 6.0.25.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/compare/v6.0.24...v6.0.25)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 03:02:38 +00:00
dependabot[bot]
26bc625079 Bump laravel/framework from 8.47.0 to 8.48.2
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.47.0 to 8.48.2.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md)
- [Commits](https://github.com/laravel/framework/compare/v8.47.0...v8.48.2)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 03:01:09 +00:00
dependabot[bot]
395eaddb0c Bump league/commonmark from 1.6.4 to 1.6.5
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 1.6.4 to 1.6.5.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/main/CHANGELOG-1.x.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/1.6.4...1.6.5)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 03:00:55 +00:00
dependabot[bot]
00c4f47f42 Bump doctrine/dbal from 3.1.0 to 3.1.1
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: doctrine/dbal
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 03:00:38 +00:00
James Cole
363d8075f2 Merge branch 'main' into develop 2021-06-21 06:45:13 +02:00
James Cole
3325353639 Rebuild frontend. 2021-06-21 06:44:38 +02:00
James Cole
dbc5997198 Merge pull request #4867 from firefly-iii/dependabot/composer/develop/barryvdh/laravel-debugbar-3.6.2
Bump barryvdh/laravel-debugbar from 3.6.1 to 3.6.2
2021-06-21 06:34:40 +02:00
James Cole
1c8080a9fe Merge pull request #4869 from firefly-iii/dependabot/composer/develop/laravel/framework-8.47.0
Bump laravel/framework from 8.46.0 to 8.47.0
2021-06-21 06:34:32 +02:00
James Cole
3c8e6cfd31 Update dependabot.yml 2021-06-21 04:34:18 +00:00
James Cole
f56a6e8ecd Merge pull request #4868 from firefly-iii/dependabot/composer/develop/phpstan/phpstan-0.12.90
Bump phpstan/phpstan from 0.12.89 to 0.12.90
2021-06-21 06:32:27 +02:00
James Cole
6a107bf745 Merge pull request #4875 from firefly-iii/dependabot/npm_and_yarn/develop/laravel-mix-6.0.24
Bump laravel-mix from 6.0.19 to 6.0.24
2021-06-21 06:30:28 +02:00
dependabot[bot]
5eec0d15bd Bump phpstan/phpstan from 0.12.89 to 0.12.90
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 0.12.89 to 0.12.90.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Commits](https://github.com/phpstan/phpstan/compare/0.12.89...0.12.90)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 04:30:20 +00:00
dependabot[bot]
91a798f34e Bump laravel-mix from 6.0.19 to 6.0.24
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.19 to 6.0.24.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 04:29:50 +00:00
James Cole
0b1b7c4952 Merge pull request #4871 from firefly-iii/dependabot/composer/develop/bacon/bacon-qr-code-2.0.4
Bump bacon/bacon-qr-code from 2.0.3 to 2.0.4
2021-06-21 06:29:19 +02:00
James Cole
1e3668a9d1 Merge pull request #4870 from firefly-iii/dependabot/composer/develop/league/commonmark-1.6.4
Bump league/commonmark from 1.6.2 to 1.6.4
2021-06-21 06:28:40 +02:00
James Cole
29dc3ce430 Merge pull request #4874 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/laravel-mix-6.0.24
Bump laravel-mix from 6.0.23 to 6.0.24 in /frontend
2021-06-21 06:28:31 +02:00
James Cole
e523abacc7 Merge pull request #4872 from firefly-iii/dependabot/npm_and_yarn/develop/vue-i18n-8.24.5
Bump vue-i18n from 8.24.4 to 8.24.5
2021-06-21 06:27:52 +02:00
James Cole
0b7edec983 Merge pull request #4873 from firefly-iii/dependabot/npm_and_yarn/develop/postcss-8.3.5
Bump postcss from 8.3.3 to 8.3.5
2021-06-21 06:27:42 +02:00
dependabot[bot]
c774f87f2e Bump laravel-mix from 6.0.23 to 6.0.24 in /frontend
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 6.0.23 to 6.0.24.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

---
updated-dependencies:
- dependency-name: laravel-mix
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:03:00 +00:00
dependabot[bot]
d7ca66efc5 Bump postcss from 8.3.3 to 8.3.5
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.3 to 8.3.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.3...8.3.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:02:29 +00:00
dependabot[bot]
8ded52b3b3 Bump vue-i18n from 8.24.4 to 8.24.5
Bumps [vue-i18n](https://github.com/kazupon/vue-i18n) from 8.24.4 to 8.24.5.
- [Release notes](https://github.com/kazupon/vue-i18n/releases)
- [Changelog](https://github.com/kazupon/vue-i18n/blob/v8.x/CHANGELOG.md)
- [Commits](https://github.com/kazupon/vue-i18n/compare/v8.24.4...v8.24.5)

---
updated-dependencies:
- dependency-name: vue-i18n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:02:21 +00:00
dependabot[bot]
87fbeeaab4 Bump bacon/bacon-qr-code from 2.0.3 to 2.0.4
Bumps [bacon/bacon-qr-code](https://github.com/Bacon/BaconQrCode) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/Bacon/BaconQrCode/releases)
- [Changelog](https://github.com/Bacon/BaconQrCode/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Bacon/BaconQrCode/compare/2.0.3...2.0.4)

---
updated-dependencies:
- dependency-name: bacon/bacon-qr-code
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:01:16 +00:00
dependabot[bot]
926f826182 Bump league/commonmark from 1.6.2 to 1.6.4
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 1.6.2 to 1.6.4.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/main/CHANGELOG-1.x.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/1.6.2...1.6.4)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:01:08 +00:00
dependabot[bot]
bcfe3784d7 Bump laravel/framework from 8.46.0 to 8.47.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.46.0 to 8.47.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md)
- [Commits](https://github.com/laravel/framework/compare/v8.46.0...v8.47.0)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:01:00 +00:00
dependabot[bot]
3cc60905bd Bump barryvdh/laravel-debugbar from 3.6.1 to 3.6.2
Bumps [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/barryvdh/laravel-debugbar/releases)
- [Changelog](https://github.com/barryvdh/laravel-debugbar/blob/master/changelog.md)
- [Commits](https://github.com/barryvdh/laravel-debugbar/compare/v3.6.1...v3.6.2)

---
updated-dependencies:
- dependency-name: barryvdh/laravel-debugbar
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:00:38 +00:00
James Cole
2fa927266f Fix #4864 and relatred issues. 2021-06-20 18:39:15 +02:00
James Cole
c9eeaf7e95 Fix some logging. 2021-06-20 18:33:17 +02:00
James Cole
1bd87bfb88 Experimental rebuild. 2021-06-19 19:29:51 +02:00
James Cole
1f2c0f634b Make index 2021-06-19 14:03:59 +02:00
James Cole
1f176c93d5 Rebuild + some placeholders. 2021-06-19 13:39:40 +02:00
James Cole
3e31752a8f Add some boxes. 2021-06-19 09:09:08 +02:00
James Cole
4ba55e8546 Update sonar properties. 2021-06-19 08:19:07 +02:00
James Cole
0d80582874 Update translations and account index code. 2021-06-19 08:18:54 +02:00
James Cole
3e88bf4692 Merge pull request #4841 from alex6480/develop
Localize expand and collapse button for splits
2021-06-19 08:10:01 +02:00
James Cole
baae9955c8 Fix bad HTML tag 2021-06-18 06:06:54 +02:00
James Cole
4a77b9c8d5 Rename file 2021-06-17 18:24:09 +02:00
James Cole
f17b6dbdf3 Fix icons. 2021-06-17 18:19:43 +02:00
James Cole
8d454ed92a Merge pull request #4855 from vonsogt/patch-1
Update api.php
2021-06-16 08:40:22 +02:00
VREEdom
3f9661d9b4 Update api.php
to avoid getting error:
```
Unable to prepare route [api/v1/insight/transfer/asset] for serialization. Another route has already been assigned name [api.v1.insight.income.asset].
```
2021-06-16 13:38:42 +07:00
alex6480
4846d102f2 Merge branch 'develop' into develop 2021-06-15 15:25:07 +02:00
Alex
53947eced8 Update translations in resources/lang 2021-06-15 15:22:51 +02:00
James Cole
f4d6d8efa1 Merge pull request #4854 from firefly-iii/dependabot/npm_and_yarn/develop/postcss-8.3.3
Bump postcss from 8.3.2 to 8.3.3
2021-06-14 10:59:42 +02:00
dependabot[bot]
2d4c537c54 Bump postcss from 8.3.2 to 8.3.3
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.2...8.3.3)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 08:44:35 +00:00
James Cole
c681d2742b Merge pull request #4853 from firefly-iii/dependabot/npm_and_yarn/develop/postcss-8.3.2
Bump postcss from 8.3.0 to 8.3.2
2021-06-14 09:12:45 +02:00
dependabot[bot]
2047fa00a9 Bump postcss from 8.3.0 to 8.3.2
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.0 to 8.3.2.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.0...8.3.2)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:03:10 +00:00
James Cole
eb9d3f04b9 Merge branch 'main' into develop 2021-06-14 06:11:29 +02:00
James Cole
b19f69dc2a Update lock.yml 2021-06-13 06:33:20 +00:00
James Cole
5262c0240e Various code cleanup. 2021-06-13 08:10:30 +02:00
James Cole
c98706fac0 Various code cleanup. 2021-06-13 07:04:18 +02:00
James Cole
85204de9aa Various code cleanup. 2021-06-12 19:32:34 +02:00
James Cole
4614625f82 Remove TODO's. 2021-06-12 14:14:49 +02:00
James Cole
91b08d1772 Rename variable. 2021-06-12 13:15:01 +02:00
James Cole
cd9d1cf4ab Fix #4846 2021-06-12 08:46:06 +02:00
James Cole
10597e3bef Clean up code. 2021-06-12 08:40:35 +02:00
James Cole
5854dff37e More robust error display 2021-06-12 07:39:38 +02:00
James Cole
fbc3a2fb6a Bad message. 2021-06-12 07:39:30 +02:00
James Cole
c290aaa774 Remove some debug logging 2021-06-12 07:39:23 +02:00
James Cole
def456bd9b Make sure LDAP is persisted in validation 2021-06-12 07:39:16 +02:00
James Cole
1f83ebc6c7 Update example env file. 2021-06-12 07:38:58 +02:00
James Cole
6a928a3321 Update configuration. Not sure about the environment variable. 2021-06-12 06:35:19 +02:00
James Cole
39ad131b55 update packages. 2021-06-12 06:34:19 +02:00
James Cole
00a122833a update default config 2021-06-12 06:34:10 +02:00
James Cole
c593515ec6 Remove old filter. 2021-06-12 06:29:04 +02:00
James Cole
6dde89d1eb Add migrations. 2021-06-12 06:28:44 +02:00
James Cole
351bb81e78 Add LDAP stuff to user model. 2021-06-12 06:28:17 +02:00
James Cole
5ea7c66c83 update changelog 2021-06-12 06:27:14 +02:00
James Cole
8c171fa4d1 Merge branch 'feature/ldap' into develop
# Conflicts:
#	app/Http/Controllers/Auth/LoginController.php
#	composer.json
#	composer.lock
#	config/firefly.php
2021-06-12 06:26:45 +02:00
James Cole
310448e9bb Update API version 2021-06-12 06:20:43 +02:00
James Cole
aba56b331d Message also in v2. 2021-06-11 20:55:15 +02:00
James Cole
8832387b84 Remove TODO's. 2021-06-11 20:39:01 +02:00
James Cole
0d7d3f45f0 Security alert thing. 2021-06-11 20:19:59 +02:00
James Cole
fdf379b88b Set version to alpha version. 2021-06-11 20:04:41 +02:00
James Cole
8a9a36b512 Merge branch 'feature/webhooks' into develop
# Conflicts:
#	app/Events/UpdatedTransactionGroup.php
2021-06-11 20:00:40 +02:00
James Cole
e9f2d6b5ea Replace icons. 2021-06-11 19:50:05 +02:00
James Cole
460161d9a5 Rebuild frontend. 2021-06-11 19:44:01 +02:00
James Cole
204d5ee1e3 Fix issue with searching for external_id 2021-06-11 17:31:13 +02:00
James Cole
c4a00fbc9a Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-06-11 17:30:23 +02:00
James Cole
41c22c18fe Merge pull request #4850 from vonsogt/patch-1
Update menu-sidebar.twig
2021-06-11 08:00:55 +02:00
VREEdom
374aea4e09 Update menu-sidebar.twig
Small changes for the Classification in the menu-sidebar.
When route `groups` is active add class `menu-open` by adding this code `{{ activeRoutePartial('groups') }}`
2021-06-11 12:14:04 +07:00
James Cole
ebe37495c0 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-06-11 06:14:02 +02:00
James Cole
eb4b9f0599 Merge pull request #4849 from hamza-fadil/main
Replace i tag with em to fix minor issues in Sonar
2021-06-11 06:13:21 +02:00
Hamza FADIL
ea2afa46ed Replace i tag with span to fix minor issues in Sonar 2021-06-10 23:40:07 +01:00
James Cole
0fd8d86eac Merge pull request #4848 from kasperkls02/main
Update TransactionCurrencySeeder.php
2021-06-09 20:26:52 +02:00
Kasper Læssø Sørensen
10d6ed01e1 Update TransactionCurrencySeeder.php
Added the currency of denmark
2021-06-09 18:38:58 +02:00
James Cole
9873365369 Show user info about mandatory updates. 2021-06-08 19:19:56 +02:00
James Cole
81669bfcc1 Merge pull request #4843 from firefly-iii/dependabot/composer/develop/phpunit/phpunit-9.5.5
Bump phpunit/phpunit from 9.5.4 to 9.5.5
2021-06-07 10:06:54 +02:00
James Cole
719b9e690a Merge pull request #4842 from firefly-iii/dependabot/composer/develop/barryvdh/laravel-debugbar-3.6.1
Bump barryvdh/laravel-debugbar from 3.6.0 to 3.6.1
2021-06-07 09:48:05 +02:00
James Cole
bd0444437a Merge pull request #4844 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/sass-loader-12.0.0
Bump sass-loader from 11.1.1 to 12.0.0 in /frontend
2021-06-07 09:46:41 +02:00
dependabot[bot]
57e28eb90e Bump sass-loader from 11.1.1 to 12.0.0 in /frontend
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 11.1.1 to 12.0.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v11.1.1...v12.0.0)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:27:55 +00:00
dependabot[bot]
ff850d750e Bump phpunit/phpunit from 9.5.4 to 9.5.5
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.4 to 9.5.5.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.4...9.5.5)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:05:49 +00:00
dependabot[bot]
7bd44f5f62 Bump barryvdh/laravel-debugbar from 3.6.0 to 3.6.1
Bumps [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/barryvdh/laravel-debugbar/releases)
- [Changelog](https://github.com/barryvdh/laravel-debugbar/blob/master/changelog.md)
- [Commits](https://github.com/barryvdh/laravel-debugbar/compare/v3.6.0...v3.6.1)

---
updated-dependencies:
- dependency-name: barryvdh/laravel-debugbar
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:05:26 +00:00
James Cole
31ba0133c7 Whoops 2021-06-07 06:27:44 +02:00
Alex
a5bb8dfa5a Localize splits 2021-06-06 22:29:04 +02:00
James Cole
20e51d79b6 Fix array thing. Pretty basic. 2021-06-06 17:47:44 +02:00
James Cole
26ad0d3bc3 Basic fix for entire page loading: https://github.com/firefly-iii/firefly-iii/pull/4839 2021-06-06 17:25:38 +02:00
James Cole
a8f4154a77 Add translations. 2021-06-06 17:18:10 +02:00
James Cole
eacaee9e47 Code for #4838 and some translations 2021-06-06 17:17:46 +02:00
James Cole
4d4290c234 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-06-06 17:16:27 +02:00
James Cole
a61ea446aa Merge pull request #4839 from alex6480/develop
Add table to transaction index
2021-06-06 17:14:35 +02:00
James Cole
782340908d Remove some old code. 2021-06-06 17:03:30 +02:00
Alex
d1a0dac092 Add table to transaction index 2021-06-06 14:04:51 +02:00
James Cole
fa50f76f5d Disable flag, update packages. 2021-06-05 07:38:49 +02:00
James Cole
38dcb96086 Merge tag '5.5.12' into develop
5.5.12

# Conflicts:
#	config/firefly.php
2021-06-03 13:02:45 +02:00
James Cole
8b90d2297d Merge branch 'hotfix/5.5.12' into main 2021-06-03 13:01:20 +02:00
James Cole
28479ef2ed Update version. 2021-06-03 12:54:21 +02:00
James Cole
9b03ae160d Update changelog. 2021-06-03 12:54:15 +02:00
James Cole
5303321952 Fix export vulnerability, found by GitHub user @oomb and disclosed via the excellent huntr.dev platform. 2021-06-03 12:51:31 +02:00
James Cole
95ba6aa2c3 Add to readme. 2021-06-03 12:50:05 +02:00
James Cole
a54f152a34 Fix issue in exporting. 2021-06-03 12:08:04 +02:00
James Cole
021e0a04ac Merge pull request #4821 from JeroenED/bugfix-sqlite-int-type
BUGFIX: sqlite does not return int types
2021-06-01 18:17:42 +02:00
Jeroen De Meerleer
28faee6e41 Resolved code smell 2021-06-01 12:25:01 +02:00
Jeroen De Meerleer
acc496e3e9 BUGFIX: sqlite does not return int types 2021-06-01 12:07:29 +02:00
James Cole
55ae280aaa Merge pull request #4819 from firefly-iii/dependabot/composer/develop/laravel/ui-3.3.0
Bump laravel/ui from 3.2.1 to 3.3.0
2021-05-31 08:39:11 +02:00
James Cole
299b857946 Merge pull request #4818 from firefly-iii/dependabot/composer/develop/laravel/framework-8.44.0
Bump laravel/framework from 8.42.1 to 8.44.0
2021-05-31 08:38:53 +02:00
James Cole
2d395023fe Merge pull request #4820 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/chart.js-3.3.2
Bump chart.js from 3.3.0 to 3.3.2 in /frontend
2021-05-31 08:28:58 +02:00
dependabot[bot]
e0f34384a3 Bump chart.js from 3.3.0 to 3.3.2 in /frontend
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v3.3.0...v3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:24:49 +00:00
dependabot[bot]
5278e7f072 Bump laravel/ui from 3.2.1 to 3.3.0
Bumps [laravel/ui](https://github.com/laravel/ui) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/laravel/ui/releases)
- [Changelog](https://github.com/laravel/ui/blob/3.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/ui/compare/v3.2.1...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:03:08 +00:00
dependabot[bot]
895e2d3d7c Bump laravel/framework from 8.42.1 to 8.44.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.42.1 to 8.44.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md)
- [Commits](https://github.com/laravel/framework/compare/v8.42.1...v8.44.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:02:41 +00:00
James Cole
d3a7a59792 Remove unused var. 2021-05-30 07:39:55 +02:00
James Cole
4449ff99dc Disable specific call. 2021-05-29 19:28:43 +02:00
James Cole
ca42a31135 Merge branch 'main' into develop 2021-05-29 17:12:42 +02:00
James Cole
906fca7e9e Merge pull request #4815 from firefly-iii/dependabot/npm_and_yarn/frontend/ws-7.4.6
Bump ws from 7.4.5 to 7.4.6 in /frontend
2021-05-29 16:53:03 +02:00
dependabot[bot]
f64e1f3c1b Bump ws from 7.4.5 to 7.4.6 in /frontend
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 14:52:33 +00:00
James Cole
c8af3684c6 Merge pull request #4812 from firefly-iii/dependabot/npm_and_yarn/ws-7.4.6
Bump ws from 7.4.5 to 7.4.6
2021-05-29 16:51:32 +02:00
James Cole
16a5dae61d Rebuild frontend. 2021-05-29 16:47:59 +02:00
dependabot[bot]
e3474bb075 Bump ws from 7.4.5 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.5...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 13:54:19 +00:00
James Cole
a7726a014b Merge branch 'main' into develop
# Conflicts:
#	frontend/yarn.lock
2021-05-29 11:35:22 +02:00
James Cole
3be9493e9f Experiment with forage store. 2021-05-29 11:30:44 +02:00
James Cole
40bbed2a8b Limit some collection features. 2021-05-29 11:30:13 +02:00
James Cole
e379bbab4c Various code cleanup. 2021-05-28 23:13:38 +02:00
James Cole
12c2c58afd Submit feedback using another platform 2021-05-28 23:11:12 +02:00
James Cole
8140613a29 Merge pull request #4804 from firefly-iii/dependabot/npm_and_yarn/frontend/dns-packet-1.3.4
Bump dns-packet from 1.3.1 to 1.3.4 in /frontend
2021-05-27 14:29:48 +02:00
dependabot[bot]
00d5b4d29d Bump dns-packet from 1.3.1 to 1.3.4 in /frontend
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 11:37:49 +00:00
James Cole
251a347a42 Merge pull request #4803 from firefly-iii/dependabot/npm_and_yarn/dns-packet-1.3.4
Bump dns-packet from 1.3.1 to 1.3.4
2021-05-27 13:37:16 +02:00
dependabot[bot]
7fb090392f Bump dns-packet from 1.3.1 to 1.3.4
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 11:34:37 +00:00
James Cole
312472e7bb Fix #4798 2021-05-25 06:18:40 +02:00
James Cole
2afd959c4f Update breadcrumbs. 2021-05-24 12:40:39 +02:00
James Cole
20442a5023 Merge pull request #4790 from firefly-iii/dependabot/composer/develop/diglactic/laravel-breadcrumbs-7.0.0
Bump diglactic/laravel-breadcrumbs from 6.1.1 to 7.0.0
2021-05-24 11:48:47 +02:00
dependabot[bot]
bfadc5ae52 Bump diglactic/laravel-breadcrumbs from 6.1.1 to 7.0.0
Bumps [diglactic/laravel-breadcrumbs](https://github.com/diglactic/laravel-breadcrumbs) from 6.1.1 to 7.0.0.
- [Release notes](https://github.com/diglactic/laravel-breadcrumbs/releases)
- [Upgrade guide](https://github.com/diglactic/laravel-breadcrumbs/blob/main/UPGRADE.md)
- [Commits](https://github.com/diglactic/laravel-breadcrumbs/compare/v6.1.1...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 09:47:50 +00:00
James Cole
8c7f7cf439 Merge pull request #4789 from firefly-iii/dependabot/npm_and_yarn/develop/postcss-8.3.0
Bump postcss from 8.2.15 to 8.3.0
2021-05-24 11:47:26 +02:00
James Cole
2a5591c95d Merge pull request #4791 from firefly-iii/dependabot/composer/develop/spatie/data-transfer-object-3.1.1
Bump spatie/data-transfer-object from 2.8.3 to 3.1.1
2021-05-24 11:47:12 +02:00
James Cole
85ff048fd8 Add allowed sort. 2021-05-24 10:13:35 +02:00
James Cole
bd181aeed4 Rebuild front. 2021-05-24 09:09:48 +02:00
James Cole
cdde0d252e Update translations. 2021-05-24 09:01:17 +02:00
James Cole
ad54163518 Various code cleanup. 2021-05-24 08:57:02 +02:00
James Cole
d60650cff2 Various code cleanup. 2021-05-24 08:54:58 +02:00
James Cole
815fd5ff6b Various code cleanup. 2021-05-24 08:50:17 +02:00
James Cole
3ec9753808 Various code cleanup. 2021-05-24 08:22:41 +02:00
James Cole
2bff7750b4 Code fixes. 2021-05-24 08:06:56 +02:00
dependabot[bot]
29aca7006b Bump spatie/data-transfer-object from 2.8.3 to 3.1.1
Bumps [spatie/data-transfer-object](https://github.com/spatie/data-transfer-object) from 2.8.3 to 3.1.1.
- [Release notes](https://github.com/spatie/data-transfer-object/releases)
- [Changelog](https://github.com/spatie/data-transfer-object/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spatie/data-transfer-object/compare/2.8.3...3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:06:01 +00:00
dependabot[bot]
d54a219d3d Bump postcss from 8.2.15 to 8.3.0
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.15 to 8.3.0.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.15...8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:04:01 +00:00
James Cole
3b1b353b79 Update packages. 2021-05-23 21:05:19 +02:00
James Cole
5cb13dceb8 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-05-23 21:02:55 +02:00
James Cole
55538b668f Add PHP8.0 specific code. 2021-05-23 20:59:18 +02:00
James Cole
6b5f4932ce Merge pull request #4777 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/sass-loader-11.1.1
Bump sass-loader from 11.1.0 to 11.1.1 in /frontend
2021-05-17 07:43:07 +02:00
James Cole
bc366044e4 Merge pull request #4776 from firefly-iii/dependabot/composer/develop/barryvdh/laravel-debugbar-3.5.7
Bump barryvdh/laravel-debugbar from 3.5.5 to 3.5.7
2021-05-17 07:42:10 +02:00
dependabot[bot]
666c1f2919 Bump sass-loader from 11.1.0 to 11.1.1 in /frontend
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v11.1.0...v11.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:28:28 +00:00
dependabot[bot]
d732ab81b7 Bump barryvdh/laravel-debugbar from 3.5.5 to 3.5.7
Bumps [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) from 3.5.5 to 3.5.7.
- [Release notes](https://github.com/barryvdh/laravel-debugbar/releases)
- [Changelog](https://github.com/barryvdh/laravel-debugbar/blob/master/changelog.md)
- [Commits](https://github.com/barryvdh/laravel-debugbar/compare/v3.5.5...v3.5.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:06:16 +00:00
James Cole
8a8aa7ca71 Fix #4774 2021-05-15 12:58:19 +02:00
James Cole
a7f74522bd Fix some edge cases in liabilities. 2021-05-15 09:16:54 +02:00
James Cole
e7d8c3451b Add missing string. 2021-05-13 06:49:38 +02:00
James Cole
c4c85dddc1 Support static cron code. 2021-05-13 06:47:11 +02:00
James Cole
579ffce81b Rebuild frontend. 2021-05-13 06:21:42 +02:00
James Cole
c385979af6 Update translations. 2021-05-13 06:19:32 +02:00
James Cole
6ba45ec3f2 Update translations. 2021-05-13 06:19:15 +02:00
James Cole
7851bb476e Update some code. 2021-05-13 06:17:53 +02:00
James Cole
7453975e92 Update version in develop. 2021-05-13 05:56:07 +02:00
James Cole
3f1bd6b3f1 Currency code expansion. 2021-05-13 05:52:06 +02:00
James Cole
53dffc961f Merge branch 'feature/credit_calc' into develop 2021-05-13 05:35:07 +02:00
James Cole
80384000c1 Extra debug in search. 2021-05-13 05:34:49 +02:00
James Cole
e3efb23b78 Update config. 2021-05-13 05:34:40 +02:00
James Cole
8e667fe291 Update and merge. 2021-05-13 05:34:17 +02:00
James Cole
688515b8bf Merge pull request #4769 from rubenvanerk/develop 2021-05-12 22:22:10 +02:00
Ruben van Erk
6e3cf51749 Disable autcomplete for 2FA field 2021-05-12 19:58:35 +02:00
James Cole
082e690f51 Merge pull request #4760 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/resolve-url-loader-4.0.0 2021-05-10 07:36:54 +02:00
dependabot[bot]
7e285d97f0 Bump resolve-url-loader from 3.1.3 to 4.0.0 in /frontend
Bumps [resolve-url-loader](https://github.com/bholloway/resolve-url-loader/tree/HEAD/packages/resolve-url-loader) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/bholloway/resolve-url-loader/releases)
- [Changelog](https://github.com/bholloway/resolve-url-loader/blob/v4-maintenance/packages/resolve-url-loader/CHANGELOG.md)
- [Commits](https://github.com/bholloway/resolve-url-loader/commits/4.0.0/packages/resolve-url-loader)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:32:54 +00:00
James Cole
8af2d845e7 Disable a feature flag. 2021-05-09 10:11:45 +02:00
James Cole
038996dff9 Make search integer. 2021-05-09 10:11:35 +02:00
James Cole
06a5b60aaf No longer create a default rule. 2021-05-09 07:58:09 +02:00
James Cole
873dfa179c Remove logging. 2021-05-09 07:49:15 +02:00
James Cole
33f6725d37 Update login 2021-05-09 07:49:04 +02:00
James Cole
22c09b7849 Add migration 2021-05-09 07:48:55 +02:00
James Cole
2488e444aa Update auth config and firefly config 2021-05-09 07:48:47 +02:00
James Cole
1157625f6d Login controller (needs more work) 2021-05-09 07:48:30 +02:00
James Cole
47ef9a0102 Add custom fields to user model. 2021-05-09 07:47:58 +02:00
James Cole
15fde3a220 Update meta files. 2021-05-09 07:47:49 +02:00
James Cole
daf7d79a21 Remove old files. 2021-05-09 06:40:21 +02:00
James Cole
787be9deb9 no message 2021-05-09 06:38:44 +02:00
James Cole
10c50fffb1 Merge tag '5.5.11' into develop
5.5.11
2021-05-08 21:35:18 +02:00
James Cole
13b96bb3b6 Merge branch 'release/5.5.11' into main 2021-05-08 21:35:16 +02:00
James Cole
c318790bbf Update packages. 2021-05-08 21:28:24 +02:00
James Cole
0d969dd42a Rebuild all for new release. 2021-05-08 21:26:50 +02:00
James Cole
4e70601d19 Fix reference. 2021-05-08 21:19:26 +02:00
James Cole
e4a6ff293a Temp version of budget view. 2021-05-08 21:19:04 +02:00
James Cole
d0edae76f2 Build v2 with some fixes for #4735 2021-05-08 18:23:50 +02:00
James Cole
9eaacf30ad Fix #4739 2021-05-08 17:56:36 +02:00
James Cole
40111ed25e Expand API point. 2021-05-07 19:32:08 +02:00
James Cole
506f972c75 Merge branch 'main' into develop 2021-05-04 19:00:52 +02:00
James Cole
843f3c9b45 Switch to another host in the default configuration. 2021-05-04 19:00:33 +02:00
James Cole
6c2c2ca41f Changelog. Temp version. 2021-05-04 18:58:55 +02:00
James Cole
8315734471 Update schedule to daily. 2021-05-03 08:08:47 +02:00
James Cole
2d9b2ab379 Merge pull request #4740 from firefly-iii/dependabot/composer/develop/league/commonmark-1.6.0
Bump league/commonmark from 1.5.8 to 1.6.0
2021-05-03 07:24:07 +02:00
dependabot[bot]
45f20509f4 Bump league/commonmark from 1.5.8 to 1.6.0
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 1.5.8 to 1.6.0.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/latest/CHANGELOG-1.x.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/1.5.8...1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 05:06:24 +00:00
James Cole
c5b9c79b82 Rebuild frontend. 2021-05-02 15:19:09 +02:00
James Cole
6a196884e5 Merge branch 'main' into develop 2021-05-02 15:13:37 +02:00
James Cole
1d9431795b Add feedback. 2021-05-02 15:12:53 +02:00
James Cole
b3074b2f6a Fix run. 2021-05-02 15:03:56 +02:00
James Cole
3be65ff806 Add manual trigger. 2021-05-02 15:03:09 +02:00
James Cole
8c0005e460 Remove old lock file. 2021-05-02 15:00:56 +02:00
James Cole
c7128dedf2 Lock app. 2021-05-02 15:00:40 +02:00
James Cole
4a2f751db3 Remove defaults 2021-05-02 14:53:24 +02:00
James Cole
ef3468ef1f Do not fire when fireWebhooks = false 2021-05-02 14:53:13 +02:00
James Cole
ca1eeed605 Add info to events handler 2021-05-02 14:52:49 +02:00
James Cole
2263aa4dbe Add info to array. 2021-05-02 14:52:25 +02:00
James Cole
2577e7301a Add option for webhooks. 2021-05-02 14:52:11 +02:00
James Cole
e5736c822d Warn, not info. 2021-05-02 06:40:36 +02:00
James Cole
6d466af424 Add upgrade command. 2021-05-02 06:39:18 +02:00
James Cole
3f4697b6c3 Add upgrade command. 2021-05-02 06:38:34 +02:00
James Cole
d0622dbcd3 Merge branch 'develop' into feature/credit_calc
# Conflicts:
#	app/Repositories/Account/AccountRepository.php
2021-05-02 06:27:32 +02:00
James Cole
8f6655f85e Rebuild front 2021-05-01 20:24:36 +02:00
James Cole
dbe827e3c5 Various strict code things. 2021-05-01 20:04:58 +02:00
James Cole
5a7f933a5c Possible fix for #4734 2021-05-01 18:55:49 +02:00
James Cole
54d5f9a9c3 Fix #4707 and fix #4732 2021-05-01 18:54:11 +02:00
James Cole
cc682485fc Fix #4730 2021-05-01 17:59:36 +02:00
James Cole
f8cb8967d9 Fix #4729 2021-05-01 17:52:01 +02:00
James Cole
0480db10ac Merge tag '5.5.10' into develop
5.5.10
2021-05-01 11:40:35 +02:00
James Cole
f52c6f7b00 Merge branch 'release/5.5.10' into main 2021-05-01 11:40:34 +02:00
James Cole
7d1f5f5257 Cast to int 2021-05-01 11:34:11 +02:00
James Cole
ea0942b7fe Update for 5.5.10 2021-05-01 09:47:21 +02:00
James Cole
3298f2d815 Form changes. 2021-05-01 08:47:20 +02:00
James Cole
fae5cdae50 Fix issue in link. 2021-05-01 08:36:19 +02:00
James Cole
8ffe08bfb9 Add more info. 2021-05-01 07:14:43 +02:00
James Cole
1c2b14868b Skip if null 2021-05-01 07:07:32 +02:00
James Cole
7775a0141b Skips pgsql for some reason. 2021-05-01 06:53:42 +02:00
James Cole
831272d971 Repair sequences for #4545 2021-05-01 06:46:36 +02:00
James Cole
aac3027480 First attempt 2021-04-30 19:51:50 +02:00
James Cole
c8c4507d4b Merge branch 'main' into develop 2021-04-30 17:58:22 +02:00
James Cole
6a74cd21fb Merge pull request #4727 from firefly-iii/dependabot/composer/laravel/framework-8.40.0
Bump laravel/framework from 8.38.0 to 8.40.0
2021-04-30 06:58:07 +02:00
dependabot[bot]
eb5eca9fa5 Bump laravel/framework from 8.38.0 to 8.40.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.38.0 to 8.40.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md)
- [Commits](https://github.com/laravel/framework/compare/v8.38.0...v8.40.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 04:10:52 +00:00
James Cole
0e702fb334 Merge pull request #4725 from firefly-iii/dependabot/composer/composer/composer-2.0.13
Bump composer/composer from 2.0.12 to 2.0.13
2021-04-30 06:09:41 +02:00
dependabot[bot]
626f97cd65 Bump composer/composer from 2.0.12 to 2.0.13
Bumps [composer/composer](https://github.com/composer/composer) from 2.0.12 to 2.0.13.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/composer/composer/compare/2.0.12...2.0.13)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 21:54:42 +00:00
James Cole
a83578d1ae Update code for proper index. 2021-04-27 07:55:54 +02:00
James Cole
be844b82af Add missing method. 2021-04-27 06:57:06 +02:00
James Cole
65c49c7a71 Merge branch 'develop' into feature/credit_calc
# Conflicts:
#	app/Factory/TransactionJournalMetaFactory.php
#	app/Repositories/Account/AccountRepository.php
#	app/Transformers/AccountTransformer.php
#	config/firefly.php
#	frontend/src/components/accounts/Create.vue
2021-04-27 06:54:38 +02:00
James Cole
f03b0569cf Update packages 2021-04-27 06:50:10 +02:00
James Cole
82f3a37a3e Clean up some code. 2021-04-27 06:45:11 +02:00
James Cole
112a27dbd9 Clean up some code. 2021-04-27 06:42:07 +02:00
James Cole
366eca3173 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-04-27 06:24:49 +02:00
James Cole
fab0c5bfd9 Small code cleanup. 2021-04-27 06:23:16 +02:00
James Cole
dc3b923258 Merge pull request #4716 from rubenvanerk/patch-1
Fix link in index
2021-04-26 20:29:43 +02:00
Ruben van Erk
3622d3234a Fix link in index 2021-04-26 20:08:35 +02:00
James Cole
8ef6595ced Better sentence 2021-04-26 09:48:04 +02:00
James Cole
cf2c99d986 Merge pull request #4711 from firefly-iii/dependabot/composer/develop/vimeo/psalm-4.7.1
Bump vimeo/psalm from 4.7.0 to 4.7.1
2021-04-26 08:19:45 +02:00
James Cole
672add8668 Merge pull request #4712 from firefly-iii/dependabot/composer/develop/filp/whoops-2.12.1
Bump filp/whoops from 2.12.0 to 2.12.1
2021-04-26 08:14:29 +02:00
James Cole
d5826861a0 Merge pull request #4713 from firefly-iii/dependabot/npm_and_yarn/frontend/develop/chart.js-3.2.0
Bump chart.js from 3.1.1 to 3.2.0 in /frontend
2021-04-26 08:10:46 +02:00
dependabot[bot]
a8494bd6f0 Bump chart.js from 3.1.1 to 3.2.0 in /frontend
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v3.1.1...v3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 05:32:50 +00:00
James Cole
0b94851623 Fix some cases in loans 2021-04-26 07:29:39 +02:00
dependabot[bot]
7fa0c14f8c Bump filp/whoops from 2.12.0 to 2.12.1
Bumps [filp/whoops](https://github.com/filp/whoops) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/filp/whoops/releases)
- [Changelog](https://github.com/filp/whoops/blob/master/CHANGELOG.md)
- [Commits](https://github.com/filp/whoops/compare/2.12.0...2.12.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 05:09:07 +00:00
dependabot[bot]
9bd22d4252 Bump vimeo/psalm from 4.7.0 to 4.7.1
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.7.0...4.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 05:08:38 +00:00
James Cole
b78f5bd54a Fix #4708 2021-04-26 06:39:12 +02:00
James Cole
0949a264b8 Fix #4710 2021-04-26 06:18:30 +02:00
James Cole
97a0110931 Merge tag '5.5.9' into develop
5.5.9
2021-04-24 21:37:43 +02:00
James Cole
83ec935ac3 Merge branch 'release/5.5.9' into main 2021-04-24 21:37:42 +02:00
James Cole
e46da428eb Update meta files. 2021-04-24 21:27:36 +02:00
James Cole
26089f992e Remove debug code. 2021-04-24 21:18:15 +02:00
James Cole
13233e0893 Fix #4706 2021-04-24 21:08:46 +02:00
James Cole
da934575a6 Disable unused method. 2021-04-24 06:09:31 +02:00
James Cole
6feb04c800 Rebuild various components. 2021-04-24 05:34:24 +02:00
James Cole
be3cb791a5 Fix text 2021-04-23 19:15:03 +02:00
James Cole
e3b93af297 Add some code to fix liabilities. 2021-04-23 19:13:38 +02:00
James Cole
d56f97e86d Files for 5.5.9 2021-04-23 18:48:15 +02:00
James Cole
a78614f198 Align top boxes 2021-04-23 06:15:24 +02:00
James Cole
2b25631611 Fix budget API call 2021-04-23 06:03:06 +02:00
James Cole
98613b5ea6 Update composer 2021-04-22 19:56:52 +02:00
James Cole
105ecc4452 Add debug 2021-04-22 19:56:42 +02:00
James Cole
418a682f7e Remove bad account types. 2021-04-22 19:55:43 +02:00
James Cole
215e5d42a7 Rebuild frontend. 2021-04-22 18:41:44 +02:00
James Cole
21d71bd03c Include user in preference 2021-04-22 18:34:08 +02:00
James Cole
3184a8536e Add another command. 2021-04-22 18:33:53 +02:00
James Cole
ddf9938c00 Fix issue with empty box. 2021-04-22 18:33:37 +02:00
James Cole
388d19b99c Fix #4697 2021-04-22 06:18:46 +02:00
James Cole
ec03017eca Fix possible issue with tag display in bulk editor. 2021-04-21 06:23:12 +02:00
James Cole
0b920b5c64 Catch obscure DB errors. 2021-04-20 07:55:24 +02:00
James Cole
6e0be9a6a2 Rebuild frontend. 2021-04-19 06:49:58 +02:00
James Cole
f1798a1c97 Regenerate frontend. 2021-04-18 12:29:42 +02:00
James Cole
57cb428105 Merge tag '5.5.8' into develop
5.5.8
2021-04-18 07:28:13 +02:00
James Cole
adc52f7b63 Merge branch 'release/5.5.8' into main 2021-04-18 07:28:12 +02:00
James Cole
f8cf02bda1 Make sure debug does timezone right. 2021-04-18 07:28:00 +02:00
James Cole
4b14ad9770 Update packages. 2021-04-18 07:23:05 +02:00
James Cole
2a630b0a50 Rebuild frontend, new translations. 2021-04-18 07:22:10 +02:00
James Cole
1a311664e8 Rebuild frontend. 2021-04-17 20:53:42 +02:00
James Cole
0a4e3edf43 Rebuild frontend, add version to JS calls against caching. 2021-04-17 15:57:51 +02:00
James Cole
9b0b80d1d4 Various fixes for v2 issues in 5.5.7 2021-04-17 15:53:11 +02:00
James Cole
dcd123a9ec Fix #4668 2021-04-17 05:39:56 +02:00
James Cole
e06452d97c Fix #4664 2021-04-16 05:55:23 +02:00
James Cole
e5b4e7afe0 Recreate frontend for correct date #4660 2021-04-15 06:39:07 +02:00
James Cole
0ea22269a0 Fix #4663 2021-04-15 06:15:17 +02:00
James Cole
577dcfa938 Rebuild frontend. 2021-04-14 20:07:39 +02:00
James Cole
99f08da4df Fix #4656 2021-04-13 19:01:43 +02:00
James Cole
2f9724e7ca Fix nullpointers. 2021-04-13 06:26:51 +02:00
James Cole
8cda89569c Update .env.example 2021-04-12 15:50:13 +00:00
James Cole
5421e30293 Add text #4637 2021-04-12 17:25:40 +02:00
James Cole
a2deff0f7a Whoops 2021-04-12 15:28:06 +02:00
James Cole
bff661fe69 Merge branch 'main' into develop 2021-04-12 14:10:52 +02:00
James Cole
f6b890e284 Fix #4652 2021-04-12 14:09:17 +02:00
James Cole
acb8fa522b Merge tag '5.5.7' into develop
5.5.7
2021-04-12 06:30:46 +02:00
James Cole
b47614c965 Merge branch 'release/5.5.7' into main 2021-04-12 06:30:44 +02:00
James Cole
9af458df49 Updates for new release. 2021-04-12 06:30:12 +02:00
James Cole
a67e2b597d Fix #4646 2021-04-12 06:16:00 +02:00
James Cole
39925f8139 Small changes in list 2021-04-12 06:08:21 +02:00
James Cole
3c36eed461 Rebuild frontend. 2021-04-11 07:43:07 +02:00
James Cole
5a7c3bd716 Rebuild v1 2021-04-11 07:27:25 +02:00
James Cole
43476167d8 Remove lots of debug comments. 2021-04-11 07:26:52 +02:00
James Cole
d357eaeb51 Update meta files for new release. 2021-04-11 07:26:37 +02:00
James Cole
2e118c5f22 Fix #4635 2021-04-11 06:49:46 +02:00
James Cole
a41d7378ef Some fixes in the account list 2021-04-11 06:41:21 +02:00
James Cole
16b51711f5 Actual debit indicator 2021-04-10 18:21:52 +02:00
James Cole
8e95530ca8 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-04-10 17:56:30 +02:00
James Cole
202facf43d Final touches for the balance and transactions. 2021-04-10 17:56:09 +02:00
James Cole
0426fa63d0 Make sure the user can create liabilities in the "credit" direction with the right transactions. 2021-04-10 17:26:36 +02:00
James Cole
5d7ca1ef9a Remove logging 2021-04-10 17:26:07 +02:00
James Cole
a2957b9e80 Update validation 2021-04-10 17:26:00 +02:00
James Cole
001c1f6518 New events for new accounts 2021-04-10 17:25:48 +02:00
James Cole
7fb4b2bb40 New events for new accounts 2021-04-10 17:25:41 +02:00
James Cole
bff274d058 New account and transaction types 2021-04-10 17:25:24 +02:00
James Cole
41d1ef27b5 New account and transaction types 2021-04-10 17:25:17 +02:00
James Cole
36fa7ae97e Some new strings. 2021-04-10 17:25:00 +02:00
James Cole
30aea37391 New events for new accounts 2021-04-10 17:24:47 +02:00
James Cole
f5af0350a4 Change rules for account requests 2021-04-10 17:24:38 +02:00
James Cole
e07377af86 Clear cache when updating account 2021-04-10 17:24:20 +02:00
James Cole
a04a6845f7 Merge pull request #4627 from devfaz/add_bill_nobill
added has_no_bill and has_any_bill search parameters
2021-04-10 12:01:43 +02:00
Fabian Zimmermann
185e9b66d6 added has_no_bill and has_any_bill search parameters 2021-04-10 10:59:59 +02:00
James Cole
7825fe4f1d Add flag to feature branch. 2021-04-10 08:03:17 +02:00
James Cole
d01814821f Update forms and transformer. 2021-04-10 08:02:10 +02:00
James Cole
93a7c51dd1 Update meta files 2021-04-10 08:01:55 +02:00
James Cole
01234b52e3 Recaculation service (does not do much yet). 2021-04-10 07:59:54 +02:00
James Cole
21ac42d3a6 Call service to recalculate debt. 2021-04-10 07:59:41 +02:00
James Cole
dcc5d9f583 Trigger recalculation of credit when editing or storing a group. 2021-04-10 07:58:13 +02:00
James Cole
3a3cec4f9a Store direction. 2021-04-10 07:57:04 +02:00
James Cole
083749e8fe Allow user to submit direction. 2021-04-10 07:56:50 +02:00
James Cole
f9ac40a811 Improve layout of v2 auth forms 2021-04-10 06:36:28 +02:00
James Cole
b0027acf34 Make sure that migrations work on old MySQL servers. 2021-04-10 06:36:09 +02:00
James Cole
f5e5854479 Rebuild frontend 2021-04-09 19:35:03 +02:00
James Cole
95d72d065b Fix #4628 2021-04-09 16:02:50 +02:00
James Cole
56b2fa69bc Fix for #4625 2021-04-09 09:02:00 +02:00
James Cole
e614427925 Fix some submit issues. 2021-04-09 07:03:19 +02:00
James Cole
34dc1f9f53 Merge branch 'release/5.5.6' into main 2021-04-09 06:20:39 +02:00
James Cole
94d9b78a33 Merge tag '5.5.6' into develop
5.5.6
2021-04-09 06:20:39 +02:00
James Cole
b9d949d259 Changelog and version. 2021-04-09 06:20:10 +02:00
James Cole
3376e1e663 Fix issue in date format. 2021-04-09 06:19:43 +02:00
James Cole
ea98c2631f Merge branch 'release/5.5.5' into main 2021-04-09 06:07:05 +02:00
James Cole
50b9fe649d Merge tag '5.5.5' into develop
5.5.5
2021-04-09 06:07:05 +02:00
James Cole
56054531a3 Jump to 5.5.5 2021-04-09 06:06:41 +02:00
James Cole
1912e46113 Remove strict CSP header for #4622 2021-04-09 06:05:27 +02:00
James Cole
075f951cfe Merge tag '5.5.4' into develop
5.5.4
2021-04-09 03:06:18 +02:00
James Cole
26aad765ae Merge branch 'release/5.5.4' into main 2021-04-09 03:06:16 +02:00
James Cole
73ba78d46d Update libraries for new release. 2021-04-09 03:05:37 +02:00
James Cole
0d5dd40134 Updated changelog. 2021-04-09 02:59:23 +02:00
James Cole
f0d84ad142 Update readme. 2021-04-09 02:55:57 +02:00
James Cole
0b4ebf644d Rebuild frontend 2021-04-09 02:07:34 +02:00
James Cole
5b60db120f Submit was broken. 2021-04-08 17:49:25 +02:00
James Cole
f2073a4494 Fix various issues in forms. 2021-04-08 17:41:19 +02:00
James Cole
3e12d26afd Disable almost all things. 2021-04-08 16:47:16 +02:00
James Cole
e458208966 Rebuild frontend 2021-04-08 16:09:09 +02:00
James Cole
e28a77dc87 Add nonce to build. 2021-04-08 12:30:21 +02:00
James Cole
a709596ccb Add headers. 2021-04-08 12:27:54 +02:00
James Cole
849c7dfe02 Strict headers and CSS nonce 2021-04-08 12:10:04 +02:00
James Cole
e580093a34 Weird headers. 2021-04-08 12:05:08 +02:00
James Cole
4fa7a5c1bc Update headers 2021-04-08 11:58:21 +02:00
James Cole
d668007fee Remove style thing 2021-04-08 11:55:10 +02:00
James Cole
6cbccf3be6 Small change in headers 2021-04-08 11:50:59 +02:00
James Cole
9cd75dda1a Link to issue. 2021-04-08 11:34:24 +02:00
James Cole
56dff7ea67 Rebuild new layout. 2021-04-08 11:21:20 +02:00
James Cole
6160f99e92 Update transactions. 2021-04-08 10:23:35 +02:00
James Cole
115639a004 Clean up some code. 2021-04-08 10:13:35 +02:00
James Cole
a0c98c7d9f Update packages. 2021-04-08 09:54:05 +02:00
James Cole
7842700bf1 Do not report specific error. 2021-04-08 06:50:00 +02:00
James Cole
4ecda4d4e0 Add some special headers. 2021-04-07 20:47:40 +02:00
James Cole
c76d140d0b Allow a new config var 2021-04-07 18:24:06 +02:00
James Cole
4f42eb1796 Fix nullpointers. 2021-04-07 14:18:43 +02:00
James Cole
c67b10e38d Fix nullpointer. 2021-04-07 14:17:03 +02:00
James Cole
614ceabd45 Fix #4593 2021-04-07 11:35:53 +02:00
James Cole
a94b2e8806 Extra if 2021-04-07 10:52:38 +02:00
James Cole
732616984b Fix nullpointer. 2021-04-07 09:32:12 +02:00
James Cole
eddf0c1200 Various code cleanup. 2021-04-07 07:53:05 +02:00
James Cole
49013264d5 Various code cleanup. 2021-04-07 07:32:54 +02:00
James Cole
f12744ad8c Various code cleanup. 2021-04-07 07:28:43 +02:00
James Cole
4ddcb0c965 Do not report on OAuth exceptions. 2021-04-07 05:56:50 +02:00
James Cole
0846d4898f Various code cleanup. 2021-04-07 05:55:51 +02:00
James Cole
cb746200fa Various code cleanup. 2021-04-06 18:48:02 +02:00
James Cole
fe06a1f7a0 Various code cleanup. 2021-04-06 18:36:37 +02:00
James Cole
9c1cee738d Update translations. 2021-04-06 17:12:58 +02:00
James Cole
7cc778673a Various code cleanup. 2021-04-06 17:12:31 +02:00
James Cole
38d0f0427f Various code cleanup. 2021-04-06 17:00:16 +02:00
James Cole
8572280b7b Update CI scripts. 2021-04-06 17:00:00 +02:00
James Cole
69b1769f22 Refactor old methods. 2021-04-06 13:30:09 +02:00
James Cole
5ceef2e9c3 Various code cleanup. 2021-04-06 08:51:27 +02:00
James Cole
d32446b171 Various code cleanup. 2021-04-05 22:12:57 +02:00
James Cole
d8ca39ffea Code for #4607 2021-04-05 22:12:11 +02:00
James Cole
d47bddde62 Change code for #4607 2021-04-05 21:53:28 +02:00
James Cole
e4802ec958 Clean up some code. 2021-04-05 21:52:55 +02:00
James Cole
6d855e119d Update frontend. 2021-04-05 14:18:49 +02:00
James Cole
7ab81e493a Delete accounts. 2021-04-05 12:49:02 +02:00
James Cole
fa0397e431 Fix #4603 2021-04-05 12:42:34 +02:00
James Cole
aba3b361be Update composer. 2021-04-05 12:42:20 +02:00
James Cole
1cf188ee08 Add some if-statements to the migrations. 2021-04-05 10:56:56 +02:00
James Cole
f5983f08fd Rename parameter 2021-04-05 10:56:41 +02:00
James Cole
b812c2e09f Simplify account creation. 2021-04-05 10:56:08 +02:00
James Cole
d7466efbe1 Merge pull request #4602 from firefly-iii/dependabot/composer/develop/predis/predis-1.1.7
Bump predis/predis from 1.1.6 to 1.1.7
2021-04-05 07:19:25 +02:00
dependabot[bot]
dff30af9f2 Bump predis/predis from 1.1.6 to 1.1.7
Bumps [predis/predis](https://github.com/predis/predis) from 1.1.6 to 1.1.7.
- [Release notes](https://github.com/predis/predis/releases)
- [Changelog](https://github.com/predis/predis/blob/v1.1.7/CHANGELOG.md)
- [Commits](https://github.com/predis/predis/compare/v1.1.6...v1.1.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-05 05:06:58 +00:00
James Cole
25dcb73e27 Fix #4600 2021-04-05 06:14:13 +02:00
James Cole
63ed3d09d5 Increase digits in bcscale. 2021-04-04 18:01:16 +02:00
James Cole
caf1e6010b Add browser TZ to debug page. 2021-04-04 17:57:46 +02:00
James Cole
2d97408c1f Move debug view so it can be made universal. 2021-04-04 17:54:11 +02:00
James Cole
01c0d76c5a Add info about reset. 2021-04-04 16:05:35 +02:00
James Cole
7c7032d951 Add info about reset. 2021-04-04 16:04:39 +02:00
James Cole
6e722f5833 Ignore 404's. 2021-04-04 15:53:17 +02:00
James Cole
d3502c56d3 Fix #4593 2021-04-04 12:48:44 +02:00
James Cole
1b8eb3cd68 Move some views. 2021-04-04 08:43:33 +02:00
James Cole
bc7bd84221 Add missing library 2021-04-04 08:33:10 +02:00
James Cole
85b22341a4 Various updates. 2021-04-04 08:31:15 +02:00
James Cole
f8c725e5b2 Merge branch 'feature/api-bulk-transaction-move' into develop 2021-04-04 07:28:54 +02:00
James Cole
e6344e4f51 Update changelog. 2021-04-04 07:28:35 +02:00
James Cole
8eac10bf89 Simplify routine. 2021-04-04 07:25:52 +02:00
James Cole
c1da0eeced Update chart to include time. 2021-04-04 07:25:42 +02:00
James Cole
0a6d5b1766 Fix error views. 2021-04-03 20:51:19 +02:00
James Cole
4035ac09ce Clean up error display. 2021-04-03 20:46:37 +02:00
James Cole
f81a7cfac0 Merge tag '5.5.3' into develop
5.5.3
2021-04-03 18:50:37 +02:00
James Cole
2b086879cc Merge branch 'release/5.5.3' into main 2021-04-03 18:50:36 +02:00
James Cole
a3091f7509 Final code for 5.3.3 2021-04-03 18:48:21 +02:00
James Cole
70a6ac0038 Make it easier to login for demo users. 2021-04-03 14:03:54 +02:00
James Cole
468a53d587 Add API route to move transactions from one account to another. 2021-04-03 13:56:45 +02:00
James Cole
51f3b17ad2 Clean up handler. 2021-04-03 13:19:11 +02:00
James Cole
a864d3bd56 Rebuild frontend 2021-04-03 12:52:50 +02:00
James Cole
a4d5aa0d10 Do not report on authentication exceptions. 2021-04-03 12:46:50 +02:00
James Cole
aff5ac2c0a Update changelog and version. 2021-04-03 12:39:01 +02:00
James Cole
effe92a05c Make sure the email error mails everything. 2021-04-03 12:32:29 +02:00
James Cole
a4ca6dfd38 Update email message paths for #4586 2021-04-03 12:30:34 +02:00
James Cole
e6012e1ca2 Fix email templates and handler for #4586 2021-04-03 12:25:35 +02:00
James Cole
472497cafd Fix #4586 2021-04-03 12:16:29 +02:00
James Cole
34f4b16a63 Rebuild frontend. 2021-04-03 10:40:31 +02:00
James Cole
7f55a870d9 Merge tag '5.5.2' into develop
5.5.2
2021-04-03 07:40:01 +02:00
James Cole
6a37ad7c15 Merge branch 'release/5.5.2' into main 2021-04-03 07:40:00 +02:00
James Cole
788981d170 Expand changelog and readme. 2021-04-03 07:39:23 +02:00
James Cole
f377c92d8a Fix percentage call. 2021-04-03 07:32:48 +02:00
James Cole
0dc3068f7f Rebuild frontend and update packages. 2021-04-03 07:22:21 +02:00
James Cole
1ad8ec6dd1 Update transactions. 2021-04-03 07:17:42 +02:00
James Cole
18a80f3519 Update code for API 2021-04-03 07:16:43 +02:00
James Cole
82f8b091c1 Do not run auto budgets for inactive budgets #4582 2021-04-03 06:04:17 +02:00
James Cole
71785bae57 Upgrade frontend. 2021-04-02 22:33:31 +02:00
James Cole
6d979a68f2 Fix missing first_date 2021-04-02 16:31:24 +02:00
James Cole
ef852ef963 Update changelog 2021-04-02 07:06:39 +02:00
James Cole
00b0ce6c6e Add dates for #4575, fiddle with comments for #4578 2021-04-02 06:59:55 +02:00
James Cole
5750087d37 Fix nullpointer in bill transformer. 2021-04-02 06:57:31 +02:00
James Cole
a2ae977550 Tag and recurrence as date-time string 2021-04-02 06:18:04 +02:00
James Cole
b893651223 Turn dates into date-times. 2021-04-01 21:06:40 +02:00
James Cole
e221d37d2b Convert dates into date-times for #4571 2021-04-01 20:56:11 +02:00
James Cole
f0acab21a3 Add timezone to template for #4571 2021-04-01 06:48:06 +02:00
James Cole
93dc5fae09 Fix #4571 2021-04-01 06:47:56 +02:00
James Cole
40746db53e Add timezone to debug for #4571 2021-04-01 06:47:33 +02:00
James Cole
4404db650c Fix #4574 2021-04-01 06:19:01 +02:00
James Cole
ab968a56e6 Fix #4572 2021-04-01 06:15:50 +02:00
James Cole
246a3d000a Make sure admin page is not empty. 2021-04-01 06:15:32 +02:00
James Cole
cbcf251bb3 Fix #4570 2021-03-31 19:36:08 +02:00
James Cole
0756054690 Sort expenses and revenue by percentage. 2021-03-31 08:10:46 +02:00
James Cole
b6109ca93e Update some translations. 2021-03-31 07:03:15 +02:00
James Cole
823ee2cea0 Clean up operations repository for #4566 2021-03-31 06:54:32 +02:00
James Cole
18f6052681 Part of #4566 2021-03-31 06:29:08 +02:00
James Cole
4f2ab72567 Ref #4567 2021-03-31 06:08:02 +02:00
James Cole
bc6a2c2cca Fix #4562 2021-03-30 08:12:48 +02:00
James Cole
7a6a911f7f Fix #4560 2021-03-30 06:32:42 +02:00
James Cole
abeff39829 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2021-03-30 06:11:04 +02:00
James Cole
4d18c1bf83 Add if statement for DB migration issue. 2021-03-29 18:53:31 +02:00
James Cole
8a818059f2 Merge pull request #4554 from firefly-iii/dependabot/composer/develop/vimeo/psalm-4.7.0
Bump vimeo/psalm from 4.6.4 to 4.7.0
2021-03-29 08:37:56 +00:00
James Cole
3768262224 Merge pull request #4553 from firefly-iii/dependabot/composer/develop/league/commonmark-1.5.8
Bump league/commonmark from 1.5.7 to 1.5.8
2021-03-29 08:25:22 +00:00
dependabot[bot]
b790a0731e Bump vimeo/psalm from 4.6.4 to 4.7.0
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.6.4 to 4.7.0.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.6.4...4.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 05:09:49 +00:00
dependabot[bot]
c38b9eeb08 Bump league/commonmark from 1.5.7 to 1.5.8
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 1.5.7 to 1.5.8.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/latest/CHANGELOG-1.x.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/1.5.7...1.5.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 05:09:20 +00:00
James Cole
22b376da71 Regenerate frontend. 2021-03-29 06:54:53 +02:00
James Cole
fde53abb1a Enable edit function 2021-03-29 06:53:51 +02:00
James Cole
c32e09a2b3 Fix #4551 2021-03-29 06:53:30 +02:00
James Cole
a243f3d7c2 Call to bad function breaks several reports, fix #4547 2021-03-28 20:42:03 +02:00
James Cole
3586c76b95 Parse improvements for budget overview. 2021-03-28 14:34:02 +02:00
James Cole
c9d9840235 Merge branch 'release/5.5.1' into main 2021-03-28 12:06:08 +02:00
James Cole
10390953fe Merge tag '5.5.1' into develop
5.5.1
2021-03-28 12:06:08 +02:00
James Cole
d6c6bc05ad Set correct version :( 2021-03-28 12:05:56 +02:00
1289 changed files with 38950 additions and 60785 deletions

View File

@@ -188,7 +188,7 @@ AUTHENTICATION_GUARD=web
# Enter a custom URL here that will force a logout (your authentication provider can tell you).
# Setting this variable only works when AUTHENTICATION_GUARD != web
#
CUSTOM_LOGOUT_URI=
CUSTOM_LOGOUT_URL=
# LDAP connection configuration
# OpenLDAP, FreeIPA or ActiveDirectory
@@ -260,12 +260,6 @@ DISABLE_CSP_HEADER=false
TRACKER_SITE_ID=
TRACKER_URL=
#
# Firefly III can collect telemetry on how you use Firefly III. This is opt-in.
# In order to allow this, change the following variable to true.
# To read more about this feature, go to this page: https://docs.firefly-iii.org/support/telemetry
SEND_TELEMETRY=false
# You can fine tune the start-up of a Docker container by editing these environment variables.
# Use this at your own risk. Disabling certain checks and features may result in lost of inconsistent data.
# However if you know what you're doing you can significantly speed up container start times.

View File

@@ -10,6 +10,19 @@ parameters:
- '#is neither abstract nor final#'
- '#Control structures using switch should not be used\.#'
- '#has a nullable return type declaration#'
- '#with a nullable type declaration#'
- '#with null as default value#'
- '#Constructor in [a-zA-Z0-9\\_]+ has parameter \$[a-zA-Z0-9\\_]+ with default value#'
-
message: '#Function compact\(\) should not be used.#'
paths:
- ../app/Http/Controllers
- ../app/Support/Http/Controllers/RenderPartialViews.php
- ../app/Support/Form/FormSupport.php
- ../app/Support/Form/CurrencyForm.php
- ../app/Support/Form/AccountForm.php
- ../app/Support/ExpandedForm.php
- ../app/Generator/Report
paths:
- ../app
- ../database
@@ -17,4 +30,4 @@ parameters:
- ../bootstrap/app.php
# The level 8 is the highest level. original was 5
level: 5
level: 3

View File

@@ -21,12 +21,13 @@
#
# Install composer packages
composer install --no-scripts --no-ansi
#composer install --no-scripts --no-ansi
# enable test .env file.
cp .ci/.env.ci .env
# Do static code analysis.
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress
# ./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress
./vendor/bin/phpstan analyse -c .ci/phpstan.neon
exit 0

View File

@@ -24,6 +24,7 @@
cp .ci/.env.ci ../.env
# download test database
# TODO no longer exists
wget --quiet https://raw.githubusercontent.com/firefly-iii/test-data/main/test_db.sqlite -o storage/database/test_db.sqlite
# run phpunit

View File

@@ -189,7 +189,7 @@ AUTHENTICATION_GUARD=web
# Enter a custom URL here that will force a logout (your authentication provider can tell you).
# Setting this variable only works when AUTHENTICATION_GUARD != web
#
CUSTOM_LOGOUT_URI=
CUSTOM_LOGOUT_URL=
# LDAP connection configuration
# OpenLDAP, FreeIPA or ActiveDirectory
@@ -261,12 +261,6 @@ DISABLE_CSP_HEADER=false
TRACKER_SITE_ID=
TRACKER_URL=
#
# Firefly III can collect telemetry on how you use Firefly III. This is opt-in.
# In order to allow this, change the following variable to true.
# To read more about this feature, go to this page: https://docs.firefly-iii.org/support/telemetry
SEND_TELEMETRY=false
# You can fine tune the start-up of a Docker container by editing these environment variables.
# Use this at your own risk. Disabling certain checks and features may result in lost of inconsistent data.
# However if you know what you're doing you can significantly speed up container start times.

View File

@@ -38,12 +38,6 @@ TRUSTED_PROXIES=
# Also available are 'syslog', 'errorlog' and 'stdout' which will log to the system itself.
# A rotating log option is 'daily', creates 5 files that (surprise) rotate.
# Default setting 'stack' will log to 'daily' and to 'stdout' at the same time.
# - Docker + versions <= 4.8.1.8 and before: use "stdout"
# - Docker + versions > 4.8.1.8 : use "docker_out"
# - Docker + versions >= 5.1.1 : use "stack"
# - For everything else (als not Docker) : use 'stack'
LOG_CHANNEL=stack
# Log level. You can set this from least severe to most severe:
@@ -53,8 +47,7 @@ LOG_CHANNEL=stack
APP_LOG_LEVEL=notice
# Audit log level.
# set to "emergency" if you dont want to store audit logs.
# leave on info otherwise.
# Set this to "emergency" if you dont want to store audit logs, leave on info otherwise.
AUDIT_LOG_LEVEL=info
# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III
@@ -64,7 +57,7 @@ AUDIT_LOG_LEVEL=info
# Use "mysql" for MySQL and MariaDB.
# Use "sqlite" for SQLite.
DB_CONNECTION=mysql
DB_HOST=fireflyiiidb
DB_HOST=db
DB_PORT=3306
DB_DATABASE=firefly
DB_USERNAME=firefly
@@ -89,11 +82,11 @@ PGSQL_SSL_CERT=null
PGSQL_SSL_KEY=null
PGSQL_SSL_CRL_FILE=null
# If you're looking for performance improvements, you could install memcached.
# If you're looking for performance improvements, you could install memcached or redis
CACHE_DRIVER=file
SESSION_DRIVER=file
# If you set either of these to 'redis', you might want to update these settings too
# If you set either of the options above to 'redis', you might want to update these settings too
# If you use Docker or similar, you can set REDIS_HOST_FILE, REDIS_PASSWORD_FILE or
# REDIS_PORT_FILE to set the value from a file instead of from an environment variable
@@ -106,8 +99,8 @@ REDIS_PATH=
# use only when using 'tcp' or 'http' for REDIS_SCHEME. Leave empty otherwise.
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=null
# always use quotes and make sure redis db "0" and "1" exists. Otherwise change accordingly.
REDIS_DB="0"
REDIS_CACHE_DB="1"
@@ -115,12 +108,13 @@ REDIS_CACHE_DB="1"
# Cookie settings. Should not be necessary to change these.
# If you use Docker or similar, you can set COOKIE_DOMAIN_FILE to set
# the value from a file instead of from an environment variable
# Setting samesite to "strict" may give you trouble logging in.
COOKIE_PATH="/"
COOKIE_DOMAIN=
COOKIE_SECURE=false
COOKIE_SAMESITE=lax
# If you want Firefly III to mail you, update these settings
# If you want Firefly III to email you, update these settings
# For instructions, see: https://docs.firefly-iii.org/advanced-installation/email
# If you use Docker or similar, you can set these variables from a file by appending them with _FILE
MAIL_MAILER=log
@@ -145,7 +139,7 @@ MAILGUN_ENDPOINT=api.mailgun.net
MANDRILL_SECRET=
SPARKPOST_SECRET=
# Firefly III can send you the following messages
# Firefly III can send you the following messages.
SEND_REGISTRATION_MAIL=true
SEND_ERROR_MESSAGE=true
SEND_LOGIN_NEW_IP_WARNING=true
@@ -153,105 +147,54 @@ SEND_LOGIN_NEW_IP_WARNING=true
# These messages contain (sensitive) transaction information:
SEND_REPORT_JOURNALS=true
# Set a Mapbox API key here (see mapbox.com) so there might be a map available at various places.
# If you use Docker or similar, you can set this variable from a file by appending it with _FILE
MAPBOX_API_KEY=
# Set this value to true if you want to set the location
# of certain things, like transactions. Since this involves an external service, it's optional
# and disabled by default.
ENABLE_EXTERNAL_MAP=false
# The map will default to this location:
MAP_DEFAULT_LAT=51.983333
MAP_DEFAULT_LONG=5.916667
MAP_DEFAULT_ZOOM=6
# Firefly III has two options for user authentication. "eloquent" is the default,
# and "ldap" for LDAP servers.
# For full instructions on these settings please visit:
# https://docs.firefly-iii.org/advanced-installation/authentication
# If you use Docker or similar, you can set this variable from a file by appending it with _FILE
LOGIN_PROVIDER=eloquent
#
# Firefly III authentication settings
#
# It's also possible to change the way users are authenticated. You could use Authelia for example.
# Authentication via the REMOTE_USER header is supported. Change the value below to "remote_user_guard".
#
# This will also allow Windows SSO.
#
# If you do this please read the documentation for instructions and warnings:
# Firefly III supports a few authentication methods:
# - 'web' (default, uses built in DB)
# - 'ldap'
# - 'remote_user_guard' for Authelia etc
# Read more about these settings in the documentation.
# https://docs.firefly-iii.org/advanced-installation/authentication
#
# This function is available in Firefly III v5.3.0 and higher.
AUTHENTICATION_GUARD=web
# If the guard is changed, Firefly III uses the 'REMOTE_USER' header as per RFC 3875.
# You can also use another header, like AUTH_USER when using Windows SSO.
# Some systems use X-Auth headers. In that case, use HTTP_X_AUTH_USERNAME or HTTP_X_AUTH_EMAIL
# Depending on your system, REMOTE_USER may need to be changed to HTTP_REMOTE_USER
#
# If this header is 'unexpectedly empty', check out the documentation.
# https://docs.firefly-iii.org/advanced-installation/authentication
# LDAP connection settings:
#
LDAP_HOST=ldap.yourserver.com
LDAP_PORT=389
LDAP_TIMEOUT=5
LDAP_SSL=false
LDAP_TLS=false
LDAP_BASE_DN="o=something,dc=site,dc=com"
LDAP_USERNAME="uid=X,ou=,o=,dc=something,dc=com"
LDAP_PASSWORD=super_secret
LDAP_AUTH_FIELD=uid
#
# Remote user guard settings
#
AUTHENTICATION_GUARD_HEADER=REMOTE_USER
#
# Firefly III uses email addresses as user identifiers. When you're using an external authentication guard
# that doesn't do this, Firefly III is incapable of emailing you. Messages sent to "Bill Gates" always fail.
#
# However, if you set this value, Firefly III will store the value from this header as the user's backup
# email address and use it to communicate. So user "Bill Gates" could still have
# the email address "bill@microsoft.com".
#
# Example value: AUTHENTICATION_GUARD_EMAIL=HTTP_X_AUTH_EMAIL
#
AUTHENTICATION_GUARD_EMAIL=
# It's impossible to log out users who's authentication is handled by an external system.
# Enter a custom URL here that will force a logout (your authentication provider can tell you).
# Setting this variable only works when AUTHENTICATION_GUARD != web
#
CUSTOM_LOGOUT_URI=
# LDAP connection configuration
# OpenLDAP, FreeIPA or ActiveDirectory
# # If you use Docker or similar, you can set this variable from a file by appending it with _FILE
ADLDAP_CONNECTION_SCHEME=OpenLDAP
ADLDAP_AUTO_CONNECT=true
# LDAP connection settings
# You can set the following variables from a file by appending them with _FILE:
# ADLDAP_CONTROLLERS, ADLDAP_PORT, ADLDAP_BASEDN
ADLDAP_CONTROLLERS=
ADLDAP_PORT=389
ADLDAP_TIMEOUT=5
ADLDAP_BASEDN=""
ADLDAP_FOLLOW_REFFERALS=false
# SSL/TLS settings
ADLDAP_USE_SSL=false
ADLDAP_USE_TLS=false
ADLDAP_SSL_CACERTDIR=
ADLDAP_SSL_CACERTFILE=
ADLDAP_SSL_CERTFILE=
ADLDAP_SSL_KEYFILE=
ADLDAP_SSL_CIPHER_SUITE=
ADLDAP_SSL_REQUIRE_CERT=
# You can set the following variables from a file by appending them with _FILE:
ADLDAP_ADMIN_USERNAME=
ADLDAP_ADMIN_PASSWORD=
# You can set the following variables from a file by appending them with _FILE:
ADLDAP_ACCOUNT_PREFIX=
ADLDAP_ACCOUNT_SUFFIX=
# LDAP authentication settings.
ADLDAP_PASSWORD_SYNC=false
ADLDAP_LOGIN_FALLBACK=false
ADLDAP_DISCOVER_FIELD=distinguishedname
ADLDAP_AUTH_FIELD=distinguishedname
# field to sync as local username.
# You can set the following variable from a file by appending it with _FILE:
ADLDAP_SYNC_FIELD=userprincipalname
# Extra authentication settings
#
CUSTOM_LOGOUT_URL=
# You can disable the X-Frame-Options header if it interferes with tools like
# Organizr. This is at your own risk. Applications running in frames run the risk
@@ -272,16 +215,20 @@ DISABLE_CSP_HEADER=false
TRACKER_SITE_ID=
TRACKER_URL=
# Firefly III can collect telemetry on how you use Firefly III. This is opt-in.
# In order to allow this, change the following variable to true.
# To read more about this feature, go to this page: https://docs.firefly-iii.org/support/telemetry
SEND_TELEMETRY=false
#
# Firefly III supports webhooks. These are security sensitive and must be enabled manually first.
#
ALLOW_WEBHOOKS=false
#
# The static cron job token can be useful when you use Docker and wish to manage cron jobs.
# 1. Set this token to any 32-character value (this is important!).
# 2. Use this token in the cron URL instead of a user's command line token.
#
# For more info: https://docs.firefly-iii.org/firefly-iii/advanced-installation/cron/
#
STATIC_CRON_TOKEN=
# You can fine tune the start-up of a Docker container by editing these environment variables.
# Use this at your own risk. Disabling certain checks and features may result in lost of inconsistent data.
# However if you know what you're doing you can significantly speed up container start times.
@@ -320,6 +267,7 @@ BROADCAST_DRIVER=log
QUEUE_DRIVER=sync
CACHE_PREFIX=firefly
PUSHER_KEY=
IPINFO_TOKEN=
PUSHER_SECRET=
PUSHER_ID=
DEMO_USERNAME=

View File

@@ -1,33 +0,0 @@
---
name: Bug report
about: Create a report to help Firefly III improve
title: ''
labels: ''
assignees: ''
---
**Bug description**
I am running Firefly III version x.x.x, and my problem is:
<!-- Replace the version and describe your problem or your issue may be closed. -->
**Steps to reproduce**
<!-- What do you need to do to trigger this bug? -->
**Extra info**
<!-- Please add extra info here, such as OS, browser, and the output from the /debug page of your Firefly III installation (click the version at the bottom).
DO NOT PUT ```BACKTICKS``` AROUND THE OUTPUT OF THE /debug PAGE
-->
**Bonus points**
<!-- Before you submit, verify the following please: -->
- I searched and nobody reported this bug before
- I have added a stack trace from my log files <!-- (see https://bit.ly/FF3-get-debug-info) -->
- I have added a screenshot.
- I was able to replicate it on the demo site https://demo.firefly-iii.org/
<!-- - I donated money (this is a joke ;)-->

View File

@@ -1,27 +0,0 @@
---
name: I have a question or a problem
about: Ask away!
---
I am running Firefly III version x.x.x.
**Description**
<!-- (if relevant of course) -->
**Extra info**
<!-- Please add extra info here, such as OS, browser, and the output from the `/debug`-page of your Firefly III installation (click the version at the bottom).
DO NOT PUT ```BACKTICKS``` AROUND THE OUTPUT OF THE /debug PAGE
-->
**Bonus points**
<!-- Complete the following checklist for bonus points -->
- I have read the FAQ at https://bit.ly/FF3-FAQ
- I added a screenshot
- I added log files <!-- (see https://bit.ly/FF3-get-debug-info) -->
- I was able to replicate the issue on the demo site.
<!-- - I donated money (this is a joke :wink:)-->

View File

@@ -1,34 +0,0 @@
---
name: Feature request
about: Suggest an idea or feature for Firefly III
title: ''
labels: ''
assignees: ''
---
**Description**
<!--
Please describe your feature request:
- I would like Firefly III to do ABC.
- What if you would add feature XYZ?
- Firefly III doesn't do DEF.
-->
**Solution**
<!-- Describe what your feature would add to Firefly III. -->
**What are alternatives?**
<!-- Please describe what alternatives currently exist. -->
**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->
**Bonus points**
<!-- Earn bonus points by:
- Make a drawing
- Donate money (just kidding ;)
-->

56
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@@ -0,0 +1,56 @@
name: Bug Report
description: Report a bug in Firefly III (or associated tools)
body:
- type: checkboxes
attributes:
label: Support guidelines
description: Please read the support guidelines before proceeding.
options:
- label: I've read the [support guidelines](https://github.com/firefly-iii/firefly-iii/blob/main/.github/support.md)
required: true
- type: checkboxes
attributes:
label: I've found a bug and checked that ...
description: Make sure that your request fulfills all of the following requirements. If one requirement cannot be satisfied, explain in detail why.
options:
- label: ... the documentation does not mention anything about my problem
- label: ... there are no open or closed issues that are related to my problem
- type: textarea
attributes:
label: Description
description: Please provide a brief description of the bug in 1-2 sentences.
validations:
required: true
- type: textarea
attributes:
label: Expected behaviour
description: Please describe precisely what you'd expect to happen.
validations:
required: true
- type: textarea
attributes:
label: Debug information
description: Please provide the table from the /debug page
placeholder: The output from the /debug page
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
description: Please describe the steps to reproduce the bug.
placeholder: |
1. ...
2. ...
3. ...
validations:
required: false
- type: textarea
attributes:
label: Additional info
description: Please provide any additional information that seem useful.

42
.github/ISSUE_TEMPLATE/fr.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Feature Request
description: Request a feature or enhancement in Firefly III (or associated tools)
body:
- type: checkboxes
attributes:
label: Support guidelines
description: Please read the support guidelines before proceeding.
options:
- label: I've read the [support guidelines](https://github.com/firefly-iii/firefly-iii/blob/main/.github/support.md)
required: true
- label: My request is not listed as [a very good idea, but unfortunately...](https://docs.firefly-iii.org/firefly-iii/about-firefly-iii/what-its-not/)
required: true
- label: I've used [the search](https://github.com/firefly-iii/firefly-iii/issues?q=is%3Aissue) and this has not been discussed before.
required: true
- type: textarea
attributes:
label: Description
description: Please describe your feature request
placeholder: |
- I would like Firefly III to do ABC.
- What if you would add feature XYZ?
- Firefly III doesn't do DEF.
validations:
required: true
- type: textarea
attributes:
label: Solution
description: Describe what your feature would add to Firefly III.
validations:
required: true
- type: textarea
attributes:
label: What are alternatives?
description: Please describe what alternatives currently exist.
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.

BIN
.github/assets/img/imac-complete.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 KiB

BIN
.github/assets/img/ipad-complete.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 KiB

BIN
.github/assets/img/iphone-complete.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

BIN
.github/assets/img/logo-small.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -6,6 +6,7 @@ updates:
directory: "/" # Location of package manifests
target-branch: develop
labels: ["bug"]
versioning-strategy: increase
schedule:
interval: "weekly"
@@ -14,6 +15,7 @@ updates:
directory: "/"
target-branch: develop
labels: ["bug"]
versioning-strategy: increase
schedule:
interval: "weekly"
@@ -21,6 +23,7 @@ updates:
- package-ecosystem: "npm"
directory: "/frontend"
target-branch: develop
versioning-strategy: increase
labels: ["bug"]
schedule:
interval: "weekly"

35
.github/lock.yml vendored
View File

@@ -1,35 +0,0 @@
# Configuration for Lock Threads - https://github.com/dessant/lock-threads
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 90
# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
skipCreatedBefore: false
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels: []
# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false
# Comment to post before locking. Set to `false` to disable
lockComment: false
# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: true
# Limit to only `issues` or `pulls`
# only: issues
# Optionally, specify configuration settings just for `issues` or `pulls`
# issues:
# exemptLabels:
# - help-wanted
# lockLabel: outdated
# pulls:
# daysUntilLock: 30
# Repository to extend settings from
# _extends: repo

View File

@@ -2,8 +2,7 @@
Before you create a new PR, please consider:
1) Pull requests for the MAIN branch will be closed.
2) We cannot accept pull requests to add new currencies.
3) DO NOT include translations in your PR. Only English US sentences.
2) DO NOT include translations in your PR. Only English US sentences.
Thanks.
-->

32
.github/support.md vendored
View File

@@ -1,12 +1,32 @@
# Welcome to Firefly III on Github!
# Support [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/firefly-iii/firefly-iii.svg)](http://isitmaintained.com/project/firefly-iii/firefly-iii "Average time to resolve an issue")
:+1::tada: Thank you for taking the time to contribute something to Firefly III!
## Bugs
## Reporting an issue
First of all: thank you for reporting a bug instead of ditching the tool altogether. If you find a bug, please take the time and see if the [demo site](https://demo.firefly-iii.org/) is also suffering from this bug. Include as many log files and details as you think are necessary. Bugs have a lot of priority!
First of all: thank you for reporting a bug instead of ditching the tool altogether. Bugs have a lot of priority!
## Installation problems
1. Open bugs will have open issues, so search for one first.
2. If your feature request is already there, vote on it with :+1: or :-1: reactions.
3. Do NOT hijack old issues with the bug you found, open your own issue.
4. If relevant, take the time and see if the [demo site](https://demo.firefly-iii.org/) is also suffering from your issue.
5. If relevant, read the [documentation](https://docs.firefly-iii.org/).
Please take the time to read the [documentation](https://docs.firefly-iii.org/) and make sure you search through closed issues for the problems other people
have had. Your problem may be among them! If not, open an issue and I will help where I can.
Please follow these guidelines when opening new issues:
## Writing good issues
- File a single issue for a single problem or feature requests. Feel free to open multiple issues.
- Collect as many details as you can.
- Be clear and specific, and state what you're not sure about.
Only then [create a new issue](https://github.com/firefly-iii/firefly-iii/issues/new/choose)!
## Issue closure and abandonment policy
- Issues can be converted into discussions if it's not a bug or feature request.
- Features that won't be implemented will be labelled "wontfix". [This isn't personal](https://docs.firefly-iii.org/firefly-iii/support/features/#ideas-that-wont-be-implemented).
- Issues can be closed if they're duplicates of other issues.
- Issues can be closed if the answer is in the FAQ.
- Issues will be closed automatically after 14 days.
- Issues will be locked automatically after 90 days.

15
.github/workflows/lock.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Lock old issues
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '90'

2
.gitignore vendored
View File

@@ -15,4 +15,4 @@ yarn-error.log
public/google*.html
report.html
composer.phar
app.js.map
app.js.map

View File

@@ -66,7 +66,7 @@ class ObjectGroupController extends Controller
$return = [];
$result = $this->repository->search($data['query'], $data['limit']);
/** @var ObjectGroup $account */
/** @var ObjectGroup $objectGroup */
foreach ($result as $objectGroup) {
$return[] = [
'id' => (string)$objectGroup->id,

View File

@@ -86,12 +86,12 @@ class AccountController extends Controller
$defaultSet = $this->repository->getAccountsByType([AccountType::ASSET])->pluck('id')->toArray();
$frontPage = app('preferences')->get('frontPageAccounts', $defaultSet);
$default = app('amount')->getDefaultCurrency();
// @codeCoverageIgnoreStart
if (0 === count($frontPage->data)) {
if (empty($frontPage->data)) {
$frontPage->data = $defaultSet;
$frontPage->save();
}
// @codeCoverageIgnoreEnd
// get accounts:
$accounts = $this->repository->getAccountsById($frontPage->data);
@@ -100,7 +100,7 @@ class AccountController extends Controller
foreach ($accounts as $account) {
$currency = $this->repository->getAccountCurrency($account);
if (null === $currency) {
$currency = $default; // @codeCoverageIgnore
$currency = $default;
}
$currentSet = [
'label' => $account->name,
@@ -108,19 +108,18 @@ class AccountController extends Controller
'currency_code' => $currency->code,
'currency_symbol' => $currency->symbol,
'currency_decimal_places' => $currency->decimal_places,
'start_date' => $start->format('Y-m-d'),
'end_date' => $end->format('Y-m-d'),
'start_date' => $start->toAtomString(),
'end_date' => $end->toAtomString(),
'type' => 'line', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'entries' => [],
];
/** @var Carbon $currentStart */
$currentStart = clone $start;
$range = app('steam')->balanceInRange($account, $start, clone $end);
$previous = round((float)array_values($range)[0], 12);
while ($currentStart <= $end) {
$format = $currentStart->format('Y-m-d');
$label = $currentStart->format('Y-m-d');
$label = $currentStart->toAtomString();
$balance = array_key_exists($format, $range) ? round((float)$range[$format], 12) : $previous;
$previous = $balance;
$currentStart->addDay();

View File

@@ -26,6 +26,7 @@ namespace FireflyIII\Api\V1\Controllers;
use Carbon\Carbon;
use Carbon\Exceptions\InvalidDateException;
use Carbon\Exceptions\InvalidFormatException;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
@@ -46,6 +47,7 @@ abstract class Controller extends BaseController
protected const CONTENT_TYPE = 'application/vnd.api+json';
protected ParameterBag $parameters;
protected array $allowedSort;
/**
* Controller constructor.
@@ -53,7 +55,8 @@ abstract class Controller extends BaseController
public function __construct()
{
// get global parameters
$this->parameters = $this->getParameters();
$this->allowedSort = config('firefly.allowed_sort_parameters');
$this->parameters = $this->getParameters();
$this->middleware(
function ($request, $next) {
if (auth()->check()) {
@@ -89,7 +92,7 @@ abstract class Controller extends BaseController
if (null !== $date) {
try {
$obj = Carbon::parse($date);
} catch (InvalidDateException $e) {
} catch (InvalidDateException|InvalidFormatException $e) {
// don't care
Log::error(sprintf('Invalid date exception in API controller: %s', $e->getMessage()));
}
@@ -106,10 +109,40 @@ abstract class Controller extends BaseController
}
}
return $bag;
// sort fields:
return $this->getSortParameters($bag);
}
/**
* @param ParameterBag $bag
*
* @return ParameterBag
*/
private function getSortParameters(ParameterBag $bag): ParameterBag
{
$sortParameters = [];
$param = (string)request()->query->get('sort');
if ('' === $param) {
return $bag;
}
$parts = explode(',', $param);
foreach ($parts as $part) {
$part = trim($part);
$direction = 'asc';
if ('-' === $part[0]) {
$part = substr($part, 1);
$direction = 'desc';
}
if (in_array($part, $this->allowedSort, true)) {
$sortParameters[] = [$part, $direction];
}
}
$bag->set('sort', $sortParameters);
return $bag;
}
/**
* Method to help build URI's.
*

View File

@@ -0,0 +1,78 @@
<?php
/*
* AccountController.php
* Copyright (c) 2021 james@firefly-iii.org
*
* 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/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers\Data\Bulk;
use FireflyIII\Api\V1\Controllers\Controller;
use FireflyIII\Api\V1\Requests\Data\Bulk\MoveTransactionsRequest;
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
use FireflyIII\Services\Internal\Destroy\AccountDestroyService;
use Illuminate\Http\JsonResponse;
/**
* Class AccountController
*
* @deprecated
*/
class AccountController extends Controller
{
private AccountRepositoryInterface $repository;
/**
*
*/
public function __construct()
{
parent::__construct();
$this->middleware(
function ($request, $next) {
$this->repository = app(AccountRepositoryInterface::class);
$this->repository->setUser(auth()->user());
return $next($request);
}
);
}
/**
* @param MoveTransactionsRequest $request
*
* @return JsonResponse
*/
public function moveTransactions(MoveTransactionsRequest $request): JsonResponse
{
$accountIds = $request->getAll();
$original = $this->repository->find($accountIds['original_account']);
$destination = $this->repository->find($accountIds['destination_account']);
/** @var AccountDestroyService $service */
$service = app(AccountDestroyService::class);
$service->moveTransactions($original, $destination);
return response()->json([], 204);
}
}

View File

@@ -0,0 +1,97 @@
<?php
/*
* TransactionController.php
* Copyright (c) 2021 james@firefly-iii.org
*
* 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/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers\Data\Bulk;
use FireflyIII\Api\V1\Controllers\Controller;
use FireflyIII\Api\V1\Requests\Data\Bulk\TransactionRequest;
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
use FireflyIII\Services\Internal\Destroy\AccountDestroyService;
use Illuminate\Http\JsonResponse;
/**
* Class TransactionController
*
* Endpoint to update transactions by submitting
* (optional) a "where" clause and an "update"
* clause.
*
* Because this is a security nightmare waiting to happen validation
* is pretty strict.
*/
class TransactionController extends Controller
{
private AccountRepositoryInterface $repository;
/**
*
*/
public function __construct()
{
parent::__construct();
$this->middleware(
function ($request, $next) {
$this->repository = app(AccountRepositoryInterface::class);
$this->repository->setUser(auth()->user());
return $next($request);
}
);
}
/**
* @param TransactionRequest $request
*
* @return JsonResponse
*/
public function update(TransactionRequest $request): JsonResponse
{
$query = $request->getAll();
$params = $query['query'];
// this deserves better code, but for now a loop of basic if-statements
// to respond to what is in the $query.
// this is OK because only one thing can be in the query at the moment.
if ($this->updatesTransactionAccount($params)) {
$original = $this->repository->find((int)$params['where']['source_account_id']);
$destination = $this->repository->find((int)$params['update']['destination_account_id']);
/** @var AccountDestroyService $service */
$service = app(AccountDestroyService::class);
$service->moveTransactions($original, $destination);
}
return response()->json([], 204);
}
/**
* @param array $params
*
* @return bool
*/
private function updatesTransactionAccount(array $params): bool
{
return array_key_exists('source_account_id', $params['where']) && array_key_exists('destination_account_id', $params['update']);
}
}

View File

@@ -1,8 +1,7 @@
<?php
declare(strict_types=1);
/*
* AccountController.php
* ExportController.php
* Copyright (c) 2021 james@firefly-iii.org
*
* This file is part of Firefly III (https://github.com/firefly-iii).
@@ -21,12 +20,13 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers\Data\Export;
use FireflyIII\Api\V1\Controllers\Controller;
use FireflyIII\Api\V1\Requests\Data\Export\ExportRequest;
use FireflyIII\Support\Export\ExportDataGenerator;
use FireflyIII\User;
use Illuminate\Http\Response as LaravelResponse;
use League\Csv\CannotInsertRecord;
@@ -45,11 +45,8 @@ class ExportController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
/** @var ExportDataGenerator $exporter */
$this->exporter = app(ExportDataGenerator::class);
$this->exporter->setUser($user);
$this->exporter->setUser(auth()->user());
return $next($request);
}
@@ -75,6 +72,8 @@ class ExportController extends Controller
*
* @return LaravelResponse
* @throws CannotInsertRecord
* @throws \FireflyIII\Exceptions\FireflyException
* @throws \League\Csv\Exception
*/
private function returnExport(string $key): LaravelResponse
{
@@ -93,7 +92,7 @@ class ExportController extends Controller
->header('Expires', '0')
->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
->header('Pragma', 'public')
->header('Content-Length', strlen($data[$key]));
->header('Content-Length', (string)strlen($data[$key]));
return $response;
}

View File

@@ -82,12 +82,14 @@ class AccountController extends Controller
$start = $request->getStart();
$end = $request->getEnd();
$assetAccounts = $request->getAssetAccounts();
$expenses = $this->opsRepository->sumExpenses($start, $end, $assetAccounts);
$expenses = $this->opsRepository->sumExpensesBySource($start, $end, $assetAccounts);
$result = [];
/** @var array $expense */
foreach ($expenses as $expense) {
$result[] = [
'id' => (string)$expense['id'],
'name' => $expense['name'],
'difference' => $expense['sum'],
'difference_float' => (float)$expense['sum'],
'currency_id' => (string)$expense['currency_id'],
@@ -109,12 +111,14 @@ class AccountController extends Controller
$end = $request->getEnd();
$assetAccounts = $request->getAssetAccounts();
$expenseAccounts = $request->getExpenseAccounts();
$expenses = $this->opsRepository->sumExpenses($start, $end, $assetAccounts, $expenseAccounts);
$expenses = $this->opsRepository->sumExpensesByDestination($start, $end, $assetAccounts, $expenseAccounts);
$result = [];
/** @var array $expense */
foreach ($expenses as $expense) {
$result[] = [
'id' => (string)$expense['id'],
'name' => $expense['name'],
'difference' => $expense['sum'],
'difference_float' => (float)$expense['sum'],
'currency_id' => (string)$expense['currency_id'],

View File

@@ -1,8 +1,7 @@
<?php
declare(strict_types=1);
/*
* PeriodController.php
* BillController.php
* Copyright (c) 2021 james@firefly-iii.org
*
* This file is part of Firefly III (https://github.com/firefly-iii).
@@ -21,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers\Insight\Expense;
use FireflyIII\Api\V1\Controllers\Controller;

View File

@@ -81,7 +81,7 @@ class BudgetController extends Controller
}
/** @var Budget $budget */
foreach ($budgets as $budget) {
$expenses = $this->opsRepository->sumExpenses($start, $end, $assetAccounts, new Collection([$budget]), null);
$expenses = $this->opsRepository->sumExpenses($start, $end, $assetAccounts, new Collection([$budget]));
/** @var array $expense */
foreach ($expenses as $expense) {
$result[] = [
@@ -109,7 +109,7 @@ class BudgetController extends Controller
$end = $request->getEnd();
$assetAccounts = $request->getAssetAccounts();
$result = [];
$expenses = $this->noRepository->sumExpenses($start, $end, $assetAccounts, null);
$expenses = $this->noRepository->sumExpenses($start, $end, $assetAccounts);
/** @var array $expense */
foreach ($expenses as $expense) {
$result[] = [

View File

@@ -1,8 +1,7 @@
<?php
declare(strict_types=1);
/*
* PeriodController.php
* TagController.php
* Copyright (c) 2021 james@firefly-iii.org
*
* This file is part of Firefly III (https://github.com/firefly-iii).
@@ -21,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers\Insight\Expense;
use FireflyIII\Api\V1\Controllers\Controller;
@@ -45,9 +46,8 @@ class TagController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
$user = auth()->user();
$this->repository = app(TagRepositoryInterface::class);
$this->repository->setUser($user);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -129,7 +129,7 @@ class TagController extends Controller
$collector->setTypes([TransactionType::WITHDRAWAL])->setRange($start, $end)->setSourceAccounts($accounts);
$collector->setTags($tags);
$genericSet = $collector->getExtractedJournals();
/** @var array $entry */
/** @var array $journal */
foreach ($genericSet as $journal) {
$currencyId = (int)$journal['currency_id'];
$foreignCurrencyId = (int)$journal['foreign_currency_id'];

View File

@@ -38,7 +38,6 @@ use Illuminate\Http\JsonResponse;
*
* Shows income information grouped or limited by date.
* Ie. all income grouped by account + currency.
* TODO same code as Expense/AccountController.
*/
class AccountController extends Controller
{
@@ -74,8 +73,6 @@ class AccountController extends Controller
}
/**
* TODO same code as Expense/AccountController.
*
* @param GenericRequest $request
*
* @return JsonResponse
@@ -85,11 +82,13 @@ class AccountController extends Controller
$start = $request->getStart();
$end = $request->getEnd();
$assetAccounts = $request->getAssetAccounts();
$income = $this->opsRepository->sumIncome($start, $end, $assetAccounts);
$income = $this->opsRepository->sumIncomeByDestination($start, $end, $assetAccounts);
$result = [];
/** @var array $entry */
foreach ($income as $entry) {
$result[] = [
'id' => (string)$entry['id'],
'name' => $entry['name'],
'difference' => $entry['sum'],
'difference_float' => (float)$entry['sum'],
'currency_id' => (string)$entry['currency_id'],
@@ -101,8 +100,6 @@ class AccountController extends Controller
}
/**
* // TOOD same as
*
* @param GenericRequest $request
*
* @return JsonResponse
@@ -113,12 +110,14 @@ class AccountController extends Controller
$end = $request->getEnd();
$assetAccounts = $request->getAssetAccounts();
$revenueAccounts = $request->getRevenueAccounts();
$income = $this->opsRepository->sumIncome($start, $end, $assetAccounts, $revenueAccounts);
$income = $this->opsRepository->sumIncomeBySource($start, $end, $assetAccounts, $revenueAccounts);
$result = [];
/** @var array $entry */
foreach ($income as $entry) {
$result[] = [
'id' => (string)$entry['id'],
'name' => $entry['name'],
'difference' => $entry['sum'],
'difference_float' => (float)$entry['sum'],
'currency_id' => (string)$entry['currency_id'],

View File

@@ -35,7 +35,6 @@ use Illuminate\Support\Collection;
/**
* Class CategoryController
* TODO same as opposing category controller
*/
class CategoryController extends Controller
{

View File

@@ -1,8 +1,7 @@
<?php
declare(strict_types=1);
/*
* PeriodController.php
* TagController.php
* Copyright (c) 2021 james@firefly-iii.org
*
* This file is part of Firefly III (https://github.com/firefly-iii).
@@ -21,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers\Insight\Income;
use FireflyIII\Api\V1\Controllers\Controller;
@@ -131,7 +132,7 @@ class TagController extends Controller
$collector->setTypes([TransactionType::DEPOSIT])->setRange($start, $end)->setDestinationAccounts($accounts);
$collector->setTags($tags);
$genericSet = $collector->getExtractedJournals();
/** @var array $entry */
/** @var array $journal */
foreach ($genericSet as $journal) {
$currencyId = (int)$journal['currency_id'];
$foreignCurrencyId = (int)$journal['foreign_currency_id'];

View File

@@ -58,7 +58,6 @@ class AccountController extends Controller
}
/**
* TODO same code as Expense/AccountController.
*
* @param GenericRequest $request
*
@@ -69,18 +68,7 @@ class AccountController extends Controller
$start = $request->getStart();
$end = $request->getEnd();
$assetAccounts = $request->getAssetAccounts();
$income = $this->opsRepository->sumTransfers($start, $end, $assetAccounts);
$result = [];
/** @var array $entry */
foreach ($income as $entry) {
$result[] = [
'difference' => $entry['sum'],
'difference_float' => (float)$entry['sum'],
'currency_id' => (string)$entry['currency_id'],
'currency_code' => $entry['currency_code'],
];
}
return response()->json($result);
$transfers = $this->opsRepository->sumTransfers($start, $end, $assetAccounts);
return response()->json($transfers);
}
}

View File

@@ -39,7 +39,6 @@ class TagController extends Controller
/**
* TagController constructor.
* TODO lots of copying and pasting here.
*/
public function __construct()
{
@@ -132,7 +131,7 @@ class TagController extends Controller
$collector->setTypes([TransactionType::TRANSFER])->setRange($start, $end)->setDestinationAccounts($accounts);
$collector->setTags($tags);
$genericSet = $collector->getExtractedJournals();
/** @var array $entry */
/** @var array $journal */
foreach ($genericSet as $journal) {
$currencyId = (int)$journal['currency_id'];
$foreignCurrencyId = (int)$journal['foreign_currency_id'];

View File

@@ -72,6 +72,7 @@ class ListController extends Controller
* @param Account $account
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function attachments(Account $account): JsonResponse
@@ -103,6 +104,7 @@ class ListController extends Controller
* @param Account $account
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function piggyBanks(Account $account): JsonResponse
@@ -142,6 +144,7 @@ class ListController extends Controller
* @param Account $account
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
*/
public function transactions(Request $request, Account $account): JsonResponse
{

View File

@@ -69,8 +69,9 @@ class ShowController extends Controller
*
* @param Request $request
*
* @codeCoverageIgnore
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(Request $request): JsonResponse
{
@@ -84,8 +85,12 @@ class ShowController extends Controller
// get list of accounts. Count it and split it.
$this->repository->resetAccountOrder();
$collection = $this->repository->getAccountsByType($types);
$collection = $this->repository->getAccountsByType($types, $this->parameters->get('sort') ?? []);
$count = $collection->count();
// continue sort:
$accounts = $collection->slice(($this->parameters->get('page') - 1) * $pageSize, $pageSize);
// make paginator:

View File

@@ -31,6 +31,7 @@ use FireflyIII\Transformers\AccountTransformer;
use Illuminate\Http\JsonResponse;
use League\Fractal\Resource\Item;
use Log;
use Preferences;
/**
* Class UpdateController
@@ -75,6 +76,7 @@ class UpdateController extends Controller
$account = $this->repository->update($account, $data);
$manager = $this->getManager();
$account->refresh();
Preferences::mark();
/** @var AccountTransformer $transformer */
$transformer = app(AccountTransformer::class);

View File

@@ -100,7 +100,7 @@ class ShowController extends Controller
->header('Expires', '0')
->header('Cache-Control', 'must-revalidate, post-check=0, pre-check=0')
->header('Pragma', 'public')
->header('Content-Length', strlen($content));
->header('Content-Length', (string)strlen($content));
return $response;
}
@@ -111,6 +111,7 @@ class ShowController extends Controller
* Display a listing of the resource.
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -65,6 +65,7 @@ class ShowController extends Controller
* Display a listing of the resource.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -46,12 +46,8 @@ class DestroyController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var BillRepositoryInterface repository */
$this->repository = app(BillRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -57,12 +57,8 @@ class ListController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var BillRepositoryInterface repository */
$this->repository = app(BillRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -75,6 +71,7 @@ class ListController extends Controller
* @param Bill $bill
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function attachments(Bill $bill): JsonResponse
@@ -106,6 +103,7 @@ class ListController extends Controller
* @param Bill $bill
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function rules(Bill $bill): JsonResponse
@@ -142,6 +140,7 @@ class ListController extends Controller
* @param Bill $bill
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, Bill $bill): JsonResponse

View File

@@ -51,12 +51,8 @@ class ShowController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var BillRepositoryInterface repository */
$this->repository = app(BillRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -67,6 +63,7 @@ class ShowController extends Controller
* Display a listing of the resource.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -52,12 +52,8 @@ class StoreController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var BillRepositoryInterface repository */
$this->repository = app(BillRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -49,12 +49,8 @@ class UpdateController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var BillRepositoryInterface repository */
$this->repository = app(BillRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -73,6 +73,7 @@ class ListController extends Controller
* @param Budget $budget
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function attachments(Budget $budget): JsonResponse
@@ -104,6 +105,7 @@ class ListController extends Controller
* @param Budget $budget
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function budgetLimits(Budget $budget): JsonResponse
@@ -134,6 +136,7 @@ class ListController extends Controller
* @param Budget $budget
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, Budget $budget): JsonResponse

View File

@@ -66,6 +66,7 @@ class ShowController extends Controller
* Display a listing of the resource.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -65,6 +65,7 @@ class DestroyController extends Controller
* @param BudgetLimit $budgetLimit
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function destroy(Budget $budget, BudgetLimit $budgetLimit): JsonResponse

View File

@@ -73,6 +73,7 @@ class ListController extends Controller
* @param BudgetLimit $budgetLimit
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, Budget $budget, BudgetLimit $budgetLimit): JsonResponse

View File

@@ -73,8 +73,10 @@ class ShowController extends Controller
* Display a listing of the budget limits for this budget..
*
* @param Request $request
* @param Budget $budget
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function index(Request $request, Budget $budget): JsonResponse
@@ -104,6 +106,7 @@ class ShowController extends Controller
* @param DateRequest $request
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function indexAll(DateRequest $request): JsonResponse
@@ -133,6 +136,7 @@ class ShowController extends Controller
* @param BudgetLimit $budgetLimit
*
* @return JsonResponse
* @throws FireflyException
*/
public function show(Request $request, Budget $budget, BudgetLimit $budgetLimit): JsonResponse
{

View File

@@ -64,10 +64,9 @@ class StoreController extends Controller
* Store a newly created resource in storage.
*
* @param StoreRequest $request
* @param Budget $budget
*
* @return JsonResponse
* @throws FireflyException
*
*/
public function store(StoreRequest $request, Budget $budget): JsonResponse
{

View File

@@ -69,6 +69,7 @@ class UpdateController extends Controller
* @param BudgetLimit $budgetLimit
*
* @return JsonResponse
* @throws FireflyException
*/
public function update(UpdateRequest $request, Budget $budget, BudgetLimit $budgetLimit): JsonResponse
{

View File

@@ -46,12 +46,8 @@ class DestroyController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CategoryRepositoryInterface repository */
$this->repository = app(CategoryRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -56,12 +56,8 @@ class ListController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CategoryRepositoryInterface repository */
$this->repository = app(CategoryRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -72,6 +68,7 @@ class ListController extends Controller
* @param Category $category
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function attachments(Category $category): JsonResponse
@@ -105,6 +102,7 @@ class ListController extends Controller
* @param Category $category
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, Category $category): JsonResponse

View File

@@ -51,12 +51,8 @@ class ShowController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CategoryRepositoryInterface repository */
$this->repository = app(CategoryRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -67,6 +63,7 @@ class ShowController extends Controller
* Display a listing of the resource.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -49,12 +49,8 @@ class StoreController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CategoryRepositoryInterface repository */
$this->repository = app(CategoryRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -49,12 +49,8 @@ class UpdateController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CategoryRepositoryInterface repository */
$this->repository = app(CategoryRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -67,6 +67,7 @@ class ListController extends Controller
* @param ObjectGroup $objectGroup
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function bills(ObjectGroup $objectGroup): JsonResponse
@@ -99,6 +100,7 @@ class ListController extends Controller
* @param ObjectGroup $objectGroup
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function piggyBanks(ObjectGroup $objectGroup): JsonResponse

View File

@@ -67,8 +67,9 @@ class ShowController extends Controller
*
* @param Request $request
*
* @codeCoverageIgnore
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(Request $request): JsonResponse
{

View File

@@ -62,6 +62,7 @@ class ListController extends Controller
* @param PiggyBank $piggyBank
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function attachments(PiggyBank $piggyBank): JsonResponse
@@ -93,6 +94,7 @@ class ListController extends Controller
* @param PiggyBank $piggyBank
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function piggyBankEvents(PiggyBank $piggyBank): JsonResponse

View File

@@ -62,6 +62,7 @@ class ShowController extends Controller
* List all of them.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -46,12 +46,8 @@ class DestroyController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
/** @var RecurringRepositoryInterface repository */
$this->repository = app(RecurringRepositoryInterface::class);
$this->repository->setUser($user);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -54,12 +54,8 @@ class ListController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
/** @var RecurringRepositoryInterface repository */
$this->repository = app(RecurringRepositoryInterface::class);
$this->repository->setUser($user);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -73,6 +69,7 @@ class ListController extends Controller
* @param Recurrence $recurrence
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, Recurrence $recurrence): JsonResponse

View File

@@ -51,12 +51,8 @@ class ShowController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
/** @var RecurringRepositoryInterface repository */
$this->repository = app(RecurringRepositoryInterface::class);
$this->repository->setUser($user);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -67,6 +63,7 @@ class ShowController extends Controller
* List all of them.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -49,12 +49,8 @@ class StoreController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
/** @var RecurringRepositoryInterface repository */
$this->repository = app(RecurringRepositoryInterface::class);
$this->repository->setUser($user);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -1,86 +0,0 @@
<?php
/*
* TriggerController.php
* Copyright (c) 2021 james@firefly-iii.org
*
* 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/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers\Models\Recurrence;
use FireflyIII\Api\V1\Controllers\Controller;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Repositories\Recurring\RecurringRepositoryInterface;
use FireflyIII\Support\Cronjobs\RecurringCronjob;
use FireflyIII\User;
use Illuminate\Http\JsonResponse;
use Log;
/**
* Class TriggerController
*/
class TriggerController extends Controller
{
private RecurringRepositoryInterface $repository;
/**
* RecurrenceController constructor.
*
* @codeCoverageIgnore
*/
public function __construct()
{
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
/** @var RecurringRepositoryInterface repository */
$this->repository = app(RecurringRepositoryInterface::class);
$this->repository->setUser($user);
return $next($request);
}
);
}
/**
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*
* TODO currently unused + unreachable.
*/
public function trigger(): JsonResponse
{
/** @var RecurringCronjob $recurring */
$recurring = app(RecurringCronjob::class);
try {
$result = $recurring->fire();
} catch (FireflyException $e) {
Log::error($e->getMessage());
throw new FireflyException('200022: Error in cron job.', 0, $e);
}
if (false === $result) {
return response()->json([], 204);
}
return response()->json();
}
}

View File

@@ -49,12 +49,8 @@ class UpdateController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $user */
$user = auth()->user();
/** @var RecurringRepositoryInterface repository */
$this->repository = app(RecurringRepositoryInterface::class);
$this->repository->setUser($user);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -66,6 +66,7 @@ class ShowController extends Controller
* List all of them.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -65,6 +65,7 @@ class ListController extends Controller
* @param RuleGroup $group
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function rules(RuleGroup $group): JsonResponse

View File

@@ -66,6 +66,7 @@ class ShowController extends Controller
* List all of them.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -37,6 +37,7 @@ use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
use League\Fractal\Pagination\IlluminatePaginatorAdapter;
use League\Fractal\Resource\Collection as FractalCollection;
use Exception;
/**
* Class TriggerController
@@ -76,7 +77,6 @@ class TriggerController extends Controller
*/
public function testGroup(TestRequest $request, RuleGroup $group): JsonResponse
{
/** @var Collection $rules */
$rules = $this->ruleGroupRepository->getActiveRules($group);
if (0 === $rules->count()) {
throw new FireflyException('200023: No rules in this rule group.');
@@ -131,7 +131,6 @@ class TriggerController extends Controller
*/
public function triggerGroup(TriggerRequest $request, RuleGroup $group): JsonResponse
{
/** @var Collection $rules */
$rules = $this->ruleGroupRepository->getActiveRules($group);
if (0 === $rules->count()) {
throw new FireflyException('200023: No rules in this rule group.');

View File

@@ -71,6 +71,7 @@ class ListController extends Controller
* @param Tag $tag
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function attachments(Tag $tag): JsonResponse
@@ -103,6 +104,7 @@ class ListController extends Controller
* @param Tag $tag
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, Tag $tag): JsonResponse

View File

@@ -66,6 +66,7 @@ class ShowController extends Controller
* List all of them.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -69,6 +69,7 @@ class ListController extends Controller
* @param TransactionGroup $transactionGroup
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function attachments(TransactionGroup $transactionGroup): JsonResponse
@@ -101,6 +102,7 @@ class ListController extends Controller
* @param TransactionGroup $transactionGroup
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function piggyBankEvents(TransactionGroup $transactionGroup): JsonResponse
@@ -136,6 +138,7 @@ class ListController extends Controller
* @param TransactionJournal $transactionJournal
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactionLinks(TransactionJournal $transactionJournal): JsonResponse

View File

@@ -50,6 +50,7 @@ class ShowController extends Controller
* @param Request $request
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(Request $request): JsonResponse

View File

@@ -94,16 +94,18 @@ class StoreController extends Controller
$validator = Validator::make(
['transactions' => [['description' => $e->getMessage()]]], ['transactions.0.description' => new IsDuplicateTransaction]
);
throw new ValidationException($validator);
throw new ValidationException($validator,0, $e);
} catch (FireflyException $e) {
Log::warning('Caught an exception. Return error message.');
Log::error($e->getMessage());
$message = sprintf('Internal exception: %s', $e->getMessage());
$validator = Validator::make(['transactions' => [['description' => $message]]], ['transactions.0.description' => new IsDuplicateTransaction]);
throw new ValidationException($validator);
throw new ValidationException($validator,0, $e);
}
app('preferences')->mark();
event(new StoredTransactionGroup($transactionGroup, $data['apply_rules'] ?? true));
$applyRules = $data['apply_rules'] ?? true;
$fireWebhooks = $data['fire_webhooks'] ?? true;
event(new StoredTransactionGroup($transactionGroup, $applyRules, $fireWebhooks));
$manager = $this->getManager();
/** @var User $admin */

View File

@@ -80,7 +80,9 @@ class UpdateController extends Controller
$manager = $this->getManager();
app('preferences')->mark();
event(new UpdatedTransactionGroup($transactionGroup, $data['apply_rules'] ?? true));
$applyRules = $data['apply_rules'] ?? true;
$fireWebhooks = $data['fire_webhooks'] ?? true;
event(new UpdatedTransactionGroup($transactionGroup, $applyRules, $fireWebhooks));
/** @var User $admin */
$admin = auth()->user();
@@ -96,7 +98,7 @@ class UpdateController extends Controller
$selectedGroup = $collector->getGroups()->first();
if (null === $selectedGroup) {
throw new NotFoundHttpException(); // @codeCoverageIgnore
throw new NotFoundHttpException();
}
/** @var TransactionGroupTransformer $transformer */
$transformer = app(TransactionGroupTransformer::class);

View File

@@ -50,13 +50,9 @@ class DestroyController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CurrencyRepositoryInterface repository */
$this->repository = app(CurrencyRepositoryInterface::class);
$this->userRepository = app(UserRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -79,13 +75,13 @@ class DestroyController extends Controller
if (!$this->userRepository->hasRole($admin, 'owner')) {
// access denied:
throw new FireflyException('200005: You need the "owner" role to do this.'); // @codeCoverageIgnore
throw new FireflyException('200005: You need the "owner" role to do this.');
}
if ($this->repository->currencyInUse($currency)) {
throw new FireflyException('200006: Currency in use.'); // @codeCoverageIgnore
throw new FireflyException('200006: Currency in use.');
}
if ($this->repository->isFallbackCurrency($currency)) {
throw new FireflyException('200026: Currency is fallback.'); // @codeCoverageIgnore
throw new FireflyException('200026: Currency is fallback.');
}
$this->repository->destroy($currency);

View File

@@ -77,13 +77,9 @@ class ListController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CurrencyRepositoryInterface repository */
$this->repository = app(CurrencyRepositoryInterface::class);
$this->userRepository = app(UserRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -97,6 +93,7 @@ class ListController extends Controller
* @param TransactionCurrency $currency
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function accounts(Request $request, TransactionCurrency $currency): JsonResponse
@@ -147,6 +144,7 @@ class ListController extends Controller
* @param TransactionCurrency $currency
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function availableBudgets(TransactionCurrency $currency): JsonResponse
@@ -182,6 +180,7 @@ class ListController extends Controller
* @param TransactionCurrency $currency
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function bills(TransactionCurrency $currency): JsonResponse
@@ -222,6 +221,7 @@ class ListController extends Controller
* @param TransactionCurrency $currency
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function budgetLimits(TransactionCurrency $currency): JsonResponse
@@ -253,6 +253,7 @@ class ListController extends Controller
* @param TransactionCurrency $currency
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function recurrences(TransactionCurrency $currency): JsonResponse
@@ -303,6 +304,7 @@ class ListController extends Controller
* @param TransactionCurrency $currency
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function rules(TransactionCurrency $currency): JsonResponse
@@ -354,6 +356,7 @@ class ListController extends Controller
* @param TransactionCurrency $currency
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, TransactionCurrency $currency): JsonResponse

View File

@@ -56,12 +56,8 @@ class ShowController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CurrencyRepositoryInterface repository */
$this->repository = app(CurrencyRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -72,6 +68,7 @@ class ShowController extends Controller
* Display a listing of the resource.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -56,13 +56,9 @@ class StoreController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CurrencyRepositoryInterface repository */
$this->repository = app(CurrencyRepositoryInterface::class);
$this->userRepository = app(UserRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -56,13 +56,9 @@ class UpdateController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var CurrencyRepositoryInterface repository */
$this->repository = app(CurrencyRepositoryInterface::class);
$this->userRepository = app(UserRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}

View File

@@ -68,6 +68,7 @@ class ShowController extends Controller
* @param Request $request
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(Request $request): JsonResponse

View File

@@ -78,8 +78,8 @@ class StoreController extends Controller
{
$manager = $this->getManager();
$data = $request->getAll();
$inward = $this->journalRepository->findNull($data['inward_id'] ?? 0);
$outward = $this->journalRepository->findNull($data['outward_id'] ?? 0);
$inward = $this->journalRepository->find($data['inward_id'] ?? 0);
$outward = $this->journalRepository->find($data['outward_id'] ?? 0);
if (null === $inward || null === $outward) {
throw new FireflyException('200024: Source or destination does not exist.');
}

View File

@@ -26,7 +26,6 @@ namespace FireflyIII\Api\V1\Controllers\Models\TransactionLink;
use FireflyIII\Api\V1\Controllers\Controller;
use FireflyIII\Api\V1\Requests\Models\TransactionLink\UpdateRequest;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Models\TransactionJournalLink;
use FireflyIII\Repositories\Journal\JournalRepositoryInterface;
use FireflyIII\Repositories\LinkType\LinkTypeRepositoryInterface;
@@ -71,9 +70,6 @@ class UpdateController extends Controller
* @param TransactionJournalLink $journalLink
*
* @return JsonResponse
* @throws FireflyException
*
* TODO generates query exception when link exists.
*/
public function update(UpdateRequest $request, TransactionJournalLink $journalLink): JsonResponse
{

View File

@@ -75,6 +75,7 @@ class ListController extends Controller
* @param LinkType $linkType
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function transactions(Request $request, LinkType $linkType): JsonResponse

View File

@@ -72,6 +72,7 @@ class ShowController extends Controller
* List all of them.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -80,7 +80,7 @@ class StoreController extends Controller
$admin = auth()->user();
if (!$this->userRepository->hasRole($admin, 'owner')) {
throw new FireflyException('200005: You need the "owner" role to do this.'); // @codeCoverageIgnore
throw new FireflyException('200005: You need the "owner" role to do this.');
}
$data = $request->getAll();
// if currency ID is 0, find the currency by the code:

View File

@@ -86,7 +86,7 @@ class UpdateController extends Controller
$admin = auth()->user();
if (!$this->userRepository->hasRole($admin, 'owner')) {
throw new FireflyException('200005: You need the "owner" role to do this.'); // @codeCoverageIgnore
throw new FireflyException('200005: You need the "owner" role to do this.');
}
$data = $request->getAll();

View File

@@ -42,6 +42,7 @@ class TransactionController extends Controller
* @param SearchInterface $searcher
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
*/
public function search(Request $request, SearchInterface $searcher): JsonResponse
{

View File

@@ -175,7 +175,7 @@ class BasicController extends Controller
// format amounts:
$keys = array_keys($sums);
foreach ($keys as $currencyId) {
$currency = $this->currencyRepos->findNull($currencyId);
$currency = $this->currencyRepos->find($currencyId);
if (null === $currency) {
continue;
}
@@ -239,7 +239,7 @@ class BasicController extends Controller
$return = [];
foreach ($paidAmount as $currencyId => $amount) {
$amount = bcmul($amount, '-1');
$currency = $this->currencyRepos->findNull((int)$currencyId);
$currency = $this->currencyRepos->find((int)$currencyId);
if (null === $currency) {
continue;
}
@@ -259,7 +259,7 @@ class BasicController extends Controller
foreach ($unpaidAmount as $currencyId => $amount) {
$amount = bcmul($amount, '-1');
$currency = $this->currencyRepos->findNull((int)$currencyId);
$currency = $this->currencyRepos->find((int)$currencyId);
if (null === $currency) {
continue;
}

View File

@@ -64,7 +64,7 @@ class ConfigurationController extends Controller
} catch (FireflyException $e) {
Log::error($e->getMessage());
Log::error($e->getTraceAsString());
throw new FireflyException('200030: Could not load config variables.');
throw new FireflyException('200030: Could not load config variables.', 0, $e);
}
$staticData = $this->getStaticConfiguration();
$return = [];
@@ -161,7 +161,7 @@ class ConfigurationController extends Controller
public function update(UpdateRequest $request, string $name): JsonResponse
{
if (!$this->repository->hasRole(auth()->user(), 'owner')) {
throw new FireflyException('200005: You need the "owner" role to do this.'); // @codeCoverageIgnore
throw new FireflyException('200005: You need the "owner" role to do this.');
}
$data = $request->getAll();
$shortName = str_replace('configuration.', '', $name);

View File

@@ -51,7 +51,6 @@ class CronController extends Controller
$return = [];
$return['recurring_transactions'] = $this->runRecurring($config['force'], $config['date']);
$return['auto_budgets'] = $this->runAutoBudget($config['force'], $config['date']);
$return['telemetry'] = $this->runTelemetry($config['force'], $config['date']);
return response()->json($return);
}

View File

@@ -54,7 +54,6 @@ class UserController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var UserRepositoryInterface repository */
$this->repository = app(UserRepositoryInterface::class);
return $next($request);
@@ -84,13 +83,14 @@ class UserController extends Controller
return response()->json([], 204);
}
throw new FireflyException('200025: No access to function.'); // @codeCoverageIgnore
throw new FireflyException('200025: No access to function.');
}
/**
* Display a listing of the resource.
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

View File

@@ -27,6 +27,7 @@ namespace FireflyIII\Api\V1\Controllers\User;
use FireflyIII\Api\V1\Controllers\Controller;
use FireflyIII\Api\V1\Requests\User\PreferenceStoreRequest;
use FireflyIII\Api\V1\Requests\User\PreferenceUpdateRequest;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Models\Preference;
use FireflyIII\Transformers\PreferenceTransformer;
use Illuminate\Http\JsonResponse;
@@ -47,12 +48,12 @@ class PreferencesController extends Controller
* List all of them.
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse
{
// TODO via repository.
$collection = auth()->user()->preferences()->get();
$collection = app('preferences')->all();
$manager = $this->getManager();
$count = $collection->count();
$pageSize = (int)app('preferences')->getForUser(auth()->user(), 'listPageSize', 50)->data;
@@ -115,8 +116,10 @@ class PreferencesController extends Controller
/**
* @param PreferenceUpdateRequest $request
* @param Preference $preference
*
* @return JsonResponse
* @throws FireflyException
*/
public function update(PreferenceUpdateRequest $request, Preference $preference): JsonResponse
{

View File

@@ -53,12 +53,8 @@ class AttemptController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var WebhookRepositoryInterface repository */
$this->repository = app(WebhookRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -66,9 +62,11 @@ class AttemptController extends Controller
}
/**
* @param Webhook $webhook
* @param Webhook $webhook
* @param WebhookMessage $message
*
* @return JsonResponse
* @throws FireflyException
*/
public function index(Webhook $webhook, WebhookMessage $message): JsonResponse
{

View File

@@ -48,12 +48,8 @@ class DestroyController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var WebhookRepositoryInterface repository */
$this->repository = app(WebhookRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -78,9 +74,12 @@ class DestroyController extends Controller
/**
* Remove the specified resource from storage.
*
* @param Webhook $webhook
* @param Webhook $webhook
* @param WebhookMessage $message
* @param WebhookAttempt $attempt
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function destroyAttempt(Webhook $webhook, WebhookMessage $message, WebhookAttempt $attempt): JsonResponse
@@ -101,9 +100,11 @@ class DestroyController extends Controller
/**
* Remove the specified resource from storage.
*
* @param Webhook $webhook
* @param Webhook $webhook
* @param WebhookMessage $message
*
* @return JsonResponse
* @throws FireflyException
* @codeCoverageIgnore
*/
public function destroyMessage(Webhook $webhook, WebhookMessage $message): JsonResponse

View File

@@ -49,12 +49,8 @@ class MessageController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var WebhookRepositoryInterface repository */
$this->repository = app(WebhookRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -65,6 +61,7 @@ class MessageController extends Controller
* @param Webhook $webhook
*
* @return JsonResponse
* @throws FireflyException
*/
public function index(Webhook $webhook): JsonResponse
{

View File

@@ -50,12 +50,8 @@ class ShowController extends Controller
parent::__construct();
$this->middleware(
function ($request, $next) {
/** @var User $admin */
$admin = auth()->user();
/** @var WebhookRepositoryInterface repository */
$this->repository = app(WebhookRepositoryInterface::class);
$this->repository->setUser($admin);
$this->repository->setUser(auth()->user());
return $next($request);
}
@@ -66,6 +62,7 @@ class ShowController extends Controller
* Display a listing of the webhooks of the user.
*
* @return JsonResponse
* @throws \FireflyIII\Exceptions\FireflyException
* @codeCoverageIgnore
*/
public function index(): JsonResponse

Some files were not shown because too many files have changed in this diff Show More