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

3317 Commits

Author SHA1 Message Date
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
czaks
3e88cc23fb Merge vichan 2014-10-09 04:09:44 +02:00
czaks
3a552e5b76 hopefully fix locales 2014-10-09 04:09:30 +02:00
8chan
4bd6ebd7aa Merge https://github.com/ctrlcctrlv/8chan 2014-10-08 19:00:13 -07:00
czaks
d3a52f6aed Merge vichan 2014-10-09 03:57:38 +02:00
czaks
dfd05e88f9 possible fix of themes` interactions 2014-10-09 03:57:18 +02:00
8chan
162d9e8210 Merge ../http
Conflicts:
	templates/mod/settings.html
2014-10-08 18:21:38 -07:00
8chan
f4b93f8b1c Enable infinite scroll by default 2014-10-08 18:20:47 -07:00
czaks
3a48cbc790 8chan: allow users to opt out of public ban system 2014-10-09 03:10:47 +02:00
czaks
217f25c51d fix incorrectly applied permissions 2014-10-09 02:08:15 +02:00
czaks
99374eac32 8chan new banlist customization 2014-10-09 02:04:31 +02:00
czaks
ef3bb46876 bans.php: surpress error 2014-10-09 02:00:31 +02:00
czaks
b1c76ba120 fix a bad merge 2014-10-09 01:14:14 +02:00
czaks
e678c178ac display capcode, if you can`t show username 2014-10-08 23:42:24 +02:00
czaks
643de18d64 Merge with a private vichan branch
Conflicts:
	inc/bans.php
	inc/mod/pages.php
2014-10-08 23:32:01 +02:00
czaks
9b3fa77719 new banlist implementation; also includes a public banlist 2014-10-08 23:23:59 +02:00
8chan
3928a3212a Merge branch 'master' of https://github.com/ctrlcctrlv/8chan 2014-10-08 20:11:36 +00:00
8chan
bf644d1a22 This threadscroll script is glitchy as fuck 2014-10-08 11:35:56 -07:00
8chan
d58adad48d SECURITY: Move indexed option to table...fixes unindexed boards appearing in search/random 2014-10-07 20:54:00 -07:00
Marcin Łabanowski
6a6250eb77 Merge pull request #155 from hugofragata/master
Added download-all feature
2014-10-08 05:53:33 +02:00
8chan
ba88035109 Edited at feature...add edited_at DATETIME NULL to all tables to use it. 2014-10-07 17:35:50 -07:00
8chan
69ad4f26db config update 2014-10-07 17:33:32 -07:00
Fredrick Brennan
52a662a395 Merge pull request #160 from wopot/patch-2
lineup 4 if´s with || (OR)
2014-10-07 11:24:56 -04:00
8chan
3da946268a SECURITY: Poster IDs could reveal IPs across boards
Imagine the following scenario:

Alice has permission to view IPs on board A, and Bob has permissions to view IPs on board B.

If the post number was to match, and the same IP made both posts, A and B could trade user IPs which they wouldn't normally have permission to do so. This weird bug has already creeped up on 8chan.co and is now patched.
2014-10-07 08:16:21 -07:00
wopot
9c47ebed03 lineup 4 if´s with || (OR) 2014-10-07 16:33:27 +02:00
hugofragata
acf4c3bb8b Modified inc/instance-config.php
Modified inc/instance-config.php to include js/download-all.js and
js/jszip.min.js
2014-10-07 15:00:40 +01:00
hugofragata
7239350e69 Revert "Added download-all feature"
This reverts commit 12a8f1a672.
2014-10-07 14:46:50 +01:00
8chan
c4dc3f4d47 Fix spoiler image not working 2014-10-07 04:33:57 +02:00
8chan
db55a3040f Make inline.js work in mod panel 2014-10-06 18:36:19 -07:00
8chan
ed94a1671d Merge https://github.com/ctrlcctrlv/8chan
Conflicts:
	post.php
