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
fd5b4c5910
more re-organisation for create_monolith / hiphop friendliness
2012-06-18 01:06:36 +01:00
553aad8a36
cache vars do nothing
2012-06-18 00:51:09 +01:00
78d701dd53
move stuff about to make create_monolith simpler
2012-06-18 00:45:32 +01:00
930de7fc8c
remove built-in full-page caching; it doesn't do much any more, and everything it does do can be done better by Varnish
2012-06-18 00:07:12 +01:00
5519c3a320
lots of tidying and removal of duplicate code
2012-06-18 00:00:21 +01:00
082e6fa31b
nice, event-based command line support; try 'php index.php' for info
2012-06-17 20:06:02 +01:00
239e028662
flash messages everywhere~
2012-06-10 04:21:03 +01:00
61754b8dfe
add a type arg, even if it's not used yet
2012-06-10 01:05:03 +01:00
37b3dd60b6
flash_message(str) function and support in themes
2012-06-09 17:00:25 +01:00