Shish
175ceac490
PDO compat
2011-01-01 15:28:30 +00:00
Shish
8b2e3262fe
clean up database API for completeness and sensibleness
2011-01-01 15:27:24 +00:00
Shish
6b557983c4
more PDO compat
2010-12-31 20:25:03 +00:00
Shish
8e63827c0f
PDO exceptions for error handling
2010-12-31 19:56:28 +00:00
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
Christian Walde
52f5a265fa
changed the windows coverage fix from closure to parameter passing, since older phps can't do that
2010-09-09 20:10:37 +02:00
Christian Walde
e5b3afb31c
this makes coverage dumping work on windows; on windows the cwd is changed to the apache executable's path by the time the coverage end is reached, changing the coverage end function to a closure that gives back a function with the actual shimmie cwd stored fixes this
2010-09-09 20:10:24 +02:00
Christian Walde
cd6015203e
replaced deprecated split with explode
2010-09-09 20:09:37 +02: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
Shish
4abf2ac7dd
more tests
2009-07-16 20:21:28 +01:00
Shish
96e69c4f20
aaaaaaaargh dates and times in sql
2009-07-16 00:05:25 +01:00
Shish Moom
8dac266af4
minor fix
2009-07-14 12:52:55 -07:00
Shish Moom
d9b97996ca
store arrays in config, edit in setup with add_multichoice_option
2009-07-11 04:43:18 -07:00
Shish Moom
f070bbe69e
auto-include library scripts
2009-07-07 06:48:59 -07:00
Shish Moom
57b2a13a62
no need for hostname
2009-07-01 05:17:09 -07:00
Shish
0b83a9d786
don't break when base_href=''
2009-06-29 19:02:25 -07:00
Erik Youngren
4bbb3569eb
You know that feeling you've done something the hard way? Yeah. Replacing theme_redirect with a three line function in core/utils.inc.php
2009-06-06 06:08:26 -07:00
Shish Moom
f77c6e64cd
array_contains -> in_array
2009-06-05 12:53:00 -07:00
Shish Moom
c5e9788358
fetch a block of users
2009-05-30 06:47:35 -07:00
Shish
4765e51e7c
explanation and credit
2009-05-15 01:52:55 -07:00
JJS
412750dec2
Bugfix: $c->get_string to $config->get_string
2009-05-12 03:11:01 -07:00
Shish
8dd3f8cbc0
SimpleExtension, like Extension but with more Magic
2009-05-11 14:08:32 -07:00
Shish
6a5b8bd46d
allow this to be turned on via config
2009-05-11 12:53:55 -07:00
Shish
9ae557c250
a couple of fixes
2009-05-11 07:48:18 -07:00
Shish
bb84a735a2
requestcontext stuff is messy, go back to globals :(
2009-05-11 07:04:33 -07:00
Shish
47fd679354
ugly mysql thing from 2.3
2009-05-11 03:52:48 -07:00
Shish
f592167c6a
comment out example thingy
2009-05-08 04:45:23 -07:00
Shish
561c9fdbb7
punctuations
2009-05-08 04:43:45 -07:00
Shish
5609976164
no need for formatting
2009-05-08 04:41:03 -07:00
Shish
7648d3db67
newline
2009-05-08 04:07:46 -07:00
Shish
415f6901da
logging things
2009-05-08 03:52:29 -07:00
Shish
4e551cf9c5
move shimmie-specific sqlite things out of adodb and into shimmie's database engine
2009-01-25 09:18:58 -08:00
Shish
2d46a5c269
more functions that sqlite needs
2009-01-25 09:18:48 -08:00
Shish
5600e00de9
fixes
2009-01-24 10:59:00 -08:00
Shish
394cff1909
move tag functions into the tag class
2009-01-24 03:32:48 -08:00
Shish
abf448cdc8
old bits
2009-01-22 10:23:15 -08:00
Shish
33fa2f9b28
xmlschema was fail
2009-01-22 10:21:31 -08:00
Shish
35cc1aad48
more sqlite fixes
2009-01-22 09:08:33 -08:00
Shish
4e4f0be4e5
more sqlite niceness
2009-01-22 07:51:50 -08:00
Shish
f3a3d50f95
sqlite love
2009-01-22 07:08:37 -08:00
Shish
8619be809e
sqlite engine
2009-01-22 05:53:30 -08:00
Shish
d98962a30e
a bunch of fixes
2009-01-22 05:42:44 -08:00
Shish
fb7e14ad21
fixes
2009-01-22 04:14:38 -08:00
Shish
e37531f26a
mysql too
2009-01-22 04:12:15 -08:00
Shish
f347384a50
php developers can go choke on a bucket of cocks
2009-01-22 04:11:43 -08:00
Shish
44ac62e1ae
get rid of xmlschema
2009-01-22 04:05:55 -08:00
Shish
64fb261b87
simpler table creation function
2009-01-22 03:22:55 -08:00
Shish
6667ac553d
niceurl magic
2009-01-22 02:49:22 -08:00
Shish
0ff11d71ed
make use of this
2009-01-21 23:21:03 -08:00
Shish
fcca11f20c
make cache engines work <_<
2009-01-20 03:54:43 -08:00
Shish
03bee56193
move extension specific parts out of user and into extensions
2009-01-20 03:24:35 -08:00
Shish
6e6a6bdd16
scoreyness
2009-01-20 03:17:49 -08:00
Shish
776a42d519
cache objects
2009-01-20 02:47:20 -08:00
Shish
5e75ad3cd4
start of cache engines
2009-01-20 02:34:17 -08:00
Shish
f9dffb96cb
brain fart
2009-01-20 02:33:34 -08:00
Shish
be696e46de
cache the config table (this is the most common sql query)
2009-01-19 10:47:33 -08:00
Shish
6e44111e0e
clean up tags when deleting an image
2009-01-19 10:28:03 -08:00
Shish
066474c5c5
use caching for image tags
2009-01-19 10:27:53 -08:00
Shish
bb20f927eb
hackery to deal with escaping slashes
2009-01-18 06:58:32 -08:00
Shish
94c0ab0255
make tag setting work
2009-01-17 17:07:06 -08:00
Shish
d8ce9d71c8
blank fold .-.
2009-01-04 12:26:12 -08:00
Shish
11873e9601
remove EOL whitespace
2009-01-04 11:18:37 -08:00
Shish
df594aee6d
tag functions in a tag class
2009-01-04 10:39:11 -08:00
Shish
0c628f2c10
score-style index
2009-01-04 08:24:06 -08:00
Shish
7f90fdbf97
pass config to get_session_ip, so it knows what mask to use
2009-01-04 08:17:41 -08:00
Shish
93b7467fdd
a bunch of image functions moved to the image class
2009-01-04 08:15:00 -08:00
Shish
b6480f076e
days_old should be calculated
2009-01-04 08:01:01 -08:00
Shish
0770b19b04
more scoreyness
2009-01-04 07:57:54 -08:00
Shish
8acb6ae01e
classy
2009-01-04 06:40:35 -08:00
Shish
842be2696c
multiple types of config
2009-01-04 06:38:48 -08:00
Shish
b693e5f772
whitespace matching
2009-01-04 06:37:11 -08:00
Shish
2ef6491ecf
we can use exceptions \o/
2009-01-04 06:34:27 -08:00
Shish
1c8094cabf
replace the veto system with exceptions
2009-01-04 06:01:59 -08:00
Shish
76f79668b5
move imageboard specific bits to their own file
2009-01-04 05:53:14 -08:00
Shish
672390a289
share the error message, shimmie is based on score now after all...
2009-01-03 15:16:18 -08:00
Shish
cc0bd18c4f
tidying, moving to score
2009-01-03 13:06:36 -08:00
Shish
bca8221609
move extension-specific events into their extensions
2009-01-03 13:00:09 -08:00
Shish
2f8cf7c08e
die, globals
2009-01-03 12:32:57 -08:00
Shish
1d7578f052
semi-automagic niceurls?
2008-12-27 02:17:53 -08:00
shish
3ff15a1395
veto is still used a lot
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1122 7f39781d-f577-437e-ae19-be835c7a54ca
2008-12-08 20:40:01 +00:00
shish
63cd950031
allow a failed but non-fatal get_theme_object
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1107 7f39781d-f577-437e-ae19-be835c7a54ca
2008-11-07 14:20:31 +00:00
shish
24461ad4ca
Image::by_random fix from artanis
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1106 7f39781d-f577-437e-ae19-be835c7a54ca
2008-11-07 11:46:34 +00:00
shish
1ac68b6a74
quit whining and deal with the problem
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1080 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 20:34:48 +00:00
shish
dba8e76830
working ratings
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1079 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 20:18:38 +00:00
shish
13fb0356c2
this is allowed to be null
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1078 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 19:59:15 +00:00
shish
422bd084b5
typo
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1077 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 19:58:37 +00:00
shish
4e901afce0
build_search_querylet builds the same query, but it does it smarter
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1076 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 19:57:56 +00:00
shish
aca9cad432
default search, and search context
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1075 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-17 19:57:18 +00:00
shish
bf32003200
fix, make uploads work...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1073 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-12 01:10:33 +00:00
shish
3ec1f4d677
this is no longer the database
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1067 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 14:47:45 +00:00
shish
40431f4c26
wildcard search, and remove the lower() stuff (it scares mysql)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1066 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 05:56:48 +00:00
shish
bf8f2e847f
this is no longer the database (and we have a where started too)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1063 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:41:39 +00:00
shish
1d8999bf9c
reorganising
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1061 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:31:34 +00:00
shish
028896650a
some image functions which weren't in the 'image' section...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1060 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:28:58 +00:00
shish
072b22ee8f
Image code moved to image class
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1058 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:21:18 +00:00
shish
8eef694168
port the lovely search code from postgres; overall it's much better, though mysql chokes on it in extreme cases :S
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1057 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 02:54:17 +00:00
shish
c5f9918977
remove posted_timestamp
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1055 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 01:58:22 +00:00
shish
73c88716a8
this wasn't meant to be ported here yet <_<
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1049 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-18 02:48:12 +00:00
shish
bacd459b62
a start towards moving debug info out of search engines' path
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1046 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-09 09:21:22 +00:00
shish
4a0830cfdb
another bit of compat
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1031 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-07 04:57:10 +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
d822d4f41f
stricter get_theme_object
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1023 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:08:29 +00:00
shish
4e143e9f05
gah, inconsistent naming
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1021 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:05:21 +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
31573f5ff9
how did I miss these o_O?
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1008 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-27 20:24:21 +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
aee1af4e0e
move user stuff into the user class
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1004 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-23 12:49:47 +00:00
shish
1e4d7d1938
merge some useful parts of SCore
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1002 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-23 12:05:24 +00:00
shish
24a775678c
neater
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@993 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 08:19:15 +00:00
shish
a72fb78ee0
this wasn't used either
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@992 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 08:17:18 +00:00
shish
e2d84517fa
this was never used
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@991 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 08:09:16 +00:00
shish
12b02f155c
db specific initialisation
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@976 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-11 20:27:24 +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
19ea54ad21
numeric, php fails at int...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@938 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-26 06:39:15 +00:00
shish
2b51c7bc14
be more assertive
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@936 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-25 17:42:24 +00:00
shish
051389606e
make more things use move_upload_to_archive(), and make that function quieter
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@914 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-21 11:13:25 +00:00
shish
3061cb3f23
turn on output buffering
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@912 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-21 11:04:05 +00:00
shish
5e710361c4
this is useful
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@899 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-14 18:45:00 +00:00
shish
8d547d0ad5
another function for cli scripts
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@893 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-09 11:21:11 +00:00
shish
f0f9ee8b61
move some stuff from index.php to core/util, to make alternative bootstrappers easier (eg, cli)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@887 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-08 15:04:57 +00:00
shish
b2a47ce0d7
filename for data files
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@879 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-25 23:02:17 +00:00
shish
3db3c53a6d
Obvious bug is obvious, and a complete bastard to find -_-
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@870 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-20 03:06:44 +00:00
shish
a658019697
Slightly major rework of the search code internals, makes things more sane and fixes a couple of bugs
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@867 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-19 15:59:58 +00:00
shish
2c1c605f12
Coding at 4am isn't always a great idea <_< typo fixed
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@865 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-19 13:05:47 +00:00
shish
8cae5831a9
random image function, at last
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@863 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-19 03:17:31 +00:00
shish
e7b7fc0d24
db abstraction blargh
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@851 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-18 02:14:51 +00:00
shish
3c46aa5335
memcache api
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@833 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-30 11:26:12 +00:00
shish
4803c6f5d2
trunk also
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@796 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-09 01:10:56 +00:00
shish
dee164edf1
All the upload handlers use this function, put it somewhere common
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@791 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 21:56:37 +00:00
shish
c88a35b58c
session IP mask, for users with varying IPs; mostly from a patch in #303
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@779 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 16:02:43 +00:00
shish
d866d0fd46
Various extension manager improvements from Christian Walde, and a recursive copy if symlink() isn't defined (ie, windows)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@761 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 17:43:03 +00:00
shish
c3ab69d234
sys_get_temp_dir requires util.inc.php
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@756 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 16:37:49 +00:00
shish
df8efa475e
start of requestcontext work
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@753 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-04 12:07:38 +00:00
shish
0b59c40865
remove user enable / disable, as the feature was ass, and better handled elsewhere :|
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@749 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-02 20:07:52 +00:00
shish
89df1557f0
IP range ban
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@746 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-01 10:57:18 +00:00
shish
6ced0304dd
and add a compatability function, because php only contains the one I need as of 5.2.1 -_-
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@743 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-01 10:12:27 +00:00
shish
797f515b16
temp data goes in a temp folder
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@742 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-01 10:11:36 +00:00
shish
979ab9a013
don't load custom themes without base themes
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@722 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-17 09:25:49 +00:00
shish
7f752180bf
various minor bugs showed up in debug mode
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@715 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 17:33:08 +00:00
shish
2948a4435e
extensible search v1
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@713 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 17:24:08 +00:00
shish
2608bafa41
adodb xml schema support
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@702 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-27 15:30:44 +00:00
shish
0e4e5f02c8
filter html before anything else
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@694 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-12 07:44:08 +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
19d80a244f
several SQLite compatability improvements, as suggested by naikoto on the forums
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@680 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-02 21:49:12 +00:00
shish
bcca76969e
make get_base_href work better on windows
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@678 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-02 21:46:14 +00:00
shish
5b543e46ca
comment
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@656 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-11 18:37:11 +00:00
shish
eef425f7bd
make sure TagSetEvent is always referring to an array of tags, no matter the input
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@641 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-08 05:33:15 +00:00
shish
db582a2d46
more documentation for code in core
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@629 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 11:01:18 +00:00
shish
60e89ef893
remove redundant code
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@628 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 10:47:09 +00:00
shish
87c31f432b
move all events into event.class.php for neatness and more controlled load order
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@627 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 10:21:23 +00:00
shish
a5a6f4781c
generic file handler support :)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@623 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 02:26:34 +00:00
shish
0d126084ce
move subclass to below main class, for consistency with later work
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@622 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-04 22:24:58 +00:00
shish
ac2af2d1c0
ParseLinkTemplateEvent, and handlers for text_score, numeric_score and rating
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@611 7f39781d-f577-437e-ae19-be835c7a54ca
2007-11-04 08:16:41 +00:00
shish
d880c8cac0
massive user management cleanup, part 1
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@610 7f39781d-f577-437e-ae19-be835c7a54ca
2007-11-04 03:51:41 +00:00
shish
7af10fe562
new print_obj function from artanis
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@607 7f39781d-f577-437e-ae19-be835c7a54ca
2007-11-03 05:26:59 +00:00
shish
0245870868
allow dots at the start of tags, as long as they're followed by letters; (for .hack)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@596 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-28 17:49:45 +00:00
shish
b48cd81da5
ignore wildcard-only searches
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@589 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-28 17:07:29 +00:00
shish
e6891f7da9
event counter
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@588 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-28 01:48:11 +00:00
shish
5199b9dc60
stricter tag sanitising
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@586 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-28 01:30:26 +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
c47e15c01b
filetype search from ATravelingGeek
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@564 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-24 18:09:41 +00:00
shish
24c2311cba
md5: search for danbooru compatability
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@556 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-22 00:40:10 +00:00
shish
dc9181fc24
re-inline error_check, since it only works inline...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@535 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-21 17:13:57 +00:00
shish
1e44f93c1f
allow people to add columns to the images table, then use them
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@511 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-02 22:23:29 +00:00
shish
5c73eca9ed
this fixes things :3
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@487 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-27 23:52:33 +00:00
shish
24f94fe84d
whitspace fix
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@481 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-27 22:59:58 +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
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
8009aa3fa8
make multi tag search not break on space
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@454 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-08 06:24:25 +00:00
shish
0b555d0926
error check for cache query
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@452 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-08 06:16:13 +00:00
shish
ea65ce6605
cacheyness
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@451 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-08 05:47:23 +00:00
shish
b64ac2128e
enable adodb caching
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@448 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-08 04:53:55 +00:00
shish
ff6d0781d2
LIMIT ?,? -> LIMIT ? OFFSET ? -- more compatability
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@447 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-06 23:59:27 +00:00
shish
810fd0148a
this should have been gone a while ago :S
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@442 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-06 21:27:55 +00:00
shish
0e25e00d92
argh. 20 ways of finding the install folder, and none of them work -_-
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@424 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-05 22:03:43 +00:00
shish
25b1ebad8b
search user rather than poster; everything else refers to 'user'
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@420 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-02 19:57:40 +00:00
shish
1c8619d9e9
Image and comment counts not shown for user #0
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@416 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-02 15:10:09 +00:00
shish
f36c783868
source url editor
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@412 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 16:58:50 +00:00
shish
6a38e7f6f2
One True Debug Switch
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@410 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 16:24:34 +00:00
shish
0c1ccb73ca
default links moved to initextevent
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@408 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 16:19:25 +00:00
shish
c6d99464aa
default base_href set in initext
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@406 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 16:12:34 +00:00
shish
c742614828
these are set in ext/setup's initextevent handler
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@393 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-28 19:59:17 +00:00
shish
d6f5b3fb79
split front_page into front_page and main_page
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@391 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-28 19:33:16 +00:00
shish
619d18c8f3
a somewhat nicer error message for can't connect to DB
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@390 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-28 14:15:03 +00:00
shish
86561be3ec
one less global
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@389 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-28 13:53:31 +00:00
shish
e2264e60b4
allow default page to have a slash
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@379 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-27 00:20:12 +00:00
shish
785e1dcd59
/ = post/list unless set otherwise
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@375 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-26 13:23:38 +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
ccf45ef91f
escape / as //
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@372 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-26 13:11:25 +00:00
shish
5feb68f23a
minor tidy while doing other things that eventually got removed again
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@369 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-26 12:14:55 +00:00
shish
031dc61ba2
integer thumbnail dimentions
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@365 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-25 17:29:09 +00:00
shish
bcc9b612c1
if a tag has no matches, error
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@354 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-23 00:52:24 +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
21c500027f
and the rest..
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@346 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-20 23:24:32 +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
c908131da8
get_base_href fixed to work in root web folder
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@310 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-17 02:02:57 +00:00
shish
f5ec3f861e
removal of data_href config variable -- it should be auto detected
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@304 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 21:30:28 +00:00
shish
ccb01e60cb
oh dear :(
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@299 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 16:48:35 +00:00
shish
2a85e6b17c
actually theme'd, and image source
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@296 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 14:36:29 +00:00
shish
3084446c2e
goodbye, global config defaults~
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@294 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 14:09:12 +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
b4e93df363
set_default
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@292 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 12:40:44 +00:00
shish
dc23b3bdb4
remove tags_min and tags_default from config class
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@291 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 12:17:43 +00:00
shish
2b31199c6a
url escape parts of link templates
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@285 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 06:50:36 +00:00
shish
061ed4a3fe
wait, no
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@282 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-15 19:09:57 +00:00
shish
6dd48c2335
Image->get_x_link functions should return escaped urls
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@281 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-15 18:46:28 +00:00
shish
d66030f35f
redundancy
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@276 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-15 17:29:05 +00:00
shish
9861e13f8e
removed set_extension_version; everyone was using config anyway ;3
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@275 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-15 17:17:59 +00:00
shish
c1dd2b6009
better variable names
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@270 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 08:50:32 +00:00
shish
b8b968ab56
ability to veto events
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@268 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 08:30:51 +00:00
shish
d39a45b62d
remove old functions (which will break things if used :S)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@266 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 08:15:34 +00:00
shish
40eb4699b8
privatise this
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@264 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:50:08 +00:00
shish
c6b7c9bb83
remove ambiguous database->get_user(...)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@263 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:37:32 +00:00
shish
3e0d983102
more marking as internal
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@262 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:33:53 +00:00
shish
34d95d594d
make this look more like an internal function
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@261 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:26:50 +00:00
shish
e4657006d3
rename an argument
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@260 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-12 07:22:26 +00:00
shish
16448bf36c
no longer any need for core extensions per se
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@253 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-10 19:43:36 +00:00
shish
e8d9523ba8
send page along with image
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@252 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-10 19:42:03 +00:00
shish
a37c0c7f9b
add a reference for the bug
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@249 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-08 21:58:07 +00:00
shish
2204711880
PHP bug: using a global array in a foreach doesn't work recursively
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@247 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-08 21:39:44 +00:00
shish
ffcf86df17
and the event
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@242 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-08 19:40:14 +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
69ca13fa50
update tag counts on set_tags / delete_tags_from_image
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@239 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-07 02:52:33 +00:00
shish
660ca7f8aa
debugging stuff
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@237 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 17:02:52 +00:00
shish
f0168d6160
wildcard searches. This may be faster, as the big query uses IDs rather than tags? needs testing~
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@235 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 07:28:42 +00:00
shish
a46fcb8463
allow parts of the upload process to say 'no, not ok!'
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@234 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 06:41:13 +00:00
shish
e0d279f347
utf8 support
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@233 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 05:57:24 +00:00
shish
cec93d8a4d
actually, they are different -- array_add checks for uniqueness
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@232 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 04:47:01 +00:00
shish
4a755da2c0
it *was* in the core API :P
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@230 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 21:53:52 +00:00
shish
56d63355dd
IM memory limit broken?
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@229 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 21:44:51 +00:00
shish
4364e5079f
specify images.id rather than id (could be tags.id)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@228 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 21:41:13 +00:00
shish
b6809c3b0a
tags(image_id,tag) split into image_tags(image_id,tag_id) and tags(id,tag,count)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@227 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 21:30:37 +00:00
shish
cedddcd1c5
make get_memory_limit use the global rather than the GD limit
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@223 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 20:16:10 +00:00
shish
1ecb6b688c
limit next / prev to 1 row
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@221 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 18:05:54 +00:00
shish
431b6a653e
memory limit for IM too
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@220 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-05 17:14:27 +00:00
shish
c8bc08f7da
optimise the common case, but speak slowly and use simple words, so that mysql can understand
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@217 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-04 15:29:40 +00:00
shish
2fcb9e168e
allow single tag wildcards
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@216 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-04 02:31:15 +00:00
shish
fe5264c3b1
turn off sql logging
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@214 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-04 01:21:32 +00:00
shish
14a8c16d04
fix single-tag + image metadata search
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@213 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-04 01:21:08 +00:00
shish
a92b2fdcab
optimise a very common (99%) case
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@210 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-04 00:56:02 +00:00
shish
d3aa734e9d
make thumbnails be single frame jpegs
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@207 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-01 18:12:19 +00:00
shish
fcfc7e5767
send a tag_set event when tags are set, and correct parentheses when creating a block
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@202 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-30 01:39:30 +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
3c1916f428
giving extensions numeric IDs in an array does not put them in numeric order; do an explicit sort...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@164 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-26 11:58:47 +00:00
shish
927199430f
if $tags is an empty array, $tag_array is never created...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@163 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-26 11:47:30 +00:00
shish
f25ed214c6
search by hash, from artanis
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@162 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-25 16:40:47 +00:00
shish
14e300378c
Show a sensible message for no search results
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@157 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-04 03:01:36 +00:00
shish
81ef3dc356
List user's IPs
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@152 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-03 10:40:00 +00:00
shish
1c81f2311e
show uploader IP
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@151 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-03 10:27:15 +00:00
shish
a23966c90c
upload doesn't need to be in core
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@149 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-01 21:51:07 +00:00
shish
ea393ca985
allow paginator to be styled separately
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@141 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-29 02:03:13 +00:00
shish
241a048b38
fix ImageIO -- it doesn't take , it takes .
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@138 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-28 21:40:26 +00:00
shish
28b0431922
reduce image's domain
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@136 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-25 07:40:26 +00:00
shish
f91d777045
execute should have default args arg
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@133 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-23 23:26:11 +00:00
shish
83ab72332e
remove silly space
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@132 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-23 23:19:35 +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
593f7d55de
ordered tags (and use the wrapped execute function)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@127 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-23 03:51:20 +00:00
shish
e6668f53d7
Sometimes URL escaping is more appropriate than HTML escaping
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@126 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-23 03:44:15 +00:00
shish
4f849016ba
login memory changed to default to a year, and removed from visible options
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@123 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-18 18:10:32 +00:00
shish
7415578674
link to search by user from their page
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@119 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-18 01:33:47 +00:00
shish
c486fe279c
search by poster name
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@118 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-18 01:12:50 +00:00
shish
0c30124dbd
BBCode URL support
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@117 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-18 00:55:47 +00:00
shish
51d0ee5f0c
minor assertion
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@111 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-17 03:59:48 +00:00
shish
98c93148b9
database uses it's own method
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@110 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-17 03:52:50 +00:00
shish
f372173431
support code tag, and checks in get_user
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@109 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-17 03:49:23 +00:00
shish
4feb6c7742
removed redundant defaults
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@108 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-17 03:48:58 +00:00
shish
8aa30d3ed2
error-handling execute function
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@107 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-17 03:48:34 +00:00
shish
16444c0891
mysql 4.0.X compatability
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@103 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-16 23:50:51 +00:00
shish
e2e7d29b66
scripts moved to an extension
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@81 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-08 21:18:31 +00:00
shish
c25427a5d1
'User Links' block is no longer hard coded
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@79 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-08 21:01:51 +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
d32a64cb56
this is unnecessary
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@73 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-07 13:56:25 +00:00
shish
0f0b7f77b5
make parse_link_template public, and specific to the image it's called on
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@70 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-07 00:18:52 +00:00
shish
21635236f8
lack of whitespace caused problems~
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@63 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-05 20:55:08 +00:00
shish
22c9cdacf7
they have functions for that sort of thing...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@59 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-04 22:17:56 +00:00
shish
d5ebcb89e8
a standard way of getting stuff from the images table
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@58 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-04 22:15:32 +00:00
shish
b9ec7c9f5b
move tag editing into it's own namespace, and have an anonymous editing option
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@55 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-04 21:53:58 +00:00
shish
f6ea5118d9
valid rss date
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@54 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-03 15:27:10 +00:00
shish
9bb567aa60
front page option, and post links in bbcode
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@53 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-03 15:19:02 +00:00
shish
35bae4f71d
RSS post date, broken
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@52 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-03 15:18:22 +00:00
shish
3d2ea2a842
make front page a variable, and add support for default values in config->get
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@51 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 13:40:48 +00:00
shish
ff0fcee777
refine search
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@49 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 13:30:05 +00:00
shish
ad37982680
fix assertion error on invalid page numbers
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@47 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 13:13:41 +00:00
shish
32e4af6a23
support for adding headers to a page
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@44 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 12:41:44 +00:00
shish
a9abf77ba9
thumb html shouldn't be the one adding <td>s
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@43 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 12:41:09 +00:00
shish
4d127b3a17
select image by hash, for dupe detection
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@42 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 12:40:39 +00:00
shish
fcb79e40c7
remove rss bits from index code
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@41 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 12:40:01 +00:00
shish
c4cbc5991d
fix error when generating image_too_large, and show thumb on dupe upload
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@39 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-01 12:38:28 +00:00
shish
48f5df95ec
update build thumb api
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@34 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-29 01:23:13 +00:00
shish
e6e65a9459
util.inc.php tidied up
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@31 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-28 19:28:29 +00:00
shish
8ae4d58fd1
sql_quote is silly...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@30 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-28 19:02:54 +00:00
shish
f12e0b8f60
one step towards faster searching
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@29 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-28 18:58:23 +00:00
shish
d0b797247f
search optimisation, and remove old search code
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@27 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-28 18:40:08 +00:00
shish
bed0e5260b
use set_x_from_post
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@24 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-28 15:49:25 +00:00
shish
5bd3789b74
make the regex a little neater
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@23 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-28 15:46:53 +00:00
shish
71392a73a5
be more strict about allowed comparisons
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@19 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-27 18:14:38 +00:00
shish
f0802f2f1c
search to SQL redone with regex, makes things more useful and less buggy
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@17 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-27 18:04:13 +00:00
shish
6e90eed812
build_thumb moved to common utils
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@16 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-26 22:27:17 +00:00
shish
c11a6484b8
thumbnail size in the index html
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@15 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-25 18:34:37 +00:00
shish
5614a7f7da
less duplication again
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@14 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-25 18:33:59 +00:00
shish
b1b2edf021
only one copy of get_memory_limit...
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@9 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-24 19:12:05 +00:00
shish
7161656063
Initial import, 2.0rc1
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1 7f39781d-f577-437e-ae19-be835c7a54ca
2007-04-16 11:58:25 +00:00