Rajat Singh
c9a998b68f
Fix: Change tool-tip message for access code ( #623 )
...
Fix #610
(cherry picked from commit 638fc5277c
)
2020-05-30 18:01:31 +02:00
Baptiste Jonglez
8c8759a946
Rename Chinese translation file so that it gets picked up by Babel ( #627 )
2020-05-30 18:01:31 +02:00
Baptiste Jonglez
228b5a8ce0
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-05-30 17:54:47 +02:00
Baptiste Jonglez
a32079cb87
Enable new languages to match master: Polish, Chinese, Turkish, Ukrainian
2020-05-30 17:54:27 +02:00
Baptiste Jonglez
6887d48acd
Manually fixup translation string that disappeared from master
2020-05-21 23:44:17 +02:00
Baptiste Jonglez
495fe7f5b1
Import and cleanup translations from master ( 23ed467d37
)
...
Cleanup is done with:
pybabel update --ignore-obsolete -i ihatemoney/messages.pot -d ihatemoney/translations/
2020-05-21 23:43:03 +02:00
Baptiste Jonglez
3bfc91d10c
Update translation sources
2020-05-21 22:24:00 +02:00
Baptiste Jonglez
9ce855f531
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-05-21 22:21:05 +02:00
Baptiste Jonglez
575d95acc9
tests: follow_redirects is now the default for post_project
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
873a4078c2
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-05-21 22:21:05 +02:00
Baptiste Jonglez
bcb78cd2f8
Fix flake8 check about line length
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
77f50e9137
Add new tests to check for email failures
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
aef41727a8
Improve existing tests to check for alert notifications
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
61b7203cf1
tests: extend post_project() to optionally follow redirects
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
45d8641910
Don't display a second success message on password reset
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
38aae77d33
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-05-21 22:21:05 +02:00
Baptiste Jonglez
046c5757ff
Add support for different categories of "flash alerts" ( #594 )
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
428ada4edf
Update six to 0.14.0 to make tox happy
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
5ed3ae330f
Cleanup language files by removing unused strings
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
42a737c984
Changelog for 4.1.4
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
e04628066f
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-05-21 22:21:05 +02:00
Baptiste Jonglez
b836c9e763
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-05-21 22:21:05 +02:00
Baptiste Jonglez
760e66fc18
Pin WTForms 2.2.1 (see #567 )
2020-05-21 22:21:05 +02:00
Baptiste Jonglez
bd41256370
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-05-21 22:21:05 +02:00
Baptiste Jonglez
dcaabd55d7
Add russian to supported languages
2020-05-01 01:12:16 +02:00
Baptiste Jonglez
9a333fa28f
Import russian translation from master
2020-05-01 01:12:16 +02:00
Baptiste Jonglez
76e79b3f9b
Import translations from master
2020-05-01 01:12:16 +02:00
Baptiste Jonglez
72cf3c94de
Add German, Spanish (latinoamérica), Norwegian, Indonesian to list of supported languages
2020-05-01 01:12:05 +02:00
zorun
4238c34627
Fix language code parsing ( #589 )
...
(cherry picked from commit 342292ca9f
)
2020-05-01 00:49:54 +02:00
Baptiste Jonglez
9b51ac77d2
Fix typo on message displayed when adding a member
2020-05-01 00:49:54 +02:00
zorun
b4f51867b6
Fix crash when a localized email template is missing ( #592 )
...
(cherry picked from commit 08bb95422b
)
2020-05-01 00:49:54 +02:00
zorun
7df66f5809
Fix missing HTML tag ( #583 )
...
(cherry picked from commit 27cac869d3
)
2020-05-01 00:49:54 +02:00
eMerzh
479192e38c
fix(Home): correct responsive width of cards ( #549 )
...
(cherry picked from commit 23b7e397f2
)
2020-05-01 00:49:54 +02:00
Tom Biju
c6967205b9
prevent bill cancellation when cancelling autocomplete ( #506 )
...
(cherry picked from commit c44784c3ed
)
2020-05-01 00:49:54 +02:00
18807b39e1
Change the color of the add a member button.
...
(cherry picked from commit e30d863c56
)
2020-05-01 00:49:54 +02:00
cb5c195d23
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-05-01 00:49:54 +02:00
7207d56a86
Fix the "and add a new one" button.
...
(cherry picked from commit 6a4014cf5a
)
2020-05-01 00:49:54 +02:00
José Antonio de la Torre
1f82a4c043
Fixed public project creation flag in API creation #246
2020-04-26 19:22:49 +02:00
2b38e4e04a
Fix a small typo in the french project-reminder email
...
(cherry picked from commit 3d4d40bd12
)
2020-04-26 19:22:49 +02:00
Alexis Métaireau
be8b01a493
Trim member usernames. Fixes #353
...
(cherry picked from commit 82d94a7490
)
2020-04-26 19:22:49 +02:00
fe08133064
Preparing release 4.1.3
2019-09-18 22:11:06 +02:00
f521b9eb4b
Prepare 4.1.3
2019-09-18 22:10:51 +02:00
1c9745460b
Fix CHANGELOG titles to be consistent with README
2019-09-18 21:49:30 +02:00
b301f3e670
Preparing release 4.1.2
2019-09-18 21:40:30 +02:00
c8396f50b9
Update translations to publish new point release.
2019-09-18 21:40:09 +02:00
6ccabd08d1
Merge branch 'master' of github.com:spiral-project/ihatemoney
2019-09-18 21:33:47 +02:00
b5d9855bf7
Back to development: 4.2
2019-09-18 21:33:12 +02:00
8f973ba1de
Preparing release 4.1.1
2019-09-18 21:32:14 +02:00
aeb6b102a9
Prepare 4.1.1
2019-09-18 21:31:58 +02:00
Brice Maron
b82d07c3eb
Move translations in template and translate link
2019-09-18 21:27:52 +02:00