wxiaoguang and silverwind
d919301d36
refactor: remove UnmarshalHandleDoubleEncode patch and fix repo unit TODO ( #39998 )
...
Remove the `UnmarshalHandleDoubleEncode` runtime workaround for an old
xorm bug, and normalize legacy double-encoded JSON in `repo_unit.config`
and `login_source.cfg` with a migration instead.
- Config `FromDB` no longer fails on corrupted values. A broken auth
source is deactivated, so admins can still fix it in the admin panel
- Remove `ProjectsConfig.GetProjectsMode`, `FromDB` already defaults
`ProjectsMode`
Actually it doesn't need so many changes, just because AI thinks it
should handle "corrupted database value" for auth sources.
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
2026-11-04 05:28:49 +00:00
..
2026-10-31 17:32:03 +01:00
2026-02-01 10:35:51 +00:00
2026-10-24 13:48:19 +00:00
2026-10-24 13:48:19 +00:00
2026-10-24 13:48:19 +00:00
2026-05-26 15:49:31 -07:00
2026-10-17 10:58:33 +00:00
2026-10-02 18:16:34 +02:00
2026-10-31 17:32:03 +01:00
2026-10-24 13:48:19 +00:00
2026-10-04 23:50:46 +00:00
2026-10-24 13:48:19 +00:00
2026-10-06 08:22:36 +00:00
2026-07-24 02:05:38 +00:00
2026-10-24 13:48:19 +00:00
2026-10-06 08:22:36 +00:00
2026-10-06 14:36:06 +08:00
2026-09-24 20:23:15 +00:00
2026-10-24 13:48:19 +00:00
2026-06-08 18:18:58 +00:00
2026-10-24 13:48:19 +00:00
2026-10-10 19:52:23 +00:00
2026-10-26 11:22:44 +00:00
2026-08-29 19:54:07 +00:00
2026-10-01 10:01:45 +00:00
2026-05-26 15:49:31 -07:00
2026-11-03 12:25:31 +00:00
2026-10-13 01:33:19 +00:00
2026-10-24 13:48:19 +00:00
2026-10-24 13:48:19 +00:00
2026-10-02 22:21:41 +08:00
2026-11-03 16:18:27 +00:00
2026-10-24 13:48:19 +00:00
2026-11-04 05:28:49 +00:00
2026-05-29 01:12:11 +00:00
2026-10-24 13:48:19 +00:00
2026-09-16 20:41:57 +02:00
2026-10-24 13:48:19 +00:00
2026-11-03 12:25:31 +00:00
2026-07-21 13:41:54 +00:00
2026-05-26 15:49:31 -07:00
2026-10-31 17:31:51 +01:00
2026-10-24 13:48:19 +00:00
2026-11-04 01:42:41 +00:00
2026-05-26 15:49:31 -07:00
2026-10-27 21:40:42 +01:00
2026-10-24 13:48:19 +00:00
2026-07-17 22:28:59 +08:00
2026-10-08 00:33:55 +08:00
2026-10-24 13:48:19 +00:00
2026-09-29 14:43:36 +02:00
2026-05-26 15:49:31 -07:00
2026-09-24 20:23:15 +00:00
2026-10-26 14:36:25 +00:00
2026-05-26 15:49:31 -07:00
2026-10-04 14:51:46 +02:00
2026-10-22 01:27:02 +00:00
2026-10-30 17:28:47 +00:00
2026-08-26 19:32:44 +00:00
2025-02-21 00:05:40 +08:00
2026-10-02 21:08:14 +02:00
2026-11-01 12:47:10 +00:00
2026-10-24 13:48:19 +00:00
2026-10-31 15:24:13 +00:00
2026-10-24 13:48:19 +00:00
2026-11-03 16:20:39 +00:00
2026-08-09 10:25:06 +00:00
2026-10-22 01:27:02 +00:00
2025-01-21 18:57:07 +00:00
2026-07-23 14:31:29 +00:00
2026-10-26 15:27:42 +00:00
2026-09-23 14:34:19 +00:00
2026-05-26 15:49:31 -07:00
2026-09-22 22:49:36 +08:00
2026-08-19 12:50:06 +00:00
2026-08-09 10:25:06 +00:00
2026-03-26 00:37:48 +08:00
2026-05-26 15:49:31 -07:00
2026-07-12 17:14:09 +00:00
2026-10-06 08:22:36 +00:00
2026-10-24 13:48:19 +00:00
2026-10-24 13:48:19 +00:00
2026-11-01 06:27:12 +00:00
2026-02-20 16:12:22 +00:00
2026-10-24 13:48:19 +00:00