Commit Graph

75 Commits

Author SHA1 Message Date
ba17fa1b5a clean: remove now unused helpers 2025-11-14 06:50:14 +01:00
8b01f79c8e fix: use .Pointer 2025-11-13 19:33:07 +01:00
34b7c509ec feat: use createUserWithCleanup for automatic test cleanup 2025-11-13 08:17:27 +01:00
32eeb76ee9 fix: check for empty header in assertHeader() 2025-11-13 08:17:11 +01:00
b2d255cc0d refactor: use assertCookie and createUserWithCleanup helpers 2025-11-13 08:16:06 +01:00
ff73d2919d refactor: use assertHeader and createUserWithCleanup helpers 2025-11-13 08:15:56 +01:00
5725cf21ce refactor: use assertHeader helper for Retry-After check 2025-11-13 08:15:35 +01:00
ac81ce66ff refactor: use assertCookie helper for auth token check 2025-11-13 08:15:21 +01:00
aeee85934c refactor: use createUserWithCleanup for automatic test cleanup 2025-11-13 08:15:07 +01:00
6b63cacf14 refactor: use assertHeaderContains helper for compression header checks 2025-11-13 08:14:45 +01:00
006609545c refactor: use newRouterConfigBuilder() 2025-11-13 08:07:11 +01:00
2755f727f2 feat: create routerConfigBuilder along with a builder function 2025-11-13 08:06:57 +01:00
4faf16c84b refactor: use switch on vote.Type 2025-11-13 08:02:52 +01:00
028bde4737 refactor: extract common setup logic 2025-11-13 08:02:45 +01:00
221f828860 clean: remove obsoletes tests 2025-11-11 16:19:26 +01:00
c2d4357262 feat: keep only one method to get title of a page 2025-11-11 16:19:09 +01:00
325cbe9c2c refactor: validateURLForSSRF() 2025-11-11 16:10:20 +01:00
2ef6494a90 feat: double default RateLimit values 2025-11-11 04:46:05 +01:00
413cf51f74 fix: update obsolete repository link 2025-11-11 04:32:25 +01:00
6426419b8b tests: add an unit test for APIHandler MountRoutes() 2025-11-11 04:26:33 +01:00
7518896cfe feat: make APIHandler consistent with other handlers 2025-11-11 04:20:59 +01:00
408b0000c8 feat: mount /api in API handler 2025-11-11 04:20:03 +01:00
78989eb9f8 fix: update route in swagger annotations 2025-11-10 21:44:33 +01:00
22d5773c7c fix: add missing swagger annotation for /api, /health and /metrics 2025-11-10 21:43:53 +01:00
71a031342b To gitea and beyond, let's go(-yco) 2025-11-10 19:12:09 +01:00