Commit graph

1398 commits

Author SHA1 Message Date
Weblate (bot)
04c375e2e7
Translated using Weblate (Polish) (#1218)
Currently translated at 95.2% (263 of 276 strings)


Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pl/
Translation: I Hate Money/I Hate Money

Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
2023-08-24 17:58:13 +02:00
Weblate (bot)
a169b89563
Translated using Weblate (German) (#1217)
Currently translated at 89.4% (247 of 276 strings)


Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
Translation: I Hate Money/I Hate Money

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
2023-08-22 01:15:00 +02:00
Éloi Rivard
15c43f496e
chore: remove travis configuration (#1216) 2023-08-13 02:17:09 +02:00
Éloi Rivard
857ca2d5b0
tests: speed up unit tests (#1215)
Adds two configuration parameters that are passed to
generate_password_hash:

- PASSWORD_HASH_METHOD
- PASSWORD_HASH_SALT_LENGTH

The unit tests use high-speed low-security values and
gain 50% speed.
2023-08-13 00:04:06 +02:00
Alessandro Andro
0187932365 Translated using Weblate (Italian)
Currently translated at 100.0% (276 of 276 strings)

Co-authored-by: Alessandro Andro <pasandro.pasandro@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
Translation: I Hate Money/I Hate Money
2023-08-06 11:14:19 +02:00
a-g-rao
11ec51d36b Translated using Weblate (Kannada)
Currently translated at 30.4% (84 of 276 strings)

Co-authored-by: a-g-rao <athrigrao@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/kn/
Translation: I Hate Money/I Hate Money
2023-08-06 11:14:19 +02:00
noelopdur
d886218457 Translated using Weblate (Spanish)
Currently translated at 47.1% (130 of 276 strings)

Co-authored-by: noelopdur <noelialopezduran@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es/
Translation: I Hate Money/I Hate Money
2023-08-06 11:14:19 +02:00
Puyma
35f434b031 Translated using Weblate (Spanish)
Currently translated at 47.1% (130 of 276 strings)

Co-authored-by: Puyma <puyma@amyup.xyz>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es/
Translation: I Hate Money/I Hate Money
2023-08-06 11:14:19 +02:00
Éloi Rivard
2a0ec05648 docs: dynamic year 2023-07-30 14:36:55 +02:00
Baptiste Jonglez
e54302040b Fix changelog syntax 2023-07-29 15:10:23 +02:00
Baptiste Jonglez
33bb91a016 Back to development: 6.1.1 2023-07-29 15:09:44 +02:00
Baptiste Jonglez
154365456e Preparing release 6.1.0 2023-07-29 15:08:55 +02:00
Baptiste
30ead1de0e Translated using Weblate (French)
Currently translated at 100.0% (276 of 276 strings)

Co-authored-by: Baptiste <weblate@bitsofnetworks.org>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
Translation: I Hate Money/I Hate Money
2023-07-29 15:07:58 +02:00
Baptiste Jonglez
376b646dd5 Update translation catalog for new strings 2023-07-29 14:28:20 +02:00
Baptiste Jonglez
4ebe471131 Fix indentation of translation string 2023-07-29 14:28:20 +02:00
Baptiste
266fc42744 Translated using Weblate (French)
Currently translated at 99.6% (275 of 276 strings)

Co-authored-by: Baptiste <weblate@bitsofnetworks.org>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
Translation: I Hate Money/I Hate Money
2023-07-29 14:17:46 +02:00
Baptiste Jonglez
32a79b17c5 Update translation catalog for new strings 2023-07-29 14:06:38 +02:00
Baptiste Jonglez
7a8fa22a0c Update changelog 2023-07-29 14:06:00 +02:00
Baptiste Jonglez
7d30794420 security docs: Clarify what is possible with a token 2023-07-29 14:02:49 +02:00
Baptiste Jonglez
3e5cd9e04e API docs: new current_password field 2023-07-29 14:02:49 +02:00
Baptiste Jonglez
73c8a31dd2 Invite page: document the security implication of all options
Also move the "invitation link" option first, because it's the preferred
way to give access to people that only need to handle participants and
bills.

Sharing the identifier and private becomes the last option, because it
gives full access to changing settings.
2023-07-29 14:02:49 +02:00
Baptiste Jonglez
5dc9984577 Better feedback when changing project settings
We now display a success flash message, and we stay on the same page
(instead of redirecting to the list of bills, which makes little sense)
2023-07-29 14:02:49 +02:00
Baptiste Jonglez
68e1dac75c Require private code to edit a project settings
This is something we had documented in our security documentation [1], but
we didn't actually do it...

As mentioned in [1], this has good security properties: you can invite
somebody with an invitation link, and they will be able to access the
project but not change the private code (because they don't know the
current private code).

This new check also applies to all other settings (email address, history
settings, currency), which is desirable.  Only somebody with knowledge of
the private code can now change these settings.

[1] https://ihatemoney.readthedocs.io/en/latest/security.html#giving-access-to-a-project
2023-07-29 14:02:49 +02:00
Éloi Rivard
b1d4f34193
tests: unit test assertion fixes (#1203)
`self.assertTrue(200, resp.status_code)` style are always True
and thus are useless. It looks like the original author wanted
`self.assertEqual` there instead.
2023-07-28 17:44:43 +02:00
Baptiste Jonglez
4d3bcf69d3 Update security docs for the new feed token 2023-07-28 17:34:34 +02:00
Baptiste Jonglez
ad5b108ec0 Fix 404 page crash
The 404 page crashes when the user is logged in:

      File "/home/zorun/code/ihatemoney/ihatemoney/templates/404.html", line 1, in top-level template code
        {% extends "layout.html" %}
      File "/home/zorun/code/ihatemoney/ihatemoney/templates/layout.html", line 124, in top-level template code
        {{ g.logout_form.hidden_tag() }}
      File "/home/zorun/venv/py3-ihatemoney/lib/python3.9/site-packages/jinja2/environment.py", line 474, in getattr
        return getattr(obj, attribute)
    jinja2.exceptions.UndefinedError: 'flask.ctx._AppCtxGlobals object' has no attribute 'logout_form'

This is because the logout form is defined by a URL processor, and this
does not seem to apply for all pages.

To solve this, simply skip the logout form if it's not defined.
2023-07-28 17:20:32 +02:00
Baptiste Jonglez
be961e987d Update translation catalog for new strings 2023-07-28 17:20:11 +02:00
Baptiste Jonglez
db04f68652 translations: Avoid splitting strings to make translator's life easier 2023-07-28 17:20:11 +02:00
Nati Lintzer
c9c6795b21 Translated using Weblate (Hebrew)
Currently translated at 62.7% (170 of 271 strings)

Co-authored-by: Nati Lintzer <nlintzer@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/he/
Translation: I Hate Money/I Hate Money
2023-07-28 15:23:45 +02:00
Éloi Rivard
8d4584d660 feat: project RSS feed. 2023-07-28 15:22:55 +02:00
Baptiste Jonglez
7c782443d3 Back to development: 6.0.2 2023-07-22 20:02:51 +02:00
Baptiste Jonglez
284fb011f0 Preparing release 6.0.1 2023-07-22 20:02:10 +02:00
Baptiste Jonglez
f6ae1cbf59 Update changelog for next release 2023-07-22 20:01:45 +02:00
Glandos
23d912b703
Migrate existing sessions after conversion to dict (#1194)
Migrate existing session after #1082

fix #1188
2023-07-22 19:55:45 +02:00
Nati Lintzer
b150c7adc5 Translated using Weblate (Hebrew)
Currently translated at 59.0% (160 of 271 strings)

Co-authored-by: Nati Lintzer <nlintzer@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/he/
Translation: I Hate Money/I Hate Money
2023-07-22 19:49:43 +02:00
Luke
4919266072 Translated using Weblate (German)
Currently translated at 92.9% (252 of 271 strings)

Co-authored-by: Luke <luke@luporr.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
Translation: I Hate Money/I Hate Money
2023-07-22 19:49:43 +02:00
Baptiste
17a2e14c0e Translated using Weblate (French)
Currently translated at 100.0% (271 of 271 strings)

Co-authored-by: Baptiste <weblate@bitsofnetworks.org>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
Translation: I Hate Money/I Hate Money
2023-07-22 19:49:43 +02:00
Glandos
59f3e9bac1 fix #1192 2023-07-15 15:27:34 +02:00
Glandos
d09d19af45 add test to make it fail 2023-07-15 15:27:34 +02:00
Baptiste Jonglez
e61540dbbe Update readthedocs to python 3.11 (should fix #1185) 2023-07-14 16:00:33 +02:00
Baptiste Jonglez
3788b6f5e7 Add support for APPLICATION_ROOT in Docker container 2023-07-14 15:53:43 +02:00
Baptiste Jonglez
5492e9eb6e Regenerate translations 2023-07-14 10:09:34 +02:00
Baptiste Jonglez
f06c49ce74 More consistent translations 2023-07-14 10:09:34 +02:00
Baptiste
9df4f0a3de Translated using Weblate (French)
Currently translated at 99.6% (272 of 273 strings)

Co-authored-by: Baptiste <weblate@bitsofnetworks.org>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
Translation: I Hate Money/I Hate Money
2023-07-14 10:00:40 +02:00
Baptiste Jonglez
9f89cce097 Regenerate all translation files 2023-07-13 18:13:42 +02:00
Baptiste Jonglez
bff44ae415 Avoid HTML markup in translation strings 2023-07-13 18:13:42 +02:00
Glandos
7d26870975 Translated using Weblate (French)
Currently translated at 100.0% (255 of 255 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-07-13 18:11:49 +02:00
Baptiste Jonglez
c681fcd4c9 Improve docker-compose file: admin password and volume for database
Fixes: #1169
2023-07-13 18:04:04 +02:00
Baptiste Jonglez
7ef954eaad Fix docker-compose example quoting (fix #1164) 2023-07-13 17:05:15 +02:00
Glandos
f2ac083396 Translated using Weblate (French)
Currently translated at 100.0% (255 of 255 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-07-13 16:57:32 +02:00