e084927b48
Use embed for respond error, with red color
2024-02-16 14:59:33 -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
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
5db0919956
Use extension map instead of switch case, improve contength parsing, func docs
2024-01-30 22:20:09 -06:00
9cc0311164
Fix content length parsing, use header only
2024-01-30 20:44:53 -06:00
a3c0d43fc5
Prevent fatal crashes from DM commands
2024-01-29 03:17:39 -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
ef2364bd20
Fix bad formatting for 12PM (0PM)
2024-01-18 03:29:40 -06:00
0e9bcaf07c
Allow for empty values, nillable parsing
2024-01-18 03:08:09 -06:00
26bdad9c94
Expand search response fidelity, footer shortcut fn
2024-01-18 02:11:43 -06:00
d03490ad4d
Return commands at handler level, work on TermCommand implementation/definition
2024-01-17 23:57:22 -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
7de9813174
AddPointer helper, DumpHtml helper, fix query parameter escaping
2024-01-15 15:41:38 -06:00
8425274b65
Continue documenting helpers, improve contentLength log grab
2024-01-15 13:08:31 -06:00
6e5931f8ba
Add WeekdaysToString edge cases (none/all days)
2024-01-14 22:24:03 -06:00
b4b2930a58
Add class duration to time command output
2024-01-07 08:37:43 -06:00
544d6689af
Add error types, small comment typo
2023-12-26 06:45:17 -06:00
ab00c786db
Use StatusCode instead of Status on DoRequest log
2023-12-25 00:06:17 -06:00
7e762ff2aa
Fix private URL var name, add helper for retrieving various environment variables
2023-12-24 22:07:44 -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
5b1f325280
Use custom struct for MeetingTimeFaculty.timeStart, move comand handlers
2023-12-11 19:29:42 -06:00
8f8c4c3102
NoCache, onRequest/onResponse, pluralizer helpers
2023-12-09 16:54:24 -06:00
6d7304c395
Contain authentication & request building helpers
2023-12-08 16:01:34 -06:00
aac44e42d1
Split project into separate files
2023-12-07 20:52:52 -06:00