Commit Graph

191 Commits

Author SHA1 Message Date
CrazyHackGUT 520f1efe37 AntiFlood service 2022-02-16 19:44:53 +03:00
West14 a2404aecc6 [store] Real fix for button order. 2022-02-16 18:30:50 +02:00
West14 5718b49455 [store] Fix button order. Fix internal id for anim boobs. 2022-02-16 18:27:09 +02:00
Kruzya 56cc2ebf77 Merge pull request #8 from CrazyHackGUT/feature/content-store
Content store
2022-02-16 19:12:56 +03:00
West14 f0d5e080d5 [store] Add description about boobs request uri. 2022-02-16 18:09:55 +02:00
West14 cd8b25bcb8 [store] Reduce amount of hardcoded values. 2022-02-16 18:08:02 +02:00
West14 d99c71c07c [store] Refactor service registration mechanism. 2022-02-16 17:43:57 +02:00
West14 16ca4a09a2 Update Dockerfile to build ContentStore. Fix success purchase message markup. 2022-02-16 17:11:29 +02: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
CrazyHackGUT a4d1dea47d Disable notifications for /top call 2022-02-16 07:37:03 +03:00
West14 12a4a0ae83 More detailed logging in UserService. Rename WhoIs handler to math the classname. 2022-02-14 21:00:51 +02:00
West14 46a0e375c5 [reputation] Fetch only positive reputation for rating. 2022-02-14 14:42:40 +02:00
West14 e885613c58 [reputation] Add rating. 2022-02-14 14:39:55 +02:00
West14 f80b5d0da8 [cm] Use file-scoped namespaces. 2022-02-14 10:35:28 +02:00
West14 05778f7960 [reputation] Use file-scoped namespaces. 2022-02-14 10:21:35 +02:00
West14 d3ec6cfb4b [whois] Move whois to separate handler in ChatManagement. 2022-02-14 10:20:07 +02:00
West14 a4a44198c5 [reputation] Move reputation to separate module. 2022-02-14 00:18:53 +02:00
West14 6f02031e65 [quote] Use Sender ID instead of Chat ID if available. 2022-02-11 23:20:25 +02:00
West14 e2ca320bda [quote] Fix forwarded messages author detection. 2022-02-11 22:57:01 +02:00
West14 7a1aa77932 [entertainment] Add some debug. More correct permission check. 2022-02-08 20:28:15 +02:00
West14 ac65afea21 Fix javascript trigger regexp. Update warn entity, when banning warned user. 2022-02-08 15:17:25 +02:00
West14 ae351c48f4 Merge branch 'dev' of https://github.com/CrazyHackGUT/telegram-bot into dev 2022-01-27 19:47:57 +02:00
West14 b48eb09eb4 [quote] Fix quote generation for forwarded messages. 2022-01-27 19:44:58 +02:00
CrazyHackGUT 8ca58f7596 Potential fix for option saving 2022-01-25 23:34:37 +03:00
West14 a46c5c5ea6 [reputation] Add debug logs. 2022-01-23 00:35:42 +02:00
CrazyHackGUT 8f51f1ece0 Fix (?) issues related with concurrency 2022-01-22 21:54:11 +03:00
CrazyHackGUT b9a6bb0bc6 Use DbContext.Remove/Add instead of DbSet methods 2022-01-22 18:44:40 +03:00
CrazyHackGUT b7c4e1df93 Possible null dereference fixes 2022-01-22 17:21:29 +03:00
CrazyHackGUT ff63d6dfaa Code cleanup 2022-01-22 17:13:38 +03:00
West14 8f18ff4f18 [quote] Fix possible null-reference. 2022-01-21 14:28:33 +02:00
West14 f944d0731a [quote] Remove unused "using" directives. 2022-01-21 14:23:05 +02:00
West14 a9d284dc9d [quote] Code cleanup. 2022-01-21 14:18:56 +02:00
West14 7cd1a295bb [quote] Crappy chat quote implementation. 2022-01-21 00:10:27 +02:00
West14 5513d0b62b [whois] Remove unused import. Fix .gitignore. Do no fetch chatmember info, if custom status is set. 2022-01-20 15:00:34 +02:00
West14 a8c02184e9 [whois] Add chatmember status to output. Update .gitignore. 2022-01-20 14:28:26 +02:00
West14 b1876edf13 [rules] Fix permission check on setrules. 2022-01-18 21:59:26 +02:00
West14 1444e3282f [rules] Throw exception on API request error. 2022-01-18 21:50:54 +02:00
West14 ffbb9dfee8 [rules] Implement /rules and /setrules. DIsable build of arm images. 2022-01-18 21:36:47 +02:00
West14 9d2b0e5374 [rules] Upload missing changes. 2022-01-18 20:41:02 +02:00
West14 3e83488ddd [rules] Start work on rules command. 2022-01-18 20:34:21 +02:00
West14 9c291892cd Bump to .NET 6. Add arm64 image build. Use short commit hash on image tag. 2022-01-10 00:50:05 +02:00
West14 60f6a639b6 Fix null reference. 2022-01-07 22:30:28 +02:00
West14 31a371b034 Change reputation counting algo. 2022-01-07 22:25:26 +02:00
West14 ad13577541 Change superuser command log category. Fix cooldowns command. 2022-01-07 15:46:04 +02:00
West14 740527d827 Assorted improvements.
- Add UserService.
- Add "setrep" command.
- Rename confusing methods and variables in AbstractAnimationHandler.
- Change Bayan cooldown to Zero.
- Add crappy "cooldowns" command.
2022-01-04 17:45:06 +02:00
CrazyHackGUT 8717ef9db9 Fix permission check in UserGroupTag 2022-01-03 23:37:29 +03:00
CrazyHackGUT b35a70ff8c Fix assembly name for UserGroupTag, add perm check 2022-01-03 23:35:20 +03:00
CrazyHackGUT deeeb10ab9 Merge branch 'feature/usergrouptag' into dev 2022-01-03 23:26:40 +03:00
CrazyHackGUT cf34fcd89a Cache info about users, cleanup for module 2022-01-03 23:25:20 +03:00
West14 0c943300bb Fix fun commands can block handler chain execution. 2022-01-03 22:14:59 +02:00