e-DoKo.git
9 years agohighlight the call if this is the last round where you can make this call
Arun Persaud [Wed, 3 Feb 2010 04:19:43 +0000 (20:19 -0800)] 
highlight the call if this is the last round where you can make this call

also added some more comments

9 years agoNEW FEATURE: use gravatars as icons for players
Arun Persaud [Fri, 23 Oct 2009 05:56:21 +0000 (22:56 -0700)] 
NEW FEATURE: use gravatars as icons for players

use icons at the table and on the user page (for last players logged in).

9 years agoBUGFIX: double greeting line for reminder email
Arun Persaud [Tue, 29 Sep 2009 06:39:47 +0000 (23:39 -0700)] 
BUGFIX: double greeting line for reminder email

forgot the remove the greeting from the message text.

10 years agoBUGFIX: counted cancled games as active games in the statistics
Arun Persaud [Fri, 7 Aug 2009 04:04:33 +0000 (21:04 -0700)] 
BUGFIX: counted cancled games as active games in the statistics

instead of testing if the game was in 'pre' or 'play' modus I just tested for <> 'gameover' which also included games which where canceled because of e.g. five nines.

10 years agoCLEANUP: rewrote html output for the rules section for new games
Arun Persaud [Sat, 25 Jul 2009 05:27:19 +0000 (22:27 -0700)] 
CLEANUP: rewrote html output for the rules section for new games

made it a bit more compact and ready for more rules

10 years agoBUGFIX: html output was messed up by some return statements
Arun Persaud [Sat, 25 Jul 2009 04:35:57 +0000 (21:35 -0700)] 
BUGFIX: html output was messed up by some return statements

instead of using return, we now use a break, this has the advantage that extra output (such as menus) will still be present and the html should be ok.

10 years agoBUFIX: fixed a typo
Arun Persaud [Wed, 22 Jul 2009 04:06:29 +0000 (21:06 -0700)] 
BUFIX: fixed a typo

10 years agodisplay both foxes as playable, if the game doesn't allow schweinche, but the rules do
Arun Persaud [Thu, 25 Jun 2009 04:56:37 +0000 (21:56 -0700)] 
display both foxes as playable, if the game doesn't allow schweinche, but the rules do

in case you play with a single schweinchen (only the second one becomes highest trump), but the game doesn't allow schweinchen (e.g. queen solo), both foxes should be selectable, but only one was. Fixes issue #53

10 years agomake a few more check before a password get's changed
Arun Persaud [Thu, 25 Jun 2009 04:36:07 +0000 (21:36 -0700)] 
make a few more check before a password get's changed

don't do anything, if password0 and password1 are the same

10 years agoadded more timezones
Sean Brennan [Thu, 25 Jun 2009 04:13:33 +0000 (21:13 -0700)] 
added more timezones

fixes issue #23

10 years agoadded option for email digest
Arun Persaud [Mon, 22 Jun 2009 06:23:15 +0000 (23:23 -0700)] 
added option for email digest

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.

10 years agosome more comments
Arun Persaud [Mon, 22 Jun 2009 03:48:29 +0000 (20:48 -0700)] 
some more comments

looked into issue#51 (everything was correct) and added some comments.

10 years agoBUGFIX: extra "the" in message
Arun Persaud [Sat, 30 May 2009 02:10:56 +0000 (19:10 -0700)] 
BUGFIX: extra "the" in message

10 years agoBUGFIX: two greetings messages in cancelation email for five nines.
Arun Persaud [Fri, 29 May 2009 20:11:00 +0000 (13:11 -0700)] 
BUGFIX: two greetings messages in cancelation email for five nines.

removed the hard-coded one.

10 years agoMerge branch 'master' of /home/arun/nubati.net/git/e-DoKo
Arun Persaud [Fri, 29 May 2009 20:08:11 +0000 (13:08 -0700)] 
Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo

