Commit Graph

73 Commits

Author SHA1 Message Date
Phyks 09bbb789c6 Fix user adding 2014-08-31 15:09:50 +02:00
Phyks 7f547b94d9 Start nice i18n
* Set everything up

TODO: Replace all strings by i18n strings in templates and PHP code.
2014-08-30 23:57:12 +02:00
Phyks 337c3d81f0 Further refactoring 2014-08-30 23:39:41 +02:00
Phyks d465f2aab9 Refactor install 2014-08-30 23:21:27 +02:00
Phyks 40472cdcee Fix rights 2014-08-30 22:35:01 +02:00
Phyks a816b73f66 Try / catch MySQL connection 2014-08-30 22:29:46 +02:00
Phyks 185a3f831c Fix issue #9 + global payback
TODO :
* Finish to fix globals paybacks
* Bad handling of cents when paying back… :/
2014-01-27 00:00:47 +01:00
Phyks (Lucas Verney) 16f52bfc6a Bugfixes
Correction of issues #1 and #2
2014-01-05 14:36:50 +01:00
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