trivabble.git
6 years agofix: the disappearing letter is gone
Raphaël Jakse [Wed, 22 Apr 2020 21:26:45 +0000 (23:26 +0200)] 
fix: the disappearing letter is gone

6 years agoRemove extraneous quote in the config.js.sample file
Raphaël Jakse [Tue, 21 Apr 2020 16:42:59 +0000 (18:42 +0200)] 
Remove extraneous quote in the config.js.sample file

6 years agoBump client version
Raphaël Jakse [Sun, 19 Apr 2020 10:48:24 +0000 (12:48 +0200)] 
Bump client version

6 years agoCorrectly handle jockers and missing tiles when showing the rack
Raphaël Jakse [Sun, 19 Apr 2020 10:43:24 +0000 (12:43 +0200)] 
Correctly handle jockers and missing tiles when showing the rack

6 years agoAllow players to show their rack
Raphaël Jakse [Sun, 19 Apr 2020 10:23:39 +0000 (12:23 +0200)] 
Allow players to show their rack

6 years agoCenter the game
Raphaël Jakse [Sun, 19 Apr 2020 09:07:44 +0000 (11:07 +0200)] 
Center the game

6 years agoKeep the production configuration when upgrading
Raphaël Jakse [Sun, 19 Apr 2020 08:48:21 +0000 (10:48 +0200)] 
Keep the production configuration when upgrading

6 years agoSupport for current player
Raphaël Jakse [Sun, 19 Apr 2020 08:46:53 +0000 (10:46 +0200)] 
Support for current player

6 years agoCase-insensitive check for Upgrade: WebSocket
Raphaël Jakse [Thu, 16 Apr 2020 07:43:30 +0000 (09:43 +0200)] 
Case-insensitive check for Upgrade: WebSocket

6 years agoRemove information about the bag being suffled
Raphaël Jakse [Wed, 15 Apr 2020 22:28:15 +0000 (00:28 +0200)] 
Remove information about the bag being suffled

6 years agoFix git status check when upgrading the production
Raphaël Jakse [Wed, 15 Apr 2020 20:27:08 +0000 (22:27 +0200)] 
Fix git status check when upgrading the production

6 years agoSet those executable bits in the bin folder
Raphaël Jakse [Wed, 15 Apr 2020 20:17:23 +0000 (22:17 +0200)] 
Set those executable bits in the bin folder

6 years agoAllow configuring the client
Raphaël Jakse [Wed, 15 Apr 2020 20:15:03 +0000 (22:15 +0200)] 
Allow configuring the client

6 years agoPre-shuffle the bag to avoids risks of nasty endless loops
Raphaël Jakse [Wed, 15 Apr 2020 19:53:32 +0000 (21:53 +0200)] 
Pre-shuffle the bag to avoids risks of nasty endless loops

6 years agoLint
Raphaël Jakse [Wed, 15 Apr 2020 19:24:58 +0000 (21:24 +0200)] 
Lint

6 years agoSet the language of the document
Raphaël Jakse [Wed, 15 Apr 2020 19:24:40 +0000 (21:24 +0200)] 
Set the language of the document

6 years agoAvoid restarting the connection when leaving the game
Raphaël Jakse [Tue, 14 Apr 2020 22:43:41 +0000 (00:43 +0200)] 
Avoid restarting the connection when leaving the game

6 years agoEnsure we close active connections when opening another - second trial
Raphaël Jakse [Tue, 14 Apr 2020 22:36:09 +0000 (00:36 +0200)] 
Ensure we close active connections when opening another - second trial

6 years agoEnsure we close the active connection when opening another in the client
Raphaël Jakse [Tue, 14 Apr 2020 18:37:45 +0000 (20:37 +0200)] 
Ensure we close the active connection when opening another in the client

6 years agoStrengthen WebSocket error handling
Raphaël Jakse [Mon, 13 Apr 2020 19:18:40 +0000 (21:18 +0200)] 
Strengthen WebSocket error handling

