Commit Graph

203 Commits

Author SHA1 Message Date
claude 6af03923af Accept both array and single-object for manyDecks in client decoder
Build and push CoqDecks / build (push) Successful in 1m43s
Old server sends manyDecks as a single object; new server sends an array.
Accept both so the client works during a rolling upgrade or if the server
is older than the client.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 22:08:22 +00:00
claude fc89da4f2f Fix initial sources.manyDecks value to match List type
Build and push CoqDecks / build (push) Successful in 2m51s
Changed from Nothing (Maybe) to [] (List) to match the updated
Source.Info type that stores manyDecks as a list of instances.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 21:50:43 +00:00
claude b6fca769a3 Fix invalid Elm record pattern in ManyDecks instance picker
Build and push CoqDecks / build (push) Has been cancelled
Elm 0.19 does not support field aliasing in record destructuring patterns
({ field = alias } is not valid syntax). Use a plain argument and access
fields with dot notation instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 21:46:45 +00:00
claude 2c0a43d321 Support multiple ManyDecks instances
Build / Build docker images. (push) Has been cancelled
The ManyDecks source type now carries a baseUrl identifying which
instance a deck belongs to, allowing multiple self-hosted ManyDecks
servers to be configured alongside each other.

Config changes: `sources.manyDecks` is now an array of instances,
each with optional `name`, `baseUrl`, `timeout`, and
`simultaneousConnections`. Existing single-instance configs need to
be wrapped in an array.

When only one instance is configured the deck editor behaves as
before. When multiple instances are configured an instance picker
dropdown appears above the deck code field.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 21:10:33 +00:00
Gareth Latty d3e816eddb Move to using shared material library.
Build / Build docker images. (push) Has been cancelled
2022-06-02 23:07:50 +01:00
Gareth Latty a6035da2e6 Update to new FontAwesome version, add semantic Icon layer for consistency. 2022-05-30 16:16:03 +01:00
Rafa M 08a61e6d6c Proofread entire Spanish language & correct wrong phrases
Completely revamped the Spanish localization. List of major changes:

