Age | Commit message (Collapse) | Author | Files | Lines |
|
added a timer to db_query for debugging/optimizatin
|
|
jquery
using jquery to add table sorting, might also use it for other things later.
Also optimized some DB-queries and cleaned up some code.
|
|
users can specify a vacation start and end date and a message. Once they are on vacation their name will be shown in a different color at the table and on the user page (in case it is their turn).
|
|
now you can see the cards that are exchanged during the pre-game setup.
Also added a "trump back" message in case trump has been given back.
|
|
same hand got dealt twice due to an error in the new routine. Fixed it, but slowed it down
again to roughly 2s per request.
|
|
Players who set their preference on this setting to 'no' are not considered as players in a new game.
|
|
old code used a long time to figure out if cards from another game could be reused. The new version should be much faster.
|
|
you can now sort your hand "low to high" and change your default using the setting dialog
|
|
same hand
had to change a few things and check more often if people are logge in, so that for example
personal notes only show up when you are logged in and not when someone else is looking at your cards
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
named a column 'call' which seems to be a reserved word for mysql,
so doing a "...AND call='...' " didn't work. Changed to Tabelname.call
and everything seems to be ok.
Also deleted trailing whitespaces.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
mysql's TIMEDIFF seems to have changed... comparing <=0 didn't work correctly anymore.
Changed it to convert to seconds and then compare those against <=0 and use that data to calculate game number
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
cards exchanged during poverty show now up in the pre-game trick.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
a table that can be styled via CSS is created from an array.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
user can set this in the preferences now and won't be asked during a game setup
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
rewrote the settings page, timezone can now be changed, the user menu
shows up on the left on the pref page. Added a link to the pref-page in the left menu.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
moved some code around, so that we test the result
of the init phase in the init case statement. Made things
a bit clearer and removed one page reload by doing this.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
nothing critical
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
to DB_xxx
should be very easy now to change to a different database. also made the code look nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
show points/game for all players that have 10 or more games
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
created an include dir and almost everything that was in index.php is now in separate
files and gets only included in index.php... makes index.php look a lot nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|