* add lang filter option to message endpoints
* add lang filter option to frontend_users endpoints
* move lang param before api_client
Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com>
* add keyset pagination for user ordered by username or display_name
* add index on display-name for user table
* update down_revision in migration script
* Add endpoint to resolve frontend user by auth method and username
* Require client ID for frontend user lookup
* Remove unnecessary if check
* Fix PromptRepository -> UserRepository
* Convert to protocol User
* Move User prep
* Address review comments
* 404 -> HTTP_404_NOT_FOUND
* Extract classes UserRepository and TaskRepository from PromptRepository
* move close_task() to TaskRepository and get_user_leaderboard to UserRepository()
* Use UserRepository in leaderboards endpoint, add type annotation to leaderboards endpoint