Commit Graph

4167 Commits

Author SHA1 Message Date
Benjamin Southall
109b444730 Initial implementation of Thread stats for mods #33, Implemented using Twig without persistent storage, and display at end of thread. 2022-03-01 09:48:01 -01:00
Benjamin Southall
59d83ab7de Thumbnails for PDFs / other things #6 When locale fails to be loaded fallback on C.UTF-8 instead of C, so that boards with unicode characters in the name are not stripped by escape_shell_args 2022-03-01 09:48:01 -01:00
Benjamin Southall
f05a3130ce Initial implementation for Thumbnails for PDFs / other things #6, requires ['pdf_file_thumbnail'] is set to true and using convert from imagemagick. If ['pdf_file_thumbnail'] is false then it uses standard configured static file icon 2022-03-01 09:48:01 -01:00
Benjamin Southall
0aba30a888 Force file link from file information to always open in a new tab. 2022-03-01 09:48:01 -01:00
Benjamin Southall
b8fe9569f7 Add additonal brackets to min_body post length check in order to ensure operation precedence 2022-03-01 09:48:01 -01:00
Benjamin Southall
cdde6f24b6 Add overboard support to image-hover functionality. 2022-03-01 09:48:01 -01:00
Benjamin Southall
f4cb143945 Add JSON interface to Recents Posts functionality, e.g. mod_recent_posts 2022-03-01 09:48:01 -01:00
Benjamin Southall
b9152ceea6 #87 Attempt to change the error message associated when using deletebyip e.g D++ with autotagging of deletions enabled. 2022-03-01 09:48:01 -01:00
Benjamin Southall
c818e1a528 Fix relative path to temporary directory for Tesseract OCR 2022-03-01 09:48:01 -01:00
Benjamin Southall
599b9b79ab Don't remove post selection checkbox for reporting when hiding threads 2022-03-01 09:48:01 -01:00
Benjamin Southall
882477bbcf Don't remove mentioned post links from post-hover popups. 2022-03-01 09:48:01 -01:00
vholmes
9a1f8e7b8a Prevents reports with too many characters 2022-03-01 09:48:01 -01:00
Benjamin Southall
79575c84cb Added check for post time being empty string, in order to handle the case that occurs when a deleted post is deleted a second time. 2022-03-01 09:48:01 -01:00
Benjamin Southall
0d4197da85 Add autotagging feature for deletion. E.g. automatically generate an IP note when a post is deleted by moderator action. 2022-03-01 09:48:01 -01:00
Benjamin Southall
6a2ffda7e0 Add min_body configuration option for post too short check 2022-03-01 09:48:01 -01:00
Benjamin Southall
5efe6d272d Added support for anonymous name generator to be a function in addition to being an array of names 2022-03-01 09:48:01 -01:00
Benjamin Southall
b8b7380da0 Add support for catalog.json and threads.json to ukko theme. 2022-03-01 09:48:01 -01:00
Benjamin Southall
5b8213a7d8 Remove linking to OP as part of post hover. 2022-03-01 09:48:01 -01:00
Benjamin Southall
81720b3364 Add support for ignoring URLs when using word filters 2022-03-01 09:48:01 -01:00
Benjamin Southall
32007237f6 Changing wording of post filtering when action is not set from throttled to blocked at user request. 2022-03-01 09:48:01 -01:00
Benjamin Southall
d25d6ee8b8 Add JSON API to Ukko Overboard Theme 2022-03-01 09:48:01 -01:00
Benjamin Southall
8266c29f3f Add catalog support for rand and ukko themes 2022-03-01 09:48:01 -01:00
Michael Walker
29d0510432 Fix invisible not-banned text in some themes 2022-03-01 09:48:01 -01:00
JamesJDillon
5678499e3f Added a better 'not banned' response if a user navigates to banned.php whilst not being banned. 2022-03-01 09:48:01 -01:00
jove
bd19433776 Fixes two bugs preventing replies from being moved. 2022-03-01 09:48:01 -01:00
jove
72382a07f9 Fixes an error reporting typo. 2022-03-01 09:48:01 -01:00
jove
4d23fc77b6 Reports from overboard fix (quick-post-controls.js).
Bit hacky but it fixes the (lainchan) issue #405 that comes from trying to use quick post controls from /popular/.
2022-03-01 09:48:01 -01:00
Michael Walker
81aed5f42f Trim leading newlines and trailing whitespace from code blocks. 2022-03-01 09:48:01 -01:00
Matěj Grabovský
c2367e7c03 Add catalog for Ukko 2022-03-01 09:48:01 -01:00
Matěj Grabovský
013bf68d26 Add a semirandom theme
This theme displays random threads intermixed with recently bumped ones.
The number of each is configurable.
2022-03-01 09:48:01 -01:00
Michael Walker
7eb9fdca94 Add random theme. Like Ukko, but sorts threads randomly. 2022-03-01 09:48:01 -01:00
rosemash
52321abc7b Fix 404 caused by recent_posts.html loading wrong JS filename 2022-01-22 13:55:08 -05:00
8512321669 Fix redis 'delete' deprecation error
Redis deprecated the 'delete' alias for 'del'. Posting while using redis cache would return an error, the post would still be posted.
2022-01-16 23:50:25 -05:00
Łiźnier Hełam Łabej
617f2a68da
Merge pull request #455 from vichan-devel/securimage
securimage captcha
2021-11-13 01:31:22 +01:00
h00j
a3dc72bddb securimage captcha 2021-11-13 01:24:34 +01:00
Fredrick Brennan
9745e9d854 Ignore recently added graphicsmagick check
Closes #445.
2021-11-03 22:55:55 -04: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
4fd93f490f add sischan style, adjust boardlist/options background 2021-08-08 18:46:44 +02: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