Age | Commit message (Collapse) | Author | Files | Lines |
|
should be enough to get them playing in new games.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
licence expired
They changed their company police and won't give out a free licence agreement anymore, so might as well remove it completely.
|
|
|
|
the upgrade will be done automatically when a user logs in, password recovery is still based
on md5, but that should be OK, since it's a random generated password anyway
|
|
|
|
language used could be overwritten by another user's choise
the DB_get_Prefs($myid) functions used to set the _SESSION variable for the language, but was also called with ids that belonged to other players overwriting the language settings with that from another user
|
|
instead of looping over all games and have 3 database querries for each gameid, we now only do
5 querries: one for the gameids, scores and gametype and then one for each player to get his party
|
|
|
|
comments; DB upgrade
the problem with re/contra at the beginning of a game was that no playid was set
yet, so we couldn't record when the call was made. Added two special playid (-1 and -2),
for pre-game comments and re/contra calls before the first card is played.
For this we need to record the gameid in the comment table => DB update
|
|
|
|
using gettext to add support for localization
|
|
The low trump can either be treated as poverty or similar to 5 nines, that is the game is canceled unless someone plays a solo.
Also minor code cleanup.
|
|
|
|
|
|
his turn
the feed shows the same as the "It's your turn in these games" box.
|
|
use icons at the table and on the user page (for last players logged in).
|
|
you can now select to get emails only every N hours. They are saved in the database and a cron script will send them out.
|
|
only shows 0,1,few or many tricks, so that we don't give too much information away. Might adjust or change this in the future.
This addresses issues #11.
|
|
|
|
add option to only log querries that take a long time
|
|
games are not deleted from the DB anymore, so we don't need this function.
|
|
deleting the games could result in the same people getting the same hand redealt over and over again.
By just keeping track of the hands in the game table, this problem should be gone.
Fixed issue #50.
|
|
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>
|