Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.2.4 - large structural & featureset improvements overall (more details in desc) #69

Merged
merged 30 commits into from
Mar 14, 2021

Conversation

cmyui
Copy link
Member

@cmyui cmyui commented Mar 14, 2021

This update was written over the course of a week pretty actively; it features a LOT of new stuff/improvements, namely:

  • 8 new api handlers, along with static api keys (currently only generatable via !get_apikey cmd).
  • correctly handle SIGHUP, SIGTERM, SIGINT, and optionally use SIGUSR1 for restart.
  • support for -devserver on cuttingedge (switcher support still available).
  • mania pp (not yet rolled out to /api/calculate_pp or !recalc).
  • assets.ppy.sh support for custom achievements.
  • basic tourney client support.
  • improved (and less cringe) readme to better get gulag's ethos across.
  • added a Context object for commands (includes trigger, likely to come).
  • use binary for oppai-ng rather than json for output (still going for py bindings in the future).
  • refactor collections to make main.py higher level (w/ basically no overhead).
  • probably more i'm forgetting; many minor improvements around the whole codebase.

i updated our oppai-ng wrapper a bit, so you'll will need to run git submodule update && cd oppai-ng && ./build && cd .. to update & rebuild oppai-ng for the binary output to work, and you'll also most likely have to update cmyui_pkg (pip install -U cmyui) as that's where most of the signal improvements were made.

since i believe this is my largest contribution so far and some sections are rather untested (note #61), there is a pretty large possibility for a few bugs in this release, remember we have a Discord if you're experiencing anything weird :)

@cmyui cmyui merged commit bd1c6d8 into master Mar 14, 2021
@cmyui cmyui deleted the devel branch March 14, 2021 06:02
TrueRou pushed a commit to Pure-Peace/gulag that referenced this pull request Jan 11, 2022
…ails in desc) (osuAkatsuki#69)

* /api/get_replay

* binoppai

* probably broken tourney client support & api cleanup

* mods in /api/get_scores (strong & weak equality)

* more api handlers & cleanup

* add api/get_map_scores & api/get_score_info

* add /api/get_match

* add api keys & PUT /api/set_avatar

* api (tokens -> keys) & fixes

* de-cringe

* add Player.send_bot to match Channel api

* use chimu.moe as default mirror, extra support

* switch to -devserver, fix custom (& ctb) achievements

* better handling for sql update failure & less deps

* add `after_serving` for `cmyui`.Server

* optional server switcher support in nginx (temporary)

* allow for `!recent <player>` syntax

* switcher support [2/2]

* missed /np ppy.sh

* add assets.ppy.sh for switcher support as well

* beatmap ratings (osu-osz2-getscores.php)

* basic mania pp support

* add ssl certificate generation to readme (fixes osuAkatsuki#63)

* add map info to /api/get_player_(scores/status)

* allow for /api/get_player_info?scope=all

* clean up main & collections

* add Context object to commands (contains trigger, likely more to come), add !server

* testing without clans be like

* shutdown properly on sql updater failure & include psutil in reqs

* for now.. lol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant