Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

0.13.0#15

Merged
Weever1337 merged 68 commits intomainfrom
dev
Sep 21, 2025
Merged

0.13.0#15
Weever1337 merged 68 commits intomainfrom
dev

Conversation

@Weever1337
Copy link
Collaborator

Weever1337 and others added 30 commits August 28, 2025 19:07
feat(config): parse redis url from env
…in code). Now it's:

1. Caching video/photo for 24 hours
2. Works fine (except photos). But maybe we will do *loading message*
3. We should to parse thumbnail of video, photo (or download it and give to user?)
fix(whisper): generate unique hash for every recipient to avoid RESULT_ID_DUPLICATE error

chore(redis): add dead-code attributes to unused functions
Weever1337 and others added 26 commits September 13, 2025 13:31
chore(core/db): remove old SettingsRepo trait
….. 😪

CHANGES:

---
Settings:
feat(bot/modules): implement ModuleManager, add a basic trait for implementing custom modules
feat(bot/modules): implement Currency and Cobalt modules
feat(commands/settings): add a handler for the `/settings` command

---
Core:

feat(paginator): update the paginator to build a clean paginator (without any items) and build one with existing items; apply changes from clippy
feat(dispatcher): organize imports
feat(util/enums, bot/commander): remove old currency settings enumerations
feat(chat): update the registration process for new groups and when the user has unblocked the bot
chore(core/config/json): organize imports

---
speech recognition:

chore(core/services/speech_recognition): move Speech Recognition / Paraphase functions to the core/services folder

chore(core/services/speech_recognition): `transcription_handler` now requires a reference to `teloxide.types.Message` instead of ownership (cloning) it

chore(commands/speech_recognition): use let...else construct to unwrap Message type instead of classic if-else

+ clippy, organizing imports

---
whisper:
chore(callbacks/whisper): some refactoring + add TODOs
chore(inlines/whisper): accept clippy changes

---
currency conversion:
chore(core/services/currencier): organize imports
feat(inlines/currency): check if the currency converter is enabled by the user
feat(services/currency): check if the currency converter is enabled for the group
chore(util/currency_values): move from core/services/currency to src/util folder
feat(messager): check if currency converter module is enabled for user/group before processing

---
Cobalt:

feat(keyboards/cobalt): move cobalt settings pagination to the src/modules folder; build a photo-like keyboard using Paginator impl (from paginator.rs)
chore(callbacks/cobalt_pagination): accept clippy changes + organize imports
feat(inlines/cobalter): check if the module is enabled by the user
chore(cobalt): move the main cobalt implementations to the core/services folder

and other changes, such as moving all (perhaps) keyboards to the new pagination system and a LOT OF CLIPPY changes (changes)

*Finished this commit with a song "Korn - Get Up!"*
not perfect, but I think this better than old "enabled_for"
# Conflicts:
#	src/bot/messager.rs
#	src/config.rs
#	src/handlers/messages/chat.rs
#	src/loader.rs
#	src/util/mod.rs
@Weever1337 Weever1337 merged commit 8dd3489 into main Sep 21, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants