Commit graph

1214 commits

Author SHA1 Message Date
zorun
6750e4f429
Update release documentation (#893)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-10-30 21:23:27 +02:00
Weblate (bot)
67ae812d84
Translated using Weblate (French) (#898)
Currently translated at 100.0% (264 of 264 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

Co-authored-by: Glandos <bugs-github@antipoul.fr>
2021-10-30 18:09:06 +02:00
JocelynDelalande
18aebb618f
Avoid showcase-guy to point his finger at nothing (#901)
That occured on some screen sizes.
2021-10-30 17:36:42 +02:00
JocelynDelalande
5ab12f41bd
Consistently use questions in bill form (#900)
* Consistently use questions in bill form

* fixup
2021-10-30 17:35:43 +02:00
Glandos
ff4de78b56
Reduce the size of showcase images (#899)
Fixes #875

Original showcase images are kept in another directory, and compressed
in webp in the distributed directory.
Since they won't change so much, let's keep them in git.
2021-10-30 17:30:59 +02:00
Oğuz Ersen
7f5977a738 Translated using Weblate (Turkish)
Currently translated at 100.0% (264 of 264 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-10-28 21:41:33 +02:00
Baptiste Jonglez
1edca9227c Back to development: 5.1.2 2021-10-26 23:58:56 +02:00
Baptiste Jonglez
a7d78c1c50 Preparing release 5.1.1 2021-10-26 23:58:12 +02:00
Baptiste Jonglez
80cd303a3c Update changelog 2021-10-26 23:57:52 +02:00
Baptiste Jonglez
7c375ce617 Back to development: 5.1.1 2021-10-26 23:49:25 +02:00
Baptiste Jonglez
85c104f6d0 Preparing release 5.1.0 2021-10-26 23:46:27 +02:00
Baptiste Jonglez
180f3ef3fb Rebuild translation files 2021-10-26 23:46:27 +02:00
Baptiste Jonglez
6366bad188 Update changelog for release 5.1.0 2021-10-26 23:46:27 +02:00
Baptiste Jonglez
68a4aa05e8 Add missing configuration variables (ENABLE_CAPTCHA and LEGAL_LINK) 2021-10-26 23:46:27 +02:00
Baptiste Jonglez
f68263328c Improve performance of balance and statistics computation (see #889) 2021-10-23 17:20:19 +02:00
d2c96c5bc6
Enhance Docker documentation. (#882)
* Enhance Docker documentation.

Fixes #868

* Adress @zorun feedback.

* Update installation.rst
2021-10-22 17:56:41 +02:00
53c88c3b13
Add a LEGAL_LINK setting. Fixes #761 (#883) 2021-10-21 19:16:32 +02:00
Baptiste
d168e15357 Translated using Weblate (French)
Currently translated at 100.0% (263 of 263 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-10-21 09:38:52 +02:00
d1297c9c64 Reduce the resolution of showcase pictures by 50%.
Done with `mogrify -quality 75% -resize 50% ihatemoney/static/showcase/*.jpg`.

Before :
```
du -hsc ihatemoney/static/showcase/?.jpg
576K	ihatemoney/static/showcase/1.jpg
512K	ihatemoney/static/showcase/2.jpg
424K	ihatemoney/static/showcase/3.jpg
464K	ihatemoney/static/showcase/4.jpg
464K	ihatemoney/static/showcase/5.jpg
712K	ihatemoney/static/showcase/6.jpg
492K	ihatemoney/static/showcase/7.jpg
592K	ihatemoney/static/showcase/8.jpg
788K	ihatemoney/static/showcase/9.jpg
5.0M	total
```

After :
```
184K	ihatemoney/static/showcase/1.jpg
140K	ihatemoney/static/showcase/2.jpg
136K	ihatemoney/static/showcase/3.jpg
132K	ihatemoney/static/showcase/4.jpg
144K	ihatemoney/static/showcase/5.jpg
208K	ihatemoney/static/showcase/6.jpg
160K	ihatemoney/static/showcase/7.jpg
164K	ihatemoney/static/showcase/8.jpg
224K	ihatemoney/static/showcase/9.jpg
1,5M	total
```

Fixes #875
2021-10-21 09:34:45 +02:00
2b7a6f31a2 @zorun feedback. 2021-10-21 09:16:00 +02:00
34577f73cb Update release instructions. 2021-10-21 09:16:00 +02:00
Baptiste Jonglez
7fdb72cff8 tests: allow to choose project name independently from ID (no change by default) 2021-10-20 23:29:11 +02:00
45f0f0e7e9 Upgrade Flask-Mail lower bound to 0.9.1.
Fixes #877
2021-10-20 22:19:34 +02:00
zorun
63c129c92c
Changelog: document new settings (#876)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-10-20 01:29:25 +02:00
8657e7b386
5.0 stable (#874)
* Update changelog

* Preparing release 5.0.1

* Back to development: 5.0.2
2021-10-20 01:03:22 +02:00
zorun
97447c96f5
Improve pagination style (#873)
The style for top and bottom pagination was different, and the top part
was confusing.

Also translate bottom pagination text.

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-10-20 00:53:50 +02:00
6f87e641b9
Include all files in MANIFEST.in so they are published to PyPI (#872) 2021-10-20 00:52:49 +02:00
cfbce99f19 Fix Weblate 2021-10-19 23:30:34 +02:00
c81c30ff93
Fix weblate (#867)
* Translated using Weblate (French)

Currently translated at 100.0% (263 of 263 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 (Turkish)

Currently translated at 100.0% (263 of 263 strings)

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

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
2021-10-19 23:26:27 +02:00
Oğuz Ersen
ed0f70d4e7
Translated using Weblate (Turkish)
Currently translated at 100.0% (263 of 263 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
2021-10-19 23:01:34 +02:00
f09c3355f2
Translated using Weblate (French)
Currently translated at 100.0% (263 of 263 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2021-10-19 23:01:34 +02:00
3fd69f2267
Prepare 5.0 (#866)
* Update changelog.

Based on the work done in #570 and #834 by @Natim and @Glandos.

* Update contributing.rst release instructions.

* Update documentation configuration.

* Update translations

* Update translation strings

* Preparing release 5.0.0

* Back to development: 5.0.1
2021-10-19 23:01:29 +02:00
Weblate (bot)
2542781218
Translated using Weblate (Kannada) (#863)
Currently translated at 26.9% (71 of 263 strings)

Co-authored-by: a-g-rao <athrigrao@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/kn/
Translation: I Hate Money/I Hate Money

Co-authored-by: a-g-rao <athrigrao@gmail.com>
2021-10-19 00:25:07 +02:00
Glandos
7a15051996
Make multiple currency optional (#864)
* Make multiple currency optional
Fixes #848

A description is provided in project settings to make the feature self explanatory.

* I forgot the description.
Let's update translation altogether.

* black format
2021-10-18 23:46:53 +02:00
6ba8ec211f
Update dockerhub.yml 2021-10-17 20:31:59 +02:00
Youe Graillot
ec0a3aa070
Fix docker image and docker image test (#852)
* Github Action build and push to dockerhub

* CI updates docker description

* Convert rst readme to markdown

* Update CONTRIBUTORS

* Revert "CI updates docker description"

This reverts commit 33e2e7b5c2.

* Revert "Convert rst readme to markdown"

This reverts commit dc25f8dbe4.

* CI deploy on master branch

* CI test image

* Fix empty SESSION_COOKIE_SECURE

* Dockerfile : sanitize ENV

* entrypoint.sh : sort

* docker-compose.yml

* CI test with docker compose

* CI reorganize

* Default SESSION_COOKIE_SECURE to True

* Add some comments for readability.

Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2021-10-17 16:21:42 +02:00
Weblate (bot)
a7d133bc3a
Translations update from Weblate (#862)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (262 of 262 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

* Translated using Weblate (Kannada)

Currently translated at 22.8% (60 of 263 strings)

Co-authored-by: a-g-rao <athrigrao@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/kn/
Translation: I Hate Money/I Hate Money

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: a-g-rao <athrigrao@gmail.com>
2021-10-17 13:11:26 +02:00
Weblate (bot)
1b826689e5
Translated using Weblate (Kannada) (#861)
Currently translated at 18.9% (49 of 258 strings)

Co-authored-by: a-g-rao <athrigrao@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/kn/
Translation: I Hate Money/I Hate Money

Co-authored-by: a-g-rao <athrigrao@gmail.com>
2021-10-14 23:48:59 +02:00
zorun
6a0533e517
Add some documentation about security (#858)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-10-14 23:45:22 +02:00
Glandos
b44bef33db
regenerate translations (#860) 2021-10-14 22:15:54 +02:00
Baptiste Jonglez
d5981c014b Update changelog 2021-10-14 01:00:44 +02:00
HarshVT8999
5ea8a66704 Update messages.po 2021-10-14 00:15:36 +02:00
a-g-rao
35820e0486 Translated using Weblate (Kannada)
Currently translated at 16.2% (42 of 258 strings)

Added translation using Weblate (Kannada)

Co-authored-by: a-g-rao <athrigrao@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/kn/
Translation: I Hate Money/I Hate Money
2021-10-14 00:14:52 +02:00
Glandos
e2286676f1 Flash messages must be dimissed manually 2021-10-14 00:09:20 +02:00
Baptiste Jonglez
19b5b13663 demo: create Demo project without currency
This matches the default settings of both the web interface and the API
regarding currencies.
2021-10-14 00:07:41 +02:00
Baptiste Jonglez
dc793effce Update API doc 2021-10-14 00:07:41 +02:00
Baptiste Jonglez
ff2a5cc147 Add API test cases related to currencies 2021-10-14 00:07:41 +02:00
Baptiste Jonglez
17b4255d82 API tests: allow to set currency, but don't set any by default 2021-10-14 00:07:41 +02:00
Baptiste Jonglez
421cfbe645 project: set XXX as default default_currency for API backwards compatibility
The new support for currency broke backwards compatibility on the API:

    $ curl -X POST $URL/api/projects -d 'name=yay&id=yay&password=yay&contact_email=yay@notmyidea.org'
    {"default_currency": ["This field is required."]}

This is a case we were not testing (will be fixed in subsequent commits)

To fix this, simply set default_currency to XXX by default.
2021-10-14 00:07:41 +02:00
Glandos
7d9226745f
Change token path authentication to /PROJECT/join/TOKEN (#843) 2021-10-13 22:00:38 +02:00