1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 08:50:59 +01:00
Commit Graph

2631 Commits

Author SHA1 Message Date
Michael Foster
89f356c0bb Performance: Use only one query for validating >>X links in posts 2013-08-29 12:52:31 +10:00
Michael Foster
4dfa0d3582 Performance: Use only one INSERT INTO (with multiple rows) for tracked cites 2013-08-29 12:38:37 +10:00
Michael Foster
b3d7bd6019 Critical bugfix: SQL typo 2013-08-29 12:30:16 +10:00
ctrlcctrlv
7c06cd1f81 Moving threads wasn't working with the catalog theme enabled 2013-08-29 00:38:39 +00:00
czaks
f68021d536 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/functions.php
2013-08-28 20:34:06 -04:00
czaks
9841110849 fix update after a bad merge 2013-08-28 20:24:30 -04:00
Michael Foster
e2d66724f6 redundant ORDER BY 2013-08-29 08:41:36 +10:00
Michael Foster
8831f63200 $config['debug']: Show time initializing Tinyboard (before $debug was created) 2013-08-29 08:30:21 +10:00
Michael Foster
cadde12090 Record time started (in milliseconds) at the very beginning of inc/functions.php, even when $config['debug'] is disabled (because we can't tell, yet). Gets a more accurate time for page generation. 2013-08-29 08:25:15 +10:00
Michael Foster
2f7a6cdc64 wtf? duplicate code 2013-08-29 08:17:32 +10:00
Michael Foster
e9a44b4cda Better cache debugging: Show hit/miss, etc. 2013-08-29 08:07:27 +10:00
ctrlcctrlv
bdc15d2869 Bugfix: Circlepuller is a dumbass and broke many mod actions, don't merge his commits without testing them 2013-08-29 07:32:29 +10:00
ctrlcctrlv
545f469f3c Bugfix: Circlepuller is a dumbass and broke many mod actions, don't merge his commits without testing them 2013-08-28 21:31:10 +00:00
czaks
3a8f106e85 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/functions.php
	install.php
	stylesheets/dark_roach.css
2013-08-28 12:41:36 -04:00
Michael Foster
9f3dfc2448 Huge bugfix: Old tracked cites where not being purged correctly. Recommend query: "TRUNCATE TABLE cites;" to start over 2013-08-28 22:30:56 +10:00
Michael Foster
19b7f4734f Allow Unix sockets for database connection 2013-08-28 20:09:30 +10:00
Michael Foster
1dd2641dd3 Performance: Add expires index to antispm table to make purging old hashes a little quicker 2013-08-28 18:39:45 +10:00
Michael Foster
80a24ea74a Sitemap theme: Minimum time between generating, and only generate on post-thread and post-delete 2013-08-28 18:30:01 +10:00
Michael Foster
e7d3738659 Add ip index to post tables for faster ?/IP/ (and flood detection, etc.) 2013-08-28 18:02:28 +10:00
Michael Foster
ef7930f94e Bugfix: Corrupt images were not getting removed from /tmp (convert, gm, and gifsicle) 2013-08-28 17:20:29 +10:00
Michael Foster
f2bd33e345 Performance: Only purge old antispam hashes once per request (at most) 2013-08-28 17:08:56 +10:00
Michael Foster
dab10e4889 DNS(): Cache NXDOMAIN 2013-08-28 17:00:41 +10:00
ctrlcctrlv
3cde9031f3 Hopefully fix spam filter problems caused by noko 50 (thanks to savetheinternet) 2013-08-27 23:44:59 +00:00
Michael Foster
f09c31e3f2 Bugfix: post editing: should be $board here, not $board['uri'] 2013-08-27 17:27:17 +10:00
gtx
e2ddcae74a notsuba.css from tagechan 2013-08-27 12:50:32 +10:00
Michael Foster
4be1c5d52d exiftool: Use -overwrite_original. Important bugfix; old images were never being deleted when using exiftool (instead kept as *_original in /tmp) 2013-08-27 08:55:03 +10:00
Michael Foster
b7c5ef175c Upload by URL: still use fatal_error_handler() on shutdown 2013-08-27 08:13:23 +10:00
Dan Saunders
b563623a41 Regenerate themes after editing a post 2013-08-27 06:56:53 +10:00
Dan Saunders
82ab6098db Rebuild themes when a post or file is deleted...
Rebuild themes when a post or file is deleted in the moderation panel.
2013-08-27 06:56:46 +10:00
Dan Saunders
5fc304773b Added post-delete handling on themes that should use it. 2013-08-26 13:36:14 +10:00
Dan Saunders
c5e490637e Added a post-delete action for themes
This would be really useful for themes that focus on posts
2013-08-26 13:35:51 +10:00
Michael Foster
ec32d56fa2 Uploading files via URL: fix for URL parameters (eg. image.png?id=343543) 2013-08-26 12:13:40 +10:00
ctrlcctrlv
8fbfec5147 Fix try_smarter with deletePost 2013-08-22 17:08:26 +00:00
ctrlcctrlv
212524751b Bug: deleting posts doesn't rebuld index 2013-08-22 16:51:28 +00:00
Michael Foster
f514439793 Add cache and gm to pre-installation test. Don't die when we can't write to templates/cache. 2013-08-22 03:35:57 +10:00
Michael Foster
829cc64091 permissions fix 2013-08-21 23:03:38 +10:00
Michael Foster
54af02f1e7 dark_roach.css: move images to stylesheets/img 2013-08-21 22:58:15 +10:00
Michael Foster
1a1a18e125 Accidentally merged noko50 stuff 2013-08-21 22:53:48 +10:00
Czterooki
deadbab7d0 fix background on dark_roach after a bad merge
Conflicts:
	stylesheets/dark_roach.css
2013-08-21 22:48:31 +10:00
Michael Foster
aff82c7829 automatically initialize $config['api'] 2013-08-21 22:44:23 +10:00
Michael Foster
45b806f43f single quotation marks please 2013-08-21 22:43:35 +10:00
Michael Foster
0783c7f794 4chan-compatible api: better config.php comments 2013-08-21 22:41:42 +10:00
Michael Foster
21a089a05f merge fail 2013-08-21 22:36:48 +10:00
ctrlcctrlv
994634a953 Only add country to JSON if flag fits country code regex 2013-08-21 22:35:24 +10:00
ctrlcctrlv
9d21d0665d ;_; 2013-08-21 22:35:19 +10:00
ctrlcctrlv
90fbc294a7 Make file/thumb dimensons actually work (thanks sti) 2013-08-21 22:35:11 +10:00
ctrlcctrlv
d96b57bd47 Country flags in API if they are enabled 2013-08-21 22:35:07 +10:00
ctrlcctrlv
e241500a0b Custom fields in API, read config.php for info. Non-4chan compatible fields removed. 2013-08-21 22:35:01 +10:00
ctrlcctrlv
34c8348ed3 Make it possible to disable API, disable it by default
Conflicts:
	inc/functions.php
2013-08-21 22:34:52 +10:00
K
1d3ef3a28b Add support for 4chan-compatible json API.
Conflicts:
	inc/functions.php
2013-08-21 22:32:44 +10:00