6 years agoBlock WebSockets if we see that they don't work
Raphaël Jakse [Mon, 13 Apr 2020 09:36:22 +0000 (11:36 +0200)] 
Block WebSockets if we see that they don't work

6 years agoAdd scripts to deploy to production
Raphaël Jakse [Mon, 13 Apr 2020 08:32:51 +0000 (10:32 +0200)] 
Add scripts to deploy to production

6 years agoDon't force :trivabble in sse and ws URLs
Raphaël Jakse [Mon, 13 Apr 2020 08:25:30 +0000 (10:25 +0200)] 
Don't force :trivabble in sse and ws URLs

6 years agoEnable WebSockets in the client
Raphaël Jakse [Sun, 12 Apr 2020 18:14:40 +0000 (20:14 +0200)] 
Enable WebSockets in the client

6 years agoSupport for WebSockets in the server
Raphaël Jakse [Sun, 12 Apr 2020 18:14:39 +0000 (20:14 +0200)] 
Support for WebSockets in the server

6 years agoRewrite const and let to var when serving js files from the dev server
Raphaël Jakse [Sun, 12 Apr 2020 18:14:37 +0000 (20:14 +0200)] 
Rewrite const and let to var when serving js files from the dev server

6 years agoSupport special chat messages on the server
Raphaël Jakse [Sun, 12 Apr 2020 18:14:36 +0000 (20:14 +0200)] 
Support special chat messages on the server

6 years agoStop sending all player information to everyone on many actions
Raphaël Jakse [Sun, 12 Apr 2020 18:14:36 +0000 (20:14 +0200)] 
Stop sending all player information to everyone on many actions

6 years agoLint
Raphaël Jakse [Sun, 12 Apr 2020 18:14:35 +0000 (20:14 +0200)] 
Lint

6 years agoDisable Node's server default timeout
Raphaël Jakse [Sun, 12 Apr 2020 18:14:22 +0000 (20:14 +0200)] 
Disable Node's server default timeout

6 years agoStop using inline scripts breaking with some CSP setups
Raphaël Jakse [Sun, 12 Apr 2020 18:14:20 +0000 (20:14 +0200)] 
Stop using inline scripts breaking with some CSP setups

6 years agoRework connection handling in the client
Raphaël Jakse [Sun, 12 Apr 2020 18:14:19 +0000 (20:14 +0200)] 
Rework connection handling in the client

This commit introduces code to handle websockets.
This is disabled for now, support in the server is not ready.

6 years agoGive up on dates and sync, this is a cause of unstability
Raphaël Jakse [Sun, 12 Apr 2020 18:14:18 +0000 (20:14 +0200)] 
Give up on dates and sync, this is a cause of unstability

6 years agoLint
Raphaël Jakse [Sun, 12 Apr 2020 18:14:16 +0000 (20:14 +0200)] 
Lint

6 years agoDo not use u flag in regexes
Raphaël Jakse [Sun, 12 Apr 2020 18:14:16 +0000 (20:14 +0200)] 
Do not use u flag in regexes

This is not supported in Safari 9

6 years agoUse [].slice.call when iterating over node lists
Raphaël Jakse [Sun, 12 Apr 2020 18:14:15 +0000 (20:14 +0200)] 
Use [].slice.call when iterating over node lists

This is needed on Safari 9, used on the iPad 2.

6 years agoBetter handling of touchscreens
Raphaël Jakse [Sun, 12 Apr 2020 18:14:14 +0000 (20:14 +0200)] 
Better handling of touchscreens

6 years agoMore defensively save games when closing
Raphaël Jakse [Sun, 5 Apr 2020 20:00:07 +0000 (22:00 +0200)] 
More defensively save games when closing

6 years agoAdd more error handling in the server
Raphaël Jakse [Sun, 5 Apr 2020 19:05:48 +0000 (21:05 +0200)] 
Add more error handling in the server

6 years agoLinting: allow nested ternaries
Raphaël Jakse [Sun, 5 Apr 2020 18:57:13 +0000 (20:57 +0200)] 
Linting: allow nested ternaries

