Alexis Metaireau
03bb52f4c1
Do not loop-redirect on authenticate.
2011-08-21 02:23:53 +02:00
Alexis Metaireau
d584391929
minor styling changes (homepage)
2011-08-21 02:23:48 +02:00
Alexis Metaireau
2fdc86136d
minor changes to the homepage
2011-08-21 01:50:35 +02:00
Alexis Metaireau
7d60bee0ef
Re-design ( Fixes #19 )
2011-08-21 01:42:10 +02:00
Alexis Metaireau
95fb9bbbfd
Add the project to the local context even if it is already in session.
2011-08-20 00:28:58 +02:00
Alexis Metaireau
3c4d87ae52
forgot to commit changes to web.py
2011-08-20 00:24:00 +02:00
Alexis Metaireau
28a3abf96d
No need anymore to pass the project_id to the urls.
...
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-19 23:44:54 +02:00
Alexis Metaireau
402d756bf1
Make flash messages go away after 2 seconds.
2011-08-10 23:55:07 +02:00
Alexis Metaireau
065fe965a0
Add a set_default argument to the get_billform_for function.
2011-08-10 19:47:06 +02:00
Alexis Metaireau
67350e7acc
Add some simple javascript for usability.
...
* Ask confirmation before deleting an user
* Display the form when clicking on the add bill button
* Only show the delete button (for users) on mouse over.
2011-08-10 19:23:54 +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
3dd34c6cc4
Added my name to the authors.
2011-08-10 16:55:22 +02:00
Frédéric Sureau
325b098345
Margin added between the add bill button and the bill list.
2011-08-10 13:16:46 +02:00
Frédéric Sureau
8a79f2d00c
The delete bill feature has been fixed. #6
2011-08-10 13:05:01 +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
af2ca220a7
Automatically select all members of the 'payed for' field when adding a bill.
2011-08-10 10:48:14 +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
d820a35c73
Add a fabfile to simplofy the deployment. Fixes #13
2011-08-10 01:31:59 +02:00
Alexis Metaireau
98f9d96a27
Fixes various typos.
2011-08-10 01:05:25 +02:00
Alexis Metaireau
5c44e495b7
get ready for production, baby :)
2011-08-10 00:53:15 +02:00
Alexis Metaireau
8050defa8f
remove the debug route for production
2011-08-10 00:47:50 +02:00
Alexis Metaireau
0b180a7e9a
use checkboxes rather than select multiple. Fixes #10
2011-08-10 00:20:16 +02:00
Alexis Metaireau
04fa8d5b02
Styling stuff. Fixes #9 (Adds a menu)
2011-08-09 23:49:44 +02:00
Alexis Metaireau
10642d9ad1
formatting
2011-08-09 23:49:44 +02:00
Alexis Metaireau
cdc6f2e1c4
Add tests to make test that invitations are sent.
...
Fixes #7
2011-08-09 23:49:44 +02:00
Alexis Metaireau
fc0b7f9e66
empty the todo list
2011-08-09 23:49:44 +02:00
Alexis Metaireau
bdbc6361b9
fixes authentication ( #9 )
2011-08-09 23:49:44 +02:00
Alexis Metaireau
78914962ed
Add tests about sending notifications. #7
2011-08-09 23:49:44 +02:00
Alexis Metaireau
4b08af56f8
Do not redirect users to the creation form when they are trying to log in.
...
Fixes #9
2011-08-09 23:49:44 +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
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
3c5ac5b782
The bills list now only displays the specific bills of the project.
2011-08-09 18:05:55 +02:00
Frédéric Sureau
efb9d8942c
Corrected typo on home page
2011-08-09 17:26:57 +02:00
Frédéric Sureau
1c33248e72
Updated header label in the bills list.
2011-08-05 17:05:33 +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
410c4596df
Error display changed.
2011-08-05 16:42:43 +02:00
Frédéric Sureau
4e24edd5c9
Submit button label changed in project creation form
2011-08-05 16:12:02 +02:00
Frédéric Sureau
f4da4d9a33
Changing submit buttons display
2011-08-05 16:10:21 +02:00
Alexis Metaireau
769bcbf3f1
Makes the computation working.
2011-07-31 23:55:18 +02:00
Alexis Metaireau
548101d8bb
Some more theming and fixes.
2011-07-31 23:55:02 +02:00
Alexis Metaireau
37be0f4fa1
Theming.
...
Uses uni-form to style forms and add a macro to ease this.
Of course, the overall thing has to be reworked, but having this in place will
help us to have something easier to change when we will really care about design.
All the form templates can now be defined in templates/forms.html and be called
thansk to {{ forms.name_of_the_form(form) }}.
I've done some styling, but that's really not my thing, feel free to modify it.
2011-07-31 16:33:29 +02:00
Alexis Metaireau
3417a5a7d4
List the projects in session into the home page.
...
This allows easier access when people don't remembre the name / url of their projects.
2011-07-31 00:53:12 +02:00
Alexis Metaireau
2df6e11f05
Adding a bill is now working properly
2011-07-31 00:41:28 +02:00
Alexis Metaireau
3bbc3343a2
add a gitignore file
2011-07-30 15:49:12 +02:00
Alexis Metaireau
ea136b506b
List existing sessions on the home.
...
Also factorize the code to display errors in forms.
2011-07-30 15:47:51 +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
93818d9aba
Update the TODO list.
...
Adding members is now effective, added some concerns about eventual spammers.
2011-07-30 15:42:02 +02:00
Alexis Metaireau
1229beaf54
Put the dependencies into a requirements.txt file.
...
This allows to put them only in one place and to use `pip install -r requirements.txt` in order to install all the dependencies.
2011-07-30 15:40:48 +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