Adrien CLERC
86d6fc7d4a
Preparing release 4.1.4
2020-06-07 22:39:22 +02:00
Baptiste Jonglez
953e1488fc
Rebuild translations
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
94563e0c9d
Update translations
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
0949a58da8
Fix flake8 warnings: mostly unused imports
...
Fixes b4f51867b6
("Fix crash when a localized email template is missing (#592 )")
Fixes 38aae77d33
("Improve error handling when sending emails")
Fixes 77f50e9137
("Add new tests to check for email failures")
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
99d9159c21
Update Changelog for 4.1.4
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
9f62669144
Fix missing format string in norwegian translation
...
(cherry picked from commit c752ede74d
)
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
b1d241550f
Manually fixup string in italian, german, turkish, norwegian
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
98f5826f62
Update and cleanup translations from master ( 4c8b90b8cc
)
...
Picked just modified translation strings for:
- de
- es_419
- fr
Complete copy (and clean-up) for:
- it
- nb_NO
- tr
- uk
2020-06-07 21:22:48 +02:00
Rajat Singh
b99c2d7809
fixed bug on tool-tip message ( #635 )
...
Fix #634
(cherry picked from commit 8d041fdba3
)
2020-06-07 21:22:48 +02:00
Rajat Singh
a94d128080
Fix: Change tool-tip message for access code ( #623 )
...
Fix #610
(cherry picked from commit 638fc5277c
)
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
7980fd2bd9
Rename Chinese translation file so that it gets picked up by Babel ( #627 )
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
b76da17265
Update Flask-WTF to 0.14.3 to fix python2 - python3 transition
...
When updating I Hate Money from python2 to python3, any leftover cookie
set from python2 causes the python3 version to crash when reading the
cookie back.
This is a bug/omission in Flask-WTF: https://github.com/lepture/flask-wtf/issues/275
It was fixed in 0.14.3 with: eff54eca0d
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
b690e48e45
Enable new languages to match master: Polish, Chinese, Turkish, Ukrainian
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
e8f36d38c4
Manually fixup translation string that disappeared from master
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
59c7c02c25
Import and cleanup translations from master ( 23ed467d37
)
...
Cleanup is done with:
pybabel update --ignore-obsolete -i ihatemoney/messages.pot -d ihatemoney/translations/
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
48f85e0ba2
Update translation sources
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
a4638be144
Simplify send_email(): don't flash messages within this function
...
Since we have only three places that call send_email() and already several
special cases, it's simpler to just check the return value and flash
messages within the calling code.
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
8d9dc6a61f
tests: follow_redirects is now the default for post_project
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
381ea8fe0c
tests: Follow redirections by default for post_project()
...
No user of post_project() was using its return value, so it was not useful
to follow redirections up to now.
However, for new and future usages of post_project(), it's clearer to
follow redirections by default. Tests can still disable redirects if they
need to test something special.
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
ea0b38933c
Fix flake8 check about line length
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
d79eb8ef53
Add new tests to check for email failures
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
119f240da4
Improve existing tests to check for alert notifications
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
0ac6e7266b
tests: extend post_project() to optionally follow redirects
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
8edbd42011
Don't display a second success message on password reset
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
5d56ce0ddc
Improve error handling when sending emails
...
In one case, we were not catching socket-related exceptions , and in the
two other cases there was no error handling at all. Sending emails can
easily fail if no email server is configured, so it is really necessary to
handle these errors instead of crashing with a HTTP 500 error.
Refactor email sending code and add proper error handling.
Show alert messages that tell the user if an email was sent or if there
was an error.
When sending a password reminder email or inviting people by email, don't
proceed to the next step in case of error, because sending emails is the
whole point of these actions.
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
c1b158c728
Add support for different categories of "flash alerts" ( #594 )
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
2f466b19f7
Update six to 0.14.0 to make tox happy
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
1ddadc020d
Cleanup language files by removing unused strings
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
3c9751ff4d
Changelog for 4.1.4
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
86c15b4aa4
Pin Werkzeug to 0.16.1
...
Werkzeug 1.0.0 changed some imports, and this breaks the version of
Flask-Babel we use. It's been fixed since then, but better keep it safe
by pinning a slightly older version of Werkzeug.
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
96d5e9b730
Update Flask-Migrate to 2.5.3
...
This fixes a potential issue with database connection that misses the
"charset=utf8" option during migrations: https://github.com/miguelgrinberg/flask-migrate/issues/276
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
e6ada68589
Pin WTForms 2.2.1 (see #567 )
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
e37d0a98ff
Pin dependencies to ensure that pip will use the exact version of deps
...
This is a backport / adaptation of 5d3266873e
(#558 ), accounting for the
fact that we are not using setup.cfg.
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
486c584746
Add russian to supported languages
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
e14ffc7147
Import russian translation from master
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
8a0b644a74
Import translations from master
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
3896a99aaa
Add German, Spanish (latinoamérica), Norwegian, Indonesian to list of supported languages
2020-06-07 21:22:48 +02:00
zorun
a6752067a6
Fix language code parsing ( #589 )
...
(cherry picked from commit 342292ca9f
)
2020-06-07 21:22:48 +02:00
Baptiste Jonglez
b75cc65c2d
Fix typo on message displayed when adding a member
2020-06-07 21:22:48 +02:00
zorun
807cf7abbe
Fix crash when a localized email template is missing ( #592 )
...
(cherry picked from commit 08bb95422b
)
2020-06-07 21:22:48 +02:00
zorun
d49f92b08f
Fix missing HTML tag ( #583 )
...
(cherry picked from commit 27cac869d3
)
2020-06-07 21:22:48 +02:00
eMerzh
0eabb1354a
fix(Home): correct responsive width of cards ( #549 )
...
(cherry picked from commit 23b7e397f2
)
2020-06-07 21:22:48 +02:00
Tom Biju
ff7bcc27e3
prevent bill cancellation when cancelling autocomplete ( #506 )
...
(cherry picked from commit c44784c3ed
)
2020-06-07 21:22:48 +02:00
5ea419fe14
Change the color of the add a member button.
...
(cherry picked from commit e30d863c56
)
2020-06-07 21:22:48 +02:00
b242fc8c89
Remove jQuery datepicker.
...
We don't need this anymore because all major browser now have implemented that feature on the browser itself.
Closes #221 .
(cherry picked from commit f51a02005c
)
2020-06-07 21:22:48 +02:00
6ea0378300
Fix the "and add a new one" button.
...
(cherry picked from commit 6a4014cf5a
)
2020-06-07 21:22:48 +02:00
José Antonio de la Torre
8beb8c3ccf
Fixed public project creation flag in API creation #246
2020-06-07 21:22:48 +02:00
3085221e03
Fix a small typo in the french project-reminder email
...
(cherry picked from commit 3d4d40bd12
)
2020-06-07 21:22:48 +02:00
Alexis Métaireau
870987fd37
Trim member usernames. Fixes #353
...
(cherry picked from commit 82d94a7490
)
2020-06-07 21:22:48 +02:00
fe08133064
Preparing release 4.1.3
2019-09-18 22:11:06 +02:00