Files
g0v0-server/app/tasks/__init__.py
MingxuanGame 8923d714a7 feat(client-verification): add client verification (#104)
New configurations:

- `CHECK_CLIENT_VERSION` enables the check (default=True)
- `CLIENT_VERSION_URLS` contains a chain of valid client hashes. [osu!](https://osu.ppy.sh/home/download) and [osu! GU](https://github.com/GooGuTeam/osu/releases) are valid by default. View [g0v0-client-versions](https://github.com/GooGuTeam/g0v0-client-versions) to learn how to support your own client.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-11 16:30:25 +08:00

31 lines
864 B
Python

# ruff: noqa: F401
from . import (
beatmapset_update,
database_cleanup,
recalculate_banned_beatmap,
recalculate_failed_score,
update_client_version,
)
from .cache import start_cache_tasks, stop_cache_tasks
from .calculate_all_user_rank import calculate_user_rank
from .create_banchobot import create_banchobot
from .daily_challenge import daily_challenge_job, process_daily_challenge_top
from .geoip import init_geoip
from .load_achievements import load_achievements
from .special_statistics import create_custom_ruleset_statistics, create_rx_statistics
__all__ = [
"calculate_user_rank",
"create_banchobot",
"create_custom_ruleset_statistics",
"create_rx_statistics",
"daily_challenge_job",
"init_geoip",
"load_achievements",
"process_daily_challenge_top",
"start_cache_tasks",
"stop_cache_tasks",
]