Commit Graph

13 Commits

Author SHA1 Message Date
4f89f59232 fix(cluster-3): http hardening (M15/M16/M14/C2)
- pagination: clamp per_page to [1,100] and page to >=1 in the parser,
  guard the TotalPages division against per_page=0 (panic), and clamp the
  current page to [1,totalPages]; preserves cursor (next-token) mode
- middleware: add panic-recovery as the outermost middleware so handler
  panics return a 500 instead of crashing the process; re-panics
  http.ErrAbortHandler to keep file serving intact
- index: bound the index page query (Limit:200) so it no longer drains
  the entire courses table in 1000-row batches
2026-06-28 04:31:21 +00:00
c3d6510a7d support metrics sending via grpc 2024-09-25 00:47:12 +03:00
c7fada2c54 update trace logic 2024-09-24 21:59:33 +03:00
3a9e01a683 rework list courses page to be flatten 2024-04-19 00:13:03 +03:00
605e117586 add pagination 2024-04-07 23:49:06 +03:00
68810d93a7 add opentelemetry tracing 2024-04-02 15:23:22 +03:00
6d1769ff24 make bootstrap site be more cool 2024-03-03 00:55:43 +03:00
e5dfccabbf use tailwind 2024-02-10 20:22:30 +03:00
d5f76f4e07 add templ engine 2024-01-21 16:49:47 +03:00
8b8a7618a2 finish breadcumbs and categories 2024-01-11 19:17:26 +03:00
067c63baa8 add favicon and breadcumbs 2024-01-11 11:55:37 +03:00
5fd0861e2d filter by learning_types and course_thematics 2024-01-10 00:02:40 +03:00
728c8fa59e embed assets and minor fixes 2024-01-09 15:19:53 +03:00