Commit Graph

77 Commits

Author SHA1 Message Date
8b5dc0835a Always log, add red color to error handler response 2024-02-28 04:09:53 -06:00
fb2e178e93 Parse, log, and use residentId for submission contexts before modal emit 2024-02-28 04:09:41 -06:00
aebc99bf84 Extract approved response partial into HTML sample 2024-02-28 04:09:13 -06:00
d45d64a26f Remove unused scan functionality 2024-02-28 03:06:39 -06:00
d5b5708ae9 Upload HAR samples 2024-02-28 03:06:31 -06:00
15def57676 Add email confirmation API func, fix TODOs 2024-02-02 13:27:12 -06:00
2ae78890e9 Fix interaction identifier, improve focused option finding 2024-02-02 13:18:25 -06:00
254cc2e0b3 Map modal submission by identifier, acquire & print email 2024-02-02 13:16:35 -06:00
dcae3519ea Fix empty component being added, rename form converter 2024-02-02 13:15:58 -06:00
686caa11b4 Add & use lo[dash], breakup & improve CMD option search/link 2024-02-02 11:46:34 -06:00
4f01635b69 Add .env notes to README 2024-02-02 11:45:48 -06:00
e6da0d0fae Add unhanlded focus option for register command, improve both, comments 2023-12-22 16:37:38 -06:00
25158efd5a Improve logs, remove messageID ref 2023-12-20 08:26:30 -06:00
9fa279de4b Provide context aware logging for command handlers 2023-12-20 08:21:31 -06:00
473690bbd1 Switch to field-based logging (main.go, api.go)
Also removed unused register function
2023-12-20 08:18:29 -06:00
a6e47a33e6 Use flag.Args() to handle flag + normal arguments 2023-12-20 08:17:44 -06:00
f87e6d31fa Add timedmap mod, RegisterContext struc type 2023-12-20 07:55:49 -06:00
a915e80d7a Rename code requirement data funcs 2023-12-20 07:55:33 -06:00
074fc0ee51 Switch logs to contextual fields, setup modal submit context, use message ID, improve comments 2023-12-20 07:55:15 -06:00
e5e63b93db Extract residentProfileId, setup RegisterVehicle func/body/req 2023-12-20 07:53:56 -06:00
0f804b1ba3 Setup TODOs for register modal submit 2023-12-20 02:22:42 -06:00
b5920e54e2 Ignore & remove confirmation form field 2023-12-19 08:10:11 -06:00
b2915f6faf registration flow, improve error handling, code requirement/removal 2023-12-19 08:04:58 -06:00
16861ec98c Error handling helper for interactions 2023-12-19 08:03:46 -06:00
cd33333b55 Code requirement db funcs, enum, code removal 2023-12-19 08:01:43 -06:00
511b776cc7 Setup proper modal interaction handlers using CustomID string slice 2023-12-19 08:01:08 -06:00
7314e0ad1c Fix VIP form URL 2023-12-19 08:00:25 -06:00
5a9c01ab31 Pretty printing with spew 2023-12-17 06:49:48 -06:00
be9ce7070d Update README.md 2023-12-17 06:49:34 -06:00
69581c6ddd Add default case component definition 2023-12-17 06:11:38 -06:00
71032b22fe Fix FormToComponents only adding licnese plates, add default for unexpected component 2023-12-17 06:11:06 -06:00
c47e8ea2e3 Enable ModalSubmit interactions, handler switch, default warning 2023-12-17 06:05:58 -06:00
8597308f7c Begin switching over to modal-based dynamic fields 2023-12-17 06:05:27 -06:00
5b4da7b0c3 Simplify onRequest/onResponse/client.Do calls with doRequest 2023-12-17 04:55:05 -06:00
4f384618bc Reload session on bot login event 2023-12-17 04:54:46 -06:00
3e8be4bddd Separate parsing into parse.go, add separate VIP get 2023-12-17 04:40:14 -06:00
3495579ebf Non-VIP Form getter 2023-12-15 08:36:08 -06:00
52bf7f9484 Improve logging, use time.Time for lastReload var 2023-12-15 06:57:46 -06:00
f0da57c723 Improve log timestamp format 2023-12-15 06:47:19 -06:00
b3b19a8a99 Remove reload func name arg, add log/comment 2023-12-15 06:44:39 -06:00
b5ee5bec0c Replace log with logrus for level based logging, add debug flag 2023-12-15 06:40:10 -06:00
ca136634c9 Fix session variable redefinition 2023-12-15 06:16:38 -06:00
f42798f498 Remove TODOs for various URL hits, PHPSESSID verification 2023-12-15 06:13:56 -06:00
490cd9c911 Rename Bot main function 2023-12-15 05:58:01 -06:00
a23d9e881f Add scan function for downloading every form variation 2023-12-12 05:17:04 -06:00
c970ee4ef8 Capture data-locate-key for new GetForm API functions 2023-12-12 04:46:33 -06:00
711979a7d1 Split run into scan/bot subcommands with default as bot, document main method, register signal.Notify early 2023-12-12 04:46:08 -06:00
29b8477e7a Reorganize variables/funcs/type declarations, fix unnecessary Sprintf, move type def to types.go 2023-12-12 04:16:18 -06:00
cc2536ab99 Fix responseText format tokens 2023-12-12 03:20:43 -06:00
df8adc32b5 Fix cache expiry, fix location parsing zip code instead of value attr 2023-12-12 03:20:36 -06:00