1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
Commit Graph

4180 Commits

Author SHA1 Message Date
discomrade
a752a3930c
Fix custom thumb_ext for ImageMagick convert
When using ImageMagick's convert tool, the output defaults to the input format if no file extension or format is specified.
The temp file currently has no extension, so a $config['thumb_ext'] value has no effect on the image.
By appending the thumb_ext to the temp output file, it will convert the image to the intended format.

You can see this issue present on lainchan, where thumbnails have a .png filename but are not really PNG files when the input is a .jpg, for example.
2021-06-23 11:52:29 +00:00
h00j
fd9a3c07dd Merge branch 'master' of https://github.com/vichan-devel/vichan 2021-04-01 22:30:49 +02:00
h00j
281dccb690 fix undefined index in cloak_mask/uncloak_mask 2021-04-01 22:30:22 +02:00
27chan
61d6132bb3 Fix post.php
I believe that you ended up closing some functions by mistake and then gave the following error when making a post:

PHP message: PHP Parse error:  syntax error, unexpected '}', expecting end of file in /var/www/vichan/html/post.php on line 462
2021-03-17 20:40:26 -04:00
Łiźnier Hełam Łabej
5a027781cc
Merge pull request #423 from vichan-devel/telegrams
add telegrams
2021-03-12 22:07:42 +01:00
h00j
064deec26f fix date 2021-03-12 21:55:27 +01:00
h00j
8002455061 important.html relative time 2021-03-12 21:54:31 +01:00
h00j
f43b5ffbc4 woops 2021-03-12 21:53:16 +01:00
h00j
59c0f788d2 typo 2021-03-12 21:52:37 +01:00
h00j
4ef7feabf2 add telegrams 2021-03-12 21:51:42 +01:00
h00j
8decd4f73f backlinks on ukko are fine 2021-03-04 15:09:52 +01:00
Łiźnier Hełam Łabej
ee57b6b5ca
Merge pull request #405 from PVNFU-28/patch-3
Update config.php
2021-02-26 21:41:46 +01:00
Łiźnier Hełam Łabej
7a44731f27
Merge pull request #413 from PVNFU-28/patch-9
replace rbl.efnet.org with rbl.efnetrbl.org
2021-02-26 21:40:01 +01:00
Łiźnier Hełam Łabej
35068d221b
Merge pull request #412 from isaacimran/patch-1
Update recent_posts.html
2021-02-26 21:36:59 +01:00
Łiźnier Hełam Łabej
2772891486
Merge pull request #411 from PVNFU-28/patch-8
Update config.php
2021-02-26 21:36:00 +01:00
PVNFU-28
d166db6a50
replace rbl.efnet.org with rbl.efnetrbl.org
rbl.efnet.org redirects to rbl.efnetrbl.org and says
"Notice We have created a mirror of the rbl.efnet.org zone at rbl.efnetrbl.org.
It has the exact same data and responses. Please use the mirror in your configs.
The mirror was created after repeated failures at Network Solutions."

