Commit Graph

153 Commits

Author SHA1 Message Date
Bel LaPointe
f90ec3917b get matrix messages for all clients because commands, refresh config and matrix recv on boot, assert broc works for never recv 2022-01-11 23:27:45 -05:00
Bel LaPointe
8f681c7927 nest a function for readable 2022-01-11 23:13:36 -05:00
Bel LaPointe
4ffc6bba8c Add pause until, store as unix second, to disable a user for a time 2022-01-11 23:11:42 -05:00
Bel LaPointe
9840be93f6 add pauseuntil field to pause clients individually 2022-01-11 23:03:50 -05:00
Bel LaPointe
95bb4de13a todo 2022-01-11 22:58:52 -05:00
Bel LaPointe
d361c2164f move limiting into foo 2022-01-11 22:58:06 -05:00
Bel LaPointe
b54be3c32c add generic and auth rate limiting to ntg 2022-01-11 22:56:03 -05:00
Bel LaPointe
e546034c26 multi-client but one ntg search, nontrivial config.json change 2022-01-11 22:54:18 -05:00
Bel LaPointe
5a4bcecac7 remove email scrape 2022-01-11 22:23:57 -05:00
Bel LaPointe
6569631928 on set new states, send confirmation message v0.0.7 2022-01-11 22:21:45 -05:00
Bel LaPointe
e963162303 todo 2022-01-11 17:06:56 -05:00
Bel LaPointe
ac9ccf633a Setnewstates as method, sort, check and set to skip noop v0.0.6 2022-01-11 17:04:16 -05:00
Bel LaPointe
b4007a8eb5 todo 2022-01-11 16:59:41 -05:00
Bel LaPointe
358eb0a724 change interval email 2022-01-11 09:47:21 -05:00
Bel LaPointe
2d0586bea4 wait 2m before ntg auth refresh v0.0.5 2022-01-11 09:43:14 -05:00
Bel LaPointe
22b8e0fb70 receive from enabled 2022-01-11 09:42:42 -05:00
Bel LaPointe
aef22d0a8b new room unencrypted in matrix, impl matrix recv 2022-01-11 09:23:15 -05:00
Bel LaPointe
550ce91a7f accept more noauth codes from ntg v0.0.4 2022-01-11 08:35:07 -05:00
Bel LaPointe
9d8f561b54 logs 2022-01-11 08:24:46 -05:00
Bel LaPointe
e12299ac20 add config name for identifying who wants what 2022-01-11 08:16:02 -05:00
Bel LaPointe
29ae26153f add logs v0.0.3 2022-01-11 07:58:08 -05:00
Bel LaPointe
8109bb3fa0 sleep on start before getting email 2022-01-11 07:57:11 -05:00
Bel LaPointe
27605997c1 emailer configurable interval v0.0.2 2022-01-11 07:50:58 -05:00
Bel LaPointe
6c455764e1 durations are now optionally spans for jitter v0.0.1 2022-01-11 07:39:24 -05:00
Bel LaPointe
31a3d4948b separate ok and err intervals for sleep, dont exit on err 2022-01-11 07:39:07 -05:00
Bel LaPointe
6e6fd0dd2d todo v0.0.0 2022-01-11 00:03:38 -05:00
Bel LaPointe
392578bb54 fix and test email parsing, add mock matrix 2022-01-11 00:02:00 -05:00
Bel LaPointe
ec2b514a9f job has multiline formatter 2022-01-10 23:00:45 -05:00
Bel LaPointe
2791ba6763 todo 2022-01-10 22:20:08 -05:00
Bel LaPointe
cfbed43632 send messages to matrix 2022-01-10 22:18:24 -05:00
Bel LaPointe
1ef59469a0 poc matrix 2022-01-10 22:01:52 -05:00
Bel LaPointe
faf2539825 impl ntg auth refresh-cache 2022-01-10 20:44:07 -05:00
Bel LaPointe
7f770b1a00 ensure logged in script 2022-01-10 10:25:00 -05:00
Bel LaPointe
f4c4e9cfbc add emailer enabled to config, added todo since its a little wrong 2022-01-10 00:26:01 -05:00
Bel LaPointe
70f15434ff lock to ensure email finishes call 2022-01-10 00:23:39 -05:00
Bel LaPointe
3d76fffdd3 can pull states from email and fill config file 2022-01-10 00:21:56 -05:00
Bel LaPointe
366b35d76b path to refreshing states from email that doesnt work over vpn 2022-01-09 23:42:53 -05:00
Bel LaPointe
485293466e go mod emailer 2022-01-09 23:05:02 -05:00
Bel LaPointe
db64594c51 get app pw 2022-01-09 23:04:13 -05:00
Bel LaPointe
1f75dda04d todo 2022-01-09 22:57:00 -05:00
Bel LaPointe
afa1bdf56f ntg confirmed ok, back to mock 2022-01-09 22:50:34 -05:00
Bel LaPointe
1320bd1884 impl ntg remote search 2022-01-09 22:43:16 -05:00
Bel LaPointe
a5d42fe556 add once 2022-01-09 22:29:46 -05:00
Bel LaPointe
b5c1c13060 rm unreachable 2022-01-09 22:28:56 -05:00
Bel LaPointe
ddd4ec5457 rm unreachable 2022-01-09 22:28:49 -05:00
Bel LaPointe
543a89ec93 call close db on global replace 2022-01-09 22:28:36 -05:00
Bel LaPointe
37c66244df impl stubbed out scrape and push 2022-01-09 22:28:03 -05:00
Bel LaPointe
ad9af0a5db parse ntg jobs and strigify them 2022-01-09 21:56:01 -05:00
Bel LaPointe
bf3c382877 impl config State and config Interval 2022-01-09 21:23:27 -05:00
Bel LaPointe
18215b42c0 update go mod pkg 2022-01-09 21:10:22 -05:00