e-DoKo.git
11 years agoupdated to better password hash: use crypt instead of md5
Arun Persaud [Sat, 22 Sep 2012 19:38:58 +0000 (12:38 -0700)] 
updated to better password hash: use crypt instead of md5

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

11 years agomarked more strings for translation
Arun Persaud [Sat, 22 Sep 2012 16:47:17 +0000 (09:47 -0700)] 
marked more strings for translation

11 years agoreplaces some more " with '
Arun Persaud [Sat, 22 Sep 2012 16:44:04 +0000 (09:44 -0700)] 
replaces some more " with '

11 years agoBUGIFX: leaked silent solo information in game type
Arun Persaud [Sat, 22 Sep 2012 16:18:02 +0000 (09:18 -0700)] 
BUGIFX: leaked silent solo information in game type

11 years agoLAYOUT/BUGFIX: fixed wrong scaling of cards that was introduced a few commits earlier
Arun Persaud [Thu, 20 Sep 2012 06:11:53 +0000 (23:11 -0700)] 
LAYOUT/BUGFIX: fixed wrong scaling of cards that was introduced a few commits earlier

11 years agoadjusted some colors in css
Arun Persaud [Thu, 20 Sep 2012 05:58:55 +0000 (22:58 -0700)] 
adjusted some colors in css

11 years agoanother few "->'
Arun Persaud [Thu, 20 Sep 2012 05:58:39 +0000 (22:58 -0700)] 
another few "->'

11 years agoreplaces some more " with '
Arun Persaud [Thu, 20 Sep 2012 05:53:28 +0000 (22:53 -0700)] 
replaces some more " with '

11 years agobetter message when working on the database or having edoko offline for other reasons.
Arun Persaud [Thu, 20 Sep 2012 05:49:08 +0000 (22:49 -0700)] 
better message when working on the database or having edoko offline for other reasons.

11 years agoBUGFIX: css index prevented user from selecting a radio button and minor tweaks
Arun Persaud [Thu, 20 Sep 2012 05:25:11 +0000 (22:25 -0700)] 
BUGFIX: css index prevented user from selecting a radio button and minor tweaks

* fixed in sickness screen
* removed unnessecary questions
* pre-selected yes for starting a game
* some minor css tweaks

11 years agoCLEANUP: replaced " with ' in lots of places'; added admin email to error message
Arun Persaud [Tue, 18 Sep 2012 05:12:52 +0000 (22:12 -0700)] 
CLEANUP: replaced " with ' in lots of places'; added admin email to error message

11 years agoMark the starting player until the game actually starts ;)
Arun Persaud [Tue, 18 Sep 2012 04:36:46 +0000 (21:36 -0700)] 
Mark the starting player until the game actually starts ;)

just a small text above the player with some CSS

11 years agomark more strings for translation
Arun Persaud [Tue, 18 Sep 2012 04:13:17 +0000 (21:13 -0700)] 
mark more strings for translation

11 years agoBUGFIX: update status (healthy/sick) during pre-game phase right away
Arun Persaud [Tue, 18 Sep 2012 03:08:13 +0000 (20:08 -0700)] 
BUGFIX: update status (healthy/sick) during pre-game phase right away

before a reload was needed, no the information only gets displayed
after the user data is being processed.

11 years agofixed typo and added a comment
Arun Persaud [Tue, 18 Sep 2012 02:32:56 +0000 (19:32 -0700)] 
fixed typo and added a comment

11 years agoupdated translations
Arun Persaud [Wed, 13 Jun 2012 04:00:10 +0000 (21:00 -0700)] 
updated translations

11 years agouse gettext for Atom feed
Arun Persaud [Wed, 13 Jun 2012 03:59:43 +0000 (20:59 -0700)] 
use gettext for Atom feed

11 years agoRemove games from digest where the player already moved
Arun Persaud [Sat, 9 Jun 2012 15:53:39 +0000 (08:53 -0700)] 
Remove games from digest where the player already moved

