Commit Graph

31 Commits

Author SHA1 Message Date
Devin Zuczek f871736839 [api] player photo tagging setting
GET/PUT /api/players/v1/playerPhotoTaggingSetting, ported from the reference's
PlayerDB.Get/SetPlayerPhotoTaggingSetting. Backed by the shared player-settings
KV bag (owned by the `playersettings` worker) under a `PlayerPhotoTaggingSetting`
key rather than its own table.

The setting is served as the enum ORDINAL (0 Anyone / 1 Friends / 2 NoOne) — the
reference registers no JsonStringEnumConverter, so the client decodes a number.
Unset reads back 0; the PUT answers a bare true, or false when the body carries
no recognizable setting, as the reference's bool does.

The write merges into the player's settings map and seeds the `playersettings`
defaults when there is none yet, so writing this key can't cost a player the
seeding that worker's first read would have done.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 00:34:54 -04:00
Devin Zuczek 11b037a2f1 more stubs 2026-08-15 13:54:34 -04:00
Devin Zuczek 079c889ccb remove proxies and use native services w/cors 2026-08-05 11:13:15 -04:00
Devin Zuczek 10eb89ac12 (wip) events 2026-08-04 18:44:11 -04:00
Devin Zuczek 23b78104e8 updating api docs 2026-07-22 11:43:30 -04:00
Devin Zuczek 68b98665b2 update api docs 2026-07-22 10:12:50 -04:00
Devin Zuczek df618af435 docs for api 2026-07-21 21:42:14 -04:00
Devin Zuczek a029d0ed67 remove old routes, enable cache for cdn 2026-07-07 17:05:22 -04:00
Devin Zuczek 6a49fa19ac optimize routes 2026-07-07 01:22:05 -04:00
Devin Zuczek 2a95b5ba9b remove old /roomserver/ endpoints 2026-07-07 00:57:16 -04:00
Devin Zuczek baf43bfe31 authentication improvements 2026-07-06 21:08:24 -04:00
Devin Zuczek 3b9d59239e working room saves 2026-07-05 22:55:56 -04:00
Devin Zuczek 7cf380a401 more endpoints 2026-07-05 19:23:06 -04:00
Devin Zuczek bc7e4d718c more image endpoints, rooms 2026-07-05 16:29:56 -04:00
Devin Zuczek f48d78bd5f true matchmaking 2026-07-01 15:16:46 -04:00
Devin Zuczek f35e803267 more routes 2026-07-01 01:03:39 -04:00
Devin Zuczek bf88bcc48f more routes 2026-06-30 22:32:08 -04:00
Devin Zuczek 3a3f96bba6 avatar endpoints 2026-06-30 18:52:37 -04:00
Devin Zuczek 8b42c23764 update some naming conventions 2026-06-30 13:03:46 -04:00
Devin Zuczek 81815ef06c remove hard coded routes 2026-06-29 23:16:42 -04:00
Devin Zuczek 69b89e2dc4 testing generic deploy 2026-06-29 23:16:42 -04:00
Devin Zuczek 0372b997fd pfps 2026-06-19 00:55:31 -04:00
Devin Zuczek 335b4d68ce more endpoints, fix orientation on new accounts 2026-06-15 22:39:24 -04:00
Devin Zuczek 5f3ec3b8c7 add interactions (cheer/faves) 2026-06-15 12:28:26 -04:00
Devin Zuczek 0dbd388249 trying to get rooms up 2026-06-15 00:29:11 -04:00
Devin Zuczek 796442e0cf addd a few more endpoints 2026-06-14 22:37:06 -04:00
Devin Zuczek 2f70eab186 at least we are in the dorm now 2026-06-14 21:32:37 -04:00
Devin Zuczek 768ca2a0a3 add rooms 2026-06-14 18:59:35 -04:00
Devin Zuczek 4d1ea9fe3e add playersettings, img, more match endpoints 2026-06-12 17:15:18 -04:00
Devin Zuczek 4a97e05866 add more endpoints 2026-06-11 02:10:01 -04:00
Devin Zuczek d2170ff7cf almost into a room 2026-06-09 00:49:11 -04:00