5235efdd2e
Merge pull request #30 from AlexHelo/feat/time-range-filter
...
feat: add time range filter for Mii discovery
2026-04-22 11:35:23 +01:00
e1885fd8fe
fix: database error part 2
2026-04-19 20:49:53 +01:00
777a135577
fix: database error
2026-04-19 18:51:58 +01:00
28bbaa52f1
fix: better like count
2026-04-19 18:47:11 +01:00
79b19f4807
Merge pull request #31 from NigelWD/performanceHelp
...
Performance: ISR, query dedup, rate-limit and image cache improvements
2026-04-17 13:46:22 +01:00
NigelWD
7a018c077f
performancehelp
...
Changes
- src/app/mii/[id]/page.tsx — enable ISR (revalidate = 300), dedupe the two Prisma findUnique calls via React cache(), and remove auth() from the
render path so Cloudflare can cache the HTML.
- src/lib/rate-limit.ts — add a handleByIp() variant that skips the DB session lookup for anonymous reads.
- src/app/mii/[id]/image/route.ts — use handleByIp() and bump Cache-Control max-age from 60s to 24h for mii / qr-code / features (kept 60s on gallery
imageN since those aren't in your edit purge list).
- src/app/api/submit/route.ts — pin the Mii studio fetch hostname to studio.mii.nintendo.com (SSRF hardening).
- src/lib/auth.ts — reject Google sign-ins with email_verified: false.
Performance boost
- DB queries per Mii page + its images: ~8 → ~1 (−85%)
- /mii/[id] TTFB at the edge: ~24s → <100ms on cached hits
- Cloudflare cache window for stable image types: 60s → 24h (1440× longer)
2026-04-16 22:09:52 -04:00
7f52773bd9
fix: build errors AGAIN
...
aefusuhgurg
2026-04-17 01:19:21 +01:00
0c2dcf3192
fix: build errors
2026-04-17 01:14:58 +01:00
b66fbd305a
temp disable likes
2026-04-17 01:11:49 +01:00
AlexHelo
8df69bcd79
feat: add time range filter for Mii discovery
2026-04-16 18:00:49 -06:00
c72dab1962
refactor: remove random sort
2026-04-17 00:54:13 +01:00
8ebc480233
feat: prisma migration
2026-04-17 00:44:26 +01:00
b00ce4dc3b
Merge pull request #28 from AlexHelo/fix/cloudflare-caching-and-query-performance
...
Fix Cloudflare RSC caching bug and reduce database load
2026-04-17 00:39:44 +01:00
AlexHelo
8615a4d864
Fix Cloudflare RSC caching bug and reduce database load
2026-04-16 17:28:37 -06:00
df6e31ba89
feat: remove countdown
...
also discord, unsure what to do about it
2026-04-15 23:14:41 +01:00
e500cefcc2
feat: remove sentry
2026-04-13 20:39:32 +01:00
144240e278
fix: cache control on index page?
2026-04-13 20:13:04 +01:00
3a5243fa3e
chore: update packages
2026-04-11 18:38:31 +01:00
30c9562ed8
fix: hair style bug
2026-04-11 18:30:52 +01:00
68fa74add2
fix: github auth broke
2026-04-10 20:48:12 +01:00
8673eb17e9
fix: use <div> instead of <form> in submit and edit pages
...
the buttons refresh the page and it's annoying to keep writing
type="button"
2026-04-10 12:21:46 +01:00
trafficlunar
94140e74f9
fix: temp youtube fix for 3ds
2026-04-10 03:37:55 +01:00
0e2df242d0
feat: formatted links in descriptions
2026-04-09 15:50:46 +01:00
913f0ef65a
fix: can't edit custom images properly
...
also cleanup
2026-04-09 15:01:25 +01:00
a5080f1b2e
feat: show positive/negative sign on most instructions
2026-04-09 12:58:38 +01:00
41876cbe73
fix: tone not working
2026-04-09 12:56:13 +01:00
ed70596619
fix: youtubeId should be null not empty on submit form
2026-04-09 12:51:33 +01:00
903f36f1ee
fix: edit form youtubeId errors
2026-04-09 12:44:13 +01:00
ca2117c4a3
feat: improved edit form error messages
2026-04-08 23:57:57 +01:00
fb4cad1296
feat: merge pull request #23 from LandonAndEmma/main
...
Feat: Add Better Sliders
2026-04-08 23:57:24 +01:00
cbbe7887b8
feat: improve instructions formatting
2026-04-08 23:54:05 +01:00
7913ccf34d
fix: youtube video is OPTIONAL ( #24 )
2026-04-08 23:03:12 +01:00
Landon & Emma
a9dcb21c20
Feat: Add Better Sliders
...
Fix #19
2026-04-08 10:59:44 -04:00
ab4b42c5b4
fix: don't show queued and quarantined miis on /random
2026-04-08 13:08:53 +01:00
d947f09112
feat: youtube video instructions
...
also the repo is public again
2026-04-08 11:29:59 +01:00
94389ddc8f
feat: fc7374e9 part 2, nevermind refreshing sucks
2026-04-07 19:18:30 +01:00
fc7374e9b0
feat: better admin queue ui
2026-04-07 16:22:37 +01:00
f70a03abf2
fix: zero showing on submit form when no miis in queue
2026-04-06 16:50:00 +01:00
99beabd385
feat: better notices for queued miis
2026-04-06 16:46:56 +01:00
0671bcbfba
fix: black background bug
2026-04-06 16:22:36 +01:00
a79d668cdd
fix: remove random zeros in instructions
2026-04-06 16:10:07 +01:00
7ad5d1a775
fix: mii color picker inaccuracy
2026-04-06 15:36:41 +01:00
3cf511e157
feat: delete mii modal improvements for non-desktops
2026-04-06 15:36:41 +01:00
c45c51fa31
fix: input range thumb off center
2026-04-06 15:36:41 +01:00
14c992a9ce
feat: clearer selected personalities
2026-04-06 15:36:41 +01:00
307aefa894
feat: remove copyright report type, private repo changes, fix instructions not removing booleans
2026-04-06 00:14:24 +01:00
949e86111a
fix: voice and personality issues
2026-04-05 21:45:57 +01:00
trafficlunar
d11f32eefb
fix: don’t send edited miis with same images part 2
2026-04-04 13:08:48 +01:00
4a5126c87b
fix: edit mii image is sending when not changed
2026-04-02 22:12:41 +01:00
f30f12d086
feat: editing miis should be sent to queue
2026-04-02 20:47:56 +01:00