1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
Commit graph

127 commits

Author SHA1 Message Date
Alexis Metaireau
b88b317faa Bills can't be negative. Fix #45 2011-10-18 18:13:54 +02:00
Alexis Metaireau
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
Arnaud Bos
c3b3e2f770 Paint sidebar in green. Close #34 2011-10-18 04:30:34 +02:00
Alexis Metaireau
6f3b9dfda8 change the link in the footer as well 2011-10-18 00:04:50 +02:00
Alexis Metaireau
435ec2626d Make the rest module a flask extension.
It's now flask_rest.
2011-10-17 17:30:57 +02:00
Alexis Metaireau
3f9022ac13 the format for the date is yy-mm-dd 2011-10-17 00:15:44 +02:00
Alexis Metaireau
db7e1496b0 Add the ability to change the language explicitely. I'm not sure the UI is better with this. Any thoughts are welcome. Fix #35 2011-10-17 00:03:41 +02:00
Alexis Metaireau
f7a969240a Add a datepicker (with support of i18n). Fix #37 2011-10-16 23:38:27 +02:00
Alexis Metaireau
9a3e4537cb Format floats with 2 decimals. Fix #39 2011-10-16 13:59:22 +02:00
Alexis Metaireau
2553303fa4 serve static files with nginx 2011-10-15 21:50:15 +02:00
Alexis Metaireau
ebcd64237d clicking on the logo should return on the homepage 2011-10-15 21:49:27 +02:00
Alexis Metaireau
c1267da2ea translate 'each' as well 2011-10-15 02:53:09 +02:00
Alexis Metaireau
8acd4984dd add the project's title in the list of bills 2011-10-15 02:40:19 +02:00
Alexis Metaireau
ad392db53e update some strings in the french translation 2011-10-15 02:26:43 +02:00
Alexis Metaireau
b07c8a9273 remove the archive feature for now 2011-10-15 02:25:12 +02:00
Alexis Metaireau
d9c7977a59 fix a bit the UI (identifier on bill's list) 2011-10-15 02:24:02 +02:00
Alexis Metaireau
c54fac69c9 Fix translations of forms.
Forms are not context related, thus translations are done only once if not done
in a lazy way. the fix is to use lazy_gettext rather than gettext. Fix #12
2011-10-15 01:58:30 +02:00
Alexis Metaireau
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
Alexis Metaireau
45ccc8b509 I HAZ TO RUN TESTS BEFORE COMMITING 2011-10-14 15:48:31 +02:00
Alexis Metaireau
9c4fd0c210 add epio.ini 2011-10-13 23:14:27 +02:00
Alexis Metaireau
20f905a5c0 put back requirements.txt in budget 2011-10-13 23:05:53 +02:00
Alexis Metaireau
f0f73a3c8b move requirements.txt 2011-10-13 22:54:58 +02:00
Alexis Metaireau
97132ce88a Fix some problems related to postgresql and models 2011-10-13 21:27:56 +02:00
Alexis Metaireau
b7ba8e43c4 Coerce the payer choice to int, default is unicode. Fix #33 2011-10-13 21:24:23 +02:00
Alexis Metaireau
fdb75316d6 Coerce the payer choice to int, default is unicode 2011-10-13 20:20:11 +02:00
Alexis Metaireau
5245a1a6c7 Do not prompt the user with a 'prompt()' in javascript when deleting members. Fix #29 2011-10-08 17:13:36 +02:00
Alexis Metaireau
7d9fde0460 Round the balance. Fix #1 2011-10-08 16:43:46 +02:00
Alexis Metaireau
75209aeed0 Add a password recovery feature. Fix #32 2011-10-08 15:52:12 +02:00
Alexis Metaireau
1338653bd2 iclude the edit_project template 2011-10-08 15:12:29 +02:00
Alexis Metaireau
19ae3ab3b2 merge with master 2011-10-08 13:45:05 +02:00
Alexis Metaireau
48bc551853 Complete the REST API + Tests. Fix #27 2011-10-08 13:27:30 +02:00
Arnaud Bos
402dbce153 Merge mistake, my bad
- Restore ProjectForm.password as a PasswordField and not TextField
2011-09-18 23:50:14 +02:00
Arnaud Bos
681f22f3e4 Merge branch 'master' into auth-forms-usability 2011-09-18 23:39:10 +02:00
Alexis Metaireau
20ab40690d Provide a way to edit a project. Fix #17 2011-09-14 22:03:18 +02:00
Alexis Metaireau
5721be1d15 Fix #26. Footer is now relative 2011-09-14 18:22:26 +02:00
Alexis Metaireau
7bf3492961 Merge branch 'master' of github.com:ametaireau/budget-manager 2011-09-14 14:52:17 +02:00
Alexis Metaireau
1b8258a521 Add a test for #23 2011-09-14 14:50:54 +02:00
Arnaud Bos
6212b643ec Simplified #30 fix. 2011-09-14 02:19:10 +02:00
Arnaud Bos
34ccb3546d Validate authentication form if given identifier is null. Fix #30. 2011-09-14 02:07:26 +02:00
Arnaud Bos
89e1bbe134 Make the identifier clearer to the end-user.
- Send an email to the user with the summary of the created project
  containing a reminder of the identifier, password and a link.

- Add flash message with the identifier in the /invite page/

- Add a small note containing the identifier in the upper right corner
  of the project main page.
2011-09-14 01:16:25 +02:00
Alexis Metaireau
b0d41291af API: Create and Update support 2011-09-13 22:58:53 +02:00
Alexis Metaireau
8528526f0b API: set the mimetype on the response 2011-09-13 19:24:48 +02:00
Alexis Metaireau
e13ceaf351 REST API is now able to list stuff \o/ 2011-09-13 18:15:07 +02:00
Alexis Metaireau
a60b0c2b48 add mimetype support to the rest API utils 2011-09-13 11:52:11 +02:00
Alexis Metaireau
d2e2260e52 Add a serialization mechanism 2011-09-13 11:27:36 +02:00
Alexis Metaireau
ef3d761fc7 Add Handlers for members and bills. 2011-09-11 23:00:32 +02:00
Alexis Metaireau
4bb96b28de API first draft: utils. (related to #27)
Introduces the "rest" module, with reusable utils for flask applications (will be packaged as a flask extension later on).
2011-09-11 22:11:36 +02:00
Arnaud Bos
88cd2f8675 Fix #24 on Authentication and New project forms usability.
- Do not display anymore the identifier field in home.

- Let the user enter the id if the slug generated from project name already exists as a project id.

- Moved get_billform_for from 'utils' to 'forms', to avoid issue (was 'from forms import ...' into utils,
  and 'from utils import ...' into forms, which causeed an error).
2011-09-11 05:30:28 +02:00
Alexis Metaireau
ef353d643c Refactor the application to use blueprints.
This allows to isolate some behavior in the context of the web application so
the API and the web application can behave in different ways.
2011-09-09 21:21:37 +02:00
Alexis Metaireau
45dc6edacb Move some logic to the models and add comments. 2011-09-09 19:57:28 +02:00