100 Commits
Author SHA1 Message Date
West ed9328a9a1 fix(store): oboobs model deserialization, log media service errors 2025-08-22 19:54:53 +03:00
Andriy f58aa494bc feat(store): job application 2025-07-22 22:07:23 +03:00
West cf4569d413 refactor: 12-hour roll cooldown 2025-06-27 22:36:52 +03:00
West 690da74459 fix(debug_tools): /dump json encoding & field naming 2025-05-19 13:25:06 +03:00
West 2a68657e01 chore(sticker_tools): bump imagesharp 2025-05-19 13:14:21 +03:00
Andriy 5ad7b7d453 refactor(ban): use ctors with def values to ban\unban 2025-03-23 12:03:26 +02:00
Andriy 71fa49ad52 chore: bump TBF version 2025-03-23 12:01:39 +02:00
AndriyandGitHub 673aa21356 Merge pull request #37 from Bubuni-Team/feature/dep-updates-0225
Dependency updates
2025-03-23 11:44:47 +02:00
Andriy acaf615f30 style: add missing comment Telegram.Bot Api 2025-03-23 11:33:19 +02:00
Andriy 1da8dce0f7 fix: unban 2025-03-23 11:32:03 +02:00
Andriy 2b41746f64 chore: replace local project dep with nuget package 2025-02-24 15:52:30 +02:00
Andriy eb1d4ff14e fix: provide correct serializer options for update deserializer 2025-02-10 00:48:16 +02:00
Andriy ce8358d1ad fix: add build option to simplify local testing 2025-02-10 00:47:19 +02:00
Andriy 2e6368d123 chore: ignore .DotSettings.user 2025-02-10 00:40:04 +02:00
Andriy 1436911d2d fix: add json property names, class -> record 2025-02-09 19:15:27 +02:00
Andriy 0649359c12 fix(store): message markup 2025-02-09 19:07:50 +02:00
Andriy 226a15cb1e fix(store): incorrect method call (SendVideo -> SendPhoto) 2025-02-09 19:06:41 +02:00
Andriy 50774e1af6 fix: remove another bunch of obsolete method calls 2025-02-09 17:50:46 +02:00
Andriy c3a553f68d fix: build and lots of obsolete warnings 2025-02-09 17:41:13 +02:00
Andriy 8917a8ba5f chore: drop unused modules
These two are making lots of problems during update process: the `ChatQuotes` one was never operational and the `Destiny2.WhereIsXur` became obsolete, since Xur was granted his permanent place on the Tower
2025-02-09 15:47:57 +02:00
Andriy a0203f2bf6 fix(entertainment): golang regexp
yeah, again
2024-11-11 14:23:13 +02:00
Andriy 5b97911e18 fix(entertainment): golang regexp, add golang to /cooldowns output 2024-10-06 22:34:14 +03:00
West b6fae7d637 feat(entertainment): golang trigger 2024-08-28 23:49:09 +03:00
West 9497d36890 feat(rss): catch exceptions in DoFetch 2024-08-04 21:43:30 +03:00
Andriy 7e41fc93fc feat(store): code cleanup, make some fund with "unlucky" members 2023-12-22 21:43:01 +02:00
Andriy d32b976e1a fix(core): incorrect time handling in AutoDelete 2023-12-13 00:34:43 +02:00
Andriy aa072e246c feat(entertainment): use CSPRNG in /guess & /roll 2023-12-13 00:34:23 +02:00
Andriy aa0d1c1cc1 feat(entertainment): more verbose /rng_test 2023-12-13 00:23:56 +02:00
Andriy da063464f2 feat(debug-tools): syntax highlighting, ability to call without reply 2023-11-13 00:21:15 +02:00
Andriy f991998ec4 fix(cm): greeting markup 2023-11-03 20:54:52 +02:00
Andriy 5d7eb810b0 chore(core): update framework version 2023-11-01 20:47:14 +02:00
Andriy 8ab067a027 Use file-scoped namespaces 2023-07-29 15:14:52 +03:00
Andriy a24332370d Code cleanup 2023-07-29 15:03:45 +03:00
Andriy 5e4183acfa [reputation] drop dbg_migrate command 2023-07-29 13:51:35 +03:00
Andriy 69bbafac75 [store] drop unused /nsfw command 2023-07-29 13:49:31 +03:00
AndriyandGitHub ed9e0deb22 Merge pull request #36 from Bubuni-Team/feature/bot-framework-2.0
Update to Telegram Bot Framework 2.0
2023-07-29 13:25:03 +03:00
Andriy 0677060429 Update to Telegram Bot Framework 2.0 2023-07-29 01:50:28 +03:00
AndriyandGitHub 5d06529c92 Merge pull request #35 from Bubuni-Team/refactor/http-client-factory
Use HTTP client factory where possible
2023-07-29 00:32:51 +03:00
Andriy 2a37b27bb4 [store] other use default client factory 2023-07-28 23:14:36 +03:00
Andriy 42509dcacd [core] client factory for SomeRandomApi 2023-07-28 23:14:05 +03:00
Andriy c19696b360 [store] kitties now have own http client factory 2023-07-28 22:57:20 +03:00
Andriy 462f3c9836 [store] categorize store services 2023-07-28 20:04:05 +03:00
Andriy d2e564cec6 [cas] use http client factory 2023-07-28 19:41:21 +03:00
Andriy 7aed09c87c [cas] use file-scoped namespaces 2023-07-28 19:34:28 +03:00
Andriy c8951aad45 [ci] rename workflow & add cache 2023-07-28 19:24:04 +03:00
Andriy 04b793b942 [ci] replace deprecated set-output with env file 2023-07-28 19:18:50 +03:00
Andriy bfe42afc3e [ci] update actions versions 2023-07-28 19:13:45 +03:00
AndriyandGitHub cbabf96688 Merge pull request #34 from Bubuni-Team/feature/codewatcher/options-and-upload
[code-watcher] Options and auto-upload
2023-07-28 18:40:16 +03:00
Andriy 8071863037 [core] Reduce chunk to fit option title into button 2023-07-28 17:22:28 +03:00
Andriy 5471b412d9 [code-watcher] Add CodeWatcherMode option.
There are three option values:
- Disabled: module does nothing (wow).
- Remove: module removes matching messages and sends temporary message
          to instruct user what to do.
