Commit Graph

3392 Commits

Author SHA1 Message Date
8chan
6052ed8d3d SECURITY: imagemagick/graphicsmagick was ignoring all errors
So, in a much older patch I had a problem where an incorrect RGB
profile would make image uploads fail. I fixed this by using strpos
against the error message...but didn't check the return value
correctly.

That means that any error from gm/im was ignored. This caused people
to upload too large images and flood /b/ with 1 x 10000 pixel images

My fault, patched now. Sorry about that.

Conflicts:
	inc/image.php
2014-10-12 10:23:03 +02:00
8chan
b2cbb70da3 Khorne in #8chan on irc.rizon.net contributed this thread watcher.
Can't properly attribute the code to him because he doesn't want it
connected to his Github account for some reason.

Conflicts:
	inc/instance-config.php
2014-10-11 20:41:40 +02:00
8chan
f3e2131f06 Actually fix new_post event inline.js 2014-10-11 20:39:25 +02:00
8chan
1506bcc834 Make inline work on new_post event 2014-10-11 20:38:02 +02:00
8chan
803c76a800 .x.x less confusing...will change to less_ip eventually 2014-10-11 20:37:58 +02:00
czaks
5d1b426fa3 fix bans.php on removing a ban by a semi-privileged mod 2014-10-11 20:13:05 +02:00
czaks
3a552e5b76 hopefully fix locales 2014-10-09 04:09:30 +02:00
czaks
dfd05e88f9 possible fix of themes` interactions 2014-10-09 03:57:18 +02:00
czaks
74a40b72ed ban-list.js: vstaff 2014-10-09 02:03:35 +02:00
czaks
ef3bb46876 bans.php: surpress error 2014-10-09 02:00:31 +02:00
czaks
948695e73c lel, this one will do 2014-10-09 01:49:29 +02:00
czaks
7719ad3e81 minor bugfix @ banlist 2014-10-09 01:26:34 +02:00
czaks
ccd871c195 missed ban-list.css from banlist commit 2014-10-09 01:01:41 +02:00
czaks
ab96e30d89 infinite scroll implementation 2014-10-09 00:58:30 +02:00
czaks
9b3fa77719 new banlist implementation; also includes a public banlist 2014-10-08 23:23:59 +02:00
czaks
906764a62f bundle longtable library @ https://github.com/czaks/longtable 2014-10-08 23:19:03 +02:00
czaks
ca42984ddc i18n auto-reload.js 2014-10-07 05:40:37 +02:00
8chan
9768bb6726 fuck 2014-10-07 04:41:41 +02:00
8chan
582c77a935 Fix name and order 2014-10-07 04:41:41 +02:00
8chan
b7e9007ad4 This makes the options appear at the bottom for some reason 2014-10-07 04:41:41 +02:00
8chan
894faf989c User can disable backlinks if they want to, off by default 2014-10-07 04:41:41 +02:00
8chan
1f28316fca Make inline.js work in mod panel
Conflicts:
	inc/instance-config.php
2014-10-07 04:41:05 +02:00
8chan
c4dc3f4d47 Fix spoiler image not working 2014-10-07 04:33:57 +02:00
8chan
f294af104b Reset to global locale before openBoard 2014-10-07 04:32:10 +02:00
James Campos
fee03312d7 optional backlink hiding 2014-10-07 03:27:36 +02:00
James Campos
0b8728d7ce add loading stub 2014-10-07 03:27:36 +02:00
James Campos
f1b89a5302 optional 2014-10-07 03:27:36 +02:00
James Campos
1e04f29485 extract caching 2014-10-07 03:27:36 +02:00
James Campos
daa30a12de better op selector, don't attach to links 2014-10-07 03:27:36 +02:00
James Campos
262f525e75 fix 2014-10-07 03:27:36 +02:00
James Campos
702e20753a clearfix 2014-10-07 03:27:36 +02:00
James Campos
9dce04ebc8 remove inlined posts for new inlined posts 2014-10-07 03:27:35 +02:00
James Campos
2f85073d28 fix front page backlink 2014-10-07 03:27:35 +02:00
James Campos
3ce156a0d0 rename 2014-10-07 03:27:35 +02:00
James Campos
3c98319e52 front page fixes 2014-10-07 03:27:35 +02:00
James Campos
9ea5ff610e bypass (OP) text 2014-10-07 03:27:35 +02:00
James Campos
b1a5911673 fix when quote is last element 2014-10-07 03:27:35 +02:00
James Campos
aea23e99b6 less invasive css fix 2014-10-07 03:27:35 +02:00
James Campos
bb193e93e2 fix for image posts 2014-10-07 03:27:34 +02:00
James Campos
8d91efc560 grab the whole post 2014-10-07 03:27:34 +02:00
James Campos
26e343d02a fix 2014-10-07 03:27:34 +02:00
James Campos
ee4716b048 work for backlinks 2014-10-07 03:27:34 +02:00
James Campos
91ab8eeae6 disable highlightReply 2014-10-07 03:27:34 +02:00
James Campos
970ff0d619 this is how you cache 2014-10-07 03:27:34 +02:00
James Campos
51a74bbd73 fix selector 2014-10-07 03:27:34 +02:00
James Campos
67d3449998 fix cross-thread inlining 2014-10-07 03:27:33 +02:00
James Campos
274ac0965a get op from input value 2014-10-07 03:27:33 +02:00
James Campos
3de119e417 maybe support cross thread inlining 2014-10-07 03:27:33 +02:00
James Campos
cb92ee0483 inline 2014-10-07 03:27:33 +02:00
8chan
93b30d6829 class around poster IDs 2014-10-07 00:19:15 +02:00