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
Matthew Barbour
9b5d963aa3
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-24 16:55:58 +01:00
Matthew Barbour
b937ad6255
Added thumbnail scaling options
...
Changed ffmpeg thumbnailer to instead output a full-size png which is forwarded to the image thumbnailer, to allow it to take advantage of all available scaling options
2020-06-23 15:05:55 +01:00
Matthew Barbour
4d69e7ce34
Added early 404 kill if requested image is not found
2020-06-22 18:02:21 +01:00
Matthew Barbour
63b2601e67
Mime type handling overhaul
...
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Shish
78710166a1
add a extra escape, fixes #718
2020-04-20 09:53:44 +01:00
Shish
02675609b4
more referer dedupe
2020-03-27 20:24:26 +00:00
Matthew Barbour
ea96f415c5
Fixed replace creating a new image instead of replacing, fixed null source causing repalce error
2020-02-24 14:40:08 +00:00
Shish
3a57817fc2
Spread ParseLinkTemplate work across relevant extensions
2020-02-09 19:22:25 +00:00
Shish
e46b319295
set theme classes
2020-02-04 00:46:36 +00:00
Shish
4e57e04ddf
fix a lot of tests
2020-01-29 20:22:50 +00:00
Shish
cddf6e9d5f
more types
2020-01-26 19:44:36 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
09b9901493
refer to users by name
2019-12-15 15:40:15 +00:00
Shish
ac5546c6ef
remove more old comments
2019-11-03 16:22:59 +00:00
Shish
30698fefdc
remove a bunch of dead variables and things
2019-10-02 11:23:57 +01:00
Shish
a6bb15d859
formatting
2019-09-29 14:30:55 +01:00
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Matthew Barbour
cb1e9c0075
Permissions to constants
2019-08-01 08:07:05 -05:00
matthew
38cc05cf37
Fixed issue with merge's duplicate hash check
2019-07-08 08:07:18 -05:00
Matthew Barbour
b1db833d51
Added additional media properties to the images table, video, audio, length, and lossless.
...
Added new event to handle fetching media properties like height, width, and the newly added fields, and admin controls to manually scan files for their properties.
Added a search terms content:video and content:audio to search for images that do (or do not) have those flags.
2019-07-08 08:07:09 -05:00
Matthew Barbour
a41e99d1af
Renamed graphics extension to media extension
2019-07-08 08:07:08 -05:00
Matthew Barbour
7cc725fbc1
Moved graphics engine constants to their own class
2019-07-08 08:07:07 -05:00
Matthew Barbour
3859e27839
New Graphics extension
...
Added constants to several extensions
2019-07-08 08:07:02 -05:00
Matthew Barbour
dfeb3bf5df
Added a database upgrade that adds a tag_id,image_id index to image_tags, and lengthens the filename field to 255 characters. 64 was ridiculous.
...
Also added a substr to the filename for the merge code so it won't error when it's a long name
2019-07-05 16:55:25 +01:00
Matthew Barbour
de6d6a0515
Added new FILE page mode that allows sending files to the browser with these improvements:
...
Reads the file and outputs it in chunks rather than all at once, reducing the amount of memory needed to very little, even for very very large files.
Supports http request ranges so that only parts of the file will be returned if requested. This allows in-browser video players to seek to arbitrary points in the video without needing to download the whole file.
Makes use of flush during send to allow the browser to being receiving file data immediately, allowing streamable video formats to begin playing before the server has finished sending the data. This could also be used in the future to add a transmission rate limiter.
Has early-disconnect detection, to terminate sending file data if the client browser has disconnected or aborted (for instance, a user starts a video, then seeks to near the middle, the first request of data will be terminated rather than continuing to process the file).
2019-07-05 16:25:03 +01:00
Matthew Barbour
5eb4a66ab7
Added merged indicator to DataUploadEvent and ImageAddEvent
...
Changed merge process so that the ID of the merged image can make it back through the event chanin
2019-06-19 20:19:38 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00