Commit graph

2273 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
Shish Moom
f5d08f1585 Merge pull request #32 from green-ponies/master
Image Replace
2011-08-31 16:34:29 -07: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)
0d863c898e These files are needed for the jQuery UI library.
Modified the git ignore file accordingly.
2011-08-24 21:57:32 -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
Shish
684193848a fix typo 2011-08-24 10:40:32 +01:00
Shish
2049754ef2 Merge branch 'master' of github.com:shish/shimmie2 2011-08-24 09:05:10 +01:00
Shish
db142a2be8 PDO pools 2011-08-24 09:01:43 +01:00
Shish Moom
e700673b66 Merge pull request #29 from green-ponies/master
Patch for File Uploads
2011-08-17 01:34:09 -07: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
green-ponies (jgen)
80ff538b73 Updated the jquery library and added ui library. 2011-08-16 21:14:01 -04:00
green-ponies (jgen)
73c887e30f The default theme actually does use this file. 2011-08-16 19:42:51 -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
Shish Moom
b201098ef9 Merge pull request #28 from green-ponies/master
Issue #5 - Confim Delete
2011-08-14 13:56:01 -07:00
green-ponies (jgen)
53c10ecddf Confirm image delete operation with javascript. 2011-08-12 22:02:41 -04:00
green-ponies (jgen)
3a4aea45d5 Small addition for giving forms unique IDs. Mainly so that javascript has
something to hook onto.
2011-08-12 21:56:48 -04:00
green-ponies (jgen)
6c3e91e01c changed script tags to include language 2011-08-12 21:40:51 -04:00
Shish
4f864c6a80 remove quotes from convert.exe in some cases 2011-08-08 13:01:35 +01:00
Shish
71e07bd13f pdo wikiness 2011-08-01 10:52:02 +01:00
Shish Moom
5dd4c29d56 Merge pull request #26 from Madoushi90/master
Fix for nice url test
2011-08-01 02:35:43 -07:00
Shish
69701c671c pdo syntax for blotter 2011-07-28 12:17:11 +01:00
Justin Brewer
98e170cd86 Fixed Nice URL test for servers not running on port 80.
HTTP_HOST will contain the full host name used to access the site, including
the optional port number. However, on some misconfigured servers, HTTP_HOST
will not be defined, in which case the script will attempt to reconstruct the
host name from SERVER_NAME, and if necessary, SERVER_PORT.
2011-07-27 22:38:02 -05:00
Shish
9d9a960d1b type->engine for mysql 5.5 2011-07-14 10:12:39 +01:00
Shish Moom
c05cb0d54e Merge pull request #20 from szalwia/master
Fix for mySQL>=5.1
2011-05-13 02:01:28 -07:00
a5f3a36fa4 fix for mySQL>5.1 - should remain compatible with versions prior to 5.1 2011-05-12 12:32:34 -07:00
Shish
7118e5fe40 button to remove all votes by user 2011-03-28 22:31:45 +01:00
Shish
1abb96159b PDO returns 'false' for no rows, but various parts of the code expect it to return 'null'; for now, emulate the old behaviour 2011-03-24 14:27:11 +00:00
Shish
ae17700a30 half support for caching giant tag maps 2011-03-23 13:21:14 +00:00
Shish
3d0cdfff56 mark users who have commented as interacting 2011-03-23 11:40:32 +00:00
Shish
b481db493c cache recent comments and comment page count 2011-03-23 11:37:46 +00:00
Shish
0539df80a9 remove votes on image 2011-03-23 11:31:12 +00:00
Shish
bc49df35c1 only check event type once 2011-03-23 11:30:36 +00:00
Shish
cd86859f08 cache anon, it gets looked up a lot 2011-03-23 11:26:11 +00:00
Shish
811f9e0f66 cd variable for sites who want /ab/cb/abcd 2011-03-23 11:19:34 +00:00
Shish
7b59be6fa0 DNP action, for one-click bans 2011-03-23 11:17:19 +00:00
Shish
d8a31ce75c caching for featured image 2011-03-23 11:15:39 +00:00
Shish
54e30183cc give auth token for image featuring 2011-03-23 11:12:55 +00:00
Shish
e279e69f96 fix single-tag searches 2011-03-14 14:20:30 +00:00
Shish
c554a12be0 hacky fix for searching, make sure query variables are unique 2011-03-14 12:44:58 +00:00
Shish
e92813bfee no need for auth for extenal submit 2011-03-12 18:08:36 +00:00
Shish
9db12f54f9 opengraph metadata on images 2011-03-07 23:57:56 +00:00
Shish
eda0d66bac make CommentList::get_hash static, for calling from other places 2011-03-06 12:44:38 +00:00
Diftraku
fb65286863 Critical change to deltree, it seems Windows version of PHP does not consider symlinks to be links when checked with is_link(). 2011-03-06 03:17:40 +02:00
Diftraku
3d66c7ce41 "Fix'd" the execute query to pass args array without binding, assuming the first value is at index 0 and the query uses questionmarks. 2011-03-05 03:11:29 +02:00
Diftraku
065102016a Git ignore for artists extension 2011-03-05 02:44:27 +02:00
Diftraku
d6acd31028 Quick fix to danbooru theme 2011-03-05 02:43:34 +02:00
Diftraku
cc4b8d7d83 Added blocks and bookmarks to .gitignore, removed dupe notes 2011-03-03 17:18:51 +02:00