11 years agoCLEANUP: name variables in a more consistent way
Arun Persaud [Sat, 9 Jun 2012 15:26:28 +0000 (08:26 -0700)] 
CLEANUP: name variables in a more consistent way

11 years agoLAYOUT: fixed layout bugs due to newer version of jquery
Arun Persaud [Sat, 9 Jun 2012 14:43:23 +0000 (07:43 -0700)] 
LAYOUT: fixed layout bugs due to newer version of jquery

11 years agoupdated jquery libraries to current version
Arun Persaud [Sat, 9 Jun 2012 14:22:07 +0000 (07:22 -0700)] 
updated jquery libraries to current version

11 years agoupdated normalize.css to current version
Arun Persaud [Sat, 9 Jun 2012 14:21:43 +0000 (07:21 -0700)] 
updated normalize.css to current version

11 years agoupdated translation
Arun Persaud [Sun, 13 May 2012 01:55:42 +0000 (18:55 -0700)] 
updated translation

11 years agomarked some more messages for translation
Arun Persaud [Sun, 13 May 2012 01:55:16 +0000 (18:55 -0700)] 
marked some more messages for translation

11 years agoBUGFIX: gametype was displayed in pre-phase of the game
Arun Persaud [Thu, 10 May 2012 05:32:42 +0000 (22:32 -0700)] 
BUGFIX: gametype was displayed in pre-phase of the game

This could give away the type of sickness a player has

11 years agoBUGFIX: move some text into the message box
Arun Persaud [Wed, 9 May 2012 05:19:17 +0000 (22:19 -0700)] 
BUGFIX: move some text into the message box

11 years agoBUGFIX: removed side effect from getting the user's preferences: the language used...
Arun Persaud [Wed, 9 May 2012 04:25:49 +0000 (21:25 -0700)] 
BUGFIX: removed side effect from getting the user's preferences: the 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

11 years agoBUGFIX: a typo in the variable name card_status triggered some error messages.
Arun Persaud [Wed, 9 May 2012 03:55:57 +0000 (20:55 -0700)] 
BUGFIX: a typo in the variable name card_status triggered some error messages.

fixed the typo and cleaned up the code a bit with a better default for the variable

11 years agofixed typo in comment
Arun Persaud [Wed, 9 May 2012 03:55:49 +0000 (20:55 -0700)] 
fixed typo in comment

11 years agomoved js files into their own directory
Arun Persaud [Wed, 9 May 2012 03:54:58 +0000 (20:54 -0700)] 
moved js files into their own directory

11 years agoauto-versioning for js and css files. Needs .htaccess to be installed
Arun Persaud [Wed, 9 May 2012 03:42:59 +0000 (20:42 -0700)] 
auto-versioning for js and css files. Needs .htaccess to be installed

The md5 of the file will be added to the filename of the .js or .css file.
.htaccess will remove these again, but the browser will be able to cache correctly now.

12 years agoBUGFIX: if you win a trick, you don't have to reload the page from now on.
Arun Persaud [Mon, 20 Feb 2012 07:31:09 +0000 (23:31 -0800)] 
BUGFIX: if you win a trick, you don't have to reload the page from now on.

added a check if the player won the trick, if so, show radiobuttons next to cards to select new one.
Also needed to unset firstcard when winning the trick, since without it follow suite was still working with regards to the first card in the last trick.

12 years agospeed up get score table
Arun Persaud [Sun, 19 Feb 2012 07:13:23 +0000 (23:13 -0800)] 
speed up get score table

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

12 years agoupdated copyright notice for 2012
Arun Persaud [Sat, 11 Feb 2012 05:51:07 +0000 (21:51 -0800)] 
updated copyright notice for 2012

12 years agofixed margin collapse in .main (gray bar below header)
Arun Persaud [Sat, 11 Feb 2012 05:34:00 +0000 (21:34 -0800)] 
fixed margin collapse in .main (gray bar below header)