6 years agoUse Array.isArray instead of instanceof Array
Raphaël Jakse [Sun, 5 Apr 2020 16:16:45 +0000 (18:16 +0200)] 
Use Array.isArray instead of instanceof Array

6 years agofix stopped game count when stopping the server
Raphaël Jakse [Sun, 5 Apr 2020 16:13:13 +0000 (18:13 +0200)] 
fix stopped game count when stopping the server

6 years agoLinting: let it be
Raphaël Jakse [Sun, 5 Apr 2020 13:49:48 +0000 (15:49 +0200)] 
Linting: let it be

6 years agoRefactor: simplify the part handling EventSource
Raphaël Jakse [Sun, 5 Apr 2020 12:59:28 +0000 (14:59 +0200)] 
Refactor: simplify the part handling EventSource

6 years agol10n - fix line ending in fr.po
Raphaël Jakse [Sun, 5 Apr 2020 10:54:59 +0000 (12:54 +0200)] 
l10n - fix line ending in fr.po

6 years agoAllow to gracefully stop the server
Raphaël Jakse [Sun, 5 Apr 2020 10:51:47 +0000 (12:51 +0200)] 
Allow to gracefully stop the server

6 years agoGracefully handle connection loss and inform the user
Raphaël Jakse [Sun, 5 Apr 2020 10:51:18 +0000 (12:51 +0200)] 
Gracefully handle connection loss and inform the user

6 years agol10n - Add the mandatory callback to fs.close
Raphaël Jakse [Sun, 5 Apr 2020 10:50:18 +0000 (12:50 +0200)] 
l10n - Add the mandatory callback to fs.close

6 years agoHandle chat messages in a dedicated fonction
Raphaël Jakse [Sun, 5 Apr 2020 10:36:58 +0000 (12:36 +0200)] 
Handle chat messages in a dedicated fonction

6 years agoLinting
Raphaël Jakse [Sun, 5 Apr 2020 10:34:30 +0000 (12:34 +0200)] 
Linting

6 years agofix game unconditionally being reset
Raphaël Jakse [Sun, 5 Apr 2020 10:32:31 +0000 (12:32 +0200)] 
fix game unconditionally being reset

6 years agocommand joinGame is not needed anymore
Raphaël Jakse [Sun, 5 Apr 2020 08:35:53 +0000 (10:35 +0200)] 
command joinGame is not needed anymore

6 years agoBetter error handling of connection loss
Raphaël Jakse [Sun, 5 Apr 2020 08:30:04 +0000 (10:30 +0200)] 
Better error handling of connection loss

6 years agoAdd a way to ask the client to reload
Raphaël Jakse [Sun, 5 Apr 2020 08:25:52 +0000 (10:25 +0200)] 
Add a way to ask the client to reload

6 years agoThrow the fatal exception instead of logging it
Raphaël Jakse [Sun, 5 Apr 2020 08:24:14 +0000 (10:24 +0200)] 
Throw the fatal exception instead of logging it

6 years agoHandle JSON errors in a separate function
Raphaël Jakse [Sun, 5 Apr 2020 08:22:07 +0000 (10:22 +0200)] 
Handle JSON errors in a separate function

6 years agol10n: use node instead of nodejs
Raphaël Jakse [Sun, 5 Apr 2020 08:18:56 +0000 (10:18 +0200)] 
l10n: use node instead of nodejs

6 years agol10n: translate a forgotten string
Raphaël Jakse [Sun, 5 Apr 2020 08:18:30 +0000 (10:18 +0200)] 
l10n: translate a forgotten string

6 years agoLinting
Raphaël Jakse [Sun, 5 Apr 2020 08:12:37 +0000 (10:12 +0200)] 
Linting

6 years agoLinting
Raphaël Jakse [Sat, 4 Apr 2020 16:08:28 +0000 (18:08 +0200)] 
Linting

6 years agoIndent a switch statement
Raphaël Jakse [Sat, 4 Apr 2020 15:19:28 +0000 (17:19 +0200)] 
Indent a switch statement