- The plural function was incorrectly programmed, so many words were displayed grammatically incorrect in the game.
- Many misspelled words (typos) have been corrected.
- The words used have been refined to ensure that they are as understandable as possible.
- A list of Spanish language contributors has been added.
2022-05-30 03:20:09 +01:00
sjk 2a1ad5782d Full Korean translation 2022-05-30 03:20:08 +01:00
Gareth Latty 0af429e55b Move to more modern docker compose setup, fix small bug with ad, update dependencies. 2022-05-30 03:20:01 +01:00
Gareth Latty 9556eec4b6 Bunch of clean-up for more modern standards. 2022-05-20 23:58:40 +01:00
Gareth Latty c5078ad341 Add AtP ad, ad configuration. 2022-05-20 21:11:44 +01:00
Gareth Latty d0c0225cc1 Update dependencies. 2022-05-20 16:56:56 +01:00
Gareth Latty c5f1204dca Update elm dependencies. 2021-11-28 19:14:35 +00:00
Gareth Latty d60fb165ad Update build and add dependabot config. 2021-11-28 18:58:05 +00:00
lhvy 008a450711 Resolve #222: Add Winner's Pick House Rule 2021-11-28 17:07:05 +00:00
Gareth Latty 56047183da Refactor, some minor code cleanup and fixes. 2021-11-28 17:03:11 +00:00
Gareth Latty fe666999f2 Node 17, dockerized development, updated packages. 2021-11-28 16:21:58 +00:00
Gareth Latty ebd6f1aaaf Move from deprecated image labels to modern standard. 2021-11-28 15:36:22 +00:00
Gareth Latty 6d9e185a7e Fix bug with switches not correctly handling input. 2021-10-04 16:27:50 +01:00
Gareth Latty 21fb6aad6b Update dependencies. 2021-09-19 14:11:12 +01:00
Gareth Latty 637cebb043 Move to docker buildx bake for builds, build for arm64. 2021-09-19 13:10:43 +01:00
Gareth Latty 82b9513226 Update dependencies and fix Heroku build. 2021-09-19 13:10:41 +01:00
TheChilliPL de7a09ce5b Translate missing Polish strings
Fix minor mistakes in Polish translation
2021-09-19 13:10:40 +01:00
carlesvimas 651f3d1d91 New language (spanish) 2021-09-19 13:10:25 +01:00
Gareth Latty 6b18d67459 Resolve #213: Fix bug where call isn't sent to clients correctly when not playing with card choices. 2021-01-02 12:44:19 +00:00
Gareth Latty 933d0760fb Update build process a little. 2020-12-31 01:25:27 +00:00
Gareth Latty d3bf724180 Progress on #154: Add custom call support for Czar Choices house rule. 2020-12-31 01:25:27 +00:00
Gareth Latty e7cda7b648 Add quick tab switching for see-also messages in rules. 2020-12-31 01:25:27 +00:00
Gareth Latty 410f49a779 Resolve #72: Czar Choices 2020-12-31 01:25:27 +00:00
Felipe Matheus f5ce909269 Updated Brazilian Portuguese Localization 2020-10-13 11:42:22 +01:00
Gareth Latty df3b057c03 Resolve #193: Use correct string for Happy Ending House Rule about section. 2020-10-12 21:58:44 +01:00
TheChilliPL b69ebedefe Translate Happy Ending House Rule to Polish 2020-10-12 21:26:50 +01:00
Gareth Latty 14a1751452 Roll back to Webpack 4 due to issues with 5 migration. 2020-10-11 15:58:20 +01:00
Gareth Latty 6d8af358ac Add an explanation of why the card was generated to the source. 2020-10-11 14:39:29 +01:00
CookieCoder15 3625f65ed6 Happy Ending House Rule 2020-10-11 14:39:18 +01:00
CookieCoder15 e0ca8d5671 Fix minor issues in Polish translation. 2020-10-11 13:19:13 +01:00
Gareth Latty 6446e90fa8 Fix for updated JSON Against Humanity. 2020-10-11 04:18:35 +01:00
fadila a9a49afd2f Add Indonesian translation. 2020-10-02 20:04:48 +01:00
Gareth Latty adc3060d01 Reformat & minor refactor of Polish L10n, standardisation of attribution. 2020-10-02 19:49:22 +01:00
Chilli 1f5b4ae700 Polish translation. 2020-10-02 19:49:08 +01:00
Gareth Latty 77c4b52305 Add internal per-language context for more complex localization needs. 2020-10-02 19:47:48 +01:00
Gareth Latty a3a62fba2e Resolve some bugs and refactor localizations.
Resolve #167: Correct capitalization on cards
Resolve #169: Fix cast code failing to compile by moving to ES6 for the closure compiler target.
Move to noun and plural set-up which should make localization easier.
2020-09-27 19:08:13 +01:00
Gareth Latty 5d37ea016a Workaround for issue where Firefox can offer excessive numbers of TTS voices causing slowdown. 2020-09-08 19:35:58 +01:00
Gareth Latty 54c4c16a38 Resolve #102: Allow spectators to like plays. 2020-09-06 21:57:47 +01:00
Gareth Latty de7cf37d75 Allow liking plays once the round is complete. 2020-09-06 21:57:40 +01:00
Rene Fuehrer 4670403b60 Add German language localizations. 2020-09-06 21:57:27 +01:00
Gareth Latty 219a5b2baa Resolve #155: Fix bug where discarded cards were left in a player's pick. 2020-06-14 16:48:24 +01:00
Gareth Latty 36c1fe27c8 Move to clamp for scaling font sizes based on screen size. 2020-06-14 16:47:35 +01:00
Gareth Latty 1947cb2b3e Update dependencies. 2020-06-14 16:47:08 +01:00
Gareth Latty d21162a5db Allow for languages we don't know about from decks with a fallback for display. 2020-05-31 15:11:58 +01:00