Commit graph

17 commits

Author SHA1 Message Date
6f4f04b117 Document the API. Fix #46 2011-10-18 23:26:13 +02:00
6e3834048b Use the relation table for "has_bills".
This fixes a bug related to the way we made joins to query q postgresql db.
I found that we didn't needed at all any join, so a simple lookup in the m2m relation table allows to speed up things.

Fix #44
2011-10-18 17:48:23 +02:00
f61d1432c7 Translate the application using Flask-babel.
The only translation so far is french, but more can be added. The browser language
is used thanks to the HTTP languages headers.

There are still some problems with the translation of some strings, I don't know
why this is. See #12
2011-10-15 01:19:19 +02:00
97132ce88a Fix some problems related to postgresql and models 2011-10-13 21:27:56 +02:00
7d9fde0460 Round the balance. Fix #1 2011-10-08 16:43:46 +02:00
48bc551853 Complete the REST API + Tests. Fix #27 2011-10-08 13:27:30 +02:00
b0d41291af API: Create and Update support 2011-09-13 22:58:53 +02:00
e13ceaf351 REST API is now able to list stuff \o/ 2011-09-13 18:15:07 +02:00
d2e2260e52 Add a serialization mechanism 2011-09-13 11:27:36 +02:00
45dc6edacb Move some logic to the models and add comments. 2011-09-09 19:57:28 +02:00
801802836a Start working on archive management 2011-09-09 19:14:19 +02:00
822058b251 Add some more tests about membership. (#14)
Fixes #15 as invalid: deactivated users are not listed on the bill form or on the balance.
2011-08-10 17:49:35 +02:00
Frédéric Sureau
0e5bab13af Users are deleted when no bill is assigned to them. Fixes #5 2011-08-09 19:34:46 +02:00
769bcbf3f1 Makes the computation working. 2011-07-31 23:55:18 +02:00
2df6e11f05 Adding a bill is now working properly 2011-07-31 00:41:28 +02:00
a3b49a231f Manage users creation 2011-07-23 20:36:13 +02:00
5e63a5034b Split the logic into different python modules:
* web.py contains the controllers (also called views) + url definitions
* models.py contains the models
* forms.py contains the forms
* utils.py contains a set of utility fonctions to ease the dev. process
2011-07-23 18:45:40 +02:00