Grant Limberg
b4f018b918
debug output from parsing pubsub messages
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
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
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
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
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ Central Controller Build (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
/ multi-arch-docker (push) Has been cancelled
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
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
2025-09-25 15:14:30 -07:00
Grant Limberg
6196e87303
only create the subscription if pubsub emulator is being used.
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ Central Controller Build (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
/ multi-arch-docker (push) Has been cancelled
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
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
2025-09-22 10:52:06 -07:00
Grant Limberg
6113bad61e
make pubsub topics configurable
...
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ Central Controller Build (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
/ multi-arch-docker (push) Has been cancelled
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
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
2025-09-10 08:13:56 -07:00
Grant Limberg
7aa451bec1
clean up deprecation warnings in pqxx
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
2025-09-10 07:43:21 -07:00
Grant Limberg
012443acfa
wire up pubsub notifications from controller to frontend
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ Central Controller Build (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
/ multi-arch-docker (push) Has been cancelled
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)
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
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
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
2025-09-06 12:37:28 -07:00
Grant Limberg
024824c2fe
wire up pubsub outgoing status changes from controller -> CV2
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
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
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
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
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ Central Controller Build (push) Waiting to run
/ multi-arch-docker (push) Blocked by required conditions
/ build_ubuntu (push) Waiting to run
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
Grant Limberg
70f9fe0412
update central controller readme with config block
2025-09-02 14:15:28 -07:00
Grant Limberg
0753556aa3
wire up configuration.
...
New config block in local.conf for controllers:
```
{
"settings": {
...standard zt1 local.conf settings...
},
"controller": {
"listenMode": (pgsql|redis|pubsub),
"statusMode": (pgsql|redis|bigtable),
"redis": {
"hostname": ...,
"port": 6379,
"clusterMode": true
},
"pubsub": {
"project_id": <gcp-project-id>
},
"bigtable": {
"project_id": <gcp-project-id>,
"instance_id": <bigtable-instance-id>,
"table_id": <bigtable-table-id>
}
}
}
```
2025-09-02 14:06:24 -07:00
Grant Limberg
a5bd262b3a
Wiring through initialization of the CentralDB version of the controller
...
Still need to do the actual configuration from local.conf
2025-09-02 13:30:08 -07:00
Grant Limberg
4ddb1fbe58
Create the pubsub topic if it doesn't exist
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-09-02 07:49:41 -07:00
Grant Limberg
195d5b47f0
Merge branch 'adam/1.16' into gl/ctl-pubsub
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-09-01 16:47:55 -07:00
Adam Ierymenko
0d3ed4769e
Merge branch 'dev' of github.com:/zerotier/ZeroTierOne into adam/1.16
2025-08-25 11:07:29 -07:00
Grant Limberg
564d29e445
fix include
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-08-12 10:52:25 -07:00
Adam Ierymenko
c668990b4d
Remove ancient unused LFDB code and change license notice in controller files.
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-08-11 17:19:05 -04:00
Adam Ierymenko
f319078694
Merge github/dev
2025-08-05 11:03:59 -04:00