Commit graph

1214 commits

Author SHA1 Message Date
HarshVT8999
cb8f6aaafb
Changed Font Size of the Logo (#828)
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2021-10-11 19:30:00 +02:00
Youe Graillot
2c487dd4b7
Continuous integration build and push to dockerhub (#851)
* Github Action build and push to dockerhub
* Update CONTRIBUTORS
2021-10-11 19:24:36 +02:00
2bcc41bdb3
Add optional support for a simple CAPTCHA. (#844)
* Add optional support for a simple CAPTCHA.
* formatting
* add test case
* Flake8

Co-authored-by: Glandos <bugs-github@antipoul.fr>
2021-10-11 17:39:24 +02:00
Baptiste Jonglez
e626a1cbea Implement security best practices using Flask-Talisman 2021-10-10 22:06:33 +02:00
zorun
7554842b1f
Add URL validation to external link to prevent XSS (#846)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-10-10 18:39:03 +02:00
Baptiste Jonglez
c1ef4033b6 Better document configuration files location and override 2021-10-10 18:34:24 +02:00
Glandos
bbe00ebb57
Include project code into project authentication token (#802)
Fix #780 

This a breaking change, the API for authentication is different, as it now requires `project_id`. Token is generated with only the project_id (so it's shorter than before), and signature is done by mixing password with secret key. Thus, it expires on every project code change.
2021-10-10 14:43:40 +02:00
Baptiste Jonglez
c13c4c7e3c Fix duplicate entry in changelog 2021-10-10 11:56:28 +02:00
Frank.wu
879936a4c4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Frank.wu <me@wuzhiping.top>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
Translation: I Hate Money/I Hate Money
2021-10-10 11:48:07 +02:00
phlostically
1c1f1ae893 Translated using Weblate (Esperanto)
Currently translated at 86.8% (224 of 258 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-10-10 11:48:07 +02:00
Christian H
6044947a90 Translated using Weblate (German)
Currently translated at 98.4% (254 of 258 strings)

Co-authored-by: Christian H <sunrisechain@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
Translation: I Hate Money/I Hate Money
2021-10-10 11:48:07 +02:00
Роман Прокопов
bf3a3bce33 Translated using Weblate (Russian)
Currently translated at 81.3% (210 of 258 strings)

Co-authored-by: Роман Прокопов <pochta.romana.iz.vyborga@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
Translation: I Hate Money/I Hate Money
2021-10-10 11:48:07 +02:00
Daniel Neto
60149cd486 Formatting changes after running make black 2021-09-19 19:04:49 +02:00
Daniel Neto
7bf7db24bd #838: Add decima weight round test cases 2021-09-19 19:04:49 +02:00
Daniel Neto
49abd7fedd Fix #838: Round weight to 2 decimal cases 2021-09-19 19:04:49 +02:00
PPNplus
1842fba115 Translated using Weblate (Thai)
Currently translated at 17.8% (46 of 258 strings)

Added translation using Weblate (Thai)

Co-authored-by: PPNplus <ppnplus@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/th/
Translation: I Hate Money/I Hate Money
2021-09-16 22:02:32 +02:00
Clonewayx
74053fb8fe Translated using Weblate (Czech)
Currently translated at 23.2% (60 of 258 strings)

Co-authored-by: Clonewayx <fillip1@seznam.cz>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/cs/
Translation: I Hate Money/I Hate Money
2021-09-16 22:02:32 +02:00
dependabot[bot]
bfd1f3fbc4 Bump sphinx from 4.1.2 to 4.2.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.1.2...v4.2.0)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-16 21:46:57 +02:00
Baptiste Jonglez
011df29913 Simplify exception checking in import test 2021-09-07 23:15:40 +02:00
Baptiste Jonglez
7ad83c7e79 Add more import test cases related to currencies 2021-09-07 23:15:40 +02:00
zorun
3cbe276a69 Simplify import code
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2021-09-07 23:15:40 +02:00
Baptiste Jonglez
4bf9308908 Add currency to import and export formats 2021-09-07 23:15:40 +02:00
Baptiste Jonglez
6448d0d7df Move CurrencyConverter mocking to the base test class
This mock was already applied to all tests, because it was done statically
in the TestCurrencyConverter class definition.  But it was really not
clear that it's applied everywhere.

Moving this to the setUp() function makes it much clearer.

Also, remove useless redefinition in other tests.
2021-09-07 23:15:40 +02:00
Michał Kowalski
748d30ba87 Translated using Weblate (Polish)
Currently translated at 82.9% (214 of 258 strings)

Co-authored-by: Michał Kowalski <norbertkowalski1994@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pl/
Translation: I Hate Money/I Hate Money
2021-09-04 16:53:39 +02:00
bd4ed8948c Add python-dateutil as a direct dependency. 2021-09-01 22:57:51 +02:00
b933e236ba Update the email template to feel more inclusive. 2021-09-01 22:57:51 +02:00
corny
7b9f9dd423 Translated using Weblate (German)
Currently translated at 98.0% (253 of 258 strings)

Co-authored-by: corny <nico.eckstein+weblate@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
Translation: I Hate Money/I Hate Money
2021-08-20 17:28:52 +02:00
George Thomas
4ebda06f39
"a free software" -> "free software" (#818)
* "a free software" -> "free software"
2021-08-18 08:54:23 +02:00
Eugenia Russell
68478cfb76 Translated using Weblate (Greek)
Currently translated at 50.3% (130 of 258 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-08-14 21:37:01 +02:00
Erik Kristofer Anderson
49d79033b4 update api output (For issue #782)
Updated the example API output for "Getting information about the project" in the documentation.
2021-08-01 16:30:14 +02:00
dependabot[bot]
8341e58589 Bump sphinx from 4.1.1 to 4.1.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-28 22:36:03 +02:00
George Thomas
b94fc08138
Miscellaneous improvements to installation instructions (#819)
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2021-07-28 22:32:55 +02:00
Oğuz Ersen
6bacae1cd9 Translated using Weblate (Turkish)
Currently translated at 100.0% (258 of 258 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-25 22:27:23 +02:00
ToldYouThat
510154f0d3 Translated using Weblate (Turkish)
Currently translated at 93.0% (240 of 258 strings)

Co-authored-by: ToldYouThat <itoldyouthat@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-25 22:27:23 +02:00
Oğuz Ersen
63a9ba0ae4 Translated using Weblate (Turkish)
Currently translated at 93.0% (240 of 258 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-25 22:27:23 +02:00
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
Baptiste Jonglez
9a5badd3be docs: Add SQLAlchemy workaround to install current release 2021-07-20 19:39:21 +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
dependabot[bot]
4d93a585da Bump sphinx from 4.1.0 to 4.1.1
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-18 00:40:44 +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
a4d6877f04 Update changelog to prepare 5.0.0 release 2021-07-17 14:37:42 +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