Commit Graph

613 Commits

Author SHA1 Message Date
Michael Quigley
1f0f779d72
added a nullable 'label' column to the 'limit_classes' table (#666) 2024-06-21 10:53:18 -04:00
Michael Quigley
9bbe4532a0
add frontend grant check when closed permission mode frontend (#539) 2024-06-18 13:54:04 -04:00
Michael Quigley
49368dc542
adjust admin tooling to support creating open/closed permission mode frontends (#539) 2024-06-18 13:38:00 -04:00
Michael Quigley
c2878dcd85
frontend_grants for both databases (#539) 2024-06-18 11:54:55 -04:00
Michael Quigley
24777a77c8
share_frontends implementation and testing (#650) 2024-06-17 13:16:07 -04:00
Michael Quigley
f174abd18f
frontends -> share_frontends; CanAccessShare refactoring (#650) 2024-06-17 12:12:38 -04:00
Michael Quigley
f260449604
wire 'frontends' through supporting code (#650) 2024-06-17 11:41:24 -04:00
Michael Quigley
a1b3b16cff
limit_classes added 'frontends' column (#650) 2024-06-17 11:32:04 -04:00
Michael Quigley
2614721561
total lint.. 2024-06-13 17:42:15 -04:00
Michael Quigley
25bd423622
fix for relax transient cache with multiple accounts (#606) 2024-06-12 14:16:25 -04:00
Michael Quigley
6f35c75203
ZROK_CTRL_CONFIG_VERSION override (#648) 2024-06-12 13:21:45 -04:00
Michael Quigley
883fe92848
logging tweaks and improvements releated to limits agent (#606) 2024-06-11 12:00:12 -04:00
Michael Quigley
5e6ec4cde1
fix bandwidth limit journal test (#606) 2024-06-07 16:14:47 -04:00
Michael Quigley
79053e1b28
fully remove share mode from scope concept; add performance indexes (#606) 2024-06-07 16:02:40 -04:00
Michael Quigley
a389674d51
scoped classes now include resource limits (#606) 2024-06-07 15:05:18 -04:00
Michael Quigley
60893100a5
fix for not relaxing scoped bandwidth clases that are in a limited state (#606) 2024-06-07 14:02:28 -04:00
Michael Quigley
afc8d22a9f
fix for scoped bandwidth limits in agent.CanCreateShare; make relax actions error without failing (#606, #451) 2024-06-07 13:29:51 -04:00
Michael Quigley
efd16c2760
ignore scoped backends when unscoped limit class in limit action (#606) 2024-06-07 12:01:11 -04:00
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