Commit Graph

67 Commits

Author SHA1 Message Date
Jetsparrow
51d05b8104 Use plan TimeoutMultiplier for ratelimit costs 2024-04-27 18:01:01 +03:00
Jetsparrow
db970fe87d Update project and dependencies to .NET8 2024-04-27 16:23:32 +03:00
Jetsparrow
b938e37fdd Fix HeartMonitor db usage 2024-04-27 14:54:58 +03:00
Jetsparrow
f08efc040e Fix disposing context in heartbeatController 2024-04-27 14:51:42 +03:00
Jetsparrow
07edc8d804 Remove unused sercrets.json 2024-04-27 14:51:20 +03:00
d059867a2e
Fix status code pages 2022-05-20 19:43:29 +03:00
Jetsparrow
dc2164479c misc fixes and removing legacy 2022-05-20 18:03:09 +03:00
Jetsparrow
b4d9ada462 Layout users page to use table 2022-05-19 22:46:26 +03:00
c5d4db1c4c
add user list page 2022-05-19 21:16:11 +03:00
Jetsparrow
6b6883bb20 footer fix, css refactor 2022-05-18 12:21:44 +03:00
Jetsparrow
eeca884982 more dashboard pretty 2022-05-17 15:05:06 +03:00
Jetsparrow
12ca7f08f7 remove razor runtime compilation 2022-05-17 15:04:41 +03:00
Jetsparrow
02016abd38 fix AdminInvites sql nad wrong links 2022-05-17 15:04:03 +03:00
Jetsparrow
c48759b897 fix presentation in dashboard 2022-05-16 19:01:02 +03:00
Jetsparrow
290b98c798 users touchups, example admin panel for invites 2022-05-16 17:54:21 +03:00
Jetsparrow
31c6ced153 rewrite working with db. 2022-05-16 16:35:49 +03:00
Jetsparrow
4cdeb8a7c7 split plan and role, fix lots of small issues, move registration logic to code 2022-05-13 18:52:52 +03:00
95e8d12751 First draft of moving users and admin tools to webui 2022-02-20 18:33:34 +03:00
f99079e82a add users to database 2022-02-20 18:33:34 +03:00
33583ac651 shameful heartbeat method parameter fix 2022-02-10 16:21:13 +03:00
e7b131fe2e fix heart has started beating messages 2022-01-28 17:22:57 +03:00
bad724e762 added nlog.debug.config 2022-01-28 16:43:18 +03:00
9aa04ba4d7 finalized db and sql schema 2022-01-28 16:41:42 +03:00
256bc02c2e format fix 2022-01-28 16:41:15 +03:00
07ffe8fbbb Fix date format in heart event report 2022-01-28 15:12:21 +03:00
d0b2cf2332 Move formatting out of heraldbot 2022-01-28 15:11:01 +03:00
4e3da2e917 fixes 2022-01-28 14:47:07 +03:00
05c491ff0d . 2022-01-26 01:05:05 +03:00
0c74bc4cea LeakyBucket: Replace Console.Write with ILogger 2021-10-16 22:28:01 +03:00
415979c61e LeakyBucket DateTime fixes
- Remove use of local DateTime.Now
- Always take UtcNow only once at method entry
2021-10-16 22:25:40 +03:00
c8f505ba03 Replace crutchy method of instantiating the bot with a proper one 2021-10-16 20:13:24 +03:00
db78d4a3c7 Timeouts
(cherry picked from commit 52ae87ca911fb7f5794e64ab7213c5b791ce085d)
2021-10-16 19:59:34 +03:00
6fa0b58349 Check for admin in commands 2021-04-28 00:07:42 +03:00
89d5d2b9b5 Fix bot username parsing in commands 2021-04-27 23:41:46 +03:00
54c126353a Fix infos 2021-04-27 23:40:33 +03:00
7785fe1766 Fix GET with heartbeats 2021-04-22 22:55:25 +03:00
65137f7890 Move Telegram-related code into JetHeraldBot.Telegram.cs 2021-04-22 22:26:10 +03:00
46bc808789 change heartattack Reported to Status, moved time calc to db 2021-04-22 22:23:15 +03:00
b423b8358d Display heart in heartbeat messages 2021-04-22 21:45:02 +03:00
7fdaf43eb9 Update Console log target to show exception 2021-04-22 20:51:18 +03:00
4131d2f22c Redo heartbeats to save heart attack events 2021-04-22 17:41:35 +03:00
b0e1957ec8 shameful SQL fix 2021-04-22 16:25:08 +03:00
34cd67e440 missed ChatId on replace 2021-04-22 16:13:53 +03:00
7b0ef9a8e1 Transition to namespaced chat/user ids 2021-04-22 15:46:16 +03:00
40a44145fe Add NamespacedId and converters 2021-04-22 15:33:16 +03:00
ae4cbe0632 Log exceptions while checking heartbeats 2021-04-21 21:25:33 +03:00
3e16199c1f Fix crash when message sent to discord 2021-04-21 21:25:31 +03:00
2b0cd07997 Don't await TriggerTypingAsync 2021-04-19 16:33:01 +03:00
7fffbbe365 Turn GetTopicListing to ToString for Db.Topic 2021-04-19 16:33:01 +03:00
04a04f418c Discord support part 1 2021-04-19 16:33:01 +03:00