Commit graph

663 commits

Author SHA1 Message Date
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
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