Glandos
3f4b47276e
Set black target to python3.6
2020-11-25 09:25:36 +01:00
Glandos
0380521b4a
Add python3.9 support
2020-11-24 22:52:46 +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
dependabot-preview[bot]
de13945a91
Bump sphinx from 3.3.0 to 3.3.1 ( #696 )
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 3.3.0 to 3.3.1.
- [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.3.0...v3.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-13 21:37:32 +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
dependabot-preview[bot]
d417336d02
Bump sphinx from 3.1.2 to 3.3.0 ( #692 )
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 3.1.2 to 3.3.0.
- [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.1.2...v3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-04 20:35:20 +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
Glandos
fa14100b16
Switch to isort 5 ( #669 )
2020-08-05 22:56:43 +02:00
Jocelyn Delalande
55bce593f0
Use venv module rather than virtualenv
...
- simpler to use
- lighter dependency (or no dependency at all, depending on python distribution)
- retrocompatible
virtualenv package from pip to acheive virtual environment feature is no longer
needed, except for projects which need to support py2, which is no longer our
case.
Also, reword "virtualenv" to "virtual environment" in doc, to avoid confusion
with pip package name.
Ref #483
2020-07-26 20:14:59 +02:00
Jocelyn Delalande
48fabc346f
Document how to switch python version for 5.x
...
Focus is on rebuilding venv (which are bound to a specific python minor
version).
Ref #483
Ref #571
2020-07-26 20:14:59 +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
Baptiste Jonglez
24860c4ac8
Add current changelog for 5.0.0 (extracted from #570 )
...
Since stable-4.1 only has backports, all its changes also apply to the
latest version and do not need to be repeated in 5.0.0
2020-07-18 00:56:35 +02:00
Baptiste Jonglez
f70fa15f21
Import 4.1.4 changelog from stable-4.1 branch
2020-07-18 00:56:35 +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
dependabot-preview[bot]
879289608b
Bump sphinx from 3.1.1 to 3.1.2
...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 3.1.1 to 3.1.2.
- [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.1.1...v3.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-18 00:42:07 +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