Commit graph

75 commits

Author SHA1 Message Date
Glandos
0380521b4a Add python3.9 support 2020-11-24 22:52:46 +01:00
Baptiste Jonglez
384d3eeb2c Document timezone settings 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
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
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
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
dependabot-preview[bot]
0ba2b2f500
Bump sphinx from 3.0.4 to 3.1.1 (#646)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.0.4 to 3.1.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.0.4...v3.1.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-06-15 23:01:20 +02:00
dependabot-preview[bot]
8b31e5e691
Bump sphinx from 3.0.3 to 3.0.4 (#637)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.0.3 to 3.0.4.
- [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.0.3...v3.0.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 13:46:07 +02:00
dependabot-preview[bot]
68f6df6abc
Bump sphinx from 3.0.2 to 3.0.3 (#596)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.0.2 to 3.0.3.
- [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.0.2...v3.0.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 08:42:10 +02:00
Rémy HUBSCHER
6129191b26
Fix sqlite only migration. (#579) 2020-04-25 11:55:46 +02:00
zorun
e458da954d
Reorganize "Contributing" documentation to be more accessible to new contributors (#573)
* Reorganize "Contributing" documentation to be more accessible to new contributors

The following changes were done:

- move "How to contribute" first, and "Set up a dev environment" as the
  second section.  This way, a new contributor has access to the most
  general information first, instead of the very specific "dev
  environment" documentation.

- reduce "How to contribute" / "As a developer" by moving the part about
  tests to a new "Contributing as a developer" section (see below).  This
  way, all types of contributions get roughly the same amount of text in
  the first "How to contribute" section.

- add a new "Contributing as a developer" section, which lists items that
  are useful when preparing a code contribution (running tests, formatting
  code, create database migration).  These items were moved either from
  "How to contribute" or from "Set up a dev environment".

* Add brief documentation about updating and adding tests

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25 11:49:50 +02:00
Rémy HUBSCHER
10c35e41ce
Update install docs. 2020-04-24 15:22:37 +02:00
zorun
d4ad149a63
Improve documentation regarding database migrations (#569) 2020-04-24 13:45:39 +02:00
Rémy HUBSCHER
7587e292fb
Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
Rémy HUBSCHER
8e6643302f
Add a word about isort in the contributing docs. (#564) 2020-04-22 09:42:50 +02:00
Rémy HUBSCHER
299c64a48c
Add isort support. (#561) 2020-04-21 13:59:41 +02:00
Rémy HUBSCHER
5efb158938
Update docs requirements sphinx and docutils. 2020-04-21 10:34:14 +02:00
Rémy HUBSCHER
5d3266873e
Update known working set. (#558)
* Update known working set.

* Pin dependencies in setup.cfg.

* Cleanup Makefile.

* Try the python_version trick.
2020-04-21 10:30:13 +02:00
Glandos
91ef80ebb7
Fix spelling (#552) 2020-04-12 10:45:35 +02:00
Allan Nordhøy
da89c35390
Spelling in documentation fixed, Weblate link (#551) 2020-04-12 09:58:00 +02:00
am97
eea50b9b2c
Misc small updates (#536) 2020-02-23 19:27:39 +01:00
José Antonio de la Torre
37f2e38af3 Added better way to install ihatemoney 2019-10-14 23:28:44 +02:00
José Antonio de la Torre
2758b46983 Added install of ihatemoney module to documentation 2019-10-14 23:28:44 +02:00
94e83306c3 Add instructions on how to run black in the contributing guide 2019-10-14 21:20:38 +02:00
f260a2c9e7 Use black to refomat the files. 2019-10-14 21:20:38 +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
9fe84bc1a2 Enhance postgresql installation docs. 2019-10-11 19:52:15 +02:00
479f61a8e3 Add information on how to translate.
Fixes #428.
2019-10-07 18:15:25 +02:00
c8396f50b9 Update translations to publish new point release. 2019-09-18 21:40:09 +02:00
093f2967c7 Clean and reorganise a bit the documentation 2019-09-06 22:35:41 +02:00
Adrien CLERC
a467f46372 add docs somewhere 2019-09-03 10:42:51 +02:00
Luc Didry
84b096d3cd Systemd doc fixes + update CONTRIBUTORS 2019-05-21 10:46:41 +02:00
nailyk-fr
ba78ff7228 doc: install: Add gunicorn dependency
* Gunicorn is a mandatory dependency, add a notice.
2019-05-21 10:46:41 +02:00
nailyk-fr
bb5a1cfe84 doc: installation: Add systemd service
* Next to the addition of `conf/ihatemoney.service`,
   add installation notice.

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2019-05-21 10:46:41 +02:00
Rémy HUBSCHER
70f9b04548
Update contributing.rst 2019-02-20 15:52:52 +01:00
bbf832bec7
Document PostgreSQL configuration. Fixes #403 (#415)
* Document PostgreSQL configuration. Fixes #403
2019-01-16 13:13:04 +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
0livd
6ca99a340c Document database migrations
Closes #390
2018-12-25 17:40:06 +01:00
ec6ebcf24e
Fix the nginx conf generation command 2018-12-12 14:39:51 +01:00
Jocelyn Delalande
fe728a9a11 Add upgrade instructions for 3.x
Fix #396
2018-12-08 17:31:21 +01:00
Jocelyn Delalande
da28658773 Document make release magic
I am a bit scared to use this magic command each time I have to. That is to
reassure future me and future others :-).
2018-11-25 21:30:20 +01:00
Daniel Schreiber
03c41a2b96 Correct documentation for create bills via api (#391) 2018-09-25 20:01:45 +02:00
5fcf667914
Almet/docs/mail server configuration (#378)
* Replace the settings table with multiple sections.

It's easier to read, and easier to maintain. Fixes #251.

* Document external mail server configuration.

Fixes #278
2018-09-03 20:55:10 +02:00
07aabeb07f
Replace the settings table with multiple sections. (#376)
It's easier to read, and easier to maintain. Fixes #251.
2018-09-03 20:54:41 +02:00
JocelynDelalande
fc9781b8c0 Enhance translation tooling (#360)
* Add a `make update-translations` command

To collect new strings to be translated from code.

Totally cheated on @Glandos commands :-)

Ref #336
Ref https://github.com/spiral-project/ihatemoney/issues/336#issue-322069517

* Document translation process

Fix #336

* Drop noisy location comments from .po files

Fix #339

* Drop .pot header

As it serves no purpose with our translation workflow.
.po header could be removed also, but pybabel has no option for that.

Ref #339
2018-08-05 14:59:39 +02:00
JocelynDelalande
9caf213e1d Document MySQL setup (#357)
PyMySQL is more difficult to install since its version 0.9 since it now depends
on *cryptography* lib, which in turns depends on OpenSSL and Python dev files.

See https://github.com/PyMySQL/PyMySQL/issues/697
2018-07-17 00:22:23 +02:00
0livd
d9471733f8 Fix some anti patterns in docker deployment (#321)
- Use exec to run gunicorn and avoid creating a new process.
- Add the possibility to pass any additional parameters to
gunicorn.
- Use only one gunicorn worker by default as the usual way to
scale the app in production would be to use the scale command
of the cluster scheduler. Additional workers could still be
added by passing the "-w" gunicorn parameter to docker run.
2018-02-07 09:37:21 +01:00
Jocelyn Delalande
b95ea7f4e6 Add statistics support to API 2018-02-07 00:06:08 +01:00
JocelynDelalande
0dfb9c5f94 Add missing properties in API docs (#287)
* Mention weights in API doc

Because this is reality :-)

* Mention balance property in API doc

Still because this is reality.
2017-12-21 13:56:25 +01:00