Commit Graph

24 Commits

Author SHA1 Message Date
026f9c8bd8 Further the login process
* Matchmaking login locks (created and checked only in memory for now)
* Profile reputation temporary implementation
* Profiles now no longer initialize if a user with the same username is found
* vrMovementMode in presence is now required, falls back to 'Teleport'
* Progression implementation began
* API routes: Settings, player subscriptions, reputation, progression
* cropSquare in image query is not a boolean, rather a number representing a boolean
* Hile reporting uses forms, not json
* Presence heartbeat and logout
* Socket changes: Close event listener (destroy), send message function, targets further started
2025-03-29 23:09:40 -04:00
1af0206b6a Removed unused 'ws' module 2025-03-29 02:00:59 -04:00
6aae9129b5 That's a spicy meatball
* APIUtils additions
* Socket and web server listen on dedicated ports (see denoland/deno socket issue created by ZombieB1309 on GitHub)
* Coach and Server created automatically (untested)
* Profile content functions split into 'managers'
* Progression temporary implementation
* Settings placed into profile content manager
* Relationships and messages return temporary empty array
* Socket targets defined, message delivery to target, exec returned (goes unused for now)
2025-03-29 01:59:28 -04:00
6b97e3800a fix IncomingMessage import 2025-03-27 23:14:31 -04:00
492129df17 * Unified profiles, rather than instantiating profiles every time we want to access one
* Socket and live instance changes
* Possible problem with Deno's handling of sockets, compatibility issue with Node?
2025-03-27 20:00:17 -04:00
dd7d929918 Message for myself later when I need to debug this
* undefined access error when setting a profile's socket handler
* Create a unified access API for profiles, rather than instantiating profiles everywhere - this should fix all sync issues, ever
2025-03-27 00:47:48 -04:00
c920dbe88a Many changes. Commit before I break down.
- Authentication middleware uses Zod
- PhotonRegionId in config
- DB key changes and additions
- WebSocket for SignalR mock
- Presence additions
  * Needs modification for playerIds (do not store `Profile` in a set, this will cause sync issues)
- Profile settings
- Profile Device Class
- Zod properly checks for issuer in token
- Room scene type bug
- Setting key import started
- Instancing changes
- PlayerReporting API route
- Deduplicated auth/connect/token
- match/player/login begin
- WebSocket hands off connection to SignalR handler
2025-03-27 00:44:58 -04:00
3538321487 fix the webhook icon 😭 2025-03-25 23:09:12 -04:00
e2ae95f6a3 give myself something to do tomorrow
Matchmaking base
2025-03-25 23:08:28 -04:00
474e4ddfef this is a commit 2025-03-25 22:58:50 -04:00
463e3ef71b Replace legacy checkBodyType with Zod
Start matchmaking integration
Start rooms API
Move existing room scene locations to roomtypes file
Auth checkExpired util for client refreshing
2025-03-25 21:54:08 -04:00
de3d653446 Instancing (currently unused) 2025-03-25 00:42:27 -04:00
ad73736517 removed codegen script, cleaned profile class 2025-03-24 21:55:17 -04:00
616f5dd619 Basic live service:
- Matchmaking
- Instance
- Presence (albeit empty atm)

Authentication fixes; differentiate between user and profile
Default auth timeout is now 3 hours
Add "operators" database key ("all users with operator permissions", or "developer" role set in token), add check in `Profile`
Fix default profile image filename reference when not set
account/me
Log hile reporting, do stuff with the report later ("Server" user for commands, operators can check reports)
Refresh login done by client automatically when token expires, requires extra work
2025-03-24 21:50:22 -04:00
31f9cfdc1a ensure image is square before transit 2025-03-24 19:31:11 -04:00
2b59daa21f Linux fix for base image paths
Rename comsumable to consumable
2025-03-24 19:21:02 -04:00
49c481aa0e Embed base images into binary
Include resource directory
Ran `deno fmt` with 4 space indent, that changed every file (!!!!!)
various changes
2025-03-24 19:11:36 -04:00
2207e389c9 god help me 2025-03-22 22:16:27 -04:00
6cdd0946f4 Removed web project (galvanic authentication support in IL2CPP universal patch)
Moved instance ID to header
User instances for profile management
.. other stuff
2025-03-22 21:57:45 -04:00
f48720f992 remove web project (diff repo), authentication for user and profile, config cleanup, new database keys, turnstile captcha support, user and profile classes, nameserver changes, user routes, web is now on fs 2025-03-08 17:11:38 -05:00
73e9b72ad4 User stuff, config structure changes, web panel start, versioncheck fix, api start, recaptcha support for web panel 2025-02-08 21:19:25 -05:00
bc3443b1dc I can't be bothered to even explain what happene here 2025-02-07 23:18:04 -05:00
d982567c7b Base utilities, add README, Redis, Discord integration, db keygroup planning 2024-11-18 07:31:25 -05:00
ab5907355d Initial commit 2024-11-12 23:37:34 -05:00