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
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
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
Matthew Barbour
e2d04ca58c
Merge remote-tracking branch 'upstream/develop' into develop
2019-06-11 08:50:27 -05:00
Matthew Barbour
4410baeb9c
Changed cron upload so that an unrecognised file type results in an error instead of a success
2019-06-09 14:17:13 -05:00
Matthew Barbour
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
Shish
e77f7de7f9
Fixes for tag / source history
2019-06-09 08:32:01 +01:00
Matthew Barbour
49cb6f7233
Added thumb_scaling option for generating high-dpi thumbnails
2019-06-06 14:12:13 -05:00
Matthew Barbour
8612a07a5a
cleanup
2019-06-05 19:37:07 -05:00
Matthew Barbour
66df295ec1
Bulk action extension
2019-06-05 18:16:15 -05:00
matthew
8741529590
Enabled rating extension for pgsql
2019-06-03 08:58:39 -05:00
matthew
aef455949b
Added escape to cron upload to stop the process when a transaction-breaking error occurs.
2019-06-02 13:38:25 -05:00
matthew
38badf7e45
Changed cron import to output imported/failed files to subdirectories matching the imported file's original subdirectory
2019-06-02 13:34:24 -05:00
matthew
5a2f893667
Changed cron upload new image tagging to work with tag event's requirement for tags to not be empty.
2019-06-01 12:17:38 -05:00
matthew
3e2a0ea3b5
Brought cron upload tag handling inline with everything else
2019-06-01 12:12:36 -05:00
matthew
e92ac10349
Removed unset line so it doesn't do it twice.
2019-06-01 12:08:07 -05:00
matthew
63a69e4258
Change to correct issue with my change to prevent cron uploader from throwing warnings. Now using array_pop so that position in the array doesn't matter.
2019-06-01 12:02:58 -05:00
root
23392b6b91
Removed a test line
2019-06-01 10:07:01 -05:00
root
98bc7c7df1
Corrected issue preventing cron upload from generating key
2019-06-01 10:04:16 -05:00
Shish
d387469fdb
Use RecursiveDirectoryIterator for cron_uploader consistently, should fix #652
2019-06-01 08:13:07 +01:00
Shish
8e90279c11
Fixes for cron uploader, fixes #650
2019-06-01 07:51:02 +01:00
Shish
bf473f6d51
more lint fixes
2019-05-29 18:23:29 +01:00
Shish
8a49b1e80e
remove unmaintained chatbox / amazon_s3 exts
2019-05-28 20:28:05 +01:00
Shish
2396ae2ef9
fix a bunch of lints
2019-05-28 20:27:23 +01:00
Shish
93cc732d39
fix tests
2019-05-28 19:00:23 +01:00
Shish
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
Shish
5ec3e89884
php7.1 all the things
2019-05-28 17:31:20 +01:00
Shish
445687111e
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2019-05-26 16:25:36 +01:00
Shish
b91f20875a
put upload block on every page
2019-05-26 16:15:43 +01:00
Shish
6175b36cc9
don't show uploader name in RSS feed, halve the number of queries
2019-05-26 10:37:26 +01:00
Shish
3d326344a9
don't show refine block for heavy queries
2019-05-26 10:35:26 +01:00
Shish
a0588bd8f8
empty list rather than 404 for invalid autocompletes
2019-05-21 23:12:52 +01:00
Shish
037b1f0f70
log mass deletion count in advance
2019-04-28 09:53:53 +01:00
Shish
bef1628b08
also block autocomplete for % / _
2019-04-26 10:31:23 +01:00
Shish
bc45944ac9
flashier tnc
2019-04-26 10:15:32 +01:00
Shish
65dc3898c0
common tags / common source fields
2019-04-26 10:15:32 +01:00
Shish
b2b4317203
sync with python rss_images
2019-04-26 10:15:32 +01:00
Shish
80c84f3248
More detailed login logging
2019-04-26 10:15:32 +01:00
Shish
629f155187
don't autocomplete searches with ==0 or >32 characters
2019-04-26 10:12:40 +01:00
Shish
4c70258352
typos
2019-04-16 20:41:13 +01:00
Shish
c2834aad96
regular implode() for shell commands
2019-02-24 08:29:33 +00:00
Shish
2acbba9d02
influxdb-friendly statsd format
2019-02-22 21:26:42 +00:00
Shish
ffd5fbb4af
fully customisable IP ban
2019-02-22 21:24:53 +00:00
Shish
a588a0cfc5
show the right IPs
2019-02-22 21:05:53 +00:00
Shish
a8dfc9277b
Show logged event IPs on user page
2019-02-22 21:04:09 +00:00
Shish
7abf1aa591
custom ipban message
2019-02-22 19:58:04 +00:00
Shish
d918f058bf
core imageboard events
2019-02-22 19:57:55 +00:00
Shish
60a28af000
s/implode/Tag::implode/
2019-02-02 12:07:33 +00:00
Shish
eb24fa0b21
tweaks
2019-02-02 12:05:59 +00:00
Shish
ead3a5a588
php7 assertions, no strings
2019-01-06 10:40:39 +00:00
Shish
c9ccb22951
make handle_static its own extension
2018-11-11 17:38:32 +00:00
Shish
b95cbe4666
skip r34 comic bits by default
2018-11-10 14:15:07 +00:00
Shish
16d0abb546
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2018-11-10 13:10:22 +00:00
Shish
cc23528459
subdirs for tag_list caches, as those get huge...
2018-11-10 13:10:14 +00:00
Shish
c74bd58207
sort image reports by id (newest first)
2018-11-10 12:03:05 +00:00
Shish
7a7dc86cfc
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2018-11-10 11:57:13 +00:00
Shish
9e795f41a7
use vendor JS directly instead of copy-pasting
2018-11-07 15:12:13 +00:00
Shish
f772b30301
fix some tests
2018-11-07 15:12:09 +00:00
Shish
fc6fb3c6b8
use current protocol for niceurl test, see #632
2018-11-06 00:02:07 +00:00
Shish
9d3f4ea4b3
move ext-specific js into that ext
2018-11-05 23:12:18 +00:00
Shish
c0699ce236
s/mime_content_type/getMimeType/, fixes #633
2018-11-05 19:52:55 +00:00
Shish
b93026ac1d
dedupe 'og:' meta tags
2018-11-05 19:17:42 +00:00
Shish
55e0e32395
Let the client choose the protocol for QR images (see #477 )
2018-11-05 17:52:21 +00:00
Shish
4b37a38857
viewports argh
2018-09-09 10:58:18 +01:00
Shish
a7a7c0dd47
handle ffmpeg thumbnailing in a slightly more sane way
2018-09-09 10:57:28 +01:00
Shish
1ed888611a
drop support for video without ffmpeg
2018-09-09 10:21:56 +01:00
Rudolf M. Schreier
2ae760b62e
Add missing escaping of ffmpeg shell command during video thumbnail generation
2018-08-14 11:23:09 +02:00
Shish
9f3bf7d2e1
force-desktop toggle
2018-07-26 00:28:08 +01:00
Shish
24276390b4
autocomplete only for search boxes again
2018-07-26 00:27:56 +01:00
Shish
bd6b2289b1
image-info box should avoid wrapping
2018-07-26 00:27:39 +01:00
Shish
dbc430e3d5
link to main and backup image
2018-07-26 00:26:46 +01:00
Shish
dd8a90414f
leave it to the theme to link to the image
2018-07-26 00:26:23 +01:00
Shish
97a03d8f83
paginated user list
2018-07-22 19:23:34 +01:00
Shish
d48e34030d
time and message searching in the log
2018-07-22 15:08:53 +01:00
Shish
f31dabce20
show number of up/down votes on user page
2018-07-20 01:29:38 +01:00
Shish
e809a72155
log autocomplete errors instead of alerting
2018-07-20 00:48:03 +01:00
Shish
639a1bc3cd
format text for image reports
2018-07-20 00:37:43 +01:00
Shish
8ea25a4e90
.autocomplete_tags as the class to indicate we want tag autocompletion
2018-07-20 00:32:49 +01:00
Shish
c75e7060e6
hide by default
2018-07-19 22:17:19 +01:00
Shish
1b372b2575
typo
2018-07-19 20:09:36 +01:00
Shish
8768284602
add r34 ext
2018-07-19 19:55:28 +01:00
Shish
d91b0ec218
regen thumbnail from cli
2018-07-19 19:53:20 +01:00
Shish
9b0edcf449
also don't even follow links from deep search pages
2018-07-19 08:51:19 +01:00
Shish
71445fdf96
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2018-07-17 01:15:27 +01:00
Shish
4c73b27d1e
tell google to stop indexing /post/list/-cake%20-pie/34342
2018-07-15 20:34:52 +01:00
Shish
c9d7bd1ae3
delete cached thumb blocks after replacing images
2018-06-20 03:08:40 +01:00
Shish
bc68137797
use svg-sanitize to sanitize SVG files
2018-02-20 22:00:24 +00:00
Shish
cf95e28144
firefox complains about invalid email in an email field
2017-10-28 20:28:23 +01:00
Shish
7d478a809c
this is PHP :(
2017-09-21 15:35:13 +01:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
Shish
df3f061533
PHPUnit 6
2017-09-21 04:16:36 +01:00
Shish
8a4616bc7d
Merge branch 'develop'
2017-09-18 23:56:40 +01:00
Shish
236b444ccd
fix test
2017-09-17 19:38:44 +01:00
Shish
186ea55348
safety
2017-09-17 19:11:51 +01:00
Shish
5763b77e2b
strnorm
2017-09-17 19:10:10 +01:00
Shish
2c0e49507e
limit / offset
2017-09-17 19:06:10 +01:00
Shish
47ff7f185e
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2017-09-17 19:00:40 +01:00
Shish
860e828c3e
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2017-09-17 18:59:59 +01:00
Shish
a32bc6448c
make user list slightly more useful
2017-09-17 18:59:48 +01:00
Shish
cdbb4e8c7b
add resize/script.js
2017-09-17 15:09:25 +01:00
Shish
408b45e4cc
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2017-08-24 10:17:47 +01:00
Shish
473c0f0bcb
explicitly mark some block types as ignored when calculating 404ness
2017-08-24 10:17:24 +01:00
Shish
d875ab66a1
60 second post-list cache
2017-08-22 01:05:18 +01:00
im-mi
08f1475007
Fixed bookmarklets on imageboards running gelbooru
2017-08-06 20:30:38 -04:00
Shish
3c3529a4cc
don't respond to autocomplete requests for blank string
2017-07-20 23:29:17 +01:00
Shish
8fcf721045
use image link for video
2017-07-20 23:28:55 +01:00
Shish
d105644d1b
use php sorting for alphabetic tag list, as utf8 sort ignores punctuation
2017-06-08 09:36:59 +01:00
Shish
9f4caaddea
remove some unused variables
2017-06-01 20:44:26 +01:00
Shish
53c6f6df30
bulk thumb regen
2017-06-01 20:44:17 +01:00
Shish
2666d83579
fix URL for video fallback flash player
2017-06-01 20:44:02 +01:00
jgen
fc7d96b530
Another location where $tags should be an array instead of a string.
2017-05-14 22:18:44 -07:00
jgen
cf5aacaddf
Use empty array instead of array with empty string. (Thanks Shish!)
2017-05-14 14:00:20 -07:00
jgen
3ffb2da91c
More checking to ensure tags is an array.
2017-05-13 23:18:47 -07:00
jgen
7ebe301ffd
Check if already an array before exploding.
2017-05-13 18:01:31 -07:00
jgen
f492c6c2c3
Ensure that the Image object tag_array and the metadata array tags are always arrays.
2017-05-12 00:57:50 -07:00
jgen
c0e87ae2ae
Fix issue with archive handler if no add_status method.
2017-05-11 23:43:10 -07:00
John Brooks
f934baa207
bulk_add_csv: Run Tag::explode() on the tags before passing them to handlers
...
Fixes #575
2017-04-23 02:21:39 +00:00
im-mi
495776cac1
Fixed bookmarklet when logged in on imageboards running gelbooru
2017-03-23 20:46:30 -04:00
Daku
acba60e7aa
remove extra newline
2017-03-18 00:49:08 +00:00
Daku
2b62cc8171
loading SVG via <img> instead of <object> to stop inline JS execution
2017-03-18 00:13:16 +00:00
jgen
204ea1d239
And more linting.
2017-03-12 17:13:32 -07:00
Scrutinizer Auto-Fixer
1caef6d633
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-03-12 23:45:38 +00:00
jgen
7bd581b530
Scrutinizer commets.
2017-03-12 14:29:35 -07:00
Shish
44bead8b92
Merge pull request #603 from jgen/develop
...
PHP Version check in the code should use a configurable value.
2017-03-12 16:13:02 +00:00
Shish
7968f336fd
Merge pull request #601 from DakuTree/develop
...
Updated/removed various libs + tweaks
2017-03-12 16:12:01 +00:00
jgen
ec4111430d
More linting.
2017-03-12 00:29:10 -08:00
jgen
8de816d7dd
Some more linting via PHPDoc comments.
2017-03-12 00:18:26 -08:00
jgen
ebab9eddeb
Merge branch 'master' into merge-from-master
...
Conflicts:
ext/tag_list/theme.php
2017-03-11 00:52:16 -08:00
Daku
f9d0c83d5b
.audio > .audio_image (.audio is used for modernizr)
2017-03-10 19:18:35 +00:00