Commit graph

1067 commits

Author SHA1 Message Date
Rajat Singh
638fc5277c
Fix: Change tool-tip message for access code (#623)
Fix #610
2020-05-24 10:08:11 +02:00
Glandos
23ed467d37
Replace currencyformat_nc with currency filter (#625) 2020-05-21 21:31:24 +02:00
zorun
df6ffc7d86
Improve error handling when sending emails (#595)
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-21 21:13:33 +02:00
Glandos
e10ea6c776
Add a unified balance table for all sidebar pages (#618) 2020-05-21 20:47:56 +02:00
Weblate (bot)
3f46beade3
Translations update from Weblate (#622)
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-18 15:08:33 +02:00
Szylu
b449017214 Translated using Weblate (Polish)
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-13 22:50:49 +02:00
Muge Niu
c09c39148b Translated using Weblate (Chinese (Simplified))
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-13 22:50:49 +02:00
Glandos
ca7c3d5452
use currency format everywhere (#619)
This should unify the number formats, along with #618
2020-05-10 23:05:48 +02:00
Glandos
b9672d9e15
Update i18n (#617) 2020-05-09 21:50:24 +02:00
Weblate (bot)
570a19c4d2
Translations update from Weblate (#615)
Fix #614
2020-05-09 12:43:23 +02:00
Glandos
a3086956c8
update l10n data (#613)
Add all new localization data from Weblate into main menu:
- Chinese
- Russian
- Polish
- Turkish (incomplete)
- Ukrainian (incomplete)
2020-05-08 22:49:42 +02:00
Weblate (bot)
a2cf9bf2cf
Translations update from Weblate (#612)
Complete Polish
Update Chinese (simplified)
2020-05-08 22:06:48 +02:00
Glandos
981edd413a
Improve currencies (#604)
- 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-07 22:56:17 +02:00
Glandos
76911983af
compress jpeg with mozjpeg and png with zopfli (#611) 2020-05-07 22:54:55 +02:00
Jojo144
bd1122cc0e
Integrate illustrations as a showcase (#544)
Integrate some custom graphics, and a whole comics explanation, only in French for now.
Fix #363
2020-05-07 22:34:31 +02:00
zorun
795efd6b58
Fix order of participants in the statistics page (#608)
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-04 23:06:35 +02:00
Weblate (bot)
15ab04e636
Translations update from Weblate (#606)
Fix #605
2020-05-03 17:28:27 +02:00
Adrien CLERC
4085b5c16a Merge remote-tracking branch 'weblate/master' 2020-05-03 17:21:07 +02:00
dark0dave
f389c56259
Feature/currencies (#541)
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-29 22:57:08 +02:00
Weblate (bot)
162193c787
Translations update from Weblate (#591)
RU : 100%
2020-04-29 12:08:24 +02:00
Matteo Haenen
d2f4b60ef0
Added translation using Weblate (Italian) 2020-04-28 10:30:43 +02:00
Vsevolod
a75ad93dc1 Translated using Weblate (Russian)
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-28 09:11:22 +02:00
Vsevolod
d8a9fc2e85 Translated using Weblate (Russian)
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-28 09:11:22 +02:00
Vsevolod
8b8606d2f0 Added translation using Weblate (Russian) 2020-04-28 09:11:22 +02:00
dependabot-preview[bot]
68f6df6abc
Bump sphinx from 3.0.2 to 3.0.3 (#596)
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-27 08:42:10 +02:00
zorun
c509896b8c
Add support for different categories of "flash alerts" (#594) 2020-04-26 23:17:48 +02:00
zorun
08bb95422b
Fix crash when a localized email template is missing (#592) 2020-04-26 23:12:33 +02:00
zorun
342292ca9f
Fix language code parsing (#589) 2020-04-26 22:48:30 +02:00
zorun
d9dc38947c
Fix string representation of bills (#584)
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-26 14:22:54 +02:00
Andrew Dickinson
55419ab94b
Add .idea/ folder to gitignore (#585) 2020-04-26 14:22:21 +02:00
Andrew Dickinson
2c32c6190c
Direct Alembic to ignore the sqlite_sequence table (#586)
* 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-26 14:20:24 +02:00
zorun
27cac869d3
Fix missing HTML tag (#583) 2020-04-25 14:03:40 +02:00
Weblate (bot)
ab3240ed34
Translated using Weblate (French) (#582)
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-25 13:15:02 +02:00
Rémy HUBSCHER
741e4023b4
Fix last history string. 2020-04-25 13:04:47 +02:00
Rémy Hubscher
1167a64b50
Translated using Weblate (French)
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-25 13:01:38 +02:00
Rémy HUBSCHER
2854258830
Merge remote-tracking branch 'weblate/master' 2020-04-25 12:47:01 +02:00
Rémy Hubscher
84c8949a81
Translated using Weblate (French)
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-25 12:44:10 +02:00
Rémy HUBSCHER
db47683e4e
Fix history translations. (#580) 2020-04-25 12:44:06 +02:00
Rémy HUBSCHER
64fbda885c
@zorun review.
Revert "Fix obsolete translations."

This reverts commit a2a3b1e2fe.
2020-04-25 12:18:10 +02:00
Rémy HUBSCHER
a8e62734a3
Fix weblate conflicts. 2020-04-25 12:15:00 +02:00
Rémy HUBSCHER
6129191b26
Fix sqlite only migration. (#579) 2020-04-25 11:55:46 +02:00
Baptiste
f5d861199d
Translated using Weblate (French)
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-25 11:55:25 +02:00
zorun
d6d084f26a
Fix translations (#575)
* 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-25 11:55:20 +02:00
zorun
c2afed269a
Add weblate translation status to the README (#574)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25 11:50:45 +02:00
zorun
e458da954d
Reorganize "Contributing" documentation to be more accessible to new 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-25 11:49:50 +02:00
zorun
d0fa723877
Add Indonesian and Norwegian to the list of supported languages (#572)
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-25 11:48:32 +02:00
Rémy HUBSCHER
10c35e41ce
Update install docs. 2020-04-24 15:22:37 +02:00
zorun
d4ad149a63
Improve documentation regarding database migrations (#569) 2020-04-24 13:45:39 +02:00
Rémy HUBSCHER
7587e292fb
Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
Weblate (bot)
abf1eea842
Translated using Weblate (French) (#566)
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-23 11:12:16 +02:00