Commit Graph

65 Commits

Author SHA1 Message Date
Phyks 3047a39acd Updated stay signed in system for a real (working) system
Thanks to Sbgodin for his work on Shaarli and Leed, which I adapted.

Please note that if you already have a working instance of BouffeATUlm,
you have to update manually your database. You have to set a new field
for User database (at the end of the database). This field has to be
called "stay_signed_in_token" and to be VARCHAR(32).
2013-12-26 00:13:54 +01:00
Phyks (Lucas Verney) 21b7b7e64c Bug correction with PHP5.4 due to Strict standards 2013-12-20 13:20:10 +01:00
Phyks bbf107aa69 Singleton method to handle database class and avoid "too many connections" errors 2013-11-24 22:16:32 +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 7a3d414536 Bug correction in global payback
Bug correction in global paybacks, should now work fine.
2013-11-04 21:12:22 +01: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 9d73675aea Backend for e-mail notifications. Actual sending of e-mail TODO 2013-09-28 19:31:27 +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 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 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 2a02ae829c French template + Small ergnomoy improvements 2013-09-17 00:03:40 +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 970553a599 Bug correction in payback system 2013-09-14 23:21:49 +02:00
Phyks f67a9a6e2f Index balance table working 2013-09-13 19:18:49 +02:00
Phyks 3696a6566a Index page almost done. TODO : balance table 2013-09-12 18:55:12 +02:00
Phyks 4824b05219 Payback base system now working 2013-09-11 00:51:45 +02:00
Phyks 359c706e94 Bug correction in load() function in storage class 2013-09-11 00:51:08 +02:00
Phyks 70adda6248 Cleaning functions and putting it in tpl 2013-09-10 23:08:05 +02:00
Phyks 978b518f78 Started to work on Payback system 2013-09-10 23:07:47 +02:00
Phyks d4a5da6297 Invoice management complete 2013-09-08 18:36:59 +02:00
Phyks 533a1cfe9a Bug correction in invoice display 2013-09-08 16:12:30 +02:00
Phyks c79cfe100c Add an invoice now working 2013-09-08 15:54:44 +02:00
Phyks 98bb04e92d Backend functions done to add / edit a bill. Add/edit bill frontend still has bugs. 2013-09-08 13:52:00 +02:00
Phyks 63db380460 UsersIn class implemented 2013-09-08 00:41:49 +02:00
Phyks 57d6f109d0 Overriding necessary method in Invoices class 2013-09-08 00:11:55 +02:00
Phyks 346ba92334 Found how to store UsersIn :) 2013-09-07 23:56:31 +02:00
Phyks 6558ec10d2 Edit_user JSON view ok 2013-09-06 23:25:46 +02:00
Phyks 6bbad05b36 Settings view in JSON mode ok 2013-09-06 23:07:35 +02:00
Phyks bf1b454efa Started to write the code to handle json API 2013-09-06 20:10:29 +02:00
Phyks 69fc984bab Bug correction in Storage class 2013-09-06 18:09:19 +02:00
Phyks 2582594b37 i18n system improved. Templates are localized. 2013-09-05 23:57:47 +02:00
Phyks 285661b00a Started i18n system 2013-09-05 23:46:51 +02:00
Phyks 0eba71c1dc Updated Storage class to handle load with conditions 2013-09-05 23:09:41 +02:00
Phyks 94c46e4ef5 Templates handling improved 2013-09-05 20:09:03 +02:00
Phyks c990823223 Problem with raintpl solved, raintpl class updated in inc folder and pull request submitted to raintpl 2013-09-05 19:43:10 +02:00
Phyks e4fd74e6ee Bug correction in User::isUnique method + Start of caching system 2013-09-01 23:10:05 +02:00
Phyks 63f0d881a8 Display name of the connected user 2013-08-30 22:33:06 +02:00
Phyks 51f3aa1491 Design improvements 2013-08-30 20:07:52 +02:00
Phyks 17871b984c Bug correction with recent load method refactor 2013-08-29 12:26:28 +02:00
Phyks 73b772aa61 Refactor load method 2013-08-27 15:51:04 +02:00
Phyks af10ae7445 Secure vars to display 2013-08-26 21:21:52 +02:00
Phyks 109aae4cbe Small improvements 2013-08-26 09:52:04 +02:00
Phyks 8272ffb725 Bug corrections 2013-08-25 23:06:47 +02:00
Phyks b9b2d9d5e9 Prevents from adding two users with the same login + bug correction 2013-08-25 00:06:14 +02:00
Phyks c276d719cd CSRF protection
Added a simple CSRF protection
2013-08-24 23:54:21 +02:00