Commit graph

712 commits

Author SHA1 Message Date
Rémy HUBSCHER
fc55834a54
Add Python 3.7 to the tox matrix. 2019-02-20 10:02:45 +01:00
Rémy HUBSCHER
8ed92c279f
Fix requirements.txt file.
You can't use both build-requirements to keep known version set and load setup.py from the same requirements, it doesn't make any sense.
2019-02-20 10:01:59 +01:00
Rémy HUBSCHER
e63734b0b8
Update tox.ini 2019-02-20 07:57:14 +01:00
Alexis Métaireau
5e51808b00 Back to development: 4.1 2019-01-24 13:20:07 +01:00
Alexis Métaireau
c31622b553 Preparing release 4.0 2019-01-24 13:19:00 +01:00
Alexis Métaireau
a4d613984e Prepare release 2019-01-24 13:12:09 +01:00
bbf832bec7
Document PostgreSQL configuration. Fixes #403 (#415)
* Document PostgreSQL configuration. Fixes #403
2019-01-16 13:13:04 +01:00
d55b996170
Do not allow negative weights on users (Fixes #362) (#366) 2019-01-03 13:29:56 +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
Byron Ullauri
7cb339c0bb Resolve "Update API project list" (#409)
* refactoring models _to_serialize property

* updated project api members list

* addressing flake8: line too long
2018-12-26 19:07:09 +01:00
620596e32c
Add CORS to the API. Fix #404 (#407) 2018-12-25 18:13:58 +01:00
Alexis Métaireau
c317bfa576 Merge branch 'almet/doc-migrations' 2018-12-25 17:44:42 +01:00
Alexis Métaireau
bd689fe01d Merge remote-tracking branch '0livd/doc-migrations' 2018-12-25 17:40:46 +01:00
0livd
6ca99a340c Document database migrations
Closes #390
2018-12-25 17:40:06 +01:00
mcnesium
cdbcd763ef update apk before installing dependencies (#398) 2018-12-25 16:58:15 +01:00
Lucas Verney
0428cf06b5 Add bill.creation_date field (#327) 2018-12-25 16:50:14 +01:00
0f2a5e9255
Add a link to the mailing list 2018-12-20 00:46:49 +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
0livd
5b5956d86d Document database migrations
Closes #390
2018-12-07 22:52:30 +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
Jocelyn Delalande
d4729880dd flake8 code cleanup
Flake8 was nitpicking about:

ihatemoney/forms.py:192:13: F841 local variable 'e' is assigned to but never used
ihatemoney/utils.py:26:8: W605 invalid escape sequence '\w'
ihatemoney/utils.py:26:10: W605 invalid escape sequence '\s'
ihatemoney/utils.py:27:8: W605 invalid escape sequence '\s'
2018-11-25 21:27:04 +01:00
Jocelyn Delalande
04ad5de811 Back to development: 3.1 2018-11-25 19:52:24 +01:00
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