Shish
b3aa0fc381
Merge branch 'main' into speed-hax
2024-08-31 22:00:30 +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
8f8c0d151a
Update dependency versions
2024-08-31 17:06:39 +01:00
Shish
f84bcaec01
microhtml for everything in <head>
...
I wanted to ensure that all pages (even the downtime page, terms page, home page, etc) had the appropriate `data-` attributes on `<body>` (because those are required for certain javascript, eg autocomplete, to work). One thing led to another and now everything in `head` is microhtml'ed
2024-06-21 18:52:05 +01:00
Shish
8a3d5b5b11
[core] move get_session_id and set_login_cookie into User class
2024-06-20 01:07:11 +01:00
Shish
ea700d5aa6
[core] have UserCreationEvent return the created user, so we don't need to immediately re-query for it
2024-06-19 23:57:07 +01:00
discomrade
350b44f250
[speed_hax] extract SPEED_HAX tweaks to extension
2024-06-14 13:52:49 +00:00
Shish
5cbbe5e1b3
[core] remove is_logged_in
...
This was only used in a couple of places, and user classes are more useful
2024-05-04 16:06:08 +01:00
discomrade
ba2bad48a6
[user] fix typo in password check
2024-05-04 15:01:33 +01:00
Shish
b59fe4c694
Have a common PartListBuildingEvent, fixes #1124
2024-03-28 16:17:18 +00:00
Noz
93944fc883
[user] change email required default
2024-02-21 10:15: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
81a8587543
ImageAction->add_button + display_crud
2024-02-10 18:35:55 +00:00
Shish
7895978d93
fewer globals
2024-02-10 01:55:05 +00:00
Shish
cbc574db90
[core] reduce use of POST global
2024-02-10 00:23:53 +00:00
Shish
77b755e68b
[core] reduce use of GET global
2024-02-09 16:36:57 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
Shish
05199c13cc
[core] kill a secret global
2024-01-20 19:52:18 +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
373be4e05c
avoid stringy class names
2024-01-20 01:03:02 +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
a50b103a4a
[themes] zebra tables are also forms
2024-01-08 21:03:04 +00:00
Shish
94ee6e4bc3
[user] admins are exempt from the email requirement, fixes #996
2024-01-07 17:33:39 +00:00
Shish
02da92403a
fmt
2024-01-06 21:28:06 +00:00
Shish
cff163591c
[hellban] merge with user ext
2024-01-06 21:20:38 +00:00
Shish
840b0849df
[user] make email-requiredness a setup option
2023-12-27 10:07:09 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Shish
43c7be0e89
dedicated search_link() function for generating links to search results, see #936
2023-08-18 13:52:03 +01:00
Shish
23e36b4349
only link to post/list when you actually want post/list, if you want just a default page, leave it empty
2023-08-18 12:45:56 +01:00
Shish
f040709a76
proper support for html in usernav
2023-08-16 15:52:14 +01:00
Shish
00d4f9f75c
always have a Themelet, never null
2023-06-27 16:11:14 +01:00
Shish
928c9d95d1
Blocks can accept HTMLElements directly
2023-06-27 11:59:39 +01:00
Shish
33f32f7b22
Revert "INSERT ... RETURNING is well-supported now" - mysql doesn't...
...
This reverts commit 633d5c5348
.
2023-06-25 20:31:11 +00:00
Shish
633d5c5348
INSERT ... RETURNING is well-supported now
2023-06-25 20:25:09 +00:00
Shish
1d4c43f33b
no autocomplete for r34
2023-06-25 10:17:56 +00:00
Shish
9adee430ca
fade out permissions which are inherited from the parent userclass
2023-06-25 00:26:34 +01:00
Shish
162aaccb62
Display documentation for permissions
2023-06-24 21:24:25 +01:00
Shish
ec854036e0
format
2023-06-24 19:35:03 +01:00
Shish
e51c6bed20
show a table of user classes, see #921
2023-06-24 12:10:28 +00:00
Shish
b5b7fe7d9e
allow admin to bypass user creation block
2023-04-03 22:14:51 +00:00
NottyNoz
4253d357af
board config cleanup
2023-03-27 16:45:59 +01:00
Shish
cfa7434d8d
user creation
2023-02-24 21:12:58 +00:00