kresus merge requestshttps://framagit.org/kresusapp/kresus/-/merge_requests2024-01-15T10:01:30Zhttps://framagit.org/kresusapp/kresus/-/merge_requests/1579feat: show that an access is disabled with a "stop" icon2024-01-15T10:01:30ZBenjamin Bouvierfeat: show that an access is disabled with a "stop" iconInactive accounts are marked with a "stop" button, instead of italics (which weren't self-explanatory). I wonder if we could use a "pause" icon to indicate that sync is paused because there was an error previously, and a "play" account t...Inactive accounts are marked with a "stop" button, instead of italics (which weren't self-explanatory). I wonder if we could use a "pause" icon to indicate that sync is paused because there was an error previously, and a "play" account to mean it's an active account which sync is working well.
![image](/uploads/d75f2629f78db14764602f23414f3510/image.png)https://framagit.org/kresusapp/kresus/-/merge_requests/1578[client] Update Yomoni's icon2023-08-09T10:15:48ZNicolas Frandeboeufmail@nicofrand.eu[client] Update Yomoni's iconhttps://framagit.org/kresusapp/kresus/-/merge_requests/1577WIP: Handle budgets by account/user (fix #1121)2023-08-09T13:03:19ZNicolas Frandeboeufmail@nicofrand.euWIP: Handle budgets by account/user (fix #1121)There is an error on startup with new instances with migrations which run before the migrations that creates the `accountId` column:
```
[5] [2023-08-08T11:52:52.152] [INFO] models/data-migrations - Running data migration on banks (2020...There is an error on startup with new instances with migrations which run before the migrations that creates the `accountId` column:
```
[5] [2023-08-08T11:52:52.152] [INFO] models/data-migrations - Running data migration on banks (2020-04-14)
[5] [2023-08-08T11:52:52.159] [INFO] models/data-migrations - Finished running data migration on banks (2020-04-14)
[5] [2023-08-08T11:52:52.163] [INFO] models/data-migrations - Running data migration: remove unused migrated-from-cozydb
[5] [2023-08-08T11:52:52.167] [INFO] models/data-migrations - Finished data migration: remove unused migrated-from-cozydb
[5] [2023-08-08T11:52:52.184] [ERROR] init - Error at initialization:
[5] Message: SQLITE_ERROR: no such column: Budget.accountId
[5] QueryFailedError: SQLITE_ERROR: no such column: Budget.accountId
[5] at handler (/workspace/kresus/node_modules/typeorm/driver/sqlite/SqliteQueryRunner.js:81:26)
[5] at replacement (/workspace/kresus/node_modules/sqlite3/lib/trace.js:25:27)
[5] at Statement.errBack (/workspace/kresus/node_modules/sqlite3/lib/sqlite3.js:15:21)
```
@bnjbvr Do you remember how we usually deal with this? Also, maybe we could get rid of some migrations by now?https://framagit.org/kresusapp/kresus/-/merge_requests/1576Add shortcut to recurring transactions in lateral menu (fix #1221)2023-08-09T14:27:09ZNicolas Frandeboeufmail@nicofrand.euAdd shortcut to recurring transactions in lateral menu (fix #1221)![image](/uploads/10b2299bc3e8698d1112bfbeea58f5a3/image.png)![image](/uploads/10b2299bc3e8698d1112bfbeea58f5a3/image.png)Nicolas Frandeboeufmail@nicofrand.euNicolas Frandeboeufmail@nicofrand.euhttps://framagit.org/kresusapp/kresus/-/merge_requests/1574Improve onboarding by splitting manual bank from others2023-08-09T13:08:24ZNicolas Frandeboeufmail@nicofrand.euImprove onboarding by splitting manual bank from othersAfter clicking on "First install?"
![image](/uploads/fb74c677e70922b8f74eabfb4cf9c71f/image.png)
![image](/uploads/2f19eb4e09c258f1d23026d53c079722/image.png)After clicking on "First install?"
![image](/uploads/fb74c677e70922b8f74eabfb4cf9c71f/image.png)
![image](/uploads/2f19eb4e09c258f1d23026d53c079722/image.png)https://framagit.org/kresusapp/kresus/-/merge_requests/1573Fix #12082023-07-16T22:09:58ZNicolas Frandeboeufmail@nicofrand.euFix #1208Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1572Release.md: specify how to push both latest & tag on docker2023-07-11T06:58:09ZNicolas Frandeboeufmail@nicofrand.euRelease.md: specify how to push both latest & tag on dockerBenjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1571[client] Fix a minimum width for the amount cell2023-07-11T07:36:28ZNicolas Frandeboeufmail@nicofrand.eu[client] Fix a minimum width for the amount cellThere is a current behaviour on mobile that annoys me: when there are long transactions names when we scroll the width - and thus the text, which is truncated - of the name's cell varies if the amount's cell is bigger (ex: 30 transaction...There is a current behaviour on mobile that annoys me: when there are long transactions names when we scroll the width - and thus the text, which is truncated - of the name's cell varies if the amount's cell is bigger (ex: 30 transactions between 0.00 and 10.00 and only sometimes one transaction with 1000.00).
This fixes a minimum of 12 chars width for the amount cell.
Kind of tricky to show on a screenshot (due to scrolling) with the demo (short names etc), I hope this will be ok.Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1570Bump to version 0.19.4 (npm package fix only)2023-07-05T06:40:39ZNicolas Frandeboeufmail@nicofrand.euBump to version 0.19.4 (npm package fix only)First step before checking out `builds`, cherry-picking this commit and re-run `yarn release`.First step before checking out `builds`, cherry-picking this commit and re-run `yarn release`.Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1569[woob] Return BrowserIncorrectPassword error message along with INVALID_PASSW...2023-07-06T07:30:34ZNicolas Frandeboeufmail@nicofrand.eu[woob] Return BrowserIncorrectPassword error message along with INVALID_PASSWORD codeSome modules return a `BrowserIncorrectPassword` error for more than just invalid passwords: invalid 2FA, expired 2FA response, etc.
This will help debug things like https://framagit.org/kresusapp/kresus/-/issues/1215Some modules return a `BrowserIncorrectPassword` error for more than just invalid passwords: invalid 2FA, expired 2FA response, etc.
This will help debug things like https://framagit.org/kresusapp/kresus/-/issues/1215Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1568fix: use correct route for update/delete operations on transactions2023-06-26T21:21:37ZBenjamin Bouvierfix: use correct route for update/delete operations on transactionsBefore the renaming, it was in plural too, and the rest of the code uses the plural form in this case.Before the renaming, it was in plural too, and the rest of the code uses the plural form in this case.https://framagit.org/kresusapp/kresus/-/merge_requests/1567fix: use correct route for update/delete operation on transactions2023-06-26T21:18:58ZBenjamin Bouvierfix: use correct route for update/delete operation on transactionsBefore the renaming, it was in plural too, and the rest of the code uses the plural form in this case.Before the renaming, it was in plural too, and the rest of the code uses the plural form in this case.https://framagit.org/kresusapp/kresus/-/merge_requests/1566Rename operation to transaction2023-06-24T13:00:19ZBenjamin BouvierRename operation to transactionMostly search-and-replace, with lots of manual actions.
Small note: this is a breaking API change, because it changes the format of the APIs endpoints, and data sent and returned from those endpoints.Mostly search-and-replace, with lots of manual actions.
Small note: this is a breaking API change, because it changes the format of the APIs endpoints, and data sent and returned from those endpoints.https://framagit.org/kresusapp/kresus/-/merge_requests/1565Add `--break-system-packages` to install python packages in Docker images in...2023-06-22T07:39:35ZNicolas Frandeboeufmail@nicofrand.euAdd `--break-system-packages` to install python packages in Docker images in entrypoint tooBenjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1564Add `--break-system-packages` to install python packages in Docker images2023-06-21T15:21:04ZBenjamin BouvierAdd `--break-system-packages` to install python packages in Docker imagesThis prevents building the docker image. In our case we don't really care about installing globally, and the alternative (using a venv) would be much more pain (we've done that in the past and it brought up other complicated issues).This prevents building the docker image. In our case we don't really care about installing globally, and the alternative (using a venv) would be much more pain (we've done that in the past and it brought up other complicated issues).https://framagit.org/kresusapp/kresus/-/merge_requests/1563Change license to AGPLv3 or later2023-06-21T14:47:32ZBenjamin BouvierChange license to AGPLv3 or laterAs discussed in chat, this will make sure that any changes to the server will be upstreamed back, which is important if we want to create a software common. It's always been my intent, but only recently I've realized that it wasn't the c...As discussed in chat, this will make sure that any changes to the server will be upstreamed back, which is important if we want to create a software common. It's always been my intent, but only recently I've realized that it wasn't the case with the MIT license. This MR fixes that.
We do not need to get in touch with every contributor, since the MIT license is "compatible" with the AGPLv3. This means that all the changes up to the commit of this merge request can still be used under the MIT license, and any commit after (including) this one are all under the AGPLv3 license.https://framagit.org/kresusapp/kresus/-/merge_requests/1562Obfuscate emails in client logs (fix #1211)2023-04-28T15:46:58ZNicolas Frandeboeufmail@nicofrand.euObfuscate emails in client logs (fix #1211)Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1561Update yarn.lock following previous typeorm upgrade2023-04-27T09:34:31ZNicolas Frandeboeufmail@nicofrand.euUpdate yarn.lock following previous typeorm upgrade@bnjbvr As far as I can tell this was missing, right?@bnjbvr As far as I can tell this was missing, right?Benjamin BouvierBenjamin Bouvierhttps://framagit.org/kresusapp/kresus/-/merge_requests/1560Upgrade typeorm to 3.122023-04-26T21:02:31ZsinopsysHKUpgrade typeorm to 3.12Adapt to new interface of typeormi (breaking changes), removing deprecated objects/methods call
Fix migrations issues which could lead to data loss when some table structures are changed using sqlite.
Fixes #1164.Adapt to new interface of typeormi (breaking changes), removing deprecated objects/methods call
Fix migrations issues which could lead to data loss when some table structures are changed using sqlite.
Fixes #1164.Nicolas Frandeboeufmail@nicofrand.euNicolas Frandeboeufmail@nicofrand.euhttps://framagit.org/kresusapp/kresus/-/merge_requests/1559Bump to version 0.19.32023-04-17T18:28:08ZNicolas Frandeboeufmail@nicofrand.euBump to version 0.19.3