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
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
6f501a6e74
Database driver constants
2019-06-14 13:38:47 -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
85b6bba689
Changed path_to_tags to interpret ; as : and to allow inheriting categories from parent folders
2019-06-14 09:50:23 -05:00
Matthew Barbour
1b76366dd9
Cleaned up some of the new image processing code, added documentation
2019-06-14 09:41:55 -05: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
8cdab6623a
Changed clamp function to allow null values
2019-06-13 18:17:38 +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
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
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
b31a916477
Changed clamp function to allow null values
2019-06-11 09:05:54 -05:00
Matthew Barbour
b7945b098e
Changed to prevent writing duplicate image tag IDs
2019-06-09 14:18:25 -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
matthew
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
matthew
99b51e65c1
Added array_unique to set_tags to prevent primary key violations when upload conflict is set to merge
2019-06-01 11:39:03 -05:00
matthew
42b39f20d7
Updated config interface as well
2019-06-01 10:50:53 -05:00
matthew
1eecf323f4
Changed set_int to accept a string, since it can accept shorthand strings like 1M. Casting it to an int was stripping out that information when settings would be submitted.
2019-06-01 10:47:11 -05:00
Shish
da10859bb3
fixes
2019-05-29 19:50:12 +01:00
Shish
bf473f6d51
more lint fixes
2019-05-29 18:23:29 +01:00
Shish
2396ae2ef9
fix a bunch of lints
2019-05-28 20:27:23 +01:00
Shish
294f5845b1
defaults
2019-05-28 19:54:07 +01:00
Shish
1b114bfea8
url_escape handles null
2019-05-28 19:48:41 +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
189385ff61
forgot that php isn't python
2019-05-28 15:16:22 +01:00
Shish
4b4ff68729
decouple cache and db a little
2019-05-28 15:06:03 +01:00
Shish
f4c18930ce
option to log slow pages
2019-05-26 10:42:58 +01:00
Shish
505877a330
support arbitrarily large accelerated search results
2019-04-28 09:55:28 +01:00
Shish
80c84f3248
More detailed login logging
2019-04-26 10:15:32 +01:00
Shish
52dfa12df7
zend.assertions can't be set at runtime
2019-04-26 10:13:17 +01: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
ead3a5a588
php7 assertions, no strings
2019-01-06 10:40:39 +00:00
Shish
6f5cf4d865
jquery first
2018-11-11 17:41:28 +00:00
Shish
94af26fbf2
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2018-11-11 17:38:43 +00:00
Shish
c9ccb22951
make handle_static its own extension
2018-11-11 17:38:32 +00:00
Shish
8903d76e7e
put style/script caches in their own dirs too
2018-11-10 13:32:10 +00:00
Shish
de2a688b5a
php...
2018-11-10 12:02:48 +00:00
Shish
5c49b3631d
un-bump php back to 7.0, because debian stable...
2018-11-10 12:01:26 +00:00
Shish
bfa0c22b06
automatic sqlite name
2018-11-07 16:48:07 +00:00
Shish
65d2172ede
move images and thumbs to data/
2018-11-07 16:06:10 +00:00
Shish
9e795f41a7
use vendor JS directly instead of copy-pasting
2018-11-07 15:12:13 +00:00
Shish
cefe1c0325
a bunch of installer tweaks
2018-11-07 00:25:43 +00:00
Shish
b2f10ea5ab
split up files in core/ for saner management
2018-11-05 22:30:18 +00:00
Shish
3c5c44d75f
PHP bump in travis and sys-config too
2018-11-05 20:55:50 +00:00
Shish
cdfc97d19b
begin tests in core
2018-11-05 20:53:58 +00:00
Shish
5634ba6d97
fix a thing which doesn't seem like a syntax error but phpstorm flags it as a syntax error
2018-11-05 20:02:40 +00:00
Shish
38406ef33a
block tags starting with minus
2018-08-22 21:56:27 +01:00
Shish
840915c9f0
support for picking n'th item from the consistent hash
2018-07-26 00:26:01 +01:00
Shish
64e2f7fe53
query accelerator failures should silently fall back to non-accelerated mode
2018-07-19 19:31:37 +01:00
Shish
16a56f5e5b
https for gravatars
2018-07-17 01:15:20 +01:00
Shish
d4b28d7c07
fixup alias non-recursion
2018-07-16 08:46:01 +01:00
Shish
b973705021
show source URL in query
2018-07-15 20:17:47 +01:00
Shish
8b2c580930
treat phpdbg the same as php-cli
2018-07-15 19:40:53 +01:00
Shish
2417b5b021
don't recursively expand aliaes, as that can create loops
2018-07-15 19:39:39 +01:00
Shish
9e3e37a209
accelerate counts as well as the actual results
2018-06-30 14:28:52 +01:00
Shish
60c16a9139
dash in the middle of a tag isn't special, allow it to be accelerated
2018-06-20 02:40:52 +01:00
Shish
adaca87ca1
redis cache support
2017-10-28 20:28:31 +01:00
Shish
c2b4210777
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2017-09-21 14:08:14 +01:00
Shish
4ea721f681
underp
2017-09-21 14:04:53 +01:00
Shish
6aa704d04c
better image counting
2017-09-21 05:49:10 +01:00
Shish
2628c2c5d9
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2017-09-21 05:25:48 +01:00
Shish
6e914ff4e7
use just hash for flexihash lookup
2017-09-21 05:25:45 +01:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
Shish
c7ca2f4154
un-bundle context.php
2017-09-21 05:00:59 +01:00
Shish
117e018eb6
branch off 2.7 for php7
2017-09-19 00:04:51 +01:00
Shish
d8e75ddf7c
bump
2017-09-18 23:57:03 +01:00
Shish
1566ff7eaa
un-confuse phpunit
2017-09-17 19:37:30 +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
408b45e4cc
Merge branch 'develop' of https://github.com/shish/shimmie2 into develop
2017-08-24 10:17:47 +01:00
Shish
abe473ffd6
count blank header as null
2017-08-24 10:17:39 +01:00
Shish
473c0f0bcb
explicitly mark some block types as ignored when calculating 404ness
2017-08-24 10:17:24 +01:00
Shish
35bd51e513
use 'count()' + result->get_one() to count images, rather than 'select *' + result->rowcount()...
2017-08-23 00:42:19 +01:00
Shish
5a6728209a
improve cache logging
2017-08-22 01:04:33 +01:00
Shish
2f083f7608
more useful memcached error messages
2017-06-08 09:37:38 +01:00
Shish
94ec37029a
stub more mb_ functions
2017-06-08 09:37:21 +01:00
Shish
2f557326df
die if caching modules are missing, don't silently fall back to NoCache
2017-05-30 02:13:11 +01:00
Shish
4e5af70093
re-stub mb_strlen (see #615 )
2017-05-29 11:09:28 +01:00
Shish
843d7fae24
merge
2017-05-29 10:19:55 +01:00
Shish
8828fdfd05
log SQL query times in DEBUG_SQL mode
2017-05-29 10:19:11 +01:00
Shish
51e165aecf
Add separate memcached cache
2017-05-29 10:18:11 +01:00
Shish
684efedcfd
Log what URL query caused invalid search queries
2017-05-29 10:16:32 +01: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
Thomas Hori
d1306cfb2d
Move Tag::explode call into add_image call so that $result is unaffected.
2017-04-26 14:08:06 +01:00
Thomas Hori
1625bd68e3
Fix error upon bulk add.
...
Fixes "PHP Fatal error: Uncaught TypeError: Argument 2 passed to
TagSetEvent::__construct() must be of the type array, string given"
upon bulk add.
2017-04-25 17:48:34 +01:00
Shish
8ef13db69c
bump develop
2017-03-27 18:15:16 +01:00