Commit Graph

46 Commits

Author SHA1 Message Date
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
c34f390051 Setup StoreCode operations in command 2023-12-12 03:11:21 -06:00
4da78a9bab Add map accessible cacheLocations 2023-12-12 03:11:00 -06:00
31d2daeaee Change footer text format 2023-12-12 03:10:44 -06:00
a991d9cdee Fix StoreCode bool return, add GetCode 2023-12-12 03:10:34 -06:00
fdb2a48cf7 Add redis setup & initialization, db.StoreCommand function 2023-12-12 02:49:39 -06:00
ba1d02d146 Add code registration command /code 2023-12-12 02:49:18 -06:00
6b1f5de849 Update .gitignore with binary 2023-12-12 02:08:08 -06:00
933c1c6892 Embed commit id into footer at compile time, use switch for autocomplete focus flow 2023-12-12 02:07:49 -06:00
bd461217a0 Add docs to helper functions 2023-12-12 01:46:50 -06:00
2e7460e658 FilterLocations string filtering implementation 2023-12-12 01:41:53 -06:00
c6b83b883c Move command definition/handler into commands.go 2023-12-12 01:39:04 -06:00
2f593aeb6a Add LICENSE GNU GPL v3 2023-12-12 01:34:41 -06:00
108102c41e Defer idle connection closing, seed random location selection with user ID & moving interval 2023-12-12 01:27:49 -06:00
9f2941cbd2 Generic GetRandomItems with seeding, partial FilterLocations for querying 2023-12-12 01:27:15 -06:00
7240eaeea2 Request/response body debugging for spent buffers 2023-12-12 01:26:34 -06:00
72d32d672e Working reload() cookie initialization, location parsing, location caching 2023-12-12 01:26:05 -06:00
f7820653c5 Work on GetLocations() to retrieve, cut out supportedLanguages call unnecessary 2023-12-11 23:58:02 -06:00
3121b1615e Invoke reload() in main, location autocomplete testing 2023-12-11 23:57:38 -06:00
4f20cad02a SetTypicalHeaders func, fix error with never using baseURL intrinsically for BuildRequestWithBody 2023-12-11 23:57:13 -06:00
de660f15ea Add goquery html parsing pkg 2023-12-11 23:56:40 -06:00
b453018194 Update .gitignore, update README 2023-12-11 23:56:27 -06:00
25d329f8ce Add request/response debug format functions 2023-12-11 23:56:15 -06:00
13ba67503b Add .gitignore 2023-12-11 20:27:13 -06:00
56c9917011 Begin building API functions, add module import def 2023-12-11 20:26:50 -06:00
0024dd6191 Copy helper functions 2023-12-11 20:25:27 -06:00
941e6ac531 Module setup, initial command handling & bot initialization 2023-12-11 20:25:17 -06:00
225a2a78aa Add README 2023-12-11 20:24:55 -06:00