Shish
|
38f7555d98
|
get rid of direct references to Database's engine
|
2012-06-24 00:57:55 +01:00 |
|
Shish
|
239e028662
|
flash messages everywhere~
|
2012-06-10 04:21:03 +01:00 |
|
Shish
|
82cc77817a
|
delete comments by IP
|
2012-06-09 16:08:29 +01:00 |
|
Shish
|
58c06893e1
|
if the comment succeeds, we still want to set the 'user tried to comment' cookie :P
|
2012-03-19 20:05:19 +00:00 |
|
Shish
|
ee4b223f65
|
comment_anon bool -> create_comment perm
|
2012-03-19 13:17:47 +00:00 |
|
Shish
|
a23498a8d7
|
more recently updated comments
|
2012-03-15 06:17:19 +00:00 |
|
Shish
|
9e65732ea1
|
mysql ignores the FK names anyway, so all they were doing was bothering me ~_~
|
2012-03-11 01:52:25 +00:00 |
|
Shish
|
97eb527714
|
named constraints
|
2012-03-10 19:38:50 +00:00 |
|
Shish
|
6c459c8323
|
make it so
|
2012-03-10 19:13:41 +00:00 |
|
Shish
|
a2d2ceb015
|
foreign keys delete comments now
|
2012-03-10 19:07:40 +00:00 |
|
Shish
|
f62edc3e83
|
add FKs for comments
|
2012-03-10 19:07:02 +00:00 |
|
Shish
|
37672bc1ee
|
comment schema wibbles
|
2012-03-10 18:57:35 +00:00 |
|
Shish
|
569e93cd6b
|
postgres requires a sequence name to be passed to get_last_insert_id
|
2012-03-08 02:55:04 +00:00 |
|
Shish
|
58d533ceb9
|
put a snippet of each comment in the event log
|
2012-03-08 02:36:21 +00:00 |
|
Shish
|
6222c0d093
|
redirect to the bottom of the thread when commenting
|
2012-02-22 13:25:03 +00:00 |
|
Shish
|
af7704825b
|
use HTTP status codes with error messages
|
2012-02-16 15:37:05 +00:00 |
|
Shish
|
c2bf42ef5a
|
less passing of $page
|
2012-02-15 08:59:24 +00:00 |
|
Shish
|
5f4f941444
|
half-logged-in only for one day
|
2012-02-09 17:11:03 +00:00 |
|
Shish
|
912f096d8c
|
give nocache cookies to people who /attempt/ to post on old forms, not just those who succeed
|
2012-02-09 17:07:36 +00:00 |
|
Shish
|
0698b780f9
|
remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods
|
2012-02-08 12:07:01 +00:00 |
|
Shish
|
0589f9d72e
|
fine grained permission bits
|
2012-02-07 15:15:18 +00:00 |
|
Shish
|
4e1300631b
|
Merge branch 'master' of github.com:shish/shimmie2
|
2012-02-05 04:25:58 +00:00 |
|
Shish
|
5843aae4f2
|
random unused global o_O
|
2012-02-05 04:20:42 +00: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
|
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)
|
cd7de93a0a
|
Changing for-loops to use pre-calculated values.
Rather than calculating the value each time.
|
2012-01-16 00:07:04 -05:00 |
|
Shish
|
1857075bd9
|
show comments made by user
|
2011-12-31 13:54:32 +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
|
0d7efd0256
|
class type hints for hiphop's benefit
|
2010-05-15 12:17:32 +01:00 |
|