Commit graph

79 commits

Author SHA1 Message Date
Shish
309a2f497f only admins should replace images (possibly people should be allowed to replace their own too? I'm erring on the side of caution for now though) 2011-09-01 00:36:38 +01:00
green-ponies (jgen)
c44ed439f8 Extra checking for the user being an admin before allowing image replacement.
Also removed some duplicated code for efficiency.
2011-08-30 13:57:14 -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)
62cc7e0e5e Working on Replace Image feature.
Added link to page, fixed foreach loop.
2011-08-24 21:23:18 -04:00
green-ponies (jgen)
f3b6fde7a5 Working on adding a "Replace Image" feature. 2011-08-24 20:53:53 -04:00
green-ponies (jgen)
e9b862b560 Better error checking when uploading files.
Also, displays PHPs limit on the setup page.
2011-08-16 16:31:23 -04:00
green-ponies (jgen)
6c3e91e01c changed script tags to include language 2011-08-12 21:40:51 -04:00
Shish
141e8fa106 remove the list of acceptable filetypes, as we accept more than just image/* now 2011-01-10 16:39:46 +00:00
Shish
1c68d34c22 what the fuck, php? this should not be necessary :/ 2010-10-11 12:21:04 +01:00
Shish
dfef932463 use config.php as CSRF salt 2010-10-07 21:26:28 +01:00
Shish
1e04df7765 <form> -> make_form(), or add auth token manually 2010-10-07 21:26:27 +01:00
Shish
9bd19fe320 curl might not be installed 2010-07-26 22:48:15 +01:00
Shish
f6486d332d hide disk_free_space errors 2010-06-27 17:32:08 +01:00
Shish
e731b59676 final one? 2010-05-15 14:24:02 +01:00
Shish
26727dde64 these are redundant too 2010-05-15 14:22:44 +01:00
Shish
c94e16f814 selectfirst is annoying 2010-04-28 11:21:02 +01:00
Shish
c8b7d639df a bunch of autocompletion 2010-04-26 06:00:41 +01:00
Josh Sutinen
a8e7389afe Fix bookmarklet using relative url into absolute url with make_http magic 2010-03-29 03:58:32 +01:00
Shish
4df08e9477 more sanity checks 2010-02-01 23:30:37 +00:00
Shish
7a60e6fae5 lots of extension docs 2010-01-05 10:11:53 +00:00
Shish
7db5a2808a noscript link to a larger upload form 2009-10-26 12:08:54 +00:00
Shish
9a3efd592a more testes 2009-09-20 04:10:34 +01:00
Shish
1946e3c943 consistent naming for test functions 2009-08-19 01:28:48 +01:00
Shish
4abf2ac7dd more tests 2009-07-16 20:21:28 +01:00
Shish
028ee4b462 more tests 2009-07-15 17:10:19 +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
e0d72d5795 get rid of shimmie's JS lib, use jquery 2009-07-07 07:40:59 -07:00
Shish
bb84a735a2 requestcontext stuff is messy, go back to globals :( 2009-05-11 07:04:33 -07:00
Shish
bb752d6fd1 tag_explode -> Tag::explode 2009-01-24 11:05:29 -08:00
Shish
0db255d76d welcome to the future 2009-01-22 02:36:12 -08:00
Shish
8a1c51e46f specify exact column widths, for the benefit of crap browsers (ie, IE) 2009-01-13 22:07:12 -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
bca8221609 move extension-specific events into their extensions 2009-01-03 13:00:09 -08:00
Shish
fd9443cf84 human readable error when file too large 2008-12-15 14:55:56 -08:00
shish
721c720f19 denied.
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1097 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 10:49:16 +00:00
shish
f093eece2f how has this gone so long without being included o_O;;;
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1093 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 06:40:34 +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
f8f7470e61 much friendlier get_theme_object
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1019 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 16:59:02 +00:00
shish
af3cbba180 realpath() should make things work better on windows
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1009 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-01 12:54:58 +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
14dc15c7bd disk full warnings
git-svn-id: file:///home/shish/svn/shimmie2/trunk@921 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-24 07:50:31 +00:00
shish
3a2538ad96 fix error messages for failed trasload
git-svn-id: file:///home/shish/svn/shimmie2/trunk@789 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 21:55:07 +00:00
shish
c5349db306 check file size properly
git-svn-id: file:///home/shish/svn/shimmie2/trunk@725 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-02 16:31:35 +00:00
shish
c2d9f39e7e bookmarklet for direct transload
git-svn-id: file:///home/shish/svn/shimmie2/trunk@686 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-03 00:05:53 +00:00
shish
8ceac6ee19 fix transload in 2.2
git-svn-id: file:///home/shish/svn/shimmie2/trunk@685 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-03 00:05:11 +00:00
shish
7ae38e9ef6 check for javascript returning null
git-svn-id: file:///home/shish/svn/shimmie2/trunk@684 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-02 23:45:00 +00:00