10 years agoBUGFIX: one email message still had a hard-coded header
Arun Persaud [Tue, 12 May 2009 05:18:42 +0000 (22:18 -0700)] 
BUGFIX: one email message still had a hard-coded header

this resulted in two "hello" lines being sent out. fixed

10 years agoMerge branch 'master' of /home/arun/nubati.net/git/e-DoKo
Arun Persaud [Tue, 12 May 2009 05:16:55 +0000 (22:16 -0700)] 
Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo

10 years agoNEW FEATURE: show number of tricks a person made
Arun Persaud [Thu, 30 Apr 2009 07:08:10 +0000 (00:08 -0700)] 
NEW FEATURE: show number of tricks a person made

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.

10 years agoBUGFIX: wrongly displayed "trump back" in pre-trick during poverty
Arun Persaud [Tue, 12 May 2009 04:58:25 +0000 (21:58 -0700)] 
BUGFIX: wrongly displayed "trump back" in pre-trick during poverty

displayed it when the person with not enough trump gave trump to his partner, which is almost always the case.

10 years agoBUGFIX: some email messages had newlines missing before the footer
Arun Persaud [Tue, 12 May 2009 00:39:16 +0000 (17:39 -0700)] 
BUGFIX: some email messages had newlines missing before the footer

all emails now have a "\n\n" at the end of the message.

10 years agoBUGFIX: wrongly displayed "trump back" in pre-trick during poverty
Arun Persaud [Tue, 12 May 2009 04:58:25 +0000 (21:58 -0700)] 
BUGFIX: wrongly displayed "trump back" in pre-trick during poverty

displayed it when the person with not enough trump gave trump to his partner, which is almost always the case.

10 years agoBUGFIX: some email messages had newlines missing before the footer
Arun Persaud [Tue, 12 May 2009 00:39:16 +0000 (17:39 -0700)] 
BUGFIX: some email messages had newlines missing before the footer

all emails now have a "\n\n" at the end of the message.

10 years agoCLEANUP: all email now uses the standard header and footer
Arun Persaud [Thu, 30 Apr 2009 04:34:16 +0000 (21:34 -0700)] 
CLEANUP: all email now uses the standard header and footer

some email functions didn't use myemail, but used sendmail directly. This is now fixed and all emails should have the same header and footer.

10 years agoLAYOUT: pumped css version to include openid support
Arun Persaud [Sat, 25 Apr 2009 18:35:03 +0000 (11:35 -0700)] 
LAYOUT: pumped css version to include openid support

10 years agoNEW FEATURE: added OpenID support
Arun Persaud [Sat, 25 Apr 2009 07:33:14 +0000 (00:33 -0700)] 
NEW FEATURE: added OpenID support

Users can add and delete OpenIDs on the settings page and then log in
user those OpenIds.

They can also use their OpenIDs to register.

10 years agoCLEANUP: cleaned up some debug message and error checking
Arun Persaud [Sat, 25 Apr 2009 05:27:26 +0000 (22:27 -0700)] 
CLEANUP: cleaned up some debug message and error checking

10 years agoBUGFIX: showed cancled games in user menu
Arun Persaud [Fri, 3 Apr 2009 20:07:47 +0000 (13:07 -0700)] 
BUGFIX:  showed cancled games in user menu

used to test for 'pre' or 'play' games by doing a ...!='gameover', this doesn't work
anymore with canceled games being another option for the game status.

10 years agoCLEANUP: better debugging option for DB querries
Arun Persaud [Sun, 29 Mar 2009 18:13:59 +0000 (11:13 -0700)] 
CLEANUP: better debugging option for DB querries

add option to only log querries that take a long time

10 years agoCLEANUP: deleted unused functions
Arun Persaud [Sun, 29 Mar 2009 18:11:20 +0000 (11:11 -0700)] 
CLEANUP: deleted unused functions

games are not deleted from the DB anymore, so we don't need this function.

