Commit Graph

64 Commits

Author SHA1 Message Date
470415cc70 Add page number option to terms command, add comma printing to terms 2024-02-16 17:04:18 -06:00
85a3696631 Add CPU/Memory profiling flags 2024-02-13 10:44:42 -06:00
8a773c8c70 Add stop signal details to log 2024-01-31 18:59:13 -06:00
a2ccef6d48 Continue tuning log messages in scrape 2024-01-31 18:56:22 -06:00
1252e75c8a Add stack tracing to logger, use Stack on all fatal/error logs 2024-01-31 17:59:01 -06:00
9344f1c365 Add EncodeParams function with docs from net/url, multi-line log, generalize GetUsername into GetUser 2024-01-31 16:33:03 -06:00
dbbc55376a Don't raise fatally on failed scrapes 2024-01-31 13:47:27 -06:00
000eab55b9 Make scrape periodic + goroutine-based 2024-01-30 12:40:14 -06:00
2783162b2b Setup expiry time on major scrape, improve logs, use ResetDataForm(), fix query 2024-01-29 15:56:13 -06:00
281944546f Encapsulate default term selection into term.go 2024-01-29 05:28:50 -06:00
5d500b20e5 Handle commands during bot shutdown, move redis setup into initRedis func 2024-01-29 04:57:11 -06:00
eb792ae4a0 Fix bad merge from stash involving GetUsername/command event log 2024-01-29 03:22:24 -06:00
38e9d85170 Improve command invocation logging details for guilds & direct messages 2024-01-29 03:19:44 -06:00
a3c0d43fc5 Prevent fatal crashes from DM commands 2024-01-29 03:17:39 -06:00
ef3df75f45 Add local ICal timestamp format, rename centralTime global var 2024-01-29 02:31:42 -06:00
3a54387881 Fix ICS version 2024-01-28 05:59:06 -06:00
3f98a5d5d6 Add NewCalendar helper, make timezone string constant, add version constant 2024-01-28 05:03:35 -06:00
dcf51986a7 Respond to interaction with error feedback on command handler fail 2024-01-28 04:23:29 -06:00
5347c07b0c Add command ideas to feature wishlist, CRN/partOfTerm analysis goals 2024-01-28 04:21:49 -06:00
6267a80fea Small code formatting correction 2024-01-18 11:36:33 -06:00
3464208d9c Get closer to unified MeetingTimeResponse parsing 2024-01-18 02:20:37 -06:00
dde00824e0 Log selected term on startup 2024-01-18 00:19:06 -06:00
d03490ad4d Return commands at handler level, work on TermCommand implementation/definition 2024-01-17 23:57:22 -06:00
bbd0fe94e9 Improve command handler main logging & error logs 2024-01-17 23:51:16 -06:00
f6c087c4f9 Term fetch & POST on startup 2024-01-17 23:21:16 -06:00
c0f30fc585 Clean up main.go 2024-01-15 15:41:47 -06:00
5ff914758e Use bulk overwrite, use test server for command registration in dev 2024-01-15 15:18:20 -06:00
1c5b3a1b6d Remove colorizer hook, simplify logSplitter 2024-01-07 08:42:00 -06:00
06e5cd26d5 Load environment variables before logger development check/setup 2024-01-07 08:38:56 -06:00
415dabbabb Remove guild command removal code 2024-01-04 09:38:13 -06:00
ee67cc1e2c Manual, temporary guild command unregistration 2024-01-04 09:21:16 -06:00
44d5e533f3 Fix CentralTime init order (again) 2023-12-26 08:07:09 -06:00
14295d1264 Use central time for zerolog's timestamp acquisition 2023-12-26 07:56:13 -06:00
861870f821 Attempt to disable TimeFormat in ConsoleWriter 2023-12-26 07:52:27 -06:00
f0caab9435 Remove timestamp from global logger 2023-12-26 07:46:29 -06:00
f82de64d3e Test JSON colorizing log hooks 2023-12-26 07:44:02 -06:00
e10edcb5f8 Move debug statement 2023-12-26 07:24:51 -06:00
56793d6c28 Remove unused variables 2023-12-26 07:16:03 -06:00
04fbc67f91 Move command registration away, add simple command un/re-registration 2023-12-26 07:15:14 -06:00
bc52c672f3 Correct redeclaration of environment variable, improve logging, comments & cmd reg/del skip handling for errors 2023-12-25 00:07:09 -06:00
a352c4a6ef Setup command deletion & id storage after registration 2023-12-24 23:59:04 -06:00
8e0630fbe7 continue cleaning up main, add comments, integrate environment into command hash key, raise private network initialize sleep 2023-12-24 23:50:21 -06:00
707acc99e2 Catch SIGTERM, only show CTRL+C in development mode 2023-12-24 23:41:23 -06:00
96efd4bdf2 Use key directly, skip base64 2023-12-24 22:39:30 -06:00
bebf017ae3 Add private networking retry ability 2023-12-24 22:27:27 -06:00
7e762ff2aa Fix private URL var name, add helper for retrieving various environment variables 2023-12-24 22:07:44 -06:00
37604e1eeb Prefer private Redis URL 2023-12-24 22:03:22 -06:00
a545cf2b1c Add structhash, hash command definition with xxhash, store & compare with redis 2023-12-24 21:59:03 -06:00
5d8130c3a4 Remove session id log, move DiscordGoLogger, add redis 2023-12-24 20:51:30 -06:00
e03b8e2d99 Remove environment dict output 2023-12-24 20:08:36 -06:00