Commit graph

659 commits

Author SHA1 Message Date
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
bef973d85e Fix setup.py encoding to be py2 and py3 compatible. 2019-09-17 11:25:09 +02:00
Leo Mouyna
fabceefece PR remarks 2019-09-16 21:35:28 +02:00
Leo Mouyna
db98010691 fix: display validation message on password reminder
Create a new route with a new generic page that display a title and a message on a <p> tag. This route will be triggered after succesfully submit password reminder form

See issue #455
2019-09-16 21:35:28 +02:00
33d497aac2 Add Python 3.7 to the list of supported languages 2019-09-08 19:56:09 +02:00
564a5ca1fd Preparing release 4.1 2019-09-08 19:49:32 +02:00
f4231ed37c Preparing release 4.1 2019-09-08 19:49:09 +02:00
d9239d06fb Remove changelog from project description 2019-09-08 19:45:05 +02:00
bfdd56564b Reorganise changelog 2019-09-08 19:41:53 +02:00
fc7df8bdce Preparing release 4.1 2019-09-08 19:30:34 +02:00
1c0927b235 Fix changelog 2019-09-08 19:30:20 +02:00
8127586159 Update translations 2019-09-08 19:28:41 +02:00
Brice Maron
34da65d412 remove compatibility of py34 2019-09-08 19:14:43 +02:00
532f7f55e0 Translated using Weblate (French)
Currently translated at 100.0% (152 of 152 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2019-09-08 19:13:54 +02:00
Heimen Stoffels
a696a553cc Translated using Weblate (Dutch)
Currently translated at 100.0% (152 of 152 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
2019-09-08 19:13:54 +02:00
ae60bb7852 Update the CONTRIBUTORS file 2019-09-07 00:06:06 +02:00