9bbb91f104
Merge 4e2090b763
into cf77b4c346
2024-11-16 11:55:10 +01:00
MediMilk
cf77b4c346
Corrected typo Administation > Administration ( #1332 )
...
Check doc / test_doc (push) Has been cancelled
Docker build / test (push) Has been cancelled
Lint & unit tests / lint (push) Has been cancelled
Docker build / build_upload (push) Has been cancelled
Lint & unit tests / test (mariadb, minimal, 3.11) (push) Has been cancelled
Lint & unit tests / test (mariadb, normal, 3.11) (push) Has been cancelled
Lint & unit tests / test (mariadb, normal, 3.9) (push) Has been cancelled
Lint & unit tests / test (postgresql, minimal, 3.11) (push) Has been cancelled
Lint & unit tests / test (postgresql, normal, 3.11) (push) Has been cancelled
Lint & unit tests / test (postgresql, normal, 3.9) (push) Has been cancelled
Lint & unit tests / test (sqlite, minimal, 3.10) (push) Has been cancelled
Lint & unit tests / test (sqlite, minimal, 3.11) (push) Has been cancelled
Lint & unit tests / test (sqlite, minimal, 3.12) (push) Has been cancelled
Lint & unit tests / test (sqlite, minimal, 3.7) (push) Has been cancelled
Lint & unit tests / test (sqlite, minimal, 3.9) (push) Has been cancelled
Lint & unit tests / test (sqlite, normal, 3.10) (push) Has been cancelled
Lint & unit tests / test (sqlite, normal, 3.11) (push) Has been cancelled
Lint & unit tests / test (sqlite, normal, 3.12) (push) Has been cancelled
Lint & unit tests / test (sqlite, normal, 3.7) (push) Has been cancelled
Lint & unit tests / test (sqlite, normal, 3.8) (push) Has been cancelled
Lint & unit tests / test (sqlite, normal, 3.9) (push) Has been cancelled
Co-authored-by: MediMilk <chadricksoup@gmail.com>
2024-11-16 11:55:04 +01:00
4e2090b763
Update pyproject.toml
...
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2024-09-30 14:24:28 +02:00
a65be371d1
Update pyproject.toml
...
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2024-09-30 14:24:17 +02:00
895e6f6e9d
FIXUP: Do not sed-replace requires-python
2024-09-30 00:15:44 +02:00
3a1720009f
FIXUP: Change the name of the CI on GHA
2024-09-30 00:11:21 +02:00
21ba7773e6
FIXUP: Add extra deps database when running the tests
2024-09-30 00:09:43 +02:00
fd22912007
FIXUP: Add pytest-libfaketime to the deps
2024-09-30 00:06:25 +02:00
ef246bb5b6
FIXUP: install python via uv
2024-09-30 00:03:02 +02:00
0f8011ad6c
FIXUP: remove check-doc from the CI, it's part of the main workflow
2024-09-29 23:57:51 +02:00
22198e889e
FIXUP: update CI
2024-09-29 23:55:52 +02:00
1d5c73d86b
Upgrade tooling on the project.
...
- Replace black by ruff, as it's quicker ;
- Use `uv` wherever possible as a replacement for pip, as it's way faster to run, add an `uv.lock` file which will be synced before the releases and published here ;
- Remove tox, it's too complex for this project and can easily be replaced by `uv` ;
- Apply `ruff` formatting ;
- Update the makefile accordingly ;
- Update the CI accordingly
2024-09-29 23:47:48 +02:00
adan-ea
6582e2c0c3
docs: add info about salted password hash
2024-09-20 11:58:50 +02:00
adan-ea
6e0a3689b8
doc: add info about docker compose
...
Should clarify and help close #1321
Issue also found in #1169 and #334 where i found my solution
2024-09-20 11:58:50 +02:00
Weblate (bot)
710aee9711
Translations update from Hosted Weblate ( #1312 )
...
Co-authored-by: Harshini K <harshinikondepudi@gmail.com>
Co-authored-by: Yamin Siahmargooei <yamin8000@yahoo.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Khang Tran <tranchikhang@outlook.com>
Co-authored-by: NtWriteCode <github@gyorffi.hu>
Co-authored-by: szabi <szabikun1@gmail.com>
2024-07-08 19:56:00 +02:00
Weblate (bot)
eb6e156c32
Translations update from Hosted Weblate ( #1311 )
...
Co-authored-by: Gesiane Pajarinen <gesianef@hotmail.com>
2024-05-10 12:12:22 +02:00
Baptiste Jonglez
9ef46e2c5d
Add a success message when adding an automatic settlement bill
2024-04-27 17:54:13 +02:00
4e7496e49d
docs: fix broken links
2024-04-23 20:08:59 +02:00
e5dfbf2f37
doc: current status of the project
...
Update the README and docs with the current status of the project
regarding its maintenance and current direction.
2024-04-23 19:49:58 +02:00
Éloi Rivard
3ac1bb8afe
tests: cache the jinja bytecode between unit tests
...
The jinja templates are compiled once per test session instead of once
per test, using jinja cache system and a pytest fixture.
https://jinja.palletsprojects.com/en/3.1.x/api/#jinja2.FileSystemBytecodeCache
2024-04-16 23:11:42 +02:00
Tom Roussel
a5f83de5ce
Chore: ran black
2024-03-31 19:21:56 +02:00
Tom Roussel
050de4e8f6
Removed unnecessary FIXME
...
This fixme was not actually valid. I think it was mistakenly copied from
web.edit_bill
2024-03-31 19:21:56 +02:00
Tom Roussel
f9a96b0e0d
Removed fromage erasure
2024-03-31 19:21:56 +02:00
Tom Roussel
a74cd97286
Removed reference to transfer billtype in test
2024-03-31 19:21:56 +02:00
Tom Roussel
a3009126dc
Removed test for removed transfer billtype
2024-03-31 19:21:56 +02:00
Baptiste Jonglez
eef67cf84c
Remove dead settlement code (we switched to an external lib long ago)
2024-03-29 15:06:11 +01:00
Timo Riski
a3d4e4250d
fix: 'Bill Type: Invalid Choice: could not coerce' error
...
Error introduced in #1290 . Fixes #1293 . WTForms needs to be bumped to >=2.3.2
as it includes a fix to `SelectField` which is required for this change to work.
See:
- https://wtforms.readthedocs.io/en/3.1.x/changes/#version-2-3-2
- https://github.com/wtforms/wtforms/pull/598
2024-03-28 22:42:54 +01:00
Éloi Rivard
ae1cc309d7
fix: babel 2.14+ and python 3.12+ setuptools dependency
2024-03-26 09:18:22 +01:00
Baptiste Jonglez
510c8db07f
CI: make sure the tests matrix depends on linting
2024-03-25 20:46:39 +01:00
Baptiste Jonglez
843f2df877
CI: Temporarily disable failing python 3.12 job
...
See #1297
2024-03-25 20:46:39 +01:00
Baptiste Jonglez
178fc94cef
Fix duplicate unit tests
2024-03-25 20:46:39 +01:00
Baptiste Jonglez
312dfef14b
Reformat code with black and isort
2024-03-25 20:46:39 +01:00
Baptiste Jonglez
a0409a296a
CI: Update databases version to match more recent Debian
2024-03-25 20:46:39 +01:00
Baptiste Jonglez
73f014e90e
CI: Move lint and docs to separate action for readability
...
Currently, linting is done in one specific job of the big test Matrix, and
it's very easy to overlook. But we want linting to be the first thing to fix.
Also reorganize and rename jobs for readability.
Finally, use python 3.11 for lint/docs because python 3.12 seems to break dev install.
2024-03-25 20:46:39 +01:00
Baptiste Jonglez
4af4c10b1f
Backport 6.1.5 changelog from stable-6.1 branch
2024-03-19 23:55:54 +01:00
Xander Jennie
c399611660
Translated using Weblate (Dutch)
...
Currently translated at 72.4% (200 of 276 strings)
Co-authored-by: Xander Jennie <xanderjennie21@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2024-03-19 23:28:12 +01:00
Peter
f090d81358
Translated using Weblate (German)
...
Currently translated at 95.6% (264 of 276 strings)
Co-authored-by: Peter <peteramried@web.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
Translation: I Hate Money/I Hate Money
2024-03-19 23:28:12 +01:00
Luca Bakan
d00f8063ed
Translated using Weblate (German)
...
Currently translated at 95.2% (263 of 276 strings)
Co-authored-by: Luca Bakan <luca.bakan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
Translation: I Hate Money/I Hate Money
2024-03-19 23:28:12 +01:00
TomRoussel
720f0e52dd
Adding bill types and automatic settling between people ( #1290 )
...
* Bill types added in Bill and Project Model, Implemented in BillForm
* import and export bill feature updated with bill type, tests modified to reflect the behavior
* eliminating unnecessary bill type
* typo fixed, test cases fixed for the current bill types
* button added
* settle button added
* new changes
* test cases added
* bchen-reimbursement
* tests for different bill types
* test cases fixed
* fixed reimbursement test case
* Replaced assertEqual with assert
* Fixed missing bill_type in unit tests
* Removed commented code
* Reverted unnecessary string edit
* Changed bill_type to an Enum
* Added test checking correct bill_type validation
* Fixed billtype displaying in all caps
* Removed 'Transfer' bill type
* Added migration rule and set default bill_type in alembic
* bill_type is now an optional parameter in the BillForm
* Use enum name instead of value as SQL server_default
SQLAlchemy uses the Enum names in the database, as the values could be
generic python objects.
https://docs.sqlalchemy.org/en/20/core/type_basics.html#sqlalchemy.types.Enum
* Removed bill type from the Bills html table
* Replaced string bill type with enum
* Made "Settlement" translatable
* Manually handle the new Enum creation
Alembic does not handle postgres Enums correctly, so we need to manually
generate the new enum type.
See https://github.com/sqlalchemy/alembic/issues/278
---------
Co-authored-by: Ruitao Li <ruital@andrew.cmu.edu>
Co-authored-by: MelodyZhangYiqun <98992024+MelodyZhangYiqun@users.noreply.github.com>
Co-authored-by: Ruitao Li <49292515+FlowingCloudRTL@users.noreply.github.com>
Co-authored-by: MelodyZhangYiqun <yiqunz@andrew.cmu.edu>
Co-authored-by: Brandan Chen <bychen@andrew.cmu.edu>
Co-authored-by: Emilie Zhou <54161959+ez157@users.noreply.github.com>
Co-authored-by: Tom <tom.roussel@esat.kuleuven.be>
2024-03-16 12:20:48 +01:00
Turtle6665
ba117ba0a6
Changing any settings is prevented when project has existing currency ( #1292 )
2024-03-15 22:32:10 +01:00
2bb535070a
[chore] Remove deprecated Jinja2 extensions. ( #1279 )
...
autoescape and with extensions are now built-in
to the Jinja2 compiler since v3.
See https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-0-0
2024-02-06 03:33:08 +01:00
zorun
1dcb0ba78b
Update security support status ( #1275 )
...
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2024-02-06 03:32:49 +01:00
Jinx
fa4a881ae1
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (276 of 276 strings)
Co-authored-by: Jinx <me@qqays.xyz>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
Translation: I Hate Money/I Hate Money
2023-12-14 02:03:15 +01:00
Éloi Rivard
edefb51cfb
move from setuptools to hatch ( #1258 )
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2023-12-12 14:20:34 +01:00
Oğuz Ersen
9f7ecf6614
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (276 of 276 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-12-12 12:12:31 +01:00
Clonewayx
7fd00344e2
Translated using Weblate (Czech)
...
Currently translated at 100.0% (276 of 276 strings)
Co-authored-by: Clonewayx <fillip1@seznam.cz>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/cs/
Translation: I Hate Money/I Hate Money
2023-12-12 12:12:31 +01:00
Ema Havrdová
6ec3ba6f77
Translated using Weblate (Czech)
...
Currently translated at 100.0% (276 of 276 strings)
Co-authored-by: Ema Havrdová <emicka.havrdova@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/cs/
Translation: I Hate Money/I Hate Money
2023-12-12 12:12:31 +01:00
Wilfredo Gomez
511ba86c4c
Translated using Weblate (Spanish (Latin America))
...
Currently translated at 100.0% (276 of 276 strings)
Co-authored-by: Wilfredo Gomez <thepageguy@mailfence.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
Translation: I Hate Money/I Hate Money
2023-12-12 12:12:31 +01:00
Jesper
54a5b0e63e
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (276 of 276 strings)
Co-authored-by: Jesper <93771679+Bjorkan@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/sv/
Translation: I Hate Money/I Hate Money
2023-12-12 12:12:31 +01:00
zorun
2ce1ea4bf2
Fix missing markdown include in manifest ( #1274 )
...
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2023-12-07 22:21:07 +01:00