matthew
a7188a452b
Fixed issue with setup block checkbox generator
2019-07-05 17:39:15 +01:00
Matthew Barbour
c16d55995b
Added table-building support to SetupBlock to allow easily building cleaner setup controls
2019-07-05 17:38:12 +01:00
Matthew Barbour
9ca800d1c4
Added bulk action support to pools extension
2019-07-05 17:31:27 +01:00
Matthew Barbour
8794258072
pgsql automatically creates indexes on unique columns, so the manually created indexes on those columns are redundant on that database. This will remove tham.
2019-07-05 16:55:36 +01: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
80e614b53e
Added relationship set event.
...
Adjusted relationship set statements for betteer accuracy
2019-07-05 16:46:03 +01:00
Matthew Barbour
ac1196dee1
Added lower to tag_categories search
2019-07-05 16:25:03 +01:00
Matthew Barbour
8d567e9553
Changed autocomplete to escape _ and %, lowercase the tags, and also query for tag names that are preceded by categories to address #630
2019-07-05 16:25:03 +01:00
Matthew Barbour
3fc0ba3a63
Added DATBASE_TIMEOUT constant to allow customizing database wait time
2019-07-05 16:25:03 +01:00
Matthew Barbour
1a7fa4663e
Added search_terms to the bulk action event
2019-07-05 16:25:03 +01:00
matthew
f12e2891e5
Added button element to input[button]-related css statements
2019-07-05 16:25:03 +01:00
Matthew Barbour
a7c978c8d2
Added poster attribute to video element so thumbnail can show until video is loaded
2019-07-05 16:25:03 +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
Shish
c24a6e9b97
formatting pass
2019-06-21 09:12:44 +01:00
Matthew Barbour
1370afec72
Moved database driver constants to DatabaseDriver
2019-06-20 10:47:15 -05:00
Matthew Barbour
d128dfa78e
Added lower indexes for postgresql to tags.tag and users.name to speed up queries for them using lower()
2019-06-20 10:07:43 -05:00
Matthew Barbour
a834d1f814
Resolved issue with bulk rater
2019-06-19 23:41:55 -05:00
Matthew Barbour
921ec9a7bb
Adjusted cron upload for new merged flag, and to make sure tags merge properly
2019-06-19 20:20:52 -05: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
5a30ce1c83
Reverted removal of latter tag write
2019-06-19 18:59:51 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
matthew
123089bfbf
Merge remote-tracking branch 'upstream/develop' into bugfixes
...
# Conflicts:
# core/imageboard/image.php
2019-06-18 13:31:04 -05:00
Matthew Barbour
014a4c2cd2
Added extension constant lists to resize and rotate extensions so that they weren't rendering their controls ont he wrong image types
2019-06-18 13:25:45 -05:00
Shish
6313ebc339
LIMIT 1 when fetching a wiki page
2019-06-16 19:39:28 +01:00
Shish
1d10baa719
only sql-escape if we're going to the database, not the accelerator
2019-06-16 19:25:40 +01:00
Shish
e232811e8c
silence errors from a broken client
2019-06-16 19:12:44 +01:00
Matthew Barbour
1fe18e7573
Missed a dir name
2019-06-15 12:52:22 -05:00
Matthew Barbour
8b531c04a2
removed SQLERROR escape from cron uploader, not necessary now that it is individualizing transactions.
...
Change cron uploader to use constants for dir and config names
2019-06-15 12:51:04 -05:00
Matthew Barbour
ab9389007f
Changed key-generation process for cron upload so it doesn't endlessly generate new keys before the user first hits the same buttons in settings.
2019-06-15 11:51:03 -05:00
Matthew Barbour
ed9bd5e788
Fix in ExtensionAuthor
2019-06-15 11:29:35 -05:00
Matthew Barbour
37fe743f65
Changed "images" and "thumbs" usages to constants
2019-06-15 11:20:11 -05:00
Matthew Barbour
0202597f88
Added lock file usage to cron uploader to prevent concurrent runs.
...
Changed extension manager to allow author to be a comma-separated list.
2019-06-15 11:19:51 -05:00
Matthew Barbour
e940d87c22
Added image_id null check to resize's data upload event, to prevent an error when merging is enabled
2019-06-15 11:19:38 -05:00
Matthew Barbour
6f501a6e74
Database driver constants
2019-06-14 13:38:47 -05:00
Matthew Barbour
444de26ce3
Added warning for webp thumbnails
2019-06-14 13:34:21 -05:00
Matthew Barbour
8950d27d64
Changed upload to detect unrecognized files so that it doesn't just blankly refresh when the type isn't handled
2019-06-14 13:01:49 -05:00
Matthew Barbour
58acb71282
Change imagemagick commands to return the error output
...
Added ico to transcode extension
2019-06-14 13:01:24 -05:00
Matthew Barbour
ed4b6bc4a0
Updated handle_ico to use new common image thumbnailing and to inherit DataHandlerExtension
2019-06-14 13:00:59 -05:00
Matthew Barbour
e854b6d884
Custom rating changes
2019-06-14 09:47:14 -05:00
Matthew Barbour
1b76366dd9
Cleaned up some of the new image processing code, added documentation
2019-06-14 09:41:55 -05:00
Matthew Barbour
b522d68736
Custom rating support
2019-06-14 08:05:30 -05:00
Shish
44fcc3a1e9
rm some dead code
2019-06-14 13:52:27 +01:00
Shish
064b24ffc1
formatting pass
2019-06-14 13:47:50 +01:00
Shish
d1102cd635
Merge from sanmadjack:develop
2019-06-14 13:46:55 +01:00
Shish
f078b283bd
pull a bunch of small fixes from #659
2019-06-14 13:16:58 +01:00
Matthew Barbour
6006a83229
Added <label> to extension name in extension manager so the name can also be clicked to enable/disable an extension
2019-06-13 18:18:51 +01:00
Matthew Barbour
68c3e5ea42
Changed cron upload so that an unrecognised file type results in an error instead of a success
2019-06-13 18:17:16 +01:00
Matthew Barbour
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
Matthew Barbour
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
Matthew Barbour
a1512975b6
This should have been checked in with the header bytes change, provides the actual type detection
2019-06-12 17:51:15 -05:00