Commit Graph

6566 Commits

Author SHA1 Message Date
Inkorest
ebd0008d69
Complete localization and sync with official translations (#3153) 2026-06-12 17:12:04 +03:00
Kalle
2f6c62e51f Patch 11.2 2026-06-12 17:08:41 +03:00
Simsomsim
506d1c0bd1
badge: add badge for Clammaker (#3123)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-11 22:09:12 +03:00
Cafy
ab7184e279
badge: add badge for Shopping Spree (#3122) 2026-06-11 22:08:52 +03:00
Name
9ac405b10b
badge: add badge for Dorito Bag of Acceptance (#3141) 2026-06-11 22:08:38 +03:00
Kalle
e3e8b9979e Bump Biome 2026-06-11 22:06:20 +03:00
Great-Hero-YELLOW
02b302ae0b
Stronghold Article "SWS Recap GG1 Finals" (#3120) 2026-06-11 22:01:23 +03:00
Great-Hero-YELLOW
b515257eac
Stronghold Article: "SWS26 Recap: GG2 Q2" (#3147) 2026-06-11 22:01:08 +03:00
Great-Hero-YELLOW
1ea45cc436
Stronghold Article "NA League 2026 Event 9 Regular Season 7" (#3146) 2026-06-11 22:01:00 +03:00
Great-Hero-YELLOW
44c95458e5
Stronghold Article "SWS26 Recap: GG2 Q1 SQ S11 Finale" (#3145) 2026-06-11 22:00:50 +03:00
Kalle
f33d4ded53 League division tournament sub text styling 2026-06-11 21:52:49 +03:00
Kalle
f09a4f347e Fix tournament name overflow on mobile 2026-06-11 21:39:46 +03:00
Kalle
21ae633699 Fix mobile bottom nav bg color 2026-06-11 21:39:46 +03:00
Kalle
8ccff04259 Install PWA prompt on the front page
Closes #2988
2026-06-11 21:39:46 +03:00
Kalle
e064dfb4e7 Consider also tournament matches for leaderboard weapon usage 2026-06-11 21:39:46 +03:00
Kalle
5a80c0a7fa Several smaller match page fixes and tweaks (notably, fix timer) 2026-06-11 21:28:35 +03:00
Kalle
544fe4f66c Chat misc fixes 2026-06-11 21:27:38 +03:00
Kalle
6e987d506f
Tournament layout refresh, improve admin experience (#3152)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-11 18:31:10 +03:00
Kalle
d7caf1245b Add EMPTY_CHARACTERS
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-11 07:53:42 +03:00
Kalle
630ce13f90 Top nav menu hover preview/quick access 2026-06-11 07:53:42 +03:00
Kalle
94f7d0a288 Fix E2E tests 2026-06-11 07:53:17 +03:00
Kalle
da9d648023 Regenerate DB seeds 2026-06-11 07:06:52 +03:00
Kalle
2b652eb8e6 Increase user bio length limit
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-10 22:23:32 +03:00
Kalle
f2f42c828e Optimize user search by introducing fts5 index 2026-06-10 21:59:32 +03:00
Kalle
a88f33c225 ReportedWeaponRepository, BadgeRepository and UserRepository perf optimizations 2026-06-10 21:59:31 +03:00
Kalle
e8672092af Optimize leaderboard related queries 2026-06-10 21:59:31 +03:00
Kalle
2d2bfa92c1 Adjust SQLite pragma settings for performance 2026-06-10 21:59:31 +03:00
Kalle
f8319a2f96 Fix image form field rejecting uploads on browsers without canvas webp encoding
The SendouForm image field compresses the picked file client-side with
Compressor.js requesting "image/webp" output, which uses canvas.toBlob
under the hood. Per the HTML spec, browsers that can't encode the
requested type silently fall back to PNG instead of erroring (Safari /
all iOS browsers, Brave with fingerprint protection, older Android
WebViews). The resulting "data:image/png;base64," data URL rendered a
working preview but failed the zod schema's webp prefix check, showing
the user a bare "Invalid input" error with no way to upload.

Accept the png fallback in the schema and detect the actual format from
magic bytes on the server, storing the file with the matching extension
instead of always ".webp".
2026-06-10 21:45:42 +03:00
Kalle
cc0f027c26 Fix mode starvation when generating map list with a positional pattern 2026-06-10 21:11:39 +03:00
Kalle
5465e3c22b Remove dead code 2026-06-10 19:59:34 +03:00
Kalle
0299c76caa Fix shows teams as placed before SE 3rd place match is played 2026-06-10 19:59:27 +03:00
Kalle
e06f7177dd Fix more various small bugs
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-09 21:52:26 +03:00
Kalle
734c6128d3 Exclude "orpan" images from user unvalidated images count 2026-06-09 20:00:14 +03:00
Kalle
be0940b5bc Fix supporter checked for unvalidated images count 2026-06-09 19:50:37 +03:00
Kalle
6a3ec6a654 Various small bug fixes
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-08 22:04:43 +03:00
Kalle
9c7d15fd88 Add staleWhileRevalidate to leaderboard caches 2026-06-08 17:31:52 +03:00
Kalle
f21f2f7d76 Rewrite orderedUserMMRBySeason as window function to avoid 12s plan
The max(id) self-join let the query planner pick a nested-loop plan when
it misjudged a season's row count (e.g. a freshly started season whose
stats are dwarfed by older seasons), making the query take ~12s on the
current season. The window-function form references Skill once and is
plan-stable regardless of stats. Output is identical.
2026-06-08 17:25:01 +03:00
Kalle
76654c87bd Fix removeMarkdown stripping inline link text
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-07 22:02:33 +03:00
Kalle
945544153a Fix lonely page number display at pagination edges
On the first page the mobile window was currentPage ± 1, i.e. {0, 1, 2}.
The 0 clamped away leaving only page 2 before a jump straight to the
last page, so page 1 of 8 rendered as "1 2 ... 8" with no bridging
number (and the last page had the same issue mirrored).

Nudge the window inward by one when the current page is the very first
or last page so these render "1 2 3 ... 8" / "1 ... 6 7 8" instead.
2026-06-07 21:34:21 +03:00
Kalle
8001f3111f Update AGENTS.md 2026-06-07 19:51:45 +03:00
Kalle
91baeb003b Fix tournament teams page sub badge contrast off
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Closes #3119
2026-06-06 16:08:40 +03:00
Kalle
50b3290eea XSearch player page division/mode icons reserve space
Closes #3134
2026-06-06 16:01:11 +03:00
Kalle
dd900c89a6 Add aspect-ratio to team page avatar 2026-06-06 15:30:50 +03:00
Kalle
c4c0b6dd50 Migrate repository functions to use user id via ALS
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-06 14:56:43 +03:00
Kalle
68b2313660 Placements suffix refactor, fix English shown when JP language selected 2026-06-06 11:55:23 +03:00
Kalle
739e6f440b Add moderation note and autoValidate to image form field
Show a note under non-autoValidate image fields that uploads are
moderated before going public. Move autoValidate to a per-field schema
property (org logo only) driving both the action logic and the note.
Preview pending images on the team edit page while keeping them hidden
on the public page.
2026-06-06 10:56:52 +03:00
Kalle
9c5f61c0f2 Tweak team menu button styling 2026-06-06 10:52:55 +03:00
Kalle
3f458cda34 Migrate edit org page to the new image SendouForm field component 2026-06-06 10:01:16 +03:00
Kalle
29ffd0e07c Fix light mode illegible text for new tournament badge adder
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Closes #3125
2026-06-04 21:25:51 +03:00
Kalle
57cc53d1d7 Fix Plus Server suggestion long text overflows
Closes #3133
2026-06-04 21:12:41 +03:00