Commit Graph

914 Commits

Author SHA1 Message Date
30886b3a69 cache lookup debugging 2013-07-05 22:32:16 +01:00
65fcbcb9ba Actually set the cookie prefix
When COOKIE_PREFIX was not shm (the default) the script tried to read cookies prefixed with the new prefix but the script was setting the old default prefix from before the constants were implemented.
2013-07-02 06:46:54 +02:00
616aa3300a Don't check the certificate when transloading
This allows the download of images via https even if the cert is self-signed.
2013-07-02 04:44:27 +02:00
df2f90016f trim leading slashes more efficiently 2013-06-13 12:20:27 +01:00
19c0868b2c sqlite got case sensitive by default at some point - lowercase strings for comparing them 2013-06-13 10:34:47 +01:00
cc95eb5deb Some more small speed tweaks. 2013-05-13 20:40:01 -04:00
7701758959 log old source in event log when changing source 2013-05-07 09:13:03 +01:00
7ff0ae51a1 fixup wildcards 2013-03-03 18:34:27 +00:00
72a82c7487 saner wildcard handling, and only handle '*' 2013-03-03 18:26:47 +00:00
dbfd747dd3 remove more slashes 2013-02-06 08:36:30 +00:00
c9491ad714 Get SQLite:scoreql_to_sql to return something 2013-01-31 08:07:19 +00:00
78442e96c3 add daily cache breakage to gravatars 2012-12-30 18:08:58 +00:00
cebebcd975 Merge branch 'master' of https://github.com/shish/shimmie2 2012-12-10 21:28:44 +00:00
5a3b4dae49 normalise usernames 2012-12-10 21:28:41 +00:00
ef44d6ccf3 Fix for issue 263 - ReCAPTCHA private and public keys reversed. 2012-11-03 13:49:10 -04:00
d8c670eaa6 move yet more stuff out of index.php 2012-10-16 23:05:11 +01:00
b141632785 some mock objects, for testing (coming soon, maybe) 2012-10-16 22:58:47 +01:00
38fea60056 handle CLI_LOG_LEVEL not being set 2012-10-16 22:58:24 +01:00
073b21aaa1 split up event listener loading, so parts can be called individually 2012-10-16 22:31:50 +01:00
52718b0590 util.inc: Default to static extension lookup
Magic can return invalid results for video files, breaking their playback. Default to the static extension lookup to avoid this problem but still return application/octet-stream if nothing works.
2012-10-16 18:56:39 +01:00
0663bf54a0 Grr... 2012-10-16 18:55:43 +01:00
1bd6f9f0ba Update core/util.inc.php 2012-10-16 18:55:38 +01:00
fcdf784acc Update static thumb + bug fix
Add videos to static thumb and make Shimmie compare lowercase extensions.
2012-10-16 18:55:23 +01:00
412dcd05af Add video MIME types 2012-10-16 18:55:00 +01:00
e3d385aee5 Merge branch 'master' of github.com:shish/shimmie2 2012-09-24 22:36:28 +01:00
ac812b4a2a danbooru api updates 2012-09-24 22:36:09 +01:00
65ce0ff4e4 check filename extension by lowercased version of itself 2012-09-22 23:24:19 +01:00
06426bdfe6 when checking mime types, use the filename.ext from the DB, not the (non-existent) .ext on disk 2012-09-22 23:15:25 +01:00
c57801bce7 wildcards aren't regular tags either 2012-09-03 11:13:08 +01:00
7dd929e5a8 remove a whole load of event->user variables that weren't used -- things should be using global user 2012-08-18 19:45:39 +01:00
6fcdf4717e Merge branch 'js-classes' 2012-08-15 21:26:56 +01:00
6394cd8100 make shm-thumb use consistent across themes, with data-tags and data-post-id 2012-08-15 20:42:56 +01:00
61e9909327 hardcoded config too (unrelated) 2012-08-15 18:31:28 +01:00
112422a2ca time and timestamp are incompatible 2012-07-28 12:07:46 +01:00
acf285bd68 IPs are variable length 2012-07-28 11:57:22 +01:00
53ad7d4a2f more sqlite, and indexes 2012-06-27 00:08:51 +01:00
02a286cba0 sqlite updates 2012-06-26 23:46:38 +01:00
f9008a70a6 refactoring fail 2012-06-24 07:13:53 +01:00
8dfeb7cda3 longer cache timings, with better invalidation 2012-06-24 01:57:12 +01:00
6c4fd0d14d remove ancient non-comment 2012-06-24 01:49:53 +01:00
38f7555d98 get rid of direct references to Database's engine 2012-06-24 00:57:55 +01:00
d313cea8a7 create the DB connection on demand; some pages don't require one at all thanks to caching 2012-06-24 00:50:13 +01:00
bcfcca7cda checking the engine can trigger a database init... 2012-06-24 00:25:47 +01:00
008cc4253b wibble database / cache connection functions, make them repeatable, and set persistant DB connections as an option 2012-06-23 23:57:34 +01:00
63437d1e09 cache user sessions 2012-06-23 23:38:28 +01:00
1c5bf478d9 initialise global _execs, else we get 'page used queries' when we want 'page used 0 queries' 2012-06-23 23:37:41 +01:00
d3e2653002 some cached values are often zero (eg unread PMs), 'zero' is still a cache hit though, only 'false' is miss 2012-06-23 23:17:17 +01:00
6181d59975 that slash needs to be there >_< 2012-06-22 20:02:53 +01:00
e7df4edbee slashes are removed already 2012-06-21 09:07:52 +01:00
2a18da523c the define wibbling for hiphop seems to work now 2012-06-18 01:23:31 +01:00