Commit Graph

207 Commits

Author SHA1 Message Date
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
CrazyHackGUT c396d180bd fix(entertainment): replace Random to ThreadSafeRandom 2024-11-06 15:30:35 +03: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
CrazyHackGUT 6605f8f172 Trying migrate to .NET 8.0 2024-07-17 02:38:58 +03:00
CrazyHackGUT 77d89f011b Revert "fix possible bans from Pavel Durov"
This reverts commit 1460cb0a75.
2024-05-28 22:30:28 +03:00
CrazyHackGUT 1460cb0a75 fix possible bans from Pavel Durov 2024-05-19 22:40:34 +03:00
CrazyHackGUT 7002a04d14 security patch 2024-05-19 22:38:41 +03:00
CrazyHackGUT 1f65b1b443 patch: CVE-2024-27929
https://github.com/advisories/GHSA-65x7-c272-7g7r
2024-03-06 09:08:20 +03:00
CrazyHackGUT 6a6ed420f1 well, it's generated column 2024-02-18 19:03:59 +03:00
CrazyHackGUT 2ae2d92e26 increase speed of mysql when searching posts 2024-02-18 18:50:01 +03:00
Andriy 7e41fc93fc feat(store): code cleanup, make some fund with "unlucky" members 2023-12-22 21:43:01 +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 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
Andriy 0677060429 Update to Telegram Bot Framework 2.0 2023-07-29 01:50:28 +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 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 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 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
CrazyHackGUT 46774bfd93 Fix markup, Raccoon store item 2023-05-17 23:48:39 +03:00
CrazyHackGUT 9a554ee295 Abstract for some-random-api.com, more animals 2023-05-17 23:36:20 +03:00
CrazyHackGUT d63113f58c Unavailable store item message (#31) 2023-05-17 23:12:15 +03:00
CrazyHackGUT aef13b1883 Fix Red Panda 2023-05-17 22:37:40 +03:00
CrazyHackGUT dba84e1a62 RSS may have relative URI 2023-02-15 18:28:37 +03:00
CrazyHackGUT acc619a21e Fixes for cleanup all messages 2023-01-29 10:11:55 +03:00
CrazyHackGUT ee1f1cf30c Add autocleanup for Guess and Roll handlers 2023-01-29 10:05:44 +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