maziggy
0cc7cf0f36
Refuse null for number and on/off settings, and read bad rows as the default (issue #2518 )
...
A PUT /settings with null for a number setting stored the literal
"None". From then on int()/float() raised inside the response builder,
and every settings read returned 503 until the row was fixed by hand.
Explicit null for any boolean or numeric setting is now refused with a
422 that names the keys, and nothing in that request is saved. A numeric
row that does not parse reads back as its default with a warning, so an
install that already stored one recovers. The typed-key lists moved to
module constants so the save check and the read path share them.
2026-09-28 11:32:02 +02:00
..
2025-11-28 10:23:59 +01:00
2026-07-31 08:18:05 +02:00
2026-09-28 09:58:16 +02:00
2026-07-31 08:18:05 +02:00
2026-09-24 11:59:30 +02:00
2026-09-27 12:45:50 +02:00
2026-05-17 10:54:28 +02:00
2026-09-26 15:37:19 +02:00
2026-09-20 12:12:56 +02:00
2026-04-04 12:54:31 +02:00
2026-08-29 08:51:33 +02:00
2026-07-11 13:38:15 +02:00
2026-09-20 12:12:56 +02:00
2026-09-26 12:51:53 +02:00
2026-06-06 10:41:28 +02:00
2026-09-07 13:38:15 +02:00
2026-02-18 11:58:17 +01:00
2026-09-20 10:06:47 +02:00
2026-04-14 11:10:24 +02:00
2026-08-05 16:10:04 -04:00
2026-08-10 11:43:23 +02:00
2026-08-05 14:26:38 +02:00
2026-09-20 11:49:00 +02:00
2026-08-01 10:35:22 +02:00
2026-08-28 09:46:37 +02:00
2026-07-09 16:29:13 +02:00
2026-04-23 15:54:59 +02:00
2026-08-03 11:10:11 +02:00
2026-09-26 15:37:19 +02:00
2026-07-12 08:44:53 +02:00
2026-02-09 17:00:02 +01:00
2026-08-25 12:17:23 +02:00
2026-06-02 14:58:10 +02:00
2026-09-20 12:12:56 +02:00
2026-06-02 10:02:17 +02:00
2026-07-28 21:05:29 +00:00
2026-08-06 20:27:25 +02:00
2026-09-27 12:45:50 +02:00
2026-08-25 08:49:24 +02:00
2026-09-07 10:39:10 +02:00
2026-06-13 09:35:49 +02:00
2026-09-26 15:37:19 +02:00
2026-09-07 13:38:15 +02:00
2026-09-26 15:37:19 +02:00
2026-06-20 12:55:24 +02:00
2026-09-27 12:04:05 +02:00
2026-09-26 15:37:19 +02:00
2026-08-15 13:40:21 +02:00
2026-09-28 11:32:02 +02:00
2026-07-24 09:15:03 +02:00
2026-06-27 16:52:05 +02:00
2026-09-20 12:12:56 +02:00
2026-08-14 14:49:55 +02:00
2026-06-20 15:50:58 +02:00
2026-09-19 11:32:10 +02:00
2026-09-28 09:58:16 +02:00
2026-08-27 13:42:55 +02:00
2026-09-19 12:19:19 +02:00
2026-07-18 13:48:14 +02:00
2026-08-03 15:12:02 +02:00
2026-03-22 14:22:49 +01:00
2026-09-26 12:51:53 +02:00
2026-07-31 11:08:58 +03:00
2026-09-26 15:37:19 +02:00
2026-06-27 11:28:00 +02:00