Commit Graph

286 Commits

Author SHA1 Message Date
bebf017ae3 Add private networking retry ability 2023-12-24 22:27:27 -06:00
7e762ff2aa Fix private URL var name, add helper for retrieving various environment variables 2023-12-24 22:07:44 -06:00
37604e1eeb Prefer private Redis URL 2023-12-24 22:03:22 -06:00
a545cf2b1c Add structhash, hash command definition with xxhash, store & compare with redis 2023-12-24 21:59:03 -06:00
5d8130c3a4 Remove session id log, move DiscordGoLogger, add redis 2023-12-24 20:51:30 -06:00
e03b8e2d99 Remove environment dict output 2023-12-24 20:08:36 -06:00
4542587096 use RAILWAY_ENVIRONMENT var 2023-12-24 20:03:43 -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
d9de5900a6 list command names during registration 2023-12-24 18:00:01 -06:00
2f1f6096ce Continue switching to zerolog, add discord log implementation 2023-12-24 17:31:31 -06:00
e7ef04ac42 Fix global var redeclaration 2023-12-24 15:50:03 -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
50272dddd8 Split stderr/stdout output based on log level, increase time format verbosity 2023-12-24 14:59:53 -06:00
dc75ac302c Lower .env load fail to warn (non-fatal) 2023-12-24 14:52:10 -06:00
93449aa57c Name field 'Days of Week' instead of 'Weekdays' 2023-12-12 00:00:50 -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
ef153fd153 Setup command definitions, meetingtime command fields, footer fetch time 2023-12-11 19:30:13 -06:00
5b1f325280 Use custom struct for MeetingTimeFaculty.timeStart, move comand handlers 2023-12-11 19:29:42 -06:00
46d53fcac3 Reformat module definition 2023-12-09 16:55:07 -06:00
1a5e6082d2 Fix main setup, use package main, working bot run 2023-12-09 16:55:00 -06:00
ab45d39bf3 Session setup, pass cookie jar 2023-12-09 16:54:42 -06:00
8f8c4c3102 NoCache, onRequest/onResponse, pluralizer helpers 2023-12-09 16:54:24 -06:00
732a7445dc Add separate file for command definitions & handlers, begin meeting time command 2023-12-09 16:54:09 -06:00
9d263ac2bd Setup response structs, argument inputs & request formatting 2023-12-09 16:53:50 -06:00
2b949d4a3a Update dependency file, organize 2023-12-08 16:05:54 -06:00
723c244e80 Upgrade session setup function to BuildRequest 2023-12-08 16:05:41 -06:00
67d6020b12 Begin adding discord bot into main flow 2023-12-08 16:01:48 -06:00
6d7304c395 Contain authentication & request building helpers 2023-12-08 16:01:34 -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
587f528685 add .gitignore 2023-12-07 14:51:22 -06:00
d7f0e1926b Initial implementation 2023-12-07 14:50:45 -06:00
3bacb585f9 Repository init 2023-12-07 14:28:58 -06:00