trivabble.git
6 years agosort select element depending of interface language
Laurent Mazet [Wed, 6 May 2020 10:32:14 +0000 (12:32 +0200)] 
sort select element depending of interface language

6 years agocorrect select control position if user cancel the change
Laurent Mazet [Tue, 5 May 2020 23:19:01 +0000 (01:19 +0200)] 
correct select control position if user cancel the change

6 years agoadd new strings in the pot file and translated them for French in the po file
Laurent Mazet [Tue, 5 May 2020 23:15:45 +0000 (01:15 +0200)] 
add new strings in the pot file and translated them for French in the po file

6 years agouse select control instead of multiple buttons
Laurent Mazet [Tue, 5 May 2020 21:44:20 +0000 (23:44 +0200)] 
use select control instead of multiple buttons

6 years agofixes from MR comments
Laurent Mazet [Tue, 5 May 2020 06:30:39 +0000 (08:30 +0200)] 
fixes from MR comments

6 years agoboard language setting is now per game
Laurent Mazet [Mon, 4 May 2020 21:27:36 +0000 (23:27 +0200)] 
board language setting is now per game

6 years agoadd German, English and Spanish pieces
Laurent Mazet [Sun, 3 May 2020 22:28:33 +0000 (00:28 +0200)] 
add German, English and Spanish pieces

6 years agoFix running serving files in the dev server - 2
Raphaël Jakse [Sun, 3 May 2020 12:50:06 +0000 (14:50 +0200)] 
Fix running serving files in the dev server - 2

6 years agoFix running serving files in the dev server
Raphaël Jakse [Sun, 3 May 2020 12:46:51 +0000 (14:46 +0200)] 
Fix running serving files in the dev server

6 years agoFix running the server from the Makefile
Raphaël Jakse [Sun, 3 May 2020 12:35:33 +0000 (14:35 +0200)] 
Fix running the server from the Makefile

6 years agoMerge branch 'lmazet/trivabble-avoid_serving_git_file'
Raphaël Jakse [Sun, 3 May 2020 11:43:52 +0000 (13:43 +0200)] 
Merge branch 'lmazet/trivabble-avoid_serving_git_file'

6 years agoFix scripts in bin/ to work with the public folder
Raphaël Jakse [Sun, 3 May 2020 11:06:52 +0000 (13:06 +0200)] 
Fix scripts in bin/ to work with the public folder

6 years agoMakefile: use start-dev-server instead of start-dbg-server
Raphaël Jakse [Sun, 3 May 2020 11:02:56 +0000 (13:02 +0200)] 
Makefile: use start-dev-server instead of start-dbg-server

6 years agoUse node instead of nodejs
Raphaël Jakse [Sun, 3 May 2020 09:38:09 +0000 (11:38 +0200)] 
Use node instead of nodejs

6 years agoRestablish the Makefile in the l10n folder
Raphaël Jakse [Sun, 3 May 2020 09:37:40 +0000 (11:37 +0200)] 
Restablish the Makefile in the l10n folder

6 years agorename server-data to public
Laurent Mazet [Fri, 1 May 2020 20:16:29 +0000 (22:16 +0200)] 
rename server-data to public

6 years agomove traduction files out of server data directory
Laurent Mazet [Fri, 1 May 2020 20:08:34 +0000 (22:08 +0200)] 
move traduction files out of server data directory

6 years agoClient: always set the rack when the rack was changed
Raphaël Jakse [Fri, 1 May 2020 17:20:03 +0000 (19:20 +0200)] 
Client: always set the rack when the rack was changed

6 years agoClient: always set the rack when moving a tile to the board
Raphaël Jakse [Fri, 1 May 2020 16:58:56 +0000 (18:58 +0200)] 
Client: always set the rack when moving a tile to the board

6 years agoServer: disallow moving from an empty location
Raphaël Jakse [Fri, 1 May 2020 16:51:13 +0000 (18:51 +0200)] 
Server: disallow moving from an empty location