10 years agoLAYOUT: fixed a typo and made clock icon smaller
Arun Persaud [Sun, 29 Mar 2009 17:51:33 +0000 (10:51 -0700)] 
LAYOUT: fixed a typo and made clock icon smaller

The validator should be happy again ;) and the clocks should look a bit better.

10 years agoBUGFIX: store canceled games, don't delete them
Arun Persaud [Tue, 17 Mar 2009 05:06:21 +0000 (22:06 -0700)] 
BUGFIX: store canceled games, don't delete them

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.

10 years agoLAYOUT: some messages were not wrapped in a div-tag
Arun Persaud [Thu, 26 Feb 2009 07:32:18 +0000 (23:32 -0800)] 
LAYOUT: some messages were not wrapped in a div-tag

and therefore had no class set, so they showed up somewhere on the page and messed
up the layout

10 years agoNEW FEATURE: better debugging and optimization code for db-queries.
Arun Persaud [Wed, 25 Feb 2009 04:26:08 +0000 (20:26 -0800)] 
NEW FEATURE: better debugging and optimization code for db-queries.

added a timer to db_query for debugging/optimizatin

10 years agoCLEANUP: made emails a bit more personal
Arun Persaud [Tue, 24 Feb 2009 06:19:00 +0000 (22:19 -0800)] 
CLEANUP: made emails a bit more personal

included the name of the person in the email

10 years agoBUGFIX: vacation was set even when no date was entered
Arun Persaud [Tue, 24 Feb 2009 05:36:36 +0000 (21:36 -0800)] 
BUGFIX: vacation was set even when no date was entered

the vacation is set to the empty string in case nothing is entered, need to check for this.

10 years agoCLEANUP: make emails more uniform
Arun Persaud [Sat, 14 Feb 2009 07:40:26 +0000 (23:40 -0800)] 
CLEANUP: make emails more uniform

provide a standard header and footer. Also prepare for emails to be send to the database for later delivery.

10 years agoLAYOUT: added an icon for the time information
Arun Persaud [Tue, 24 Feb 2009 04:14:12 +0000 (20:14 -0800)] 
LAYOUT: added an icon for the time information

gets rid of a bit of text and should leave more time for other buttons

10 years agoNEW FEATURE + CLEANUP: added some table sorting to the statistics page via jquery
Arun Persaud [Fri, 13 Feb 2009 06:12:23 +0000 (22:12 -0800)] 
NEW FEATURE + CLEANUP:  added some table sorting to the statistics page via 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.

10 years agoBUGFIX: for loop over a possible undefined variable
Arun Persaud [Wed, 4 Feb 2009 03:28:36 +0000 (19:28 -0800)] 
BUGFIX: for loop over a possible undefined variable

for the first game in a session there is no score to display yet, need
to check if the score variable is empty or not before I loop over it.

10 years agoNEW FEATURE: vacation support
Arun Persaud [Sat, 31 Jan 2009 05:05:32 +0000 (21:05 -0800)] 
NEW FEATURE: vacation support

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).

10 years agoCLEANUP: clean up the preferences html output a bit
Arun Persaud [Sat, 31 Jan 2009 03:32:21 +0000 (19:32 -0800)] 
CLEANUP: clean up the preferences html output a bit

should be better aligned html now

10 years agoBUGFIX: forgot to include one variable as global in a function
Arun Persaud [Tue, 27 Jan 2009 01:45:10 +0000 (17:45 -0800)] 
BUGFIX: forgot to include one variable as global in a function

just a one liner

10 years agoCLEANUP: removed a debug message
Arun Persaud [Tue, 27 Jan 2009 00:57:07 +0000 (16:57 -0800)] 
CLEANUP: removed a debug message

just a small cleanup.

10 years agoBUGFIX: when a fox was given back in poverty a no-trump icon was shown at the table
Arun Persaud [Sun, 25 Jan 2009 01:40:46 +0000 (17:40 -0800)] 
BUGFIX: when a fox was given back in poverty a no-trump icon was shown at the table

