Commit Graph

285 Commits

Author SHA1 Message Date
a8d383706e Finish remaining API functions, add documentation, wrap with fmt.Errorf, offset checks 2024-01-29 05:44:28 -06:00
93c2e515e4 Finish GetInstructors, wrap some errors, setup TODO markers for all funcs 2024-01-29 05:29:29 -06:00
281944546f Encapsulate default term selection into term.go 2024-01-29 05:28:50 -06:00
c5ad772ebc Mispelling in README 2024-01-29 05:11:57 -06:00
b9adaa5d58 Add remaining meta samples 2024-01-29 05:11:50 -06:00
2228a0a928 Restructure sample data 2024-01-29 05:03:42 -06:00
fb99c72f5f Fix nil key check, fix bad durations 2024-01-29 04:59:32 -06:00
166e70500d README details on real-time, SQLite, scraping strategy 2024-01-29 04:57:31 -06:00
5d500b20e5 Handle commands during bot shutdown, move redis setup into initRedis func 2024-01-29 04:57:11 -06:00
836f3e5511 Add very large searchResults for 500/CS500 2024-01-29 04:34:25 -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
f3c79b3576 Ditch ics package for raw string templating 2024-01-29 02:32:11 -06:00
ef3df75f45 Add local ICal timestamp format, rename centralTime global var 2024-01-29 02:31:42 -06:00
e0da185ff9 Fix unterminated tuples in ByDays, use string comma join 2024-01-29 02:30:56 -06:00
d0ff5b5d4c Move parameters into consts 2024-01-28 07:13:54 -06:00
41a75b47a6 Rename json/ to samples/, ignore /js 2024-01-28 06:46:34 -06:00
916d9972de ICS command continued work 2024-01-28 06:00:17 -06:00
4ec69b0053 Fix Until format in RRule(), add comments to MeetingTime struct 2024-01-28 05:59:45 -06:00
3a54387881 Fix ICS version 2024-01-28 05:59:06 -06:00
c38d7715f5 Add more response sample data 2024-01-28 05:58:43 -06:00
3f98a5d5d6 Add NewCalendar helper, make timezone string constant, add version constant 2024-01-28 05:03:35 -06:00
6ccc00eda3 Add ICS module 2024-01-28 05:03:07 -06:00
80c0ed47d3 Setup Rrule helper methods for MeetingTimeResponse 2024-01-28 05:02:51 -06:00
0fb7ab3e0d Add comments to various SearchResult attributes, add SectionAttributes, fix Faculty 2024-01-28 04:24:06 -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
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