Also deleted some random tabs on empty lines and some extra spaces which were put by error I guess
2021-02-21 01:03:10 -03:00
Mert Kasım İmran
3e5e9bdae5
Update recent_posts.html
Fixes #406
2021-02-20 20:11:35 +03:00
PVNFU-28
30eb4e8335
Update config.php
Fixes https://github.com/vichan-devel/vichan/issues/404
2021-02-16 23:33:52 -03:00
Łiźnier Hełam Łabej
3242e28b19
Merge pull request #407 from vichan-devel/composer
update authors in composer.json
2021-02-14 10:22:46 +01:00
h00j
a8e455b014 update authors 2021-02-14 10:20:10 +01:00
h00j
e9e5128604 fix cli tools 2021-02-14 09:22:44 +01:00
h00j
00349d0315 mute constant redefinition notice 2021-02-14 09:22:01 +01:00
panfu28
c25e3dea78
Update config.php
Fixed embedding for dailymotion, metacage and vocaroo.
Google Videos stopped being a thing in 2012 it seems.
2021-02-14 02:49:15 -03:00
h00j
7d855c5316 fix require's 2021-02-13 21:30:27 +01:00
h00j
e405a6c676 fix install script 2021-02-13 21:23:07 +01:00
h00j
908b843854 move antibot functions 2021-02-13 21:14:06 +01:00
Łiźnier Hełam Łabej
d5e8747a19
Merge pull request #401 from vichan-devel/composer
use composer
2021-02-13 19:52:00 +01:00
h00j
0daf03c360 update README 2021-02-13 19:37:18 +01:00
h00j
5b7fb87ec1 add required extensions to composer.json 2021-02-13 19:37:00 +01:00
h00j
599fee5e21 use composer 2021-02-13 19:24:03 +01:00
Łiźnier Hełam Łabej
47df9c6485
Merge pull request #399 from vichan-devel/ip-cloaking
ip cloaking
2021-02-13 17:28:30 +01:00
Łiźnier Hełam Łabej
40d1cea043
Merge pull request #391 from panfu28/patch-3
Update index_fs.css
2021-02-13 17:28:05 +01:00
Łiźnier Hełam Łabej
1843f4a265
Merge pull request #390 from panfu28/patch-2
Update index.css
2021-02-13 17:27:41 +01:00
Łiźnier Hełam Łabej
20ce4a314e
Merge pull request #389 from panfu28/patch-1
Update config.php
2021-02-13 17:27:25 +01:00
h00j
bce71c1f98 ip cloaking 2021-02-13 14:11:41 +01:00
h00j
7a42158177 add maintainer timeline to README 2021-02-09 10:53:34 +01:00
h00j
e7d29cdba9 update irc channel 2021-02-07 00:51:17 +01:00
h00j
4f87eb5d52 update README 2021-02-07 00:48:27 +01:00
panfu28
4070e82ae4
Update index_fs.css
More consistency fixes
Is this type of PR allowed? I just see small errors or inconsistencies all over the place and can't help but want to make the code look and read better.
2020-12-11 23:12:08 -03:00
panfu28
f91cbc16f8
Update index.css
Fixed some errors and replaced lines started with 4 spaces for a tab, some lines started with a tab already so why not make it consistent.
2020-12-11 23:02:44 -03:00
panfu28
d8e3925183
Update config.php
just fixed a comment that might confuse new users, plus it was outdated
2020-12-11 17:10:43 -03:00
Mert Kasım İmran
d6d1082991 Fix for title/subtitle related issue
Subtitle was the page title and title was unused.
2020-12-02 15:56:35 -05:00
Fredrick Brennan
d7d478181d
Update README.md
not offering paid support right now
2020-11-13 16:05:04 -08:00
Sardach
19151def82 insignificant fix
PHP7 shows a warning when executing tools/rebuild2.php: "Declaration of case-insensitive constants is deprecated"
$group_name and $group_value really not need be case-insensitive, so i simply removed that "true".
2020-10-31 04:24:21 -07:00
papereth
6ccaf19045
Fixed thread.html template (#380)
* Update functions.php

` $_SERVER['REMOTE_ADDR']` was hardcoded in ban lookup instead of `$ip` variable

* Fix information leak in thread.html

Sensitive information can be leaked due to inadequate/absent escaping.

Line 14 is truncating before removing tags, this can cause some tags to be cut and therefore not be removed by the `remove_` functions.
Line 22 is just leaking it all, not removing anything.

* Fixed thread template

`remove_markup` is not available on vichan, arguably it makes things better but it's out of scope for this CHANGE, removing modifiers is enough to stop the info leak
consider adding it again after pulling:
fallenPineapple@a5b3336

also moving truncation before escaping for extra safety
2020-08-15 07:19:47 -07:00
papereth
2275735fdf
Fix information leak in thread.html (#377)
Sensitive information can be leaked due to inadequate/absent escaping, if proxy_save enabled

Line 14 is truncating before removing tags, this can cause some tags to be cut and therefore not be removed by the `remove_` functions.
Line 22 is just leaking it all, not removing anything.
2020-08-10 09:50:02 -07:00
Eman Gamer
cf6a733931
Fix Capitalization on setUpControl for Chromium (#378)
Chromium browsers expect capital U in setUpControl and old version of webm-settings.js has setupControl which causes a error and makes expand-video.js not work and options.js not save when this is in use. This bug is not present on FireFox which automatically fixes this for some reason. Stupid bug, stupid fix. No lines actually added or removed.
2020-08-09 19:25:33 -07:00
papereth
a268004c7a
Fix wrong variable used in ban lookup (#376)
` $_SERVER['REMOTE_ADDR']` was hardcoded in ban lookup instead of `$ip` variable
2020-08-09 18:31:50 -07:00
Fredrick Brennan
01538ed33a Close #366
I don't know why this works, but this extra whitespace is required on
PHP 7.4.

If you want to know why I hate PHP updates, this is why.
2020-01-21 09:46:29 +08:00
Daniel Saunders
2600298be8 Theme fixes 2020-01-20 10:37:54 +08:00