Arun Persaud [Fri, 19 Mar 2010 05:15:25 +0000 (22:15 -0700)]
marked more strings for translation
Arun Persaud [Thu, 18 Mar 2010 05:32:23 +0000 (22:32 -0700)]
BUGFIX: fix "keep playing" button. forgot to add include new rule, so games didn't get restarted
Arun Persaud [Sun, 14 Mar 2010 23:03:39 +0000 (16:03 -0700)]
updates German translation
Arun Persaud [Sun, 14 Mar 2010 23:03:19 +0000 (16:03 -0700)]
marked more strings for translation
Arun Persaud [Sun, 14 Mar 2010 22:34:24 +0000 (15:34 -0700)]
added link to bug-tracker (that is renamed wiki -> wiki/bugs)
Arun Persaud [Sun, 14 Mar 2010 22:20:14 +0000 (15:20 -0700)]
updates German translation
Arun Persaud [Sun, 14 Mar 2010 22:19:42 +0000 (15:19 -0700)]
marked more strings for translation
Arun Persaud [Sun, 14 Mar 2010 21:36:04 +0000 (14:36 -0700)]
CLEANUP: fixed a typo and added "changed" indicator to language settings
Arun Persaud [Sun, 14 Mar 2010 21:11:52 +0000 (14:11 -0700)]
NEW FEATURE: added localization support
using gettext to add support for localization
Arun Persaud [Sun, 14 Mar 2010 18:11:38 +0000 (11:11 -0700)]
CLEANUP: cleaned up code for Karlchen
Arun Persaud [Sun, 14 Mar 2010 00:24:21 +0000 (16:24 -0800)]
BUGFIX: missing ul-tag in poverty check messed up layout
also removed some div-tags that were not needed
Arun Persaud [Sat, 13 Mar 2010 23:59:07 +0000 (15:59 -0800)]
NEW FEATURE: having only low trump (fox and below) can now be a Vorbehalt
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.
Arun Persaud [Sat, 13 Mar 2010 19:52:36 +0000 (11:52 -0800)]
added check in DB_open for correct DB-version
Arun Persaud [Fri, 5 Mar 2010 05:43:37 +0000 (21:43 -0800)]
CLEANUP: moved more statistics into the sortable table
Arun Persaud [Fri, 5 Mar 2010 05:02:56 +0000 (21:02 -0800)]
fixed typo in create statement
Arun Persaud [Fri, 5 Mar 2010 03:11:18 +0000 (19:11 -0800)]
BUGFIX: show "It's your turn in these games" menu also when you played the last card in a game
When showing the menu we test for the status the user had before he played the card.
This fixes Issue #35.
Arun Persaud [Thu, 4 Mar 2010 20:48:10 +0000 (12:48 -0800)]
changed message for new dealer into message for new startplayer
since there really is no dealer, this was more confusing than helpful.
Arun Persaud [Mon, 8 Feb 2010 03:09:37 +0000 (19:09 -0800)]
updated copyright notice in footer
Arun Persaud [Mon, 8 Feb 2010 03:04:24 +0000 (19:04 -0800)]
CLEANUP: added some text on how to get a license for the german cards
Arun Persaud [Mon, 8 Feb 2010 02:57:46 +0000 (18:57 -0800)]
CLEANUP: removed ereg-functions (deprecated in newer php versions)
used strpos and preg_replace instead
Arun Persaud [Sun, 7 Feb 2010 03:18:32 +0000 (19:18 -0800)]
added copyright notice and GPL reference
Arun Persaud [Wed, 3 Feb 2010 06:37:27 +0000 (22:37 -0800)]
NEW FEATURE: provide an RSS feed for each user showing in which games it's his turn
the feed shows the same as the "It's your turn in these games" box.
Arun Persaud [Fri, 5 Feb 2010 04:25:16 +0000 (20:25 -0800)]
BUGFIX: show correct name of all players, when looking at games of other players
the name of the player who had the same cards wasn't displayed, instead "your cards where" was shown.
Arun Persaud [Fri, 5 Feb 2010 04:19:18 +0000 (20:19 -0800)]
BUGFIX: timestamp was not always updated when user made a move
this happend when the user wasn't logged in, but made a move by using an email link for example. Should be fixed now.
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
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).
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.
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.
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
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.
Arun Persaud [Wed, 22 Jul 2009 04:06:29 +0000 (21:06 -0700)]
BUFIX: fixed a typo
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
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
Sean Brennan [Thu, 25 Jun 2009 04:13:33 +0000 (21:13 -0700)]
added more timezones
fixes issue #23
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.
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.
Arun Persaud [Sat, 30 May 2009 02:10:56 +0000 (19:10 -0700)]
BUGFIX: extra "the" in message
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.
Arun Persaud [Fri, 29 May 2009 20:08:11 +0000 (13:08 -0700)]
Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo
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
Arun Persaud [Tue, 12 May 2009 05:16:55 +0000 (22:16 -0700)]
Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo
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.
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.
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.
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.
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.
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.
Arun Persaud [Sat, 25 Apr 2009 18:35:03 +0000 (11:35 -0700)]
LAYOUT: pumped css version to include 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.
Arun Persaud [Sat, 25 Apr 2009 05:27:26 +0000 (22:27 -0700)]
CLEANUP: cleaned up some debug message and error checking
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.
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
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.
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.
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.
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
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
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
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.
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.
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
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.
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.
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).
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
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
Arun Persaud [Tue, 27 Jan 2009 00:57:07 +0000 (16:57 -0800)]
CLEANUP: removed a debug message
just a small cleanup.
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.
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.
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.
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.
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
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
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.
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
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
Arun Persaud [Sat, 17 Jan 2009 04:44:22 +0000 (20:44 -0800)]
CLEANUP: small code cleanup
moved some DB queries out of loops
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.
Arun Persaud [Fri, 16 Jan 2009 05:52:17 +0000 (21:52 -0800)]
BUGFIX: forgot to initialize two variables in preferences.php
Arun Persaud [Fri, 16 Jan 2009 05:48:19 +0000 (21:48 -0800)]
CLEANUP: fixed a typo, changed copyright, added Jeff for database scheme
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.
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.
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.
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.
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.
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.
Arun Persaud [Sat, 3 Jan 2009 21:02:02 +0000 (13:02 -0800)]
NEW FEATURE: removed RC1 from header
seems stable enough :)
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>