- Upload: module uploads detected code to configured Haste Server.
2023-07-28 16:53:01 +03:00
Andriy 1d313d5271 [store] shorten animbbos title, reorder items 2023-07-23 12:17:45 +03:00
Andriy 79106ad47d [core] show choice short name in option button 2023-07-21 19:50:48 +03:00
AndriyandGitHub 7d3145a9e8 Merge pull request #33 from Bubuni-Team/feature/core/chat-options
[core] New fancy option system
2023-07-21 19:29:54 +03:00
Andriy d3b6da0ebd [core] this class shouldn't be here 2023-07-21 19:27:58 +03:00
Andriy 4893c1240d [store] Make store use AllowNSFW option 2023-07-21 18:40:24 +03:00
Andriy 613ac5ae22 [reputation] KarmaMode now actually changes smth 2023-07-21 18:39:38 +03:00
Andriy 864f6d0f57 [core] add IServiceCollection extension for option registration 2023-07-21 18:38:34 +03:00
Andriy 27ddfd39cc [core] Massive setting system update
- Get rid of attribute crap. Now only interface is required
- Rename canUse to isAdmin in `Bot.IsUserAdminAsync` to match the actual meaning of variable
- Made `AnswerQuery` reusable by moving it from ContentStore to Core's CommonHandler
- Chat Settings edit frontend (inline keyboard)
- Rename NsfwOption to AllowNsfw and move it to ContentStore module
- Remove option backend testing commands
- Add KarmaMode option as an example of Select option type
2023-07-21 17:14:11 +03:00
Andriy 467ccd4fde [core] move core handlers into subfolder 2023-07-20 21:22:35 +03:00
Andriy 8de8eac959 initial chat options implementation 2023-07-20 20:24:16 +03:00
Andriy bbcdfff2b9 [core] move message auto-delete service from code-watcher to core 2023-01-23 13:12:38 +02:00
Andriy 261c1178b7 [entertainment] fix /guess date formatting 2023-01-18 17:17:28 +02:00
Andriy 788537c88a [entertainment] also show response number in /guess 2023-01-18 16:51:07 +02:00
Andriy 66fe5cb4fb [entertainment] cleanup callbackquery handler, show guessed number 2023-01-18 16:29:18 +02:00
Andriy 84e2ba44c5 [entertainment] enable accidentally disabled cooldown check 2023-01-18 16:03:41 +02:00
Andriy 7228e4ff3c [entertainment] edit guess message instead of deleting and sending a new one 2023-01-18 16:00:53 +02:00
Andriy 90d9d61576 [entertainment] use inline keyboard to handle answers 2023-01-18 15:49:51 +02:00
AndriyandGitHub 965d39ecf0 Merge pull request #26 from Bubuni-Team/feature/entertainment/guess-game
[entertainment] add guess game
2023-01-18 02:22:22 +02:00
Andriy 9cbb5d7240 [entertainment] move cooldown check to the handler start in /guess 2023-01-18 02:20:37 +02:00
Andriy ec11cf4496 [entertainment] add guess game 2023-01-18 02:07:48 +02:00
AndriyandGitHub c61d875a6a Merge pull request #25 from Bubuni-Team/feature/core/thread-safe-random
Thread Safe Random
2023-01-17 23:18:22 +02:00
Andriy 83296efbb7 [entertainment] use thread safe random, update /roll number range 2023-01-17 23:13:06 +02:00
Andriy 98b1e2f0f7 [core] add thread safe random to DI 2023-01-17 22:48:08 +02:00
AndriyandGitHub 174c66c1cd Merge pull request #24 from Bubuni-Team/feature/sticker2png
Feature/sticker2png
2023-01-14 15:35:46 +02:00
Andriyandvoed f1c4375613 [sticker-tools] add to dockerfile, adjust project configuration
Co-authored-by: voed <voed@i.ua>
2023-01-13 01:28:34 +02:00
Andriy 7598f77637 [sticker-tools] init module 2023-01-13 00:58:12 +02:00
Andriy 55a4569a4a [core] bump base dotnet image versions 2023-01-07 18:02:25 +02:00
AndriyandGitHub 23b800ae53 Merge pull request #23 from Bubuni-Team/feature/reputation-roll
[entertainment] roll comes back with improved logging
2023-01-07 17:52:27 +02:00
Andriy 2722b88a15 [entertainment] roll comes back with improved logging 2023-01-07 17:47:09 +02:00
Andriy 5db3fc8eee [store] add red pandas, rename incorrectly named file 2023-01-05 02:09:53 +02:00
Andriy 2043fd7ccd [core] bump framework 2023-01-03 14:17:28 +02:00
Andriy 41cda68329 [rss] fix images send with spoiler 2023-01-03 12:28:42 +02:00
Andriy bcdb0fefee [core] update dependencies 2023-01-02 23:42:07 +02:00
Andriy ff78d8e2ae [store] hide nsfw content behind spoiler 2023-01-02 23:31:05 +02:00
AndriyandGitHub 996147436b Merge pull request #22 from Bubuni-Team/feature/botapi-6.4
[core] add support of new bot api
2023-01-02 21:54:16 +02:00
Andriy eca77267d7 [core] add support of new bot api 2023-01-02 20:13:41 +02:00
Andriy 19a14bb1ea [code-watcher] bust code in captions 2023-01-01 22:53:31 +02:00
Andriy 2cfcddf44d [entertainment] shutdown roll handler 2022-12-16 16:35:45 +02:00
Andriy ffffe2a48a [common] improve logging 2022-12-14 12:58:12 +02:00
Andriy 82129d8006 [entertainment] add /reset_roll command 2022-12-14 12:31:53 +02:00
Andriy 2aa54c79d0 [core] add extension to convert user into loggable string 2022-12-14 12:31:38 +02:00
Andriy 9a957af5ac [entertainment] move roll handler to correct namespace, adjust some numbers 2022-12-14 11:50:02 +02:00
AndriyandFrolish 4f89be554a [entertainment] add roll command by @frolish
Co-authored-by: Frolish <lonkura.zip@gmail.com>
2022-12-14 11:40:27 +02:00
Andriy a97fac85e4 [store] fix kitties purchasable IDs 2022-11-14 13:54:37 +02:00
AndriyandGitHub 8a2f5c6ad3 Merge pull request #19 from Bubuni-Team/feature/store/kitties
[store] refactor, add new purchasables
2022-11-14 01:12:44 +02:00
Andriy c893992f5b [store] add nsfw guard for boobs 2022-11-14 00:49:56 +02:00
Andriy 36e5ddd5af [store] refactor, add new purchasables 2022-11-14 00:23:36 +02:00
Andriy c50d5f63ba [rss] ability to hide feed from list 2022-11-02 11:02:41 +02:00
Andriy 8e0eea3025 [store] crappy bypass of tg cache, to fix random capybara 2022-08-30 15:01:22 +03:00
Andriy b0973dcd31 [store] add capybara purchase 2022-08-30 00:48:49 +03:00