aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-21Improve error handling when sending emails (#595)zorun18-103/+548
In one case, we were not catching a family of possible exceptions (socket.error), 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, we don't proceed to the next step in case of error, because sending emails is the whole point of these actions.
2020-05-21Add a unified balance table for all sidebar pages (#618)Glandos5-69/+48
2020-05-18Translations update from Weblate (#622)Weblate (bot)2-99/+106
Translated using Weblate (Italian) Currently translated at 36.4% (83 of 228 strings) Translated using Weblate (French) Currently translated at 100.0% (228 of 228 strings)
2020-05-13Translated using Weblate (Polish)Szylu1-15/+14
Currently translated at 100.0% (228 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pl/
2020-05-13Translated using Weblate (Chinese (Simplified))Muge Niu1-16/+14
Currently translated at 100.0% (228 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
2020-05-10use currency format everywhere (#619)Glandos3-8/+10
This should unify the number formats, along with #618
2020-05-09Update i18n (#617)Glandos15-201/+616
2020-05-09Translations update from Weblate (#615)Weblate (bot)1-70/+72
Fix #614
2020-05-08update l10n data (#613)Glandos15-1/+14
Add all new localization data from Weblate into main menu: - Chinese - Russian - Polish - Turkish (incomplete) - Ukrainian (incomplete)
2020-05-08Translations update from Weblate (#612)Weblate (bot)2-124/+907
Complete Polish Update Chinese (simplified)
2020-05-07Improve currencies (#604)Glandos8-72/+92
- Rename "No Currency" to ISO4217 "XXX" - Use Babel to render currency symbols and names in currency lists - Improve i18n in bill lists Fix #601 Fix #600
2020-05-07compress jpeg with mozjpeg and png with zopfli (#611)Glandos17-0/+0
2020-05-07Integrate illustrations as a showcase (#544)Jojo14430-23/+1139
Integrate some custom graphics, and a whole comics explanation, only in French for now. Fix #363
2020-05-04Fix order of participants in the statistics page (#608)zorun2-110/+100
This fixes #607 and add a test case for this bug. It also renames participants in test cases to avoid alphabetical ordering. Inserting participants in alphabetical order is a special case, because ordering by ID will be the same as ordering by name. This is a bad idea in test cases, as #607 has shown.
2020-05-03Translations update from Weblate (#606)Weblate (bot)1-67/+89
Fix #605
2020-05-03Merge remote-tracking branch 'weblate/master'Adrien CLERC0-0/+0
2020-04-29Feature/currencies (#541)dark0dave13-11/+313
Now each project can have a currency, default to None. Each bill can use a different currency, and a conversion to project default currency is done on settle. Fix #512
2020-04-29Translations update from Weblate (#591)Weblate (bot)2-0/+1497
RU : 100%
2020-04-28Added translation using Weblate (Italian)Matteo Haenen1-0/+729
2020-04-28Translated using Weblate (Russian)Vsevolod1-164/+196
Currently translated at 100.0% (222 of 222 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
2020-04-28Translated using Weblate (Russian)Vsevolod1-48/+55
Currently translated at 21.1% (47 of 222 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
2020-04-28Added translation using Weblate (Russian)Vsevolod1-0/+729
2020-04-27Bump sphinx from 3.0.2 to 3.0.3 (#596)dependabot-preview[bot]1-1/+1
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.0.2 to 3.0.3. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.0.2...v3.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-26Add support for different categories of "flash alerts" (#594)zorun2-15/+10
2020-04-26Fix crash when a localized email template is missing (#592)zorun2-10/+23
2020-04-26Fix language code parsing (#589)zorun1-1/+1
2020-04-26Fix string representation of bills (#584)zorun2-24/+14
Currently the string representation of a Bill is: "<amount> for <description>" It is used in the History Page to describe changes that were applied to Bills, for instance: Bill "42.0 for Test" renamed to "Another Test" This is inconsistent, not easy to read, and the "for" in the middle is not translatable. To solve this issue, simply switch the string representation of a bill to its description. Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-26Add .idea/ folder to gitignore (#585)Andrew Dickinson1-0/+1
2020-04-26Direct Alembic to ignore the sqlite_sequence table (#586)Andrew Dickinson2-11/+36
* Direct Alembic to ignore the sqlite_sequence table * Direct Alembic to ignore the sqlite_sequence table * Fix "Skipping unsupported ALTER" warning on database migration
2020-04-25Fix missing HTML tag (#583)zorun1-0/+1
2020-04-25Translated using Weblate (French) (#582)Weblate (bot)1-13/+14
Currently translated at 100.0% (222 of 222 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/ Co-authored-by: Rémy Hubscher <hubscher.remy@gmail.com>
2020-04-25Fix last history string.Rémy HUBSCHER24-91/+57
2020-04-25Translated using Weblate (French)Rémy Hubscher1-43/+69
Currently translated at 97.7% (218 of 223 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25Merge remote-tracking branch 'weblate/master'Rémy HUBSCHER1-7/+6
2020-04-25Translated using Weblate (French)Rémy Hubscher1-9/+12
Currently translated at 83.3% (190 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25Fix history translations. (#580)Rémy HUBSCHER13-427/+317
2020-04-25@zorun review.Rémy HUBSCHER5-0/+390
Revert "Fix obsolete translations." This reverts commit a2a3b1e2feeb41fbf48b77b4f5273fbf7ff8a2bc.
2020-04-25Fix weblate conflicts.Rémy HUBSCHER1-5/+5
2020-04-25Fix sqlite only migration. (#579)Rémy HUBSCHER4-33/+43
2020-04-25Translated using Weblate (French)Baptiste1-7/+7
Currently translated at 81.5% (186 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25Fix translations (#575)zorun15-702/+67
* Fix user-facing string and update translation catalog In the flash message confirming member creation, change "member had been added" into the correct form "member has been added". No translation has been changed. Some translators seem to have already spotted the mistake while translating, but I can't tell for all languages. * Change "Person" to "Participant" in history view Currently, the main user-facing term is "Participant", as seen for instance in the "Add participant" form. "Person" is not used anywhere in the interface. See #302 for a more general discussion on choosing the right terminology. * Fix obsolete translations. Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org> Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
2020-04-25Add weblate translation status to the README (#574)zorun1-0/+10
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25Reorganize "Contributing" documentation to be more accessible to new ↵zorun1-66/+99
contributors (#573) * Reorganize "Contributing" documentation to be more accessible to new contributors The following changes were done: - move "How to contribute" first, and "Set up a dev environment" as the second section. This way, a new contributor has access to the most general information first, instead of the very specific "dev environment" documentation. - reduce "How to contribute" / "As a developer" by moving the part about tests to a new "Contributing as a developer" section (see below). This way, all types of contributions get roughly the same amount of text in the first "How to contribute" section. - add a new "Contributing as a developer" section, which lists items that are useful when preparing a code contribution (running tests, formatting code, create database migration). These items were moved either from "How to contribute" or from "Set up a dev environment". * Add brief documentation about updating and adding tests Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25Add Indonesian and Norwegian to the list of supported languages (#572)zorun1-1/+1
According to https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ these translations are almost complete (69% and 58% currently, but that's because there have been lots of new strings to translate recently) Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-24Update install docs.Rémy HUBSCHER1-1/+1
2020-04-24Improve documentation regarding database migrations (#569)zorun1-5/+20
2020-04-24Remove obsolete python code (<3.6). (#571)Rémy HUBSCHER11-72/+51
2020-04-23Translated using Weblate (French) (#566)Weblate (bot)1-27/+33
Currently translated at 80.7% (184 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/ Co-authored-by: Glandos <bugs-github@antipoul.fr>
2020-04-23Pin WTForms 2.2.1Rémy HUBSCHER4-0/+1
2020-04-23Update translations.Rémy HUBSCHER8-0/+0