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-01-16 08:13:07 +01:00
2023-02-04 10:30:43 +08:00
2024-08-21 01:55:14 +08:00
2024-01-19 17:05:02 +01:00
2022-11-27 18:20:29 +00:00
2024-02-24 18:46:49 +00:00
2024-11-13 10:26:37 +08:00
2024-08-21 01:55:14 +08:00
2024-08-07 15:58:09 +00:00
2024-03-12 04:21:27 +00:00
2024-05-07 02:07:33 +00:00
2023-12-13 21:02:00 +00:00
2024-08-21 01:55:14 +08:00
2022-11-27 18:20:29 +00:00
2023-06-13 09:02:25 +00:00
2022-11-27 18:20:29 +00:00
2023-04-13 19:17:27 -04:00
2024-03-24 17:05:00 +01:00
2024-04-01 20:23:17 +00:00
2023-12-13 21:02:00 +00:00
2024-08-21 01:55:14 +08:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2024-04-22 11:48:42 +00:00
2024-03-12 04:21:27 +00:00
2024-08-08 03:08:30 +00:00
2024-05-07 02:07:33 +00:00
2022-11-27 18:20:29 +00:00
2024-08-08 03:08:30 +00:00
2024-02-12 23:37:23 +01:00
2024-02-14 17:18:30 +00:00
2024-05-07 02:07:33 +00:00
2024-05-03 17:59:33 +08:00
2024-05-03 17:59:33 +08:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-04-13 08:38:44 +00:00
2024-02-14 18:19:57 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2024-05-07 02:07:33 +00:00
2024-01-19 17:05:02 +01:00
2024-04-26 09:49:48 +00:00
2024-05-07 02:07:33 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2019-03-27 17:33:00 +08:00
2023-05-26 01:04:48 +00:00
2024-04-27 08:03:49 +00:00
2024-05-07 02:07:33 +00:00
2024-01-19 05:49:18 +00:00
2024-02-24 18:46:49 +00:00
2024-02-24 18:46:49 +00:00
2024-05-07 02:07:33 +00:00
2024-08-21 01:55:14 +08:00
2023-07-12 19:07:29 +02:00
2023-12-13 21:02:00 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2024-08-09 15:43:23 +08:00
2024-08-21 01:55:14 +08:00
2024-08-09 15:43:23 +08:00
2024-03-08 15:30:10 +08:00
2024-03-12 04:21:27 +00:00
2024-08-21 01:55:14 +08:00
2024-08-08 03:08:30 +00:00
2024-08-08 03:08:30 +00:00
2024-01-23 05:40:00 +00:00
2024-05-07 02:07:33 +00:00
2024-03-12 04:21:27 +00:00
2024-03-12 04:21:27 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-07-05 11:24:01 +02:00
2024-02-24 18:46:49 +00:00
2024-08-21 01:55:14 +08:00
2023-05-24 19:37:36 +00:00
2024-02-24 18:46:49 +00:00
2023-12-19 07:20:47 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-03-02 13:32:21 +08:00
2023-07-27 12:47:41 +02:00
2023-03-02 13:32:21 +08:00
2024-03-22 19:17:30 +08:00
2023-12-19 07:20:47 +00:00
2024-08-21 01:55:14 +08:00
2024-04-01 20:23:17 +00:00
2024-04-01 20:23:17 +00:00
2023-05-04 05:08:41 +00:00
2024-08-07 15:58:09 +00:00
2024-08-21 01:55:14 +08:00
2023-12-19 07:20:47 +00:00
2024-05-07 02:07:33 +00:00
2024-02-09 11:02:53 +08:00
2024-02-09 11:02:53 +08:00
2024-02-09 11:02:53 +08:00
2024-02-09 11:02:53 +08:00
2022-11-27 18:20:29 +00:00
2024-04-22 11:48:42 +00:00
2024-04-01 20:23:17 +00:00
2024-04-01 20:23:17 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-08-21 01:55:14 +08:00
2022-11-27 18:20:29 +00:00
2023-02-14 21:23:04 +00:00
2023-12-13 21:02:00 +00:00
2024-08-21 01:55:14 +08:00
2024-02-22 03:48:19 +00:00
2023-12-13 21:02:00 +00:00
2024-05-21 00:58:21 +08:00
2024-05-21 00:58:21 +08:00