Commit Graph

77 Commits

Author SHA1 Message Date
bel
4a25e7dc0f make working hours, weekdays configurable by impl ntg 2022-01-30 08:34:14 -07:00
bel
0ded04f072 cache last ntg result for off hours 2022-01-29 18:59:16 -07:00
bel
72c6ef9619 fuck backwards bool 2022-01-29 18:44:13 -07:00
bel
546805cd71 log 2022-01-29 18:40:13 -07:00
Bel LaPointe
9e24ca3c65 fix offset to not need system timezone 2022-01-27 20:04:31 -07:00
Bel LaPointe
6551fb906d only do ntgvision searches 9-4 EST because 417s mean unauth until forced pw reset 2022-01-27 19:53:50 -07:00
Bel LaPointe
8768857fbe job filters by zip or state depending on config 2022-01-27 18:35:40 -07:00
Bel LaPointe
64f1488a91 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
00368c50ff ntgvision maps zips to states then does same query 2022-01-27 18:14:49 -07:00
Bel LaPointe
a41ea7d501 move radius miles to broker level 2022-01-27 17:39:20 -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
5406250af3 states are explicit 2022-01-27 17:27:08 -07:00
Bel LaPointe
5174a876ef maybe cookies are lowkey one header but delimited 2022-01-27 16:59:42 -07:00
bel
fa4dd1a518 unit tests are good 2022-01-27 15:53:12 -07:00
bel
34f16f3259 configurable fastexact radius 2022-01-27 15:49:59 -07:00
Bel LaPointe
d7339c855e if parse script to redir, then return no auth 2022-01-27 15:37:58 -07:00
Bel LaPointe
0ab4b795bd return errnoauth on 401-403 for fe 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
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
Bel LaPointe
16bf70a276 ntg vision doesnt export excess 2022-01-27 14:02:37 -07:00
Bel LaPointe
b02f0f28c8 bash scripts show its all cookie phpsessid 2022-01-27 14:02:37 -07:00
Bel LaPointe
2e9e0c5816 try another cookie format, ntg submits ntgauthtoken as cookie 2022-01-27 14:01:13 -07:00
Bel LaPointe
ba2156133a cookie jar go 2022-01-27 11:00:05 -07:00
bel
60c88375ad wip 2022-01-27 10:38:41 -07:00
bel
8c6b55301d moer logging 2022-01-27 08:13:32 -07:00
bel
3c36948269 whoops cant compile 2022-01-27 07:49:46 -07:00
bel
bc2efe928a better ntg errs 2022-01-27 07:47:55 -07:00
bel
b451ed93bf origin from date lower 2022-01-18 11:27:32 -07:00
bel
31a608d7f8 whoops tahts not an err 2022-01-18 07:46:24 -07:00
bel
0c3419a1fb impl job uid in case somebody reuses ids 2022-01-18 07:42:23 -07:00
bel
6ea4d4700c whoops dont reuse not same uri 2022-01-18 06:40:55 -07:00
bel
451f741f5a wrap errs for easier read 2022-01-18 06:37:06 -07:00
bel
ced1afff88 manual test new deleting stale crud 2022-01-17 22:00:23 -07:00
bel
ffa33ea299 when a job dies, delete images associated with it 2022-01-17 21:57:33 -07:00
bel
92b6019052 on job no longer in results, delete from matrix;; no backwards compatible 2022-01-17 21:29:56 -07:00
bel
d37f60bb3a assert SOS is K for bad ntg auth 2022-01-17 18:45:46 -07:00
bel
a6d5ae606a SOS alert on ntg fail auth 2022-01-17 18:43:57 -07:00
bel
73ccc22fd5 to internal logger for levels, all encompassing path 2022-01-17 18:16:23 -07:00
Bel LaPointe
937f91bbf6 from literal to existing config 2022-01-14 10:41:49 -05:00
Bel LaPointe
bda1fd6f15 Mock ntg search job info 2022-01-14 10:40:49 -05:00
Bel LaPointe
55b6f48314 make pays more obvious 2022-01-14 08:56:25 -05:00
Bel LaPointe
cf421e414c remove config ntg token from code 2022-01-14 08:43:41 -05:00
Bel LaPointe
c1cdc6dc0c refac 2022-01-14 08:40:37 -05:00