Commit graph

127 commits

Author SHA1 Message Date
Shish
1a34557da7 if image replacement is unwanted, don't allow users to replace images 2012-03-19 11:07:13 +00:00
Shish
a826a9c81a expiration only applies without niceurls 2012-03-19 10:25:36 +00:00
Shish
537ae6de18 remove jquery deletion
jquery deletion was deleting the wrong image if there were multiple
delete buttons on one page (eg, on the report image page); also it
stands out awkwardly being the only bit of jquery UI on the site.
Moving to jquery UI across the site might happen later, but for now
I just want to get a release out...
2012-03-15 05:49:24 +00:00
Shish
6f4f4f3235 redirect back to report list after deleting, if that's where we came from 2012-03-15 05:48:42 +00:00
Shish
1a8ea4eb08 some windowses are not NT? 2012-03-15 05:34:55 +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
Daku
f76955123f update source & rating if &update is set 2012-03-09 20:46:26 +00:00
Shish
569e93cd6b postgres requires a sequence name to be passed to get_last_insert_id 2012-03-08 02:55:04 +00:00
Shish
8b62ad281a if upload_collision_handler is set to 'don't merge tags', then don't merge tags 2012-03-05 09:32:08 +00:00
Daku
74e307b55f update tags if image already exists 2012-03-04 22:18:02 +00:00
Shish
dadcb809ba don't log for null->null 2012-02-26 15:24:02 +00:00
green-ponies (jgen)
a95766c410 More type hints. 2012-02-10 00:08:03 -05:00
Shish
0698b780f9 remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods 2012-02-08 12:07:01 +00:00
Shish
0589f9d72e fine grained permission bits 2012-02-07 15:15:18 +00:00
Shish
dc6c173efd type hints for hiphop 2012-02-02 08:07:57 +00:00
Daku
0565568e5c source should log now when uploading 2012-01-26 09:56:29 +00:00
Thasan
aa452bf8eb Added $force to vars 2012-01-14 11:15:13 +02:00
Thasan
9f8a49483f check if thumbnail already exists before regenerating it, way to force regen. 2012-01-12 03:54:27 +02:00
green-ponies (jgen)
808e477f34 Admins can configure the browser Image Expiration now.
Also renamed the config option for jQuery image delete.
2011-09-05 14:47:30 -04:00
green-ponies (jgen)
bd31bcd79a The page class now supports both HTML headers and HTTP headers.
From the comment:
FIXME: should be $page->blah
2011-09-04 14:06:44 -04:00
green-ponies (jgen)
ad850ad0d6 Fixed a small typo. 2011-09-04 10:30:20 -04:00
green-ponies (jgen)
100dd6438e Added more comments and changed others for better doxygen support. 2011-09-03 19:34:46 -04:00
green-ponies (jgen)
9c8da62ba0 This function needs the global $config. 2011-09-03 17:01:27 -04:00
green-ponies (jgen)
e6e9aced1c This function doesn't need the global $user now. 2011-09-03 16:48:33 -04:00
green-ponies (jgen)
8e68d650a1 Cleaned up how the Image Replace html is made. 2011-09-03 16:03:21 -04:00
green-ponies (jgen)
17999cade8 Image Replace feature working, just needs more testing. 2011-08-25 21:35:59 -04:00
green-ponies (jgen)
b02c747ac1 Working on image replace.
Getting unknown 404 errors.
2011-08-24 23:55:44 -04:00
green-ponies (jgen)
f3b6fde7a5 Working on adding a "Replace Image" feature. 2011-08-24 20:53:53 -04:00
green-ponies (jgen)
eb5ff191c6 Confirm image delete with jQuery UI modal dialog.
Added config option for jQuery delete as well.
2011-08-16 23:14:30 -04:00
Shish
a008a9e34e PDO syntaxing 2011-01-26 14:56:26 +00:00
Shish
ee3c24117b more pdo compat, database bits 2011-01-03 15:18:24 +00:00
Shish
d6baeab977 more pdo compat 2011-01-01 16:28:04 +00:00
Shish
ffb1762280 Insert_ID -> lastInsertId 2010-12-31 20:00:59 +00:00
Shish
18403a3fa6 csrf-proofing for extensions 2010-10-07 21:26:27 +01:00
Shish
59ba74d623 hide metadata on windows 2010-07-19 13:57:27 +01:00
Shish
c22f28072f correct some seemingly innocent behaviour, and thus fix a corner case in another extension 2010-02-03 23:54:43 +00:00
Shish
acadaa29ec pgsql fails at db->Insert_ID() 2010-02-01 23:18:10 +00:00
Shish
90a48abbec make convert.exe findable on windows 2010-01-22 17:42:00 +00:00
Shish
18c0fa7df8 more documentation, and set some extensions to be hidden from the user docs list 2010-01-05 13:13:11 +00:00
Shish
f5122af7bd move image deletion function to ImageIO 2010-01-05 11:07:13 +00:00
Shish
7a60e6fae5 lots of extension docs 2010-01-05 10:11:53 +00:00
Shish
80d8f4cfb0 this breaks on windows? 2009-11-29 09:38:26 +00:00
Shish
b1bcb8252f extendable user stats rather than hardcoded with assumptions of extensions 2009-08-18 22:30:52 +01:00
Shish
81987f0e79 make image metadata optional 2009-08-09 22:00:59 +01:00
Shish
c88ecebb7b A ton of tests, figured out how to test uploads \o/ 2009-07-15 02:43:14 +01:00
Shish
389eed5867 make things use SimpleExtension 2009-05-11 14:09:24 -07:00
Shish
bb84a735a2 requestcontext stuff is messy, go back to globals :( 2009-05-11 07:04:33 -07:00
Shish
575ce067bc more 2009-05-08 05:19:52 -07:00
Shish
415f6901da logging things 2009-05-08 03:52:29 -07:00
Shish
e9cacebc95 type safety and fixes 2009-01-18 06:58:49 -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
bca8221609 move extension-specific events into their extensions 2009-01-03 13:00:09 -08:00
Shish
1d7578f052 semi-automagic niceurls? 2008-12-27 02:17:53 -08:00
shish
072b22ee8f Image code moved to image class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1058 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:21:18 +00:00
shish
96a37605e4 port page_matches from score to trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1028 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:48:03 +00:00
shish
432e0c4dc6 move image functions to the image class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1007 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-26 09:11:40 +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
16cf014d90 trunk also
git-svn-id: file:///home/shish/svn/shimmie2/trunk@839 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-30 12:39:40 +00:00
shish
de09735e69 neatness
git-svn-id: file:///home/shish/svn/shimmie2/trunk@800 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:17:51 +00:00
shish
0effe70b6f option to merge tags in the event of hash collision
git-svn-id: file:///home/shish/svn/shimmie2/trunk@712 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 16:20:43 +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
shish
d2c1ec66a9 if source is empty, set it to null
git-svn-id: file:///home/shish/svn/shimmie2/trunk@582 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-27 23:53:48 +00:00
shish
1cacc2d247 make build_thumb_html be part of the themelet class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@570 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-26 01:35:53 +00:00
shish
e6d3bb0e13 check that source is some sort of url
git-svn-id: file:///home/shish/svn/shimmie2/trunk@432 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-06 18:45:27 +00:00
shish
064bd7fd01 Use the veto error message, not adding blocks from within main.php
git-svn-id: file:///home/shish/svn/shimmie2/trunk@422 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-02 20:49:25 +00:00
shish
0c1ccb73ca default links moved to initextevent
git-svn-id: file:///home/shish/svn/shimmie2/trunk@408 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 16:19:25 +00:00
shish
57f7f82074 image_tip is a general image option
git-svn-id: file:///home/shish/svn/shimmie2/trunk@402 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 15:46:31 +00:00
shish
21c500027f and the rest..
git-svn-id: file:///home/shish/svn/shimmie2/trunk@346 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-20 23:24:32 +00:00
shish
0c5f7244db consistency
git-svn-id: file:///home/shish/svn/shimmie2/trunk@312 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-17 07:45:35 +00:00
shish
4fea47dbbe start deprecating image_slink, and move image_ilink and image_tlink from view to image
git-svn-id: file:///home/shish/svn/shimmie2/trunk@307 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 22:00:58 +00:00
shish
da30c88776 more set_default
git-svn-id: file:///home/shish/svn/shimmie2/trunk@293 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 13:15:56 +00:00
shish
a9908508d0 veto API
git-svn-id: file:///home/shish/svn/shimmie2/trunk@269 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 08:39:13 +00:00
shish
5a4d6f7277 remove ConfigSaveEvent handlers
git-svn-id: file:///home/shish/svn/shimmie2/trunk@265 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 08:14:37 +00:00
shish
16448bf36c no longer any need for core extensions per se
git-svn-id: file:///home/shish/svn/shimmie2/trunk@253 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-10 19:43:36 +00:00
Renamed from core/ext/image.ext.php (Browse further)