Commit Graph

32 Commits

Author SHA1 Message Date
a0edff1e9d Setup dynamic session timing & regeneration/setup flows tied to DoRequest 2024-03-01 00:51:38 -06:00
069b77aebe Add panic recovery, switch some fatal raises to panic
I don't know what I am doing really
2024-02-16 17:28:32 -06:00
7ce28b9f4a Specify 'offset' as page number in GetTerms() definition 2024-02-16 17:03:23 -06:00
e6283aefae Close response body I/O properly 2024-02-13 00:44:19 -06:00
783d5fccf8 Finish proper term archival check func 2024-02-02 14:04:56 -06:00
1252e75c8a Add stack tracing to logger, use Stack on all fatal/error logs 2024-01-31 17:59:01 -06:00
4ac28bd210 Course retrieval from redis, setup ICS command data with course detailsl 2024-01-30 15:27:56 -06:00
a785196437 Add ResetDataForm() api call 2024-01-29 15:55:25 -06:00
10634c1210 Spelling, separate Course struct from SearchResults
Separating the course struct will be useful for storing classes by CRN later on
2024-01-29 14:13:36 -06:00
1d99dd26a7 Use common pair struct, switch to Pair except for BannerTerm/Instructor, error wrapping, io err handling 2024-01-29 05:58:28 -06:00
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
3c70e32332 Use MeetingTimeResponse struct for direct API getter f n 2024-01-18 02:55:32 -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
076291de8e Complete full Search response struct 2024-01-18 02:11:10 -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
8da979f62e Include offset/max in Query data, improve range build fn's 2024-01-17 23:18:58 -06:00
a2e4f1a456 Return error from Search() 2024-01-15 15:42:06 -06:00
b331433d8d Continue work on search query, various API calls 2024-01-07 08:44:42 -06:00
073a36ba06 Use DoRequest, fix response unmarshalling 2023-12-26 06:43:14 -06:00
5d8130c3a4 Remove session id log, move DiscordGoLogger, add redis 2023-12-24 20:51:30 -06:00
09f973c46a Continue improving comments & use of structured logs 2023-12-24 20:01:56 -06:00
81e60ed4b7 Simplify onRequest/Response into doRequest, print environment, dev-only consolewriter 2023-12-24 19:24:19 -06:00
4dce1de842 Switch from logrus to zerolog, move types into types.go 2023-12-24 15:47:11 -06:00
40330c37ce Switch all logging to logrus, lower session ID log level to debug 2023-12-24 15:02:01 -06:00
4cb6b10226 Rename NoCache() to Nonce() 2023-12-12 00:00:38 -06:00
ac8a11538b ParseNaiveTime in MeetingTime API call 2023-12-11 19:30:28 -06:00
9d263ac2bd Setup response structs, argument inputs & request formatting 2023-12-09 16:53:50 -06:00
365b9b253a Begin scaffolding remaining API routes 2023-12-08 16:01:18 -06:00
aac44e42d1 Split project into separate files 2023-12-07 20:52:52 -06:00