Commit Graph

32 Commits

Author SHA1 Message Date
d88aa47287 test actions workflow
Some checks failed
Galvanic Corrosion Cross-Compile / build (push) Failing after 2m49s
might not work 😭
2025-04-13 05:24:12 +00:00
3b6d905180 Still figuring out initial matchmaking hang (FROSTBITE). Lots of other changes.
- Added missing room images
- Removed internal rooms and disallow cloning some rooms
- License fixes
- Switched target to 20200306
- Socket header fixes
- Sockets are closed upon shutdown
    * Sockets persist after being destroyed, fix
- Config changes for 20200306
- Settings initialized
- Name generation words cannot be longer than 9 characters
- Dorm generation changes and fixes
- Added some settings keys
- Matchmaking additions
    * Instances are not yet updated to be or not to be in-progress
- Instance fixes and logging
- Image operation fixes
- DisplayName route start
- Challenge route start
- Default Amplitude key (i can see althe Amplitude requests are ignored
- Rate limiting ease
- GameConfigs properly queried and sent
- Many 'bulk' endpoints were added in or around 20200306
- Objective routes started
- DormRoom redirection in v2/name
- Client doesn't care if it gets 200 when setting prefs
- Balance/storefronts started
- Matchmaking goto/room timer and fixes
- Selfhosted Photon addition on the client sends matchmaking /photonregionpings, ignore since Photon is only one server in one region
2025-04-13 01:06:23 -04:00
1cfd0426dd FLINT AND STEEL!!!! THE NETHER!!!!!! RELEASE!!!!!!!!!
* Account bio support (fetch only route right now)
* Room cloning fixes
    - Dorm Room cloning is still broken
* Instance changing fixes
* Presence: VRMovementMode and StatusVisibility updates automatically
* Routes for the above two properties
* Settings can take numbers, too (enums)
* No microtransations in my game (parental controls)
* A whole lotta routes for various unfinished but planned features
    - Equipment
    - Consumables
    - Objectives
    - Checklist (orientation rewards)
    - Objectives (three daily tasks)
    - Image metadata
    - Community Board
    - Player Events
    - Storefronts
* Matchmaking instance querying
    - Empty instances are not yet cleared
* Avatar items, saved avatars, save current avatar routes
* No loading screen tips for now
* Send presence at an interval over the socket
    - Error FROSTBITE is reported in the game logs during bootup sometimes. Maybe due to the lack of ping messages?
* Socket push notifications

Note to self: Set up deno compilation in runners on gitea
2025-04-02 23:56:18 -04:00
bcee414004 Rooms and matchmaking debugging
* Dorm is not properly cloned (fix this)
* Basic matchmaking implementation
* Goto route
* Goto DormRoom
2025-04-02 14:10:01 -04:00
27b3754330 Rooms and matchmaking
* Added missing config (route) data
* Fetch room class, database hash
* Basic room querying
* Built-in room generation during first runtime
* Matchmaking response base and notes for myself, later today
* Instance fixes
* Challenge and quick play routes
(unused for now)
* Rooms route (untested)
* Matchmaking goto route
* Avatar route addition
* Settings/set route
2025-04-02 00:27:10 -04:00
e9830dcb19 LICENSE fixes 2025-03-31 01:54:16 -04:00
638c0fbf1f Changes (/shrug)
* Added middleware timer for performance debugging
* Relationships and avatar database keys
* CDN
* Profiles are SelfAccounts in most cases, rather than Accounts
* Simplified profile content management
* Progression fixes
* Relationships (favorites not yet implemented)
* Relationship backend
* Relationship and avatar routes
2025-03-31 01:48:46 -04:00
639e809a20 Further login process
* APIUtils addition: query validation
* Coach and Server accounts are now properly created if they do not exist
* Profiles now cannot be IDs 1 or 2 (reservedIds)
* Fixed profile username exists bug
* Added relationship manager
* Started relationship management
* DeviceClass and VRMovementMode enum defaults for reserved profiles
* Presence update simplification
* Progression fixes
* Relationship query and object fixes
* Base configuration is now rate limited
* Progression route no longer requires authentication, instead is rate limited
* Base relationships with reserved profiles (Coach and Server)
* DeviceClass required for login
* Get presence route
* Socket route no longer logs
* Socket target base finished
2025-03-30 19:29:57 -04:00
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