Commit Graph

1016 Commits

Author SHA1 Message Date
Michael Foster
dc8b1948dd Performance: Only purge old antispam hashes once per request (at most) 2013-08-28 17:08:56 +10:00
Michael Foster
a7ac3339de DNS(): Cache NXDOMAIN 2013-08-28 17:00:41 +10:00
Michael Foster
6ce78cb1a4 Bugfix: post editing: should be $board here, not $board['uri'] 2013-08-27 17:27:17 +10:00
Dan Saunders
00a1841cbc Regenerate themes after editing a post 2013-08-27 06:56:53 +10:00
Dan Saunders
08bb2894bc 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
Michael Foster
5cc7bd860f 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
d92b138762 Accidentally merged noko50 stuff 2013-08-21 22:53:48 +10:00
Michael Foster
11fa73e4d1 automatically initialize $config['api'] 2013-08-21 22:44:23 +10:00
Michael Foster
a83715dcb0 single quotation marks please 2013-08-21 22:43:35 +10:00
Michael Foster
b01a402d23 4chan-compatible api: better config.php comments 2013-08-21 22:41:42 +10:00
Michael Foster
cbfafeea36 merge fail 2013-08-21 22:36:48 +10:00
ctrlcctrlv
9d77a4cc4c Only add country to JSON if flag fits country code regex 2013-08-21 22:35:24 +10:00
ctrlcctrlv
ed142a5e5d ;_; 2013-08-21 22:35:19 +10:00
ctrlcctrlv
ddd34347f8 Make file/thumb dimensons actually work (thanks sti) 2013-08-21 22:35:11 +10:00
ctrlcctrlv
618d979ec4 Country flags in API if they are enabled 2013-08-21 22:35:07 +10:00
ctrlcctrlv
ecda099dfb Custom fields in API, read config.php for info. Non-4chan compatible fields removed. 2013-08-21 22:35:01 +10:00
ctrlcctrlv
01e906b1d3 Make it possible to disable API, disable it by default
Conflicts:
	inc/functions.php
2013-08-21 22:34:52 +10:00
K
0cb54b15dc Add support for 4chan-compatible json API.
Conflicts:
	inc/functions.php
2013-08-21 22:32:44 +10:00
Michael Foster
54a8c72121 Huge bug with deleting boards: $tmp_board unused; sometimes it would delete the wrong board's directory 2013-08-21 21:34:18 +10:00
Michael Foster
72beacc1da allow moving threads with non-image uploads 2013-08-21 20:54:46 +10:00
Michael Foster
abfdd38e59 Unicode bi-directional text: Finally a working fix 2013-08-19 23:47:56 +10:00
Michael Foster
69741e6c08 deleting boards: cache purging, delete directory after sql queries (in case we have permission errors, etc.) 2013-08-19 20:00:16 +10:00
Michael Foster
e45ffb8592 custom timeouet for curl'ing upload urls 2013-08-19 18:54:10 +10:00
Michael Foster
c8fcba9439 disregard 2013-08-19 05:22:08 +10:00
Michael Foster
d2fdeead64 bidi_cleanup: Just replace with HTML5's <bdi> (for now, at least). The old code was hardly working, and had issued with older PHP versions. 2013-08-19 05:19:54 +10:00
ctrlcctrlv
9773416553 Better setting name 2013-08-19 03:01:30 +10:00
ctrlcctrlv
47dec49465 Optionally access mod cookie in JavaScript 2013-08-19 03:01:15 +10:00
czaks
45bfd2a095 fix Polish translation 2013-08-19 03:00:44 +10:00
czaks
a297ce4af5 Update Polish translation 2013-08-19 03:00:38 +10:00
Michael Foster
5051e0572a Missing theme conf type "checkbox" 2013-08-19 02:03:54 +10:00
Michael Foster
154fbf5070 Huge bug: undoImage() was not working at all. This means lots of Tinyboard users probably have lone/permanent images. Working on Tinyboard-Tools script to remove all images/thumbs that don't belong. 2013-08-19 01:07:04 +10:00
Michael Foster
cff62b250c Bugfix: raw html posting 2013-08-18 04:49:56 +10:00
Michael Foster
28f366b686 keep casing of escape modifiers 2013-08-17 17:56:38 +10:00
Michael Foster
998002fd34 better modifier escaping again 2013-08-17 17:53:39 +10:00
Michael Foster
b2d5ec253b escape_markup_modifiers: make it case insensitive 2013-08-17 17:41:22 +10:00
Michael Foster
e7f25aa480 add delete event 2013-08-17 16:06:45 +10:00
Michael Foster
e5103b543a fix aspect ratio displaying 2013-08-17 04:11:24 +10:00
Michael Foster
0d45fbc799 Add \n before post modifiers. Add flag alt for country flags. 2013-08-17 03:39:58 +10:00
Michael Foster
0ad1c03997 Optional "flag style" and "flag alt" modifiers 2013-08-16 23:12:40 +10:00
Michael Foster
47ddd2f8b2 Fix editing raw HTML posts 2013-08-16 22:18:57 +10:00
Michael Foster
aaeac9de3c forgot this here 2013-08-16 21:51:10 +10:00
Michael Foster
57e69268ef This wasn't usd anywhere. 2013-08-16 21:46:51 +10:00
Michael Foster
4876a27232 Much better post modifiers: raw HTML, ban messages, etc. 2013-08-16 21:25:56 +10:00
Michael Foster
b666886416 A few modifications:
1. Finally, clean up some of the crappy code in inc/display.php; no more extreme clutter. new Thread() and new Post() take an array as the first parameter now.

2. Poster country flags. Currently requires the "geoip" extension.

3. Give post images a classname. This was also long-overdue.
2013-08-16 21:08:01 +10:00
Michael Foster
88dff2a683 Set $config['try_smarter'] to true. If you notice any problems, please report them to us. 2013-08-16 20:16:09 +10:00
Michael Foster
07b825c6d2 Don't create anti-bot stuff in buildThread() when asked to return HTML as a string. 2013-08-13 21:53:23 +10:00
Michael Foster
c6e629bf89 allow wordfilters to be callbacks 2013-08-13 01:53:23 +10:00
Michael Foster
0de0bc6ceb Optional: Allow uploading by URL 2013-08-12 22:51:46 +10:00
Michael Foster
a7a93ece3d $config['error']['invalidzip'] isn't used anywhere anymore 2013-08-12 22:14:26 +10:00
Michael Foster
e0a8ffcfb9 ?/config: Link URLs in comments 2013-08-12 21:14:32 +10:00