Commit Graph

2820 Commits

Author SHA1 Message Date
Owen Schwartz
2a478eef6f Merge pull request #3375 from fosrl/resource-launcher
Resource launcher
2026-07-01 21:19:19 -04:00
Owen
4ab101f8a9 Fix lock 2026-07-01 21:13:40 -04:00
miloschwartz
e35878ee55 add caching 2026-07-01 19:59:38 -04:00
Owen
807613f28c Move rate limit up 2026-07-01 17:30:07 -04:00
miloschwartz
663244fa3a support labels in list alises 2026-07-01 16:17:27 -04:00
Owen
bcc128aeb6 Fix ping function 2026-07-01 15:47:24 -04:00
Owen
ba33cb9895 Increment config version for this 2026-07-01 15:44:08 -04:00
Owen
69e7fedcfc Add the remote exit node info 2026-07-01 15:28:26 -04:00
miloschwartz
7fb95e1726 restore script 2026-07-01 15:15:43 -04:00
miloschwartz
db0a7cc1ce fix toolbar responsiveness and disable side panel 2026-07-01 15:14:29 -04:00
Owen
61fc2e5ea7 Fix restartSite import 2026-07-01 14:48:36 -04:00
miloschwartz
0871a211ec open side panel on click 2026-07-01 14:30:43 -04:00
miloschwartz
87e1a509ce show sites and labels for non admins 2026-07-01 12:17:36 -04:00
miloschwartz
297fd2caf3 standardize permissions in api 2026-07-01 11:26:14 -04:00
Owen
108cb6216c Add migration to fix policy delete issues
Ref #3257
2026-07-01 10:39:41 -04:00
miloschwartz
f4854a3a74 include exit node endpoint in tcp/udp resources 2026-06-30 21:54:27 -04:00
miloschwartz
376dd465b3 show no site category 2026-06-30 21:49:08 -04:00
jaisinha77777
296439fd67 Fix OSS build break: add siteId param to OSS listExitNodes
listExitNodes is resolved via the #dynamic path alias, which maps to
server/lib in the OSS build and server/private/lib in enterprise/saas.
Commit 9c18936b added a 4th siteId argument to the shared caller
(handleNewtPingRequestMessage) and to the enterprise implementation, but
not to the OSS one, so under the OSS tsconfig the call fails:

  handleNewtPingRequestMessage.ts: error TS2554: Expected 1-3 arguments,
  but got 4.

This breaks 'npx tsc --noEmit' for the OSS build (the CI 'Test with tsc'
step runs it after set:oss). Add siteId?: number to the OSS signature
for parity. It is unused in OSS since that build has no remote exit
nodes to label-filter; accepting it keeps the two #dynamic
implementations interface-compatible.
2026-07-01 07:17:03 +05:30
miloschwartz
f0efa4203b basic functionality 2026-06-30 21:03:19 -04:00
Owen
3fda190ff6 Merge branch 'backhaul' into dev 2026-06-30 15:21:11 -04:00
Owen
0033f40f4d Fix typo preventing subscription cancelation 2026-06-30 15:06:35 -04:00
Owen
af95052706 Update schema for tracking valid domains 2026-06-30 13:53:44 -04:00
Owen
29563a13a4 Add indexes on the niceId and orgId 2026-06-30 09:49:53 -04:00
Owen
b41c1f5b27 Add restart button 2026-06-29 21:10:49 -04:00
Owen
e5652cdb8a Dont enable admin routes 2026-06-29 20:45:38 -04:00
Owen
7c2ea153c5 Use regional cache for rate limiting 2026-06-29 18:33:03 -04:00
Owen
ccabddc225 Add logging for access for new public resources 2026-06-29 18:05:29 -04:00
Owen
42d98fa83b Comment back in the sync command 2026-06-29 16:34:10 -04:00
Owen
2f2b7f43c1 Add usage tracking to blueprints 2026-06-29 16:13:12 -04:00
Owen
528bbeca26 Implement usage tracking on resources, clients 2026-06-29 15:39:30 -04:00
Owen
d60c15b0ae Fix typo 2026-06-29 15:24:16 -04:00
Owen
ff89a64453 Rename to limit id 2026-06-29 15:22:35 -04:00
Owen
4718c489d3 Add concurrency guard calculateUserClientsForOrgs 2026-06-29 15:02:41 -04:00
Owen
d5d99a4804 Add org rebuild rate limit 2026-06-29 14:59:05 -04:00
Owen
9c18936be7 Filter the nodes based on the preference labels 2026-06-29 11:40:25 -04:00
Owen
cf07cceb5d Fix bad col in pg 2026-06-29 11:31:34 -04:00
Owen
c9cc9581b1 Add batch update 2026-06-26 23:24:14 -04:00
Owen
eac7c67dcc Send down remote subnets 2026-06-26 18:09:56 -04:00
Owen
633d9031af Add labels input 2026-06-26 18:02:20 -04:00
Owen
05dc558c4a Add basic resources input on the remote node 2026-06-26 18:01:24 -04:00
miloschwartz
7506c0420d properly pass org policy error message in olm register 2026-06-26 17:11:32 -04:00
Owen Schwartz
5572822c4a Merge pull request #3351 from fosrl/copilot/fix-rest-ruleid-changing
fix: preserve rule IDs when saving policy rules via the GUI
2026-06-26 15:05:31 -04:00
Owen
ea3f1c341b Move hashing outside of transaction 2026-06-26 14:40:39 -04:00
Owen
35dffe71cb Make error statement debug 2026-06-26 14:40:31 -04:00
copilot-swe-agent[bot]
5428bf4ed0 fix: preserve rule IDs when saving policy rules through the GUI
The `setResourcePolicyRules` endpoint was deleting all existing rules and
re-inserting them on every save, causing all ruleIDs to change.

Backend: Accept an optional `ruleId` per rule in the request body and
perform an upsert — update existing rules (matched by ruleId), insert
new ones (no ruleId), and delete only rules absent from the incoming list.

Frontend: Include `ruleId` in the rules payload for existing (non-new)
rules so the backend can match and preserve them.
2026-06-26 14:37:34 +00:00
Owen
2e628fe0e4 Make sure the rebuild actually executes 2026-06-26 09:26:43 -04:00
Owen Schwartz
e0d0c5dcbf Merge pull request #3331 from Fredkiss3/feat/geoip-tag-in-tables
feat: Show GeoIp country flags in site & rules page
2026-06-25 11:23:42 -07:00
Fred KISSIE
0f02d1bc02 ♻️ remove deprecated ISO CS country code 2026-06-25 18:01:25 +02:00
Owen
f8591f27c5 Fix no data when last data was over 90 days ago 2026-06-25 10:08:37 -04:00
Owen
be3877a3ce Rename for clarity 2026-06-24 18:36:01 -04:00