Owen Schwartz
5ef4490692
Merge pull request #3148 from bishnubista/fix-audit-log-replica-routing
...
fix(audit-logs): route request audit log reads through logsDb
2026-05-25 12:02:24 -07:00
bishnubista
817e848d08
fix(audit-logs): route request audit log reads through logsDb
...
Route the read paths in queryRequestAuditLog.ts and
queryRequestAnalytics.ts through `logsDb` instead of
`primaryLogsDb`, matching the existing private audit log routes
(queryActionAuditLog, queryAccessAuditLog, queryConnectionAuditLog
all already use `logsDb`). In PostgreSQL deployments configured
with a read replica via `withReplicas` (see server/db/pg/logsDriver.ts),
this keeps high-volume audit log reads off the primary. No-op
in OSS-SQLite where `logsDb === primaryDb`.
Investigated rewriting `queryUniqueFilterAttributes` per the
in-line TODO ("SOMEONE PLEASE OPTIMIZE THIS!!!!!"). A candidate
rewrite using UNION ALL with six GROUP BY...LIMIT 500 arms
benchmarked 48-61% slower than the current SELECT DISTINCT
LIMIT 501 approach on SQLite (100k/300k/1M rows, 20 runs each):
each grouped arm materializes a temp B-tree before applying LIMIT,
while DISTINCT short-circuits via hash dedup with early exit.
A materialized facets table is likely the right long-term fix,
not a query-shape rewrite.
2026-05-25 10:37:47 -07:00
Owen Schwartz
35ad235f49
Merge pull request #3129 from fosrl/fix-site-delete
...
Improve delete function speed & order of ops
2026-05-21 12:06:18 -07:00
Owen
834672c846
Improve delete function speed & order of ops
2026-05-21 12:05:16 -07:00
Owen Schwartz
b8180d848a
Merge pull request #3118 from Adityakk9031/#3105
...
Fix public resource health with unknown WireGuard targets
2026-05-20 16:20:25 -07:00
Owen Schwartz
fef7563e14
Merge pull request #3125 from fosrl/fix-3104
...
Fix #3104
2026-05-20 16:15:21 -07:00
Owen
6337cf4359
Fix #3104
2026-05-20 16:14:47 -07:00
Owen Schwartz
b3cfe82dff
Merge pull request #3124 from fosrl/fix-logoUrl
...
Fix logo url
2026-05-20 14:19:29 -07:00
Owen
d65128671c
Fix logo url
2026-05-20 14:18:55 -07:00
Owen Schwartz
41fdd5de74
Merge pull request #3122 from fosrl/button-to-rebuild-association
...
Add button to rebuid cache
2026-05-20 12:08:47 -07:00
Owen
2704202ba9
Add button to rebuid cache
2026-05-20 12:08:20 -07:00
Owen Schwartz
72ef0ae020
Merge pull request #3121 from fosrl/patch-rebuild-sites
...
patch rebuild sites
2026-05-20 11:48:33 -07:00
Owen
1442faa740
Prevent concurrent rebuilds
2026-05-20 11:46:59 -07:00
Owen
6aa589e612
Block adds to clients in jit mode
2026-05-20 11:35:15 -07:00
Owen
4b1a8e14c4
Put long running into the background to end transaction
2026-05-20 11:18:47 -07:00
Owen
1a0db10b1a
Verify button to verify cache
2026-05-20 11:15:15 -07:00
Owen
b7634086db
Just accept any url for now
2026-05-20 10:47:37 -07:00
Aditya kumar singh
a6469e67a8
Fix public resource health with unknown WireGuard targets
2026-05-20 09:05:05 +05:30
Owen Schwartz
1ba75092f9
Merge pull request #3113 from fosrl/dev
...
derived only from roles that the user holds AND are assigned to the target resource
2026-05-19 10:56:30 -07:00
Owen
08a08e73b3
derived only from roles that the user holds AND are assigned to the target resource
2026-05-19 10:53:54 -07:00
Owen Schwartz
82745c701a
Merge pull request #3094 from fosrl/dev
...
Sync dev
2026-05-16 20:46:12 -07:00
Owen
68e775659b
Merge branch 'main' into dev
2026-05-16 20:45:39 -07:00
Owen
1c5e3000b6
Merge branch 'dev' of github.com:fosrl/pangolin into dev
2026-05-16 20:45:31 -07:00
Owen
3b93fd99a1
Remove workflows
2026-05-16 20:44:36 -07:00
Owen Schwartz
159e91a07c
Merge pull request #3090 from fosrl/github-action-cosign
...
Upgrade cosign installer to v4.1.2 and pin cosign version
2026-05-16 14:53:24 -07:00
miloschwartz
530b5082bd
make online/connected styling consistent
2026-05-16 12:34:17 -07:00
Marc Schäfer
3322f1ccb4
Update cosign installer version in CI workflow
2026-05-16 16:21:13 +02:00
Marc Schäfer
1b17fba19f
Upgrade cosign installer to v4.1.2 and pin cosign version
...
Updated cosign installer to version 4.1.2 and specified cosign release version.
2026-05-16 16:17:45 +02:00
Owen
dd1f7ba544
Make crowdsec --crowdsec
2026-05-14 21:46:26 -07:00
Owen Schwartz
8c2e6965f1
Merge pull request #3081 from fosrl/dev
...
Update sidebar
2026-05-14 21:21:03 -07:00
Owen
b414f04cce
Remove funding
2026-05-14 21:20:34 -07:00
Owen Schwartz
9c71922dda
Merge pull request #3079 from fosrl/dev
...
Add site information to user api
2026-05-14 20:17:19 -07:00
Owen
6e4a28f227
Add site information as well
2026-05-14 18:02:42 -07:00
Owen Schwartz
64d8f035a2
Merge pull request #3077 from fosrl/dev
...
1.18.4-s.5
2026-05-14 17:41:51 -07:00
Owen
0a5780a3b3
Merge branch 'dev' of github.com:fosrl/pangolin into dev
2026-05-14 17:41:00 -07:00
Owen
d58b96f4b1
Add port and icmp information to api endpoint
2026-05-14 17:39:22 -07:00
Owen Schwartz
f778f5c941
Merge pull request #3071 from fosrl/crowdin_dev
...
New Crowdin updates
2026-05-14 17:20:50 -07:00
Owen
6422208f69
Optimize get all relays
2026-05-14 16:59:15 -07:00
Owen
c3ebc423b5
Each node should only update its own sites
2026-05-14 16:51:09 -07:00
Owen Schwartz
92f992728f
Merge pull request #3074 from fosrl/dev
...
Optimize building aliases in jit mode
2026-05-14 12:25:44 -07:00
Owen
78ad2d17c7
Optimize building aliases in jit mode
2026-05-14 12:25:05 -07:00
Owen Schwartz
b29bb7384d
Merge pull request #3073 from fosrl/dev
...
Further optimizations
2026-05-14 12:00:25 -07:00
Owen
5a8de8210b
Further optimizations
2026-05-14 11:59:59 -07:00
Owen Schwartz
d5181454f4
Merge pull request #3072 from fosrl/dev
...
Optimize this
2026-05-14 11:34:56 -07:00
Owen
0e0666cacf
Optimize this
2026-05-14 11:34:09 -07:00
Owen Schwartz
02ba2393b9
New translations en-us.json (German)
...
[ci skip]
2026-05-14 11:08:12 -07:00
Owen Schwartz
daf260cf61
Merge pull request #3064 from fosrl/dev
...
1.18.4-s.1
2026-05-13 14:40:50 -07:00
Owen
92a06e0ea3
Handle jit mode with syncs
2026-05-13 14:00:43 -07:00
Owen
c16d2ff2ed
Fix log message
2026-05-13 13:52:35 -07:00
Owen
73a4d7d351
Quiet log message
2026-05-13 11:57:02 -07:00