328 Commits

Author SHA1 Message Date
4fc92cba82 tmp 2025-12-10 22:51:23 +01:00
Claude Brisson
4a4474873e Bump to 0.23 2025-11-30 11:25:46 +01:00
Claude Brisson
dd95c48f0d Fix results display for PAIRGO and RENGO tournaments
For PAIRGO/RENGO, games are team games (w/b are team IDs), not
individual player games. Use pmap (teams map) instead of plmap
(players map) to look up participants.
2025-11-30 11:24:34 +01:00
Claude Brisson
9a379052e5 Add user preference for black vs white display order
- Gear icon in header opens settings modal
- Preference stored in cookie for server-side Velocity rendering
- ViewServlet reads blackFirst cookie into Velocity context
- Velocity conditionals in pairing, results, and result-sheets templates
2025-11-30 10:54:52 +01:00
Claude Brisson
17697845fd Implement avoidSameFamily geographic criterion
When enabled, avoid pairing players from the same club who have
the same family name (surname). Uses existing player.name field.
2025-11-29 22:00:31 +01:00
Claude Brisson
147347fa6e Bump to 0.22 2025-11-29 21:36:52 +01:00
Claude Brisson
617f715923 Fix null teamName in team tournament registration view
Handle case where player is registered but not yet assigned to a team.
2025-11-29 21:31:48 +01:00
Claude Brisson
e063f6c73c Bump to version 0.21 2025-11-29 13:49:20 +01:00
Claude Brisson
4daa707f3e Normalize country code to UK instead of GB
- CountriesTool: use 'uk' key for United Kingdom
- EGFRatingsHandler: keep UK as-is (no conversion to GB)
- Pairable: convert GB to UK (inverse of previous behavior)
2025-11-29 12:30:15 +01:00
Claude Brisson
cbadb4d6bb Fix race condition in player search index synchronization
players array and index are now updated atomically under write lock.
Index is rebuilt every time since it stores array indices into players.
License status propagation also moved inside write lock.
2025-11-29 12:02:36 +01:00
Claude Brisson
67d8428b85 Fix ratings fetch: don't request brotli compression
OkHttp doesn't support brotli decompression. When we explicitly set
Accept-Encoding header, OkHttp disables its transparent decompression.

Solution: remove explicit Accept-Encoding header and let OkHttp handle
compression automatically (it adds gzip and transparently decompresses).

Also simplified the request headers (removed unused Sec-Fetch-* headers).
2025-11-29 11:23:50 +01:00
Claude Brisson
72f5fe540c Revert "Fix ratings fetch: remove brotli Accept-Encoding header"
This reverts commit 935f53cf65.
2025-11-29 11:10:33 +01:00
Claude Brisson
935f53cf65 Fix ratings fetch: remove brotli Accept-Encoding header
OkHttp doesn't support brotli decompression, so when servers return
brotli-compressed content, it was being read as raw binary garbage.
Removed explicit Accept-Encoding to let OkHttp handle compression
(it automatically adds gzip/deflate which it can decompress).

Also removed unnecessary Sec-Fetch-* headers.
2025-11-29 11:08:48 +01:00
Claude Brisson
4113d76904 Fix stale Lucene reader after ratings index rebuild
The reader and searcher were lazily initialized once, so after
rebuild() created a new index, searches still used the old reader
pointing to outdated document IDs. When those IDs were used to
index into the new players array, wrong entries were returned.

