Commit Graph

  • 808e477f34 Admins can configure the browser Image Expiration now. Also renamed the config option for jQuery image delete. green-ponies (jgen) 2011-09-05 14:47:30 -04:00
  • 1c8ba8dc26 Wrong brackets. green-ponies (jgen) 2011-09-04 14:24:14 -04:00
  • c2ef8736b8 Fixed a typo. green-ponies (jgen) 2011-09-04 14:19:06 -04:00
  • c30c898c4e Changing files to use the $page->add_http_header() method instead. green-ponies (jgen) 2011-08-30 16:38:46 -04:00
  • bd31bcd79a The page class now supports both HTML headers and HTTP headers. green-ponies (jgen) 2011-08-30 16:24:10 -04:00
  • 19a3a5a6f9 Working on changed $page to support http headers as well as html headers. green-ponies (jgen) 2011-08-30 13:14:03 -04:00
  • fca286913e Working on moving header() inside of the global $page data structure. green-ponies (jgen) 2011-08-28 00:31:30 -04:00
  • bf035c247d Slight changes to how the Replace & Resize forms are displayed. green-ponies (jgen) 2011-09-04 13:46:12 -04:00
  • 8422e0050a Another small change to reduce PHP notices. green-ponies (jgen) 2011-09-04 11:52:34 -04:00
  • be6e6e2933 Small change to reduce PHP notice. green-ponies (jgen) 2011-09-04 11:41:25 -04:00
  • d05344d5e3 Image resize is working now! (uses the GD library only for now) Moved resize into contrib folder. green-ponies (jgen) 2011-09-04 11:17:14 -04:00
  • ad850ad0d6 Fixed a small typo. green-ponies (jgen) 2011-09-04 10:30:20 -04:00
  • 14bfa8b323 Working on Image Resize feature. green-ponies (jgen) 2011-09-03 23:13:41 -04:00
  • 100dd6438e Added more comments and changed others for better doxygen support. green-ponies (jgen) 2011-09-03 19:34:46 -04:00
  • 9c8da62ba0 This function needs the global $config. green-ponies (jgen) 2011-09-03 17:01:27 -04:00
  • e6e9aced1c This function doesn't need the global $user now. green-ponies (jgen) 2011-09-03 16:48:33 -04:00
  • 3cfe182ad3 Typo, Renamed. green-ponies (jgen) 2011-09-03 16:45:56 -04:00
  • 7ee0407ba8 Oops, forgot to rename. green-ponies (jgen) 2011-09-03 16:42:12 -04:00
  • 8e68d650a1 Cleaned up how the Image Replace html is made. green-ponies (jgen) 2011-09-03 16:03:21 -04:00
  • cc1545188c Merge branch 'master', remote-tracking branch 'origin/master' green-ponies (jgen) 2011-08-31 20:37:25 -04:00
  • 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) Shish 2011-09-01 00:36:38 +01:00
  • f5d08f1585 Merge pull request #32 from green-ponies/master Shish Moom 2011-08-31 16:34:29 -07:00
  • c44ed439f8 Extra checking for the user being an admin before allowing image replacement. Also removed some duplicated code for efficiency. green-ponies (jgen) 2011-08-30 13:57:14 -04:00
  • 17999cade8 Image Replace feature working, just needs more testing. green-ponies (jgen) 2011-08-25 21:35:59 -04:00
  • b02c747ac1 Working on image replace. Getting unknown 404 errors. green-ponies (jgen) 2011-08-24 23:55:44 -04:00
  • 0d863c898e These files are needed for the jQuery UI library. Modified the git ignore file accordingly. green-ponies (jgen) 2011-08-24 21:57:32 -04:00
  • 62cc7e0e5e Working on Replace Image feature. Added link to page, fixed foreach loop. green-ponies (jgen) 2011-08-24 21:23:18 -04:00
  • f3b6fde7a5 Working on adding a "Replace Image" feature. green-ponies (jgen) 2011-08-24 20:53:53 -04:00
  • 684193848a fix typo Shish 2011-08-24 10:40:32 +01:00
  • 2049754ef2 Merge branch 'master' of github.com:shish/shimmie2 Shish 2011-08-24 09:05:10 +01:00
  • db142a2be8 PDO pools Shish 2011-08-24 09:01:43 +01:00
  • e700673b66 Merge pull request #29 from green-ponies/master Shish Moom 2011-08-17 01:34:09 -07:00
  • eb5ff191c6 Confirm image delete with jQuery UI modal dialog. Added config option for jQuery delete as well. green-ponies (jgen) 2011-08-16 23:14:30 -04:00
  • 80ff538b73 Updated the jquery library and added ui library. green-ponies (jgen) 2011-08-16 21:14:01 -04:00
  • 73c887e30f The default theme actually does use this file. green-ponies (jgen) 2011-08-16 19:42:51 -04:00
  • e9b862b560 Better error checking when uploading files. Also, displays PHPs limit on the setup page. green-ponies (jgen) 2011-08-16 16:31:23 -04:00
  • b201098ef9 Merge pull request #28 from green-ponies/master Shish Moom 2011-08-14 13:56:01 -07:00
  • 53c10ecddf Confirm image delete operation with javascript. green-ponies (jgen) 2011-08-12 22:02:41 -04:00
  • 3a4aea45d5 Small addition for giving forms unique IDs. Mainly so that javascript has something to hook onto. green-ponies (jgen) 2011-08-12 21:56:48 -04:00
  • 6c3e91e01c changed script tags to include language green-ponies (jgen) 2011-08-12 21:40:51 -04:00
  • 3aeb288b29 remove quotes from convert.exe in some cases v2.3.3 Shish 2011-08-08 13:01:35 +01:00
  • 4f864c6a80 remove quotes from convert.exe in some cases Shish 2011-08-08 13:01:35 +01:00
  • 71e07bd13f pdo wikiness Shish 2011-08-01 10:52:02 +01:00
  • 5dd4c29d56 Merge pull request #26 from Madoushi90/master Shish Moom 2011-08-01 02:35:43 -07:00
  • 3692b7c75e pdo syntax for blotter Shish 2011-07-28 12:16:28 +01:00
  • 69701c671c pdo syntax for blotter Shish 2011-07-28 12:16:28 +01:00
  • 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. Justin Brewer 2011-07-27 22:38:02 -05:00
  • 01400a10ec type->engine for mysql 5.5 Shish 2011-07-14 10:12:39 +01:00
  • 9d9a960d1b type->engine for mysql 5.5 Shish 2011-07-14 10:12:39 +01:00
  • c05cb0d54e Merge pull request #20 from szalwia/master Shish Moom 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
  • 7118e5fe40 button to remove all votes by user Shish 2011-03-28 22:31:45 +01:00
  • cb1f49e7f6 new DB code slipped into the old version >_< v2.3.2 Shish 2011-03-24 17:52:15 +00:00
  • 1abb96159b PDO returns 'false' for no rows, but various parts of the code expect it to return 'null'; for now, emulate the old behaviour Shish 2011-03-24 14:27:11 +00:00
  • ae17700a30 half support for caching giant tag maps Shish 2011-03-23 13:21:14 +00:00
  • 8729263ea0 merg activity cookie Shish 2011-03-23 11:41:33 +00:00
  • 3d0cdfff56 mark users who have commented as interacting Shish 2011-03-23 11:40:32 +00:00
  • 91bed9297e merge comment count cache Shish 2011-03-23 11:39:09 +00:00
  • b481db493c cache recent comments and comment page count Shish 2011-03-23 11:37:46 +00:00
  • e1dff88920 remove votes on image Shish 2011-03-23 11:04:22 +00:00
  • 0539df80a9 remove votes on image Shish 2011-03-23 11:04:22 +00:00
  • 12682fe229 only check event type once Shish 2011-03-23 10:44:52 +00:00
  • bc49df35c1 only check event type once Shish 2011-03-23 10:44:52 +00:00
  • 8bea495cef merge anon cache Shish 2011-03-23 11:27:45 +00:00
  • cd86859f08 cache anon, it gets looked up a lot Shish 2011-03-23 11:26:11 +00:00
  • b5bea64195 cd variable for sites who want /ab/cb/abcd Shish 2011-03-23 11:19:34 +00:00
  • 811f9e0f66 cd variable for sites who want /ab/cb/abcd Shish 2011-03-23 11:19:34 +00:00
  • edc9c7ae40 DNP action, for one-click bans Shish 2011-03-23 11:17:19 +00:00
  • 7b59be6fa0 DNP action, for one-click bans Shish 2011-03-23 11:17:19 +00:00
  • 746425114d caching for featured image Shish 2011-03-23 11:15:39 +00:00
  • d8a31ce75c caching for featured image Shish 2011-03-23 11:15:39 +00:00
  • f647e4fb38 give auth token for image featuring Shish 2011-03-23 11:12:55 +00:00
  • 54e30183cc give auth token for image featuring Shish 2011-03-23 11:12:55 +00:00
  • e279e69f96 fix single-tag searches Shish 2011-03-14 14:20:30 +00:00
  • c554a12be0 hacky fix for searching, make sure query variables are unique Shish 2011-03-14 12:44:58 +00:00
  • 047b751f84 no auth needed Shish 2011-03-12 18:13:19 +00:00
  • e92813bfee no need for auth for extenal submit Shish 2011-03-12 18:08:36 +00:00
  • 9db12f54f9 opengraph metadata on images Shish 2011-03-07 23:57:56 +00:00
  • 32e70e22d1 make CommentList::get_hash static, for calling from other places Shish 2011-03-06 12:44:38 +00:00
  • eda0d66bac make CommentList::get_hash static, for calling from other places Shish 2011-03-06 12:44:38 +00:00
  • fb65286863 Critical change to deltree, it seems Windows version of PHP does not consider symlinks to be links when checked with is_link(). Diftraku 2011-03-06 03:17:40 +02:00
  • 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. Diftraku 2011-03-05 03:11:29 +02:00
  • 065102016a Git ignore for artists extension Diftraku 2011-03-05 02:44:27 +02:00
  • d6acd31028 Quick fix to danbooru theme Diftraku 2011-03-05 02:43:34 +02:00
  • cc4b8d7d83 Added blocks and bookmarks to .gitignore, removed dupe notes Diftraku 2011-03-03 17:18:51 +02:00
  • b685c84209 Because Windows... shitty OS is shitty. Added a Windows-only fix to the extension symlink and deltree. Windows will nag about file info not found on relative paths with symlink (php bug?). Also, when deleting a symlink on Windows, it needs to be rmdir'd, no unlink'd (kept throwing permission denied for unlink). Diftraku 2011-03-03 11:40:34 +02:00
  • 93e2110056 Because Windows... shitty OS is shitty. Added a Windows-only fix to the extension symlink and deltree. Windows will nag about file info not found on relative paths with symlink (php bug?). Also, when deleting a symlink on Windows, it needs to be rmdir'd, no unlink'd (kept throwing permission denied for unlink). Diftraku 2011-03-03 11:40:34 +02:00
  • 9a1e8dc4b1 trim spaces at the start too Shish 2011-03-02 17:11:06 +00:00
  • 467eed75d1 'list of tags applied to this image' should not be limited like 'related tags' is Shish 2011-03-02 11:53:38 +00:00
  • 3e504f8815 Generic Blocks extension Shish 2011-03-02 10:50:22 +00:00
  • 410ae399de log image votes Shish 2011-02-28 11:28:42 +00:00
  • f8d88c2c67 log image votes Shish 2011-02-28 11:28:42 +00:00
  • 128f43ca14 bump dependencies, and there should be no need to justify PHP5 any more Shish 2011-02-24 08:53:19 +00:00
  • 17fa6a933c missed one Shish 2011-02-23 20:27:29 +00:00
  • d4b8d29e6a split->explode for simpletest Shish 2011-02-23 18:44:04 +00:00
  • ec6d950d76 downtime theme needs access to user global Shish 2011-02-23 15:20:09 +00:00
  • 1982740386 downtime theme needs access to user global Shish 2011-02-23 15:20:09 +00:00
  • c89eb46800 alias_editor: More PDO compatibility Josh Sutinen 2011-02-22 17:35:07 -05:00
  • f66dd4f089 pm: PDO compatibility Josh Sutinen 2011-02-22 17:29:31 -05:00
  • 0661f95fbb numeric_score: PDO compatibility Josh Sutinen 2011-02-22 17:24:00 -05:00