dependabot[bot]
1d861605d4
Bump vermin from 1.5.1 to 1.5.2
...
Bumps [vermin](https://github.com/netromdk/vermin ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/netromdk/vermin/releases )
- [Commits](https://github.com/netromdk/vermin/compare/v1.5.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: vermin
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 09:33:49 +02:00
dependabot[bot]
e11f04c29a
Bump docutils from 0.19 to 0.20.1
...
Bumps [docutils](https://docutils.sourceforge.io/ ) from 0.19 to 0.20.1.
---
updated-dependencies:
- dependency-name: docutils
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 11:00:57 +02:00
Glandos
59ec85205b
Update sphinx
...
This is needed for docutils 0.20
2023-06-16 10:32:01 +02:00
Glandos
d67097ce7f
Bump minimal requests
...
It's required by Sphinx. Technically, we could have two different requirements in main and doc, but the minimal version is so old that it doesn't really matter.
2023-06-15 23:02:44 +02:00
Glandos
3003572d5f
Also update Sphinx in one shot
2023-06-15 23:02:44 +02:00
Glandos
42512ce907
Update myst dependency
2023-06-15 23:02:44 +02:00
dependabot[bot]
7a09098124
Update email-validator requirement from <2,>=1.0 to >=1.0,<3
...
Updates the requirements on [email-validator](https://github.com/JoshData/python-email-validator ) to permit the latest version.
- [Release notes](https://github.com/JoshData/python-email-validator/releases )
- [Changelog](https://github.com/JoshData/python-email-validator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/JoshData/python-email-validator/commits )
---
updated-dependencies:
- dependency-name: email-validator
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 15:57:46 +02:00
dependabot[bot]
25c1fcc48a
Bump black from 23.1.0 to 23.3.0
...
Bumps [black](https://github.com/psf/black ) from 23.1.0 to 23.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.1.0...23.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 15:48:15 +02:00
Egor Dubenetskiy
e00cd8ad1c
Translated using Weblate (Russian)
...
Currently translated at 100.0% (255 of 255 strings)
Co-authored-by: Egor Dubenetskiy <egor@banka.space>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
Translation: I Hate Money/I Hate Money
2023-05-19 15:47:55 +02:00
MurkBRA
9f8eb0af8b
Translated using Weblate (Portuguese)
...
Currently translated at 99.6% (254 of 255 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.4% (251 of 255 strings)
Co-authored-by: MurkBRA <anjo1077@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt_BR/
Translation: I Hate Money/I Hate Money
2023-05-19 15:47:55 +02:00
Gergely Kocsis
f009533e82
Translated using Weblate (Hungarian)
...
Currently translated at 27.8% (71 of 255 strings)
Co-authored-by: Gergely Kocsis <koger23@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/hu/
Translation: I Hate Money/I Hate Money
2023-05-19 15:47:55 +02:00
Sai Mohammad-Hossein Emami
6222486301
Translated using Weblate (Persian)
...
Currently translated at 20.3% (52 of 255 strings)
Co-authored-by: Sai Mohammad-Hossein Emami <emami@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fa/
Translation: I Hate Money/I Hate Money
2023-05-19 15:47:55 +02:00
Glandos
565bc81f7f
FLASK_ENV has been deprecated in Flask 2.2
2023-02-18 16:34:24 +01:00
Glandos
6a501aced3
Update to Flask 2.2
2023-02-18 16:34:24 +01:00
Glandos
e979945631
use latest werkzeug, now that we already dropped older python
2023-02-18 16:16:26 +01:00
Lod
26dce717b2
Fix typo on build worflow
2023-02-18 15:57:17 +01:00
Kristoffer Grundström
3666c248f2
Translated using Weblate (Swedish)
...
Currently translated at 94.5% (241 of 255 strings)
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/sv/
Translation: I Hate Money/I Hate Money
2023-02-18 15:53:43 +01:00
Glandos
172f9e16f2
try to use sqlalchemy 1.4 to see if tests are ok with monkeypatching
2023-02-18 15:47:08 +01:00
Glandos
d5bc85cfb6
workaround for https://github.com/kvesteri/sqlalchemy-continuum/issues/264
2023-02-18 15:47:08 +01:00
Glandos
8274a00274
Update CHANGELOG.md
2023-02-18 11:30:28 +01:00
Lod
78e50c21c2
[CI] Build mutli-architecture docker image
2023-02-18 11:29:07 +01:00
Glandos
d127b743bb
Update to Flask 2.1
2023-02-05 23:18:46 +01:00
Baptiste Jonglez
b27e9915a7
Fix spanish translation messing with string interpolation
2023-02-03 20:35:37 +01:00
Baptiste Jonglez
ade03b77f1
Update translation catalog
2023-02-03 20:35:37 +01:00
Baptiste Jonglez
e241104815
Remove useless translation
2023-02-03 20:35:37 +01:00
Baptiste Jonglez
72f252b9f9
Remove f-string based translations
...
F-strings are a bad idea for translations, because they cause Babel to
crash when collecting strings to translate:
https://github.com/python-babel/babel/issues/715
But even if we replaced f-strings with new-style string interpolation such
as `_("{foo}").format(foo=foo)`, it's still a bad idea, because a wrong
translation can crash Ihatemoney at runtime with a KeyError.
Instead, we must really use old-style python formatting since they are
well supported in Babel. Wrong translations that mess with string
interpolations will cause Babel to give an error when compiling
translation files, which is exactly what we want.
2023-02-03 20:35:37 +01:00
Baptiste Jonglez
081f8dcf49
Allow bills with an amount of zero
...
Bills with an amount of zero may be useful to remember that a transaction
happened on a specific date, while the amount doesn't matter.
I use that with per-year projects when a reimbursement happens in year N
but is relative to year N-1: I record it with an amount of zero in the
project of year N, and with the real amount in the project of year N-1.
Besides, it's already possible to create such bills: while "0" is refused,
"0.0" is accepted. There are no visible issues with this kind of bills.
2023-02-03 20:35:15 +01:00
Baptiste Jonglez
35013eff22
Fix Docker test in CI
2023-02-03 20:18:05 +01:00
dependabot[bot]
08fe75c32e
Bump black from 22.12.0 to 23.1.0
...
Bumps [black](https://github.com/psf/black ) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 13:27:56 +01:00
Baptiste Jonglez
e185a157fb
tests: Avoid plain "assert" and use unittest helper functions
2023-01-31 18:36:30 +01:00
Baptiste Jonglez
2d5240d3d6
Use fixed version of important dev tools to avoid failing CI
...
Also use the "black" profile for isort.
2023-01-31 17:58:16 +01:00
Baptiste Jonglez
f933776fdc
CI: move vermin check to tox config
2023-01-31 17:58:16 +01:00
Baptiste Jonglez
56ace2946e
CI: Run lint and docs on Python 3.11
2023-01-31 17:58:16 +01:00
Glandos
45035f2ea3
Translated using Weblate (French)
...
Currently translated at 100.0% (265 of 265 strings)
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
Translation: I Hate Money/I Hate Money
2023-01-30 23:45:10 +01:00
Glandos
2e07c369f2
black format
2023-01-30 23:39:15 +01:00
Glandos
0039fdaf77
add compatibility for flask-babel 2 and 3
2023-01-30 23:39:15 +01:00
Glandos
113e010dc5
update locale selector definition
2023-01-30 23:39:15 +01:00
dependabot[bot]
b03966f2c4
Update flask-babel requirement from <3,>=1.0 to >=1.0,<4
...
Updates the requirements on [flask-babel](https://github.com/python-babel/flask-babel ) to permit the latest version.
- [Release notes](https://github.com/python-babel/flask-babel/releases )
- [Changelog](https://github.com/python-babel/flask-babel/blob/master/CHANGELOG )
- [Commits](https://github.com/python-babel/flask-babel/compare/v1.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: flask-babel
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 23:39:15 +01:00
Glandos
d477b41d9a
add test case
2023-01-29 23:03:14 +01:00
Glandos
3a984ee206
fix test after code reformatting
2023-01-29 23:03:14 +01:00
43289b8dd2
Fix project deletion in the dashboard. Fixes #1094
...
This was broken due to changes introduced to make project deletion more
secure. Rather than doing some complicated if branches, I decided this
dashboard stuff is probably better handled with separate routes instead.
So I've reintroduced a way to delete the projects without specifying the
project code (otherwise it's not possible for admins to do it).
2023-01-29 23:03:14 +01:00
ANN_MLP
97a0aea2ba
Translated using Weblate (Hungarian)
...
Currently translated at 16.2% (43 of 265 strings)
Co-authored-by: ANN_MLP <ANN_MLP@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/hu/
Translation: I Hate Money/I Hate Money
2023-01-28 22:25:26 +01:00
itgergo
983053b1fb
Added translation using Weblate (Hungarian)
...
Co-authored-by: itgergo <itgergo@pm.me>
2023-01-28 22:25:26 +01:00
ssantos
3b6a748336
Translated using Weblate (Portuguese)
...
Currently translated at 99.2% (263 of 265 strings)
Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/
Translation: I Hate Money/I Hate Money
2023-01-28 22:25:26 +01:00
Raanan Katz
ab6806f2d9
Translated using Weblate (Hebrew)
...
Currently translated at 49.0% (130 of 265 strings)
Co-authored-by: Raanan Katz <raakatz97@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/he/
Translation: I Hate Money/I Hate Money
2023-01-28 22:25:26 +01:00
Moshi Moshi
d39d942b50
Translated using Weblate (Czech)
...
Currently translated at 21.5% (57 of 265 strings)
Co-authored-by: Moshi Moshi <ifeeltiredboss@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/cs/
Translation: I Hate Money/I Hate Money
2023-01-28 22:25:26 +01:00
Oğuz Ersen
7ee3086e62
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (265 of 265 strings)
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
Translation: I Hate Money/I Hate Money
2023-01-28 22:25:26 +01:00
Phạm Nguyễn Hoàng
0bf79441ad
Added translation using Weblate (Vietnamese)
...
Co-authored-by: Phạm Nguyễn Hoàng <pnhoang96@gmail.com>
2023-01-28 22:25:26 +01:00
Sabtag3
933b9b7fba
Translated using Weblate (Spanish)
...
Currently translated at 50.9% (135 of 265 strings)
Translated using Weblate (Spanish)
Currently translated at 49.4% (131 of 265 strings)
Co-authored-by: Sabtag3 <dioni1984@yahoo.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es/
Translation: I Hate Money/I Hate Money
2023-01-28 22:25:26 +01:00
Glandos
923a7c41c1
black formatting, since last black changed
2023-01-28 17:06:33 +01:00