6 years agoAdd the AGPLv3 LICENSE file
Raphaël Jakse [Fri, 1 May 2020 09:58:50 +0000 (09:58 +0000)] 
Add the AGPLv3 LICENSE file

6 years agoRemove unused hammer.min.js
Raphaël Jakse [Fri, 1 May 2020 09:57:28 +0000 (11:57 +0200)] 
Remove unused hammer.min.js

6 years agoStyle the add score button
Raphaël Jakse [Fri, 1 May 2020 09:10:53 +0000 (11:10 +0200)] 
Style the add score button

6 years agoMinor fix to the translation strings
Raphaël Jakse [Fri, 1 May 2020 09:10:19 +0000 (11:10 +0200)] 
Minor fix to the translation strings

6 years agoAdd a button to add the turn score
Nicolas Cornu [Thu, 30 Apr 2020 22:49:50 +0000 (00:49 +0200)] 
Add a button to add the turn score

6 years agomove all served file into a dedicated directory
Laurent Mazet [Wed, 29 Apr 2020 21:19:17 +0000 (23:19 +0200)] 
move all served file into a dedicated directory

6 years agoAllow setting the path to the games backup in the server
Laurent Mazet [Wed, 29 Apr 2020 06:15:32 +0000 (08:15 +0200)] 
Allow setting the path to the games backup in the server

6 years agoFix the empty rack button
Raphaël Jakse [Tue, 28 Apr 2020 21:49:33 +0000 (23:49 +0200)] 
Fix the empty rack button

6 years agoLint
Raphaël Jakse [Tue, 28 Apr 2020 17:29:36 +0000 (19:29 +0200)] 
Lint

6 years agoBlock actions until responses are received with WebSockets
Raphaël Jakse [Tue, 28 Apr 2020 17:29:15 +0000 (19:29 +0200)] 
Block actions until responses are received with WebSockets

6 years agoAnnounce the server version
Raphaël Jakse [Tue, 28 Apr 2020 17:27:37 +0000 (19:27 +0200)] 
Announce the server version

6 years agoServer: add an id field in replies if present in commands
Raphaël Jakse [Tue, 28 Apr 2020 17:25:16 +0000 (19:25 +0200)] 
Server: add an id field in replies if present in commands

6 years agoLint
Raphaël Jakse [Mon, 27 Apr 2020 17:57:45 +0000 (19:57 +0200)] 
Lint

6 years agoMerge branch 'artlog:master' into 'master'
Raphaël Jakse [Mon, 27 Apr 2020 17:44:49 +0000 (17:44 +0000)] 
Merge branch 'artlog:master' into 'master'

Make the URL used to reach the server configurable (APP_PATH)

See merge request raphj/trivabble!1

6 years agoMake the URL used to reach the server configurable (APP_PATH)
philippe lhardy [Mon, 27 Apr 2020 17:44:49 +0000 (17:44 +0000)] 
Make the URL used to reach the server configurable (APP_PATH)

6 years agoLinting
Raphaël Jakse [Sat, 25 Apr 2020 21:16:34 +0000 (23:16 +0200)] 
Linting

6 years agoAvoid resetting the player's rack from the server
Raphaël Jakse [Sat, 25 Apr 2020 21:14:27 +0000 (23:14 +0200)] 
Avoid resetting the player's rack from the server

I have hope that this commit solves one case when letters can disappear because
of network slowdowns

6 years agoHandle empty bag correctly
Raphaël Jakse [Sat, 25 Apr 2020 20:15:16 +0000 (22:15 +0200)] 
Handle empty bag correctly

6 years agodon't hide content on small screens in non-Firefox browsers
Raphaël Jakse [Sat, 25 Apr 2020 15:06:27 +0000 (17:06 +0200)] 
don't hide content on small screens in non-Firefox browsers

6 years agoDon't hide content on small screens
Raphaël Jakse [Sat, 25 Apr 2020 14:45:10 +0000 (16:45 +0200)] 
Don't hide content on small screens

6 years agomake tiles non translatable
Raphaël Jakse [Sat, 25 Apr 2020 14:10:55 +0000 (16:10 +0200)] 
make tiles non translatable

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