Commit Graph

  • b6f43c9c8f Fix format specifier, limit embed field length to 256 chars master Xevion 2024-06-09 22:31:47 -05:00
  • b964bfc565 docs, provide genuine existence return for GetCode getter func Xevion 2024-06-09 22:25:41 -05:00
  • 6453955d96 Improve HandleError message formatting, footer & wrapped errors Xevion 2024-06-09 21:57:52 -05:00
  • 92849b83ba Validate location existence, validate code pattern Xevion 2024-06-09 18:44:26 -05:00
  • 87e7da60fa Add more comments, fix snake case vars Xevion 2024-06-09 18:43:31 -05:00
  • a5d0e70080 Add locations HTML sample Xevion 2024-06-09 18:41:06 -05:00
  • 40490f5d50 Open up RegisterVehicle result processing for timestamps on denials Xevion 2024-06-09 14:43:43 -05:00
  • 52c84c02be Add denied sample Xevion 2024-06-09 14:07:33 -05:00
  • 800bc54fbf Use regex to filter which levels can match Xevion 2024-03-09 17:52:53 -06:00
  • a72de046e1 Split output into stdout/stderr based on log level Xevion 2024-03-09 17:48:29 -06:00
  • 5e31522491 Don't panic when .env file cannot be loaded Xevion 2024-03-09 17:31:11 -06:00
  • 0235473616 Fix incorrect method for register vehicle (POST) Xevion 2024-02-28 04:42:31 -06:00
  • 980f4ebead Fix submission context identifier acquisition/parse, use RegisterVehicle email API Xevion 2024-02-28 04:36:59 -06:00
  • e41878f070 Properly acquire resident profile Id for VIP forms Xevion 2024-02-28 04:35:33 -06:00
  • ed931d0df8 Use SubmissionContexts global to inform RegisterVehicle call params Xevion 2024-02-28 04:11:15 -06:00
  • 43f1ca8fa2 Add RegisterVehicle API response parsing Xevion 2024-02-28 04:10:43 -06:00
  • 8b5dc0835a Always log, add red color to error handler response Xevion 2024-02-28 04:09:53 -06:00
  • fb2e178e93 Parse, log, and use residentId for submission contexts before modal emit Xevion 2024-02-28 04:09:41 -06:00
  • aebc99bf84 Extract approved response partial into HTML sample Xevion 2024-02-28 04:09:13 -06:00
  • d45d64a26f Remove unused scan functionality Xevion 2024-02-28 03:06:39 -06:00
  • d5b5708ae9 Upload HAR samples Xevion 2024-02-28 03:06:31 -06:00
  • 15def57676 Add email confirmation API func, fix TODOs Xevion 2024-02-02 13:27:12 -06:00
  • 2ae78890e9 Fix interaction identifier, improve focused option finding Xevion 2024-02-02 13:18:25 -06:00
  • 254cc2e0b3 Map modal submission by identifier, acquire & print email Xevion 2024-02-02 13:16:35 -06:00
  • dcae3519ea Fix empty component being added, rename form converter Xevion 2024-02-02 13:15:58 -06:00
  • 686caa11b4 Add & use lo[dash], breakup & improve CMD option search/link Xevion 2024-02-02 11:46:34 -06:00
  • 4f01635b69 Add .env notes to README Xevion 2024-02-02 11:45:48 -06:00
  • e6da0d0fae Add unhanlded focus option for register command, improve both, comments Xevion 2023-12-22 16:37:38 -06:00
  • 25158efd5a Improve logs, remove messageID ref Xevion 2023-12-20 08:26:30 -06:00
  • 9fa279de4b Provide context aware logging for command handlers Xevion 2023-12-20 08:21:31 -06:00
  • 473690bbd1 Switch to field-based logging (main.go, api.go) Xevion 2023-12-20 08:18:29 -06:00
  • a6e47a33e6 Use flag.Args() to handle flag + normal arguments Xevion 2023-12-20 08:17:44 -06:00
  • f87e6d31fa Add timedmap mod, RegisterContext struc type Xevion 2023-12-20 07:55:49 -06:00
  • a915e80d7a Rename code requirement data funcs Xevion 2023-12-20 07:55:33 -06:00
  • 074fc0ee51 Switch logs to contextual fields, setup modal submit context, use message ID, improve comments Xevion 2023-12-20 07:55:15 -06:00
  • e5e63b93db Extract residentProfileId, setup RegisterVehicle func/body/req Xevion 2023-12-20 07:53:56 -06:00
  • 0f804b1ba3 Setup TODOs for register modal submit Xevion 2023-12-20 02:22:42 -06:00
  • b5920e54e2 Ignore & remove confirmation form field Xevion 2023-12-19 08:10:11 -06:00
  • b2915f6faf registration flow, improve error handling, code requirement/removal Xevion 2023-12-19 08:04:58 -06:00
  • 16861ec98c Error handling helper for interactions Xevion 2023-12-19 08:03:46 -06:00
  • cd33333b55 Code requirement db funcs, enum, code removal Xevion 2023-12-19 08:01:43 -06:00
  • 511b776cc7 Setup proper modal interaction handlers using CustomID string slice Xevion 2023-12-19 08:01:08 -06:00
  • 7314e0ad1c Fix VIP form URL Xevion 2023-12-19 08:00:25 -06:00
  • 5a9c01ab31 Pretty printing with spew Xevion 2023-12-17 06:49:48 -06:00
  • be9ce7070d Update README.md Xevion 2023-12-17 06:49:34 -06:00
  • 69581c6ddd Add default case component definition Xevion 2023-12-17 06:11:38 -06:00
  • 71032b22fe Fix FormToComponents only adding licnese plates, add default for unexpected component Xevion 2023-12-17 06:11:06 -06:00
  • c47e8ea2e3 Enable ModalSubmit interactions, handler switch, default warning Xevion 2023-12-17 06:05:58 -06:00
  • 8597308f7c Begin switching over to modal-based dynamic fields Xevion 2023-12-17 06:05:27 -06:00
  • 5b4da7b0c3 Simplify onRequest/onResponse/client.Do calls with doRequest Xevion 2023-12-17 04:55:05 -06:00
  • 4f384618bc Reload session on bot login event Xevion 2023-12-17 04:54:46 -06:00
  • 3e8be4bddd Separate parsing into parse.go, add separate VIP get Xevion 2023-12-17 04:40:14 -06:00
  • 3495579ebf Non-VIP Form getter Xevion 2023-12-15 08:36:08 -06:00
  • 52bf7f9484 Improve logging, use time.Time for lastReload var Xevion 2023-12-15 06:57:46 -06:00
  • f0da57c723 Improve log timestamp format Xevion 2023-12-15 06:47:19 -06:00
  • b3b19a8a99 Remove reload func name arg, add log/comment Xevion 2023-12-15 06:44:39 -06:00
  • b5ee5bec0c Replace log with logrus for level based logging, add debug flag Xevion 2023-12-15 06:40:10 -06:00
  • ca136634c9 Fix session variable redefinition Xevion 2023-12-15 06:16:38 -06:00
  • f42798f498 Remove TODOs for various URL hits, PHPSESSID verification Xevion 2023-12-15 06:13:56 -06:00
  • 490cd9c911 Rename Bot main function Xevion 2023-12-15 05:58:01 -06:00
  • a23d9e881f Add scan function for downloading every form variation Xevion 2023-12-12 05:17:04 -06:00
  • c970ee4ef8 Capture data-locate-key for new GetForm API functions Xevion 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 Xevion 2023-12-12 04:46:08 -06:00
  • 29b8477e7a Reorganize variables/funcs/type declarations, fix unnecessary Sprintf, move type def to types.go Xevion 2023-12-12 04:16:18 -06:00
  • cc2536ab99 Fix responseText format tokens Xevion 2023-12-12 03:20:43 -06:00
  • df8adc32b5 Fix cache expiry, fix location parsing zip code instead of value attr Xevion 2023-12-12 03:20:36 -06:00
  • c34f390051 Setup StoreCode operations in command Xevion 2023-12-12 03:11:21 -06:00
  • 4da78a9bab Add map accessible cacheLocations Xevion 2023-12-12 03:11:00 -06:00
  • 31d2daeaee Change footer text format Xevion 2023-12-12 03:10:44 -06:00
  • a991d9cdee Fix StoreCode bool return, add GetCode Xevion 2023-12-12 03:10:34 -06:00
  • fdb2a48cf7 Add redis setup & initialization, db.StoreCommand function Xevion 2023-12-12 02:49:39 -06:00
  • ba1d02d146 Add code registration command /code Xevion 2023-12-12 02:49:18 -06:00
  • 6b1f5de849 Update .gitignore with binary Xevion 2023-12-12 02:08:08 -06:00
  • 933c1c6892 Embed commit id into footer at compile time, use switch for autocomplete focus flow Xevion 2023-12-12 02:07:49 -06:00
  • bd461217a0 Add docs to helper functions Xevion 2023-12-12 01:46:50 -06:00
  • 2e7460e658 FilterLocations string filtering implementation Xevion 2023-12-12 01:41:53 -06:00
  • c6b83b883c Move command definition/handler into commands.go Xevion 2023-12-12 01:39:04 -06:00
  • 2f593aeb6a Add LICENSE GNU GPL v3 Xevion 2023-12-12 01:34:41 -06:00
  • 108102c41e Defer idle connection closing, seed random location selection with user ID & moving interval Xevion 2023-12-12 01:27:49 -06:00
  • 9f2941cbd2 Generic GetRandomItems with seeding, partial FilterLocations for querying Xevion 2023-12-12 01:27:15 -06:00
  • 7240eaeea2 Request/response body debugging for spent buffers Xevion 2023-12-12 01:26:34 -06:00
  • 72d32d672e Working reload() cookie initialization, location parsing, location caching Xevion 2023-12-12 01:26:05 -06:00
  • f7820653c5 Work on GetLocations() to retrieve, cut out supportedLanguages call unnecessary Xevion 2023-12-11 23:58:02 -06:00
  • 3121b1615e Invoke reload() in main, location autocomplete testing Xevion 2023-12-11 23:57:38 -06:00
  • 4f20cad02a SetTypicalHeaders func, fix error with never using baseURL intrinsically for BuildRequestWithBody Xevion 2023-12-11 23:57:13 -06:00
  • de660f15ea Add goquery html parsing pkg Xevion 2023-12-11 23:56:40 -06:00
  • b453018194 Update .gitignore, update README Xevion 2023-12-11 23:56:27 -06:00
  • 25d329f8ce Add request/response debug format functions Xevion 2023-12-11 23:56:15 -06:00
  • 13ba67503b Add .gitignore Xevion 2023-12-11 20:27:13 -06:00
  • 56c9917011 Begin building API functions, add module import def Xevion 2023-12-11 20:26:50 -06:00
  • 0024dd6191 Copy helper functions Xevion 2023-12-11 20:25:27 -06:00
  • 941e6ac531 Module setup, initial command handling & bot initialization Xevion 2023-12-11 20:25:17 -06:00
  • 225a2a78aa Add README Xevion 2023-12-11 20:24:55 -06:00