Commit graph

45 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
399a56ac79 [dev] bump phpstan strictness
no more null surprises
2024-08-31 21:25:20 +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
8b20fa3bc2 Add preg_replace_ex
having preg_replace return string|array|null is a pain, string|exception is much cleaner
2024-08-31 19:56:27 +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
68d87e3a84 [setup] have ConfigSaveEvent save the config 2024-06-18 17:37:39 +01:00
Shish
b59fe4c694 Have a common PartListBuildingEvent, fixes #1124 2024-03-28 16:17:18 +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
c084016b5b [setup] have ConfigSaveEvent carry its own params 2024-02-10 00:23:52 +00:00
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +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
1f4d2a5b3e [user_config] remove duplicate style file 2023-12-25 10:39:37 +00:00
Shish
d489a4fa18 [user_config] remove redundant overrides 2023-12-19 12:08:39 +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
NottyNoz
909e54b1e2 fixes 2023-06-27 11:41:47 +01:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00: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
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
32927aea3d Formatting pass 2021-01-18 08:37:32 -06:00
Matthew Barbour
bb891f3bd0 Updated user page tests 2021-01-16 15:07:17 -06: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
8a58ede5b3 remove some dead code 2020-10-29 01:28:46 +00:00
Shish
1c216e8d51 formatting 2020-06-24 12:44:35 +01:00
Matthew Barbour
844ec8b53e Removed stump user config section 2020-06-23 15:15:55 +01:00
Matthew Barbour
919a3039c4 Added user API key system 2020-06-23 15:14:04 +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
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
494ba15a70 log every ext version change 2019-11-03 19:04:57 +00:00
Shish
031c441e47 split DatabaseUpgrade into a separate event from InitExt 2019-11-03 17:21:05 +00:00
Shish
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
Shish
54067f02a4 fix merge 2019-09-29 15:44:59 +01:00
Shish
e6a402cd4e Merge branch 'custom_ratings' into develop 2019-09-29 14:41:14 +01:00
Shish
f5119b20a3 formatting 2019-09-29 14:32:51 +01:00
Shish
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
Matthew Barbour
de68691fc3 ExtensionInfo for user config 2019-09-29 14:22:04 +01:00
matthew
cf8ed3b134 Added UserLoginEvent 2019-09-29 14:21:23 +01:00
Matthew Barbour
73b784266e Moved user config stuff into an extension 2019-09-29 14:20:40 +01:00
Matthew Barbour
91b46d6598 Moved user config stuff into an extension 2019-08-07 15:49:56 -05:00