Commit Graph

645 Commits

Author SHA1 Message Date
Michael Quigley
aee973379c
fix for bandwidth limit check in CanCreateShare; improved code cleanliness (#606) 2024-06-07 11:38:49 -04:00
Michael Quigley
26acd4f5a6
cleaner userLimits implementation (#606) 2024-06-07 10:21:26 -04:00
Michael Quigley
eb02e68db8
simpified CanCreateEnvironment that just uses the resource class from the user limits (#606) 2024-06-06 14:00:49 -04:00
Michael Quigley
bee5356e3c
better support for scoped/unscoped bandwidth limit coexistence (#606) 2024-06-06 13:49:36 -04:00
Michael Quigley
cb4afd4a0f
lint (#606) 2024-06-05 21:11:23 -04:00
Michael Quigley
83e9e84dad
mix in scoped bandwidth clases (#606) 2024-06-05 17:03:24 -04:00
Michael Quigley
b511eeee17
use the new userLimits structure to find the right bandwidth class (#606) 2024-06-05 16:54:05 -04:00
Michael Quigley
56252b6e0a
more user limits selection refinements (#606) 2024-06-05 15:45:36 -04:00
Michael Quigley
a9dff531fc
refactoring limits selection into a new userLimits structure (#606) 2024-06-05 15:20:33 -04:00
Michael Quigley
7b8c9483e7
fix limitclass creation in test (#606) 2024-06-05 14:55:39 -04:00
Michael Quigley
e2a55393a5
formalize class selection to facilitate highest cascade when running limit actions (#606) 2024-06-05 12:56:27 -04:00
Michael Quigley
0f32c5e8a3
basic global bandwidth enforcement testing tweaks (no clases) (#606) 2024-06-05 11:45:14 -04:00
Michael Quigley
3258c3ee73
roughed-in CanAccessShare supporting limit classes (#606) 2024-06-04 16:50:08 -04:00
Michael Quigley
93ecd833b2
updated rough-draft of CanCreateShare with limit classes support (#606) 2024-06-04 16:43:38 -04:00
Michael Quigley
97c2cd79d2
updated CanCreateEnvironment for limit classes (#606) 2024-06-04 16:27:05 -04:00
Michael Quigley
97dbd197d6
massive bandwidth limits rewrite to support limit classes (#606) 2024-06-04 14:06:44 -04:00
Michael Quigley
9a84975b4a
naming lint; streamlining limits agent processing (#606) 2024-06-04 10:33:39 -04:00
Michael Quigley
db71e06610
include both warning and limits globals (#606) 2024-06-03 14:06:07 -04:00
Michael Quigley
8a255a0ee8
new bandwidth class interface to facilitate operating on global and class-based bandwidth limits in the same code, easily (#606) 2024-06-03 14:01:20 -04:00
Michael Quigley
cea7ff6474
refinements and refactoring of limit classes to re-align with updated bandwidth journal, etc. (#606) 2024-06-03 13:37:32 -04:00
Michael Quigley
6256055a99
inflow share details (#606) 2024-05-31 16:06:42 -04:00
Michael Quigley
22002477be
naming lint (#606) 2024-05-31 15:57:41 -04:00
Michael Quigley
61e6953caf
updated test for finding all tip limit journal entries (#606) 2024-05-31 15:24:28 -04:00
Michael Quigley
b3f10dadec
new limit journal test and necessary tweaks (#606) 2024-05-31 15:18:07 -04:00
Michael Quigley
d2d3adc5cc
sqlite schema tweaks for bandwidth_limit_journal (#606) 2024-05-31 14:32:02 -04:00
Michael Quigley
481cc7f7ad
replacing the old account/environment/share limit journals with the new bandwidth limit journal (#606) 2024-05-31 14:26:29 -04:00
Michael Quigley
ea5670b4ae
new bandwidth_limit_journal table (#606) 2024-05-30 14:27:39 -04:00
Michael Quigley
141cb424e0
simplifying limit enforcement structures (#606) 2024-05-30 13:46:15 -04:00
Michael Quigley
896a4a7845
limit class filtering (#606) 2024-05-23 14:08:14 -04:00
Michael Quigley
58eb8bfcca
debug logging for testing (#632) 2024-05-23 11:50:55 -04:00
Michael Quigley
33fdce7337
wire in checks for reserved share count and unique name count (#632) 2024-05-22 16:21:52 -04:00
Michael Quigley
9b03765086
tracking unique names in the shares table (#632) 2024-05-22 14:42:14 -04:00
Michael Quigley
25a5bf6bd3
shares.unique_name for tracking unique names (#632) 2024-05-22 14:22:36 -04:00
Michael Quigley
f23f2495ef
overrides for enviroments and shares (#606); overrides for reserved shares and unique names (#632) 2024-05-21 15:16:56 -04:00
Michael Quigley
7d18bea46c
global limits for reserved shares and unique names (#632) 2024-05-21 14:57:14 -04:00
Michael Quigley
af5afb8aac
locking (#287) 2024-05-15 15:48:42 -04:00
Michael Quigley
2a770cc3b8
pessistic locking upsert on limit_check_locks (#287) 2024-05-15 15:18:53 -04:00
Michael Quigley
f0b0a959f0
limit_check_lock (#287) 2024-05-15 14:31:26 -04:00
Michael Quigley
bd5aaa061a
the very basic store implementation for limit_classes, applied_limit_classes (#606) 2024-05-14 14:16:20 -04:00
Michael Quigley
75d58e84e4
LimitJournalAction -> LimitAction; LimitScope (#606) 2024-05-14 13:24:48 -04:00
Michael Quigley
4d67598acb
applied_limit_classes (#606) 2024-05-13 12:50:14 -04:00
Michael Quigley
1238c4981c
limits ddl for sqlite (#606) 2024-05-13 12:39:30 -04:00
Michael Quigley
5d72890d32
limits ddl for postgres (#606) 2024-05-13 12:36:00 -04:00
Michael Quigley
8f0e331c26
replace indexes 2024-04-16 16:24:40 -04:00
Michael Quigley
969ff78876
migration naming for .27 2024-04-16 14:44:13 -04:00
Michael Quigley
5579b9115f
Merge branch 'main' into vpn-mode 2024-04-16 14:43:28 -04:00
Michael Quigley
cf449b8291
performance indexes 2024-04-16 14:34:38 -04:00
Michael Quigley
02796beca6
typo 2024-04-08 13:14:38 -04:00
Michael Quigley
eb721bb916
scaffolding to support 'vpn' backend mode 2024-04-08 13:07:58 -04:00
Michael Quigley
466e695b1c
full 'zrok modify share' implementation (#432) 2024-03-06 13:39:55 -05:00
Michael Quigley
7e7671fca2
tweaks and controller cleanup for access grants (#432) 2024-03-05 13:21:43 -05:00
Michael Quigley
e7165608f8
clean up access grants when removing share (#432) 2024-03-05 12:51:06 -05:00
Michael Quigley
1882783892
wiring up the private share cli to the permission mode; sqlite tweak (#432) 2024-03-05 12:44:56 -05:00
Michael Quigley
d9019d1ef3
access grant checking for access (#432) 2024-03-04 13:56:02 -05:00
Michael Quigley
12639c27e6
lint (#432) 2024-03-04 13:19:51 -05:00
Michael Quigley
d2f747db27
wire up permission mode and access grant list in share handler (#432) 2024-03-04 12:55:04 -05:00
Michael Quigley
1e73f185d8
access_grant store implementation (#432) 2024-03-01 16:27:32 -05:00
Michael Quigley
c673a57304
access handler block (#432) 2024-03-01 15:50:54 -05:00
Michael Quigley
033d52c4c3
update 'share' implementation in store package to include permission mode (#432) 2024-03-01 11:17:39 -05:00
Michael Quigley
5cfd67ab19
basic store migrations to support access_grants (#432) 2024-02-29 13:24:31 -05:00
Michael Quigley
a7194aecf6
reset -> regenerate (#191) 2024-02-20 11:40:11 -05:00
Michael Quigley
471cc4909c
logging (#191) 2024-02-16 16:35:42 -05:00
Michael Quigley
36067f5e91
a better, simpler user interface for token regeneration (#191) 2024-02-16 16:32:51 -05:00
Cam
2daed61849
update actions tab to include new way to surface password change 2024-02-15 14:47:38 -06:00
Cam
338b5a0936
Merge branch 'main' of github.com:openziti/zrok into self-service-password 2024-02-15 14:46:43 -06:00
Michael Quigley
a5e6f51f2f
Merge branch 'main' into password-reset-fix 2024-02-15 14:23:08 -05:00
Michael Quigley
28d3002207
fix for reserved unique name collision checking 2024-02-15 14:08:28 -05:00
Michael Quigley
8aaec6e882
Merge branch 'main' into token-revocation 2024-02-15 13:07:57 -05:00
Cam
1eac1ad941
removed some deletes after token resetting 2024-02-15 01:00:05 -06:00
Cam
fe9152c451
Merge branch 'main' of github.com:openziti/zrok into token-revocation 2024-02-14 13:53:16 -06:00
Cam
8555439410
update migration number from merge 2024-02-14 13:51:32 -06:00
Cam
df51d9baba
Merge branch 'main' of github.com:openziti/zrok into reserve-ui-fixes 2024-02-14 13:43:38 -06:00
Cam
adfc6e3a07
Merge branch 'main' of github.com:openziti/zrok into self-service-password 2024-02-14 13:43:08 -06:00
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