wxiaoguang ef339713c2
Refactor internal routers (partial backport, auth token const time comparing) (#32473) (#32479)
Partially backport #32473. LFS related changes are not in 1.22, so skip
them.

1. Ignore non-existing repos during migrations
2. Improve ReadBatchLine's comment
3. Use `X-Gitea-Internal-Auth` header for internal API calls and make
the comparing constant time (it wasn't a serous problem because in a
real world it's nearly impossible to timing-attack the token, but indeed
security related and good to fix and backport)
4. Fix route mock nil check
2024-11-13 10:26:37 +08:00
..
2024-02-25 13:32:13 +00:00
2024-06-17 07:41:47 +00:00
2024-04-03 02:16:46 +00:00
2024-08-21 05:13:59 +00:00
2024-04-22 23:55:43 +00:00
2024-02-25 13:32:13 +00:00
2024-06-29 15:54:15 +00:00
2024-01-12 21:50:38 +00:00