Merge /srv/http

This commit is contained in:
8chan 2014-12-20 15:04:23 +00:00
commit c67c575561
885 changed files with 1275 additions and 6 deletions

View File

@ -37,7 +37,7 @@ $page = <<<EOT
$.each(faves, function(k, v) {
if ((window.location.pathname === '/' + v + '/') || (window.location.pathname === '/' + v)) {
faves.pop(v);
faves.splice(k, 1);
localStorage.favorites = JSON.stringify(faves);
alert('As /' + v + '/ no longer exists, it has been removed from your favorites.');

View File

@ -26,6 +26,7 @@ $body = <<<EOT
<li>Do not post, request, or link to any content illegal in the United States of America. Do not create boards with the sole purpose of posting or spreading such content.</li>
</ul>
<p>Other than that, you are free to institute whatever rules you want on your board.</p>
<p><a href="https://8chan.co/obscenity.html">More information about US obscenity laws and how they relate to 8chan boards</a></p>
<h2>How do I add more volunteers?</h2>
<p>You may do this in your board settings, click on "Edit board volunteers".
<h2>How do I manage my board?</h2>

View File

@ -262,7 +262,7 @@
error($config['error']['invalidimg']);
}
if ($size[0] > 20 or $size[0] < 11 or $size[1] != 11){
if ($size[0] > 20 or $size[0] < 11 or $size[1] > 16 or $size[1] < 11){
error(_('Image wrong size!'));
}
if (sizeof($banners) > 256) {
@ -405,6 +405,7 @@ FLAGS;
$katex = isset($_POST['katex']) ? '$config[\'katex\'] = true;$config[\'additional_javascript\'][] = \'js/katex/katex.min.js\'; $config[\'markup\'][] = array("/\[tex\](.+?)\[\/tex\]/ms", "<span class=\'tex\'>\$1</span>"); $config[\'additional_javascript\'][] = \'js/katex-enable.js\';' : '';
$user_flags = isset($_POST['user_flags']) ? "if (file_exists('$b/flags.php')) { include 'flags.php'; }\n" : '';
$captcha = isset($_POST['captcha']) ? 'true' : 'false';
$force_subject_op = isset($_POST['force_subject_op']) ? 'true' : 'false';
$oekaki_js = <<<OEKAKI
@ -482,6 +483,7 @@ OEKAKI;
\$config['stylesheets']['Custom'] = 'board/$b.css';
\$config['default_stylesheet'] = array('Custom', \$config['stylesheets']['Custom']);
\$config['captcha']['enabled'] = $captcha;
\$config['force_subject_op'] = $force_subject_op;
$code_tags $katex $oekaki $replace $multiimage $allow_flash $allow_pdf $user_flags
if (\$config['disable_images'])
\$config['max_pages'] = 10000;

View File

@ -140,6 +140,7 @@
$config['additional_javascript'][] = 'js/catalog-search.js';
$config['additional_javascript'][] = 'js/thread-stats.js';
$config['additional_javascript'][] = 'js/quote-selection.js';
$config['additional_javascript'][] = 'js/twemoji/twemoji.js';
//$config['font_awesome_css'] = '/netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css';

View File

@ -26,6 +26,9 @@ $(function() {
var content = $(data).find('#'+url.split('#')[1]).parent().parent().find(".body").first().html();
body.html(content);
var post = $(body).parents('.post');
$(document).trigger('new_post', post);
}
});
});

BIN
js/twemoji/16x16/1f004.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

BIN
js/twemoji/16x16/1f0cf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

BIN
js/twemoji/16x16/1f170.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

BIN
js/twemoji/16x16/1f171.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

BIN
js/twemoji/16x16/1f17e.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

BIN
js/twemoji/16x16/1f17f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

BIN
js/twemoji/16x16/1f18e.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

BIN
js/twemoji/16x16/1f191.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

BIN
js/twemoji/16x16/1f192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

BIN
js/twemoji/16x16/1f193.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

BIN
js/twemoji/16x16/1f194.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

BIN
js/twemoji/16x16/1f195.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

BIN
js/twemoji/16x16/1f196.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

BIN
js/twemoji/16x16/1f197.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

BIN
js/twemoji/16x16/1f198.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

BIN
js/twemoji/16x16/1f199.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

BIN
js/twemoji/16x16/1f19a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

BIN
js/twemoji/16x16/1f1e6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

BIN
js/twemoji/16x16/1f1e7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

BIN
js/twemoji/16x16/1f1e8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

BIN
js/twemoji/16x16/1f1e9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

BIN
js/twemoji/16x16/1f1ea.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

BIN
js/twemoji/16x16/1f1eb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

BIN
js/twemoji/16x16/1f1ec.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

BIN
js/twemoji/16x16/1f1ed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

BIN
js/twemoji/16x16/1f1ee.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

BIN
js/twemoji/16x16/1f1ef.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

BIN
js/twemoji/16x16/1f1f0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

BIN
js/twemoji/16x16/1f1f1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

BIN
js/twemoji/16x16/1f1f2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

BIN
js/twemoji/16x16/1f1f3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

BIN
js/twemoji/16x16/1f1f4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

BIN
js/twemoji/16x16/1f1f5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

BIN
js/twemoji/16x16/1f1f6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

BIN
js/twemoji/16x16/1f1f7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

BIN
js/twemoji/16x16/1f1f8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

BIN
js/twemoji/16x16/1f1f9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

BIN
js/twemoji/16x16/1f1fa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

BIN
js/twemoji/16x16/1f1fb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

BIN
js/twemoji/16x16/1f1fc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

BIN
js/twemoji/16x16/1f1fd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

BIN
js/twemoji/16x16/1f1fe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

BIN
js/twemoji/16x16/1f1ff.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

BIN
js/twemoji/16x16/1f201.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

BIN
js/twemoji/16x16/1f202.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

BIN
js/twemoji/16x16/1f21a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

BIN
js/twemoji/16x16/1f22f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

BIN
js/twemoji/16x16/1f232.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

BIN
js/twemoji/16x16/1f233.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

BIN
js/twemoji/16x16/1f234.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

BIN
js/twemoji/16x16/1f235.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

BIN
js/twemoji/16x16/1f236.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

BIN
js/twemoji/16x16/1f237.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

BIN
js/twemoji/16x16/1f238.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

BIN
js/twemoji/16x16/1f239.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

BIN
js/twemoji/16x16/1f23a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

BIN
js/twemoji/16x16/1f250.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

BIN
js/twemoji/16x16/1f251.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

BIN
js/twemoji/16x16/1f300.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

BIN
js/twemoji/16x16/1f301.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

BIN
js/twemoji/16x16/1f302.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

BIN
js/twemoji/16x16/1f303.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

BIN
js/twemoji/16x16/1f304.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

BIN
js/twemoji/16x16/1f305.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

BIN
js/twemoji/16x16/1f306.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

BIN
js/twemoji/16x16/1f307.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

BIN
js/twemoji/16x16/1f308.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

BIN
js/twemoji/16x16/1f309.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

BIN
js/twemoji/16x16/1f30a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

BIN
js/twemoji/16x16/1f30b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

BIN
js/twemoji/16x16/1f30c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

BIN
js/twemoji/16x16/1f30d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 633 B

BIN
js/twemoji/16x16/1f30e.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

BIN
js/twemoji/16x16/1f30f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

BIN
js/twemoji/16x16/1f310.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

BIN
js/twemoji/16x16/1f311.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

BIN
js/twemoji/16x16/1f312.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

BIN
js/twemoji/16x16/1f313.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

BIN
js/twemoji/16x16/1f314.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

BIN
js/twemoji/16x16/1f315.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

BIN
js/twemoji/16x16/1f316.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

BIN
js/twemoji/16x16/1f317.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

BIN
js/twemoji/16x16/1f318.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

BIN
js/twemoji/16x16/1f319.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

BIN
js/twemoji/16x16/1f31a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Some files were not shown because too many files have changed in this diff Show More