Commit graph

198 commits

Author SHA1 Message Date
Shish
edb4ca5e74 [settings] postToSettings
Trying to keep the weird POST-formatting to a minimum, using real types where possible
2024-09-01 00:13:53 +01:00
Shish
7353683a13 no implicit nulls (they are deprecated in php8.4) 2024-09-01 00:06:46 +01:00
discomrade
30b437542d [setup] allow setting bool option to false if default is true 2024-08-31 21:33:28 +01:00
Shish
845c8b3d85 [core] Make User::by_name / User::by_id not-null
Nearly everywhere that these functions are called, the result is assumed to be not-null, and a null will break things
2024-08-31 20:39:36 +01:00
Shish
32368a8f94 people who need Configs should accept Configs, no need to specify BaseConfig 2024-08-31 19:19:46 +01:00
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
17b0b4e94f [core] remove config->set_XXX("foo", null) -- use config->delete("foo") instead 2024-06-21 19:17:44 +01:00
Shish
ac123317d8 [setup] console logging for niceurl tests 2024-06-19 22:19:51 +01:00
Shish
63c6f9d2ac [core] config->save() is implicit in set_XXX(), no need to call it from outside of there 2024-06-19 15:23:42 +01:00
Shish
68d87e3a84 [setup] have ConfigSaveEvent save the config 2024-06-18 17:37:39 +01:00
Shish
00b96c313f [setup] don't crash if multichoice isn't set 2024-02-21 23:38:44 +00:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
4e362d816f [core] named constant for nice urls 2024-02-14 12:35:58 +00:00
Shish
f9d06d5e7e [core] fix nicedebug 2024-02-11 23:30:39 +00:00
Shish
7ee4152942 [core] organise exceptions a bit 2024-02-11 16:03:23 +00:00
Shish
8c22cb1fb6 [core] exact and named page args 2024-02-11 11:34:17 +00:00
Shish
cc9de6b4b2 [core] merge method-check and permission-check into page_matches() 2024-02-10 23:03:14 +00:00
Shish
7895978d93 fewer globals 2024-02-10 01:55:05 +00:00
Shish
c084016b5b [setup] have ConfigSaveEvent carry its own params 2024-02-10 00:23:52 +00:00
Shish
43e8ff3e3e more tests 2024-02-09 14:41:20 +00:00
Shish
c6e65a21f9 [setup] more specific niceurl test 2024-02-07 22:27:47 +00:00
Shish
9f9ee49e02 [setup] make niceurl testing more accurate, see #1024 2024-02-07 20:44:39 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
8b797a9a31 [tests] more strictness 2024-01-20 19:47:27 +00:00
Shish
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
Shish
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
a1f22ef67c [themes] void return type for display_* functions 2024-01-15 14:23:12 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
ec35cace6a [core] replace quarter-arsed CLI interface with Symfony Console 2024-01-11 01:01:39 +00:00
Shish
febaa815f7 [setup] wider forms on setup page 2024-01-03 15:51:22 +00:00
Shish
3acc3fa607 [css] remove more dead css, make more extension CSS be specific 2024-01-01 16:21:43 +00:00
Shish
9ed58a69a0 [setup] drop hideable setup sections
this is mostly-broken; and when it works, it is confusing; and the code
is bad
2023-12-30 04:07:40 +00:00
Shish
6d370b0aa3 [all themes] use rems for more consistent font sizing 2023-12-25 15:33:57 +00:00
Shish
095a51a4d2 [setup] column-width is standard now 2023-12-18 01:26:31 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
Shish
47ab0eda0a Jesus heckin' christ PHP is awful
PHP-CS-Fixer 3.12.0 on my laptop gives different results to PHP-CS-Fixer
3.12.0 in github...
2022-10-27 17:29:24 +01:00
Shish
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Matthew Barbour
72268d529d Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings 2021-01-16 14:26:17 -06:00
Shish
19a6b39c70 make use of str_starts_with / str_ends_with / str_contains 2020-10-25 19:31:58 +00:00
Shish
e6ec2340af fixes for tabular settings 2020-07-23 11:13:33 +01:00
Matthew Barbour
7f68ef1cfd Added option to transcode extension and thumbnailing to choose the color to use to fill in the background when converting an image with an alpha channel to a format without 2020-06-25 00:42:43 +01:00
Matthew Barbour
919a3039c4 Added user API key system 2020-06-23 15:14:04 +01:00
Matthew Barbour
c171e98591 Changed int input field to type number 2020-06-22 18:03:40 +01:00
Matthew Barbour
18cd74f57d Changed a bunch of core extensions to be hidden since there's nothing to interact with 2020-06-22 18:02:47 +01:00
Shish
5ea26a80cc nicetest without http vs https pain 2020-03-28 15:48:27 +00:00