green-ponies (jgen)
|
d69fa6ae9d
|
Merge branch 'master' into speed_tweaks
|
2012-02-07 23:21:56 -05:00 |
|
Shish
|
0589f9d72e
|
fine grained permission bits
|
2012-02-07 15:15:18 +00:00 |
|
Shish
|
a9ec9b6b70
|
comment info box
|
2012-02-06 14:42:38 +00:00 |
|
Shish
|
aa2696ca07
|
only add ellipsis if the comment actually is too long
|
2012-02-06 14:42:07 +00:00 |
|
Shish
|
e38f9e720f
|
CSS has odd/even built-in now
|
2012-02-06 12:24:13 +00:00 |
|
Shish
|
d2d03396af
|
info box
|
2012-02-06 12:23:56 +00:00 |
|
Shish
|
4e1300631b
|
Merge branch 'master' of github.com:shish/shimmie2
|
2012-02-05 04:25:58 +00:00 |
|
Shish
|
0b13db8ed7
|
hide anonymous's user page - having made a million comments, it was taking upwards of 60 seconds to process that one page, triggering the DOS defences...
|
2012-02-05 04:25:50 +00:00 |
|
Shish
|
5843aae4f2
|
random unused global o_O
|
2012-02-05 04:20:42 +00:00 |
|
green-ponies (jgen)
|
68e9bd694e
|
Storing copies of config variables outside of for loops.
|
2012-02-04 14:17:52 -05:00 |
|
Shish
|
dab85e5f26
|
merge type hints
|
2012-02-02 14:16:14 +00:00 |
|
Shish
|
cc8f1f35a5
|
more type hints
|
2012-02-02 14:14:33 +00:00 |
|
Shish
|
dc6c173efd
|
type hints for hiphop
|
2012-02-02 08:07:57 +00:00 |
|
Shish
|
b3d5878ce8
|
use the param
|
2012-02-02 05:24:06 +00:00 |
|
Shish
|
aed5e1a30e
|
hand merge of speed tweaks
|
2012-01-31 13:20:43 +00:00 |
|
Shish
|
8192f278d5
|
different sql for different databases :(
|
2012-01-31 12:15:25 +00:00 |
|
Shish
|
7af442855d
|
this isn't so necessary with latest upstream changes
|
2012-01-30 02:18:16 +00:00 |
|
Shish
|
ddf61714f6
|
argh sql syntaxes
|
2012-01-22 14:54:03 +00:00 |
|
Shish
|
f5edb4fb4e
|
the 24 hour limit can apply to the page count too, making that also 70x faster
|
2012-01-20 05:24:29 +00:00 |
|
Shish
|
4c2adce744
|
limiting by date at the database level is ~70x faster than limiting by page at the PHP level
|
2012-01-20 04:34:06 +00:00 |
|
Shish
|
f100e6a9d4
|
5 may have been a little extreme
|
2012-01-20 04:05:54 +00:00 |
|
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 |
|
Shish
|
8ba22d8fbc
|
same for user-agent
|
2012-01-19 15:28:55 +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 |
|
green-ponies (jgen)
|
d46244f926
|
Display message if no comments.
|
2012-01-16 20:54:34 +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)
|
fc12bbbfe5
|
More small changes to help save a few microseconds.
|
2012-01-12 15:46:34 -05:00 |
|
green-ponies (jgen)
|
f7fc253075
|
Display message if no comments.
|
2012-01-08 22:18:17 -05:00 |
|
Shish
|
c39697a40f
|
stub for comment time-ago
|
2011-12-31 14:21:02 +00:00 |
|
Shish
|
1857075bd9
|
show comments made by user
|
2011-12-31 13:54:32 +00:00 |
|
Shish
|
5121e99dbe
|
speed hax and niceurl forcing from r34
|
2011-12-24 14:49:55 +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
|
eda0d66bac
|
make CommentList::get_hash static, for calling from other places
|
2011-03-06 12:44:38 +00:00 |
|
Shish
|
ce0d30e0db
|
count() rather than RecordCount
|
2011-02-13 13:16:49 +00:00 |
|
Shish
|
8495a1ac89
|
typo fix
|
2011-02-13 13:10:55 +00:00 |
|
Shish
|
68585bb8c8
|
PDO compat for comments
|
2011-02-13 12:44:33 +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
|
8d978aa06a
|
more pdo compat
|
2011-01-01 15:58:09 +00:00 |
|
Shish
|
9e00675900
|
pdo compat
|
2011-01-01 15:28:38 +00:00 |
|
Shish
|
ffb1762280
|
Insert_ID -> lastInsertId
|
2010-12-31 20:00:59 +00:00 |
|
Shish
|
1e04df7765
|
<form> -> make_form(), or add auth token manually
|
2010-10-07 21:26:27 +01:00 |
|
Shish
|
0d7efd0256
|
class type hints for hiphop's benefit
|
2010-05-15 12:17:32 +01:00 |
|
Shish
|
ee292c2a25
|
crudely hide explicit images from the comment list of anons
|
2010-04-23 04:08:22 +01:00 |
|
Shish
|
77934a7733
|
Comment::get_owner() function, as an official way to access user data (eg User::get_avatar())
|
2010-04-07 13:38:44 +01:00 |
|
Shish
|
ec5b08f659
|
timestamped comments
|
2010-04-07 13:25:46 +01:00 |
|
Shish
|
e3c0b3fbc2
|
two comments should exist now
|
2010-03-22 04:00:26 +00:00 |
|
Shish
|
35b1972b90
|
test unicode comments
|
2010-03-14 20:51:15 +00:00 |
|
Shish
|
ca8fc63bf2
|
comment IDs to link to
|
2010-02-03 16:01:00 +00:00 |
|
Shish
|
e3fc8cf782
|
reset anon IDs on the comment/list too
|
2010-02-03 15:22:54 +00:00 |
|
Shish
|
e96e350ccb
|
ID's anons
|
2010-02-02 18:15:05 +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
|
bd42beded8
|
update extensions links
|
2010-01-04 12:44:20 +00:00 |
|
Shish
|
c7b4cf8ead
|
documentation updates
|
2010-01-04 12:41:04 +00:00 |
|
Shish
|
3bb3ee2e86
|
securimage support as an alternative captcha
|
2010-01-03 08:15:52 +00:00 |
|
Shish
|
694200d9f8
|
proper logging
|
2009-12-30 07:59:40 +00:00 |
|
Shish
|
b68f37cf5b
|
ignore orphanned comments
|
2009-12-22 17:05:21 +00:00 |
|
Shish
|
247d2b0637
|
remote api keys in their own block
|
2009-11-10 03:07:40 +00:00 |
|
Shish
|
6bee15164f
|
make recaptcha work
|
2009-11-10 03:01:20 +00:00 |
|
Shish
|
76393c2c59
|
recaptcha support
|
2009-11-10 03:55:17 +00:00 |
|
Shish
|
07178e0c4d
|
Merge branch 'master' of git://git.shishnet.org/shimmie2
|
2009-10-26 10:50:56 +00:00 |
|
Shish
|
083d1e51f7
|
set comment limits higher
|
2009-10-26 10:50:48 +00:00 |
|
Shish
|
7d96035f02
|
fix for bug #779
|
2009-10-23 14:26:49 +01:00 |
|
Shish
|
2e24246984
|
test for bug #779
|
2009-10-23 14:26:40 +01:00 |
|
Shish
|
8a53cecbd7
|
odd/even comments
|
2009-08-24 03:43:10 +01:00 |
|
Shish
|
087444b841
|
did I mention 'aaaaaaargh php'?
|
2009-08-19 05:53:27 +01:00 |
|
Shish
|
1946e3c943
|
consistent naming for test functions
|
2009-08-19 01:28:48 +01:00 |
|
Shish
|
a1725f7fe3
|
only show the recent few comments on each image (for the long comment list)
|
2009-08-19 00:33:18 +01:00 |
|
Shish
|
b1bcb8252f
|
extendable user stats rather than hardcoded with assumptions of extensions
|
2009-08-18 22:30:52 +01:00 |
|
Shish
|
4b3fb0de86
|
test deleting one comment at a time
|
2009-08-12 15:45:13 +01:00 |
|
Shish
|
f9b987a7ce
|
make comment deletion do something...
|
2009-08-12 15:40:13 +01:00 |
|
Shish
|
ffe6bc3597
|
missed a spot
|
2009-08-12 15:35:30 +01:00 |
|
Shish
|
940687a8ac
|
missed a spot
|
2009-08-10 21:51:04 +01:00 |
|
Shish
|
512503799d
|
fix comment page count
|
2009-08-04 17:58:26 +01:00 |
|
Shish
|
1849910b2f
|
make user email accessable to comment themers
|
2009-08-04 17:51:43 +01:00 |
|
Shish
|
7555ada953
|
comment theme API changes
|
2009-08-04 17:45:09 +01:00 |
|
Shish
|
db7708b6e3
|
search images by comment metadata
|
2009-08-03 10:18:59 +01:00 |
|
Shish
|
d850a562db
|
updateses
|
2009-07-28 01:09:00 +01:00 |
|
Shish
|
a16b3db48c
|
somewhat updated danbooru comment theme
|
2009-07-28 00:54:47 +01:00 |
|
Shish
|
aa7969cdde
|
MOAR TESTING.
|
2009-07-20 06:51:51 +01:00 |
|
Shish
|
d959c174a1
|
more tests, more fixes
|
2009-07-19 18:00:16 +01:00 |
|
Shish
|
678910fb13
|
sqlite fails at count distinct
|
2009-07-17 13:09:56 +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
|
b0448eba6f
|
theme changes
|
2009-07-06 04:29:55 -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
|
e36530a731
|
allow many block-level elements inside a comment, style them all
|
2009-01-24 01:20:31 -08:00 |
|
Shish
|
54e3eef69c
|
don't try to post a comment without input
|
2009-01-24 00:15:33 -08:00 |
|
Shish
|
bda38bff6c
|
did I mention that mysql devs can go choke on a bucket of cocks? Well they can. (Two ways to specify foreign keys, one works, one is silently ignored; wtf?)
|
2009-01-22 05:03:51 -08:00 |
|
Shish
|
44ac62e1ae
|
get rid of xmlschema
|
2009-01-22 04:05:55 -08:00 |
|
Shish
|
3086f7393d
|
this looks silly in a fresh install
|
2009-01-22 02:16:10 -08:00 |
|
Shish
|
12cccde8f8
|
move extension specific parts out of user and into extensions
|
2009-01-20 03:56:13 -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
|
9908a617b3
|
source ip and time check on anon comments, and rearrange to have heavier checks later in the process
|
2008-12-30 14:20:42 -08:00 |
|
Shish
|
fa94f51a61
|
no new lines in javascript
|
2008-12-27 02:56:51 -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
|
98f6800f9d
|
configurable testing URL
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1096 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-10-18 10:34:15 +00:00 |
|
shish
|
c68df68195
|
test files for various extensions
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1070 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-10-11 07:09:42 +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
|
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
|
c741ea216f
|
pull a bunch of r34 tweaks intro trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@959 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-07-29 19:43:34 +00:00 |
|
shish
|
4f020ed7ea
|
for postgres support
git-svn-id: file:///home/shish/svn/shimmie2/trunk@923 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-07-24 14:05:40 +00:00 |
|
shish
|
3c0d687bf6
|
back, moderator; get back from whence thee came!
git-svn-id: file:///home/shish/svn/shimmie2/trunk@859 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-05-19 01:56:02 +00:00 |
|
shish
|
d5b21bf8f2
|
remove xmldb stuff from comment too...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@853 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-05-18 02:25:31 +00:00 |
|
shish
|
21ee529256
|
copy & paste artefact
git-svn-id: file:///home/shish/svn/shimmie2/trunk@709 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-01-27 17:18:56 +00:00 |
|
shish
|
980ebd5189
|
use xml schemas to create tables
git-svn-id: file:///home/shish/svn/shimmie2/trunk@703 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-01-27 15:32:35 +00:00 |
|
shish
|
3e25a08db2
|
safety wrapper for db->GetAll
git-svn-id: file:///home/shish/svn/shimmie2/trunk@690 7f39781d-f577-437e-ae19-be835c7a54ca
|
2008-01-05 00:22:19 +00:00 |
|
shish
|
23dd70ae26
|
make sure the image exists when posting a comment to it...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@664 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-12-18 14:04:56 +00:00 |
|
shish
|
51f8d0891c
|
comments needs some indexes
git-svn-id: file:///home/shish/svn/shimmie2/trunk@661 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-12-14 01:00:53 +00:00 |
|
shish
|
6c20105aff
|
Vetoing a CommentPostedEvent should display veto reason as an error message
git-svn-id: file:///home/shish/svn/shimmie2/trunk@632 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-12-06 19:15:45 +00:00 |
|
shish
|
637712d72c
|
dupe comment blocker
git-svn-id: file:///home/shish/svn/shimmie2/trunk@606 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-11-03 05:23:01 +00:00 |
|
shish
|
b97a7bf912
|
also apply that to trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@603 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-10-28 18:10:29 +00:00 |
|
shish
|
501ecb1201
|
Don't show comments section if zero comments and no postbox
git-svn-id: file:///home/shish/svn/shimmie2/trunk@578 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-10-27 23:32:39 +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
|
88336cc323
|
less global user, more event->user
git-svn-id: file:///home/shish/svn/shimmie2/trunk@478 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-08-24 22:29:34 +00:00 |
|
shish
|
f78094ebc5
|
CommentPostingEvent
git-svn-id: file:///home/shish/svn/shimmie2/trunk@474 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-08-24 17:02:45 +00:00 |
|
shish
|
862e647365
|
theme engine 2.1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@466 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-08-23 11:14:03 +00:00 |
|
shish
|
0b7c038f52
|
much theme docs, and some display_my_foo_error replaced with generic display_error
git-svn-id: file:///home/shish/svn/shimmie2/trunk@395 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-28 20:30:01 +00:00 |
|
shish
|
2e8e839f5c
|
make_link with no args links to default page
git-svn-id: file:///home/shish/svn/shimmie2/trunk@373 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-26 13:19:39 +00:00 |
|
shish
|
0f8654db93
|
themable paginator
git-svn-id: file:///home/shish/svn/shimmie2/trunk@350 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-21 15:02:14 +00:00 |
|
shish
|
18cd6fbd99
|
danbooru theme work
git-svn-id: file:///home/shish/svn/shimmie2/trunk@348 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-21 12:11:41 +00:00 |
|
shish
|
52128a30af
|
themable comment to html
git-svn-id: file:///home/shish/svn/shimmie2/trunk@339 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-19 17:57:35 +00:00 |
|
shish
|
1008c36180
|
comment themed
git-svn-id: file:///home/shish/svn/shimmie2/trunk@332 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-19 14:02:18 +00:00 |
|
shish
|
73c437758a
|
news, upload, comment, and tag_list now respond to PostListBuildingEvents rather than PageRequestEvent(index)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@318 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-17 18:07:18 +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
|
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
|
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
|
6e93425fe5
|
remove some globals
git-svn-id: file:///home/shish/svn/shimmie2/trunk@255 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-10 21:16:49 +00:00 |
|
shish
|
8ad916c136
|
bbcode support moved to a generic text formatting extension
git-svn-id: file:///home/shish/svn/shimmie2/trunk@241 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-07-08 18:56:29 +00:00 |
|
shish
|
a625fcd787
|
the bulk of theme engine 2.0; it's still rough, but it works
git-svn-id: file:///home/shish/svn/shimmie2/trunk@201 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-06-30 01:19:11 +00:00 |
|
shish
|
6c26fa0fc1
|
use wrapped database execute function
git-svn-id: file:///home/shish/svn/shimmie2/trunk@129 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-05-23 22:19:12 +00:00 |
|
shish
|
6c071f95c9
|
confirm when deleting comments
git-svn-id: file:///home/shish/svn/shimmie2/trunk@99 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-05-16 20:51:48 +00:00 |
|
shish
|
ea9da95c7b
|
Setup items support labels nicely, as pioneered by Artanis
git-svn-id: file:///home/shish/svn/shimmie2/trunk@78 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-05-08 20:36:02 +00:00 |
|
shish
|
19d3062314
|
extensions moved to folders
git-svn-id: file:///home/shish/svn/shimmie2/trunk@75 7f39781d-f577-437e-ae19-be835c7a54ca
|
2007-05-07 15:04:46 +00:00 |
|