Commit graph

613 commits

Author SHA1 Message Date
Parham
de311b5eab Added translation using Weblate (Persian)
Co-authored-by: Parham <parham.parnian@gmail.com>
2021-07-25 22:27:23 +02:00
Kristoffer Grundström
b97636b5c1 Translated using Weblate (Swedish)
Currently translated at 71.3% (184 of 258 strings)

Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/sv/
Translation: I Hate Money/I Hate Money
2021-07-25 22:27:23 +02:00
Baptiste Jonglez
9217360973 Localize month names in the statistics view 2021-07-20 19:42:14 +02:00
Allan Nordhøy
591c91af49 Translated using Weblate (Norwegian Bokmål)
Currently translated at 77.9% (201 of 258 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
Translation: I Hate Money/I Hate Money
2021-07-18 23:33:59 +02:00
Kemystra
a6d341e3b4 Translated using Weblate (Malay)
Currently translated at 10.4% (27 of 258 strings)

Added translation using Weblate (Malay)

Co-authored-by: Kemystra <izzmin97@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ms/
Translation: I Hate Money/I Hate Money
2021-07-18 23:33:59 +02:00
Oleg
0d8d57c5b0 Fix language list scrollable on mobile (#811) 2021-07-18 23:28:27 +02:00
Glandos
81c3b8edc7 Fix unusable LOCALTZ
Fix #803

On some systems, there is no configured local timezone, so LOCALTZ is
a fallback object, that don't fit use case for flask-babel.
Detect this and use 'UTC' instead
2021-07-18 22:48:29 +02:00
Baptiste Jonglez
9444c1099a Display and highlight current language in dropdown list
Currently, we don't display the current language in the list.  This is
confusing because the list changes when switching language.

Now we always display the full list, and we highlight the current
language.
2021-07-18 14:32:09 +02:00
Baptiste
f7245f6c80 Translated using Weblate (French)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Baptiste <weblate@bitsofnetworks.org>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
Translation: I Hate Money/I Hate Money
2021-07-17 23:53:29 +02:00
Baptiste Jonglez
b1ab7b89c8 Regenerate translations 2021-07-17 17:32:44 +02:00
Baptiste Jonglez
bb047f1596 Add Greek, Esperanto, Italian and Swedish to default languages 2021-07-17 14:28:45 +02:00
Baptiste Jonglez
82f3f067ef Fix layout of history deletion modals 2021-07-17 13:54:11 +02:00
Baptiste Jonglez
c69b8d66eb Use existing form errors to flash error messages
This is nice because we can reuse the translated strings of form error
messages in another context.

Suggested by Glandos.
2021-07-17 13:54:11 +02:00
zorun
439282356c Improve "confirm deletion" behaviour
* add the event listener only once, instead of every time the form is clicked

* use a standard button by default, so that the second state with a
  "danger" button is more visible

* reset confirmation button to original state when losing focus

Co-authored-by: Glandos <bugs-github@antipoul.fr>
2021-07-17 13:54:11 +02:00
Baptiste Jonglez
da49012d58 Add test cases to ensure we can't delete objects with a GET 2021-07-17 13:54:11 +02:00
Baptiste Jonglez
255aacefb3 Fix tests for history deletion 2021-07-17 13:54:11 +02:00
Baptiste Jonglez
95b2cf870b Fix test for project deletion 2021-07-17 13:54:11 +02:00
Baptiste Jonglez
db982572aa History: also ask for private code to confirm deletion
This is the same idea as deleting a project: deleting history is also a
major destructive action.  We reuse the same form as for project deletion
to ask for the private code and provide CSRF validation.
2021-07-17 13:54:11 +02:00
Baptiste Jonglez
969029a811 Add CSRF validation to project history deletion 2021-07-17 13:54:11 +02:00
Baptiste Jonglez
2bb6f2b6a7 Rework project deletion to add CSRF validation
It requires reworking the user interface, but it's probably for the best.
2021-07-17 13:54:11 +02:00
Baptiste Jonglez
109d7fca17 Add CSRF validation to most disruptive actions
This also switches all such actions to POST requests.

Deleting the project is handled in another commit because it requires more
changes.
2021-07-17 13:54:11 +02:00
Baptiste Jonglez
078f9e8b6b Fix invalid HTML 2021-07-14 16:10:13 +02:00
Baptiste Jonglez
2e4bb0ec8c tests: ensure that /tmp/ihatemoney.db does not get overwritten
Most of the tests are using a separate database, but we have a few tests
that are loading default values and are writing to /tmp/ihatemoney.db.

This is annoying because it's also the database used for development:
running the test suite breaks the dev database.

To fix this, always use a separate testing database to avoid interference.
2021-07-14 10:36:39 +02:00
Reza Almanda
686c60e7c5 Translated using Weblate (Indonesian)
Currently translated at 100.0% (235 of 235 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2021-07-12 23:30:30 +02:00
Andrew Dickinson
72230448a7
Improve localization on the History page using string replacement (#587) 2021-07-12 22:48:19 +02:00
Glandos
2f42afbc69 Translated using Weblate (French)
Currently translated at 100.0% (235 of 235 strings)

Co-authored-by: Glandos <bugs-github@antipoul.fr>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
Translation: I Hate Money/I Hate Money
2021-07-11 00:25:19 +02:00
phlostically
12167a09bf Translated using Weblate (Esperanto)
Currently translated at 100.0% (235 of 235 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/eo/
Translation: I Hate Money/I Hate Money
2021-07-11 00:25:19 +02:00
Oğuz Ersen
e377bc6443 Translated using Weblate (Turkish)
Currently translated at 100.0% (235 of 235 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
Translation: I Hate Money/I Hate Money
2021-07-11 00:25:19 +02:00
Glandos
526db044b2 Use "No one" instead of "Noone", that is really too old. 2021-07-10 00:40:06 +02:00
Glandos
ccad5ac859 align translation with existing tokens 2021-07-10 00:40:06 +02:00
Glandos
3f9303d5b5 badges for selectors, and payees in column 2021-07-10 00:40:06 +02:00
Glandos
e9afc539c8 slightly more margin for details 2021-07-10 00:40:06 +02:00
Glandos
c4f98580c1 move extra options to bottom 2021-07-10 00:40:06 +02:00
Glandos
6e2283f915 draft 2021-07-10 00:40:06 +02:00
Baptiste Jonglez
7ceb66f01b Enable CI builds with postgresql and mariadb 2021-07-10 00:39:54 +02:00
Baptiste Jonglez
33aad60352 Clarify that the test config files are not used for all tests... 2021-07-10 00:39:54 +02:00
Baptiste Jonglez
2616bed4ff Fix SQL query in has_multiple_currencies
The previous query was working fine on sqlite and mariadb, but not on
postgresql :

    return self.get_bills_unordered().group_by(Bill.original_currency).count() > 1

    psycopg2.errors.GroupingError: column "bill.id" must appear in the GROUP BY clause or be used in an aggregate function

The failing SQL query was:

    [SQL: SELECT count(*) AS count_1
    FROM (SELECT bill.id AS bill_id, ...
    FROM bill JOIN person ON person.id = bill.payer_id JOIN project ON project.id = person.project_id
    WHERE bill.payer_id = person.id AND person.project_id = project.id AND project.id = %(id_1)s GROUP BY bill.original_currency) AS anon_1]

The problem is that sqlalchemy creates a subquery for postgresql, and the
internal query does not make sense.

GROUP BY is not actually useful, we simply need to count the number of
distinct currencies in the list of bills.
2021-07-10 00:34:43 +02:00
Eugenia Russell
df5d27da50 Translated using Weblate (Greek)
Currently translated at 63.6% (147 of 231 strings)

Co-authored-by: Eugenia Russell <eugenia.russell2019@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/el/
Translation: I Hate Money/I Hate Money
2021-07-09 10:05:06 +02:00
Baptiste Jonglez
8b2da3757c Add missing field description from #774 2021-07-09 01:24:29 +02:00
Baptiste Jonglez
42dd2d6f7d Regenerate translation files 2021-07-09 01:20:50 +02:00
Baptiste Jonglez
ec1e6cf26e project edit form: allow empty private code (= no change)
Currently, the private code is mandatory in the edit form, and it's not
clear whether it's meant to **check** for the right private code or to
**change** the private code.

Make the field optional and rename the help message to make it clearer
it's only meant to **change** the private code.

Also change the field type to "password" instead of simple string.
2021-07-09 01:20:50 +02:00
Baptiste Jonglez
856412a70d project forms: Clarify relation between inheriting classes
The save() function is used to create a new project, so it belongs to the
form creation class.

Also clarify overriden form fields.
2021-07-09 01:20:50 +02:00
Baptiste Jonglez
dae7870b12 Fix error message syntax to allow translation extraction 2021-07-07 01:01:00 +02:00
Glandos
07b86bc580
Rework currency switching (#661)
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>

Currency switching is both simpler and less powerful. This was done primarily for users, to have a clear and logical understanding, but the code is also simpler. The main change is that it is now forbidden to switch a project to "no currency" if bills don't share the same currency.

Also, tests assume that projects are created without currency, as in the web UI.
2021-07-06 21:51:32 +02:00
Eugenia Russell
6f662e9dae Translated using Weblate (Greek)
Currently translated at 63.2% (146 of 231 strings)

Co-authored-by: Eugenia Russell <eugenia.russell2019@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/el/
Translation: I Hate Money/I Hate Money
2021-06-24 23:00:00 +02:00
Glandos
27d95f2d01 fix flake8 2021-06-10 00:09:59 +02:00
Glandos
c62965d4bf fix basic deprecation warnings 2021-06-10 00:09:59 +02:00
Glandos
44fa1af375 change method to find login_throttler
that was triggering a lot of deprecation warnings due to
iterating over all known objects.
2021-06-10 00:09:59 +02:00
Glandos
69a1ad6685 Adapt code for https://github.com/wtforms/wtforms/pull/568 2021-06-09 23:38:05 +02:00
Glandos
6c43ffaac4 Adapt code for https://github.com/wtforms/wtforms/pull/288 2021-06-09 23:38:05 +02:00
Glandos
859aa8fb1e
Fix test for generate_hash_password (#766)
Use the function that check password instead of just checking the output length. This length can be variable and will change with Werkzeug 2
2021-06-07 23:11:38 +02:00
Glandos
74e222f1a1 remove usage of Flask-Script
Use flask.cli instead with compatibility layer for existing commands,
such as "runserver".
2021-06-06 15:13:21 +02:00
Kristoffer Grundström
08b3765bdd Translated using Weblate (Swedish)
Currently translated at 85.7% (198 of 231 strings)

Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/sv/
Translation: I Hate Money/I Hate Money
2021-06-03 21:57:06 +02:00
phlostically
065449bb5e Translated using Weblate (Esperanto)
Currently translated at 100.0% (231 of 231 strings)

Translated using Weblate (Esperanto)

Currently translated at 94.8% (219 of 231 strings)

Translated using Weblate (Esperanto)

Currently translated at 92.6% (214 of 231 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/eo/
Translation: I Hate Money/I Hate Money
2021-06-03 21:57:06 +02:00
Vsevolod
467870a245 Translated using Weblate (Russian)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: Vsevolod <sevauserg.com@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
Translation: I Hate Money/I Hate Money
2021-06-03 21:57:06 +02:00
Allan Nordhøy
6bea519c78 Translated using Weblate (Norwegian Bokmål)
Currently translated at 74.0% (171 of 231 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
Translation: I Hate Money/I Hate Money
2021-06-03 21:57:06 +02:00
Eugenia Russell
3a521c2f33 Translated using Weblate (Greek)
Currently translated at 55.8% (129 of 231 strings)

Translated using Weblate (Greek)

Currently translated at 42.8% (99 of 231 strings)

Translated using Weblate (Greek)

Currently translated at 26.4% (61 of 231 strings)

Co-authored-by: Eugenia Russell <eugenia.russell2019@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/el/
Translation: I Hate Money/I Hate Money
2021-06-03 21:57:06 +02:00
fcoterroba
b79cfe8319 Translated using Weblate (Spanish)
Currently translated at 42.4% (98 of 231 strings)

Co-authored-by: fcoterroba <fcoterroba@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es/
Translation: I Hate Money/I Hate Money
2021-04-16 23:24:19 +02:00
whenwesober
b09df5b05a Translated using Weblate (Indonesian)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2021-04-16 23:24:19 +02:00
Reza Almanda
1a10e0ea0f Translated using Weblate (Indonesian)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2021-04-16 23:24:19 +02:00
Eugenia Russell
20c7302683 Translated using Weblate (Greek)
Currently translated at 24.6% (57 of 231 strings)

Translated using Weblate (Greek)

Currently translated at 20.7% (48 of 231 strings)

Co-authored-by: Eugenia Russell <eugenia.russell2019@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/el/
Translation: I Hate Money/I Hate Money
2021-04-16 23:24:19 +02:00
Glandos
c617a17457 Deleted translation using Weblate (Telugu) 2021-04-12 23:13:53 +02:00
Pratyush Kongalla
d8f9ef2dc9 Added translation using Weblate (Telugu)
Co-authored-by: Pratyush Kongalla <connect2pratyush@gmail.com>
2021-04-12 23:13:53 +02:00
958a85148f
Navbar change (#739)
* Changed the navbar element spacing to make it look more even.

* Put history and settings in a submenu

Co-authored-by: Joshua <mckerracher@gmail.com>
2021-04-12 21:23:25 +02:00
Weblate (bot)
400149bad1
Translations update from Weblate (#725)
* Added translation using Weblate (Telugu)

Co-authored-by: Pratyush Kongalla <connect2pratyush@gmail.com>

* Translated using Weblate (Serbian)

Currently translated at 36.3% (84 of 231 strings)

Added translation using Weblate (Serbian)

Co-authored-by: Rastko Sarcevic <ralesarcevic@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/sr/
Translation: I Hate Money/I Hate Money

* Deleted translation using Weblate (Telugu)

Co-authored-by: Pratyush Kongalla <connect2pratyush@gmail.com>
Co-authored-by: Rastko Sarcevic <ralesarcevic@gmail.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2021-04-11 16:36:35 +02:00
c23145ce2a
Change the URL of the exchange API. Fixes #735 (#736) 2021-04-07 15:29:33 +02:00
TomSolGit
4c12de5beb Translated using Weblate (Italian)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: TomSolGit <Tommaso.solfa@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
Translation: I Hate Money/I Hate Money
2021-03-17 20:26:54 +01:00
Michalis
97b0ad14f0 Translated using Weblate (Greek)
Currently translated at 15.1% (35 of 231 strings)

Co-authored-by: Michalis <michalisntovas@yahoo.gr>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/el/
Translation: I Hate Money/I Hate Money
2021-02-23 22:11:03 +01:00
Reza Almanda
0a538c276e Translated using Weblate (Indonesian)
Currently translated at 83.9% (194 of 231 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2021-02-23 22:11:03 +01:00
Reza Almanda
9245a52f82 Translated using Weblate (Indonesian)
Currently translated at 69.6% (161 of 231 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Sander Kooijmans
bf716027d6 Translated using Weblate (Dutch)
Currently translated at 91.3% (211 of 231 strings)

Co-authored-by: Sander Kooijmans <weblate@gogognome.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Rens
7372735107 Translated using Weblate (Dutch)
Currently translated at 91.3% (211 of 231 strings)

Translated using Weblate (Dutch)

Currently translated at 80.0% (185 of 231 strings)

Co-authored-by: Rens <hallo@rensoliemans.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Sander Kooijmans
7dbb5fa712 Translated using Weblate (Dutch)
Currently translated at 80.0% (185 of 231 strings)

Co-authored-by: Sander Kooijmans <weblate@gogognome.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Rens
e193e965d2 Translated using Weblate (Dutch)
Currently translated at 79.2% (183 of 231 strings)

Co-authored-by: Rens <hallo@rensoliemans.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Sander Kooijmans
e5d4e52d3b Translated using Weblate (Dutch)
Currently translated at 79.2% (183 of 231 strings)

Co-authored-by: Sander Kooijmans <weblate@gogognome.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Rens
c7f654ce6d Translated using Weblate (Dutch)
Currently translated at 78.3% (181 of 231 strings)

Translated using Weblate (Dutch)

Currently translated at 77.4% (179 of 231 strings)

Co-authored-by: Rens <hallo@rensoliemans.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Sander Kooijmans
db280d470a Translated using Weblate (Dutch)
Currently translated at 78.3% (181 of 231 strings)

Translated using Weblate (Dutch)

Currently translated at 77.4% (179 of 231 strings)

Co-authored-by: Sander Kooijmans <weblate@gogognome.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Rens
a8e84b9fb9 Translated using Weblate (Dutch)
Currently translated at 76.6% (177 of 231 strings)

Co-authored-by: Rens <hallo@rensoliemans.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Sander Kooijmans
9cfc6cdada Translated using Weblate (Dutch)
Currently translated at 76.6% (177 of 231 strings)

Co-authored-by: Sander Kooijmans <weblate@gogognome.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
Michalis
a43e68da0d Translated using Weblate (Greek)
Currently translated at 15.1% (35 of 231 strings)

Co-authored-by: Michalis <michalisntovas@yahoo.gr>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/el/
Translation: I Hate Money/I Hate Money
2021-02-17 09:55:00 +01:00
whenwesober
cb0b9d58bc Translated using Weblate (Indonesian)
Currently translated at 68.8% (159 of 231 strings)

Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2021-01-26 18:07:31 +01:00
an p
1c27081809 Translated using Weblate (Greek)
Currently translated at 14.2% (33 of 231 strings)

Co-authored-by: an p <anastasiapapacosta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/el/
Translation: I Hate Money/I Hate Money
2021-01-14 21:31:59 +01:00
Oliver Klimt
be62e39f13 Translated using Weblate (Czech)
Currently translated at 19.4% (45 of 231 strings)

Co-authored-by: Oliver Klimt <klimt.oliver@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/cs/
Translation: I Hate Money/I Hate Money
2021-01-09 22:42:30 +01:00
Glandos
264f846e0e Translated using Weblate (Italian)
Currently translated at 96.5% (223 of 231 strings)

Co-authored-by: Glandos <bugs-github@antipoul.fr>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
Translation: I Hate Money/I Hate Money
2021-01-06 14:03:04 +01:00
Miguel Victoria Villaquiran
18068d76ca
Simplify tests (#685)
Fix #501
2021-01-05 22:17:26 +01:00
Glandos
3f4b47276e Set black target to python3.6 2020-11-25 09:25:36 +01:00
Glandos
ce4d64da57 formatting 2020-11-24 22:25:02 +01:00
Mayank Choudhary
6ec7dd6077
Added a page for downloading mobile application (#688)
Fixes #597 
Fixes #697 

Co-authored-by: Glandos <bugs-github@antipoul.fr>
2020-11-24 22:22:46 +01:00
Baptiste Jonglez
8a5193f443 Localize date in the "Added on" tooltip in the list of bills 2020-11-13 21:40:39 +01:00
Baptiste Jonglez
384d3eeb2c Document timezone settings 2020-11-13 21:40:39 +01:00
Baptiste Jonglez
914482bc76 Use Flask-Babel to localize datetime in the History Page
By formatting datetime on the server, we get nice localized datetime
strings that are adapted to the currently-selected language.  Example:

- English: "Apr 26, 2020, 3:58:54 PM"
- French: "26 avr. 2020 à 15:58:54"
- German: "26.04.2020, 15:58:54"
- Spanish: "26 abr. 2020 15:58:54"
- Indonesian: "26 Apr 2020 15.58.54"
- Chinese: "2020年4月26日 下午3:58:54"

However, there is a downside: time is not adapted to the user timezone.

The solution is to define a timezone on the server: we use the server OS
timezone by default, and it can be customized through the
BABEL_DEFAULT_TIMEZONE setting.  It's still not ideal, because it assumes
that all users are in the same timezone (the one configured on the server).
2020-11-13 21:40:39 +01:00
Baptiste Jonglez
e1746e81f5 Add portuguese to available languages 2020-11-13 00:28:52 +01:00
Jingwen Yang
106bc2df28 Add Japanese to the supported languages 2020-11-13 00:13:29 +01:00
mppmpp315
6833c6eee8 Update messages.po 2020-11-13 00:10:48 +01:00
Puyma
d8d006f800 Translated using Weblate (Spanish)
Currently translated at 41.5% (96 of 231 strings)

Translated using Weblate (Spanish (Latin America))

Currently translated at 98.2% (227 of 231 strings)

Co-authored-by: Puyma <puyma@amyup.xyz>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es/
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
Translation: I Hate Money/I Hate Money
2020-11-13 00:09:17 +01:00
Jwen921
94a472be96 Translated using Weblate (Japanese)
Currently translated at 100.0% (231 of 231 strings)

Translated using Weblate (Japanese)

Currently translated at 77.9% (180 of 231 strings)

Co-authored-by: Jwen921 <yangjingwen0921@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ja/
Translation: I Hate Money/I Hate Money
2020-11-13 00:09:17 +01:00
Weblate (bot)
a0280b657e
Translations update from Weblate (#693)
* Translated using Weblate (German)

Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: mdmdmdmdmd <exe_tmp@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
Translation: I Hate Money/I Hate Money

* Translated using Weblate (Japanese)

Currently translated at 15.5% (36 of 231 strings)

Co-authored-by: Jwen921 <yangjingwen0921@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ja/
Translation: I Hate Money/I Hate Money

Co-authored-by: mdmdmdmdmd <exe_tmp@gmx.de>
Co-authored-by: Jwen921 <yangjingwen0921@gmail.com>
2020-11-08 13:10:26 +01:00
Kristoffer Grundström
5f54232e78 Translated using Weblate (Swedish)
Currently translated at 1.7% (4 of 231 strings)

Added translation using Weblate (Swedish)

Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/sv/
Translation: I Hate Money/I Hate Money
2020-10-31 18:26:35 +01:00
Sylphystia
e312acebbd Translated using Weblate (Italian)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: Sylphystia <yuidirnt@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
Translation: I Hate Money/I Hate Money
2020-10-31 18:26:35 +01:00
Jwen921
46ae3e0bc2 Added translation using Weblate (Japanese)
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: Jwen921 <yangjingwen0921@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
Translation: I Hate Money/I Hate Money
2020-10-31 18:26:35 +01:00
ssantos
0e24ce81c8 Translated using Weblate (Portuguese)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/
Translation: I Hate Money/I Hate Money
2020-10-09 22:19:12 +02:00
Glandos
b89bd1e690 sqlalchemy database uri needs for '/' for local files
fix #672
2020-09-27 22:41:36 +02:00
Fakhruddin Ahmad Darwis
5103cc4d2a Translated using Weblate (Indonesian)
Currently translated at 68.8% (159 of 231 strings)

Co-authored-by: Fakhruddin Ahmad Darwis <fakhri.satu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2020-09-27 22:08:46 +02:00
ian Vatega
f6a90050b7 Added translation using Weblate (Esperanto)
Added translation using Weblate (Spanish)

Co-authored-by: ian Vatega <admin@sendenai.com>
2020-09-27 22:08:46 +02:00
ssantos
2377563cc5 Translated using Weblate (Portuguese)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/
Translation: I Hate Money/I Hate Money
2020-09-27 22:08:46 +02:00
Sander Kooijmans
a6e3229e81 Translated using Weblate (Dutch)
Currently translated at 75.3% (174 of 231 strings)

Co-authored-by: Sander Kooijmans <weblate@gogognome.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2020-09-07 22:19:31 +02:00
Miguel Victoria Villaquiran
3f2ffae549 Translated using Weblate (Spanish (Latin America))
Currently translated at 98.2% (227 of 231 strings)

Co-authored-by: Miguel Victoria Villaquiran <miguelvicvil@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
Translation: I Hate Money/I Hate Money
2020-09-07 22:19:31 +02:00
Glandos
58e5eca270
update to black 20.8b1 (#676)
Some trailing commas were removed because of some black changes.
2020-08-27 22:09:04 +02:00
André Oliveira
d8d4e99631 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt_BR/
2020-08-27 21:29:33 +02:00
ssantos
f94aad4eac Translated using Weblate (Portuguese)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/

Added translation using Weblate (Portuguese)
2020-08-27 21:29:33 +02:00
Alexey Napalkov
e413ebde02 Translated using Weblate (Russian)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
2020-08-27 21:29:33 +02:00
Oymate
4a8e61f559 Translated using Weblate (Bengali (Bangladesh))
Currently translated at 2.1% (5 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/bn_BD/

Added translation using Weblate (Bengali (Bangladesh))
2020-08-27 21:29:33 +02:00
Kobus van Schoor
7cb562dd0a
Update apache-vhost config generation (#673)
The current configuration generated uses the old syntax for Apache access control.
Use the new syntax for Apache 2.4 that is widely used now.
2020-08-23 21:10:22 +02:00
Baptiste Jonglez
eb441a1de9 Fix test location
The test for CVE-2020-15120 was mistakenly added to the HistoryTestCase
class, where it does not belong.
2020-07-26 19:32:50 +02:00
Baptiste Jonglez
b8f7ce34dd Add test case for CVE-2020-15120 2020-07-26 19:21:16 +02:00
Baptiste Jonglez
7fd1828888 Fix crash when trying to get a member from the wrong project
This was hidden by the CVE-2020-15120 issue: now that we no longer return
members from the wrong project, we need to handle the case where there is
nothing to return.
2020-07-26 19:21:16 +02:00
Baptiste Jonglez
8d77cf5d56 Fix unauthorized access and modification of project data (CVE-2020-15120)
An authenticated member of one project can modify and delete members of
another project, without knowledge of this other project's private
code. This can be further exploited to access all bills of another project
without knowledge of this other project's private code.

With the default configuration, anybody is allowed to create a new
project. An attacker can create a new project and then use it to become
authenticated and exploit this flaw. As such, the exposure is similar to
an unauthenticated attack, because it is trivial to become authenticated.

This issue was caused by a wrong database queries in PersonQuery.

For more details, see https://github.com/spiral-project/ihatemoney/security/advisories/GHSA-67j9-c52g-w2q9
2020-07-26 19:21:16 +02:00
Glandos
040d76af83
Relax pin point dependencies (#660)
* Please don't pin point releases and future releases
Fixes #658

* fix expression checked by new flake8

* (really) fix condition

* ensure Flask-WTF is ok

* don't forget, it's >= not >

Co-authored-by: Glandos <bugs-framagit@antipoul.fr>
2020-07-26 18:21:55 +02:00
zorun
21c193710c
Improve French translation of email templates (#593)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2020-07-26 13:16:13 +02:00
Baptiste Jonglez
29dd0c3d99 Add 'pt_BR' and 'ta' to default languages, update changelog 2020-07-18 01:05:22 +02:00
Abo7atm
909ac7e9d6
Change mobile link icon to point to Play Store (#597) (#598)
* Change mobile link icon to point to Play Store (#597)

* Link mobile app button to correct page (#597)
2020-07-18 00:54:52 +02:00
kanta
65988d4993 Changed @media max-width for .home .card to 450px to make it more responsive 2020-07-18 00:50:11 +02:00
raghupalash
351185b854 added 'hi' in SUPPORTED_LANGUAGES list in default_settings.py 2020-07-18 00:43:13 +02:00
rohitn01
d73dea6750 Translated using Weblate (Tamil)
Currently translated at 28.1% (65 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ta/

Added translation using Weblate (Tamil)
2020-07-18 00:37:13 +02:00
Stefano Mortellaro
1773a5facf Translated using Weblate (Italian)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
2020-07-18 00:37:13 +02:00
Isabella Rocha de Oliveira
5f700a13f8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.3% (218 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt_BR/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 45.4% (105 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt_BR/
2020-07-18 00:37:13 +02:00
Rémy Hubscher
da1d9c159e Added translation using Weblate (Portuguese (Brazil)) 2020-07-18 00:37:13 +02:00
Milo Ivir
c57770b2a4 Translated using Weblate (German)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
2020-07-18 00:37:13 +02:00
Allan Nordhøy
baddc65fb1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 71.4% (165 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-07-18 00:37:13 +02:00
Muge Niu
a30f55031a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
2020-06-15 23:22:12 +02:00
raghupalash
6eca1d2a4a Translated using Weblate (Hindi)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/hi/

Translated using Weblate (Hindi)

Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/hi/

Added translation using Weblate (Hindi)
2020-06-15 23:22:12 +02:00
Allan Nordhøy
35c65d0926 Translated using Weblate (Norwegian Bokmål)
Currently translated at 71.4% (165 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-06-07 21:14:44 +02:00
Szylu
222534ee0e Translated using Weblate (Polish)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pl/
2020-06-07 21:14:44 +02:00
Oğuz Ersen
aef5570488 Translated using Weblate (Turkish)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
2020-06-02 23:12:42 +02:00
Allan Nordhøy
d68e524695 Translated using Weblate (Norwegian Bokmål)
Currently translated at 68.8% (159 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-06-02 23:12:42 +02:00
Glandos
305dc6caf3 Translated using Weblate (French)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/

Translated using Weblate (French)

Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-06-02 23:12:42 +02:00
Glandos
b108838253
update translations (#641) 2020-05-30 21:57:45 +02:00
zorun
04b5a59795
Fix missing format string in norwegian translation (#639)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-05-30 17:53:18 +02:00
Glandos
4c8b90b8cc
Rename see to show (#638) 2020-05-30 14:36:50 +02:00
Natalie Jann
08e176a27c Translated using Weblate (German)
Currently translated at 99.1% (229 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/

Translated using Weblate (Spanish (Latin America))

Currently translated at 97.8% (226 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
2020-05-30 13:53:10 +02:00
Stefano Mortellaro
8e80148688 Translated using Weblate (Italian)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
2020-05-30 13:53:10 +02:00
Oğuz Ersen
096c16deee Translated using Weblate (Turkish)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/

Translated using Weblate (Turkish)

Currently translated at 41.5% (96 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
2020-05-30 13:53:10 +02:00
Allan Nordhøy
9ec652a0d1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 68.3% (158 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-05-30 13:53:10 +02:00
Glandos
24bf340e83 Translated using Weblate (French)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-05-30 13:53:10 +02:00
Rajat Singh
8d041fdba3
fixed bug on tool-tip message (#635)
Fix #634
2020-05-25 09:34:44 +02:00
Daniel Atwood
0fd2958865
Populate the demo project with defaults. (#616) 2020-05-24 11:45:34 +02:00
Adrien CLERC
82393a110a Move Chinese simplified into the right folder 2020-05-24 11:17:36 +02:00
Adrien CLERC
804d7d758e Build translations 2020-05-24 11:04:35 +02:00
Weblate (bot)
d41c93c3fb
Translations update from Weblate (#624)
Italian 100%
Ukrainian 28%
2020-05-24 10:28:36 +02:00
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
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
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
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
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
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
Rémy HUBSCHER
53dae96bdb
Pin WTForms 2.2.1 2020-04-23 10:22:50 +02:00
Rémy HUBSCHER
3592a8e2f7
Update translations. 2020-04-23 10:10:37 +02:00
Glandos
11aef3f3d1
update i18n (#562) 2020-04-21 14:41:27 +02:00
Rémy HUBSCHER
299c64a48c
Add isort support. (#561) 2020-04-21 13:59:41 +02:00
Andrew Dickinson
026a072235
Add Project History Page (#553)
Co-Authored-By: Glandos <bugs-github@antipoul.fr>

All project activity can be tracked, using SQLAlchemy-continuum.
IP addresses can optionally be recorded.
2020-04-20 15:30:27 +02:00
eMerzh
03251c090e
merge settings and import to avoid clutter (#550) 2020-04-08 14:00:24 +02:00
Charles Rose
4b79efe18a
updated web.py to make session permanent (#547)
* moved making session permanent to after authentication in web.py

Co-authored-by: Charlie Rose <charlierose@Charlies-MacBook-Pro.local>
2020-04-07 17:09:33 +02:00
eMerzh
23b7e397f2
fix(Home): correct responsive width of cards (#549) 2020-04-05 23:39:50 +02:00
bmatt
a8e74c98df
Bmatticus/feature/112 dashboard sorting (#538)
* Added DataTables for table sorting, pagination, and searching of bill_table for dashboard. Issue #112

* Moved datatables CSS/JS to dashboard to reduce loaded data throughout

* Moved link back to proper place, in head tab, but added if to prevent loading CSS/JS for datatables outside of the dashboard. Also added eye icon to drill into list_billa API to be more consistent with the look and feel of the overall site.

Co-authored-by: bmatt <bmatt@nuc01.attlocal.net>
2020-03-06 23:06:17 +01:00
Glandos
5ec3dc0acc
Align tables in statistics (#535)
* Align tables in statistics

The table in sidebar is now aligned with the one in content, to avoid
redundant informations.
All tables are back to normal on small devices.

* fix test

* run black on tests
2020-02-20 09:43:50 +01:00
zorun
9378694034
Paginate the list of bills (#480)
We display 100 bills on each page.  We only show previous/next buttons (at
the top of the view) and the list of pages (at the bottom) if there are
more than one pages.

This uses built-in pagination support from Flask-SQLAlchemy:

  https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.BaseQuery.paginate
  https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.Pagination
2020-02-20 09:43:00 +01:00
DavidRThrashJr
72653c0d3a
Added support for multiple API versions (#533)
* Added support for multiple API versions

Note that no changes were made to the api, the code was refactored to allow for new versions of the api to be created down the road.

Here's what this would look like:
+-- api/
    +-- v1/
        +-- __init__.py
        +-- resources.py
    +-- v1_1/
        +-- __init__.py
        +-- resources.py
    +-- v2/
        +-- __init__.py
        +-- resources.py
    +-- __init__.py
    +-- common.py

* reformatted using black

/Users/drthrash/PycharmProjects/ihatemoney/ihatemoney/api/v1/resources.py
reformatted /Users/drthrash/PycharmProjects/ihatemoney/ihatemoney/api/common.py
All done!  🍰 

* Applying fix for unused import in init.py

https://stackoverflow.com/questions/31079047/python-pep8-class-in-init-imported-but-not-used

* Formatting changes recommended by black

All done!  🍰 
1 file reformatted, 22 files left unchanged.
2020-02-20 09:35:03 +01:00
DavidRThrashJr
32d76178c0
Use SQL statement for summing up weights
* Update models: Bill.pay_each()
* Import sql func
* reformatted using black
* Added ModelsTestCase.test_bill_pay_each() in order to test the SQL query change within pay_each.
Had to add Project.ProjectQuery.get_by_name() for the test.
2020-02-17 18:39:51 +01:00
Weblate (bot)
e4f18f0600
Update from Weblate (#510)
* Added translation using Weblate (Indonesian)

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (158 of 158 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/

* Added translation using Weblate (Ukrainian)

* Translated using Weblate (Ukrainian)

Currently translated at 11.4% (18 of 158 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/uk/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 20.9% (33 of 158 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/

* Translated using Weblate (German)

Currently translated at 100.0% (155 of 155 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/

Co-authored-by: Muhammad Fauzi <fauzipadlaw@users.noreply.github.com>
Co-authored-by: Muge Niu <mugeniu12138@gmail.com>
Co-authored-by: flolilo <30194876+flolilo@users.noreply.github.com>
2020-02-13 21:39:08 +01:00
Edwin Smulders
02242f2e12
Initial montly expenses (#526) 2020-02-09 13:03:52 +01:00
DavidRThrashJr
bf691660ee
Update forms.html (#531)
Made the html formatting more readable
2020-02-09 13:01:47 +01:00
James Leong
1f62f18154 Statistics view #323
Remove header and table column of 'Balance' in statistics view
2020-02-08 23:17:02 +01:00
Nicolas Vanvyve
9aa7e62d0f Import previously exported json data (#518)
Fix #417 

* New tab upload

* Extract data from JSON

* Add users

* Black format

* Try to add bill

* Import bills

* Add french translation msg

* Black reformat missing

* Deactivated users are supported

* Test import

* Remove temp file in upload_json()

* Incomplete tests

* tests import

* Update ihatemoney/translations/fr/LC_MESSAGES/messages.po

Co-Authored-By: Rémy HUBSCHER <hubscher.remy@gmail.com>

* Remove useless variable and check json format

* Use String.IO and test for wrong json

* Remove coma

Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
2020-01-13 21:17:55 +01:00
John-Michael Reed
73a4d139ff Fixed typos in tests.py (#521) 2019-12-29 20:34:04 +01:00
Weblate (bot)
a00a9ff6b0 Translated using Weblate (Norwegian Bokmål) (#509)
Currently translated at 84.8% (134 of 158 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2019-11-13 16:45:18 +00:00
Tom Biju
c44784c3ed prevent bill cancellation when cancelling autocomplete (#506) 2019-11-01 01:11:03 +00:00
Weblate (bot)
3cae4de40d Added translation using Weblate (Czech) (#505) 2019-10-25 11:18:50 +00:00
José Antonio de la Torre
b683d062f0 Token support (#504)
Added API support to generate authentication tokens, at `/api/projects/:id/token`
2019-10-25 11:17:54 +00:00
e30d863c56 Change the color of the add a member button. 2019-10-20 21:23:09 +02:00
nautilusx
dabb321f9d Translated using Weblate (German)
Currently translated at 100.0% (155 of 155 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
2019-10-20 21:22:56 +02:00
José Antonio de la Torre
c931a98d70 Added missing strings and fixed some of them 2019-10-20 21:09:47 +02:00
f51a02005c Remove jQuery datepicker.
We don't need this anymore because all major browser now have implemented that feature on the browser itself.

Closes #221.
2019-10-19 12:31:17 +02:00
6a4014cf5a Fix the "and add a new one" button. 2019-10-19 12:30:56 +02:00
José Antonio de la Torre
a50d54d5da typo 2019-10-19 12:30:31 +02:00
José Antonio de la Torre
28440d15ab Added test 2019-10-19 12:30:31 +02:00
José Antonio de la Torre
4b18be97e6 Fixed public project creation flag in API creation #246 2019-10-19 12:30:31 +02:00
José Antonio de la Torre
5158135ac6 Prettify css 2019-10-17 20:17:38 +02:00
José Antonio de la Torre
a0cb2b78b7 Removed unused textarea to solve flake8 error 2019-10-17 20:17:38 +02:00
José Antonio de la Torre
5e37e33716 Added support to split messages #133 2019-10-17 20:17:38 +02:00
f260a2c9e7 Use black to refomat the files. 2019-10-14 21:20:38 +02:00
f2a0b9f3f0 Merge remote-tracking branch 'weblate/master' 2019-10-14 19:35:39 +02:00
freetim
7b87bd3842 Add german as language and update german translation 2019-10-14 16:53:57 +02:00
freetim
df6feb1451 Add first version of german translation 2019-10-14 16:53:57 +02:00
Tim
45baf44418 Added translation using Weblate (German) 2019-10-14 16:52:07 +02:00
95d4891857 Add errors to the output if they arise. 2019-10-14 16:52:02 +02:00
21c2ef1775 Enhance pytest support, update ProxyFix import. 2019-10-11 20:52:05 +02:00
480939afe5 Remove support for python2.
In the same move :
- use a setup.cfg file for packaging
- remove the use of six
2019-10-11 19:52:37 +02:00
4dd9da8e7c Translated using Weblate (French)
Currently translated at 100.0% (158 of 158 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2019-10-08 11:43:05 +02:00
Heimen Stoffels
b6771ef03f Translated using Weblate (Dutch)
Currently translated at 100.0% (158 of 158 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
2019-10-08 11:43:05 +02:00
3d4d40bd12 Fix a small typo in the french project-reminder email 2019-10-07 18:15:45 +02:00
Leo Mouyna
e453c917ed Add new translations 2019-10-03 18:17:25 +02:00
Leo Mouyna
b70476cf8f fix unit tests 2019-10-03 18:15:50 +02:00
Leo Mouyna
afc9353180 feat: Optional field 'external link' in bill form.
An optional field has been added to the bill form to add a link to a real bill. A new action button allow user to see this bill. Breaking change with Bill model update for database, a migration is needed.

See issue #429.
2019-10-03 18:15:50 +02:00
Allan Nordhøy
1f539b5c0d Translated using Weblate (Norwegian Bokmål)
Currently translated at 85.2% (132 of 155 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2019-10-02 18:29:50 +02:00
Heimen Stoffels
f31c4c56e0 Translated using Weblate (Dutch)
Currently translated at 100.0% (155 of 155 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
2019-10-02 18:29:50 +02:00
Adrien CLERC
54ce277db5 Add more human "for who?" description.
The limit for displaying "Everyone but …"
instead of the ower's list is completely empirical.
2019-09-30 23:57:02 +02:00
Brice Maron
ad6c6a4abb api: add bearer token support 2019-09-30 23:55:28 +02:00
Alexis Métaireau
82d94a7490 Trim member usernames. Fixes #353 2019-09-27 23:36:25 +02:00
Diego Caraballo
787334777a Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (153 of 153 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
2019-09-26 18:23:53 +02:00
Rémy HUBSCHER
4ec4525075
Merge pull request #476 from spiral-project/integrate-debts
Fix #434 Use the debts lib to solve settlements.
2019-09-24 22:19:38 +02:00
74c51be5a3 Fix #434 Use the debts lib to solve settlements. 2019-09-24 21:25:06 +02:00
257a146b74 Translated using Weblate (French)
Currently translated at 100.0% (153 of 153 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2019-09-24 17:19:55 +02:00
9fc7fc768e Add .mo files for spanish translation 2019-09-24 17:13:58 +02:00
8bdb8fb445 Add support for spanish language (es_419) 2019-09-24 17:13:20 +02:00
Diego Caraballo
bf261b8d9f Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (153 of 153 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
2019-09-24 16:50:09 +02:00
Diego Caraballo
d7f145ce4f Added translation using Weblate (Spanish (Latin America)) 2019-09-24 16:47:26 +02:00
Allan Nordhøy
4de0696072 Translated using Weblate (Norwegian Bokmål)
Currently translated at 85.0% (130 of 153 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2019-09-20 10:49:00 +02:00
Heimen Stoffels
ed083e3381 Translated using Weblate (Dutch)
Currently translated at 100.0% (153 of 153 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
2019-09-20 10:49:00 +02:00
c8396f50b9 Update translations to publish new point release. 2019-09-18 21:40:09 +02:00
Brice Maron
b82d07c3eb Move translations in template and translate link 2019-09-18 21:27:52 +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
8127586159 Update translations 2019-09-08 19:28:41 +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
01cf56559b Update requirements.txt 2019-09-06 23:59:05 +02:00
de84f35f9d Use WTForms DataRequired to be futureproof 2019-09-06 23:58:39 +02:00
a6bbd733b9 Update translations 2019-09-06 23:13:52 +02:00
Brice Maron
9c9832704d bill list: add placeholder and disable add bill when no members 2019-09-06 22:00:39 +02:00
Brice Maron
604f4696d8 fix: add table layout for sharing options
ref #451
2019-09-02 13:37:54 +02:00
Adrien CLERC
8531ea5b19 use zopflipng to the max to recompress png 2019-09-02 13:34:53 +02:00
57709d0cdc Merge branch 'master' of https://github.com/spiral-project/ihatemoney 2019-08-26 22:48:04 +02:00
6e02c4275a Add some spacing when displaying « list empty ». 2019-08-26 22:47:00 +02:00
Mesut Akcan
b368402af5 Translated using Weblate (Turkish)
Currently translated at 15.2% (21 of 138 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
2019-08-26 20:29:33 +00:00
Mesut Akcan
1842984ed4 Added translation using Weblate (Turkish) 2019-08-26 20:29:33 +00:00
Brice Maron
3d7ab656e1 Rework invite people to project 2019-08-26 20:11:42 +00:00
Brice Maron
0edf8634a4 Move export form to links 2019-08-26 19:59:55 +00:00
Brice Maron
09d887cde2 add homepage design 2019-08-18 21:37:20 +00:00
Brice Maron
5b2fa36efa fix flash messages position 2019-08-18 21:37:20 +00:00
Brice Maron
60b76f32f5 Add project switcher on login page if already logged 2019-08-18 21:37:20 +00:00
Brice Maron
72acde7122 Add footer with links 2019-08-18 21:37:20 +00:00
Brice Maron
fd49599cc7 Arrange navbar items by functions 2019-08-18 21:37:20 +00:00
b5cc1592d6 Translated using Weblate (French)
Currently translated at 100.0% (138 of 138 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2019-08-02 13:56:53 +02:00
Allan Nordhøy
5091302cf3 Translated using Weblate (Norwegian Bokmål)
Currently translated at 87.7% (121 of 138 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2019-08-02 13:56:53 +02:00
eMerzh
77ea148830 Translated using Weblate (French)
Currently translated at 100.0% (138 of 138 strings)

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

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
2019-08-02 13:56:53 +02:00
Brice Maron
89e78bb4d0 Remove Added on column from bill list.
to avoid breaking anyone's workflow, i've instead use a tooltip to display the creation date.

fix #418
2019-07-27 03:44:42 +02:00
Brice Maron
669b15b0ec Improve already project exists message 2019-07-26 22:35:02 +02:00
Brice Maron
2a9f447054 remove console log 2019-07-26 17:02:43 +02:00
Brice Maron
227ce0a1fb prettier the css file 2019-07-25 13:26:46 +02:00
Brice Maron
92ce7d4d48 Improve usability specially for small screen
- add buttons class to fix alignments
- add responsive info to big tables
- use visibility instead of display to avoid jumping rows
- reorganize menu in responsive
2019-07-25 13:26:46 +02:00
Brice Maron
773fbec5b2 Cleanup some unused css rules 2019-07-25 13:26:46 +02:00
Elizabeth Sherrock
bfa145b816 Translated using Weblate (Chinese (Simplified))
Currently translated at 8.7% (12 of 138 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_HANS-CN/
2019-07-23 18:17:08 +02:00
Elizabeth Sherrock
3381714607 Added translation using Weblate (Chinese (Simplified)) 2019-07-23 18:17:08 +02:00
Brice Maron
69a2d50d1d bump bootstrap to latest stable 2019-07-23 18:16:27 +02:00
THANOS SIOURDAKIS
f5606bdd18 Added translation using Weblate (Greek) 2019-06-11 17:24:33 +02:00
Michal Čihař
f6c6a7d360 Translated using Weblate (Norwegian Bokmål)
Currently translated at 86.2% (119 of 138 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2019-06-11 17:24:33 +02:00
Allan Nordhøy
b8a0a2e22a Translated using Weblate (Norwegian Bokmål)
Currently translated at 86.2% (119 of 138 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2019-06-11 17:24:33 +02:00
Allan Nordhøy
d10947d995 Added translation using Weblate (Norwegian Bokmål) 2019-06-11 17:24:33 +02:00
Heimen Stoffels
f2643b6508 Added Dutch translation 2019-03-12 11:52:11 +01:00
1cc69e22c0 Fix french translation for 'added on' 2019-03-02 05:18:24 +01:00
d55b996170
Do not allow negative weights on users (Fixes #362) (#366) 2019-01-03 13:29:56 +01:00
Byron Ullauri
04adfe4155 Provide basic math operations on bills (#413)
* allow basic math ops in amount field for bills form
* docs: changing compile-translations to build-translations
2019-01-03 10:03:13 +01:00
Byron Ullauri
7cb339c0bb Resolve "Update API project list" (#409)
* refactoring models _to_serialize property

* updated project api members list

* addressing flake8: line too long
2018-12-26 19:07:09 +01:00
620596e32c
Add CORS to the API. Fix #404 (#407) 2018-12-25 18:13:58 +01:00
Lucas Verney
0428cf06b5 Add bill.creation_date field (#327) 2018-12-25 16:50:14 +01:00
Jocelyn Delalande
d4729880dd flake8 code cleanup
Flake8 was nitpicking about:

ihatemoney/forms.py:192:13: F841 local variable 'e' is assigned to but never used
ihatemoney/utils.py:26:8: W605 invalid escape sequence '\w'
ihatemoney/utils.py:26:10: W605 invalid escape sequence '\s'
ihatemoney/utils.py:27:8: W605 invalid escape sequence '\s'
2018-11-25 21:27:04 +01:00