e-DoKo.git
5 years agofix error when language is not set master
Arun Persaud [Sun, 27 May 2018 18:52:43 +0000 (11:52 -0700)] 
fix error when language is not set

7 years agoupdate copyright year
Arun Persaud [Sun, 10 Jul 2016 18:35:52 +0000 (11:35 -0700)] 
update copyright year

8 years agoBUGFIX: fix password for password recovery (was not random enough)
Arun Persaud [Sun, 10 Apr 2016 18:42:28 +0000 (11:42 -0700)] 
BUGFIX: fix password for password recovery (was not random enough)

The password was just a constant string, the email, and the current
time. Therefore, someone could just request a new password and even
without getting the email, just try out different time stamps around
the time the person requested the email and recover the temporary
password. Added a random string to generate the password, which should
fix this.

8 years agouse https for gravatar
Arun Persaud [Sat, 5 Mar 2016 18:36:38 +0000 (10:36 -0800)] 
use https for gravatar

8 years agoBUGFIX: fix reusing randomnumbers in new games
Arun Persaud [Sun, 24 Jan 2016 19:37:52 +0000 (11:37 -0800)] 
BUGFIX: fix reusing randomnumbers in new games

need to look at randomnumbers not gameids, otherwise we always
return the same randomnumbers of the first game non-of the new players
was in.

8 years agoclean up js a bit
Arun Persaud [Sun, 24 Jan 2016 18:31:17 +0000 (10:31 -0800)] 
clean up js a bit

8 years agoreuse random number: test select distinct
Arun Persaud [Sun, 29 Nov 2015 23:51:54 +0000 (15:51 -0800)] 
reuse random number: test select distinct

8 years agoBUGFIX: check for 2nd 10 of hearts in wedding and poverty games
Arun Persaud [Sun, 29 Nov 2015 09:26:42 +0000 (01:26 -0800)] 
BUGFIX: check for 2nd 10 of hearts in wedding and poverty games

