Commit graph

794 commits

Author SHA1 Message Date
Shish
36e443e07d the algorithm for listing old comments pages is *really* inefficient; the first few pages are quick, page 100 can take a few seconds to generate... rule34 has over 100,000 pages of comments. Limit to the first few pages for now, as I don't know anyone who even goes past the front page. 2012-01-20 03:12:48 +00:00
NaGeL
8eaaa6a7ca Added user deletion.
User is deleted from database
the Comments are deleted too, unknown reason for me
Noting else is deleted so far.
2012-01-19 18:23:43 +01:00
NaGeL
557a82e7be Fixed linking bug in admin_user/list page. 2012-01-19 16:43:20 +01:00
Shish
8ba22d8fbc same for user-agent 2012-01-19 15:28:55 +00:00
Shish
b8bdbd3533 after detecting an error, don't carry on processing the bad data... 2012-01-19 15:23:44 +00:00
Shish
7608107232 lib/askismet expects the referrer to either be set manually, or exist; if it doesn't exist we need to set it manually 2012-01-19 15:20:32 +00:00
Shish
a75d8744c9 Merge branch 'master' of github.com:shish/shimmie2 2012-01-18 18:00:10 +00:00
NaGeL
b52651c558 added [align=(left|center|right)] BBcode which aligns text naturally. 2012-01-18 17:49:29 +00:00
Shish
bdf274074c some people like heading to the image after an image that isn't there (mostly robots with old URLs) 2012-01-18 03:13:27 +00:00
NaGeL
3c6217fa4c added [align=(left|center|right)] BBcode which aligns text naturally. 2012-01-17 22:45:24 +01:00
Daku
a336944b11 uploader fixes 2012-01-17 10:56:52 +00:00
Daku
a45c09b2b6 Bookmarklet now checks if ext is supported/filesize is lower than limit before attempting to upload. 2012-01-17 07:57:58 +00:00
Daku
433197e187 Bookmarklet seems to work fine with Gelbooru now... 2012-01-17 04:57:14 +00:00
Daku
9f5465c0e5 Bookmarklet now asks if you want to use current/new tags again. 2012-01-17 04:28:45 +00:00
Daku
fcb8307f58 Booru bookmarklet now works with shimmie sites + is now loaded via .js script on the site. 2012-01-17 04:03:32 +00:00
Daku
7759700160 fixes tag_edit__locked/locked errors 2012-01-17 03:58:28 +00:00
Shish
7045b21b44 uploader javascript fixes from jgen (copy & paste is easier than fixing merge conflicts >.>;;) 2012-01-16 21:10:51 +00:00
Shish
6ca81cb636 Merge branch 'master' of github.com:shish/shimmie2 2012-01-16 20:59:00 +00:00
green-ponies (jgen)
d46244f926 Display message if no comments. 2012-01-16 20:54:34 +00:00
green-ponies (jgen)
fdca5e4662 Patch for displaying error message when disk full. 2012-01-16 20:52:26 +00:00
green-ponies (jgen)
cd7de93a0a Changing for-loops to use pre-calculated values.
Rather than calculating the value each time.
2012-01-16 00:07:04 -05:00
green-ponies (jgen)
8252534cff Small changes with quotes. 2012-01-15 23:03:27 -05:00
Shish
9d36a6a1bb sometimes when looking for next/prev the image doesn't exist 2012-01-14 14:38:45 +00:00
Thasan
aa452bf8eb Added $force to vars 2012-01-14 11:15:13 +02:00
green-ponies (jgen)
2c6b5128c6 More tweaks for minor speed gains. 2012-01-12 21:17:37 -05:00
green-ponies (jgen)
fc12bbbfe5 More small changes to help save a few microseconds. 2012-01-12 15:46:34 -05: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
green-ponies (jgen)
0b03f91f1c Fixed the new upload form.
Changed it over to use jQuery since shimmie has that already.
Works with FF, Chrome, and IE 7 now.
2012-01-09 20:45:30 -05:00
green-ponies (jgen)
f7fc253075 Display message if no comments. 2012-01-08 22:18:17 -05:00
green-ponies (jgen)
dcf96456f1 Fixed issue with Cancelling Transloads.
Also added some features to the Bookmarklet.
2012-01-08 16:50:35 -05:00
green-ponies (jgen)
57da47c93a using the new uploader 2012-01-08 13:36:39 -05:00
green-ponies (jgen)
f93b86261e Small feature for uploading using a bookmark. 2012-01-08 13:23:39 -05:00
Shish
5b717870d1 case sensitivity blargh 2012-01-01 17:13:50 +00:00
Shish
0c96603861 Merge branch 'master' of git@github.com:shish/shimmie2 2012-01-01 16:58:01 +00:00
Shish
beff330a37 Merge branch 'master' of github.com:shish/shimmie2 2012-01-01 16:54:58 +00:00
Shish
56a780bfd3 in per-letter mode, don't separate a and A 2012-01-01 16:54:44 +00:00
Shish
c39697a40f stub for comment time-ago 2011-12-31 14:21:02 +00:00
Daku
b9bd4db41e Tag list should now show under the search block, instead of under every other block 2011-12-31 14:18:53 +00:00
Daku
12d4fcf813 related block should now change title depending on what tag list is set to 2011-12-31 14:18:52 +00:00
Daku
d9e1b935b0 +/- buttons should now work in FF, instead of directing you to blank page 2011-12-31 14:18:51 +00:00
Daku
c2ad8322ef fixed downloading flash with bookmarklet + added comments 2011-12-31 14:18:50 +00:00
Shish
ad2bb8b8b6 switch timeago to a javascript implementation 2011-12-31 14:12:34 +00:00
Shish
e8791d0759 Merge branch 'master' of git@github.com:shish/shimmie2 2011-12-31 13:57:56 +00:00
Shish
1857075bd9 show comments made by user 2011-12-31 13:54:32 +00:00
Shish
77b4bd8d46 Merge branch 'master' of git@github.com:shish/shimmie2 2011-12-27 19:27:05 +00:00
Shish
cfbeddde9f HTTP level caching, so we can stick varnish in front of the web pages 2011-12-27 19:23:37 +00:00
Shish
009b7ccbbb stick the tag list paging option in the right place, and PDO/PG compat 2011-12-25 23:14:13 +00:00
Shish
082730f29a get the tag initials from the database itself 2011-12-25 22:34:20 +00:00
Shish
8887ffe101 make paging optional 2011-12-25 18:23:00 +00:00
Shish
e05d4619db Also I hate PHP on a personal level. 2011-12-25 17:07:55 +00:00
Shish
e9fedb570a PHP is shit. MySQL is also shit. 2011-12-25 16:59:13 +00:00
Shish
b57a2d2121 paged tag lists backend, and speed hax 2011-12-25 16:42:05 +00:00
Shish
67e0c87b20 create a generic bool_escape function, use that 2011-12-25 15:11:26 +00:00
Shish
d167849ffc huge if block is correct, but unnecessary - we can just take the first letter and the even system will validate it 2011-12-25 14:47:54 +00:00
Shish Moom
d25ef4e6f6 Merge pull request #63 from DakuTree/master
Few new features + More fixes
2011-12-25 06:31:36 -08:00
Shish
ba02e589b0 IP isn't an int 2011-12-25 12:38:07 +00:00
Shish
070aeff199 search images by uploader IP 2011-12-25 12:31:28 +00:00
Daku
394f4518a3 More improvements to the uploader. 2011-12-24 23:28:33 +00:00
Shish
b5f5c861c4 quality in imagemagick mode 2011-12-24 21:30:54 +00:00
Daku
ee1fc7e3ae Admin can now lock image while transloading. 2011-12-24 20:18:00 +00:00
Shish
5121e99dbe speed hax and niceurl forcing from r34 2011-12-24 14:49:55 +00:00
Daku
42b902ecb5 Bookmarklet should now grab the rating, aswell as the image page link for source. 2011-12-23 21:28:47 +00:00
Daku
cd11e75e40 Can now set rating/external source while uploading via the bookmarklets. 2011-12-23 21:27:38 +00:00
Daku
9a2d694b6a Made the replace form look similar to the new upload form. 2011-12-21 02:40:30 +00:00
Daku
c37569f3d4 Fixed reCaptcha. 2011-12-21 02:28:39 +00:00
Daku
c125c4ba92 Making the upload form look a bit nicer. 2011-12-19 01:43:46 +00:00
Daku
583de3fe6a Small update to include the code by green-ponies in issue #51. 2011-12-14 07:53:48 +00:00
Daku
2b717063eb Updated the bookmarklet to give you an option to use either the your own or the current tags. 2011-12-14 07:36:01 +00:00
Daku
0e4f93a42f Added a separate option for popular tags length. 2011-12-14 06:45:35 +00:00
Daku
ac9e1c73cf Adding a simple Danbooru>Shimmie bookmarklet. 2011-12-11 06:13:00 +00:00
green-ponies (jgen)
7bfe30e0c5 Patch for displaying error message when disk full. 2011-11-04 01:00:45 -04:00
green-ponies (jgen)
12a480ed8b Fixed small bug with transloading images. (If clean_urls were not enabled) 2011-11-03 16:55:04 -04:00
Shish
8cb95ceb98 also allow https sources 2011-10-25 16:17:44 +01:00
green-ponies (jgen)
589f218d1f Small changes to disable the checkboxes by default. 2011-10-06 15:31:56 -04:00
green-ponies (jgen)
bba4301bfa Disabled option for Minifying CSS and JavaScript. (not currently supported) 2011-10-06 15:23:49 -04:00
green-ponies (jgen)
c1df2653a8 Cleaned up the comments a bit. 2011-09-25 14:16:20 -04:00
green-ponies (jgen)
944f3bdf3d Fixed caching from not outputing JS if only CSS is enabled. 2011-09-25 14:00:56 -04:00
green-ponies (jgen)
97d137f365 Working on Automatic Caching feature for CSS and JS files.
Added config options to main Shimmie config.
2011-09-25 13:40:34 -04: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)
c30c898c4e Changing files to use the $page->add_http_header() method instead. 2011-09-04 14:06:50 -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)
fca286913e Working on moving header() inside of the global $page data structure. 2011-09-04 14:06:34 -04:00
green-ponies (jgen)
bf035c247d Slight changes to how the Replace & Resize forms are displayed. 2011-09-04 13:46:12 -04:00
green-ponies (jgen)
8422e0050a Another small change to reduce PHP notices. 2011-09-04 11:52:34 -04:00
green-ponies (jgen)
be6e6e2933 Small change to reduce PHP notice. 2011-09-04 11:41:25 -04:00
green-ponies (jgen)
d05344d5e3 Image resize is working now! (uses the GD library only for now)
Moved resize into contrib folder.
2011-09-04 11:17:14 -04:00
green-ponies (jgen)
ad850ad0d6 Fixed a small typo. 2011-09-04 10:30:20 -04:00
green-ponies (jgen)
14bfa8b323 Working on Image Resize feature. 2011-09-03 23:13:41 -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)
3cfe182ad3 Typo, Renamed. 2011-09-03 16:45:56 -04:00
green-ponies (jgen)
7ee0407ba8 Oops, forgot to rename. 2011-09-03 16:42:12 -04:00
green-ponies (jgen)
8e68d650a1 Cleaned up how the Image Replace html is made. 2011-09-03 16:03:21 -04:00
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