RealAngeleno
0470064ea6
Update post_thread.html
2023-06-20 16:38:59 -07:00
RealAngeleno
fbee2dfbe0
make it so that appeals always go through post.php
...
Originally, appeals would not go through if made through banned.php, so routing everything through one place.
2023-06-01 23:24:09 -07:00
RealAngeleno
144f0e1a3d
fix error with this version of twig
...
Caught fatal error: Uncaught Twig\Error\SyntaxError: Unexpected token "name" of value "group_name" ("name" expected with value "from").
done on
PHP 7.2
Apache
2023-04-24 16:28:49 -07:00
RealAngeleno
66be6de2fd
Revert "Temporarily Revert "feature: dismiss all reports for a post" (misclick)"
2023-04-23 19:15:44 -07:00
fowr
87f99715c9
Merge branch 'master' of github.com:perdedora/vichan into update_twig
2023-04-21 00:05:20 -03:00
RealAngeleno
b1e428bed7
change copyright to current year
2023-04-12 13:51:29 -07:00
fowr
d2bb450b1a
update twig to 2.9
2023-03-29 18:59:28 -03:00
perdedora
b02a1fc0db
feat: edit pre-existing bans ( #528 )
...
* feat: edit pre-existing bans
* change default permission
* theres no need for elseif here. related: d34f083a6b
* quote href param
* changes made
2023-01-12 20:38:23 -05:00
Majin Bejitto
a0f699d49f
fix "anchor/bumplock icon won't show up without fixing variable name"
...
mistake in /templates/post_thread.html
it should be post.sage not post.bumplocked, there is no bumplocked field in posts_X tables
2022-12-21 03:36:35 -05:00
27chan
cd444a1c1b
Update footer
...
Remove duplicate code footer in all pages
Updated the link to the project on github
2022-12-06 16:55:26 -03:00
deysu
c8f88c14a8
Add banners as default functionality & display them on mod login / dashboard when enabled ( #513 )
...
* Add banner support as a default, integrated option.
Used lainchan's original banner script, authored by barrucadu
* Display banners on moderator login and dashboard
* Remove memes & better directory structure
2022-11-17 01:48:24 -05:00
runit
f62acd5c1a
banned.php now shows a pretty page instead of an ugly one. credits to JamesJDillon @ Lainchan
2022-10-15 10:09:10 -04:00
清靈語
5780e78975
Replace Google reCAPTCHA API's domain ( #507 )
...
This makes it accessible in mainland China.
Sources:
google/recaptcha#227
https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
https://meta.stackoverflow.com/questions/402339/please-change-the-recaptcha-link-to-ensure-the-site-is-accessible-in-china
Co-Authored-By: Fredrick Brennan <copypaste@kittens.ph>
2022-10-15 10:07:10 -04:00
sshscp15
e42a1b04b1
fixes boardlist in catalog when in mod mode
2022-09-15 13:03:49 -04:00
haruhianon609
0f94915fdf
Add yandex images as image identification option ( #430 )
...
* Add yandex images as image identification option
* Update image_identification.html
* Fix indentation
Co-authored-by: Fred Brennan <copypaste@kittens.ph>
2022-08-29 10:37:40 -04:00
sshscp15
4db4ab9cf0
simple catalog support for moderators
2022-08-20 12:25:10 -04:00
PVNFU-28
b5eee58b96
Update theme.php ( #409 )
...
fixed hardcoded root that broke spoilered images on the catalog if vichan was not installed on the web root.
2022-08-20 12:21:42 -04:00
27chan
bfd0cc0bc2
Adjust css theme
...
Fix responsive
2022-06-01 11:46:28 -03:00
rosemash
52321abc7b
Fix 404 caused by recent_posts.html loading wrong JS filename
2022-01-22 13:55:08 -05:00
h00j
a3dc72bddb
securimage captcha
2021-11-13 01:24:34 +01:00
Fredrick Brennan
f1b43e5fb2
{% (end)?raw %}
⇒ {% (end)?verbatim %}
...
```
rg '\{%\s*raw' -l | xargs -I{} sed -i -e 's/{%\(\s*\)raw/{%\1verbatim/g; s/endraw\(\s*\)%}/endverbatim\1%}/g' {}
```
Close vichan-devel/vichan#452 .
2021-11-03 22:49:49 -04: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
4ef7feabf2
add telegrams
2021-03-12 21:51:42 +01:00
Mert Kasım İmran
3e5e9bdae5
Update recent_posts.html
...
Fixes #406
2021-02-20 20:11:35 +03: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
h00j
bce71c1f98
ip cloaking
2021-02-13 14:11:41 +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
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
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
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
Fredrick Brennan
3a41c24e6e
Fix PHP 7.3 regression in ?/users
...
This gets rid of the "Case-insensitive constants are deprecated" error
by passing doing |upper before passing to constant().
2019-05-02 12:19:50 +08:00
Fredrick Brennan
7514f31b36
count➜length in confeditor for PHP7.2
2018-10-12 14:47:38 +08:00
H1K1CH4N
b1842dfe10
removed NPFchan copyright
2018-09-29 04:19:36 +02:00
H1K1CH4N
6f15b56b65
made the image header a little bit better in index theme
2018-09-27 04:58:05 +02:00
H1K1CH4N
44dcbca6c9
improved index theme css
2018-09-27 03:02:21 +02:00
H1K1CH4N
b8f1c219f0
Adds a new theme called "Index"
...
adds an option to use textarea in theme settings.
Merged most Basic, Recent and Frameset theme functions in one.
you can add a video picture icon and quote in the homepage.
@ctrlcctrlv feel free to add suggestions and fix bladly formed code or let me know and I will try to fix.
i installed it on my demo site: https://hikichan.com/
2018-09-27 00:41:22 +02:00
Fredrick Brennan
aeb4a31194
Close #304
2018-09-18 14:08:06 +08:00
Fredrick Brennan
41cfd500de
Fix dashboard Countable on non-countable error
...
Only affected PHP7.2, was due to a sloppy template. PHP7.2 is much more
strict than previous versions so these kinds of bugs are coming to the
fore.
2018-07-27 19:40:44 +08:00
antedeguemon
b94bf5ec19
Update license and copyright dates
2018-03-01 22:57:53 -03:00
H0K4
e8edadeda9
Update move.html
2017-11-05 18:07:52 +01:00
H0K4
896d9e2f75
Update move_reply.html
2017-11-05 18:07:22 +01:00
H0K4
714cb95194
Update move_reply.html
2017-11-05 18:04:34 +01:00
H0K4
767e8f5d6a
Prevents double submit when moving a thread.
...
I probably moved 1000 of threads and if you double click on the submit button it duplicates the moved thread.
2017-11-05 18:03:20 +01:00
Thalis
0b84fc26d6
fixed deleted.png image not found on the front end
2017-07-28 21:40:06 +02:00
czaks
b7875be471
search form in index: fix order
2017-07-26 23:37:05 -04:00