the h4 element has a default top margin, but the .user and .main diff didn't have any.
Because of collapsing margins they were also assigned the same margin which then created the gray bar. This doesn't happen if the parent element has non-zero padding, so I added a 1px top and bottom padding to .main, which fixed the problem

12 years agoBUGFIX: fixed missing include in update_db.php
Arun Persaud [Sat, 4 Feb 2012 19:28:35 +0000 (11:28 -0800)] 
BUGFIX:  fixed missing include in update_db.php

12 years agofixed showing re/contra call at beginning of game; allowed pre-game comments; DB...
Arun Persaud [Sat, 4 Feb 2012 19:16:42 +0000 (11:16 -0800)] 
fixed showing re/contra call at beginning of game; allowed pre-game 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

12 years agofixed link to gravatar home page
Arun Persaud [Wed, 1 Feb 2012 05:06:32 +0000 (21:06 -0800)] 
fixed link to gravatar home page

an extra slash made the link relative, which of cource didn't work

12 years agoLAYOUT: fixed position of .joingame (had left:0;)
Arun Persaud [Wed, 23 Nov 2011 03:52:36 +0000 (19:52 -0800)] 
LAYOUT: fixed position of .joingame (had left:0;)

12 years agoBUGFIX: typo in javascript
Arun Persaud [Sun, 20 Nov 2011 04:59:11 +0000 (20:59 -0800)] 
BUGFIX: typo in javascript

12 years agoLAYOUT: fixed user home page a bit
Arun Persaud [Sun, 20 Nov 2011 04:53:52 +0000 (20:53 -0800)] 
LAYOUT: fixed user home page a bit

12 years agoLAYOUT: remove text "game" from "it's your turn" list
Arun Persaud [Sun, 20 Nov 2011 04:51:49 +0000 (20:51 -0800)] 
LAYOUT: remove text "game" from "it's your turn" list

