307 Commits

Author SHA1 Message Date
be047cf209 fix: npe/bad index access in command handling 2025-08-26 00:35:55 -05:00
c01a112ec6 feat: proper context handeling, graceful cancellation & shutdown 2025-08-26 00:29:37 -05:00
65fe4f101f fix: proper development logger 2025-08-26 00:23:01 -05:00
a37fbeb224 fix: proper configuration handling across submodules 2025-08-26 00:19:43 -05:00
165e32bbf6 fix: provide doc comments for lints 2025-08-25 23:48:43 -05:00
7edd1f16bf fix: various lintings, simple improvements 2025-08-25 23:46:48 -05:00
2bf0e72e2e fix: improve term year logic due to fall-spring literal year change issues, add testing 2025-08-25 23:34:40 -05:00
6cc0cfb997 feat: add taskfile 2025-08-25 22:59:16 -05:00
b16c2d51bc refactor: complete refactor into cmd/ & internal/ submodules 2025-08-25 22:59:11 -05:00
2d25bb8921 I thought I fixed you earlier 2024-09-10 14:00:48 -05:00
2a7489d71f Status code check, fix txt_term hard coded static 2024-09-10 13:59:06 -05:00
c850acffcd Fix incorrect term format decisions (Fall is NEXT year, not current year) 2024-09-10 13:42:28 -05:00
6fd2d6fc7d Consolidate all files into /docs 2024-09-10 13:42:27 -05:00
88279bedf1 Add documentation on Banner sessions 2024-09-10 13:42:27 -05:00
c444d2c371 Change PPROF_PORT var 2024-03-15 05:20:51 -05:00
49630fd79e Setup pprof profiling server 2024-03-15 05:02:33 -05:00
58e2698bd8 Add request size logging 2024-03-15 04:51:43 -05:00
a0edff1e9d Setup dynamic session timing & regeneration/setup flows tied to DoRequest 2024-03-01 00:51:38 -06:00
e2bf31cb33 Use Central Time for footer embed 2024-03-01 00:24:34 -06:00
23cf1f0c41 Improve struct docuemtnation 2024-02-16 18:24:53 -06:00
797a2d14fd use better filename for ICS generation 2024-02-16 18:24:44 -06:00
aacd1daa86 Improve base case message for course code range parsing 2024-02-16 17:53:09 -06:00
6d6727d714 Add basic RateMyProfessor search 2024-02-16 17:42:45 -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
595228df15 Fix parse order for course range, remove TODO 2024-02-16 17:14:34 -06:00
44abcd605a Add pluralization, use comma printing for search interaction, field count warning 2024-02-16 17:10:01 -06:00
5053decd1a Separate term reload logic, bump interval to 24h 2024-02-16 17:04:38 -06:00
470415cc70 Add page number option to terms command, add comma printing to terms 2024-02-16 17:04:18 -06:00
7ce28b9f4a Specify 'offset' as page number in GetTerms() definition 2024-02-16 17:03:23 -06:00
d22b3a30a3 Fix partial code range specifier, use proper open ended max, add additional range checks/validation 2024-02-16 15:54:28 -06:00
3d82514cb2 Improve embed response helpers 2024-02-16 15:54:01 -06:00
5c4a8c0db0 Trim raw string code value, check length of 2nd group before Atoi 2024-02-16 15:14:33 -06:00
07b3146868 Increase course title option length, increase min code length 2024-02-16 15:12:21 -06:00
e084927b48 Use embed for respond error, with red color 2024-02-16 14:59:33 -06:00
951b123772 Switch code option to string 2024-02-16 14:45:23 -06:00
cd19f2cdf3 Implement course code range option (minus #xxx parsing) 2024-02-16 13:26:14 -06:00
85a3696631 Add CPU/Memory profiling flags 2024-02-13 10:44:42 -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
5140aa708b Make slope calculation part of baseExpiry
I realized that archived classes would have unusually low expiry times without the multiplier in plce
Also changed the IsViewOnlyTerm func name, new term "Archive" for this
2024-02-01 15:21:26 -06:00
b9ff35b711 Improve CalculateExpiry with Slope-based duration calculation
- Remove ICS NewCalendar() func
- TODO IsViewOnlyTerm
2024-02-01 15:15:16 -06:00
9885c202ae Change identification, GCal link generation 2024-02-01 15:13:54 -06:00
e339064a83 Add special non-fatal handling for non-meeting courses 2024-02-01 04:08:56 -06:00
391d782801 README command idea, multi-meeting time analysis 2024-02-01 04:08:32 -06:00
0b12e717b6 Fix ICS command formatting 2024-02-01 03:35:38 -06:00
cce0267855 Fix 0 class majors being scraped repeatedly 2024-01-31 23:55:09 -06:00
0b676ed66d Get rid of intermediary expiry check, retrieve all keys in one command 2024-01-31 23:38:04 -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
a9603ba562 Continue improving scraping logic, expiry calculations, split into different functions 2024-01-31 18:50:38 -06:00