307 Commits

Author SHA1 Message Date
6267a80fea Small code formatting correction 2024-01-18 11:36:33 -06:00
b9faf991f2 Add example JSON responses 2024-01-18 11:36:21 -06:00
a507e7698f Add analysis section to README 2024-01-18 11:24:22 -06:00
c981e07ed2 Update README 2024-01-18 03:48:31 -06:00
c3359de85b Add proper meeting type handling with place/time stringification fns 2024-01-18 03:30:21 -06:00
ef2364bd20 Fix bad formatting for 12PM (0PM) 2024-01-18 03:29:40 -06:00
a5bec13fe5 Remove unused MeetingTime pretty structs 2024-01-18 03:11:23 -06:00
0e9bcaf07c Allow for empty values, nillable parsing 2024-01-18 03:08:09 -06:00
849fa153c8 Setup term cmd handler, use latest MeetingTimeResponse struct fns 2024-01-18 02:56:11 -06:00
3c70e32332 Use MeetingTimeResponse struct for direct API getter f n 2024-01-18 02:55:32 -06:00
0bec62ff7a Separate Faculty item into common struct 2024-01-18 02:55:03 -06:00
3d8d4e7e12 Move response struct into types.go, begin adding struct fns to match pretty 2024-01-18 02:34:08 -06:00
3464208d9c Get closer to unified MeetingTimeResponse parsing 2024-01-18 02:20:37 -06:00
26bdad9c94 Expand search response fidelity, footer shortcut fn 2024-01-18 02:11:43 -06:00
076291de8e Complete full Search response struct 2024-01-18 02:11:10 -06:00
f5da706933 Improve embed, return interaction err properly, improve definition, add keywords to search 2024-01-18 00:19:32 -06:00
dde00824e0 Log selected term on startup 2024-01-18 00:19:06 -06:00
c17046fb83 Lower default result c ount, fix header for title/keyword search params 2024-01-18 00:18:57 -06:00
d03490ad4d Return commands at handler level, work on TermCommand implementation/definition 2024-01-17 23:57:22 -06:00
2ad241a475 Remove course index from embed, use switch for optional option handling 2024-01-17 23:52:21 -06:00
bbd0fe94e9 Improve command handler main logging & error logs 2024-01-17 23:51:16 -06:00
5d2cb4f4c8 Provide Query defaults for max/offset 2024-01-17 23:50:59 -06:00
1baca364b0 Work on SearchCommandHandler & definition 2024-01-17 23:22:11 -06:00
6d758ed396 Make JSON Content-Type error fatal & use structured logging 2024-01-17 23:21:49 -06:00
f6c087c4f9 Term fetch & POST on startup 2024-01-17 23:21:16 -06:00
310c06f733 ignore .vscode 2024-01-17 23:20:30 -06:00
ddfdd8cc17 Log dumped filename 2024-01-17 23:20:06 -06:00
52b069eb12 Improve Content-Type guessing & use in DumpResponse fn 2024-01-17 23:19:56 -06:00
8da979f62e Include offset/max in Query data, improve range build fn's 2024-01-17 23:18:58 -06:00
1adb6d0af0 Simplify term funcs, rename/make stringification function a struct fn 2024-01-17 21:38:43 -06:00
aa9f8a441d Add comments to Query functions, add individual keyword func 2024-01-17 21:38:19 -06:00
a2e4f1a456 Return error from Search() 2024-01-15 15:42:06 -06:00
c0f30fc585 Clean up main.go 2024-01-15 15:41:47 -06:00
7de9813174 AddPointer helper, DumpHtml helper, fix query parameter escaping 2024-01-15 15:41:38 -06:00
5ff914758e Use bulk overwrite, use test server for command registration in dev 2024-01-15 15:18:20 -06:00
8425274b65 Continue documenting helpers, improve contentLength log grab 2024-01-15 13:08:31 -06:00
5ffdbb6139 Add SearchCommandDefinition, use definition names directly in handler map 2024-01-15 13:07:28 -06:00
f9ab4870ba Add builder methods for Query, make all properties private 2024-01-14 22:28:55 -06:00
41d0bd817c Use FormatInt/Itoa instead of string() for stringification 2024-01-14 22:24:45 -06:00
6e5931f8ba Add WeekdaysToString edge cases (none/all days) 2024-01-14 22:24:03 -06:00
b331433d8d Continue work on search query, various API calls 2024-01-07 08:44:42 -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
a4c00af1fe Setup search command stub, remove unused term cmd option for term lookup cmd 2024-01-07 08:38:17 -06:00
b4b2930a58 Add class duration to time command output 2024-01-07 08:37:43 -06:00
49e5a406d7 Setup Query struct, add parameter builder function 2024-01-07 08:36:38 -06:00
415dabbabb Remove guild command removal code 2024-01-04 09:38:13 -06:00
42d8338ce2 Update README 2024-01-04 09:21:49 -06:00
176b73e252 Return rather than panic in command registration step 2024-01-04 09:21:40 -06:00
ee67cc1e2c Manual, temporary guild command unregistration 2024-01-04 09:21:16 -06:00