Commit graph

73 commits

Author SHA1 Message Date
Shish
93b7467fdd a bunch of image functions moved to the image class 2009-01-04 08:15:00 -08:00
Shish
2ef6491ecf we can use exceptions \o/ 2009-01-04 06:34:27 -08:00
Shish
2f8cf7c08e die, globals 2009-01-03 12:32:57 -08: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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