summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-09-24LAYOUT: wrap some text for status of sickness betterArun Persaud1-2/+2
make "still needs to decide" two lines:wq Signed-off-by: Arun Persaud <arun@nubati.net>
2008-09-17BUGFIX: solo statistics didn't include silent soloArun Persaud1-1/+1
include silent solo in the solo statistics (number of solo/game) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-09-14NEW FEATURE: statistics for contra/re calls, no90, etc.Arun Persaud1-8/+9
how often does the re/contra party call no 90, no 60, etc. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-09-13LAYOUT: removed some overlapping areasArun Persaud3-63/+64
the total points and the game points for re/contra now only show up on the "score" trick. This way they don't overlap with graphics when looking at older tricks. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-09-13BUGFIX: added missing icons for rulesArun Persaud14-3/+382
made some very simple icons for displaying the rules Signed-off-by: Arun Persaud <arun@nubati.net>
2008-09-11BUGFIX: new password needs to be at least 4 characters longArun Persaud1-1/+8
added a check for the length of the new password, so that empty passwords are not allowed. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-08-21CLEANUP: started cleaning up the CSS file a bitArun Persaud1-30/+39
lots of work still needs to be done to make this readable again. It's pretty messed up with lots of things out of order and also the naming convention is not consistent. I'm also sure that you can achieve the same effect with a lot less layout. Signed-off-by: Arun Persaud <apersaud@lbl.gov>
2008-08-19BUGFIX: error in scoring algorithm when two players on the contra team made ↵Arun Persaud1-1/+1
a call to figure out who made the lower call, you need to compare the two calls, but for some reason instead of comparing the two contra-calls, the contra call was compared to the re-call which could make the algorithm belief that the contra-call was higher than it was. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-08-19BUGFIX: db_format_game wasn't working any moreArun Persaud1-4/+3
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>
2008-08-17CLEANUP: some more comments, also removed some debug messagesArun Persaud4-20/+25
Signed-off-by: Arun Persaud <arun@nubati.net>
2008-08-17BUGFIX: &amp; instead of & in email textArun Persaud1-1/+1
&amp; should only be used in HTML output. Changed this a while ago, but seems like I missed one. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-07-16BUGFIX: wrong DB query returned sometime less rows than expectedArun Persaud1-6/+9
this fixes a bug on the home page where, in case no game was in the pre-game phase, the ongoing games were listed as games being started and the completed games were listed as ongoing games. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-07-13BUGFIX: error in javascript, sickness didn't get clearedArun Persaud1-1/+1
forgot to run a loop, so that it includes the sickness trick (trick0) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-07-13NEW FEATURE: in poverty you can now see what cards have been handed overArun Persaud7-4/+155
cards exchanged during poverty show now up in the pre-game trick. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-07-11BUGFIX: added email-list name to invitation emailsArun Persaud1-13/+17
all emails subject should have the list header in them, forgot to add it to the ones that are sent out when starting a new game. Also renamed a variable for more consistency. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-07-11BUGFIX: fixed a small typoArun Persaud1-1/+1
Sean found this... Signed-off-by: Arun Persaud <arun@nubati.net>
2008-07-08LAYOUT: nice and shinyArun Persaud9-47/+119
hopefully some improvements ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-29BUGFIX: the pre and next buttons are fixed, also fixed showing sickness ↵Arun Persaud1-235/+232
right away pre and next buttons were sometimes displayed in another line due to a missing end of a div and a li. Selecting a sick/healthy only showed up after reloading. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-29BUGFIX: got rid of double insert of notes.Arun Persaud1-8/+0
when you wrote a personal note on your turn, it got inserted into the database twice Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-29CLEANUP: cleaned up stringsArun Persaud1-153/+153
used single quote instead of double quotes in lots of places Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-28Merge branch 'master' of http://nubati.net/git/e-DoKoArun Persaud9-173/+131
2008-06-16NEW FEATURE: login buttonArun Persaud9-173/+131
added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu... Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-15BUGFIX: if a call is made the icon will show up right awayArun Persaud1-12/+12
check at the beginning if a call was made, so that the information is up to date when the output for the table is generated. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-08BUGFIX: if a call is made the icon will show up right awayArun Persaud1-12/+12
check at the beginning if a call was made, so that the information is up to date when the output for the table is generated. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-08BUGFIX: user menu didn't list all games where it is your turnArun Persaud1-1/+1
games where you need to decide if you want to play should be listed in the menu on the left. The problem is that once somebody moved they won't show up in the list anymore, since from that point on the server keeps track of who needs to move next. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-08BUGIFX: notes are now available during every phase of the gameArun Persaud3-19/+25
you can now take notes also during the pre-game phase. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-08NEW FEATURE: added caching to stats.phpArun Persaud3-180/+219
since reloading always took a while and things don't really change that much over a day, I added a caching to it. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-07BUGFIX: fixed a typo in the scoretableArun Persaud1-1/+1
Nr instead of No Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-07LAYOUT: fixed the layout of the userpage a bitArun Persaud3-12/+9
the size of the whole page is wider now and the middle column of the table is fixed to a certain width. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-06BUGFIX: fixed wrong use &amp; in mailsArun Persaud1-8/+8
&amp; should replace & only in html output not in emails. Signed-off-by: Arun Persaud <apersaud@lbl.gov>
2008-06-03BUGIFX: fixed a layout issue in IE6Arun Persaud2-1/+2
the tricks used the wrong parent for position:absolute. this might fix it. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-01NEW FEATURE: statistics of most solos per gameArun Persaud1-0/+14
added a new statistic Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-01LAYOUT: moved score table and rules to the topArun Persaud4-96/+175
removed more of the side layout into the top session bar. removed the list of games in a session and have it now accessable via the score table Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-31BUGFIX: pre/next button was displayed incorrect because of wrong </li> statementArun Persaud1-5/+9
sometimes an extra </li></div> was issued which messed up the HTML. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-31LAYOUT: make html standard conform in debug modeArun Persaud1-1/+1
hadn't checked debug mode with tidy Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29CLEANUP: used tidy to clean up the HTMLArun Persaud3-32/+29
got rid of a lot of warning message, HTML should be nicer now ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29BUGFIX: some text was outside a div. also fixed a html issue.Arun Persaud1-5/+6
moved the text back inside the div and also changed a & into a &amp; Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29BUGIFX: wrong order in if-statement led to checking an (in some cases) ↵Arun Persaud1-1/+1
uninitialized variable changed the order and now everything should be fine. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29BUGFIX: forgot to close a <li> and a <div> on the first trick playedArun Persaud1-1/+1
messed up the html a bit, just a minor fix though Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29CLEANUP: fixed some invalid htmlArun Persaud1-18/+18
replaced & with &amp; everywhere in game. and fixed a typo. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: floating tables on the statistics pageArun Persaud3-43/+31
less text, captions are real captions not in paragraphs anymore, etc. not sure about the floating arrangments, but still better than before Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: more tables on the statistics pageArun Persaud2-48/+52
changed the last two tables to the new CSS-tables. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: applied new table output to statistics pageArun Persaud2-76/+73
most table on the statistics page should look nice now ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: added a unified table layout for statistics, etcArun Persaud3-2/+72
a table that can be styled via CSS is created from an array. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-25NEW FEATURE: add two buttons to move forward and backwards through the tricksArun Persaud2-2/+15
makes navigation through the games easier Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-25BUGFIX: fixed a typo in the text for povertyArun Persaud1-2/+2
(reported by Lance) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24LAYOUT: only display user menu if it's your turn in some gamesArun Persaud1-2/+5
the user menu now only has the list of games in it, so no need to display it, if it is nor your turn in any games Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24LAYOUT: rearranged the user menu to show up in the top right cornerArun Persaud2-15/+18
also limited the amount of games that show up in the user menu if it is your turn Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24NEW FEATURE: automatically accept new gamesArun Persaud3-11/+64
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>
2008-05-24BUGIFX: game didn't get started in normal poverty gamesArun Persaud1-9/+32
forgot to set the players who didn't get asked to take the trump to 'play' status. Signed-off-by: Arun Persaud <arun@nubati.net>