38cc05cf37
Fixed issue with merge's duplicate hash check
2019-07-08 08:07:18 -05:00
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
a41e99d1af
Renamed graphics extension to media extension
2019-07-08 08:07:08 -05:00
7cc725fbc1
Moved graphics engine constants to their own class
2019-07-08 08:07:07 -05:00
3859e27839
New Graphics extension
...
Added constants to several extensions
2019-07-08 08:07:02 -05:00
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
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
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
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
444de26ce3
Added warning for webp thumbnails
2019-06-14 13:34:21 -05:00
064b24ffc1
formatting pass
2019-06-14 13:47:50 +01:00
eb4292316d
Added webp upload and thumbnailing support
...
Bug fixes and consolidation of various thumbnail and resize functionality
Changed resize/rotate extensions to use replace image event
Added content-disposition header to image responses to provide a human-friendly filename when saving
Added more bulk thumbnail regeneration tools
Tweaks to bulk actions to correct totals when batching items
2019-06-09 14:14:04 -05:00
49cb6f7233
Added thumb_scaling option for generating high-dpi thumbnails
2019-06-06 14:12:13 -05:00
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
5ec3e89884
php7.1 all the things
2019-05-28 17:31:20 +01:00
d918f058bf
core imageboard events
2019-02-22 19:57:55 +00:00
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
ec4111430d
More linting.
2017-03-12 00:29:10 -08:00
6febdec7b5
more explicit variable types
2016-06-19 23:05:57 +01:00
76c2815b2b
unit test bettering
2016-06-17 23:42:12 +01:00
1ac88e8923
more comments
2015-09-27 12:38:48 +01:00
fc2bbefcb9
test all the things
2015-09-20 22:40:04 +01:00
90cd823ece
fix liveness testing, and comments tests
2015-09-20 20:05:06 +01:00
9af5995dcc
PHPUnit proof of concept
2015-09-20 20:03:29 +01:00
35a4f385b3
phpstorm tidying
2015-09-12 11:43:28 +01:00
90e86b99ae
page->set_code() to set HTTP status
2015-08-02 19:40:57 +01:00
21d96db771
remove unused var
2015-06-01 10:50:26 +01:00
4f51e942be
Updating/Fixing/Adding more comments with the PHP Doc style.
2014-04-27 15:33:57 -04:00
50686ac61e
More linting, fix PHPDoc style.
2014-04-24 22:29:29 -04:00
daee99c1bc
Removing the closing PHP "?>" tag as per style guidelines.
2014-04-24 22:28:53 -04:00
f72bfbb050
fix indentation
2014-04-06 20:47:01 +01:00
c8aa3327a1
A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes
2014-03-30 13:26:48 +01:00
7b68d8ebfd
use new-style constructors everywhere
2014-03-22 09:00:59 +00:00
bdb3255116
speed: lowercase ext on image insert
...
avoids having to lowercase every build_thumb_html call
most extensions tend to match against their lowercase versions anyway
2014-02-23 22:27:52 +00:00
80bdc565dd
truncate filenames on insert
2012-11-24 20:01:14 +00:00
bbe2b1dc46
don't need to load the file into memory if we're responding with '304 not modified'...
2012-09-22 23:10:29 +01:00
624468851e
Only show thumb_convert_path if using ImageMagick
2012-08-21 19:00:25 -07:00
10fadb27d1
Make thumb_convert_path not Windows-specific
2012-08-21 18:46:34 -07:00
d154b38680
Add thumb_convert_path to Board Config
2012-08-21 18:42:14 -07:00
216dada347
somehow ImageIOTheme wasn't extending Themelet, and things mostly worked...
2012-08-18 20:56:35 +01:00
5ddd358d5f
don't user build_thumb_html statically
2012-08-18 19:47:57 +01:00
7dd929e5a8
remove a whole load of event->user variables that weren't used -- things should be using global user
2012-08-18 19:45:39 +01:00
ee52d582c4
image replacing simplicity
2012-07-28 11:12:05 +01:00
bfd4ddea17
check for classes being loaded, not files existing
2012-05-23 10:39:21 +01:00
cb8b4f3329
have a single var for memory limit
2012-05-22 12:26:47 +01:00
2fc4292cef
expiring images is advanced, and also rarely used as people should have niceurls
2012-04-01 16:58:42 +01:00
664e6fa509
*image_ad* is blocked by opera, which makes use of image_admin a pain...
2012-04-01 16:06:11 +01:00
ab128b4b24
make non-nice images work
2012-04-01 15:55:48 +01:00
7a6ef55114
bleh, source validation. Anything is allowed and it's only linked on output if appropriate
2012-03-25 04:45:47 +01:00
f2f5ec720d
debugging
2012-03-25 04:11:40 +01:00