12 years agoBUGFIX: added special section for vorbehalte (needs to be in div class=middle in...
Arun Persaud [Sun, 20 Nov 2011 00:47:44 +0000 (16:47 -0800)] 
BUGFIX: added special section for vorbehalte (needs to be in div class=middle in the new layout)

12 years agoLAYOUT: fixed layout for new game page
Arun Persaud [Sun, 20 Nov 2011 00:34:00 +0000 (16:34 -0800)] 
LAYOUT: fixed layout for new game page

12 years agoLAYOUT, BUGFIX: don't show current game in "it's your turn" list, also fix layout...
Arun Persaud [Sun, 20 Nov 2011 00:21:03 +0000 (16:21 -0800)] 
LAYOUT, BUGFIX:  don't show current game in "it's your turn" list, also fix layout for this on newgame.php

12 years agoLAYOUT: fixed some css issues in the new layout
Arun Persaud [Sun, 20 Nov 2011 00:01:27 +0000 (16:01 -0800)] 
LAYOUT: fixed some css issues in the new layout

* totals were displayed too low
* personal notes were too low
* text for points for person on the bottom was on top of the div for the card instead of at the bottom

12 years agoBUGFIX: make "It's your turn in ..." a comma separated list
Arun Persaud [Thu, 17 Nov 2011 05:36:04 +0000 (21:36 -0800)] 
BUGFIX: make "It's your turn in ..." a comma separated list

12 years agoBUGFIX: fixed undefined variable when displaying tricks menu
Arun Persaud [Thu, 17 Nov 2011 05:28:33 +0000 (21:28 -0800)] 
BUGFIX: fixed undefined variable when displaying tricks menu

12 years agoLAYOUT: use html5 buttons for prev/next for the tricks
Arun Persaud [Wed, 16 Nov 2011 05:13:20 +0000 (21:13 -0800)] 
LAYOUT: use html5 buttons for prev/next for the tricks

12 years agoadded viewport definition for mobile devices
Arun Persaud [Wed, 16 Nov 2011 04:58:12 +0000 (20:58 -0800)] 
added viewport definition for mobile devices

12 years agoLAYOUT: redone layout of table and cards
Arun Persaud [Wed, 16 Nov 2011 04:56:02 +0000 (20:56 -0800)] 
LAYOUT: redone layout of table and cards

scales a lot better now and should be better for mobile devices

12 years agoLAYOUT: moved game status to top; cleaned up some css
Arun Persaud [Tue, 15 Nov 2011 04:14:00 +0000 (20:14 -0800)] 
LAYOUT: moved game status to top; cleaned up some css

12 years agoCLEANUP: merged normal css file and the one for mobile phones into one file
Arun Persaud [Tue, 15 Nov 2011 03:31:56 +0000 (19:31 -0800)] 
CLEANUP: merged normal css file and the one for mobile phones into one file

12 years agoCLEANUP: moves javascript from header into game.js
Arun Persaud [Mon, 14 Nov 2011 05:57:09 +0000 (21:57 -0800)] 
CLEANUP: moves javascript from header into game.js

should make html output smaller, since game.js can be cached

12 years agoCLEANUP: fixed html output a bit
Arun Persaud [Mon, 14 Nov 2011 05:55:27 +0000 (21:55 -0800)] 
CLEANUP: fixed html output a bit

added whitespaces and line breaks

12 years agoLAYOUT: moved output of all game message after the tricks and table
Arun Persaud [Mon, 14 Nov 2011 05:17:12 +0000 (21:17 -0800)] 
LAYOUT: moved output of all game message after the tricks and table

this should make the html layout more consistent and easier to manage for different screen sizes, e.g. for mobile phones

12 years agoLAYOUT: move display of cards below switch for mystatus
Arun Persaud [Mon, 14 Nov 2011 04:09:25 +0000 (20:09 -0800)] 
LAYOUT: move display of cards below switch for mystatus

This should make for a more consistent html layout and fix some issues that show up on different browsers and display sizes.

12 years agoCLEANUP: added some comments, renamed some variables, moved a tiny bit of code
Arun Persaud [Sun, 13 Nov 2011 19:44:17 +0000 (11:44 -0800)] 
CLEANUP: added some comments, renamed some variables, moved a tiny bit of code

12 years agofixed some html source code alignement and moved the games table, so it's flush left...
Arun Persaud [Sat, 8 Oct 2011 03:52:52 +0000 (20:52 -0700)] 
fixed some html source code alignement and moved the games table, so it's flush left with the rest of the test

12 years agomoved players positinon around the table a bit to center them better
Arun Persaud [Sat, 8 Oct 2011 03:26:56 +0000 (20:26 -0700)] 
moved players positinon around the table a bit to center them better

12 years agomove #tricks to new line and center it
Arun Persaud [Sat, 8 Oct 2011 03:21:49 +0000 (20:21 -0700)] 
move #tricks to new line and center it

12 years agoupdated copyright to 2011
Arun Persaud [Sat, 8 Oct 2011 03:15:29 +0000 (20:15 -0700)] 
updated copyright to 2011

12 years agomoved last login status to bottome for narrow display
Arun Persaud [Sat, 8 Oct 2011 01:35:26 +0000 (18:35 -0700)] 
moved last login status to bottome for narrow display

12 years agofixed some css issues after changing to normalize.css
Arun Persaud [Sat, 8 Oct 2011 01:29:23 +0000 (18:29 -0700)] 
fixed some css issues after changing to normalize.css

12 years agoupdate notes about emails
Arun Persaud [Sat, 8 Oct 2011 01:20:07 +0000 (18:20 -0700)] 
update notes about emails

12 years agoreplaced css reset with normalize.css
Arun Persaud [Sat, 8 Oct 2011 01:19:54 +0000 (18:19 -0700)] 
replaced css reset with normalize.css

12 years agofixed html and some alignement in login/register screen
Arun Persaud [Sat, 8 Oct 2011 00:16:36 +0000 (17:16 -0700)] 
fixed html and some alignement in login/register screen

12 years agofix html and css for buttons
Arun Persaud [Fri, 7 Oct 2011 06:47:36 +0000 (23:47 -0700)] 
fix html and css for buttons

12 years agomake cards clickable as radiobuttons
Arun Persaud [Fri, 7 Oct 2011 06:08:10 +0000 (23:08 -0700)] 
make cards clickable as radiobuttons

12 years agomake list of tricks and what game and session we are more compact.
Arun Persaud [Fri, 7 Oct 2011 04:27:21 +0000 (21:27 -0700)] 
make list of tricks and what game and session we are more compact.

Also add game type in description for all games, but "normal" ones (which should include silent solos

12 years agostarted on better mobile support
Arun Persaud [Fri, 7 Oct 2011 02:30:21 +0000 (19:30 -0700)] 
started on better mobile support

some changes in order of HTML, but mostly CSS

12 years agofixed some validation errors (css/html)
Arun Persaud [Thu, 6 Oct 2011 06:16:38 +0000 (23:16 -0700)] 
fixed some validation errors (css/html)

12 years agofixed labels for password recovery form
Arun Persaud [Thu, 6 Oct 2011 05:38:54 +0000 (22:38 -0700)] 
fixed labels for password recovery form

12 years agoinclude green1.gif picture from dreamhost
Arun Persaud [Thu, 6 Oct 2011 05:37:45 +0000 (22:37 -0700)] 
include green1.gif picture from dreamhost

used to be a https request and took a long time to load, better to host it locally

12 years agoadd some html5
Arun Persaud [Thu, 6 Oct 2011 05:37:19 +0000 (22:37 -0700)] 
add some html5

12 years agocleared up the look of the front page a bit
Arun Persaud [Thu, 6 Oct 2011 05:30:33 +0000 (22:30 -0700)] 
cleared up the look of the front page a bit

13 years agoTRANSLATION: marked subjects lines in emails for translation
Arun Persaud [Sun, 20 Mar 2011 07:56:21 +0000 (00:56 -0700)] 
TRANSLATION: marked subjects lines in emails for translation

13 years agoCLEANUP: added gameid to mymail and generate subject line in mymail directly
Arun Persaud [Sun, 20 Mar 2011 07:40:54 +0000 (00:40 -0700)] 
CLEANUP: added gameid to mymail and generate subject line in mymail directly

this way it will be easier to add translation and also to add the gameid into the database for the digest

13 years agoLAYOUT: fixed message area showing up in the wrong place during poverty setup
Arun Persaud [Tue, 22 Feb 2011 06:51:31 +0000 (22:51 -0800)] 
LAYOUT: fixed message area showing up in the wrong place during poverty setup

13 years agoBUGFIX: don't show schweinchen in poverty games during pre-game phase
Arun Persaud [Tue, 22 Feb 2011 06:45:32 +0000 (22:45 -0800)] 
BUGFIX: don't show schweinchen in poverty games during pre-game phase

after exchanging cards schweinchen was shown during the pre-game phase

13 years agoBUGFIX: fixed a type on the welcome screen
Arun Persaud [Thu, 17 Feb 2011 06:30:45 +0000 (22:30 -0800)] 
BUGFIX: fixed a type on the welcome screen

13 years agofixed one bugs in the scoring algorithm
Arun Persaud [Sun, 21 Nov 2010 17:31:16 +0000 (09:31 -0800)] 
fixed one bugs in the scoring algorithm

* no "call-x" points where given if "0" was called

13 years agofixe placement of comment box in pre-game phase
Arun Persaud [Sun, 21 Nov 2010 08:42:28 +0000 (00:42 -0800)] 
fixe placement of comment box in pre-game phase

it now always shows at the bottom of the page as it should ;)

13 years agofixed typo in CSS, simpler naming scheme
Arun Persaud [Sun, 21 Nov 2010 08:13:21 +0000 (00:13 -0800)] 
fixed typo in CSS, simpler naming scheme

13 years agoadded date picker for vacations
Arun Persaud [Sun, 21 Nov 2010 08:10:15 +0000 (00:10 -0800)] 
added date picker for vacations

use html5 with jquery as a fallback

13 years agoadded autofocus to login page
Arun Persaud [Sun, 21 Nov 2010 05:26:19 +0000 (21:26 -0800)] 
added autofocus to login page

mixtures of html5+javascript for the moment

13 years agoBUGFIX: 9-cards rule for re/contra: couldn't call <=60 with more than 9 cards and...
Arun Persaud [Sun, 7 Nov 2010 18:13:13 +0000 (10:13 -0800)] 
BUGFIX: 9-cards rule for re/contra: couldn't call <=60 with more than 9 cards and no90 called

only this special case was wrong, everything else looks ok.

13 years agoBUGFIX: fixed some html validation errors
Arun Persaud [Tue, 12 Oct 2010 03:52:09 +0000 (20:52 -0700)] 
BUGFIX: fixed some html validation errors

13 years agoBUGFIX: fixed last commit
Arun Persaud [Wed, 22 Sep 2010 20:22:37 +0000 (13:22 -0700)] 
BUGFIX: fixed last commit

13 years agoMerge branch 'master' of /home/arun/nubati.net/git/e-DoKo
Arun Persaud [Wed, 22 Sep 2010 03:34:30 +0000 (20:34 -0700)] 
Merge branch 'master' of /home/arun/nubati.net/git/e-DoKo

13 years agoNEW FEATURE: pre select card to play if there is only one option
Arun Persaud [Wed, 22 Sep 2010 03:27:12 +0000 (20:27 -0700)] 
NEW FEATURE: pre select card to play if there is only one option

13 years agoTRANSLATION: some more strings and updated po.de
Arun Persaud [Wed, 22 Sep 2010 03:10:00 +0000 (20:10 -0700)] 
TRANSLATION: some more strings and updated po.de

13 years agoLAYOUT: fixed issue on user page when one player is on vacation
Arun Persaud [Wed, 30 Jun 2010 04:53:08 +0000 (21:53 -0700)] 
LAYOUT: fixed issue on user page when one player is on vacation

used to have two floats, but when the second one went over two lines (due to vacation message)
the layout didn't show up correctly anymore when collapsed.

13 years agoBUGIFX: when playing a silent solo the "pre" trick showed up in the list of tricks
Arun Persaud [Sat, 26 Jun 2010 02:18:51 +0000 (19:18 -0700)] 
BUGIFX: when playing a silent solo the "pre" trick showed up in the list of tricks

since now sickness was shown in the pre trick this gave away silent solo, although I think nobody noticed up to now ;)
Should be fixed now by checking for silent solo correctly (a non-function if-statement was already in the code)

13 years agoremoved hardcoded reference to wiki and replaced with variable from config.php
Arun Persaud [Sun, 6 Jun 2010 20:28:50 +0000 (13:28 -0700)] 
removed hardcoded reference to wiki and replaced with variable from config.php

13 years agoimproved jquery on user home page
Arun Persaud [Wed, 5 May 2010 04:44:30 +0000 (21:44 -0700)] 
improved jquery on user home page

the text will now say either show or hide not both depending on the situation.

13 years agoadded BK as translator
Arun Persaud [Wed, 5 May 2010 02:39:51 +0000 (19:39 -0700)] 
added BK as translator

13 years agoupdated German translation
BK [Wed, 5 May 2010 02:38:18 +0000 (19:38 -0700)] 
updated German translation

13 years agoadded an About page
Arun Persaud [Tue, 27 Apr 2010 06:35:41 +0000 (23:35 -0700)] 
added an About page

13 years agoAdded about page
Arun Persaud [Tue, 27 Apr 2010 06:13:32 +0000 (23:13 -0700)] 
Added about page