Commit Graph

297 Commits

Author SHA1 Message Date
CrazyHackGUT 920148e05b add Uri parser, add ISerializationBinder
ISerializationBinder is added only in whitelist mode. Types for whitelisting should be registered manually via new API `Module.StartAsync()` or attribute `AllowedSerializableType(name)`
2024-05-29 00:19:30 +03:00
CrazyHackGUT af8efcbf4a make new option type for internal purposes 2024-05-29 00:16:58 +03:00
CrazyHackGUT 998fe10e2d make service controller for healthchecks 2024-05-28 22:41:52 +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
CrazyHackGUT 24977c90bd facepalm 2024-01-28 20:48:35 +03:00
CrazyHackGUT 1a6b33ad96 aw shit, here we go again 2024-01-28 20:47:19 +03:00
CrazyHackGUT 8653e357d1 Rollout small cleanup 2024-01-28 20:38:32 +03:00
CrazyHackGUT 27b5e7bf7c Try launch webhooks 2024-01-28 20:32:33 +03:00
CrazyHackGUT d578f6a413 Small cleanup 2024-01-28 20:25:12 +03:00
CrazyHackGUT 1088037e58 Initial webhook support 2024-01-28 18:51:18 +03:00
CrazyHackGUT aaf27a9a06 Drop systemd integration 2024-01-28 18:50:22 +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
Andriy 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
Andriy 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
Andriy 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
Andriy 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