aboutsummaryrefslogtreecommitdiff
path: root/budget/forms.py
AgeCommit message (Collapse)AuthorFilesLines
2011-10-18Bills can't be negative. Fix #45Alexis Metaireau1-0/+4
2011-10-15Fix translations of forms.Alexis Metaireau1-1/+1
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-15Translate the application using Flask-babel.Alexis Metaireau1-36/+31
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-14I HAZ TO RUN TESTS BEFORE COMMITINGAlexis Metaireau1-3/+3
2011-10-13Coerce the payer choice to int, default is unicode. Fix #33Alexis Metaireau1-1/+1
2011-10-08Add a password recovery feature. Fix #32Alexis Metaireau1-0/+10
2011-10-08merge with masterAlexis Metaireau1-4/+5
2011-10-08Complete the REST API + Tests. Fix #27Alexis Metaireau1-2/+3
2011-09-18Merge mistake, my badArnaud Bos1-0/+1
- Restore ProjectForm.password as a PasswordField and not TextField
2011-09-18Merge branch 'master' into auth-forms-usabilityArnaud Bos1-17/+36
2011-09-14Provide a way to edit a project. Fix #17Alexis Metaireau1-9/+13
2011-09-14Make the identifier clearer to the end-user.Arnaud Bos1-1/+1
- 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-13API: Create and Update supportAlexis Metaireau1-4/+20
2011-09-11Fix #24 on Authentication and New project forms usability.Arnaud Bos1-4/+31
- 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-09Start working on archive managementAlexis Metaireau1-0/+5
2011-08-22Add missing tests. Fixes #14 and #22.Alexis Metaireau1-1/+2
2011-08-21Re-design (Fixes #19)Alexis Metaireau1-3/+2
2011-08-10Add some more tests about membership. (#14)Alexis Metaireau1-1/+0
Fixes #15 as invalid: deactivated users are not listed on the bill form or on the balance.
2011-08-10Add tests about project creation and member add.Alexis Metaireau1-0/+4
See #14
2011-08-10It is now possible to edit existing bills.Frédéric Sureau1-7/+18
2011-08-10Changed 'for' value of checkboxes labels when adding a bill. This is now ↵Frédéric Sureau1-1/+1
possible to check the correct box when you click on the label.
2011-08-10use checkboxes rather than select multiple. Fixes #10Alexis Metaireau1-1/+19
2011-08-09We now are able to set the date when adding a bill.Frédéric Sureau1-1/+3
2011-08-05Changed password field type in authentication form.Frédéric Sureau1-1/+1
2011-08-05Submit button label changed in project creation formFrédéric Sureau1-1/+1
2011-07-31Adding a bill is now working properlyAlexis Metaireau1-2/+11
2011-07-30Invite people after project creation.Alexis Metaireau1-0/+10
Uses the flask-mail extension.
2011-07-30Fixes an unwanted error "user already exists".Alexis Metaireau1-2/+2
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-29Homepage created and project authentication refactoredFrédéric Sureau1-0/+1
2011-07-26Check project id before authenticationFrédéric Sureau1-1/+1
2011-07-23Manage users creationAlexis Metaireau1-1/+14
2011-07-23Project creation.Alexis Metaireau1-0/+11
2011-07-23Split the logic into different python modules:Alexis Metaireau1-0/+24
* 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