Grant Limberg
3bbf194594
pubsub writer should work now
2025-10-01 16:25:27 -07:00
Grant Limberg
fb75369597
throwing stuff at the wall cuz I can't actually debug this right now
2025-10-01 16:08:06 -07:00
Grant Limberg
a8b5c89efa
think this is where things are crashing, but I'm not sure why yet. Comment it out to make sure
2025-10-01 15:05:34 -07:00
Grant Limberg
80f82132dd
fix tags/capabilities?
2025-10-01 14:00:17 -07:00
Grant Limberg
7faf705e10
make the default an empty array here
2025-10-01 13:33:02 -07:00
Grant Limberg
1f557b516f
more debug output
2025-10-01 13:30:25 -07:00
Grant Limberg
aecd7fdace
more logging
2025-10-01 13:13:58 -07:00
Grant Limberg
dad1a1eda6
more logging
2025-10-01 13:12:45 -07:00
Grant Limberg
f028213c7f
debug output
2025-10-01 12:40:50 -07:00
Grant Limberg
b4f018b918
debug output from parsing pubsub messages
2025-10-01 09:07:08 -07:00
Grant Limberg
20a67ab1de
fix attempted null -> string conversion
2025-10-01 08:06:40 -07:00
Grant Limberg
02908e5202
stray ` got in there
2025-09-30 10:52:00 -07:00
Grant Limberg
97d20a1155
more logging for errors on pubsub listener
2025-09-30 10:32:21 -07:00
Grant Limberg
315bf240fc
json field fix
2025-09-25 16:34:08 -07:00
Grant Limberg
c6b7c263d2
query fix for new networks
2025-09-25 16:09:57 -07:00
Grant Limberg
e51e516f85
fix subscription creation
2025-09-25 15:38:28 -07:00
Grant Limberg
069d7c1862
set objtype on messages received via PubSub
2025-09-25 15:14:30 -07:00
Grant Limberg
6196e87303
only create the subscription if pubsub emulator is being used.
2025-09-22 16:32:28 -07:00
Grant Limberg
d96d3b27d2
try making the controller attach to an existing pubsub subscription if it already exists
2025-09-22 10:52:06 -07:00
Grant Limberg
6113bad61e
make pubsub topics configurable
...
Also for pubsub trips back to CV1/CV2, rather than having 2 queues for each service (networks & members), theres now only a single queue for each change type, and `frontend = (cv1|cv2)` attribute is set on the message for filtering.
2025-09-18 09:33:04 -07:00
Grant Limberg
493cc4fe4f
fix version string
2025-09-10 08:13:56 -07:00
Grant Limberg
7aa451bec1
clean up deprecation warnings in pqxx
2025-09-10 07:43:21 -07:00
Grant Limberg
012443acfa
wire up pubsub notifications from controller to frontend
2025-09-08 16:01:50 -07:00
Grant Limberg
ee87eb3101
removing some log output
2025-09-08 11:34:03 -07:00
Grant Limberg
facca364fb
only update os, architecture and client version if they've changed (or don't exist)
2025-09-08 11:00:17 -07:00
Grant Limberg
1d65c1e43e
back to bulk apply for status updates in BigTable
2025-09-08 10:50:10 -07:00
Grant Limberg
1ba4ccd98d
pass version info to status writer
2025-09-08 10:46:01 -07:00
Grant Limberg
934aa93ef8
forgot a ;
2025-09-08 10:32:57 -07:00
Grant Limberg
88f08fa58c
append 8 random hex chars to the subscription id
2025-09-08 10:29:30 -07:00
Grant Limberg
f51bfdb666
delete pubsub subscription on shutdown
2025-09-08 10:25:32 -07:00
Grant Limberg
190d836b42
alloc meatadata with new so pubsub can delete it
2025-09-08 09:49:26 -07:00
Grant Limberg
006ced2900
more fixes
2025-09-08 09:05:00 -07:00
Grant Limberg
71d68e9a60
fix stack corruption in DB::get
2025-09-08 08:49:23 -07:00
Grant Limberg
36219c59ae
compiler on mac doesn't like this. not really needed though
2025-09-06 15:02:48 -07:00
Grant Limberg
3d72a43a19
misc bugfixes
2025-09-06 12:37:28 -07:00
Grant Limberg
024824c2fe
wire up pubsub outgoing status changes from controller -> CV2
2025-09-05 14:52:16 -07:00
Grant Limberg
74f0525470
Add frontend column to networks & network_memberships tables so the controller knows which system owns the networks & members
2025-09-05 08:43:06 -07:00
Grant Limberg
ba6200fb96
add a ChangeSource enum to the change protobuf messages
2025-09-05 08:19:32 -07:00
Grant Limberg
282d7c7f9d
another fix
2025-09-04 17:45:38 -07:00
Grant Limberg
48ff61b392
fix
2025-09-04 17:28:14 -07:00
Grant Limberg
a061c86594
fix
2025-09-04 17:00:15 -07:00
Grant Limberg
a18e370d48
another query fix
2025-09-04 16:31:16 -07:00
Grant Limberg
e9565cf97c
another query fix
2025-09-04 16:12:21 -07:00
Grant Limberg
3b7958aec1
another query fix
2025-09-04 16:07:28 -07:00
Grant Limberg
20746b2754
query fix
2025-09-04 15:41:33 -07:00
Grant Limberg
f33e706887
get a running controller in docker
2025-09-04 11:42:53 -07:00
Grant Limberg
686653509a
debug printf
2025-09-04 11:27:59 -07:00
Grant Limberg
ce84de605d
and instead of or in postgres check
2025-09-04 11:24:01 -07:00
Grant Limberg
d31b3a08db
set ZT_AES_NEON for arm64
2025-09-03 10:08:16 -07:00
Grant Limberg
7c1bfc97c4
setup github action for building
2025-09-03 08:18:56 -07:00