aboutsummaryrefslogtreecommitdiff
path: root/budget/web.py
AgeCommit message (Collapse)AuthorFilesLines
2011-11-28Fix #59. Edit now works properlyAlexis Metaireau1-1/+3
2011-11-28add a (dead simple) dashboard. Fixes #42Alexis Metaireau1-0/+4
2011-11-27change the icons, simplify some javascriptAlexis Metaireau1-1/+1
2011-11-02Add a way to delete a project. Fix #63Arnaud Bos1-0/+5
2011-10-20Last selected payer and translations. Fix #47.Arnaud Bos1-1/+9
- Last selected payer selected by default when creating a new bill - Fix some translation typos and modify a few labels
2011-10-17Add the ability to change the language explicitely. I'm not sure the UI is ↵Alexis Metaireau1-0/+7
better with this. Any thoughts are welcome. Fix #35
2011-10-15fix a bit the UI (identifier on bill's list)Alexis Metaireau1-3/+1
2011-10-15Translate the application using Flask-babel.Alexis Metaireau1-18/+23
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-08Add a password recovery feature. Fix #32Alexis Metaireau1-2/+18
2011-10-08merge with masterAlexis Metaireau1-3/+3
2011-10-08Complete the REST API + Tests. Fix #27Alexis Metaireau1-2/+2
2011-09-18Merge branch 'master' into auth-forms-usabilityArnaud Bos1-15/+39
2011-09-14Provide a way to edit a project. Fix #17Alexis Metaireau1-1/+19
2011-09-14Simplified #30 fix.Arnaud Bos1-3/+2
2011-09-14Validate authentication form if given identifier is null. Fix #30.Arnaud Bos1-2/+6
2011-09-14Make the identifier clearer to the end-user.Arnaud Bos1-1/+14
- 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-10/+3
2011-09-13REST API is now able to list stuff \o/Alexis Metaireau1-2/+11
2011-09-11Fix #24 on Authentication and New project forms usability.Arnaud Bos1-6/+12
- 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-09Refactor the application to use blueprints.Alexis Metaireau1-50/+43
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-09Move some logic to the models and add comments.Alexis Metaireau1-15/+24
2011-09-09Start working on archive managementAlexis Metaireau1-12/+10
2011-08-25Add a way to reactivate an user, make the add project non obstrusiveAlexis Metaireau1-0/+11
2011-08-22display a flash message when an user is coming backAlexis Metaireau1-0/+1
2011-08-22Add missing tests. Fixes #14 and #22.Alexis Metaireau1-0/+8
2011-08-21RequestRedirect uses a HTTP 301. We need 303.Alexis Metaireau1-4/+3
This is mainly because 301 is cacheable whereas 303 (See other) isn't. The redirect response given by the app when trying to connect to a project (via /project_name) while not authenticated was to permanently redirect to /authenticate. Once authenticated, the browser was redirected to the /project_name, that was cached, leading to an endless loop. 303 see other allows to solve this problem.
2011-08-21authentication danceAlexis Metaireau1-8/+7
2011-08-21Add a flash message + the name of the site when sending invitationsAlexis Metaireau1-0/+1
2011-08-21put back stuff in the wrong place for nowAlexis Metaireau1-8/+9
2011-08-21Fix a weird behavior with tests and databases.Alexis Metaireau1-9/+13
Now all the database during the tests is in memory, created for each test and cleared at the end of the test.
2011-08-21add a demo feature (see #16)Alexis Metaireau1-0/+6
2011-08-21Do not loop-redirect on authenticate.Alexis Metaireau1-0/+2
2011-08-21Re-design (Fixes #19)Alexis Metaireau1-32/+32
2011-08-20Add the project to the local context even if it is already in session.Alexis Metaireau1-0/+1
2011-08-20forgot to commit changes to web.pyAlexis Metaireau1-5/+5
2011-08-19No need anymore to pass the project_id to the urls.Alexis Metaireau1-54/+68
The project is now directly added to the context local g object, and injected on the fly into the urls that need it. This commits also add ideas found while reading the flask documentation. The project can be enhanced in many ways, some ideas are stated there.
2011-08-10Add a set_default argument to the get_billform_for function.Alexis Metaireau1-2/+1
2011-08-10Add some more tests about membership. (#14)Alexis Metaireau1-1/+1
Fixes #15 as invalid: deactivated users are not listed on the bill form or on the balance.
2011-08-10The delete bill feature has been fixed. #6Frédéric Sureau1-2/+0
2011-08-10It is now possible to edit existing bills.Frédéric Sureau1-12/+31
2011-08-10Fixes various typos.Alexis Metaireau1-1/+1
2011-08-10get ready for production, baby :)Alexis Metaireau1-8/+9
2011-08-10remove the debug route for productionAlexis Metaireau1-5/+0
2011-08-09formattingAlexis Metaireau1-4/+6
2011-08-09fixes authentication (#9)Alexis Metaireau1-18/+19
2011-08-09Add tests about sending notifications. #7Alexis Metaireau1-1/+1
2011-08-09Do not redirect users to the creation form when they are trying to log in.Alexis Metaireau1-4/+7
Fixes #9
2011-08-09Users are deleted when no bill is assigned to them. Fixes #5Frédéric Sureau1-3/+8
2011-08-09The bills list now only displays the specific bills of the project.Frédéric Sureau1-2/+5
2011-07-31Makes the computation working.Alexis Metaireau1-20/+18