Commit graph

188 commits

Author SHA1 Message Date
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
c6e61b096b timeline function for profiling 2010-05-27 11:48:29 +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
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
2c710bb654 make captchas optional and off by default, some people are having problems 2010-03-14 02:14:28 +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
05150706cc wtf git 2010-02-02 00:34:44 +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
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
694200d9f8 proper logging 2009-12-30 07:59:40 +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
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
71999a3065 find truth 2009-10-08 17:43:18 +01:00
Shish
a7caf1e060 prefixed cookies 2009-10-08 13:59:12 +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
685d079da8 use_autodate option 2009-08-18 23:06:15 +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
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
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 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
bb84a735a2 requestcontext stuff is messy, go back to globals :( 2009-05-11 07:04:33 -07:00
Shish
415f6901da logging things 2009-05-08 03:52:29 -07:00
Shish
bb20f927eb hackery to deal with escaping slashes 2009-01-18 06:58:32 -08:00
Shish
11873e9601 remove EOL whitespace 2009-01-04 11:18:37 -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
b693e5f772 whitespace matching 2009-01-04 06:37:11 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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