used the same function to count the number of trump cards as was used to determine poverty status.
Therefore, foxes were not accounted for. Fixed now.

10 years agoNEW FEATURE: show exchanged cards in poverty pre-game phase
Arun Persaud [Sun, 25 Jan 2009 01:30:53 +0000 (17:30 -0800)] 
NEW FEATURE: show exchanged cards in poverty pre-game phase

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.

10 years agoBUGFIX: error in card dealing routine
Arun Persaud [Sun, 18 Jan 2009 20:01:24 +0000 (12:01 -0800)] 
BUGFIX: error in card dealing routine

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.

10 years agoBUGFIX: wrong order of arguments for in_array function
Arun Persaud [Sun, 18 Jan 2009 07:11:49 +0000 (23:11 -0800)] 
BUGFIX: wrong order of arguments for in_array function

just need to switch them... should be ok now.

10 years agoCLEANUP: changed the user page a bit and added a hint for newbies
Arun Persaud [Sun, 18 Jan 2009 07:08:29 +0000 (23:08 -0800)] 
CLEANUP: changed the user page a bit and added a hint for newbies

started adding hints for newbies (to edoko not doko) on how to use the program

10 years agoNEW FEATURE: add a random math question to the registration progress to get rid of...
Arun Persaud [Sun, 18 Jan 2009 06:50:05 +0000 (22:50 -0800)] 
NEW FEATURE: add a random math question to the registration progress to get rid of robots

make it harder for robots to register

10 years agoNEW FEATURE: show when a call was made
Arun Persaud [Sun, 18 Jan 2009 04:39:05 +0000 (20:39 -0800)] 
NEW FEATURE: show when a call was made

every time a call is made (e.g. re/contra) a comment is added. So players can check when the call was made later

Fixes issue #12.

10 years agoNEW FEATURE: always show current score on main page
Arun Persaud [Sat, 17 Jan 2009 05:29:18 +0000 (21:29 -0800)] 
NEW FEATURE: always show current score on main page

show the current score as the link to the score table

10 years agoNEW FEATURE: add a link to the previous and next game in the session
Arun Persaud [Sat, 17 Jan 2009 04:58:05 +0000 (20:58 -0800)] 
NEW FEATURE: add a link to the previous and next game in the session

makes it easier to navigate through one session

10 years agoCLEANUP: small code cleanup
Arun Persaud [Sat, 17 Jan 2009 04:44:22 +0000 (20:44 -0800)] 
CLEANUP: small code cleanup

moved some DB queries out of loops

10 years agoLAYOUT: add names of players to end of score table for long sessions
Arun Persaud [Sat, 17 Jan 2009 04:39:42 +0000 (20:39 -0800)] 
LAYOUT: add names of players to end of score table for long sessions

if a session has more than 12 games, add the names of the players also at the end of the score table.

10 years agoBUGFIX: forgot to initialize two variables in preferences.php
Arun Persaud [Fri, 16 Jan 2009 05:52:17 +0000 (21:52 -0800)] 
BUGFIX: forgot to initialize two variables in preferences.php

10 years agoCLEANUP: fixed a typo, changed copyright, added Jeff for database scheme
Arun Persaud [Fri, 16 Jan 2009 05:48:19 +0000 (21:48 -0800)] 
CLEANUP: fixed a typo, changed copyright, added Jeff for database scheme

10 years agoNEW FEATURE: new user settings allows people to not be available for new games
Arun Persaud [Fri, 16 Jan 2009 05:40:35 +0000 (21:40 -0800)] 
NEW FEATURE: new user settings allows people to not be available for new games

Players who set their preference on this setting to 'no' are not considered as players in a new game.

10 years agoBUGFIX: better default for selecting players in a new game
Arun Persaud [Fri, 16 Jan 2009 03:14:17 +0000 (19:14 -0800)] 
BUGFIX: better default for selecting players in a new game

the player is now automatically on pos 4 and the other positions are filled randomly. Also make sure that no player shows up more than once.

