summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-04-26CLEANUP: make index.php very short and move everything in separate filesArun Persaud14-2328/+2419
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>
2008-04-18BUGFIX: couldn't unclick no90 callArun Persaud2-17/+17
radio buttons for calling "no 120", "no 90", etc. had all different names and therefore clicking a second one, didn't unclick the first one. Signed-off-by: Arun Persaud <apersaud@lbl.gov>
2008-04-15BUGFIX: counted foxes wrong for povertyArun Persaud1-17/+27
had two cases (no schweinchen and two schweinchen) mixed up. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-04-07BUGFIX: adding new users was brokenArun Persaud1-1/+1
forgot to update the insert statement for the db when changing the user table a while ago. fixed now. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-04-07NEW FEATURE: some more statisticsArun Persaud1-1/+40
list the number of games a user is in at the moment and another list for the total number of games. Also list people that manage not to lose their foxes. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-04-07CLEANUP: started some database cleanup and added some more commentsArun Persaud6-253/+209
instead of having a different function for each possible way to query for example the full name of a player, there is now only one function with a switch statement that handles the different cases. Still not 100% perfect, but I think nicer to read than before. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-29BUGFIX: a comment for schweinchen was issued even in solo games without ↵Arun Persaud2-4/+13
schweinchen fixed the comment issue and also added trump solo to games where schweinchen will count Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-29BUGFIX: Karlchen and fox weren't accounted for in solosArun Persaud1-2/+28
this made sense in some solos, e.g. trumpless, but not in some other solos, e.g. normal trump solo. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-19LAYOUT: keep notes area from overflowingArun Persaud1-0/+3
added overflow auto to CSS and fixed the height of the div. Depending on the screen size there might be overlap now, but at least the notes area won't grow like crazy in case you add too many notes. Signed-off-by: Arun Persaud <apersaud@lbl.gov>
2008-03-19BUGFIX: Typo in one of the emailsArun Persaud1-1/+1
fixed a small typo Signed-off-by: Arun Persaud <apersaud@lbl.gov>
2008-03-15CLEANUP: more comments for index.phpArun Persaud1-16/+52
managed to comment the code a bit more ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-13BUGFIX: some stats should really be displayed as an average per game...fixedArun Persaud1-8/+19
The number of foxes caught/lost was displayed in absolut numbers, which didn't look good for people who played a lot of games. So now it's on a per game basis. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-11NEW FEATURE: Ability to add personal notes for each gameArun Persaud4-1/+89
In case a player is involed in too many games it can get quite confusing with whom your playing, etc. so now the player can add notes on the side that only show up on his/her screen. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-02BUGFIX: Score table in email displayed some htmlArun Persaud1-2/+2
had two str_replace functions in the wrong order, should be fixed now. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-01FEATURE: display names of new players and last logged in playersArun Persaud3-4/+35
instead of showing all registered players, just display the above. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-01FEATURE: add score table to email at the end of the gameArun Persaud1-0/+32
the last 4 lines of the score table are now added to the email that is being send out at the end of a game. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-01FEATURE: added a faviconArun Persaud2-0/+1
Lance made a nice favicon for edoko. So here it is ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-02-28BUGFIX: link to wiki wasn't in the config file, added link on the home pageArun Persaud3-29/+34
* the home page now links to the wiki * the wiki-url is now part of the config file Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-06BUGFIX: show that is is your turn after a new game has been createdArun Persaud1-14/+11
if there was no player set for a new game, the user page didn't show that is was your turn in that game Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-06NEW FEATURE: show the time a game took at the end of the gameArun Persaud1-0/+5
display time in hours together with total points. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-06BUGFIX: people can't start new games unless they are part of itArun Persaud2-118/+138
up to now anyone could start a new game, now you need to be logged in and also be a player in the game Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-05CLEANUP: started rewrite of pre-game phase, fixed 'start' sectionArun Persaud1-23/+56
the whole process is not very easy to read... you could get from start to init, but then the error check for the start phase was done during the init phase and if something went wrong init sent you back to the start-phase... now all error-checking for the start-phase is done during the start phase. should be a bit easier to read ;) Still need to fix the other sections Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-05BUGFIX: didn't set next player correctly during startupArun Persaud1-2/+4
in db.game the next player is set with his user.id, but I used the position at the table in some places. fixed now Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-05NEW FEATURE: show Vorbehalte in each gameArun Persaud1-0/+25
Vorbehalte are now shown in the same list as tricks and the score, so that players can go back and have a look at who said what Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-05LAYOUT: new game and vorbehaltArun Persaud1-5/+6
added layout to display vorbehalte and also fixed layout for new games a bit
2008-01-03BUGIFX: output was displayed twiceArun Persaud2-6/+4
the login information was displayed twice, also formatted the output a bit nicer in html
2008-01-03BUGIFX: added Lance to copyright and changed to 2008Arun Persaud1-1/+1
small changes in the footer
2008-01-03BUGFIX: fixed some typosArun Persaud1-16/+16
just typos nothing more...
2007-12-19BUGFIX: fixed some CSS issues for IEArun Persaud1-2/+3
never tried out IE before ;) fixed some small things, so that it looks a bit nicer on IE
2007-12-17BUGFIX: use of local web links now possibleArun Persaud7-45/+51
before I used a lot of http:// requests although the files were in the same domain, now local links with absolute paths are used.
2007-12-17BUGFIX: local time should now work correctlyArun Persaud3-5/+9
had to reset the timezone to the local time. added a config parameter to store the local timezone.
2007-12-16LAYOUT: last login and logout text where displayed incorrectly sometimesArun Persaud4-28/+38
in a previous commit I moved those tings to the output_header function. Turns out you can't do that, so here is the fix.
2007-12-16BUGFIX: added indecis to tables for faster lookupArun Persaud1-11/+17
this should make the database part a bit faster. not quit sure if this is the correct way of doing it though :)
2007-12-16BUGFIX: time display used wrong timezones. also optimized things a bitArun Persaud6-64/+35
Got rid of a few db-queries for getting the right timezone. The timezone was also set after the timefunction was called and therefore the timezone didn't have any effect.
2007-12-14BUGFIX: wrong SQL query for min and max time of gamesArun Persaud1-4/+7
the wrong time was shown for the minimum game
2007-12-14LAYOUT: made login/logout message in stats.php look nicerArun Persaud1-2/+4
title says it all ;)
2007-12-14NEW FEATURE: display longest session, display shortest games in hoursArun Persaud1-4/+15
also name players a bit more often.
2007-12-14BUGIFX: sort game list by session in user menuArun Persaud1-1/+2
if it is your turn those games are shown in the user menu, but where not sorted by sessions. fixed now
2007-12-07NEW FEATURE: list game points in last emailArun Persaud1-0/+24
add a few lines to show the total amount of game points for this game in the email that gets send out
2007-12-07BUGFIX: the number of extra points per Game where not calculated on a per ↵Arun Persaud1-14/+14
Game base, but all Games where added up fixed now
2007-12-07LAYOUT: fixed some typos, changed CSS a bitArun Persaud4-91/+111
the linebreak for displaying the tricks should be gone now. Fixed also quite a few other small things at the same time.
2007-12-02NEW FEATURE: make stastitic page accessableArun Persaud1-0/+1
created a link from the user menu to the stats.php page
2007-12-02NEW FEATURE: detailed few of the score of one gameArun Persaud2-13/+45
display each of the points re and contra made during the game. At the moment only the names from the database are used.
2007-12-02BUGFIX: finished scoring algorithmArun Persaud2-68/+114
now all games are scored. Rules can be looked up in the wiki.
2007-11-27BUGIX: games in a session were not ordered by date, but by idArun Persaud1-1/+2
when a game gets cancled new games use that game_id in the DB which can mess up the ordering of sessions. fixed now.
2007-11-08NEW FEATURE: addicted people can turn of a lot of the email spam and just ↵Arun Persaud3-16/+85
check online all emails saying: it's your turn can be turned off now by a user preference
2007-11-08NEW FEATURE: statistics page, version1Arun Persaud2-4/+243
added a few statistics to an extra page, still not completely done, but already working
2007-11-02BUGFIX: added a config.php template to the repository and updated the ↵Arun Persaud2-10/+47
INSTALL files
2007-11-02NEW FEATURE: count game points, partly done ;)Arun Persaud5-332/+633
a table will be shown now for score keeping. fox, karlchen and dokos are accounted for normal win, calling something and winning should be accounted for still missing: both parties call or one party calls and doesn't acchieve it's goal
2007-10-31CLEANUP: some small code cleanupArun Persaud3-7/+18
moved some css from inline to the style sheet, some linebreaks, etc.