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
Alexis Metaireau
ab305ccbc6
Put back the old version of authenticate.
...
(Fred, is there a reason why you're using form.id.validate()? Doesn't seem to be defined in here.
Also properly deletes the session using session.clear rather than session = None.
As session is an observable object, if it is updated to None, the session will *not* be invalided at the end of the request. Instead, you have to call clear() which will clear its members so the cookie will be updated accordingly at the end of the request.
2011-07-30 01:32:55 +02:00
Alexis Metaireau
0fc95cefb4
Add templates to add a member.
2011-07-30 01:31:56 +02:00
Alexis Metaireau
fcf33e9fdb
Uses blueprint classes rather than floats.
2011-07-30 01:31:14 +02:00
Frédéric Sureau
e9b9a06779
Adding bill works
2011-07-29 17:14:33 +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
adabd8beec
update the TODO file
2011-07-23 18:47:29 +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
Alexis Metaireau
4fcaf7d7ec
Kick-start multiple projects support.
...
This commit adds:
* support for projects (creation not yet finished)
* an authentication mechanism
* bugs (basically all the features are not working anymore)
2011-07-23 15:54:23 +02:00
Alexis Metaireau
54de7abf23
add a delete feature
2011-03-18 19:44:40 +00:00
Alexis Metaireau
03ce000e9a
fix typos
2011-03-12 20:57:22 +00:00
Alexis Metaireau
6200eaa48d
fix typo
2011-03-10 20:31:02 +00:00
Alexis Metaireau
dce104a183
add a confirmation button
2011-03-10 20:12:52 +00:00
Alexis Metaireau
dea22b9a89
add some stuff in the readme about deployment
2011-03-10 17:51:16 +00:00
Alexis Metaireau
83a59fba10
update the path to the app for all conf files
2011-03-10 17:37:10 +00:00
Alexis Metaireau
044ccd2d47
update the names in the nginx conf
2011-03-10 17:33:48 +00:00
Alexis Metaireau
de708ce3ef
reshape the folder structure. Add conf files
2011-03-10 17:32:53 +00:00
Alexis Metaireau
fc569241be
create the db in any case when loading the module
2011-03-10 17:05:34 +00:00
Alexis Metaireau
4947a99c3a
add a readme
2011-03-10 02:41:05 +00:00
Alexis Metaireau
b3db90545c
initial import
2011-03-10 02:37:21 +00:00