Commit graph

324 commits

Author SHA1 Message Date
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