6 years agoIntroduce a flag for debug logging
Raphaël Jakse [Sat, 4 Apr 2020 14:57:44 +0000 (16:57 +0200)] 
Introduce a flag for debug logging

6 years agoStore when a game was last updated
Raphaël Jakse [Sat, 4 Apr 2020 14:51:45 +0000 (16:51 +0200)] 
Store when a game was last updated

6 years agoAvoid a 404 error related to en.js
Raphaël Jakse [Sat, 4 Apr 2020 14:27:35 +0000 (16:27 +0200)] 
Avoid a 404 error related to en.js

6 years agoLint
Raphaël Jakse [Sat, 4 Apr 2020 14:27:18 +0000 (16:27 +0200)] 
Lint

6 years agoKeep alive
Raphaël Jakse [Sat, 4 Apr 2020 14:19:57 +0000 (16:19 +0200)] 
Keep alive

6 years agoSupport server-sent events
Raphaël Jakse [Sat, 4 Apr 2020 14:17:23 +0000 (16:17 +0200)] 
Support server-sent events

6 years agoRefactor: retry polling in a dedicated function
Raphaël Jakse [Sat, 4 Apr 2020 13:39:10 +0000 (15:39 +0200)] 
Refactor: retry polling in a dedicated function

6 years agoStop sending empty arrays, fix sending empty requests
Raphaël Jakse [Sat, 4 Apr 2020 13:37:49 +0000 (15:37 +0200)] 
Stop sending empty arrays, fix sending empty requests

6 years agoRefactor: handle array responses from the server at one place
Raphaël Jakse [Sat, 4 Apr 2020 13:30:01 +0000 (15:30 +0200)] 
Refactor: handle array responses from the server at one place

6 years agoConvert to XHTML
Raphaël Jakse [Sat, 4 Apr 2020 10:46:13 +0000 (12:46 +0200)] 
Convert to XHTML

6 years agobetter handling of xhr requests
Raphaël Jakse [Thu, 2 Apr 2020 17:10:07 +0000 (19:10 +0200)] 
better handling of xhr requests

6 years agofix tile unwanted movement, and offset
Raphaël Jakse [Thu, 2 Apr 2020 17:09:47 +0000 (19:09 +0200)] 
fix tile unwanted movement, and offset

6 years agolint
Raphaël Jakse [Thu, 2 Apr 2020 17:08:52 +0000 (19:08 +0200)] 
lint

6 years agoReduce the polling delay
Raphaël Jakse [Thu, 2 Apr 2020 17:08:18 +0000 (19:08 +0200)] 
Reduce the polling delay

6 years agoUpdate copyright lines
Raphaël Jakse [Thu, 2 Apr 2020 17:07:03 +0000 (19:07 +0200)] 
Update copyright lines

6 years agofix a typo in a displayed string
Raphaël Jakse [Thu, 2 Apr 2020 17:06:04 +0000 (19:06 +0200)] 
fix a typo in a displayed string

10 years agoadd license notice in trivabble.js
Raphaël Jakse [Sun, 3 Apr 2016 15:36:33 +0000 (17:36 +0200)] 
add license notice in trivabble.js

10 years agoAdd language selection, based on tornoz's work
Raphaël Jakse [Sun, 3 Apr 2016 15:23:13 +0000 (17:23 +0200)] 
Add language selection, based on tornoz's work

10 years ago[l10n] add language selector
tornoz [Sat, 19 Mar 2016 12:51:59 +0000 (13:51 +0100)] 
[l10n] add language selector

10 years ago[l10n] Add breton translation
tornoz [Sat, 19 Mar 2016 10:40:58 +0000 (11:40 +0100)] 
[l10n] Add breton translation

10 years agoHere comes the Content
Raphaël Jakse [Sun, 28 Feb 2016 19:23:41 +0000 (20:23 +0100)] 
Here comes the Content

10 years agoInitial commit
Raphaël Jakse [Sun, 28 Feb 2016 19:20:07 +0000 (20:20 +0100)] 
Initial commit