Repository navigation
Leaderboards: storage, endpoints and portal read (flag off by default) - #104
Merged
Merged
Conversation
…l read, behind leaderboards_enabled (off by default)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloud side of network ADR 0041 (anyplaynet/network#133). Behind
ANYPLAY_CLOUD_LEADERBOARDS_ENABLED, off by default: every score/board route answersforbidden, the portal readsnot_found; the audience setting still works.boards,scores,score_privacy.leaderboards.rs: best-score entries, boards made by the first score (order/bounds/status are data a moderator sets), ranks counted among the entries the viewer may see (ties share a rank), top / around / friends views, one visibility rule (own, friend unless nobody, stranger only if everyone, blocks both ways, bans out)./v1:PUT /me/scores/{title}/{board},GET /boards/{title}/{board}[/around|/friends],GET /titles/{title}/boards,GET|PUT /me/score-privacy; moderators: configure a board, remove and restore an entry.GET /web/api/v1/boards/{title}/{board}and/titles/{title}/boards, read-only, visitors see onlyeveryoneentries.scoresand the audience; rows go with the account.crates/cloud/tests/leaderboards.rs(17 tests: flag off, best score, order as data, tied ranks, audiences, no rank gap for hidden players, friends view, around window, blocks, bounds, closed board, removal/restore, moderator account, limits and rate limit, ban, title list, portal visitor vs member, export and deletion).network.refpoints at the network PR branch head until that PR is merged; I bump it to the merge commit before merging this.Need help on this PR? Tag
@codesmith-botwith what you need.