Commit graph

19 commits

Author SHA1 Message Date
hhftechnologies
d8f5b44d56 Refactor defers, switches, and small fixes
Replace direct defers that ignored returned errors with explicit defer func() { _ = ... }() and use blank-assignment for Setenv/RemoveAll/Close to satisfy error-checking and ensure closures run. Convert several if-else chains to switch for clarity (status filter, test server path matching), switch strings.Replace to strings.ReplaceAll, and normalize some error/log message casing. These changes are minor refactors across handlers, services, database and tests to improve lint compliance and readability.
2026-04-16 08:02:03 +05:30
hhftechnologies
3593d6ec2c Fix: serversTransports from Pangolin config not passed through to Traefik
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Tests / Run Tests (push) Has been cancelled
Tests / Lint (push) Has been cancelled
Tests / Build (push) Has been cancelled
2026-03-22 11:41:16 +05:30
hhftechnologies
44a80ab152 add legacy_p12 option for PKCS#12 generation
add a legacy_p12 boolean to CreateClientRequest (backend model and frontend type) to support generating PKCS#12 files with legacy encryption for iOS/older device compatibility. CertGenerator now selects pkcs12.Legacy when legacy_p12 is true (defaults to Modern otherwise). UI: add a checkbox to the client cert creation dialog and initialize form state to include legacy_p12.
2026-03-01 13:23:10 +05:30
hhftechnologies
516a06a393 Add tests and atomicize service watcher flag
Add extensive unit tests across the codebase (api/errors, cache, many models tests, util/id_normalizer and others) to improve coverage and validate behavior. Replace ServiceWatcher.isRunning bool with atomic.Bool for safer concurrent access, update Start/Stop logic and related imports, and adjust service_watcher_test accordingly. Also update traefik_fetcher_test to use atomic counters for request counting and add minor import changes (sync/atomic).
2026-02-17 16:03:23 +05:30
hhftechnologies
f3405a2f0b update-router-resources-UUID 2026-01-22 15:34:22 +05:30
hhftechnologies
ca0731389b router-priority-fix 2026-01-22 14:48:36 +05:30
hhftechnologies
d194ccd2da remove-IPWhiteList-deprecated 2026-01-21 19:27:23 +05:30
hhftechnologies
dfa2118dbb secure-headers-implementation 2026-01-21 11:39:45 +05:30
hhftechnologies
7ad07565d7 bugfixes-ui-update
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
2026-01-14 17:11:32 +05:30
hhftechnologies
0e9e516439 mtls-update
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
2026-01-14 04:19:52 +05:30
hhftechnologies
59282721dd refactoring 2026-01-11 15:24:17 +05:30
hhftechnologies
6bc0032980 update 2025-08-27 14:04:34 +05:30
hhftechnologies
73fdfc4a4a services-int 2025-05-05 12:35:30 +05:30
hhftechnologies
88a2a02a0d update 2025-04-29 11:13:11 +05:30
hhftechnologies
7156fdc34f update 2025-04-27 20:37:08 +05:30
hhftechnologies
10a2cf3ce4 refactoring 2025-04-22 16:25:17 +05:30
hhftechnologies
6a0708048d update 2025-04-17 10:08:59 +05:30
hhftechnologies
7fa6e2fe27 update 2025-04-16 15:43:01 +05:30
hhftechnologies
f6e0ce616a Initial commit 2025-04-13 22:54:56 +05:30