Commit Graph

74 Commits

Author SHA1 Message Date
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
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
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
75d58e84e4
LimitJournalAction -> LimitAction; LimitScope (#606) 2024-05-14 13:24:48 -04:00
Cam
30558a454b
move the go sdk into subdir 2023-11-21 13:27:17 -06: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
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
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
d6d5ac65a3
update deps 2023-05-25 10:50:38 -05: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
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
c8313d12b7
fixes from video (#235) 2023-04-05 13:57:22 -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
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
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