aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-03Fix double-click when deleting a bill (#349) (#372)Alexis Metaireau1-1/+1
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-03Fix error escaping; (#388)Benjamin Bouvier1-1/+1
2018-09-03Simplify a JS function. (#371)Alexis Metaireau2-19/+8
2018-09-03doc: Improve Makefile (#387)Marien Fressinaud1-12/+31
* 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-08-31Merge pull request #386 from bnjbvr/add-contribute-readmeJocelynDelalande1-0/+7
Add a contributing section to the readme file
2018-08-30Add a contributing section to the readme file;Benjamin Bouvier1-0/+7
2018-08-11Add a favicon.ico route and logo. (#381)Alexis Metaireau2-1/+8
Might fix #255
2018-08-11Remove Sentry, as it's not used anymore on prod. (#380)Alexis Metaireau2-5/+0
Fixes #312.
2018-08-10Fix docker ADMIN_PASSWORD configuration (#384)0livd1-1/+1
Use single quotes instead of double to not interpret inner $ as nested variables. Fixes #334
2018-08-10Fix failing tests (#365)Alexis Metaireau3-2/+7
* Remove unwanted space in utils.py * Fix email validation when sending invites
2018-08-05Remove unwanted space in utils.pyAlexis Métaireau1-1/+1
2018-08-05Enhance translation tooling (#360)JocelynDelalande4-298/+30
* 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-05Remove strict_slashes for /Glandos3-1/+8
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-05Merge branch 'master' into almet/fix-pbkdf2-checkAlexis Métaireau32-559/+899
2018-08-05Merge branch 'master' into almet/fix-supervisord-templateAlexis Métaireau3-2/+29
2018-08-05Update the changelog entryAlexis Métaireau1-0/+1
2018-08-03Fix cffi installation in Dockerfile (#364)Carey Metcalfe1-1/+2
The Python cffi package requires the libc, libffi and openssl development packages, as well as gcc to compile it.
2018-07-17Document MySQL setup (#357)JocelynDelalande2-1/+24
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-16Add missing ChangeLog entryJocelyn Delalande1-0/+4
2018-07-16Merge branch 'master' into almet/fix-supervisord-templateAlexis Metaireau21-525/+786
2018-07-16Fix Apache conf template, without relying on environment var (#359)JocelynDelalande2-1/+2
`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-16fix install with pip10 (#341)mduret1-11/+8
* fix the docker build with pip10 * maj tricks https://github.com/spiral-project/ihatemoney/pull/341
2018-06-20Merge pull request #338 from Glandos/translation_updateJocelynDelalande4-368/+510
Translation update
2018-06-19Add changelog entryAdrien CLERC1-1/+1
2018-06-17compile l10nAdrien CLERC1-0/+0
2018-06-17fix fr l10nAdrien CLERC1-1/+1
2018-05-15compile translations to MOAdrien CLERC1-0/+0
2018-05-15update fr l10nAdrien CLERC1-50/+53
2018-05-15update locales from template with pybabelAdrien CLERC1-199/+236
2018-05-15new extraction with pybabelAdrien CLERC1-136/+238
2018-02-16Back to development: 2.1.1Jocelyn Delalande2-1/+7
2018-02-16Preparing release 2.1Jocelyn Delalande1-1/+1
2018-02-16Add missing CHANGELOG and CONTRIBUTORS entries for v2.1Jocelyn Delalande2-1/+6
2018-02-07Docker: Fix gunicorn not using ihm system package (#320)0livd1-3/+2
Fixes #319
2018-02-07Fix some anti patterns in docker deployment (#321)0livd3-9/+10
- 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-07Merge pull request #324 from JocelynDelalande/jd-stats-apiJocelynDelalande7-36/+112
Add an API endpoint for statistics
2018-02-07Add statistics support to APIJocelyn Delalande4-0/+69
2018-02-07Move member stats computation to a dedicated methodJocelyn Delalande2-14/+21
2018-02-07Change statistics data structureJocelyn Delalande3-35/+35
Clearer data structure, and simpler template This commit has a side effect: sidebar now hides disabled members. IMHO, the disabled members should either be hidden or shown consistently between sidebar and central table. Previous status was: shown in sidebar (if balance ≠ 0) and hidden in central table.
2018-02-06Remove dead codeJocelyn Delalande1-1/+1
2018-02-04Remove unused CSS odd/even classesJocelyn Delalande3-3/+3
That was forgotten from fe39258630e55d4a3e1297a01a1c8fd39bad3a4e
2018-01-26Display sidebar scroll-bar only if requiredJocelyn Delalande1-1/+2
This fix a regression from #316 (scrollbar was displayed all the time). Note that the padding-bottom value is totally empiric, but proved OK on my Fx and Chrome instances + some responsive tests. There might be finer solutions, feel free :-).
2018-01-25API: Migrate from flask-rest to flask-restful (#315)0livd6-94/+126
The flask-rest custom json encoder is still needed and thus was added to ihatemoney's utils. Closes #298
2018-01-25Make sidebar scrollable (#316)Richard Coates2-0/+2
* Make sidebar scrollable Make sidebar scrollable. * Update CHANGELOG.rst Fixes #318
2018-01-14Use Jinja2 strict rendering.Alexis Métaireau3-12/+24
For this I had to create an Jinja2 explicit environment, so I put a function in `ihatemoney.utils.create_jinja2_env(strict_rendering=False)`. When using this environment and if `strict_rendering` is activated, templates using undefined variables will now error out rather than failing silently.
2018-01-14Fix the supervisord template.Alexis Métaireau2-2/+4
The script was relying on the presence of an environment variable, which is only set when the virtualenv is activated. But a virtualenv does not have to be activated to work (it's possible to call the python command directly). This fixes it by relying on `sys.executable` which should be correct at all times. Fixes #306
2018-01-07Merge pull request #308 from ↵JocelynDelalande13-18/+58
spiral-project/almet/fix-template-inclusion-packaging Include all .j2 files in the packaged version.
2018-01-07Update the CHANGELOG.Alexis Métaireau1-1/+1
2018-01-07Merge branch 'almet/fix-template-inclusion-packaging' of ↵Alexis Métaireau4-6/+43
github.com:spiral-project/ihatemoney into almet/fix-template-inclusion-packaging
2018-01-07Add a changelog entryAlexis Métaireau1-1/+4