Shish
1d7b929871
convert parts of core/database to pdo
2010-12-31 19:29:15 +00:00
Shish
7403fd7c87
Revert "checks for files without extensions, from AtomicDryad"
...
This seems to break something, such that uploading a jpeg results
in image size 0x0 (other bits seem to work though o_O)
Will take a look at what's up and re-commit later...
This reverts commit ead87d3934
.
2010-12-24 20:44:38 +00:00
Shish
ead87d3934
checks for files without extensions, from AtomicDryad
2010-12-22 21:43:00 +00:00
Shish
dfef932463
use config.php as CSRF salt
2010-10-07 21:26:28 +01:00
Shish
1e04df7765
<form> -> make_form(), or add auth token manually
2010-10-07 21:26:27 +01:00
Shish
6cd53fed8a
csrf functions
2010-10-07 21:26:15 +01:00
Shish
c6f358a8fc
split is deprecated in php5.3, use explode instead
2010-07-30 15:36:33 +01:00
Shish
10dbe650e2
external CSS comes before external JS
2010-07-30 13:39:11 +01:00
Shish
7abb4742a5
hack
2010-07-19 13:35:10 +01:00
Shish
d80ccbe497
SimpleExtension priority framework
2010-05-28 13:06:18 +01:00
Shish
c6e61b096b
timeline function for profiling
2010-05-27 11:48:29 +01:00
Shish
23216d7549
for compiling under hiphop
2010-05-15 14:53:37 +01:00
Shish
e1f9d77271
turns out that this was necessary o_O
2010-04-26 06:07:34 +01:00
Shish
062f30abe7
Merge branch 'pagevent'
2010-04-26 04:53:31 +01:00
Shish
0bd1108933
new jquery
2010-04-26 04:52:28 +01:00
Shish
e211207ac5
event -> this
2010-04-26 03:39:02 +01:00
Shish
5a83a18df3
add the functions
2010-04-26 02:35:53 +01:00
Shish
2c1fa2fd7f
move warehouse directory creation into a single place
2010-04-23 05:46:07 +01:00
Shish
dbf529825c
double-escape backslashes as well as forward
2010-04-23 03:31:10 +01:00
Shish
3eee6f313e
avatar options
2010-04-21 17:56:01 +01:00
Shish
9cb7946d69
make memcachecache pay attention to the URI
2010-03-25 10:53:02 +00:00
Shish
7efc4a0dfe
if necessary
2010-03-25 10:37:52 +00:00
Shish
20edd68093
avoid double escapes
2010-03-24 18:24:47 +00:00
Shish
f4cbd8b24f
AHA! This bug took ages to track down, as the trigger was in a completely different system to the error message... Many, many thanks to zshall for managing to reproduce the error, then narrowing it down to a single line \o/
2010-03-21 02:20:09 +00:00
Shish
7a5be72cbd
build warehouse directories on demand
2010-03-15 04:31:28 +00:00
Shish
2c710bb654
make captchas optional and off by default, some people are having problems
2010-03-14 02:14:28 +00:00
Shish
161a2d1757
postgres is true too
2010-02-17 15:09:00 +00:00
Shish
9c26f9efb4
image locking
2010-02-17 14:16:20 +00:00
Shish
a214856481
post/view?search -> post/view#search for better caching
2010-02-09 10:06:21 +00:00
Shish
320877f80b
URI based hash, for nginx compatability
2010-02-09 07:42:21 +00:00
Shish
b33aa49f00
a technical explanation of build_accurate_search_querylet
2010-02-09 02:07:19 +00:00
Shish
937a430a50
only optimise this case for regular tags
2010-02-03 22:03:46 +00:00
Shish
3b2941a5bc
if the search is for one tag, then 'count(tag)' (expensive function) = 'tag.count' (index lookup)
2010-02-02 18:19:55 +00:00
Shish
74693f9d9f
make apc not warn
2010-02-02 18:14:31 +00:00
Shish
387e13f9f0
activate caches if cache_dsn is set
2010-02-02 17:34:45 +00:00
Shish
892214a0c7
APC cache mechanism, faster than memcache?
2010-02-02 17:12:40 +00:00
Shish
a28a3ffcb9
case-insensitive search
2010-02-02 11:52:24 +00:00
Shish
efac91598c
SCORE_STRNORM = lowercase-if-necessary-for-comparison
2010-02-02 02:13:45 +00:00
Shish
b34dc57f9e
this uses the warehouse too
2010-02-02 01:55:18 +00:00
Shish
898f1e1f73
typo
2010-02-02 00:56:28 +00:00
Shish
155f3cf9e8
lowercase match for pgsql
2010-02-02 00:45:15 +00:00
Shish
f7f3057278
some only have concat, some only have pipes...
2010-02-02 00:43:10 +00:00
Shish
05150706cc
wtf git
2010-02-02 00:34:44 +00:00
Shish
9ca5fcd51a
MemCache is already used...
2010-02-01 16:17:12 +00:00
Shish
69001a375c
no concat in postgres, use pipes
2010-02-01 16:15:53 +00:00
Shish
ad83c7634c
'PRAGMA foreign_keys' is SQLite-specific
2010-02-01 16:13:24 +00:00
Shish
9d40eda409
make memcaching work for pages, and log if DEBUG is set
2010-02-01 16:11:26 +00:00
Shish
d715c38341
disable captchas when debugging from localhost
2010-01-23 12:48:43 +00:00
Shish
ccaeca19eb
make make_http not break with '' as an argument
2010-01-18 08:29:35 +00:00
Shish
13fb551fb3
SQLite now supports foreign keys (3.6.19 onwards)
2010-01-17 09:42:35 +00:00
Shish
af36f37902
documentation updates
2010-01-12 15:01:34 +00:00
Shish
f4a74c4d4c
better logging
2010-01-05 10:52:23 +00:00
Shish
3bb3ee2e86
securimage support as an alternative captcha
2010-01-03 08:15:52 +00:00
Shish
830635c5a9
preliminary image locking
2009-12-30 08:54:04 +00:00
Shish
694200d9f8
proper logging
2009-12-30 07:59:40 +00:00
Shish
d65adf1dab
Content-Length header for data pages
2009-12-26 01:00:38 +00:00
Shish
1c7ce5a3ac
get the THUMB link... *headdesk*
2009-12-24 07:34:29 +00:00
Shish
a14b2a8a63
how did nobody spot this? x_x
2009-11-20 11:51:51 +00:00
Shish
6818e598e5
forgot to replace this
2009-11-15 12:09:09 +00:00
Shish
7f47c594c8
handle the case of the SQL log failing to open
2009-11-15 10:26:17 +00:00
Shish
14b48d5599
fixed?
2009-11-12 09:30:41 +00:00
Shish
b428a56e5f
fail
2009-11-12 09:27:09 +00:00
Shish
0c7c90f2cd
hash_ab and hash_cd templates for image URLs
2009-11-12 09:23:47 +00:00
Shish
7a46a9a962
html tooltip for autodates
2009-11-10 03:49:56 +00:00
Shish
ab4f69eb88
months and years for autodate
2009-11-10 03:36:39 +00:00
Shish
1d46dbbe18
this setting is used before the database is connected to...
2009-10-26 11:39:53 +00:00
Shish
dd65b63be9
avatar css
2009-10-10 01:52:39 +01:00
Shish
6baf616692
truthomatic
2009-10-08 17:44:25 +01:00
Shish
71999a3065
find truth
2009-10-08 17:43:18 +01:00
Shish
a7caf1e060
prefixed cookies
2009-10-08 13:59:12 +01:00
Shish
159a862c02
configurability for avatars
2009-10-08 12:40:52 +01:00
Shish
6ed28c8a43
User::get_avatar_html()
2009-10-08 02:58:58 +01:00
Shish
304c479dba
make debugging and coverage separate settings
2009-09-27 14:04:27 +01:00
Shish
bb4085972b
code coverage stuff
2009-09-19 20:13:37 +01:00
Shish
f71a0e4390
configurable autodate format
2009-09-15 18:29:22 +01:00
Shish
ea215fbff2
split() is deprecated in php5.3
2009-09-14 21:19:13 +01:00
Shish
39f7688888
allow themes to override this function
2009-08-24 03:00:42 +01:00
Shish
d5dea776c5
ignore duplicate tag history entries
2009-08-24 03:33:51 +01:00
Shish
685d079da8
use_autodate option
2009-08-18 23:06:15 +01:00
Shish
76a9090ded
settable email field
2009-08-11 17:07:03 +01:00
Shish
fe9dd98387
slightly less strict filename sanitising, for the unicode users
2009-08-11 15:12:48 +01:00
Shish
51dab939ea
if hit on disk, reload into memcache
2009-08-10 13:33:08 +01:00
Shish
b1df14ca4a
only cache gets
2009-08-10 11:46:47 +01:00
Shish
a9a9318c41
better caching code
2009-08-09 13:11:54 +01:00
Shish
1e8e5adbbf
load config.php sooner
2009-08-09 13:10:59 +01:00
Shish
7c790414b5
update this too
2009-08-02 09:10:28 +01:00
Shish
1614248c35
compressed cached pages
2009-08-01 08:57:28 +01:00
Shish
bdcca24f8d
static file caching
2009-08-01 02:31:49 +01:00
Shish
a3f57c8fd6
make autodate work, and use it a bit
2009-07-28 23:56:46 +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
ecef1edb14
make_http function
2009-07-24 08:08:29 +01:00
Shish
572f84511a
lots of docs, and some internal changes
2009-07-21 07:38:53 +01:00
Shish
2471a8e2eb
docs
2009-07-21 07:38:46 +01:00
Shish
fd5242d1ad
more tests, and make link to image work better
2009-07-19 19:36:11 +01:00
Shish
8875422bed
someone else is defining these...
2009-07-19 17:22:01 +01:00
Shish
627ecdbf4c
lots of docs
2009-07-19 08:38:27 +01:00
Shish
d8e027b776
a load more tests
2009-07-19 04:49:14 +01:00
Shish
bc3c2d5a5b
sqlite returns column names as table.name, not just name
2009-07-17 13:10:42 +01:00
Shish
be5ed6272c
merge both log functions into one; simply saying that they take different numbers of arguments isn't enough...
2009-07-17 01:56:40 +01:00