Commit Graph

592 Commits

Author SHA1 Message Date
bee5356e3c better support for scoped/unscoped bandwidth limit coexistence (#606) 2024-06-06 13:49:36 -04:00
cb4afd4a0f lint (#606) 2024-06-05 21:11:23 -04:00
83e9e84dad mix in scoped bandwidth clases (#606) 2024-06-05 17:03:24 -04:00
b511eeee17 use the new userLimits structure to find the right bandwidth class (#606) 2024-06-05 16:54:05 -04:00
56252b6e0a more user limits selection refinements (#606) 2024-06-05 15:45:36 -04:00
a9dff531fc refactoring limits selection into a new userLimits structure (#606) 2024-06-05 15:20:33 -04:00
7b8c9483e7 fix limitclass creation in test (#606) 2024-06-05 14:55:39 -04:00
e2a55393a5 formalize class selection to facilitate highest cascade when running limit actions (#606) 2024-06-05 12:56:27 -04:00
0f32c5e8a3 basic global bandwidth enforcement testing tweaks (no clases) (#606) 2024-06-05 11:45:14 -04:00
3258c3ee73 roughed-in CanAccessShare supporting limit classes (#606) 2024-06-04 16:50:08 -04:00
93ecd833b2 updated rough-draft of CanCreateShare with limit classes support (#606) 2024-06-04 16:43:38 -04:00
97c2cd79d2 updated CanCreateEnvironment for limit classes (#606) 2024-06-04 16:27:05 -04:00
97dbd197d6 massive bandwidth limits rewrite to support limit classes (#606) 2024-06-04 14:06:44 -04:00
9a84975b4a naming lint; streamlining limits agent processing (#606) 2024-06-04 10:33:39 -04:00
db71e06610 include both warning and limits globals (#606) 2024-06-03 14:06:07 -04:00
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
cea7ff6474 refinements and refactoring of limit classes to re-align with updated bandwidth journal, etc. (#606) 2024-06-03 13:37:32 -04:00
6256055a99 inflow share details (#606) 2024-05-31 16:06:42 -04:00
22002477be naming lint (#606) 2024-05-31 15:57:41 -04:00
61e6953caf updated test for finding all tip limit journal entries (#606) 2024-05-31 15:24:28 -04:00
b3f10dadec new limit journal test and necessary tweaks (#606) 2024-05-31 15:18:07 -04:00
d2d3adc5cc sqlite schema tweaks for bandwidth_limit_journal (#606) 2024-05-31 14:32:02 -04:00
481cc7f7ad replacing the old account/environment/share limit journals with the new bandwidth limit journal (#606) 2024-05-31 14:26:29 -04:00
ea5670b4ae new bandwidth_limit_journal table (#606) 2024-05-30 14:27:39 -04:00
141cb424e0 simplifying limit enforcement structures (#606) 2024-05-30 13:46:15 -04:00
896a4a7845 limit class filtering (#606) 2024-05-23 14:08:14 -04:00
58eb8bfcca debug logging for testing (#632) 2024-05-23 11:50:55 -04:00
33fdce7337 wire in checks for reserved share count and unique name count (#632) 2024-05-22 16:21:52 -04:00
9b03765086 tracking unique names in the shares table (#632) 2024-05-22 14:42:14 -04:00
25a5bf6bd3 shares.unique_name for tracking unique names (#632) 2024-05-22 14:22:36 -04:00
f23f2495ef overrides for enviroments and shares (#606); overrides for reserved shares and unique names (#632) 2024-05-21 15:16:56 -04:00
7d18bea46c global limits for reserved shares and unique names (#632) 2024-05-21 14:57:14 -04:00
af5afb8aac locking (#287) 2024-05-15 15:48:42 -04:00
2a770cc3b8 pessistic locking upsert on limit_check_locks (#287) 2024-05-15 15:18:53 -04:00
f0b0a959f0 limit_check_lock (#287) 2024-05-15 14:31:26 -04:00
bd5aaa061a the very basic store implementation for limit_classes, applied_limit_classes (#606) 2024-05-14 14:16:20 -04:00
75d58e84e4 LimitJournalAction -> LimitAction; LimitScope (#606) 2024-05-14 13:24:48 -04:00
4d67598acb applied_limit_classes (#606) 2024-05-13 12:50:14 -04:00
1238c4981c limits ddl for sqlite (#606) 2024-05-13 12:39:30 -04:00
5d72890d32 limits ddl for postgres (#606) 2024-05-13 12:36:00 -04:00
8f0e331c26 replace indexes 2024-04-16 16:24:40 -04:00
969ff78876 migration naming for .27 2024-04-16 14:44:13 -04:00
5579b9115f Merge branch 'main' into vpn-mode 2024-04-16 14:43:28 -04:00
cf449b8291 performance indexes 2024-04-16 14:34:38 -04:00
02796beca6 typo 2024-04-08 13:14:38 -04:00
eb721bb916 scaffolding to support 'vpn' backend mode 2024-04-08 13:07:58 -04:00
466e695b1c full 'zrok modify share' implementation (#432) 2024-03-06 13:39:55 -05:00
7e7671fca2 tweaks and controller cleanup for access grants (#432) 2024-03-05 13:21:43 -05:00
e7165608f8 clean up access grants when removing share (#432) 2024-03-05 12:51:06 -05:00
1882783892 wiring up the private share cli to the permission mode; sqlite tweak (#432) 2024-03-05 12:44:56 -05:00