Commit graph

480 commits

Author SHA1 Message Date
4a2f81c3d3
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:07:56 +01:00
08e80fb816
Just stop the warnings T_T 2025-02-20 14:35:02 +01:00
1d06ef81f9
osu: add /s/{id} links to the link parser, support beatmapsets with mode override 2025-02-20 14:34:49 +01:00
cc35c2e4e5
osu: small redundancy cleanups 2025-02-15 17:02:17 +01:00
2f49f09a27
Check matching mod when saving 2025-01-16 19:12:06 +01:00
dde4a722a0
Keep header in rankings 2025-01-03 15:01:36 +01:00
cc0746b33b
Revert score per page to 5 2025-01-03 14:53:53 +01:00
d77ada6710
Explicitly install osu as all contexts 2025-01-03 14:10:55 +01:00
87c285659c
Use latest poise and serenity
Fuck warnings lol
2025-01-03 13:36:26 +01:00
8be40db1ae
Merge branch 'master' into osu-commands 2025-01-03 13:25:32 +01:00
83f112d6fb
Set substituters to extra in flake 2025-01-03 13:25:19 +01:00
125bad04da
Add tracing 2025-01-03 13:17:31 +01:00
07bea1544f
Add clear_cache command 2024-12-31 09:06:13 +01:00
a5d34f4dc7
Add leaderboard command 2024-12-31 09:01:03 +01:00
14efbcf16f
Add ranks command 2024-12-31 08:02:45 +01:00
5d034000a7
Add check command 2024-12-31 06:43:44 +01:00
08d140e8df
Allow beatmap command to use just numbers as id 2024-12-31 05:23:54 +01:00
cd0e3be0ef
Add beatmap command 2024-12-31 05:14:54 +01:00
959bffcf74
Add pinned command, refactor out listing commands 2024-12-31 03:45:31 +01:00
6169eaee10
Add forcesave command 2024-12-31 03:35:10 +01:00
e2cbb6d10e
Add save command 2024-12-31 03:22:08 +01:00
73ead8d50a
Add recent command 2024-12-31 02:48:36 +01:00
8a8faae44c
Add profile command 2024-12-31 02:38:43 +01:00
6176c205d9
osu: Add a mention method for user model 2024-12-31 02:38:32 +01:00
8c4d8715f7
Implement top 2024-12-31 02:02:03 +01:00
b76597e594
Set up simple command for osu 2024-12-31 01:18:22 +01:00
7d65a9de6a
Use a common Rust version for overlay and package 2024-12-23 15:53:38 +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
1ba5cdf6f7
Require rust overlay in overlay 2024-08-24 23:29:46 +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
e77930c8db
Properly implement member cache 2024-08-05 13:41:08 +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
b9f6fa7fb8
Apply automatic clippy 2024-08-04 22:40:46 +02:00
054a7d5862 Set compiler in CI to 1.78 2024-08-04 20:39:57 +00:00
8b40d8a56b Apply pp limit to server ranks 2024-08-04 20:39:57 +00:00
8e90006eb9 Add map_age display in ranks and user card 2024-08-04 20:39:57 +00:00
4909f6ea27 Properly format ranks table 2024-08-04 20:39:57 +00:00
5c523009e1 Avoid updating users when the user id itself changed 2024-08-04 20:39:57 +00:00
fad84b9420 Force cascade on delete of osu_user 2024-08-04 20:39:57 +00:00