osu-tournament-rating / otr-api

API powering osu! Tournament Rating
https://otr.stagec.xyz/
GNU General Public License v3.0
8 stars 5 forks source link

Add Users Controller #228

Closed myssto closed 5 months ago

myssto commented 6 months ago

This should go a long way for adding admin-panel functionality. Includes some logic improvements to the HistoryRepositoryBase. Implementation is complete but needs testing. Will ping for review when that is complete.

Breaking Changes

Additions

Completes Task PATCH endpoint for editing User.Scopes of #191 Closes #205 Closes #119 Closes #113

myssto commented 6 months ago

Updated description to include breaking changes to UserDTO

myssto commented 6 months ago

PR blocked until web reflects changes

hburn7 commented 5 months ago

@AkinariHex See the "Breaking Changes" section in the PR description. Let's get this implemented asap.

myssto commented 5 months ago

Updated description to include breaking changes to UserDTO

Changes to UserDTO are now just renamed fields. UserDTO.Ruleset (Formerly OsuPlayMode) now uses the player's default ruleset instead of always being set to Ruleset.Standard

AkinariHex commented 5 months ago

@myssto does this change the keys on this object? image

I don't see any other endpoints like /me/user or /users/{id} that you mentioned in the PR description

hburn7 commented 5 months ago

@myssto does this change the keys on this object? image

I don't see any other endpoints like /me/user or /users/{id} that you mentioned in the PR description

image is this what you are talking about? This was listed in the original PR note.