Commit Graph

611 Commits

Author SHA1 Message Date
fed1846c6f need tres commas 2021-06-04 12:19:52 -07:00
f27d193cf6 . 2021-06-04 11:56:12 -07:00
7941b63543 another typo 2021-06-04 11:43:42 -07:00
21965ac8e8 yet another query fix 2021-06-04 11:40:03 -07:00
7ca2ecb421 put expiry time back on nc object 2021-06-04 11:39:52 -07:00
1dcfc03cbc another query fix 2021-06-04 11:22:30 -07:00
0702e581a1 remove some noisy log lines & fix a query error 2021-06-04 11:06:54 -07:00
c78792a705 moar temporary debug printfs 2021-06-04 11:00:51 -07:00
287c19e822 move this outside the auth block. If SSO is enabled, it should be checked whether authorized or not 2021-06-04 09:46:31 -07:00
bc901d613d check for nulls 2021-06-04 09:20:39 -07:00
6cb4c58d9a linux docker build 2021-06-03 18:30:32 -07:00
4f521baafd Big SSO update
make things hopefully work
2021-06-03 14:38:26 -07:00
81fda3f5b8 set a default and goes boom 🤦‍♂️ 2021-06-02 15:07:53 -07:00
91c4dfc7c0 database version 2021-06-02 14:49:12 -07:00
fc6d90a04a set the correct default 2021-06-02 14:27:58 -07:00
faf0c6bbfa make sure to commit on online notification thread 2021-06-02 14:08:09 -07:00
79f1e81745 debug printf typo & line break 2021-06-02 13:51:47 -07:00
7427961fcf bug fixes & debug code 2021-06-02 13:46:54 -07:00
d2f1d05a06 handle cases where authenticationURL and authenticationExpiryTime don't exist 2021-06-02 13:46:43 -07:00
19f4146aca make DB::_memberChanged and _networkChanged virtual 2021-06-02 13:46:11 -07:00
47154fa623 transiton to libpqxx & connection pool for central controllers 2021-06-02 11:44:00 -07:00
c2efdcabc5 fix 2021-05-28 15:01:42 -07:00
6d8c96b89f formatting 2021-05-28 14:19:13 -07:00
c470c6255e Postgres code for SSO (almost certainly needs work) 2021-05-28 17:08:24 -04:00
6b3a7ec827 Fix a few things... 2021-05-25 14:40:40 -04:00
1ce71f9dc0 Build fix. 2021-05-25 13:05:06 -04:00
18508b5a2e Build fix. 2021-05-25 13:04:14 -04:00
621898f3c5 Forgot to set auth info in NetworkConfig. 2021-05-25 13:02:06 -04:00
2c1d7f3dcc CLI printing of URL. 2021-05-25 12:58:33 -04:00
b270d527f4 Basic plumbing for authentication requirement and piping through of URL information. 2021-05-24 22:58:17 -04:00
d64c5a92c6 Merge pull request #1233 from dosuperuser/improvement/optimizations
Minor C++ optimizations
2020-11-24 19:24:36 -05:00
24769219b5 Merge branch 'dev' 2020-10-08 18:08:24 -04:00
c80843e496 Revert "remove redundant writes when changes come from Central"
This reverts commit f9396f979f.
2020-10-05 13:32:47 -07:00
f9396f979f remove redundant writes when changes come from Central
network & member changes tagged with `"fromCentral": true` will not be rewritten to the db
2020-10-05 11:03:03 -07:00
bb45f9ca3c Upgrade cpp-httplib 2020-09-30 15:21:58 -04:00
ff23d3051f self hosted controller JSON format fix for DNS 2020-09-23 12:16:23 -07:00
3db263284b not sure how this got reverted 2020-09-10 13:18:25 -07:00
43c108f077 missed a rollback 2020-08-26 15:50:36 -07:00
33cc59914a Merge branch 'dev-redis' into dev 2020-08-26 14:52:54 -07:00
45b6d11126 Put upserts from controller into single transaction 2020-08-26 14:52:23 -07:00
47e9fb3ddb Merge branch 'dev' of http://git.int.zerotier.com/zerotier/ZeroTierOne into dev 2020-08-25 08:07:23 -07:00
e7891bfcb0 Merge branch 'dev-redis' into dev 2020-08-21 16:29:13 -07:00
7f99c4a779 Sleep 10 seconds between writes to DB 2020-08-21 16:22:28 -07:00
06730c7d1d BSL date bump 2020-08-20 12:51:39 -07:00
c0c215c83c single dns config per network 2020-08-12 13:08:47 -07:00
058d888311 More debug logging cleanup 2020-08-12 10:00:09 -07:00
6868e98904 Get stuff building on Windows
Been a minute since any of this has been updated
2020-08-05 16:04:02 -07:00
d2708daa8e debug output 2020-08-04 14:33:18 -07:00
88a3c685fb latest 2020-08-04 13:52:57 -07:00
2e52a1eebf forgot a couple queries in postgres. trying to pull dns of member not network in embedded network controller
also some debug logging
2020-08-04 09:45:45 -07:00