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
Shish
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
Shish
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
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
4ade0090cc
Added float support to config
2019-06-15 11:20:01 -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
070429402b
readme corrections
2019-06-14 13:01:11 -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
1b76366dd9
Cleaned up some of the new image processing code, added documentation
2019-06-14 09:41:55 -05:00
matthew
74965c383b
Merge remote-tracking branch 'upstream/develop' into develop
...
# Conflicts:
# ext/cron_uploader/main.php
2019-06-14 07:57:05 -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
5765978afd
Changed to prevent writing duplicate image tag IDs
2019-06-14 12:52:58 +01:00
Matthew Barbour
edc05b2f72
Merge remote-tracking branch 'upstream/develop' into develop
...
# Conflicts:
# ext/cron_uploader/main.php
2019-06-13 13:34:44 -05:00
Matthew Barbour
7c4356d788
Updated copyright notice
2019-06-13 18:19:18 +01:00
Matthew Barbour
5c48a5c6ee
readme correction
2019-06-13 18:19:09 +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
8cdab6623a
Changed clamp function to allow null values
2019-06-13 18:17:38 +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
Shish
1d1536b1ee
assert_options is deprecated for php7
2019-06-13 16:57:58 +01:00
Shish
10d8b352c1
allow tags with apostrophes to be accelerated
2019-06-13 16:57:23 +01: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
Matthew Barbour
cb24ac69ab
Changes to cron upload:
...
Added transaction handling so that subsequent errors don't result in images that have already moved to the uploaded folder from being wiped from the database.
Changed output folders to use subfolders based on the timestamp of the current run. This is to prevent writing over files in the error folder that happen to have the same name and path, effectively losing the data.
Added additional error and information logging, and a final count of imported/merged/failed.
2019-06-12 17:50:00 -05:00
Matthew Barbour
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
Matthew Barbour
97f60b3ea5
Better error handling for GD code
2019-06-12 17:40:43 -05:00
Matthew Barbour
f9f4c3bd37
Updated copyright notice
2019-06-12 17:36:36 -05:00
Matthew Barbour
b1909ffed6
readme correction
2019-06-12 17:35:32 -05:00
Matthew Barbour
97abeb5254
Added option to detect file type based on header bytes
2019-06-12 17:35:11 -05:00
Matthew Barbour
8f73b35fbb
Added OnTagTermParse to rating extension
...
Updated an install step to be pgsql compatible
2019-06-11 09:59:06 -05:00
Matthew Barbour
8f3c20134f
Added <label> to extension name in extension manager so the name can also be clicked to enable/disable an extension
2019-06-11 09:08:16 -05:00
Matthew Barbour
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