Commit graph

539 commits

Author SHA1 Message Date
Jocelyn Delalande
1c8fde40c2 Preparing release 3.0 2018-11-25 19:47:06 +01:00
Jocelyn Delalande
1faf40ae8f Add utf-8 BOM to please zest.releaser
Without that, it seems to crash.
2018-11-25 19:46:08 +01:00
Jocelyn Delalande
b7d853e9d0 Add missing contributors
More friends !

For 3.0 release.

Ref #396
2018-11-25 19:00:02 +01:00
Jocelyn Delalande
5bd839e176 Add missing Change Log entries and group them
As there is a lot of stuff in « fixed », might be a bit clearer to group them
loosely.

Clean room for next release :-).
2018-10-13 00:57:39 +02:00
0livd
73e14738ef Docker: Fix bug where conf is duplicated at each run (#392) 2018-10-04 15:54:15 +02:00
Daniel Schreiber
03c41a2b96 Correct documentation for create bills via api (#391) 2018-09-25 20:01:45 +02:00
23a4beafae
Fix form error on already existing participant. (#370)
Fixes #350
2018-09-03 20:59:18 +02:00
bfac0c1978
Sort members alphabetically in the new bill form. (#374)
Fixes #333
2018-09-03 20:58:28 +02:00
c34583d079
Add a ihatemoney delete-project command. (#375) 2018-09-03 20:55:44 +02:00
171dd81ed7
Underline actions links on hover. (#377)
Fix #260
2018-09-03 20:55:25 +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
6ab92ddbac
Add a handler when pages aren't found. (#379)
Fixes #356
2018-09-03 20:54:07 +02:00
24e0d8348f
Fix double-click when deleting a bill (#349) (#372)
When double-clicking on the delete button, the first click actually
deletes the bill, and the second click does the same action again. But
as the bill is already deleted, it displays a 404 page which can be
misleading.

This fix makes the app trigger a redirect when the bill seem to doesn't
exist, fixing this strange behaviour.
2018-09-03 20:53:37 +02:00
Benjamin Bouvier
22f8d552c3 Fix error escaping; (#388) 2018-09-03 20:52:48 +02:00
bb77fdbe3e
Simplify a JS function. (#371) 2018-09-03 20:49:30 +02:00
Marien Fressinaud
bfdcf31438 doc: Improve Makefile (#387)
* Add help target to the Makefile

It is often expected to have a `help` target in a Makefile. This one is
automatically generated from comments in the Makefile so it is easier to
maintain.

This commit only documents targets that seem the most important.

* Add the server address and port on `make serve`

Developers should not have to read the documentation to find where to
point their browsers to access ihatemoney application.

* Add .PHONY instructions to the Makefile

`.PHONY` instructs Make to not look, for instance, for an `install` file
before executing the corresponding target. If such a file would exist,
the command would not be performed at all. This is because Make is
initially intended to create files (i.e. targets) and consider there is
nothing to do if the file already exists.

More information on https://stackoverflow.com/a/2145605.
2018-09-03 20:28:46 +02:00
JocelynDelalande
704fa62b44
Merge pull request #386 from bnjbvr/add-contribute-readme
Add a contributing section to the readme file
2018-08-31 10:57:42 +02:00
Benjamin Bouvier
65bed7b45b Add a contributing section to the readme file; 2018-08-30 21:43:44 +02:00
2eafb7260c
Add a favicon.ico route and logo. (#381)
Might fix #255
2018-08-11 00:13:53 +02:00
665dfd5c44
Remove Sentry, as it's not used anymore on prod. (#380)
Fixes #312.
2018-08-11 00:11:00 +02:00
0livd
db70a9a6d2 Fix docker ADMIN_PASSWORD configuration (#384)
Use single quotes instead of double to not
interpret inner $ as nested variables.

Fixes #334
2018-08-10 23:24:16 +02:00
9d76144a83 Fix failing tests (#365)
* Remove unwanted space in utils.py

* Fix email validation when sending invites
2018-08-10 23:04:31 +02:00
Alexis Métaireau
67de8c3b35 Remove unwanted space in utils.py 2018-08-05 15:02:04 +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
Glandos
c1b5eb1375 Remove strict_slashes for /
I don't know why, but on my setup (nginx + uwsgi), the `strict_slashes` (default to `True`) was causing an infinite loop.
I think it could be safely removed for this route only.
2018-08-05 14:57:55 +02:00
Alexis Métaireau
633e3543b2 Merge branch 'master' into almet/fix-pbkdf2-check 2018-08-05 14:37:50 +02:00
Alexis Métaireau
08bcf702b8 Merge branch 'master' into almet/fix-supervisord-template 2018-08-05 14:27:30 +02:00
Alexis Métaireau
9ece687eb0 Update the changelog entry 2018-08-05 14:14:55 +02:00
Carey Metcalfe
94e2befb82 Fix cffi installation in Dockerfile (#364)
The Python cffi package requires the libc, libffi and openssl
development packages, as well as gcc to compile it.
2018-08-03 17:11:12 +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
Jocelyn Delalande
026c1ec4aa Add missing ChangeLog entry 2018-07-16 23:00:31 +02:00
1d0880f3cb
Merge branch 'master' into almet/fix-supervisord-template 2018-07-16 22:58:48 +02:00
JocelynDelalande
c3f8ddd274 Fix Apache conf template, without relying on environment var (#359)
`python-home` is prefered over `python-path`. It will work with or without
a virtualenv.

See http://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIDaemonProcess.html
2018-07-16 22:55:54 +02:00
mduret
f9cc4e5623 fix install with pip10 (#341)
* fix the docker build with pip10

* maj tricks https://github.com/spiral-project/ihatemoney/pull/341
2018-07-16 22:08:15 +02:00
JocelynDelalande
61f0fdde84
Merge pull request #338 from Glandos/translation_update
Translation update
2018-06-20 11:07:03 +02:00
Adrien CLERC
26d1e03877 Add changelog entry 2018-06-19 22:35:23 +02:00
Adrien CLERC
a5240fb8a3 compile l10n 2018-06-17 09:49:10 +02:00
Adrien CLERC
893db0bf2c fix fr l10n 2018-06-17 09:48:19 +02:00
Adrien CLERC
0a9d16b40a compile translations to MO 2018-05-15 22:05:42 +02:00
Adrien CLERC
1947a5ae78 update fr l10n 2018-05-15 22:05:06 +02:00
Adrien CLERC
fb31868278 update locales from template with pybabel 2018-05-15 21:47:01 +02:00
Adrien CLERC
74f72a46d5 new extraction with pybabel 2018-05-15 21:45:24 +02:00
Jocelyn Delalande
c3b2af3df3 Back to development: 2.1.1 2018-02-16 23:21:36 +01:00
Jocelyn Delalande
d3d1ddfa91 Preparing release 2.1 2018-02-16 23:18:12 +01:00
Jocelyn Delalande
131fe8a8b4 Add missing CHANGELOG and CONTRIBUTORS entries for v2.1 2018-02-16 23:17:45 +01:00
0livd
225849ac71 Docker: Fix gunicorn not using ihm system package (#320)
Fixes #319
2018-02-07 09:37:49 +01: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
JocelynDelalande
667e555d67
Merge pull request #324 from JocelynDelalande/jd-stats-api
Add an API endpoint for statistics
2018-02-07 00:07:09 +01:00
Jocelyn Delalande
b95ea7f4e6 Add statistics support to API 2018-02-07 00:06:08 +01:00