1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-12 07:41:12 +01:00
Commit Graph

3381 Commits

Author SHA1 Message Date
8chan
4cca83da8f b/w issues, disable auto-gif for now 2015-01-28 17:57:31 -08:00
8chan
804247654d No IP showing in purge() 2015-01-28 17:57:16 -08:00
8chan
5efd0e9b18 This is using jQuery now 2015-01-23 02:19:01 -08:00
Fredrick Brennan
f5b7e8adfe Merge pull request #315 from forklessanon/feature-3
Added mod function to spoiler all images in a given post
2015-01-22 16:11:25 +08:00
Fredrick Brennan
fd7620bddf Merge pull request #331 from marktaiwan/better-webm-thumbnail
Better webm thumbnail
2015-01-22 16:09:10 +08:00
8chan
138f9aeb40 Merge 2015-01-22 08:04:12 +00:00
8chan
c473b5409c Fix no cache bug in display.php 2015-01-21 23:53:43 -08:00
8chan
f9119b16b9 Ban appeals for admin/globals fix 2015-01-21 23:52:50 -08:00
8chan
6cca52e92d ReCAPTCHA lib fix 2015-01-21 23:52:25 -08:00
8chan
f66c78e20b sql_open mask_db_error 2015-01-21 23:51:48 -08:00
8chan
290eed43d0 Some 8chan.co>8ch.net (rest in #348) 2015-01-21 23:49:15 -08:00
Markerov
7011fdf9c2 round starting time down to nearest second 2015-01-07 03:18:24 +08:00
8chan
980d8784e5 Tinyboard is defunct. No reason to keep the update checker 2015-01-06 01:34:54 -08:00
8chan
0a2dfedb0e Ban appeals: limit by board, make more efficient, enable in infinity 2015-01-06 01:34:27 -08:00
8chan
437ff83696 max wf bugfix 2015-01-06 01:32:45 -08:00
8chan
1a154223ea Merge https://github.com/ctrlcctrlv/infinity 2015-01-05 04:40:24 -08:00
8chan
b7e6bca82e Allow ADMIN level to use Global Volunteer capcode 2015-01-05 04:38:16 -08:00
Fredrick Brennan
755fc1e592 Merge pull request #334 from Pashe/css-urls
Board stylesheet URL filter fixes and whitelist additions
2015-01-05 12:43:33 +08:00
Pashe
916cb4c997 inc/functions.php: Tabs in code tags (fixes #328) 2015-01-03 23:48:57 -06:00
Pashe
e95a147e3e 8chan-mod-pages.php: Filter CSS imports from sites with potentially unsafe content (pomf.se) 2015-01-03 16:35:03 -06:00
Pashe
fe8b02442a 8chan-mod-pages.php: Make the CSS URL filter error message less vague 2015-01-03 16:16:55 -06:00
Pashe
dbc4fbc5fe 8chan-mod-pages.php: Fix CSS URL filter ignoring all but the last URL on a line 2015-01-02 23:27:12 -06:00
Pashe
aa71065dac 8chan-mod-pages.php: Add 8chan.co and fonts.gstatic.com to the CSS whitelist 2015-01-02 21:09:22 -06:00
Fredrick Brennan
3692d12cbc Merge pull request #332 from cmdrk/master
Updated dnsbl to only block exit nodes
2015-01-01 14:57:24 +08:00
8chan
72255ad5b8 Merge
Conflicts:
	stylesheets/style.css
2014-12-31 22:45:03 -08:00
8chan
c1ec49dc29 Mask DB error option 2014-12-31 22:42:42 -08:00
8chan
aa5d0e6e4b Hour max threads filter 2014-12-31 22:37:38 -08:00
8chan
3f3b0051d8 Move login check in inc/mod/auth.php to a function
This allows pages like create.php to not include inc/mod/pages.php while still being able to use the mod auth functions (like generating salts and passwords)
2014-12-31 22:35:21 -08:00
8chan
351375185e Early 404 option in clean() 2014-12-31 22:33:31 -08:00
8chan
db89ee7827 No file placeholder in catalog 2014-12-31 22:33:10 -08:00
8chan
0f3a65a984 First spam settings in ?/settings 2014-12-31 22:32:26 -08:00
8chan
04afbe904d Move bans.html theme over to cron 2014-12-31 22:31:43 -08:00
cmdrk
69cd484038 Updated dnsbl to only block exit nodes 2015-01-01 00:09:58 -06:00
8chan
8ac83fbba6 Merge
Conflicts:
	inc/mod/pages.php
2014-12-24 14:19:35 +00:00
8chan
f60c3f5935 Preview board flags script 2014-12-24 06:14:33 -08:00
8chan
d63dea93c5 Remove links from ban list 2014-12-24 06:14:04 -08:00
8chan
87e914948b SECURITY / XSS : ?/edit allowed arbitrary HTML to be added by any user thru addition of <tinyboard raw html>1</tinyboard>
This allowed ANY user with ?/edit privilege to also have raw_html regardless of whether they had $config['mod']['rawhtml']

Now, any changes to <tinyboard> markup modifiers via ?/edit are not allowed. They are removed at read time, and before write they are removed again and the ones in the database (which should be clean...) are inserted instead.

Please immediately apply this patch to your instance if you are running any version of 8chan/infinity.
2014-12-24 06:08:19 -08:00
8chan
bb81e9e0c3 Fix weird "Default object created from empty vlaue" error
Looks like $file can be NULL sometimes, though that should be illegal. Probably an unfixed post.php bug...
2014-12-20 14:00:48 -08:00
8chan
c67c575561 Merge /srv/http 2014-12-20 15:04:23 +00:00
8chan
01cca90597 Unicode emoji support 2014-12-20 07:04:20 -08:00
8chan
025713547c Tweak flag size requirements 2014-12-20 07:01:40 -08:00
8chan
5b5a0b9061 Force subject OP 2014-12-20 07:01:25 -08:00
Forkless
22878daecd Added mod function to spoiler all images in a given post 2014-12-19 06:43:01 -06:00
8chan
d956c9a58e Merge https://github.com/ctrlcctrlv/8chan 2014-12-16 01:52:58 +00:00
8chan
958dbb1af6 Merge /srv/http 2014-12-16 01:52:48 +00:00
8chan
f8c1d7c80f what the fuck were you even thinking
this is an insane default

BUGFIX: all-Japanese, all-Arabic, etc posts no longer trip the filter if not robot_enable
2014-12-15 17:50:22 -08:00
Fredrick Brennan
14fce406a8 Merge pull request #308 from forklessanon/patch-6
Added tripcode removal to post editing
2014-12-16 09:42:53 +08:00
Forkless
d457cb57b8 Added tripcode removal to post editing 2014-12-14 22:49:54 -06:00
8chan
1b2ef21b8c Merge /srv/http 2014-12-14 11:29:50 +00:00
8chan
b9b1935e08 Bug fix: Boards were always unindexed in search engines 2014-12-14 03:28:04 -08:00
8chan
d705606729 Allow a board called news to exist 2014-12-14 03:27:26 -08:00
8chan
6ed13f3fb0 SECURITY: Board Owners could brick accounts by creating account names of matching users with different capitalizations 2014-12-14 03:26:45 -08:00
8chan
9db6895c98 Allow + in board names, add some new config vars (news+) 2014-12-14 03:25:43 -08:00
8chan
27cb60ebc5 Disable notes completely until per-board notes 2014-12-03 01:15:02 -08:00
8chan
8165dd6f66 Merge https://github.com/ctrlcctrlv/8chan 2014-12-03 09:13:46 +00:00
Fredrick Brennan
5cc158732e Merge pull request #289 from b4x/master
Changed moderate to volunteer on
2014-12-03 16:26:16 +08:00
8chan
3df5b86235 Return some important info from listBoards() 2014-12-03 00:19:50 -08:00
8chan
e7fbb7e509 Update footer, warrant canary, quote US law 2014-12-03 00:19:02 -08:00
8chan
8d34866636 Fix locale bugs, init_locale was not calling setlocale!? 2014-12-03 00:17:24 -08:00
8chan
6413bc78f6 Make this footer message optional 2014-12-03 00:16:25 -08:00
8chan
dd1c160d35 Hash masked IPs option, use less_ip in inc/bans 2014-12-03 00:15:24 -08:00
8chan
b9dace7563 New mod.php pages: ?/tags and ?/reassign 2014-12-03 00:11:48 -08:00
8chan
fa9a3da913 New boards.html page now with tags 2014-12-03 00:10:28 -08:00
b4x
c2e9be776b Changed moderate to volunteer on 2014-12-01 20:36:11 +01:00
Markerov
57df02b309 initial commit
generate the thumbnail from the middle of the video
2014-11-29 01:30:18 +08:00
8chan
6d54ae5262 read.php +50 fix 2014-11-22 00:44:57 -08:00
8chan
2228d2f511 Merge branch 'master' of https://github.com/ctrlcctrlv/8chan 2014-11-22 00:15:42 -08:00
8chan
ef0ab8bb00 Isnt set if first write 2014-11-22 00:15:32 -08:00
8chan
a76b5a27c7 Merge https://github.com/ctrlcctrlv/8chan 2014-11-21 23:35:40 -08:00
8chan
d8c385176c New claim.html page 2014-11-21 23:32:22 -08:00
8chan
7d11c7a884 Fix mod mode for read.php 2014-11-21 16:17:00 -08:00
8chan
faa51accaa We dynamic pages now, read.php 2014-11-21 04:05:20 -08:00
8chan
0ba19e163b MP4 support, close ctrlcctrlv/8chan#243 2014-11-19 00:53:35 -08:00
8chan
4bf6c1ab8e Performance enhancement with eval 2014-11-19 00:50:05 -08:00
8chan
71c89de6de >letting board owners change the charset
yeah, nah. thanks anyway though @czaks lmao
2014-11-17 05:27:00 -08:00
czaks
62a6dac022 custom captcha integration 2014-11-14 15:09:52 +01:00
8chan
a68d8628a5 Merge https://github.com/ctrlcctrlv/8chan 2014-11-13 05:08:40 +00:00
8chan
f944116a7c Enabe thread stats 2014-11-12 21:08:48 -08:00
8chan
4f2398f7b8 Make deletePost more tolerant of errors
Sometimes thumbnail generation fails but the post is still there, sometimes post deletion is aborted halfway through

Ignore errors from file_unlink and don't fail if $f->file, $f->thumb not set
2014-11-12 21:06:58 -08:00
Fredrick Brennan
0da5d13e7e Merge pull request #245 from forklessanon/patch-3
Security fix: Added defaults to the banned boards
2014-11-12 10:32:03 +08:00
Forkless
0df4afe917 Security fix: Added defaults to the banned boards list to protect core folders of the codebase.
Added banned boards restriction to the mod_new_board function.
2014-11-10 06:35:53 -06:00
8chan
30f4b5b5c2 Compatability fix 2014-11-09 23:23:47 -08:00
8chan
5848c96fdc Enable catalog search 2014-11-09 23:23:38 -08:00
8chan
c648448a75 Merge https://github.com/ctrlcctrlv/8chan 2014-11-09 22:25:54 -08:00
8chan
cf81d83942 Board flags commit 2014-11-09 22:18:45 -08:00
8chan
34bfa3eaad disable for now 2014-11-08 16:57:00 -08:00
Fredrick Brennan
d75a119a7f Merge pull request #231 from forklessanon/master
Support for youtube's 'start' and 'end' URL parameters
2014-11-08 11:20:38 +08:00
BkPHcgQL3V
f295d77f2d Add data-md5 attributes as on 4chan 2014-11-04 06:55:55 +00:00
BkPHcgQL3V
d398a49fc6 Add MD5 for individual files to the API 2014-11-04 06:55:55 +00:00
Forkless
c009543ce1 Re-added support for youtu.be shortURLs 2014-11-03 09:30:15 -06:00
Forkless
cfa01786bd Missed a couple things for the youtube timeslice support. 2014-11-02 23:46:13 -06:00
Forkless
69bea13a20 Added support for youtube's timeslice embed parameters (start and end) 2014-11-02 23:22:19 -06:00
8chan
c695839cb5 Merge ../http
Conflicts:
	inc/instance-config.php
2014-11-01 16:01:59 -07:00
8chan
364c1bc93b PDF uploading 2014-11-01 16:01:22 -07:00
8chan
a25b5320ea Enable comment toolbar 2014-11-01 16:00:39 -07:00
8chan
3874841f36 Merge branch 'youtube-js' of https://github.com/czaks/8chan into czaks-youtube-js
Conflicts:
	inc/instance-config.php
2014-11-01 15:58:36 -07:00
8chan
659766c1c3 Extra files and IDs in API 2014-10-30 05:33:01 -07:00
8chan
44bb469a75 VP9 support (experimental) 2014-10-30 05:32:39 -07:00
8chan
ae33b1d653 Forgot some permissions 2014-10-30 05:32:11 -07:00
8chan
a754155d5b Multiple board volunteers patch 2014-10-28 23:23:17 -07:00
8chan
2d296f8c8a use constants 2014-10-22 21:01:02 -07:00
8chan
2edd6282f2 Fix chained WHERE, fix permissions 2014-10-22 20:12:26 -07:00
8chan
61f61457a0 why were these capcodes enabled 2014-10-22 19:33:54 -07:00
8chan
b73745e8ab apc pls 2014-10-22 19:21:21 -07:00
8chan
cfb31c53af Merge https://github.com/ctrlcctrlv/8chan 2014-10-22 19:20:28 -07:00
8chan
0f8aef4f50 I'm going to run this on a cron job instead...people were using this to DoS 2014-10-22 19:19:49 -07:00
8chan
ff225064a1 Add ?/flags [NOT DONE] and $config[allow_delete] to ?/settings 2014-10-22 19:18:23 -07:00
8chan
a8effc870d Fix bans page on Firefox 2014-10-22 19:17:18 -07:00
8chan
840c42adc4 array_unique to prevent JS Errors 2014-10-22 19:16:45 -07:00
8chan
0eba6fa4c3 This was crashing rebuild.php for some reason... 2014-10-22 19:16:13 -07:00
unknown
bac2307140 [#184] Added config+functionality for removing clean status local+global if a post is edited. Fixed an issue where marking a post clean wouldn't trigger template reconstruction. 2014-10-21 08:10:07 -05:00
unknown
9c5ec12aaa [#184] Reports made to clean posts are now ignored correctly (and in accordance with the local/global duality). Marking posts clean dismisses posts (also in accordance with local/global duality). Fixed up some templating issues (now display more correct messages and omit actions that are invalid). Moved Clean action off post-level and into reports action. 2014-10-21 07:50:25 -05:00
unknown
4c8e920303 [#184] Resolved duplicate report issue. Added rudamentary Clean functionality. 2014-10-20 10:17:19 -05:00
czaks
e528250802 enable youtube.js; should reduce lags with too many embeds 2014-10-20 14:33:09 +02:00
unknown
7cac272396 [#184] FUCK PLEASE WORK 2014-10-19 12:10:50 -05:00
unknown
3c2ebb2d6b Merge branch 'master' of git://github.com/ctrlcctrlv/8chan
Conflicts:
	templates/8chan/index.html
2014-10-19 11:15:57 -05:00
unknown
01c80bd7ad [#184] System almost completely functional. Woo. 2014-10-19 11:07:07 -05:00
unknown
a8a843bf4b [#184] Added Promote and Demote to reports. CSS improvements. 2014-10-19 00:07:16 -05:00
unknown
3654c4f7ef Signed-off-by: unknown <8n-tech@users.noreply.github.com> 2014-10-19 00:00:58 -05:00
unknown
e90eca7339 [#184] tomorrow.css. 2014-10-18 20:31:25 -05:00
unknown
2d6d449bd2 [#184] Added <body> tag classes. Style selector now adds a <body> class. Moved board list under moderator dashboard. 2014-10-18 20:07:04 -05:00
8chan
0743da4e4b Merge https://github.com/ctrlcctrlv/8chan 2014-10-18 13:33:36 -07:00
8chan
fceea15317 Be smarter about rebuilds 2014-10-18 13:21:08 -07:00
8chan
f1c2388840 8archive.moe 2014-10-18 13:20:46 -07:00
czaks
3f7b37ce59 Merge branch 'master' of https://github.com/ctrlcctrlv/8chan
Conflicts:
	inc/image.php
2014-10-18 16:37:03 +02:00
czaks
353dca32d3 Merge https://github.com/vichan-devel/vichan
Conflicts:
	inc/image.php
2014-10-18 13:57:02 +02:00
czaks
24548e377c update locales 2014-10-18 13:54:27 +02:00
clsr
49079e57fb Fix expanded tabs 2014-10-18 13:43:25 +02:00
clsr
d266908ca9 Fix API: Swap image width/height, make replies an integer, fix original filename 2014-10-18 13:43:25 +02:00
unknown
ba0a874b27 [#184] Added <body> tag classes. Style selector now adds a <body> class. Moved board list under moderator dashboard. 2014-10-18 03:32:00 -05:00
unknown
36a3cddba0 Merge branch 'master' of git://github.com/ctrlcctrlv/8chan 2014-10-17 02:41:51 -05:00
unknown
9920a51ff5 - Resolved board creation script throwing SQL error for mismatched column count.
- Resolved warnings would be thrown if inc/dnsbls.php did not exist.
- Resolved problem where shell_exec_error was incorrectly reporting a success in instances where 'md5sum' was not supported, resulting in "'md5sum'" literally being recorded as the file hash. This then lead to hex2bin throwing an error on page load, preventing access to threads (among other problems).
2014-10-17 02:32:39 -05:00
8chan
d50b86a7c2 underline 2014-10-16 18:53:59 -07:00
8chan
33371bee9f Allow IP less to show more posts 2014-10-16 18:53:52 -07:00
clsr
7e3fd0dcc5 Fix expanded tabs 2014-10-16 17:26:58 +02:00
clsr
6073c9e73a Fix API: Swap image width/height, make replies an integer, fix original filename 2014-10-16 17:08:39 +02:00
8chan
9bf6ebec43 SECURITY: IPs were still being shown on IP_less in a few places 2014-10-12 16:34:34 -07:00
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
0c570e2ca5 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.
2014-10-11 15:41:16 -07:00
8chan
803c76a800 .x.x less confusing...will change to less_ip eventually 2014-10-11 20:37:58 +02:00
czaks
2359f82385 Merge https://github.com/vichan-devel/vichan 2014-10-11 20:13:31 +02:00
czaks
5d1b426fa3 fix bans.php on removing a ban by a semi-privileged mod 2014-10-11 20:13:05 +02:00
8chan
2e694b8b1c 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.
2014-10-11 10:21:00 -07:00
8chan
a838e2986c Only show IPs in ?/bans if mod has show_ip 2014-10-10 09:52:23 -07:00
8chan
f07cf32001 Don't show host on IP_less
Sometimes there isn't one so you get weird stuff like

127.0.x.x
x.x.0.1

revealing the whole IP. Oops.
2014-10-09 20:26:40 -07:00
8chan
da0ea45730 Merge branch 'master' of https://github.com/ctrlcctrlv/8chan 2014-10-09 21:40:24 -04:00
8chan
fe9297aaaa Attempt to hide IPs from board volunteers 2014-10-09 21:39:37 -04:00
8chan
f95cc5d8bf .x.x less confusing...will change to less_ip eventually 2014-10-09 16:59:58 -07:00
8chan
de7c089d7b this download all script doesnt even work 2014-10-09 16:58:00 -07:00
8chan
e4a4415308 Merge https://github.com/ctrlcctrlv/8chan 2014-10-08 19:11:56 -07:00