Commit Graph

91 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 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 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 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 8071863037 [core] Reduce chunk to fit option title into button 2023-07-28 17:22:28 +03:00
Andriy 79106ad47d [core] show choice short name in option button 2023-07-21 19:50:48 +03:00
Andriy d3b6da0ebd [core] this class shouldn't be here 2023-07-21 19:27:58 +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
CrazyHackGUT 1a94764334 DeleteService should be runned too frequently 2023-01-29 10:17:25 +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 ec11cf4496 [entertainment] add guess game 2023-01-18 02:07:48 +02:00
Andriy 98b1e2f0f7 [core] add thread safe random to DI 2023-01-17 22:48:08 +02:00
Andriy 2043fd7ccd [core] bump framework 2023-01-03 14:17:28 +02:00
Andriy bcdb0fefee [core] update dependencies 2023-01-02 23:42:07 +02:00
Andriy eca77267d7 [core] add support of new bot api 2023-01-02 20:13:41 +02:00
Andriy ffffe2a48a [common] improve logging 2022-12-14 12:58:12 +02:00
Andriy 2aa54c79d0 [core] add extension to convert user into loggable string 2022-12-14 12:31:38 +02:00
Kruzya c161cb929b Allow skip loading part of modules 2022-12-05 01:28:02 +04:00
Andriy 36e5ddd5af [store] refactor, add new purchasables 2022-11-14 00:23:36 +02:00
West14 7b4c5aa3d4 [cm] change culture to ru, add no-perm warn on /ban command 2022-04-25 20:13:43 +03:00
Andriy 57a11c44a8 Merge pull request #13 from Bubuni-Team/feature/timed-bans
[cm] ability to ban user for an arbitrary period
2022-04-23 22:06:54 +03:00
West14 4accf36ffa [reputation] /addrep command 2022-04-23 21:43:29 +03:00
West14 5b77ef2b85 [cm] ability to ban user for an arbitrary period 2022-04-23 21:03:33 +03:00
West14 b58fe8b6e9 [code-watcher] init module. 2022-04-20 00:38:47 +03:00
CrazyHackGUT 49664064f6 Notification when user is flooding, fixes 2022-02-16 20:05:14 +03:00
CrazyHackGUT 8c3d7c3cc1 Merge branch 'feature/antiflood' into dev 2022-02-16 19:49:42 +03:00
CrazyHackGUT 5902968924 Fix validation of user flooding 2022-02-16 19:49:35 +03:00
CrazyHackGUT 45a89f77ee Merge branch 'feature/antiflood' into dev 2022-02-16 19:45:01 +03:00
CrazyHackGUT 520f1efe37 AntiFlood service 2022-02-16 19:44:53 +03:00
West14 e815deba58 [store] Basic content store implementation.
- Bump Telegram Bot Framework to 0.6.9-gf1e77653ff
2022-02-16 17:07:30 +02:00