Now reader/searcher are refreshed after each build().
2025-11-29 10:21:31 +01:00
Claude Brisson
8ca25ec421 Use nice HTTP headers when querying ratings 2025-11-28 15:35:10 +01:00
Claude Brisson
f2059f7943 Add missing dependency to standalone 2025-08-16 12:21:33 +02:00
Claude Brisson
0cc34a1f84 Do not display pairing action buttons when pairing is empty 2025-07-25 05:19:19 +02:00
Claude Brisson
c3cb5826a3 Explain: fix a color inversion in heat map 2025-07-25 04:59:58 +02:00
Claude Brisson
84ab78c461 Bugfixing explain 2025-07-24 20:38:49 +02:00
Claude Brisson
d47d4fc8cc Beta version of explain page 2025-07-24 19:45:13 +02:00
Claude Brisson
ecec6556d1 Code cleaning: move history helper creation in tournament class, factorize main score function 2025-07-22 19:08:29 +02:00
Claude Brisson
17bb013feb Display individual standings below team standings 2025-06-11 11:03:58 +02:00
Claude Brisson
47c729e61a Team of individuals: initial display of results page ok 2025-06-10 20:52:23 +02:00
Claude Brisson
0ebe3dfbd7 View team on registration page ; review code of constraints on teams updates 2025-06-10 20:52:23 +02:00
Claude Brisson
0ed9bfb5eb Consistency checks on participations changes ; plus some code cleaning 2025-06-10 20:52:23 +02:00
Claude Brisson
169546ae66 Teams of individual players: Teams composition page ok 2025-06-10 20:52:23 +02:00
Claude Brisson
e478a7139e Update changelog and version 2025-05-16 22:30:41 +02:00
Claude Brisson
6a33f234e2 Remove debug log 2025-01-19 19:40:08 +01:00
Claude Brisson
952e22eaf6 Prepare release 0.19 2025-01-19 19:15:34 +01:00
Claude Brisson
7833a1d325 Increment version to 0.18 2024-12-02 14:55:47 +01:00
Claude Brisson
3a974e636a Fix scoreX for swiss 2024-12-02 14:55:07 +01:00
Claude Brisson
101d3e9cc2 Increment version to 0.17 2024-09-29 20:52:15 +02:00
Claude Brisson
9703b0867b Use 'Japanese byo-yomi' rather than 'Standard byo-yomi' everywhere ; fix afferent bug and translations 2024-09-29 20:37:44 +02:00
Claude Brisson
6923707dbe Fix default round 2024-09-05 14:00:49 +02:00
Claude Brisson
b0d0892610 Fix default date format for en_US 2024-09-05 13:44:15 +02:00
Claude Brisson
b4fbc3b49a Prepare 0.16 release 2024-09-05 11:55:05 +02:00
Claude Brisson
6540cead18 Add Brunei (bn) country 2024-09-05 11:53:34 +02:00
Claude Brisson
f2088ddda7 Fix conflict 2024-09-04 08:55:59 +02:00
Quentin RENDU
77b550d66b Merge branch 'master' into 'translations'
# Conflicts:
#   view-webapp/src/main/webapp/WEB-INF/translations/kr
2024-09-03 14:22:22 +00:00
Quentin Rendu
e8943b690e Update kr, fr and de translations 2024-09-03 16:15:18 +02:00
Quentin Rendu
d0c59d03c9 Implement Chimin's proofreading of korean translation 2024-09-03 14:51:39 +02:00
Claude Brisson
5528e07f8e Fix korean translation for randomness parameter 2024-08-30 10:25:34 +02:00
Claude Brisson
a1829d8917 Fix randomness parameter interface (-> none/deterministic/non-deterministic) 2024-08-30 10:13:31 +02:00
Claude Brisson
fe48bfb4b6 Fix rounding option: correct choice is 'round down' or 'no rounding' 2024-08-29 18:37:42 +02:00
Claude Brisson
3d755efa7e Add config options to enable/disable and show/hide egf & ffg ratings; choose ffg defaults after tournament country 2024-08-29 13:56:00 +02:00
Claude Brisson
73edde87fa CSS bugfix 2024-08-29 10:54:22 +02:00
Claude Brisson
4556f22968 Add confirmation before freeze 2024-08-20 15:33:57 +02:00
Claude Brisson
bae30c7465 Implement standings freezing 2024-08-20 11:48:29 +02:00
Claude Brisson
15257028c0 Double-click on result set it back to unknown 2024-08-20 11:12:02 +02:00
Claude Brisson
2ebdae7f24 CSS fix 2024-08-20 10:03:59 +02:00