Commit Graph

201 Commits

Author SHA1 Message Date
bel
60f19968e3 add ntg configurable work hours, weekdays 2022-01-30 08:29:06 -07:00
bel
c62d84b40a cache last ntg result for off hours v0.5.6 2022-01-29 18:59:16 -07:00
bel
1a072fee59 Merge branch 'master' of http://gogs.scratch.com:59515/bel/truckstop v0.5.5 2022-01-29 18:44:21 -07:00
bel
c4213e697d fuck backwards bool 2022-01-29 18:44:13 -07:00
bel
934a306bc9 log v0.5.4 2022-01-29 18:40:13 -07:00
Bel LaPointe
82bdbb1f3b todo 2022-01-27 20:18:13 -07:00
Bel LaPointe
b090cb86a5 fix offset to not need system timezone v0.5.3 2022-01-27 20:04:31 -07:00
Bel LaPointe
e42df54632 only do ntgvision searches 9-4 EST because 417s mean unauth until forced pw reset v0.5.2 2022-01-27 19:53:50 -07:00
Bel LaPointe
0120fdd0e2 accept !radius for miles radius search v0.5.1 2022-01-27 19:21:03 -07:00
Bel LaPointe
eab73aec04 include one very nice log 2022-01-27 19:00:40 -07:00
Bel LaPointe
bd9dca9766 remove unwanted from help, only print !zip or !state as configured v0.5.0 2022-01-27 18:53:56 -07:00
Bel LaPointe
56f7d093ef fix typo in config.json for == in query 2022-01-27 18:49:05 -07:00
Bel LaPointe
62b413c033 debug to verbose logs 2022-01-27 18:46:59 -07:00
Bel LaPointe
3adcee2fbe whoosp backwards if body 2022-01-27 18:41:58 -07:00
Bel LaPointe
e916b5abfc job filters by zip or state depending on config 2022-01-27 18:35:40 -07:00
Bel LaPointe
211ef64261 support logging zip changes 2022-01-27 18:27:01 -07:00
Bel LaPointe
bb8e2a18ef main will search zips if Broker.UseZips, ntg does its own filtering by city-state dist from search-zips 2022-01-27 18:20:52 -07:00
Bel LaPointe
d2cf8c74a2 ntgvision maps zips to states then does same query 2022-01-27 18:14:49 -07:00
Bel LaPointe
db289cb5c8 impl and test zip.Get, MilesTo, GetStatesWithin, FromCityState 2022-01-27 18:11:11 -07:00
Bel LaPointe
128c98dfbd impl zip.Get for translating zip to info and calc dist 2022-01-27 17:58:00 -07:00
Bel LaPointe
a41ea7d501 move radius miles to broker level 2022-01-27 17:39:20 -07:00
Bel LaPointe
d38555a555 move usezips to brokers 2022-01-27 17:37:36 -07:00
Bel LaPointe
d7d523b0a7 impl fastexact SearchZips and dedupe diff-id same-job for fastexact 2022-01-27 17:36:17 -07:00
Bel LaPointe
649bae91f2 get zip dump including lat lng 2022-01-27 17:29:41 -07:00
Bel LaPointe
5406250af3 states are explicit 2022-01-27 17:27:08 -07:00
Bel LaPointe
e19cd7095d add zip to configs 2022-01-27 17:23:33 -07:00
Bel LaPointe
0013db850c Merge branch 'master' of http://192.168.0.86:59515/bel/truckstop 2022-01-27 17:20:39 -07:00
Bel LaPointe
d978a398b1 todo 2022-01-27 17:15:10 -07:00
bel
e7782d4ff5 todo zip code wish liist 2022-01-27 17:12:05 -07:00
Bel LaPointe
5174a876ef maybe cookies are lowkey one header but delimited v0.4.5 2022-01-27 16:59:42 -07:00
bel
2ef92d25db Merge branch 'master' of http://gogs.scratch.com:59515/bel/truckstop 2022-01-27 16:35:08 -07:00
Bel LaPointe
d456de12e8 logs but no changes 2022-01-27 16:34:53 -07:00
Bel LaPointe
c56acbc120 Merge branch 'master' of http://gogs.scratch.com:59515/bel/truckstop 2022-01-27 16:24:21 -07:00
Bel LaPointe
ae4c5bd886 backward compatible from ID to uid for sent_jobs 2022-01-27 16:22:58 -07:00
bel
bee6fcfc8d log because i think i deploy bad 2022-01-27 16:05:17 -07:00
bel
fa4dd1a518 unit tests are good v0.4.2 2022-01-27 15:53:12 -07:00
bel
34f16f3259 configurable fastexact radius 2022-01-27 15:49:59 -07:00
bel
adebff5c40 add per broker enable 2022-01-27 15:45:27 -07:00
Bel LaPointe
d7339c855e if parse script to redir, then return no auth v0.4.1 2022-01-27 15:37:58 -07:00
Bel LaPointe
0ab4b795bd return errnoauth on 401-403 for fe v0.4.0 2022-01-27 15:28:00 -07:00
Bel LaPointe
9427e85202 add fastexact to main 2022-01-27 15:25:19 -07:00
Bel LaPointe
5742a215b1 try suppressing logs but we 2022-01-27 15:24:04 -07:00
Bel LaPointe
a742433a56 update config for fastexact, gzip decompress fastexact at parse time 2022-01-27 15:22:04 -07:00
Bel LaPointe
bbe4c4b6ae impl real fe do req 2022-01-27 15:03:07 -07:00
Bel LaPointe
1359be1db4 impl fast exact parse 2022-01-27 15:01:38 -07:00
Bel LaPointe
12fd38ad2c add goquery 2022-01-27 14:19:25 -07:00
Bel LaPointe
37a18acdfe testdata fastexact search response 2022-01-27 14:18:55 -07:00
Bel LaPointe
9ff1302a73 broker hopefully skips "" cookies 2022-01-27 14:08:01 -07:00
Bel LaPointe
99c6c9179a fast exact not done 2022-01-27 14:02:52 -07:00
Bel LaPointe
34fc5fbc5c stub 2022-01-27 14:02:51 -07:00