8 years agoBUGFIX: fix mysql insert statements (null values for timestamps didn't work anymore)
Arun Persaud [Mon, 5 Oct 2015 00:03:34 +0000 (17:03 -0700)] 
BUGFIX: fix mysql insert statements (null values for timestamps didn't work anymore)

a dreamhost update to a newer sql version changed the default behavior for
null inserts for timestamps. They don't insert the current timestamp anymore
when a config option for mysql is set (which seems to be the case).

solution: instead of inserting null always insert current_timestamp

10 years agoFEATURE: make edoko brand name and avatar logo link to the user's home page
Arun Persaud [Wed, 19 Mar 2014 03:41:58 +0000 (20:41 -0700)] 
FEATURE: make edoko brand name and avatar logo link to the user's home page

10 years agoFEATURE: allow swiping to look through tricks on mobile devices
Arun Persaud [Tue, 18 Mar 2014 05:32:58 +0000 (22:32 -0700)] 
FEATURE: allow swiping to look through tricks on mobile devices

10 years agoLAYOUT: better layout for mobile devices
Arun Persaud [Tue, 18 Mar 2014 05:32:25 +0000 (22:32 -0700)] 
LAYOUT: better layout for mobile devices

table and cards were too small

10 years agoOnly show new players from the last 45 days
Arun Persaud [Sun, 9 Mar 2014 06:23:39 +0000 (22:23 -0800)] 
Only show new players from the last 45 days

should be enough to get them playing in new games.

10 years agoupdated css/js libraries
Arun Persaud [Sun, 9 Mar 2014 06:02:34 +0000 (22:02 -0800)] 
updated css/js libraries

* bootstrap 3.1.1
* jquery 2.1.0
* less 1.7.0

mostly bootstrap had to be adjusted, e.g. different names like hero-unit->jumbotron, etc.

10 years agoupdated copyright to 2014
Arun Persaud [Sun, 5 Jan 2014 20:34:22 +0000 (12:34 -0800)] 
updated copyright to 2014

10 years agoBUGFIX: vorbehalte of all players were visible
Arun Persaud [Tue, 24 Sep 2013 04:17:01 +0000 (21:17 -0700)] 
BUGFIX: vorbehalte of all players were visible

a player shouldn't know the vorbehalte of players behind him until he finished his setup.
* fixed change of internal variable mystatus from init to check
* fixed who can see vorbehalte depending on mystatus

10 years agoBUGFIX: fixed selection of spade and heart solo
Arun Persaud [Tue, 17 Sep 2013 00:10:44 +0000 (17:10 -0700)] 
BUGFIX: fixed selection of spade and heart solo

two typos messed up the solo selction, e.g. the gametype was not the same as the one given in the
enum in the database. Also added an additional check before we set them in the database, so that people
can mess things up when playing with the url directly.

10 years agoset time interval to 30s for update check
Arun Persaud [Sat, 24 Aug 2013 17:16:03 +0000 (10:16 -0700)] 
set time interval to 30s for update check

10 years agoupdate favicon if it's your turn.
Arun Persaud [Sat, 17 Aug 2013 15:24:36 +0000 (08:24 -0700)] 
update favicon if it's your turn.

Added a simple php script that returns via json if it's your turn and
then check this every 10s using javascript.

10 years agoBUGFIX: fixed typo gametyep ->gametype
Arun Persaud [Tue, 7 May 2013 15:23:43 +0000 (08:23 -0700)] 
BUGFIX: fixed typo gametyep ->gametype

10 years agoMake startup phase smoother: less reloading of pages and less text messages to the...
Arun Persaud [Mon, 6 May 2013 02:37:43 +0000 (19:37 -0700)] 
Make startup phase smoother: less reloading of pages and less text messages to the user

10 years agoin some cases the user has to reload the page to get to the next pre-game phase....
Arun Persaud [Fri, 3 May 2013 04:38:53 +0000 (21:38 -0700)] 
in some cases the user has to reload the page to get to the next pre-game phase. Skip some of these

go automatically to the next pre-games phase, iff possible.

10 years agoCLEANUP: GT,gametype,mygametype variable, make it translatable, some code cleanup
Arun Persaud [Fri, 3 May 2013 04:19:21 +0000 (21:19 -0700)] 
CLEANUP: GT,gametype,mygametype variable, make it translatable, some code cleanup

11 years agomention design of cards and project page for those cards on about page
Arun Persaud [Sun, 31 Mar 2013 23:53:29 +0000 (16:53 -0700)] 
mention design of cards and project page for those cards on about page

11 years agoadded a new set of LGPL licensed cards
Arun Persaud [Sun, 31 Mar 2013 23:53:00 +0000 (16:53 -0700)] 
added a new set of LGPL licensed cards

11 years agoTRANSLATION: updated German translation
Arun Persaud [Sat, 30 Mar 2013 05:59:11 +0000 (22:59 -0700)] 
TRANSLATION: updated German translation

11 years agoTRANSLATION: marked more strings for translation
Arun Persaud [Sat, 30 Mar 2013 05:45:09 +0000 (22:45 -0700)] 
TRANSLATION: marked more strings for translation

11 years agofixed language selection for end-of-game summary email.
Arun Persaud [Tue, 26 Feb 2013 06:42:51 +0000 (22:42 -0800)] 
fixed language selection for end-of-game summary email.

was send out in the language of he palyer who finished.

11 years agomysql optimization: don't quote integers as strings in WHERE
Arun Persaud [Tue, 26 Feb 2013 06:04:21 +0000 (22:04 -0800)] 
mysql optimization: don't quote integers as strings in WHERE

11 years agoBUGFIX: mysql needs to return NULL when nothing was found
Arun Persaud [Tue, 26 Feb 2013 05:29:12 +0000 (21:29 -0800)] 
BUGFIX: mysql needs to return NULL when nothing was found

11 years agobetter mysql-profiling output
Arun Persaud [Tue, 26 Feb 2013 05:28:44 +0000 (21:28 -0800)] 
better mysql-profiling output

11 years agoreplaced two DB queries with one that is indexed.
Arun Persaud [Tue, 26 Feb 2013 05:25:57 +0000 (21:25 -0800)] 
replaced two DB queries with one that is indexed.

11 years agomoved php from old mysql to myslqi to make things more future proof
Arun Persaud [Sat, 9 Feb 2013 16:55:42 +0000 (08:55 -0800)] 
moved php from old mysql to myslqi to make things more future proof

11 years agoBUGFIX: fixed previous commit about sending mail in utf-8
Arun Persaud [Sun, 20 Jan 2013 17:02:58 +0000 (09:02 -0800)] 
BUGFIX: fixed previous commit about sending mail in utf-8

11 years agoTRANSLATION: updated German translation
Arun Persaud [Sat, 19 Jan 2013 20:51:50 +0000 (12:51 -0800)] 
TRANSLATION: updated German translation

11 years agoTRANSLATION: marked more strings for translation
Arun Persaud [Sat, 19 Jan 2013 20:51:28 +0000 (12:51 -0800)] 
TRANSLATION: marked more strings for translation

11 years agoLAYOUT: improved layout of about page
Arun Persaud [Sat, 19 Jan 2013 20:13:00 +0000 (12:13 -0800)] 
LAYOUT: improved layout of about page

11 years agoLAYOUT: fix footer
Arun Persaud [Sat, 19 Jan 2013 19:59:48 +0000 (11:59 -0800)] 
LAYOUT: fix footer

11 years agoBUGFIX: send emails in utf-8
Arun Persaud [Sat, 19 Jan 2013 19:53:39 +0000 (11:53 -0800)] 
BUGFIX: send emails in utf-8

11 years agoremove Altenburger Spielkarten, their copyright notice, etc. since the licence expired
Arun Persaud [Thu, 17 Jan 2013 05:38:08 +0000 (21:38 -0800)] 
remove Altenburger Spielkarten, their copyright notice, etc. since the licence expired

They changed their company police and won't give out a free licence agreement anymore, so might as well remove it completely.

11 years agoupdated copyright in footer to 2013
Arun Persaud [Thu, 17 Jan 2013 05:37:06 +0000 (21:37 -0800)] 
updated copyright in footer to 2013

11 years agoBUGFIX: use english language as default in set_language
Arun Persaud [Wed, 16 Jan 2013 02:27:29 +0000 (18:27 -0800)] 
BUGFIX: use english language as default in set_language

before the previous language was kept which could have been e.g. German,
even if the person didn't choose German.

11 years agoTRANSLATION: fixed some small issues
Arun Persaud [Tue, 15 Jan 2013 02:38:54 +0000 (18:38 -0800)] 
TRANSLATION: fixed some small issues

11 years agoBUGIFX: added some set_language functions, fixed some strings for translation, fixed...
Arun Persaud [Tue, 15 Jan 2013 02:35:59 +0000 (18:35 -0800)] 
BUGIFX: added some set_language functions, fixed some strings for translation, fixed typo

11 years agoTRANSLATION: updated German translation
Arun Persaud [Sun, 13 Jan 2013 23:36:30 +0000 (15:36 -0800)] 
TRANSLATION: updated German translation

11 years agoTRANSLATION: marked more strings for translation
Arun Persaud [Sun, 13 Jan 2013 23:36:17 +0000 (15:36 -0800)] 
TRANSLATION: marked more strings for translation

11 years agoBUGFIX: fixed wrong uid value in mymail function
Arun Persaud [Sun, 13 Jan 2013 06:07:14 +0000 (22:07 -0800)] 
BUGFIX: fixed wrong uid value in mymail function

used the array instead of a value in the array

11 years agoTRANSLATION: updated some strings
Arun Persaud [Sun, 13 Jan 2013 05:16:47 +0000 (21:16 -0800)] 
TRANSLATION: updated some strings

11 years agoTRANSLATION: updated german translation
Arun Persaud [Sun, 13 Jan 2013 01:12:37 +0000 (17:12 -0800)] 
TRANSLATION: updated german translation

11 years agoTRANSLATION: marked more messages for translation
Arun Persaud [Sun, 13 Jan 2013 01:12:20 +0000 (17:12 -0800)] 
TRANSLATION: marked more messages for translation

11 years agoLAYOUT: move to compiled less to make things faster
Arun Persaud [Sun, 13 Jan 2013 01:01:44 +0000 (17:01 -0800)] 
LAYOUT: move to compiled less to make things faster

11 years agoLAYOUT: some small CSS adjustments
Arun Persaud [Sun, 13 Jan 2013 00:34:54 +0000 (16:34 -0800)] 
LAYOUT: some small CSS adjustments

11 years agoTRANSLATION: updated german translation
Arun Persaud [Sat, 12 Jan 2013 23:57:11 +0000 (15:57 -0800)] 
TRANSLATION: updated german translation

11 years agoTRANSLATION: updated setup for translation: use utf-8; updated pot file
Arun Persaud [Sat, 12 Jan 2013 23:56:50 +0000 (15:56 -0800)] 
TRANSLATION: updated setup for translation: use utf-8; updated pot file

11 years agoupdated copyright for 2013
Arun Persaud [Wed, 9 Jan 2013 16:02:03 +0000 (08:02 -0800)] 
updated copyright for 2013

11 years agofixed more language settings in email; marked more strings for translation
Arun Persaud [Mon, 31 Dec 2012 16:46:02 +0000 (16:46 +0000)] 
fixed more language settings in email; marked more strings for translation

11 years agoset languages can also be used by UID now; make mymail langauge sensitive
Arun Persaud [Mon, 31 Dec 2012 15:45:15 +0000 (15:45 +0000)] 
set languages can also be used by UID now; make mymail langauge sensitive

mymail used to use the language of the person triggering the email.

11 years agoimproved language detection using browser information; set the language directly...
Arun Persaud [Mon, 31 Dec 2012 15:11:45 +0000 (15:11 +0000)] 
improved language detection using browser information; set the language directly in more places

previously one had to reload to get the language correct, now it should be correct right away.
We also read out the browser request for a language now.

11 years agoBUGFIX: fix link to wiki on login page
Arun Persaud [Mon, 10 Dec 2012 03:34:07 +0000 (19:34 -0800)] 
BUGFIX: fix link to wiki on login page

11 years agoBUGFIX: fix disable of prev/next button in trick selector
Arun Persaud [Mon, 10 Dec 2012 03:24:31 +0000 (19:24 -0800)] 
BUGFIX: fix disable of prev/next button in trick selector

11 years agoLAYOUT: use bootstrap to style gravatar images
Arun Persaud [Mon, 10 Dec 2012 03:20:22 +0000 (19:20 -0800)] 
LAYOUT: use bootstrap to style gravatar images

11 years agoLAYOUT: fix score table layout
Arun Persaud [Mon, 10 Dec 2012 03:05:55 +0000 (19:05 -0800)] 
LAYOUT: fix score table layout

11 years agoLAYOUT: make footer smaller
Arun Persaud [Mon, 10 Dec 2012 02:52:43 +0000 (18:52 -0800)] 
LAYOUT: make footer smaller

11 years agoBUGFIX: fix error when user is not logged in, but tries to access his home page
Arun Persaud [Mon, 10 Dec 2012 02:39:26 +0000 (18:39 -0800)] 
BUGFIX: fix error when user is not logged in, but tries to access his home page

needed to test, if variables were set or not.

11 years agoBUGFIX: highlight of prev/next trick didn't work all the time
Arun Persaud [Sun, 9 Dec 2012 20:09:35 +0000 (12:09 -0800)] 
BUGFIX: highlight of prev/next trick didn't work all the time

used a string where I should have used an integer

11 years agoremoved unused variable in output.php
Arun Persaud [Sun, 9 Dec 2012 19:41:51 +0000 (11:41 -0800)] 
removed unused variable in output.php

11 years agobootstrap: fixed login/register, footer, and navbar
Arun Persaud [Sun, 9 Dec 2012 19:17:44 +0000 (11:17 -0800)] 
bootstrap: fixed login/register, footer, and navbar

* made navbar smaller, added icons, icons only (for smaller screen)
* fixed login screen

11 years agostarting to bootstrap the layout: navbar and tricks
Arun Persaud [Sat, 6 Oct 2012 07:19:12 +0000 (00:19 -0700)] 
starting to bootstrap the layout: navbar and tricks

- changing the tricks-selector to a paginator and fixing the js for highlighting
- adding a navbar using bootstrap, probably should use .wrap more instead of adding divs to the code

11 years agoadded less, moved bootstrap to less components
Arun Persaud [Sat, 6 Oct 2012 04:34:54 +0000 (21:34 -0700)] 
added less, moved bootstrap to less components

11 years agoupdated jquery, moved include to end of html page, removed normalize.css, added bootstrap
Arun Persaud [Sat, 6 Oct 2012 04:14:44 +0000 (21:14 -0700)] 
updated jquery, moved include to end of html page, removed normalize.css, added bootstrap

11 years agoadded bootstrap 2.1.1; fixed paths to match edoko (img->pics)
Arun Persaud [Sat, 6 Oct 2012 03:57:47 +0000 (20:57 -0700)] 
added bootstrap 2.1.1; fixed paths to match edoko (img->pics)

11 years agoBUGFIX: if not logged in, don't show link to last game
Arun Persaud [Sat, 6 Oct 2012 03:45:56 +0000 (20:45 -0700)] 
BUGFIX: if not logged in, don't show link to last game

This could be used to get the hash for a current game of a different user.

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