10 years agoNEW FEATURE: add tooltips to icons at table
Arun Persaud [Fri, 16 Jan 2009 03:03:53 +0000 (19:03 -0800)] 
NEW FEATURE: add tooltips to icons at table

makes it easier to figure out what they mean.

Solves issue #27.

10 years agoNEW FEATURE: only show re or contra for calls
Arun Persaud [Fri, 16 Jan 2009 02:50:56 +0000 (18:50 -0800)] 
NEW FEATURE: only show re or contra for calls

makes it clear what you can call in a silent solo.

Fixes issue #41.

10 years agoBUGFIX: rewrote query for new games
Arun Persaud [Wed, 14 Jan 2009 04:42:39 +0000 (20:42 -0800)] 
BUGFIX: rewrote query for new games

old code used a long time to figure out if cards from another game could be reused. The new version should be much faster.

10 years agoLAYOUT: fixed a bug in the footer
Arun Persaud [Sat, 3 Jan 2009 21:12:40 +0000 (13:12 -0800)] 
LAYOUT: fixed a bug in the footer

the right margin was incorrect, fixed now.

10 years agoNEW FEATURE: removed RC1 from header
Arun Persaud [Sat, 3 Jan 2009 21:02:02 +0000 (13:02 -0800)] 
NEW FEATURE: removed RC1 from header

seems stable enough :)

10 years agoNEW FEATURE: added a statistic that shows how fast people respond
Arun Persaud [Fri, 12 Dec 2008 03:32:58 +0000 (19:32 -0800)] 
NEW FEATURE: added a statistic that shows how fast people respond

only uses the difference of timesstamps when you don't play the first card of a trick

10 years agoNEW FEATURE: new sorting algorithm
Arun Persaud [Wed, 3 Dec 2008 07:29:29 +0000 (23:29 -0800)] 
NEW FEATURE: new sorting algorithm

you can now sort your hand "low to high" and change your default using the setting dialog

10 years agoCLEANUP: cleaned up CSS a bit
Arun Persaud [Sat, 1 Nov 2008 23:51:18 +0000 (16:51 -0700)] 
CLEANUP: cleaned up CSS a bit

the bug where you couldn't click on the prev/next button shouldn't show up that often now, since that area is now a bit bigger, but the bug is still there...

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoLAYOUT: fixed the login screen
Arun Persaud [Sat, 1 Nov 2008 22:57:51 +0000 (15:57 -0700)] 
LAYOUT: fixed the login screen

some html + css code cleanup

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoCLEANUP: moved javascript to separate file
Arun Persaud [Sat, 1 Nov 2008 22:52:14 +0000 (15:52 -0700)] 
CLEANUP: moved javascript to separate file

doesn't need to be in every html page. better to have it in its own file, so that it can be cached by the server.

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoBUGFIX: fixed some small typo/layout issues in the "game over" email
Arun Persaud [Sat, 1 Nov 2008 18:51:00 +0000 (11:51 -0700)] 
BUGFIX: fixed some small typo/layout issues in the "game over" email

added a line break, made the score table look better

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoBUGFIX: make user menu and personal notes appear again
Arun Persaud [Tue, 21 Oct 2008 02:54:13 +0000 (19:54 -0700)] 
BUGFIX: make user menu and personal notes appear again

had them only shown when player was logged in, but there is really no reason to not show them to players who are not logged in in an ongoing game (only the correct player should get to a page with an ongoing game)

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoNEW FEATURE: show how often a hand has been played on the user page
Arun Persaud [Sun, 19 Oct 2008 03:00:40 +0000 (20:00 -0700)] 
NEW FEATURE: show how often a hand has been played on the user page

print a number instead of "F" to indicate how often a hand has been played.

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoBUGFIX: fixed a syntax error
Arun Persaud [Sun, 19 Oct 2008 00:39:58 +0000 (17:39 -0700)] 
BUGFIX: fixed a syntax error

