Commit graph

259 commits

Author SHA1 Message Date
t41y0u
1ecbb5d0f5
Update dependencies (#67)
Some checks are pending
Build and Test / Format check (push) Waiting to run
Build and Test / Lint (push) Waiting to run
Build and Test / Test (push) Waiting to run
Build and Test / Check dependency hash (push) Waiting to run
Build and Test / Build (push) Waiting to run
* Update rust version and dependencies

* Update nix Rust dependencies hash outputs

* Update nixpkgs and friends

---------

Co-authored-by: Natsu Kagami <nki@nkagami.me>
2025-04-01 13:22:08 +00:00
t41y0u
c148dca438 osu: fix check command mods filters 2025-03-31 14:14:33 +02:00
t41y0u
7399008414 osu: fix beatmap links regex for link parser 2025-03-31 14:14:33 +02:00
a36fa87964
osu: Allow returning a full file instead when requesting a table check/leaderboard 2025-03-10 15:51:52 +01:00
f995852a12
osu: don't show oppai-rs attribution if no scores need it 2025-02-25 16:16:53 +01:00
e246eb80e2
osu: limit minigame rank announcement to only top 50 2025-02-25 16:05:00 +01:00
487f8647ba
osu: add passes_only flag to recent command 2025-02-25 15:58:11 +01:00
068dd48550 osu: make save command use interaction 2025-02-22 17:43:53 +01:00
a35563801d
pagination: make editing generic over a CanEdit interface 2025-02-20 22:54:38 +01:00
5fde2f343a
pagination: Directly pass list of interactions to render 2025-02-20 20:07:17 +01:00
8c5135bfc9
Remove loading reactions 2025-02-20 19:46:13 +01:00
d1f3aa5fa9
Change pagination to use interactions instead of reactions 2025-02-20 19:34:14 +01:00
460624c7fe Add beatmapset option to leaderboard command 2025-02-20 18:19:00 +01:00
b302bd3ce1 osu: [Big!] rework load_beatmap so that it can retrieve beatmapsets
Also
- scoreboard can handle beatmapsets now
- "when" column is included
- beatmapWithMode's mode field is now optional
2025-02-20 18:19:00 +01:00
60a72dad85 Just stop the warnings T_T 2025-02-20 18:19:00 +01:00
84b152adf6 osu: add /s/{id} links to the link parser, support beatmapsets with mode override 2025-02-20 18:19:00 +01:00
c28cad0718 osu: small redundancy cleanups 2025-02-20 18:19:00 +01:00
a5fd4f4eab Check matching mod when saving 2025-02-20 18:19:00 +01:00
428ca8861f Keep header in rankings 2025-02-20 18:19:00 +01:00
16cd0fc72a Revert score per page to 5 2025-02-20 18:19:00 +01:00
fd9f3a507d Explicitly install osu as all contexts 2025-02-20 18:19:00 +01:00
aa2ee0cc86 Use latest poise and serenity
Fuck warnings lol
2025-02-20 18:19:00 +01:00
03e37fbebc Add clear_cache command 2025-02-20 18:19:00 +01:00
ba74465ca7 Add leaderboard command 2025-02-20 18:19:00 +01:00
5d9fda682e Add ranks command 2025-02-20 18:19:00 +01:00
3f9db46032 Add check command 2025-02-20 18:19:00 +01:00
0db52c5c2b Allow beatmap command to use just numbers as id 2025-02-20 18:19:00 +01:00
6105ee610f Add beatmap command 2025-02-20 18:19:00 +01:00
711da6fa34 Add pinned command, refactor out listing commands 2025-02-20 18:19:00 +01:00
3034f8e809 Add forcesave command 2025-02-20 18:19:00 +01:00
ecab57f31a Add save command 2025-02-20 18:19:00 +01:00
458a55b3a5 Add recent command 2025-02-20 18:19:00 +01:00
1aa1baf657 Add profile command 2025-02-20 18:19:00 +01:00
257afd28af osu: Add a mention method for user model 2025-02-20 18:19:00 +01:00
d1819d06b2 Implement top 2025-02-20 18:19:00 +01:00
2cdff76837 Set up simple command for osu 2025-02-20 18:19:00 +01:00
51fa34a7bf
osu: Some lazer-related stat reconsideration (#56)
* Split lazer property to its own toggle

* Use lazer stats from API more verbatim in pp calculation

* Update CI to use 1.83

* Set rust-toolchain
2024-12-21 23:05:15 +00:00
0d93d55cee
Update rust and its dependencies 2024-12-21 17:39:48 +01:00
a4fab5438b
Update rosu-pp and rosu-v2 2024-11-18 13:53:25 +01:00
803d718c7a
osu: implement beatmapset and simulate button (#55)
* Prepare a message beforehand for display_beatmapset

* Implement a Beatmapset button

* Always sort top plays by pp

* Show leaderboard for top pp per user/mod only

* Add score simulation

* Store all reaction to be removed later

* Properly handle errors

* Parse beatmap to get placeholders for modal

* Make buttons same color
2024-11-04 17:23:00 +00:00
7d490774e0
osu: make commands aware of user's preferred mode (#54)
* Add preferred_mode to sql database

* Update username and preferred mode

* Make commands aware of preferred mode

* Fetch user extras to display information

* Show user information on forcesave
2024-10-31 13:04:08 +00:00
c5354e30ad
osu: fix 0-based indices 2024-10-12 17:22:33 +02:00
6fbae89dfe
osu: Implement pins (#53)
Also format recent so attempt count is displayed
2024-10-12 15:07:56 +00:00
a8d1d11223
Display DA stats 2024-09-28 14:32:26 +02:00
24e476239c
osu: Always load Me as a follow-up response 2024-09-25 18:30:07 +02:00
76fd6c803d
Update rosu_pp to 1.1, pass full mods to it 2024-09-14 18:08:15 +02:00
735b382102
Drop old homegrown Mods for rosu_v2::Mods, implement rate change support (#52)
* Move mods to intermode wrapper

* Update rust to 1.79

* Move mods from homebrewed impl to rosu

* Display mod details

* Take clock-rate into account when calculating pp

* Allow specifying rate in mods input

* Formatting

* Fix clippy
2024-08-24 21:21:01 +00:00
7565a6e5c5
Properly scale map age to 0.975 2024-08-05 16:04:54 +02:00
26b72d90ef
Implement announcement merging and filter recent events by mode 2024-08-05 13:31:13 +02:00
6458454ba9
Apply manual clippy 2024-08-04 22:47:43 +02:00