Commit graph

1210 commits

Author SHA1 Message Date
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
Glandos
e03338e6a8 fix tests, broken by #1096
Now the "danger" strings appears nearly everywhere, but the test looks for a flash message, thus "alert-danger"
2023-01-28 17:06:33 +01:00
Glandos
f90db8381d - factor confirm deletion between project and bill
- better look for bill deletion confirm, using an absolute positionning in the action cell
2023-01-28 17:06:33 +01:00
50d1bce3a5 [Doc] Include minimal steps to get started.
Thanks to @natim for the issue.
2023-01-08 16:00:16 +01:00
dependabot[bot]
1f965f59b6 Update flask-migrate requirement from <4,>=2.5.3 to >=2.5.3,<5
Updates the requirements on [flask-migrate](https://github.com/miguelgrinberg/flask-migrate) to permit the latest version.
- [Release notes](https://github.com/miguelgrinberg/flask-migrate/releases)
- [Changelog](https://github.com/miguelgrinberg/Flask-Migrate/blob/main/CHANGES.md)
- [Commits](https://github.com/miguelgrinberg/flask-migrate/compare/v2.5.3...v4.0.0)

---
updated-dependencies:
- dependency-name: flask-migrate
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-08 15:48:00 +01:00
cbrosnan
4bef5ad922
added confirmation for expense deletion (#1096) 2022-12-11 21:19:31 +01:00
7714ed9198
Favicon update. (#1102)
Original work by @asya99 in #1024. Thanks for this :-)
2022-12-11 12:44:47 +01:00
Glandos
9a8cc16a0b unused import 2022-12-10 18:22:41 +01:00
Glandos
9ccfc2981d side-effect: add autofocus on admin field 2022-12-10 18:22:41 +01:00
Glandos
19f5f07bfb don't display content block on rate limit 2022-12-10 18:22:41 +01:00
Glandos
75ed637911 short date, clearer output 2022-12-10 18:22:41 +01:00
Glandos
4d7e966f7f fix tests 2022-12-10 18:22:41 +01:00
Glandos
d834394a44 ensure current_limit exist before displaying any message based on it 2022-12-10 18:22:41 +01:00
Glandos
63fba6be4c force in memory storage to remove warning
we don't need persistent storage for now
2022-12-10 18:22:41 +01:00
Glandos
e7ab3c1a95 Implement rate limiting with Flask-Limiter
Fixes #1054
2022-12-10 18:22:41 +01:00
Glandos
d8b6355101
Update Python (#1083)
* drop python3.6

* update github python actions and use pip cache

* we use setup.cfg not requirements.txt

* add python 3.11. Still in RC for now

* use latest 3.11 version

* 3.11 is strill RC for now

* go back to include key that match original py version

this shouldn't fail

* upgrade psycopg2 for python 3.11

Upgrade for all, it's a minor version

* update documentation for python 3.11 support

* update version

* 3.11 is out

Right on time!
2022-11-08 00:10:21 +01:00
dependabot[bot]
294042e812 Bump sphinx from 5.2.3 to 5.3.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.2.3...v5.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-23 11:58:33 +02:00
Glandos
24614b2c1d format doc 2022-10-22 23:02:27 +02:00
Glandos
d97123bf6b reformat 2022-10-22 23:02:27 +02:00
Glandos
dc40c8fc14 use a dict for project list
this avoid finding duplicates, and we only need id -> name

also, use a common function to avoid duplicate code

fix #1081
2022-10-22 23:02:27 +02:00
Glandos
cc18986b76 add test for multiple join 2022-10-22 23:02:27 +02:00
Saroj Regmi
2fcea313cd
Added the contributor images using contrib.rocks (#1072)
* Updated the readme 

Added the contributer image and the link to their profile using contrib.rocks to give them some more respect.

* Changed according to the requirements.

 typo fixed,tool name removed and converted to markdown

* Fix : grammer typo.

Changed the "C" to "c" of the "Contributors".
2022-10-16 23:23:56 +02:00
dependabot[bot]
418716ee60 Bump docutils from 0.17.1 to 0.19
Bumps [docutils](https://docutils.sourceforge.io/) from 0.17.1 to 0.19.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-09 22:22:39 +02:00
Sharan J
a352214033 Translated using Weblate (Telugu)
Currently translated at 28.3% (75 of 265 strings)

Added translation using Weblate (Telugu)

Co-authored-by: Sharan J <sharanjs1999@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/te/
Translation: I Hate Money/I Hate Money
2022-10-09 22:20:32 +02:00
dependabot[bot]
86f99db7cc Bump sphinx from 5.2.2 to 5.2.3
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.2.2...v5.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 22:50:29 +02:00
dependabot[bot]
7e1ab0bd04 Bump sphinx from 5.2.1 to 5.2.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.2.1...v5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 22:30:41 +02:00
Andrzej Ochodek
ac2c9ffb73 Translated using Weblate (Polish)
Currently translated at 100.0% (265 of 265 strings)

Co-authored-by: Andrzej Ochodek <andrzej.ochodek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pl/
Translation: I Hate Money/I Hate Money
2022-09-30 22:30:10 +02:00
Dmytro Onopa
f63611212f Translated using Weblate (Ukrainian)
Currently translated at 24.1% (64 of 265 strings)

Co-authored-by: Dmytro Onopa <dmytro.onopa@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/uk/
Translation: I Hate Money/I Hate Money
2022-09-30 22:30:10 +02:00
dependabot[bot]
9aba6cc55c Bump sphinx from 5.1.1 to 5.2.1
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.1.1...v5.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 12:34:42 +02:00
Maite Guix
26b9262ce1 Translated using Weblate (Catalan)
Currently translated at 100.0% (265 of 265 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (265 of 265 strings)

Co-authored-by: Maite Guix <maite.guix@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ca/
Translation: I Hate Money/I Hate Money
2022-09-12 22:52:58 +02:00
Maite Guix
39bf774941 Translated using Weblate (Catalan)
Currently translated at 100.0% (265 of 265 strings)

Translated using Weblate (Catalan)

Currently translated at 74.3% (197 of 265 strings)

Translated using Weblate (Catalan)

Currently translated at 69.8% (185 of 265 strings)

Added translation using Weblate (Catalan)

Co-authored-by: Maite Guix <maite.guix@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ca/
Translation: I Hate Money/I Hate Money
2022-09-09 23:09:14 +02:00
Glandos
f98b126e58 Captcha value should be case insensitive on both side (form and l10n values)
Fixes #1060
2022-09-09 22:44:27 +02:00