Commit Graph

123 Commits

Author SHA1 Message Date
Phyks
bbf107aa69 Singleton method to handle database class and avoid "too many connections" errors 2013-11-24 22:16:32 +01:00
Phyks
9c90c37dd8 Added a balance statement on the index page 2013-11-19 14:14:29 +01:00
Phyks
af2363c7cd Mask invoices when user is not concerned
(except if admin user)

Only the invoices that concern the current user (as buyer or user in) are displayed now.
2013-11-12 20:11:24 +01:00
Phyks
06abe6bbc6 Simplify the global payback matrix
Added a new feature. The "global payback matrix" is now simplified in
order to minimize the number of exchanges between members.
2013-11-12 19:54:52 +01:00
Phyks
38e8bcc766 Bug correction in Invoices class
There was an error in Invoices class, leading to an undefined result if
the user was not in the invoice.
2013-11-09 18:00:00 +01:00
Phyks
9535c47810 Orthograph
Orthographic correction in edit_users.html for french template.
2013-11-07 20:38:49 +01:00
Phyks
7a3d414536 Bug correction in global payback
Bug correction in global paybacks, should now work fine.
2013-11-04 21:12:22 +01:00
Phyks
523daa3f00 Bug correction in index.php
If time is AM, $_POST['date_hour'] is 0, so it is empty and submission
fails. Replaced empty by isset in index.php to solve this issue.
2013-11-04 19:53:47 +01:00
Phyks
d6e1a89be9 Bug correction in token regeneration 2013-10-28 21:24:01 +01:00
Phyks
97dbd3d330 Bug correction in password update in admin backend 2013-10-28 21:04:34 +01:00
Phyks
b8de12d01b Added a hook to minify CSS and JS
Pre-commit hook and yuicompressor is available in .hooks dir (and should
be copied to .git/hooks) to handle CSS and JS minification.
2013-10-14 16:15:55 +02:00
Phyks
1bf71e0f53 Simplified matrix for non admin users on index
The balance table on the index page is smaller for non admin users and
only displays necessary lines.
2013-10-08 13:38:24 +02:00
Phyks
82a469404c Bug correction
Corrected some bugs in User class, related to email management. Added a
sendmail function (usage to be done) and small bug fixes in install and
settings.
2013-10-07 16:57:56 +02:00
Phyks
95d84c1a55 Bug corrections in index and install 2013-09-29 19:57:37 +02:00
Phyks
5dbc0606ca Backend for e-mail notifications. Actual sending of e-mail TODO 2013-09-28 19:35:13 +02:00
Phyks
bb189eb86c Backend for e-mail notifications. Actual sending of e-mail TODO 2013-09-28 19:32:45 +02:00
Phyks
9d73675aea Backend for e-mail notifications. Actual sending of e-mail TODO 2013-09-28 19:31:27 +02:00
Phyks
b2727d9254 Some design and usability improvements. 2013-09-27 17:33:04 +02:00
Phyks
e26fd91ff1 Correct handling of user deletion in global paybacks 2013-09-26 18:41:01 +02:00
Phyks
afb7c0ef85 Bug correction in global paybacks + no more unset vars when token errors appear 2013-09-26 18:34:29 +02:00
Phyks
dfdfa1f496 Edit notice token error corrected 2013-09-26 17:36:59 +02:00
Phyks
dbceafd606 Check users in in invoices when modifying number of guests 2013-09-26 17:36:26 +02:00
Phyks
4d8b63e0c4 Mistake in index.php 2013-09-26 17:22:13 +02:00
Phyks
4de572bdaf CSRF protection enhanced. To be tested... 2013-09-25 22:09:25 +02:00
Phyks
e5014cb7f9 Global paybacks should be ok. To be tested 2013-09-25 20:28:09 +02:00
Phyks
32cd8a4fe7 Sorting global paybacks by id DESC 2013-09-25 19:44:43 +02:00
Phyks
dc8a4fbd95 Validate global paybacks 2013-09-24 16:49:04 +02:00
Phyks
faed9a9a37 Page to see global paybacks ok. TODO : Confirmation of paybacks 2013-09-24 16:10:58 +02:00
Phyks
003df4d333 Bug correction in load method for Users in global paybacks 2013-09-24 14:28:31 +02:00
Phyks
8d9a2bc1f1 Manage paybacks should be working. 2013-09-23 23:43:53 +02:00
Phyks
fd8647e678 Typo in index.php : forgot a "s" in the dirname to store db backups 2013-09-23 23:19:49 +02:00
Phyks
d508288f20 Manage paybacks page for english tpl + checking write access on db_backups during install. 2013-09-23 23:18:21 +02:00
Phyks
2134a2c284 First version of global payback 2013-09-23 23:08:01 +02:00
Phyks
05b2a1c929 Bug correction in amount for users when guests are here 2013-09-23 23:07:37 +02:00
Phyks
8ac3a84f6a Bug correction in settings tpl 2013-09-21 16:19:01 +02:00
Phyks
3a58b6c257 Some bugs left in new invoice template 2013-09-21 16:12:10 +02:00
Phyks
340d4be892 Bug correction in settings 2013-09-21 14:36:30 +02:00
Phyks
2a02ae829c French template + Small ergnomoy improvements 2013-09-17 00:03:40 +02:00
Phyks
07d440a4e0 Added a favicon 2013-09-15 17:14:36 +02:00
Phyks
d9e9e32249 Link to confirm all paybacks between two people 2013-09-15 16:55:22 +02:00
Phyks
1a9f2429b1 Balance table fully functional 2013-09-15 16:39:16 +02:00
Phyks
da0a51f997 No self bills 2013-09-15 16:28:44 +02:00
Phyks
1a9acc5ece Safe deletion of users 2013-09-15 16:19:37 +02:00
Phyks
2fc4311c54 Bug correction in minutes handling in payback 2013-09-15 16:12:01 +02:00
Phyks
ccb89358bf List of bills working on index page 2013-09-15 16:03:27 +02:00
Phyks
4ff1ce890c Delete paybacks and users in when deleting an invoice 2013-09-14 23:36:19 +02:00
Phyks
2fb68a035f Some lines forgotten in payback deletion system 2013-09-14 23:33:01 +02:00
Phyks
92160b28ad Bug correction in balance table display 2013-09-14 23:30:14 +02:00
Phyks
970553a599 Bug correction in payback system 2013-09-14 23:21:49 +02:00
Phyks
a8dcea0625 Error in settings saving + viewport for mobile browsing 2013-09-14 15:24:05 +02:00