forgot a ;

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoBump version to RC 1 :)
Arun Persaud [Sun, 19 Oct 2008 00:03:10 +0000 (17:03 -0700)] 
Bump version to RC 1 :)

guess now it's mostly bugfixes for 1.0 ;)

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoCELANUP: inform user who is registering that his email will be visible
Arun Persaud [Sun, 19 Oct 2008 00:01:36 +0000 (17:01 -0700)] 
CELANUP: inform user who is registering that his email will be visible

guess they should know ;)

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoCLEANUP: reduced emails at the end of the game
Arun Persaud [Sat, 18 Oct 2008 23:55:40 +0000 (16:55 -0700)] 
CLEANUP: reduced emails at the end of the game

only sent out one email with links for everyone in it.
This is now possible, since it's ok for other people to visit games from another player.

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoNEW FEATURE: implement Lance's Schweinchen rule
Arun Persaud [Sat, 18 Oct 2008 23:46:59 +0000 (16:46 -0700)] 
NEW FEATURE: implement Lance's Schweinchen rule

new rule that only allows Schweinchen in case one of the teammembers called re/contra.

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoNEW FEATURE: make it possible to view games where people played with the same hand
Arun Persaud [Sat, 18 Oct 2008 18:33:36 +0000 (11:33 -0700)] 
NEW FEATURE: make it possible to view games where people played with the 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>
10 years agoLAYOUT: fixed overflow of comment area (issue #28)
Arun Persaud [Wed, 8 Oct 2008 05:01:31 +0000 (22:01 -0700)] 
LAYOUT: fixed overflow of comment area (issue #28)

found by Sean during extensive testing ;) should behave better now.

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoBUGFIX: error in SQL syntax for querying ruleset id
Arun Persaud [Thu, 25 Sep 2008 06:03:05 +0000 (23:03 -0700)] 
BUGFIX: error in SQL syntax for querying ruleset id

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>
10 years agoBUGFIX: schweinchen wasn't accounted for in a wedding (issue #25)
Arun Persaud [Thu, 25 Sep 2008 05:45:15 +0000 (22:45 -0700)] 
BUGFIX: schweinchen wasn't accounted for in a wedding (issue #25)

forgot to add wedding to list of games that need to be checked for schweinchen.

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoLAYOUT: wrap some text for status of sickness better
Arun Persaud [Thu, 25 Sep 2008 05:23:58 +0000 (22:23 -0700)] 
LAYOUT: wrap some text for status of sickness better

make "still needs to decide" two lines:wq

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoBUGFIX: solo statistics didn't include silent solo
Arun Persaud [Thu, 18 Sep 2008 05:46:05 +0000 (22:46 -0700)] 
BUGFIX: solo statistics didn't include silent solo

include silent solo in the solo statistics (number of solo/game)

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoNEW FEATURE: statistics for contra/re calls, no90, etc.
Arun Persaud [Sun, 14 Sep 2008 21:27:26 +0000 (14:27 -0700)] 
NEW FEATURE: statistics for contra/re calls, no90, etc.

how often does the re/contra party call no 90, no 60, etc.

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoLAYOUT: removed some overlapping areas
Arun Persaud [Sat, 13 Sep 2008 16:43:25 +0000 (09:43 -0700)] 
LAYOUT: removed some overlapping areas

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>
10 years agoBUGFIX: added missing icons for rules
Arun Persaud [Sat, 13 Sep 2008 16:23:34 +0000 (09:23 -0700)] 
BUGFIX: added missing icons for rules

made some very simple icons for displaying the rules

Signed-off-by: Arun Persaud <arun@nubati.net>
10 years agoBUGFIX: new password needs to be at least 4 characters long
Arun Persaud [Fri, 12 Sep 2008 02:14:06 +0000 (19:14 -0700)] 
BUGFIX: new password needs to be at least 4 characters long

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>
11 years agoCLEANUP: started cleaning up the CSS file a bit
Arun Persaud [Thu, 21 Aug 2008 23:26:46 +0000 (16:26 -0700)] 
CLEANUP: started cleaning up the CSS file a bit

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>
11 years agoBUGFIX: error in scoring algorithm when two players on the contra team made a call
Arun Persaud [Wed, 20 Aug 2008 03:00:20 +0000 (20:00 -0700)] 
BUGFIX: error in scoring algorithm when two players on the contra team made 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>
11 years agoBUGFIX: db_format_game wasn't working any more
Arun Persaud [Wed, 20 Aug 2008 01:14:13 +0000 (18:14 -0700)] 
BUGFIX: db_format_game wasn't working any more

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>
11 years agoCLEANUP: some more comments, also removed some debug messages
Arun Persaud [Mon, 18 Aug 2008 04:41:39 +0000 (21:41 -0700)] 
CLEANUP: some more comments, also removed some debug messages
Signed-off-by: Arun Persaud <arun@nubati.net>
11 years agoBUGFIX: &amp; instead of & in email text
Arun Persaud [Mon, 18 Aug 2008 00:27:42 +0000 (17:27 -0700)] 
BUGFIX: &amp; instead of & in email text

&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>
11 years agoBUGFIX: wrong DB query returned sometime less rows than expected
Arun Persaud [Thu, 17 Jul 2008 00:20:18 +0000 (17:20 -0700)] 
BUGFIX: wrong DB query returned sometime less rows than expected

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>
11 years agoBUGFIX: error in javascript, sickness didn't get cleared
Arun Persaud [Mon, 14 Jul 2008 03:36:43 +0000 (20:36 -0700)] 
BUGFIX: error in javascript, sickness didn't get cleared

forgot to run a loop, so that it includes the sickness trick (trick0)

Signed-off-by: Arun Persaud <arun@nubati.net>
11 years agoNEW FEATURE: in poverty you can now see what cards have been handed over
Arun Persaud [Sun, 13 Jul 2008 21:40:59 +0000 (14:40 -0700)] 
NEW FEATURE: in poverty you can now see what cards have been handed over

cards exchanged during poverty show now up in the pre-game trick.

Signed-off-by: Arun Persaud <arun@nubati.net>
11 years agoBUGFIX: added email-list name to invitation emails
Arun Persaud [Fri, 11 Jul 2008 19:44:45 +0000 (12:44 -0700)] 
BUGFIX: added email-list name to invitation emails

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>
11 years agoBUGFIX: fixed a small typo
Arun Persaud [Fri, 11 Jul 2008 19:37:55 +0000 (12:37 -0700)] 
BUGFIX: fixed a small typo

Sean found this...

Signed-off-by: Arun Persaud <arun@nubati.net>
11 years agoLAYOUT: nice and shiny
Arun Persaud [Mon, 9 Jun 2008 07:13:31 +0000 (00:13 -0700)] 
LAYOUT: nice and shiny

hopefully some improvements ;)

Signed-off-by: Arun Persaud <arun@nubati.net>
11 years agoBUGFIX: the pre and next buttons are fixed, also fixed showing sickness right away
Arun Persaud [Sun, 29 Jun 2008 23:16:58 +0000 (16:16 -0700)] 
BUGFIX: the pre and next buttons are fixed, also fixed showing sickness 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>
11 years agoBUGFIX: got rid of double insert of notes.
Arun Persaud [Sun, 29 Jun 2008 22:52:32 +0000 (15:52 -0700)] 
BUGFIX: got rid of double insert of notes.

when you wrote a personal note on your turn, it got inserted into the database twice

Signed-off-by: Arun Persaud <arun@nubati.net>
11 years agoCLEANUP: cleaned up strings
Arun Persaud [Sun, 29 Jun 2008 22:51:53 +0000 (15:51 -0700)] 
CLEANUP: cleaned up strings

used single quote instead of double quotes in lots of places

Signed-off-by: Arun Persaud <arun@nubati.net>