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

50 commits

Author SHA1 Message Date
Jocelyn Delande
2b071a1a3b Add members weight in models and budget backend refs #94 2016-06-15 10:20:37 +02:00
Alexandre Avenel
4f4439eec9 Fix #118 : Create a new project with the name "dashboard" should raise an exception 2015-04-12 20:41:57 +02:00
A.Avenel
bfea4e436f update for flask 0.9 2013-02-18 19:18:49 +01:00
A.Avenel
8b114c5718 update for "create archive" interface 2012-11-26 21:52:25 +01:00
A.Avenel
bbd4a1a838 Cosmetic changes for "add a bill" panel 2012-11-25 13:53:30 +01:00
Frédéric Sureau
be32a2550e Update to Boostrap v2.
Remove unused libs (QTip, JQueryUI) and add bootstrap-datepicker which is much lighter.
2012-04-05 15:40:09 +02:00
Feth AREZKI
6a50e7318b pep8 <3 and '*' imports removal 2012-03-06 18:42:44 +01:00
Alexis Metaireau
3a2958a44e Add a 'sumbit and add a new one' button for new bills. Fix #53 2011-11-28 01:42:02 +01:00
Alexis Metaireau
05e7a7934a Fix #59. Edit now works properly 2011-11-28 01:07:06 +01:00
Tinmn
a5cc50b0c2 Addition of an auto hiding user information message in the add user text field (with translation). 2011-11-20 14:37:32 +01:00
A.Avenel
e20c3bdb6b Small fix in CommaDecimalField class 2011-11-03 13:33:11 +01:00
A.Avenel
66bd6268fa Merge remote branches 'upstream/master' and 'origin/master' 2011-11-02 14:36:16 +01:00
A.Avenel
94ab8fbcc3 Part of a fix to #62 : french numbers should use commas rather than dots 2011-11-02 14:35:38 +01:00
Arnaud Bos
f3972db96a Add a way to delete a project. Fix #63 2011-11-02 12:16:01 +01:00
Arnaud Bos
d1b641b45e Correct "payed" --> "paid" typo. Fix #60. See #48 for spelling mistakes and typos 2011-11-01 13:07:32 +01:00
Arnaud Bos
7f805b63ca Improvement of the sidebar look. Related to #34. Fix #52. 2011-11-01 12:57:12 +01:00
Arnaud Bos
1e0898dd87 Last selected payer and translations. Fix #47.
- Last selected payer selected by default when creating a new bill

- Fix some translation typos and modify a few labels
2011-10-20 04:18:12 +02:00
Alexis Metaireau
b88b317faa Bills can't be negative. Fix #45 2011-10-18 18:13:54 +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
b7ba8e43c4 Coerce the payer choice to int, default is unicode. Fix #33 2011-10-13 21:24:23 +02:00
Alexis Metaireau
75209aeed0 Add a password recovery feature. Fix #32 2011-10-08 15:52:12 +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
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
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
801802836a Start working on archive management 2011-09-09 19:14:19 +02:00
Alexis Metaireau
5550e18cfd Add missing tests. Fixes #14 and #22. 2011-08-22 23:19:00 +02:00
Alexis Metaireau
7d60bee0ef Re-design (Fixes #19) 2011-08-21 01:42:10 +02:00
Alexis Metaireau
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
Alexis Metaireau
683c7ee0b8 Add tests about project creation and member add.
See #14
2011-08-10 17:07:23 +02:00
Frédéric Sureau
922bf769f9 It is now possible to edit existing bills. 2011-08-10 12:59:30 +02:00
Frédéric Sureau
7ee2e74969 Changed 'for' value of checkboxes labels when adding a bill. This is now possible to check the correct box when you click on the label. 2011-08-10 10:28:41 +02:00
Alexis Metaireau
0b180a7e9a use checkboxes rather than select multiple. Fixes #10 2011-08-10 00:20:16 +02:00
Frédéric Sureau
cb05727ec3 We now are able to set the date when adding a bill. 2011-08-09 18:28:48 +02:00
Frédéric Sureau
e6def5587a Changed password field type in authentication form. 2011-08-05 16:44:31 +02:00
Frédéric Sureau
4e24edd5c9 Submit button label changed in project creation form 2011-08-05 16:12:02 +02:00
Alexis Metaireau
2df6e11f05 Adding a bill is now working properly 2011-07-31 00:41:28 +02:00
Alexis Metaireau
87ea045059 Invite people after project creation.
Uses the flask-mail extension.
2011-07-30 15:47:26 +02:00
Alexis Metaireau
e214b39b44 Fixes an unwanted error "user already exists".
Doing a query with an AND SQL statement needs to be done with multiple "filter" callswith SQLAlchemy.

Here, we want to be sure that the username is not used AND that the project is the same than the eventual users that would match. The previous version of the code returned an user with the same name, even if the user wasn't in the right group.
2011-07-30 01:51:13 +02:00
Frédéric Sureau
8dd2091f31 Homepage created and project authentication refactored 2011-07-29 15:44:15 +02:00
Frédéric Sureau
c7f9df9859 Check project id before authentication 2011-07-26 16:03:00 +02:00
Alexis Metaireau
a3b49a231f Manage users creation 2011-07-23 20:36:13 +02:00
Alexis Metaireau
f09d86a06c Project creation. 2011-07-23 19:11:24 +02:00
Alexis Metaireau
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