lukaszraczylo
3aa83d4480
chore(security,refactor): extract sanitization and improve code quality ( #41 )
...
* chore(security,refactor): extract sanitization and improve code quality
- [x] Extract sanitization functions to dedicated sanitization.go module
- [x] Add comprehensive golangci-lint v2 configuration with security rules
- [x] Replace interface{} with any type throughout codebase
- [x] Add admin API authentication security warning
- [x] Extract WebSocket and stats streaming constants
- [x] Add best-effort error handling comments for resource cleanup
- [x] Expand sensitive field patterns for improved PII redaction
- [x] Simplify safety checks and remove redundant nil validations
- [x] Improve test coverage for password field redaction patterns
* refactor: replace interface{} with any type alias
- [x] Replace all `map[string]interface{}` with `map[string]any`
- [x] Replace all `interface{}` with `any` in function signatures and type definitions
- [x] Update sync.Pool New function returns from `interface{}` to `any`
- [x] Add package documentation comments to 8 package files
- [x] Update type assertions and casts to work with `any` type
2026-01-17 00:04:12 +00:00
lukaszraczylo
6a69694ab3
November improvements. ( #29 )
...
* Tackling the CPU / memory spikes after some time.
* Update admin dashboard, fix the circuit breaker and request coalescing.
2025-11-29 14:21:09 +00:00
lukaszraczylo
cedee416a8
improvements mid may 2025 ( #24 )
...
* General improvements and bug fixes.
* Improve tests coverage.
* fixup! Improve tests coverage.
* Update README.md with latest changes.
* Fix the uint32
* Resolve issue with race condition for logging.
* fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* Fix the test of the rate limiter
* Add default ratelimit.json file
* Update dependencies.
* Significant refactor.
* fixup! Significant refactor.
* fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge remote-tracking branch 'origin/main' into improvements-mid-apr-2025
2025-09-30 18:27:33 +01:00
lukaszraczylo
b10a28bf52
General code optimisations. ( #16 )
...
* General code optimisations.
2024-06-28 12:31:01 +01:00
lukaszraczylo
61d7a45d00
Update cache library, use miniredis for testing, add additional benchmarks. ( #14 )
...
Update cache library,
Update logging library,
use miniredis for testing, add additional benchmarks.
2024-06-19 23:10:36 +01:00
lukaszraczylo
3a18e0e935
Improve stats gathering and tests improvements. ( #8 )
2024-03-05 22:40:06 +00:00
lukaszraczylo
b19b17b7c4
Realign the structs to decrease memory footprint.
...
Add the timeout settings to address the connection drops.
2023-12-14 17:16:38 +00:00
lukaszraczylo
94657ddff4
fixup! fixup! Add purging metrics on timer.
2023-11-17 14:11:55 +00:00
lukaszraczylo
a29733a52a
fixup! Add purging metrics on timer.
2023-11-17 14:09:26 +00:00
lukaszraczylo
105c624426
Add purging metrics on timer.
2023-11-17 13:47:54 +00:00
lukaszraczylo
0b642f8be1
Add ability to reset metrics between crawl to limit payload absorbed ( #5 )
...
by the prometheus/victoria metric crawlers.
2023-11-16 16:45:48 +00:00
lukaszraczylo
92359c1114
Cleanup pt 1 ( #4 )
...
* Disable startup headers.
* Add banning / unbanning of specific user.
2023-10-19 14:36:16 +01:00
lukaszraczylo
8a2b90ef8b
Remove last leftover of internal libraries.
2023-10-10 22:29:56 +01:00
lukaszraczylo
1a3628837f
Extract helper libraries from private repo of telegram-bot.app
2023-10-10 22:16:50 +01:00