Commit graph

1380 commits

Author SHA1 Message Date
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
Emilie Zhou
723d729b9a
Merge pull request #7 from FlowingCloudRTL/yiqun-settle-test
test cases fixed
2022-12-12 20:59:29 -05:00
MelodyZhangYiqun
d9c75dbe6f
Merge pull request #8 from FlowingCloudRTL/bchen-new-bill-type-tests
Added tests for new bill types
2022-12-12 20:58:20 -05:00
Brandan Chen
a113bc0c8b fixed reimbursement test case 2022-12-12 20:55:20 -05:00
MelodyZhangYiqun
2c562abd5b test cases fixed 2022-12-12 20:52:46 -05:00
Brandan Chen
29e35c32fc tests for different bill types 2022-12-12 20:41:46 -05:00
Brandan Chen
938d26776b bchen-reimbursement 2022-12-12 20:15:20 -05:00
Brandan Chen
40fc02bb6b bchen-reimbursement 2022-12-12 20:14:37 -05:00
Ruitao Li
e22b2d879a
Merge pull request #6 from FlowingCloudRTL/yiqun-settle-test
test cases added
2022-12-12 20:06:22 -05:00
MelodyZhangYiqun
1353004647 test cases added 2022-12-12 20:02:33 -05:00
Ruitao Li
5fc8b822a1
Merge pull request #5 from FlowingCloudRTL/yiqunz-settle-button
Yiqunz settle button
2022-12-12 19:24:17 -05:00
MelodyZhangYiqun
bc6a1a9bba new changes 2022-12-12 19:22:30 -05:00
MelodyZhangYiqun
7ea7447db3 settle button added 2022-12-12 19:11:39 -05:00
MelodyZhangYiqun
9d4873ed6e Merge branch 'master' of github.com:FlowingCloudRTL/ihatemoney 2022-12-12 19:05:26 -05:00
MelodyZhangYiqun
536a2e08dc button added 2022-12-12 19:04:48 -05:00
Ruitao Li
eabc533f01
Merge pull request #4 from FlowingCloudRTL/rui-dev
typo fixed, test cases fixed for the current bill types
2022-12-12 19:03:16 -05:00
Ruitao Li
8c3c993845 typo fixed, test cases fixed for the current bill types 2022-12-12 19:02:45 -05:00
Ruitao Li
e13f9152e5
Merge pull request #3 from FlowingCloudRTL/rui-dev
eliminating unnecessary bill type
2022-12-12 16:32:55 -05:00
Ruitao Li
f8d85d52fc eliminating unnecessary bill type 2022-12-12 16:32:12 -05:00
MelodyZhangYiqun
7584360363
Merge pull request #1 from FlowingCloudRTL/rui-dev
bill attribute added
2022-12-11 21:58:19 -05:00
Ruitao Li
4a84ca6d04 import and export bill feature updated with bill type, tests modified to reflect the behavior 2022-12-11 21:12:57 -05: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
Ruitao Li
48d50f7249 Bill types added in Bill and Project Model, Implemented in BillForm 2022-12-10 22:14:46 -05: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