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

138 commits

Author SHA1 Message Date
Tinmn
2cadead381 Members are now sorted by name in the balance. 2011-11-26 14:24:48 +01:00
Alexis Metaireau
672f2a1ca1 revert arnaud's commit about delete links 2011-11-24 00:27:51 +01:00
Tinmn
2a6ccaa0cf Correction of a (very) minor bug of bill hover (commit 6df17b7d97). 2011-11-21 02:35:57 +01:00
Tinmn
6df17b7d97 Bill's members highlights in the balance in accordance with #69.
I'm not satisfied with the payer display but I have better in mind.
2011-11-20 20:30:14 +01:00
Tinmn
2e9d1b882a Change delete bill logo in accordance with #67. 2011-11-20 16:43:03 +01:00
Tinmn
ebf705a20f Bill owers are now separated with a ',' in the bill list. 2011-11-20 16:32:48 +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
Arnaud Bos
3bf8cececf Minor CSS changes 2011-11-17 09:07:21 +01:00
Arnaud Bos
0fe49c13d5 See #54. Move the flashing message to absolute positionning to avoid annoying shifting of the bills list. 2011-11-02 13:44:55 +01:00
Arnaud Bos
ac2935b429 Ease "Add a bill" form occurrence with slideUp/slideDown effects. Related to #53. 2011-11-02 13:20:00 +01:00
Arnaud Bos
f3972db96a Add a way to delete a project. Fix #63 2011-11-02 12:16:01 +01:00
Arnaud Bos
655774e4d4 Merge pull request #65 from aavenel/master
Bug fix in order to show the calendar widget when you edit a bill.
2011-11-01 17:09:03 -07:00
Arnaud Bos
d9cf29c510 First draft of fixing sidebar ugly hovering effect pointed in #51. 2011-11-02 00:54:43 +01:00
A.Avenel
471ef87d3e Bug fix in order to show the calendar widget when you edit a bill. Also fix another bug related to cancel button. 2011-11-02 00:23:21 +01:00
Arnaud Bos
0d44b97c4a Make the new bill link more visible. Fix #50. 2011-11-01 14:41:51 +01:00
Arnaud Bos
5963d7df9d Replace edit / delete links by icons. Fix #49. 2011-11-01 14:35:20 +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
6f4f04b117 Document the API. Fix #46 2011-10-18 23:26:13 +02:00
Alexis Metaireau
4e1819523f Minor changes to the slidebar. See #34 2011-10-18 18:39:38 +02:00
Arnaud Bos
c3b3e2f770 Paint sidebar in green. Close #34 2011-10-18 04:30:34 +02:00
Alexis Metaireau
6f3b9dfda8 change the link in the footer as well 2011-10-18 00:04:50 +02:00
Alexis Metaireau
db7e1496b0 Add the ability to change the language explicitely. I'm not sure the UI is better with this. Any thoughts are welcome. Fix #35 2011-10-17 00:03:41 +02:00
Alexis Metaireau
f7a969240a Add a datepicker (with support of i18n). Fix #37 2011-10-16 23:38:27 +02:00
Alexis Metaireau
9a3e4537cb Format floats with 2 decimals. Fix #39 2011-10-16 13:59:22 +02:00
Alexis Metaireau
ebcd64237d clicking on the logo should return on the homepage 2011-10-15 21:49:27 +02:00
Alexis Metaireau
c1267da2ea translate 'each' as well 2011-10-15 02:53:09 +02:00
Alexis Metaireau
8acd4984dd add the project's title in the list of bills 2011-10-15 02:40:19 +02:00
Alexis Metaireau
b07c8a9273 remove the archive feature for now 2011-10-15 02:25:12 +02:00
Alexis Metaireau
d9c7977a59 fix a bit the UI (identifier on bill's list) 2011-10-15 02:24:02 +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
5245a1a6c7 Do not prompt the user with a 'prompt()' in javascript when deleting members. Fix #29 2011-10-08 17:13:36 +02:00
Alexis Metaireau
75209aeed0 Add a password recovery feature. Fix #32 2011-10-08 15:52:12 +02:00
Alexis Metaireau
1338653bd2 iclude the edit_project template 2011-10-08 15:12:29 +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
Alexis Metaireau
5721be1d15 Fix #26. Footer is now relative 2011-09-14 18:22:26 +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
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
ef353d643c Refactor the application to use blueprints.
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-09 21:21:37 +02:00
Alexis Metaireau
801802836a Start working on archive management 2011-09-09 19:14:19 +02:00
Alexis Metaireau
0303ab4db7 Add a way to reactivate an user, make the add project non obstrusive 2011-08-25 18:25:58 +02:00
Alexis Metaireau
1ccfa8a07d don't display delete link if the user is deactivated 2011-08-22 23:30:48 +02:00
Alexis Metaireau
e97d460a4a iterate also on deactivated people, show them if they owe or should receive money 2011-08-22 23:26:49 +02:00
Alexis Metaireau
63777c16bc authentication dance 2011-08-21 22:20:50 +02:00
Alexis Metaireau
16fcfd284e Add a flash message + the name of the site when sending invitations 2011-08-21 21:55:47 +02:00
Alexis Metaireau
ab44f253cd style the send invitations page 2011-08-21 21:16:32 +02:00
Alexis Metaireau
35ea308a26 Fix a weird behavior with tests and databases.
Now all the database during the tests is in memory, created for each test and cleared at the end of the test.
2011-08-21 20:54:20 +02:00
Alexis Metaireau
a90959ba70 include bootstrap.css in the files to avoid weird changes in the future, Add a mention about the freedom of the project. Fixes #16 2011-08-21 14:57:05 +02:00
Alexis Metaireau
b941248662 add a demo feature (see #16) 2011-08-21 03:27:59 +02:00
Alexis Metaireau
5be9b2a0ce wording 2011-08-21 03:19:20 +02:00
Alexis Metaireau
85549cc98d graph some stuff from the spiral website 2011-08-21 03:16:54 +02:00
Alexis Metaireau
a6825cdcb7 styling & usability 2011-08-21 02:37:15 +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
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
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
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
922bf769f9 It is now possible to edit existing bills. 2011-08-10 12:59:30 +02:00
Alexis Metaireau
98f9d96a27 Fixes various typos. 2011-08-10 01:05:25 +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
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
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
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
410c4596df Error display changed. 2011-08-05 16:42:43 +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
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
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
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
dce104a183 add a confirmation button 2011-03-10 20:12:52 +00:00
Alexis Metaireau
de708ce3ef reshape the folder structure. Add conf files 2011-03-10 17:32:53 +00:00