Commit graph

55 commits

Author SHA1 Message Date
Baptiste Jonglez
31f110a2f5 Release 5.2.0 2022-04-07 21:26:08 +02:00
dependabot[bot]
b89367a3b1 Update flask-talisman requirement from <1,>=0.8 to >=0.8,<2
Updates the requirements on [flask-talisman](https://github.com/wntrblm/flask-talisman) to permit the latest version.
- [Release notes](https://github.com/wntrblm/flask-talisman/releases)
- [Commits](https://github.com/wntrblm/flask-talisman/compare/v0.8.0...v1.0.0)

---
updated-dependencies:
- dependency-name: flask-talisman
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-20 14:52:22 +01:00
Glandos
1bea93f8a5 upgrade sqlalchemy-continuum
1.3.10 is needed to remove the patch
1.3.12 is needed for SQLAlchemy 1.4
2022-02-01 23:02:49 +01:00
dependabot[bot]
d324edfc1a
Bump sphinx from 4.3.2 to 4.4.0 (#982)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 21:50:26 +01:00
Glandos
40ce32d9fa
Support WTForms 3 (#916)
* Support WTForms 3

* default value to None for WTForm backward compatibility

* switch back to empty string as default

WTForm backward compatibility needs that

* format
2022-01-23 19:43:32 +01:00
Baptiste Jonglez
7cb43f58c0 CI: check compatibility with Python 3.6 using vermin 2022-01-14 19:45:02 +01:00
dependabot[bot]
f4c5786597
Bump sphinx from 4.3.1 to 4.3.2 (#968)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-21 15:32:44 +01:00
dependabot[bot]
b4a81967b8
Bump sphinx from 4.3.0 to 4.3.1 (#954)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.3.0 to 4.3.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.3.0...v4.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 11:50:48 +01:00
Youe Graillot
acb2799575
Production ready docker (#919)
* /healthcheck endpoint usefull for monitoring, ci test also uses this
* customizable PORT with environment variable
* customizable PUID/PGID, reduce attack surface and allow better integration in rootless environments
* size optimization
* update to python 3.10
* add postgresql compatibility
* PUID/PGID default as root to not break current user environments
2021-11-25 08:23:23 +01:00
Glandos
4d6a5aaa27
add tests for python 3.10 (#921)
This also raises pytest and flask-cors version to work with python 3.10. Changes are non invasive.
2021-11-15 22:33:32 +01:00
dependabot[bot]
c904f5a972
Bump sphinx from 4.2.0 to 4.3.0 (#915)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.2.0 to 4.3.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.2.0...v4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 15:28:50 +01:00
dependabot[bot]
702a53e4d8
Update flask-wtf requirement from <1,>=0.14.3 to >=0.14.3,<2 (#912)
Updates the requirements on [flask-wtf](https://github.com/wtforms/flask-wtf) to permit the latest version.
- [Release notes](https://github.com/wtforms/flask-wtf/releases)
- [Changelog](https://github.com/wtforms/flask-wtf/blob/main/docs/changes.rst)
- [Commits](https://github.com/wtforms/flask-wtf/compare/0.14.3...v1.0.0)

---
updated-dependencies:
- dependency-name: flask-wtf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-08 23:27:11 +01:00
9ac4418486
Convert all the rst files to markdown. (#906)
Update sphinx to work with the new format.

https://myst-parser.readthedocs.io/en/latest/sphinx/use.html#automatically-create-targets-for-section-headers
was a valuable resource along the way.

Fixes #902.
2021-11-01 20:09:55 +01: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
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
45f0f0e7e9 Upgrade Flask-Mail lower bound to 0.9.1.
Fixes #877
2021-10-20 22:19:34 +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
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
Baptiste Jonglez
e626a1cbea Implement security best practices using Flask-Talisman 2021-10-10 22:06:33 +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
bd4ed8948c Add python-dateutil as a direct dependency. 2021-09-01 22:57:51 +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
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 Jonglez
ae02c11521 setup: get rid of ~= specifier
Experience shows that it's highly confusing, so convert it to the
equivalent version constraints.
2021-07-14 11:22:03 +02:00
Baptiste Jonglez
7e6776403f Update dependencies for Flask 2 compatibility 2021-07-14 11:22:03 +02:00
Baptiste Jonglez
d557119762 Don't constrain the version of psycopg2 2021-07-14 11:22:03 +02:00
Glandos
31a9ed29f6 bump pymysql upper bound 2021-07-12 23:42:31 +02:00
dependabot[bot]
288bde2ad8 Bump sphinx from 4.0.3 to 4.1.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.0.3 to 4.1.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.0.3...v4.1.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-07-12 23:31:15 +02:00
Glandos
98c30f0914 bump minimal WTForms version 2021-07-10 10:22:16 +02:00
Baptiste Jonglez
7ceb66f01b Enable CI builds with postgresql and mariadb 2021-07-10 00:39:54 +02:00
dependabot[bot]
f7ae02546e Bump sphinx from 4.0.2 to 4.0.3
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.0.2 to 4.0.3.
- [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.0.2...v4.0.3)

---
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-07 22:35:21 +02:00
Baptiste Jonglez
477fc20cd4 Update Jinja dependency to >= 3.0
This is necessary since c62965d4bf ("fix basic deprecation warnings")
2021-07-04 12:52:21 +02:00
Glandos
901522e8e7 Upgrade WTForms to <2.4 2021-06-09 23:38:05 +02:00
dependabot[bot]
7f695ca25a Update jinja2 requirement from ~=2.11 to >=2.11,<4.0
Updates the requirements on [jinja2](https://github.com/pallets/jinja) to permit the latest version.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.0...3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 23:22:12 +02:00
dependabot[bot]
3894f1568a Update flask-migrate requirement from <3,>=2.5.3 to >=2.5.3,<4
Updates the requirements on [flask-migrate](https://github.com/miguelgrinberg/flask-migrate) to permit the latest version.
- [Release notes](https://github.com/miguelgrinberg/flask-migrate/releases)
- [Changelog](https://github.com/miguelgrinberg/Flask-Migrate/blob/main/CHANGES.md)
- [Commits](https://github.com/miguelgrinberg/flask-migrate/compare/v2.5.3...v3.0.1)

---
updated-dependencies:
- dependency-name: flask-migrate
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-06 15:26:01 +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
dependabot[bot]
eff871e83c Update itsdangerous requirement from ~=1.1 to >=1.1,<3.0
Updates the requirements on [itsdangerous](https://github.com/pallets/itsdangerous) to permit the latest version.
- [Release notes](https://github.com/pallets/itsdangerous/releases)
- [Changelog](https://github.com/pallets/itsdangerous/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/itsdangerous/compare/1.1.0...2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 23:11:48 +02:00
dependabot[bot]
63fe3ed45b Update flask requirement from ~=1.1 to >=1.1,<3.0
Updates the requirements on [flask](https://github.com/pallets/flask) to permit the latest version.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.1.0...2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 22:54:30 +02:00
dependabot[bot]
9f029d52ca Bump sphinx from 3.5.3 to 4.0.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.5.3 to 4.0.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/commits/v4.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 22:45:14 +02:00
dependabot[bot]
e8f9d1cd93 Update flask-babel requirement from ~=1.0 to >=1,<3
Updates the requirements on [flask-babel](https://github.com/python-babel/flask-babel) to permit the latest version.
- [Release notes](https://github.com/python-babel/flask-babel/releases)
- [Commits](https://github.com/python-babel/flask-babel/compare/v1.0.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 22:40:31 +02:00
Glandos
45f4d8f8b0 Using one job for all linting and doc generation
Requirements for doc are now an extra require in setup.cfg
2021-06-03 22:35:49 +02:00
Glandos
43ee61afe8 Upper bound for Flask-Migrate
Version 3.0.0 dropped support for Flask-Script which is used in our "db" command. We could migrate to Flask CLI instead.
2021-06-03 22:20:09 +02:00
zorun
dc4d31cafc
Pin SQLAlchemy (#730)
* Pin SQLAlchemy to accounts for API changes

Fixes: #728

* Cosmetic fix (tabs vs spaces)

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-04-04 11:06:33 +02:00
Glandos
0380521b4a Add python3.9 support 2020-11-24 22:52:46 +01:00
Glandos
fa14100b16
Switch to isort 5 (#669) 2020-08-05 22:56:43 +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
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
Rémy HUBSCHER
7587e292fb
Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00