Commit graph

168 commits

Author SHA1 Message Date
bad6b83399
Emergency fix: stop youmu from deleting all accounts on ratelimited 2021-03-31 00:26:12 +09:00
68142c6236
Fix get_info_with not taking mods into account 2021-02-17 05:26:16 +09:00
abc0fc5f73 Save on not calculating pp in beatmap info 2021-02-17 05:12:49 +09:00
35634550dd Show fail percent 2021-02-17 05:12:49 +09:00
e2766cd782 Handle failures and record chewing 2021-02-17 05:12:49 +09:00
3a89c009da
Use more accurate accuracy from 100s and 50s 2021-02-04 16:31:43 +09:00
99d59b3548
Sort beatmaps by a preliminary order 2021-02-02 02:29:49 +09:00
bd845d9662
More osu improvements (#11)
* Don't show DT when NC is on

* Allow leading + in mods parsing

* Extend Pagination

* Implement beatmapset display

* Move OkPrint to prelude

* Beatmapset display seems to work

* Put reaction handler into static

* Make clippy happy

* Add beatmapset caching and last --set

* Delay loading of beatmap info

* Simplify hook link handling

* Replies everywhere!

* Replies everywhereee!
2021-02-01 17:13:40 +00:00
61a71b819c
Fix concurrency overwrite 2021-01-23 18:48:56 +09:00
f05afb2b80
Improve osu (#10)
* Add rank event parsing

* Refactor osu announcer

* Increase api limits

* Register user is locked
2021-01-22 12:54:01 +00:00
145cb01bd0
Split user and announcer osu clients 2021-01-22 14:08:15 +09:00
8d4c3e01d8
Sort by score and oppai pp 2020-12-01 03:56:14 -05:00
a728119fbe
Add combo into ranks 2020-12-01 02:28:00 -05:00
6bf2779d61
osu updatelb command (#8)
* Make `paginate` take a Paginate trait impl, while `paginate_fn` takes a function

* Add `updatelb` command

* Implement a member cache

* Update member queries to use member cache

* Allow everyone to updatelb
2020-11-23 07:26:18 +00:00
229e6a911f
osu: Run score scan for sender of leaderboard 2020-09-14 22:56:11 -04:00
0fd5379446
Send announcements not as part of scanning 2020-09-14 22:33:23 -04:00
bc888e816b
Merge remote-tracking branch 'origin/master' into async-youmu 2020-09-13 23:28:16 -04:00
d32cb6da1d
osu: Fix compile errors 2020-09-13 22:57:57 -04:00
dca732e52e
osu: add ratelimit to oppai_cache, fix deadlock 2020-09-13 22:26:19 -04:00
ce0349859c
osu: Server leaderboard command (#6)
* New db stores user best by beatmap id

* `check` command saves into the database

* Add leaderboard command

* Update youmubot-osu/src/discord/server_rank.rs

Swap ordering
2020-09-13 00:55:36 -04:00
cf7eb60195
osu: add loading indicator 2020-09-08 00:00:06 -04:00
acc1b92002
osu: Optimize top! and hook 2020-09-07 20:07:41 -04:00
238e44a64c
Prelude/Main: rework hook system 2020-09-07 19:41:59 -04:00
b776a1d26e
osu: Fix commands 2020-09-07 19:01:21 -04:00
421cfd46af
osu: Fix caches 2020-09-07 19:01:08 -04:00
c18d8f48d0
osu: Asyncify announcer 2020-09-07 16:19:00 -04:00
bfe12d3946
osu: Asyncify oppai cache 2020-09-07 14:31:45 -04:00
da2997d8f9
osu: Streamify hook 2020-09-07 14:16:13 -04:00
26074ae257
osu: Fix cache 2020-09-07 14:12:49 -04:00
07a8bc5579
WIP: osu: asyncify caches 2020-09-06 22:09:56 -04:00
d57c02ddf5
top_record is 1-indexed... 2020-08-10 00:06:48 -04:00
c6e8bfc43e
Lots of tweaks to the osu! embeds (#4)
* Simplify beatmap embed information

* Shrink embeds!!

* Put ranked status on information

* Paint the user embed!

* Add gained pp

* Use more carefully crafted hooks

* 'JSformat' the bpm float
2020-08-10 03:37:11 +00:00
10ba2dda1d
Overhaul reaction handler to a thread spawning model (#2)
* Overhaul reaction handler to a thread spawning model

* Remove limits for mods on voting and community buckets
2020-07-06 13:26:34 -04:00
51d60037fb
Save top record beatmap to channel cache 2020-06-18 23:40:15 -04:00
264272c9cf
Tweak pp if-fc (again...) 2020-06-18 14:35:09 -04:00
1c59873a8f
Tweak pp if-fc 2020-06-18 14:23:55 -04:00
fde913ebc4
Add bpm to beatmap quick information 2020-06-18 14:19:43 -04:00
cfd848767d
Match more osu! play mode strings 2020-06-14 21:45:16 -04:00
cafa65581c
Add short link references in embeds 2020-06-14 21:43:13 -04:00
5656d96ce1
Re-format score embed 2020-06-14 20:03:42 -04:00
eba1bb324c
Handle score_embed 2020-06-14 19:51:26 -04:00
33f19dbaba
Handle cs/od/ar/hp with mods 2020-06-14 18:44:06 -04:00
cbb1e14d93
Implement predicted pp 2020-06-14 00:10:07 -04:00
9f54ca3a1a
Align the ranks table 2020-06-13 23:44:04 -04:00
00971d7d3e
Implement beatmap metadata caching 2020-06-13 23:29:13 -04:00
20571d35de
Show actual stars for oppai-enabled maps 2020-06-13 22:19:05 -04:00
c43f9067b8
Hooks and last works 2020-06-12 02:44:56 -04:00
9aab6e11ec
Implement BeatmapCache and Oppai interface 2020-06-12 01:03:56 -04:00
eec58fc6e4
Parallelize and modularize user scanning 2020-06-06 21:53:23 -04:00
c5b304e3f6 Fix wrong osu! gamemode in storage (#20) 2020-05-31 04:05:19 +00:00