Commit Graph

429 Commits

Author SHA1 Message Date
Raphaël Jakse 943d62f482 ignore dictionary files 2020-10-17 08:10:24 +02:00
Raphaël Jakse de5d32d43a Merge branch 'remove_spellckecker_button_if_no_dictionary_avaliable-2' into 'develop'
Avoid display spell checker if there is no dictionary

See merge request raphj/trivabble!20
2020-10-16 19:50:46 +00:00
Raphaël Jakse ba4631e3dd drop ENABLE_SPELL_CHECKER 2020-10-16 18:34:01 +02:00
Laurent Mazet b23f70ea31 fix eslint error 2020-10-16 10:19:47 +02:00
Laurent Mazet 356a2ef7d8 avoid display spell checker if there is no dictionary 2020-10-16 08:05:51 +02:00
Raphaël Jakse 7105d495f7 Merge branch 'fix_ukrainian_tiles' into 'develop'
replace the joker tiles by blank tiles

See merge request raphj/trivabble!18
2020-10-09 22:22:52 +00:00
Laurent Mazet 76d4ecaf36 replace the joker tiles by blank tiles 2020-10-09 22:14:04 +02:00
Raphaël Jakse 10c12f97a4 Document CSP 2020-10-09 00:14:57 +02:00
Raphaël Jakse 1f9e062014 Fix fragile tile position lookup
This code didn't work when Trivabble was served as text/html, which adds
a <tbody> tag in the DOM, while this tag is not added when Trivabble is
served as application/xhtml+xml.
2020-10-08 22:03:56 +02:00
Raphaël Jakse cdd2ca777a Fix settings and unset SpellCheckerEnabledOnce when disabling the spell checker 2020-10-08 18:43:05 +02:00
Raphaël Jakse 6fdfc05437 Lint 2020-10-07 22:02:21 +02:00
Laurent Mazet 82b38df25d correct board design 2020-10-07 22:01:08 +02:00
Raphaël Jakse c5ccb93eef Force declaring the setting types and stop storing them in localStorage 2020-10-07 21:48:30 +02:00
Raphaël Jakse 930fc12939 fix first WebSocket connection 2020-10-07 21:30:04 +02:00
Raphaël Jakse 85b0bd04a0 add a 'disable spell checker' checkbox and rename settings 2020-10-07 20:16:36 +02:00
Laurent Mazet 12cc95b700 Merge branch 'develop' into timer 2020-10-06 11:48:25 +02:00
Raphaël Jakse 06d7d0b117 Fix support for Safari 8+ 2020-10-05 23:47:06 +02:00
Raphaël Jakse cc28f3683e Fix the empty rack button 2020-10-05 23:46:47 +02:00
Raphaël Jakse 10c8868742 Lint 2020-10-05 21:38:34 +02:00
Raphaël Jakse 289d879781 Improve the settings dialog
- Presentation a bit clearer.
- closing with escape now uses an event handler on window instead of body.
  Chromium didn't like the latter.
- Improve the keyboard navigation
2020-10-05 21:35:02 +02:00
Raphaël Jakse f77cf3197e Remove the "enable spell checker" checkbox
I don't really see a use case requiring disabling the spell checker if available.
People can just not use it. The dictionary is downloaded on first use anyway.
We do want people to discover the feature with the presence of the related button
by default, however.
2020-10-05 20:54:33 +02:00
Raphaël Jakse 2fd1b2672c branding - thanks Ysabeau for the logo 2020-10-05 20:42:31 +02:00
Raphaël Jakse 4c840fff52 hack: prevent error messages from resizing the chat box 2020-10-03 12:33:24 +02:00
Raphaël Jakse 191fc7c69e get rid of inline styles 2020-10-03 12:27:16 +02:00
Raphaël Jakse 02e8d3f6a5 Various improvements
- soften buttons a bit
- align the lang settings
- ensure paddings are okay at various places
- make the escape key close various dialogs
- make some settings even more flexible (for the admin sys)
- do not save the new value of a setting if its value is already equal to this.

- change the default flash light color
2020-10-03 11:18:24 +02:00
Raphaël Jakse 26b2c9d206 Merge branch 'lmazet/trivabble-help_message' into develop 2020-10-03 10:07:43 +02:00
Laurent Mazet 68d00c4839 change width box for help message to auto 2020-09-28 22:35:52 +02:00
Laurent Mazet 8ff7a80b33 Merge branch 'develop' into timer 2020-09-28 22:28:45 +02:00
Raphaël Jakse b6eaba6d21 Work on the presentation of the tip help box 2020-09-28 20:40:49 +02:00
Raphaël Jakse 8fbc589ffe Merge branch 'minimize_localstorage' into 'develop'
Minimize localstorage

See merge request raphj/trivabble!14
2020-09-28 16:03:29 +00:00
Raphaël Jakse 6878bebcd4 Merge branch 'doc-nginx' into 'develop'
Documentation for nginx

See merge request raphj/trivabble!12
2020-09-28 16:03:03 +00:00
Laurent Mazet 40a8961622 add a button to change message 2020-09-22 19:02:14 +02:00
Laurent Mazet 96b2721a0d help message delay is configurable 2020-09-15 22:55:38 +02:00
Laurent Mazet 5a4eda81f0 help messages change every 10s 2020-09-15 22:53:04 +02:00
Laurent Mazet c899147c78 clean help messages 2020-09-15 22:52:36 +02:00
Raphaël Jakse 0e19459687 readme: add wget in the section regarding the dictionaries 2020-09-15 08:09:07 +02:00
Laurent Mazet 373877be35 migrate all settings 2020-09-14 07:54:40 +02:00
Laurent Mazet 7466a91def fix type checking 2020-09-13 22:57:48 +02:00
Laurent Mazet 6ebcc0284d correct eslint errors 2020-09-13 22:46:43 +02:00
Laurent Mazet 549b176ac9 remove duplicated function 2020-09-13 22:39:31 +02:00
Laurent Mazet 830da2b15c migrate old settings for tiles and messages sound enablers 2020-09-13 22:38:40 +02:00
Laurent Mazet db81c3e00c add default values for tiles and messages sound enablers 2020-09-13 22:37:33 +02:00
Laurent Mazet aee069d6f8 correct boolean type 2020-09-13 22:09:16 +02:00
Laurent Mazet 94a76b3f5c Apply 1 suggestion(s) to 1 file(s) 2020-09-13 10:00:32 +00:00
Laurent Mazet 677724b76c avoid string true for boolean variable 2020-09-13 11:39:40 +02:00
Laurent Mazet 754e1770a5 remove support for bigint 2020-09-13 11:36:49 +02:00
Laurent Mazet ae9c2a7da3 use setting functions 2020-09-10 08:04:40 +02:00
Laurent Mazet 9f499f11b3 reindent configuration default values 2020-09-10 08:04:11 +02:00
Laurent Mazet 92329580b2 correct setting functions 2020-09-10 08:03:45 +02:00
Laurent Mazet 64c1ebff0c new functions getSetting and setSetting 2020-09-09 07:32:48 +02:00