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
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
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
b59fe4c694
Have a common PartListBuildingEvent, fixes #1124
2024-03-28 16:17:18 +00:00
Shish
2be141327a
[graphql] fix graphql field access, fixes #1089
2024-02-25 16:54:13 +00:00
Shish
e80d235fe9
[core] use Safe library, reduce StdLibEx
2024-02-20 10:38:20 +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
20a87576b9
[wiki] cleanups and security
2024-02-10 16:40:38 +00:00
Shish
77b755e68b
[core] reduce use of GET global
2024-02-09 16:36:57 +00:00
Shish
4c6e46b422
[image] we might be generating a link to an image which has not yet been posted
2024-01-22 22:42:27 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +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
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
4c2d6d9ca4
[replace] split upload and replace completely, fixes #1001
2024-01-09 03:38:51 +00:00
Shish
a28fb66b91
[core] have ImageReplace replace image->file with a new file, not replace a whole Image object
2024-01-09 02:33:14 +00:00
Shish
267e176658
[core] have extensions react to ImageAdditionEvent, instead of sending ImageAddition and other events in parallel
2024-01-09 01:32:34 +00:00
Shish
0762da54eb
[core] have ThumbnailGenerationEvent work on an Image
2024-01-09 01:03:46 +00:00
Shish
af309601f5
[upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc
2024-01-05 15:00:07 +00:00
Shish
61b28c5031
[image] set thumb width / height as CSS varibles, see #938
2024-01-03 15:08:41 +00:00
Shish
c0d9946e71
[upload] go full OOP for upload results
2024-01-01 04:30:43 +00:00
Shish
26bf4277e0
Separate out GET and POST more explicitly
...
- No longer allow uploading directly via GET, that is terrible for
security. Instead, use the GET parameters to pre-fill the upload form.
- PageRequestEvent has a `method` property that can be checked in
extensions
2024-01-01 03:30:21 +00:00
Shish
a5c6f1321b
refactor search a little and add much better testing
2023-12-14 17:04:16 +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
00d4f9f75c
always have a Themelet, never null
2023-06-27 16:11:14 +01:00
Shish
fddc1fd453
[img] allow CLI image deletion
2023-03-30 19:40:17 +00:00
NottyNoz
4253d357af
board config cleanup
2023-03-27 16:45:59 +01:00
Shish
22fb8b3b3c
only set source if needed
2023-01-30 23:41:41 +00:00
Shish
fe72ba25d0
set source during upload using SourceSetEvent
2023-01-30 23:31:20 +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
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
Matthew Barbour
27b2988bd8
Image to Post - Image
2020-10-26 10:53:02 -05:00
Shish
19a6b39c70
make use of str_starts_with / str_ends_with / str_contains
2020-10-25 19:31:58 +00:00
Shish
a617ed4331
newlines in tooltips
2020-10-25 13:30:00 +00:00
Shish
7b3ab71b1e
standard post linking - avoid the word "Image"
2020-10-09 13:51:24 +01:00
Matthew Barbour
6bc8b791d2
Added option to go to next image when an image is deleted
2020-10-08 17:24:21 -05:00
Matthew Barbour
4c5ef85906
Added image info option to admin, changed the info template parser to not use the url-escaped option
2020-08-28 09:50:36 -05:00
Shish
153aa481da
re-add support for $ext in link template
2020-07-07 16:02:29 +00:00
Matthew Barbour
a3a3aba040
Added ImageDownloadingEvent that allows extensions to stop a user from viewing an image or perform other operations on the image before the image is downloaded to the user
2020-06-25 00:43:11 +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
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Shish
d14c2ce8ea
test fixes
2020-06-24 17:32:06 +01:00
Matthew Barbour
e18fe295b4
Added default media engine to for thumbnails
...
Fixes #729
2020-06-24 16:58:33 +01:00