8ea78eed6a
have database performance measured in three ways at once, instead of three separate ways
2019-07-06 21:41:48 +01:00
c682670f64
derp
2019-07-06 10:38:18 +01:00
ccb9c493d5
s/Context/EventTracer/g
2019-07-05 20:49:47 +01:00
f0326dc3ab
bootstrap as its own phase
2019-07-05 19:20:37 +01:00
a82fb56063
Added force flag to image deletion event to override trash extension
2019-07-05 18:31:31 +01:00
1bd9238b17
Additional trash stuff
2019-07-05 18:29:45 +01:00
32d37254f7
New trash extension. For undelete-type stuff.
2019-07-05 18:29:44 +01:00
92bb96049f
Added SCORE sql constants
2019-07-05 17:41:29 +01:00
639c896a16
Added join_path to cleanly join paths.
...
Added sanitize_path to normalize and deduplicate directory separators.
Changed warehouse_path to be able to scale up the number of octect pairs as much as desired.
2019-07-05 16:43:06 +01:00
aa9ce52f47
Adjustment to DATABASE_TIMEOUT
2019-07-05 16:25:03 +01:00
3fc0ba3a63
Added DATBASE_TIMEOUT constant to allow customizing database wait time
2019-07-05 16:25:03 +01:00
6a6d73168b
Added function to database object for interpreting parameter values to ones that are database-appropriate. Specifically, to turn true/false into the correct values for a bool column.
2019-07-05 16:25:03 +01:00
af263bc2a5
Fix the flv mime type mapping
2019-07-05 16:25:03 +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
c24a6e9b97
formatting pass
2019-06-21 09:12:44 +01:00
42a502953b
Merge pull request #663 from sanmadjack/bugfixes
...
Bugfixes and small changes
2019-06-21 09:11:52 +01:00
1370afec72
Moved database driver constants to DatabaseDriver
2019-06-20 10:47:15 -05:00
a2ac9776ff
path tag corrections
2019-06-19 23:28:34 -05:00
c951f7d13e
Adjusted path-to-dir regex to prevent an error
2019-06-19 20:22:41 -05:00
27574cad76
Merge remote-tracking branch 'upstream/develop' into path_to_tags_enhancements
2019-06-19 20:21:47 -05: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
123089bfbf
Merge remote-tracking branch 'upstream/develop' into bugfixes
...
# Conflicts:
# core/imageboard/image.php
2019-06-18 13:31:04 -05:00
1d10baa719
only sql-escape if we're going to the database, not the accelerator
2019-06-16 19:25:40 +01:00
6df1190501
Rename Tag/ImgQuerylet to Tag/ImgCondition
...
It was confusing because Tag/ImgQuerylet (an abstract condition to use
as part of image search filtering) were unrelated to Querylet (a
fragment of SQL)
2019-06-16 19:11:16 +01:00
6b9d18b52e
Parse tags first, then check accelerator, then check database
...
Better than half-assed tag parsing in the accelerator then full parsing
in the database
2019-06-16 19:07:55 +01:00
37fe743f65
Changed "images" and "thumbs" usages to constants
2019-06-15 11:20:11 -05:00
4ade0090cc
Added float support to config
2019-06-15 11:20:01 -05:00
6f501a6e74
Database driver constants
2019-06-14 13:38:47 -05:00
58acb71282
Change imagemagick commands to return the error output
...
Added ico to transcode extension
2019-06-14 13:01:24 -05:00
ed4b6bc4a0
Updated handle_ico to use new common image thumbnailing and to inherit DataHandlerExtension
2019-06-14 13:00:59 -05:00
85b6bba689
Changed path_to_tags to interpret ; as : and to allow inheriting categories from parent folders
2019-06-14 09:50:23 -05:00
1b76366dd9
Cleaned up some of the new image processing code, added documentation
2019-06-14 09:41:55 -05:00
064b24ffc1
formatting pass
2019-06-14 13:47:50 +01:00
d1102cd635
Merge from sanmadjack:develop
2019-06-14 13:46:55 +01:00
f078b283bd
pull a bunch of small fixes from #659
2019-06-14 13:16:58 +01:00
5765978afd
Changed to prevent writing duplicate image tag IDs
2019-06-14 12:52:58 +01:00
8cdab6623a
Changed clamp function to allow null values
2019-06-13 18:17:38 +01:00
1aa0225652
Adjustments to transcoding to allow psd transcoding to actually work
...
Changed resize extension to run later in the extension stack
Little fixes
2019-06-13 11:45:34 -05:00
1d1536b1ee
assert_options is deprecated for php7
2019-06-13 16:57:58 +01:00
10d8b352c1
allow tags with apostrophes to be accelerated
2019-06-13 16:57:23 +01:00
3269d32378
Added transcode extension to allow admins to convert images to other types (for instance, converting PNG to more efficient lossless webps, not that I made this just so I could do that). It also allows uploading image formats that aren't compatible with the web, such as TIFF and PSD, by automatically transcoding them to a supported fele format.
2019-06-12 17:54:06 -05:00
b27904a7e0
Changes to bulk actions, passing full ID arrays instead of chunked image arrays
...
Changed the bulk actions to have a separate identifier from the button name
2019-06-12 17:46:24 -05:00
97f60b3ea5
Better error handling for GD code
2019-06-12 17:40:43 -05:00
97abeb5254
Added option to detect file type based on header bytes
2019-06-12 17:35:11 -05:00
f2fb040a5b
Moved ImageResizeException to the core space so that the core space image resize code can use it
2019-06-11 09:06:47 -05:00
b31a916477
Changed clamp function to allow null values
2019-06-11 09:05:54 -05:00
b7945b098e
Changed to prevent writing duplicate image tag IDs
2019-06-09 14:18:25 -05: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
e651da03cc
Changed path tag handling to merge path tags with filename tags
...
Added 0-9 to the filename tag regexp so that extensions like mp4 will be picked up as well.
2019-06-02 13:27:24 -05:00