2014-10-06 18:12:50 -07:00
8chan
47e81b7e9b Fix spoiler image not working 2014-10-06 18:02:50 -07:00
8chan
345e5aa3a4 Featured boards now based on uniques 2014-10-06 18:01:01 -07:00
wopot
c7351dff09 4 times "elseif" is not the way
and precalc. value sometimes help if well commentent
2014-10-07 00:16:02 +02:00
Marcin Łabanowski
9f3dba7372 Merge pull request #105 from anonfagola/patch-17
Update instance-config.php
2014-10-07 00:11:52 +02:00
hugofragata
12a8f1a672 Added download-all feature
The button to download all the files in a thread only appears when the
page is a thread, such as treeview. I added the download-all button next
to the treeview one. I modified stylesheets/v8ch.css to include the id
#download-all. I modified inc/instance-config.php to include the
download-all.js and jszip.min.js. I added the files js/jszip.min.js
which is a library to work with zip files in JS and I added
js/download-all.js which goes through all files, adds them to a zip and
then gives it to the user.
2014-10-06 16:50:20 +01:00
wopot
ba3f0f25fe 4 times "elseif" is not the way
and precalc. value sometimes help if well commentent
2014-10-06 17:50:05 +02:00
Bui
aba8d27ace wasn't aware of DNS function 2014-10-05 23:20:06 +02:00
Bui
1e95e58811 don't break if dns_system is true 2014-10-05 23:20:06 +02:00
Bui
8b9932218f add forward-confirmed reverse DNS 2014-10-05 23:20:06 +02:00
Bui
3f4381cf40 wasn't aware of DNS function 2014-10-06 04:30:32 +09:00
Bui
ca7955ecfc don't break if dns_system is true 2014-10-06 04:08:10 +09:00
Bui
98b172980f add forward-confirmed reverse DNS 2014-10-06 03:37:13 +09:00
8chan
6d19be38e3 Merge https://github.com/ctrlcctrlv/8chan
Conflicts:
	inc/instance-config.php
2014-10-05 17:09:50 +00:00
8chan
4414ef80b4 DNSBLs bypass stuff, fix Opera bug. 2014-10-05 17:07:59 +00:00
8chan
7bfbd10d69 Re-enable this filter 2014-10-05 17:06:57 +00:00
czaks
e0e3de2773 Merge https://github.com/vichan-devel/vichan 2014-10-05 18:38:45 +02:00
czaks
8518164352 sync locales with transifex 2014-10-05 18:38:25 +02:00
czaks
4a4c985235 missed one line 2014-10-05 18:16:18 +02:00
czaks
8b698e36e7 Merge https://github.com/vichan-devel/vichan
Conflicts:
	inc/mod/pages.php
	js/auto-reload.js
	js/id_colors.js
	js/id_highlighter.js
	stylesheets/style.css
	templates/index.html
2014-10-05 18:12:19 +02:00
Marcin Łabanowski
97a25dad03 Merge pull request #102 from cable6-dev/bugfix-genwebmerror
[bugfix]$config['error']['genwebmerror'] wasn't set in config.php
2014-10-05 17:56:46 +02:00
Marcin Łabanowski
d01d892896 Merge pull request #100 from cable6-dev/feature-hide-sage
Added an option to hide sages
2014-10-05 17:53:32 +02:00
Marcin Łabanowski
42868c672a Merge pull request #103 from cable6-dev/bug-fix-check_spoiler_size
Check spoiler_image size before ussuming it is 128×128px
2014-10-05 17:53:08 +02:00
kaf
3c2529e157 [bugfix]$config['error']['genwebmerror'] wasn't set in config.php 2014-10-05 15:35:52 +00:00
kaf
296e4fd5fa Added an option to hide sages 2014-10-05 15:29:37 +00:00
kaf
fe60590d19 Check spoiler_image size before ussuming it is 128×128px 2014-10-05 15:26:28 +00:00
kaf
9cee5f6c61 [bugfix]ban appeals (was also present in tinyboard) 2014-10-05 12:53:02 +00:00
riking
edf98dbee3 Add example secrets.php file 2014-10-04 13:48:52 -07:00
riking
5d89342b4f Make dnsbls.php optional, secrets.php mandatory 2014-10-04 13:48:11 -07:00
8chan
99e95bb807 Merge ../http
Conflicts:
	templates/themes/catalog/catalog.html
2014-09-30 23:10:27 +00:00
8chan
7ca9b7edaf Max links = 40 2014-09-30 23:06:48 +00:00
Bui
ba7cc64bbb fix languages 2014-09-29 07:30:45 +09:00
8chan
befe393778 Rewrite color IDs script so it actually works 2014-09-27 21:23:51 +00:00
anonfagola
b621699a22 Update instance-config.php
@ctrlcctrlv said to me over IRC he removed the threadscroll script because on some browsers, it would refresh the page when scrolling. This has been fixed in #98, so it should be back in as a default addditional JS.

and i remembered the semicolon this time
2014-09-27 13:19:39 -07:00
8chan
b6bfe97c67 @anonfagola seriously needs to remember his fucking semicolons 2014-09-27 20:08:18 +00:00
8chan
4c3f48c021 Merge /root/8chan 2014-09-27 20:06:27 +00:00