Commit Graph

622 Commits

Author SHA1 Message Date
Cam
ec21146b4e
Merge branch 'main' of github.com:openziti/zrok into password-reset-fix 2024-02-14 13:42:33 -06:00
Cam
b6d42de92f
added security key to password changing 2024-02-14 13:18:22 -06:00
Cam
d57d72387f
few small fixes 2024-02-14 13:06:04 -06:00
Michael Quigley
7f66489270
fix for sqlite migration (#558) 2024-02-08 13:20:26 -05:00
Michael Quigley
1db29fdc11
store and api changes for socks backend (#558) 2024-02-08 13:11:19 -05:00
Cam
8d51fce2b8
remove cascading deletes 2024-02-07 15:07:43 -06:00
Cam
6a29ac0117
reset token updates 2024-01-31 14:35:28 -06:00
Michael Quigley
cfe13bd085
'zrok admin create account' 2024-01-30 12:59:56 -05:00
Cam
f7d4dfba1b
update error messaging 2024-01-25 10:01:38 -06:00
Cam
f77404b4db
update casing 2024-01-25 09:58:55 -06:00
Cam
bba9377b9f
initial work on token revocation 2024-01-25 09:55:45 -06:00
Cam
b69780908c
return 409 for share token collision. Have property table show strings to correctly render booleans. Fixes #531 and #443 2024-01-24 09:48:27 -06:00
Cam
5861cc7d7e
Add tab for user actions. First action is a password change 2024-01-23 10:20:02 -06:00
Cam
2b3b6ed012
updated password reset requests. Fixes #452 2024-01-18 11:14:32 -06:00
Cam Otts
53940d51ab
Tls supprt (#540)
* added tls support to controller and access proxies

* few pr comments
2024-01-17 15:37:46 -06:00
Michael Quigley
56b6e00618
improved resource cleanup resilience (#533) 2024-01-17 11:02:34 -05:00
Michael Quigley
7a0d835e30
fix for case sensitive email addresses (#517) 2024-01-08 10:50:19 -05:00
Michael Quigley
2afaa54afc
support for removing frontends through the web console and all associated plumbing (#515) 2024-01-05 13:26:18 -05:00
Michael Quigley
c5dfc98e8a
a better migration fix (#504) 2024-01-04 21:20:28 -05:00
Michael Quigley
95ec070ec2
fix for migration 015 on sqlite3 (#504) 2024-01-03 12:06:30 -05:00
Michael Quigley
5ef3924ac0
sqlite schema update to constrain token uniqueness only when not deleted (#123) 2023-12-08 12:54:31 -05:00
Michael Quigley
f61b2c9086
basic unique name implementation (#123) 2023-12-08 12:03:07 -05:00
Cam
30558a454b
move the go sdk into subdir 2023-11-21 13:27:17 -06:00
Michael Quigley
23a6f128d0
lint 2023-10-17 13:23:16 -04:00
Michael Quigley
83e7263fde
new backend mode 'drive' (#218) 2023-10-17 13:04:09 -04:00
Michael Quigley
2d6cd3a6ae
Merge pull request #410 from openziti/v0.4.8
Multiple Changes for v0.4.8
2023-10-17 11:02:37 -04:00
Michael Quigley
397fbf4f47
email deliverability improvements (#405) 2023-10-16 14:33:52 -04:00
guoguangwu
3e51dda5d0
fix: typo 2023-10-12 13:03:29 +08:00
Michael Quigley
22807406d6
frontend config polish (#404) 2023-09-25 14:15:19 -04:00
Michael Quigley
ed96a465a0
capitalization (#404) 2023-09-25 14:06:14 -04:00
Michael Quigley
ceee205239
reworking of zrok.proxy.v1 and associated config mapping (#404) 2023-09-25 14:04:05 -04:00
Ziti-Ci
a07552f0c4
fixed up auth check interval 2023-09-05 11:50:41 -05:00
Ziti-Ci
8e63548552
Merge branch 'main' into oauth-testing 2023-09-05 10:10:25 -05:00
Ziti-Ci
2b0dc71f93
updates to the oauth work 2023-09-05 09:55:55 -05:00
Michael Quigley
1c1d20700e
caddy backend store migrations (#391) 2023-08-21 16:04:31 -04:00
Michael Quigley
170b7d70f4
update sdk-golang dependency to correct openziti identity creation issue (#389) 2023-08-18 16:22:17 -04:00
Michael Quigley
7cc83e3e69
health check endpoint for checking both the SQL store and also influx (#372) 2023-08-08 13:48:34 -04:00
Michael Quigley
92262cf379
remove token from account created message 2023-07-31 15:18:29 -04:00
Ziti-Ci
18424a1b48
oauth updates 2023-07-18 13:03:43 -05:00
Michael Quigley
c26d325f61
generalized implementation of public/private share (#34) 2023-07-17 16:45:20 -04:00
Michael Quigley
c0503ae593
use sdk types/constants throughout the codebase for backend and share modes (#34) 2023-07-17 16:21:29 -04:00
Michael Quigley
141c9ae685
even better names for the common identities in the 'environment' (#34, #369) 2023-07-17 13:51:51 -04:00
Cam Otts
a8c76b2877
initial testing for oauth protecting shares 2023-07-17 09:44:05 -05:00
Michael Quigley
4713243e2c
further ziti identity naming cleanup (#369) 2023-07-14 10:14:32 -04:00
Michael Quigley
1c8ab67bf1
controller no longer needs an identity; identity management organization (#369) 2023-07-14 09:42:06 -04:00
Michael Quigley
04b0b64ebf
migrated all usages to the new package (#369) 2023-07-13 14:26:35 -04:00
Michael Quigley
c468c7ace9
environment -> env_v0_3 (#369) 2023-07-11 14:59:02 -04:00
Michael Quigley
ea71493f2f
zrokdir -> environment (#34) 2023-07-10 16:41:16 -04:00
Michael Quigley
75795b326b
cross-wire backend rx/tx (#356) 2023-06-26 16:58:32 -04:00
Michael Quigley
881c263132
fix for frontend detail handler 2023-06-26 16:47:09 -04:00
Michael Quigley
d09140b14e
error message improvements in amqpSink (#351) 2023-06-21 11:43:14 -04:00
Michael Quigley
c2021980fb
lint (#351) 2023-06-21 11:41:13 -04:00
Michael Quigley
5a2f6a1f72
simpler amqp sink approach (#351) 2023-06-21 11:33:43 -04:00
Michael Quigley
aabf695bec
interim step for enhacing ZitiEventJsonSink to support reconnection; bridge and model adjustments (#351) 2023-06-21 10:35:55 -04:00
Michael Quigley
17a2e66cb0
we can only skip missing ziti service ids when augmenting usage with zrok details 2023-06-16 13:51:57 -04:00
Michael Quigley
446485d74c
improved ingest logging 2023-06-16 13:41:53 -04:00
Michael Quigley
15ee4396f4
logging level tweaks 2023-06-16 13:28:41 -04:00
Michael Quigley
23c275f930
better handling of non-zrok usage data 2023-06-16 13:28:00 -04:00
Michael Quigley
36d267256f
tweaks for non-zrok traffic 2023-06-16 13:18:46 -04:00
Michael Quigley
1578ecca98
support for pprof endpoint 2023-06-16 11:52:42 -04:00
Michael Quigley
0e91c2687f
remove extraneous connect() call (#344) 2023-06-16 11:39:55 -04:00
Michael Quigley
dc3648f73d
third attempt at amqp reconnect in amqpSource (#344) 2023-06-15 12:51:39 -04:00
Michael Quigley
2f604d3e71
amqp reconnect tweak 2023-06-14 15:31:11 -04:00
Michael Quigley
d3ea780a1b
fixes for --override-endpoint (#347) 2023-06-14 13:18:44 -04:00
Michael Quigley
ec08ebf16f
Merge pull request #342 from openziti/v0.4.0_account_requests
remove unique constraint on email  to accomodate soft deletes (#338)
2023-06-12 14:05:17 -04:00
Michael Quigley
368ddf5f01
fix for controller shutdown when amqpSource is in reconnecting state (#344) 2023-06-09 12:05:02 -04:00
Michael Quigley
459e0e60a1
rudimentary reconnection support in metrics.amqpSource (#344) 2023-06-09 11:56:58 -04:00
Cam Otts
85616370fc
remove unique constraint on email to accomodate soft deletes 2023-06-07 11:05:59 -05:00
Michael Quigley
edef86d06a
limits.Agent.enforce needs to consider the store.Account.Limitless flag 2023-06-07 11:00:52 -04:00
Michael Quigley
0fa1a350cd
limits.CanAccessShare 2023-06-06 11:29:22 -04:00
Michael Quigley
243261d70a
limits check scaffolding in accessHandler 2023-06-06 10:54:57 -04:00
Michael Quigley
4a789ce341
need this 2023-06-05 16:16:07 -04:00
Michael Quigley
ec48d574fd
allocate an edge management session when it's needed, rather than trying to be efficient and keep one around 2023-06-05 16:01:04 -04:00
Cam Otts
fec0fd9e73
Format changes 2023-05-25 13:59:39 -05:00
Cam Otts
d6d5ac65a3
update deps 2023-05-25 10:50:38 -05:00
Michael Quigley
cf9514a0e1
lint 2023-05-23 14:30:24 -04:00
Michael Quigley
434972a9f1
tweaks to invites configuration and processing (#229) 2023-05-23 14:21:37 -04:00
Michael Quigley
93707b692d
password subsystem tweaks (#167) 2023-05-23 13:51:33 -04:00
Cam Otts
64fbfbf1d3
Enhanced password requirements and relevant ui changes 2023-05-23 10:51:15 -05:00
Cam Otts
6a572c9977
fix amqp 2023-05-22 15:23:55 -05:00
Michael Quigley
b334ff50b2
slight reworking on the configuration-based invite system to include open registration flag, contact details, and store strategy. moved to 'admin' stanza (#229) 2023-05-22 15:42:20 -04:00
Michael Quigley
41c30e4158
Merge branch 'v0.4.0' into v0.4_invite_overhaul 2023-05-22 15:07:24 -04:00
Michael Quigley
390c50b48e
logging lint 2023-05-22 14:54:28 -04:00
Michael Quigley
25116ec0cf
Merge branch 'v0.4.0' into amqp_ack 2023-05-22 14:39:17 -04:00
Michael Quigley
78ea98626d
support deleting multiple service policies in one shot; bug in limits (#329) 2023-05-18 14:25:53 -04:00
Michael Quigley
871bf2d528
make frontend dial policies for private access names more unique (include frontend token) (#329) 2023-05-18 13:19:16 -04:00
Michael Quigley
7963ba83b0
frontend details (#323) 2023-05-17 13:53:18 -04:00
Michael Quigley
05b53df6ba
frontends and data plane connections to owned shares (#323) 2023-05-17 13:21:01 -04:00
Michael Quigley
8a9e02e464
env+shrs -> env+res; making space to return frontends (#323) 2023-05-17 11:23:16 -04:00
Michael Quigley
75376969ca
limit details on explorer nodes (#320) 2023-05-16 13:45:43 -04:00
Michael Quigley
d0cedaf6e5
infrastructure for detecting limited accounts (#320) 2023-05-16 12:05:30 -04:00
Michael Quigley
9591f5150e
new overview response for '/overview' endpoint (#320) 2023-05-16 11:51:03 -04:00
Michael Quigley
7d48683df7
support for displaying limited shares in red in the visualizer (#320) 2023-05-15 14:14:52 -04:00
Michael Quigley
8bf2173c49
tweaks to get environment sparklines running (#327) 2023-05-12 13:24:29 -04:00
Michael Quigley
2655eaefc0
roughed in environment sparklines backend (#327) 2023-05-12 11:57:34 -04:00
Michael Quigley
ce4eac8e4c
metrics improvements (#234) 2023-05-11 15:56:29 -04:00
Michael Quigley
d1688c450d
'activity' (#234) 2023-05-11 15:41:21 -04:00
Michael Quigley
bb2b7c3da7
new sparkline implementation (#325) 2023-05-11 15:21:10 -04:00
Michael Quigley
945090f3e8
share metrics (#324) 2023-05-10 15:15:09 -04:00
Michael Quigley
c193482171
better slice size management? (#324) 2023-05-10 14:59:26 -04:00
Michael Quigley
43e6c56ec1
environment metrics wired in and working (#324) 2023-05-10 14:51:46 -04:00
Michael Quigley
b5b3385b46
recharts; account metrics (#319, #321) 2023-05-10 14:17:10 -04:00
Michael Quigley
7d611fda30
less timeslices in metrics output (#321) 2023-05-10 13:37:07 -04:00
Michael Quigley
e7048e4051
wire in environment and share handlers (#319) 2023-05-09 16:48:11 -04:00
Michael Quigley
3f8c939adb
share metrics handler (#319) 2023-05-09 16:47:22 -04:00
Michael Quigley
02c996b545
environment metrics handler (#319) 2023-05-09 16:36:50 -04:00
Michael Quigley
9f29bb59c7
alternate metrics model with sample objects (#319) 2023-05-09 16:22:30 -04:00
Michael Quigley
6b078abcd7
account metrics endpoint (#319) 2023-05-09 14:16:01 -04:00
Cam Otts
acb3b66342
added ack for amqp messages 2023-05-01 13:45:45 -05:00
Michael Quigley
fcc7699f0e
remove incorrect warnings (#308) 2023-05-01 14:14:13 -04:00
Michael Quigley
148281cb48
fix for panic occurring with missing email configuration for account/environment/share warnings (#296) 2023-05-01 14:03:34 -04:00
Michael Quigley
28916e8d2a
merged tui for tcpTunnel (#307) 2023-05-01 12:19:06 -04:00
Michael Quigley
29c26b94b7
fixes (#170) 2023-04-17 12:47:52 -04:00
Michael Quigley
ab6df21273
update schemas to support 'tunnel' backend mode (#170) 2023-04-17 11:53:18 -04:00
Michael Quigley
fd741353d7
getting a basic tunnel backend plumbed up (#170) 2023-04-14 14:55:49 -04:00
Cam Otts
b7623f80f6
moved token requirement to metadata and provide fields based on that 2023-04-11 18:41:40 -05:00
Michael Quigley
e0e3e0286c
preserve the form of the wss url for websocket_endpoint 2023-04-07 13:15:34 -04:00
Michael Quigley
c8313d12b7
fixes from video (#235) 2023-04-05 13:57:22 -04:00
Michael Quigley
0284e41b55
update config version from 2 to 3 and update reference configuration (#288) 2023-04-05 11:45:47 -04:00
Michael Quigley
ad818e1dfa
removed spark data log lint 2023-04-03 14:33:21 -04:00
Michael Quigley
5146ca8f24
better (?) limit email formatting (#279) 2023-04-03 14:19:43 -04:00
Michael Quigley
6fc794ea50
email subject (#279); record windowed transfer correctly in journals (#273); properly cycle the relax run when inbound usage is happenign (#276) 2023-03-29 17:03:42 -04:00
Michael Quigley
69990447c9
warning graphic for limit email (#279); only run relax actions when reverting a limit not a warning (#276) 2023-03-29 16:24:52 -04:00
Michael Quigley
d3be3195bf
improved warning email text (#279) 2023-03-29 16:14:57 -04:00
Michael Quigley
3c92b9a8d0
share, environment, and account relax actions all support private shares in addition to public shares; consolidated relax code (#278) 2023-03-29 15:08:04 -04:00
Michael Quigley
540e3ffa74
record share identifier for access private frontends (#278) 2023-03-29 14:21:02 -04:00
Michael Quigley
dfb35cc588
store implementation for private_share_id (#278) 2023-03-29 14:05:44 -04:00
Michael Quigley
98d5d20d34
sqlite3 'private_share_id' column in 'frontends' table (#278) 2023-03-29 13:57:15 -04:00
Michael Quigley
73ea6184c5
add 'private_share_id' to store 'frontends' table (#278) 2023-03-29 13:53:14 -04:00
Michael Quigley
f9dc0f6ba1
check limit journals for creating environments or shares (#281) 2023-03-29 13:29:12 -04:00
Michael Quigley
b8aec46548
debug lint (#276) 2023-03-28 15:19:01 -04:00
Michael Quigley
e2d0b7990e
empty metrics data sets are not an error (#280) 2023-03-28 15:06:19 -04:00
Michael Quigley
bd4ce22d97
don't try to replace policies for deleted shares (#276) 2023-03-28 15:05:51 -04:00
Michael Quigley
9a6f6a8e2f
tweaks, improvements, and minor fixes to limits infrastructure as a result of share limit testing (#276) 2023-03-28 14:39:42 -04:00
Michael Quigley
d279fbb8cb
roughed in limit warning email actions (#276) 2023-03-27 15:29:25 -04:00
Michael Quigley
bb61bdb664
limit warning emails (#276) 2023-03-27 15:07:09 -04:00
Michael Quigley
1c544c6c33
acount limit and relax action implementations (#276) 2023-03-27 14:06:57 -04:00
Michael Quigley
a6c2841cf2
environment limit and relax actions (#276) 2023-03-27 14:01:31 -04:00
Michael Quigley
558606fad3
add trx to action interfaces; implement limit and relax for share (#276) 2023-03-27 13:51:48 -04:00
Michael Quigley
44cbb8491c
action execution logic (#276) 2023-03-27 13:00:05 -04:00
Michael Quigley
067d9901d6
account action skeletons (#276) 2023-03-27 11:53:18 -04:00
Michael Quigley
2ab6730e23
environment action skeletons (#276) 2023-03-27 11:43:58 -04:00
Michael Quigley
662693c2c9
share action skeletons (#276) 2023-03-27 11:34:29 -04:00
Michael Quigley
fdc5154873
necessary actions (#276) 2023-03-23 17:16:35 -04:00
Michael Quigley
14c299ee80
strategy -> action (#276) 2023-03-23 17:07:48 -04:00
Michael Quigley
c91fc8ac9e
handlers for account, environment, and strategy (#276) 2023-03-23 17:04:10 -04:00
Michael Quigley
0bed934976
limit relax triggers and associated store tweaks (#273) 2023-03-23 15:13:59 -04:00
Michael Quigley
0ed00ebc2c
to find the current latest journal entries for each account_id (#273) 2023-03-22 15:42:47 -04:00
Michael Quigley
bc5481a249
self -> str 2023-03-22 15:17:27 -04:00
Michael Quigley
12de429ead
lint (#276) 2023-03-22 15:01:05 -04:00