summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Raphaël Jakse [Tue, 28 Apr 2020 17:29:15 +0000 (19:29 +0200)]
Block actions until responses are received with WebSockets
Raphaël Jakse [Tue, 28 Apr 2020 17:27:37 +0000 (19:27 +0200)]
Announce the server version
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
Raphaël Jakse [Mon, 27 Apr 2020 17:57:45 +0000 (19:57 +0200)]
Lint
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
philippe lhardy [Mon, 27 Apr 2020 17:44:49 +0000 (17:44 +0000)]
Make the URL used to reach the server configurable (APP_PATH)
Raphaël Jakse [Sat, 25 Apr 2020 21:16:34 +0000 (23:16 +0200)]
Linting
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
Raphaël Jakse [Sat, 25 Apr 2020 20:15:16 +0000 (22:15 +0200)]
Handle empty bag correctly
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
Raphaël Jakse [Sat, 25 Apr 2020 14:45:10 +0000 (16:45 +0200)]
Don't hide content on small screens
Raphaël Jakse [Sat, 25 Apr 2020 14:10:55 +0000 (16:10 +0200)]
make tiles non translatable
Raphaël Jakse [Wed, 22 Apr 2020 21:26:45 +0000 (23:26 +0200)]
fix: the disappearing letter is gone
Raphaël Jakse [Tue, 21 Apr 2020 16:42:59 +0000 (18:42 +0200)]
Remove extraneous quote in the config.js.sample file
Raphaël Jakse [Sun, 19 Apr 2020 10:48:24 +0000 (12:48 +0200)]
Bump client version
Raphaël Jakse [Sun, 19 Apr 2020 10:43:24 +0000 (12:43 +0200)]
Correctly handle jockers and missing tiles when showing the rack
Raphaël Jakse [Sun, 19 Apr 2020 10:23:39 +0000 (12:23 +0200)]
Allow players to show their rack
Raphaël Jakse [Sun, 19 Apr 2020 09:07:44 +0000 (11:07 +0200)]
Center the game
Raphaël Jakse [Sun, 19 Apr 2020 08:48:21 +0000 (10:48 +0200)]
Keep the production configuration when upgrading
Raphaël Jakse [Sun, 19 Apr 2020 08:46:53 +0000 (10:46 +0200)]
Support for current player
Raphaël Jakse [Thu, 16 Apr 2020 07:43:30 +0000 (09:43 +0200)]
Case-insensitive check for Upgrade: WebSocket
Raphaël Jakse [Wed, 15 Apr 2020 22:28:15 +0000 (00:28 +0200)]
Remove information about the bag being suffled
Raphaël Jakse [Wed, 15 Apr 2020 20:27:08 +0000 (22:27 +0200)]
Fix git status check when upgrading the production
Raphaël Jakse [Wed, 15 Apr 2020 20:17:23 +0000 (22:17 +0200)]
Set those executable bits in the bin folder
Raphaël Jakse [Wed, 15 Apr 2020 20:15:03 +0000 (22:15 +0200)]
Allow configuring the client
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
Raphaël Jakse [Wed, 15 Apr 2020 19:24:58 +0000 (21:24 +0200)]
Lint
Raphaël Jakse [Wed, 15 Apr 2020 19:24:40 +0000 (21:24 +0200)]
Set the language of the document
Raphaël Jakse [Tue, 14 Apr 2020 22:43:41 +0000 (00:43 +0200)]
Avoid restarting the connection when leaving the game
Raphaël Jakse [Tue, 14 Apr 2020 22:36:09 +0000 (00:36 +0200)]
Ensure we close active connections when opening another - second trial
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
Raphaël Jakse [Mon, 13 Apr 2020 19:18:40 +0000 (21:18 +0200)]
Strengthen WebSocket error handling
Raphaël Jakse [Mon, 13 Apr 2020 09:36:22 +0000 (11:36 +0200)]
Block WebSockets if we see that they don't work
Raphaël Jakse [Mon, 13 Apr 2020 08:32:51 +0000 (10:32 +0200)]
Add scripts to deploy to production
Raphaël Jakse [Mon, 13 Apr 2020 08:25:30 +0000 (10:25 +0200)]
Don't force :trivabble in sse and ws URLs
Raphaël Jakse [Sun, 12 Apr 2020 18:14:40 +0000 (20:14 +0200)]
Enable WebSockets in the client
Raphaël Jakse [Sun, 12 Apr 2020 18:14:39 +0000 (20:14 +0200)]
Support for WebSockets in the 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
Raphaël Jakse [Sun, 12 Apr 2020 18:14:36 +0000 (20:14 +0200)]
Support special chat messages on the server
Raphaël Jakse [Sun, 12 Apr 2020 18:14:36 +0000 (20:14 +0200)]
Stop sending all player information to everyone on many actions
Raphaël Jakse [Sun, 12 Apr 2020 18:14:35 +0000 (20:14 +0200)]
Lint
Raphaël Jakse [Sun, 12 Apr 2020 18:14:22 +0000 (20:14 +0200)]
Disable Node's server default timeout
Raphaël Jakse [Sun, 12 Apr 2020 18:14:20 +0000 (20:14 +0200)]
Stop using inline scripts breaking with some CSP setups
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.
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
Raphaël Jakse [Sun, 12 Apr 2020 18:14:16 +0000 (20:14 +0200)]
Lint
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
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.
Raphaël Jakse [Sun, 12 Apr 2020 18:14:14 +0000 (20:14 +0200)]
Better handling of touchscreens
Raphaël Jakse [Sun, 5 Apr 2020 20:00:07 +0000 (22:00 +0200)]
More defensively save games when closing
Raphaël Jakse [Sun, 5 Apr 2020 19:05:48 +0000 (21:05 +0200)]
Add more error handling in the server
Raphaël Jakse [Sun, 5 Apr 2020 18:57:13 +0000 (20:57 +0200)]
Linting: allow nested ternaries
Raphaël Jakse [Sun, 5 Apr 2020 16:16:45 +0000 (18:16 +0200)]
Use Array.isArray instead of instanceof Array
Raphaël Jakse [Sun, 5 Apr 2020 16:13:13 +0000 (18:13 +0200)]
fix stopped game count when stopping the server
Raphaël Jakse [Sun, 5 Apr 2020 13:49:48 +0000 (15:49 +0200)]
Linting: let it be
Raphaël Jakse [Sun, 5 Apr 2020 12:59:28 +0000 (14:59 +0200)]
Refactor: simplify the part handling EventSource
Raphaël Jakse [Sun, 5 Apr 2020 10:54:59 +0000 (12:54 +0200)]
l10n - fix line ending in fr.po
Raphaël Jakse [Sun, 5 Apr 2020 10:51:47 +0000 (12:51 +0200)]
Allow to gracefully stop the server
Raphaël Jakse [Sun, 5 Apr 2020 10:51:18 +0000 (12:51 +0200)]
Gracefully handle connection loss and inform the user
Raphaël Jakse [Sun, 5 Apr 2020 10:50:18 +0000 (12:50 +0200)]
l10n - Add the mandatory callback to fs.close
Raphaël Jakse [Sun, 5 Apr 2020 10:36:58 +0000 (12:36 +0200)]
Handle chat messages in a dedicated fonction
Raphaël Jakse [Sun, 5 Apr 2020 10:34:30 +0000 (12:34 +0200)]
Linting
Raphaël Jakse [Sun, 5 Apr 2020 10:32:31 +0000 (12:32 +0200)]
fix game unconditionally being reset
Raphaël Jakse [Sun, 5 Apr 2020 08:35:53 +0000 (10:35 +0200)]
command joinGame is not needed anymore
Raphaël Jakse [Sun, 5 Apr 2020 08:30:04 +0000 (10:30 +0200)]
Better error handling of connection loss
Raphaël Jakse [Sun, 5 Apr 2020 08:25:52 +0000 (10:25 +0200)]
Add a way to ask the client to reload
Raphaël Jakse [Sun, 5 Apr 2020 08:24:14 +0000 (10:24 +0200)]
Throw the fatal exception instead of logging it
Raphaël Jakse [Sun, 5 Apr 2020 08:22:07 +0000 (10:22 +0200)]
Handle JSON errors in a separate function
Raphaël Jakse [Sun, 5 Apr 2020 08:18:56 +0000 (10:18 +0200)]
l10n: use node instead of nodejs
Raphaël Jakse [Sun, 5 Apr 2020 08:18:30 +0000 (10:18 +0200)]
l10n: translate a forgotten string
Raphaël Jakse [Sun, 5 Apr 2020 08:12:37 +0000 (10:12 +0200)]
Linting
Raphaël Jakse [Sat, 4 Apr 2020 16:08:28 +0000 (18:08 +0200)]
Linting
Raphaël Jakse [Sat, 4 Apr 2020 15:19:28 +0000 (17:19 +0200)]
Indent a switch statement
Raphaël Jakse [Sat, 4 Apr 2020 14:57:44 +0000 (16:57 +0200)]
Introduce a flag for debug logging
Raphaël Jakse [Sat, 4 Apr 2020 14:51:45 +0000 (16:51 +0200)]
Store when a game was last updated
Raphaël Jakse [Sat, 4 Apr 2020 14:27:35 +0000 (16:27 +0200)]
Avoid a 404 error related to en.js
Raphaël Jakse [Sat, 4 Apr 2020 14:27:18 +0000 (16:27 +0200)]
Lint
Raphaël Jakse [Sat, 4 Apr 2020 14:19:57 +0000 (16:19 +0200)]
Keep alive
Raphaël Jakse [Sat, 4 Apr 2020 14:17:23 +0000 (16:17 +0200)]
Support server-sent events
Raphaël Jakse [Sat, 4 Apr 2020 13:39:10 +0000 (15:39 +0200)]
Refactor: retry polling in a dedicated function
Raphaël Jakse [Sat, 4 Apr 2020 13:37:49 +0000 (15:37 +0200)]
Stop sending empty arrays, fix sending empty requests
Raphaël Jakse [Sat, 4 Apr 2020 13:30:01 +0000 (15:30 +0200)]
Refactor: handle array responses from the server at one place
Raphaël Jakse [Sat, 4 Apr 2020 10:46:13 +0000 (12:46 +0200)]
Convert to XHTML
Raphaël Jakse [Thu, 2 Apr 2020 17:10:07 +0000 (19:10 +0200)]
better handling of xhr requests
Raphaël Jakse [Thu, 2 Apr 2020 17:09:47 +0000 (19:09 +0200)]
fix tile unwanted movement, and offset
Raphaël Jakse [Thu, 2 Apr 2020 17:08:52 +0000 (19:08 +0200)]
lint
Raphaël Jakse [Thu, 2 Apr 2020 17:08:18 +0000 (19:08 +0200)]
Reduce the polling delay
Raphaël Jakse [Thu, 2 Apr 2020 17:07:03 +0000 (19:07 +0200)]
Update copyright lines
Raphaël Jakse [Thu, 2 Apr 2020 17:06:04 +0000 (19:06 +0200)]
fix a typo in a displayed string
Raphaël Jakse [Sun, 3 Apr 2016 15:36:33 +0000 (17:36 +0200)]
add license notice in trivabble.js
Raphaël Jakse [Sun, 3 Apr 2016 15:23:13 +0000 (17:23 +0200)]
Add language selection, based on tornoz's work
tornoz [Sat, 19 Mar 2016 12:51:59 +0000 (13:51 +0100)]
[l10n] add language selector
tornoz [Sat, 19 Mar 2016 10:40:58 +0000 (11:40 +0100)]
[l10n] Add breton translation
Raphaël Jakse [Sun, 28 Feb 2016 19:23:41 +0000 (20:23 +0100)]
Here comes the Content
Raphaël Jakse [Sun, 28 Feb 2016 19:20:07 +0000 (20:20 +0100)]
Initial commit