1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-09-24 03:28:22 +02:00
Commit Graph

837 Commits

Author SHA1 Message Date
Lorenzo Yario
59c9e1771a
Merge pull request #682 from Zankaria/appeal-count
Show ban appeal count in bold on mod dashboard
2024-02-26 19:41:40 -08:00
discomrade
1ed75a58c2 Show ban appeal count on mod dashboard 2024-02-23 22:59:32 +01:00
Zankaria
f7a8cb258f dashboard template: trim 2024-02-23 22:59:32 +01:00
Lorenzo Yario
1b539ae40e
innodb 2024-02-23 09:19:54 -08:00
Lorenzo Yario
543d5e1757
make it harder to accidentally unban everyone 2024-02-22 18:40:37 -08:00
Lorenzo Yario
f45bc768fe
get duckroll'd 2024-01-23 14:18:20 -08:00
Lorenzo Yario
2ab6a3919b
It's 2024 2024-01-14 05:25:45 -08:00
RealAngeleno
fa6e240c1c
QOL for mass vichan installation 2023-10-21 23:02:20 -07:00
RealAngeleno
4545d33b74
added missing change from commit for hcaptcha 2023-10-10 13:45:23 -07:00
RealAngeleno
5e26d5f09e
add hcaptcha support 2023-09-16 01:32:01 -07:00
RealAngeleno
eda383cbb3
very small QOL change for ban appeals 2023-09-10 10:54:49 -07:00
RealAngeleno
b8190dfd06
allow cyclical images to be set independently of stickies 2023-08-05 15:38:31 -07:00
RealAngeleno
1a5b3c8480
Revert "Temporarily Revert "Remove telegrams" due to critical bug with posting" 2023-07-15 23:10:39 -07:00
RealAngeleno
af6bb09031
Revert "Remove telegrams" 2023-07-15 23:03:13 -07:00
fowr
5ef004c7ad remove telegrams 2023-07-15 00:24:04 -03:00
RealAngeleno
899cfe1aaa
Fix oversight in hide_filename 2023-07-13 22:11:59 -07:00
RealAngeleno
694351baa8
fix email logic and add nonoko setting to selectbox
Changes it so that if the user is mod and they can bypass fields, "email" will show up just fine. If not, "email" will become an options field, like on 4chan. The options field will show up for anybody if hide_email is set to true.
Nonoko will be in the selectbox if always_noko is set to true.
2023-07-10 03:39:34 -07:00
RealAngeleno
222de51247
remove spaceless filter for post description 2023-06-21 15:57:39 -07:00
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