Shish
2396ae2ef9
fix a bunch of lints
2019-05-28 20:27: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
4c70258352
typos
2019-04-16 20:41:13 +01:00
Shish
dd8a90414f
leave it to the theme to link to the image
2018-07-26 00:26:23 +01:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +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
im-mi
35d2f8682c
Don't save zoom mode cookie upon window resize
2016-09-02 01:14:53 -04:00
im-mi
84dbc3abff
Re-apply zoom upon window resize
2016-09-02 01:12:35 -04:00
im-mi
eeb0c2b974
Only allow click-to-zoom on img
2016-09-02 01:12:33 -04:00
Shish
bed04a1230
assert that metadata['tags'] is an array
2016-07-30 23:02:14 +01:00
Shish
7bc9a73357
migrate to a non-deprecated (and dependency-free) cookie library
2016-06-18 00:00:02 +01:00
Shish
1ac88e8923
more comments
2015-09-27 12:38:48 +01:00
Shish
8c1e3bc92a
mark tests as public
2015-09-26 11:17:13 +01:00
Shish
9af5995dcc
PHPUnit proof of concept
2015-09-20 20:03:29 +01:00
Shish
f3c9f57e62
Merge pull request #491 from shish/more_https
...
More https
2015-07-20 23:28:21 +01:00
jgen
6a6480181d
Move zoom function inside closure so it isn't potentially knocked out by other functions (with same name) in global scope.
2015-06-01 15:38:04 -07:00
Shish
2aea79ac35
merge common parts of handle_archive and bulk_add
2015-05-24 16:08:46 +01:00
Daku
693b18f50c
fix "Image Only" not working with nice_urls disabled
2014-09-02 17:06:39 +01:00
jgen
4f51e942be
Updating/Fixing/Adding more comments with the PHP Doc style.
2014-04-27 15:33:57 -04:00
jgen
daee99c1bc
Removing the closing PHP "?>" tag as per style guidelines.
2014-04-24 22:28:53 -04:00
Shish
f72bfbb050
fix indentation
2014-04-06 20:47:01 +01:00
Shish
c8aa3327a1
A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes
2014-03-30 13:26:48 +01:00
Shish
db5aa56300
remove a bunch of dead code
2014-03-29 11:44:34 +00:00
Diftraku
b856b13235
Fix EXIF data throwing a notice when showing an image
2014-01-15 23:06:27 +02:00
Shish
b0b0324ee7
image only button
2013-09-19 19:30:50 +01:00
HungryFeline
cbd927ffa2
Allow transload of image urls with querystrings
...
And remove them from the filename and fileext
2013-07-02 04:31:06 +02:00
velocity37
a2e1edded5
Actually use thumb_convert_path
...
The check would always fail even on Windows, resulting in thumb_convert_path never being used. See:
https://github.com/shish/shimmie2/issues/254
2012-08-21 18:51:20 -07:00
Shish
4470d937a4
handle_pixel -> shm-*
2012-08-15 19:46:51 +01:00
Shish
1daf0416bd
optionally run jpegoptim on newly created thumbs
2012-06-23 23:02:02 +01:00
Shish
cb8b4f3329
have a single var for memory limit
2012-05-22 12:26:47 +01:00
Shish
19fb6a16ae
image zoom isn't an admin option any more
2012-04-01 16:53:47 +01:00
Shish
5efdbdeb91
set zoomer val on shotcut too
2012-03-24 23:34:00 +00:00
Shish
1d4836e6c4
toggle zoom on click
2012-03-24 23:30:19 +00:00
Shish
8336fbfce5
and update the select box from cookie
2012-03-24 11:48:44 +00:00
Shish
eb705d29f5
image scaling cookie
2012-03-24 11:17:09 +00:00
Shish
57d687a7e1
give images priority 10
2012-03-19 19:09:52 +00:00
Shish
0be4f83e4e
don't allow showing of metadata at all if exif_read_data is undefined
2012-03-14 20:24:34 +00:00
Shish
dde5d4c9b5
html5 validation
2012-03-13 06:33:21 +00:00
Shish
90347a08dd
extent rather than crop and repage
2012-03-06 20:30:41 +00:00
Shish
519e46578d
more notation for which strings are HTML safe and which aren't
2012-02-13 20:51:34 +00:00
green-ponies (jgen)
30eb5ddd8b
More type hints!
2012-02-09 23:04:37 -05:00
Shish
ec0fab54d8
these are magicked now
2012-02-02 07:53:27 +00:00
Thasan
cd34879cf1
oops, forgot debug code
2012-01-12 03:59:58 +02:00
Thasan
9f8a49483f
check if thumbnail already exists before regenerating it, way to force regen.
2012-01-12 03:54:27 +02:00
Shish
b5f5c861c4
quality in imagemagick mode
2011-12-24 21:30:54 +00:00
Shish
4f864c6a80
remove quotes from convert.exe in some cases
2011-08-08 13:01:35 +01:00
Shish
3cf72af8cd
remove extra debug
2011-01-26 17:20:46 +00:00
Shish
46b01c4042
make sure thumbnails have a max ratio of 5:1
2011-01-26 17:09:45 +00:00
seinoxygen
115d992ff0
merged image zoom
2011-01-01 19:19:18 +00:00
Shish
7403fd7c87
Revert "checks for files without extensions, from AtomicDryad"
...
This seems to break something, such that uploading a jpeg results
in image size 0x0 (other bits seem to work though o_O)
Will take a look at what's up and re-commit later...
This reverts commit ead87d3934
.
2010-12-24 20:44:38 +00:00
Shish
ead87d3934
checks for files without extensions, from AtomicDryad
2010-12-22 21:43:00 +00:00
Shish
2c1fa2fd7f
move warehouse directory creation into a single place
2010-04-23 05:46:07 +01:00
Shish
7a5be72cbd
build warehouse directories on demand
2010-03-15 04:31:28 +00:00
Shish
8733249a80
no ha
2010-02-02 01:56:00 +00:00
Shish
0d81fb0538
more warehouse_path use
2010-02-02 01:06:54 +00:00
Shish
facff9bd5b
fix pixel thumb gen
2010-01-27 12:25:19 +00:00
Shish
90a48abbec
make convert.exe findable on windows
2010-01-22 17:42:00 +00:00
Shish
a086b9b7fc
strip metadata in a single imagemagick command
2010-01-21 16:11:31 +00:00
Shish
44c8461f3b
Show all extensions in the extension list
2010-01-05 10:32:39 +00:00
Shish
1946e3c943
consistent naming for test functions
2009-08-19 01:28:48 +01:00
Shish
81987f0e79
make image metadata optional
2009-08-09 22:00:59 +01:00
Shish
759ee2fe30
exif ifd0 info in the sidebar
2009-07-28 00:20:22 +01:00
Shish
aa7969cdde
MOAR TESTING.
2009-07-20 06:51:51 +01:00
Shish
27b6f56e01
yet more tests
2009-07-16 20:22:00 +01:00
Shish
4abf2ac7dd
more tests
2009-07-16 20:21:28 +01:00
Shish
c88ecebb7b
A ton of tests, figured out how to test uploads \o/
2009-07-15 02:43:14 +01:00
Shish Moom
f77c6e64cd
array_contains -> in_array
2009-06-05 12:53:00 -07:00
Shish
bb84a735a2
requestcontext stuff is messy, go back to globals :(
2009-05-11 07:04:33 -07:00
Shish
171d7d3a29
strip metadata from thumbnails
2009-01-25 09:16:48 -08:00
Shish
bb752d6fd1
tag_explode -> Tag::explode
2009-01-24 11:05:29 -08:00
Shish
eeda4d6ab3
very classy
2009-01-04 11:54:16 -08:00
Shish
11873e9601
remove EOL whitespace
2009-01-04 11:18:37 -08:00
Shish
1c8094cabf
replace the veto system with exceptions
2009-01-04 06:01:59 -08:00
shish
a6adfa85cd
upload handlers have themes too...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1024 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:10:27 +00:00
shish
434fab2dc5
and make the extensions match
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1003 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-23 12:08:19 +00:00
shish
09b2be6830
PHP4 is dead \o/ \o/ \o/ (Part 1, make use of instanceof)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@994 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 09:41:30 +00:00
shish
051389606e
make more things use move_upload_to_archive(), and make that function quieter
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@914 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-21 11:13:25 +00:00
shish
d0a9ba3d05
epeg thumbnail generator function
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@831 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-29 22:52:06 +00:00
shish
d55f97c81f
case insensetive 'can we handle it?' check
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@773 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-07 23:11:47 +00:00
shish
0356a84a6e
make extra-sure that only valud file types are handled (.bmp renamed to .jpg used to sneak though)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@732 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-29 03:59:34 +00:00
shish
bf4a49a285
destroy thumbnail image objects, and a more verbose error message
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@698 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-26 11:40:50 +00:00
shish
292c6a73a6
handle errors in the add-to-database part of uploads (eg hash collisons)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@633 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-08 02:48:50 +00:00
shish
02830d58b8
didn't notice the utility function needed moving too
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@625 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 03:09:42 +00:00
shish
a5a6f4781c
generic file handler support :)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@623 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 02:26:34 +00:00