Commit Graph

901 Commits

Author SHA1 Message Date
RealAngeleno
36c3809036 allow cyclical images to be set independently of stickies 2024-01-30 10:05:44 -01:00
fowr
87bb597251 remove telegrams 2024-01-30 10:05:44 -01:00
RealAngeleno
3447eb4e31 Fix oversight in hide_filename 2024-01-30 10:05:44 -01:00
RealAngeleno
bd8b76a41f 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.
2024-01-30 10:05:44 -01:00
RealAngeleno
41849a783d remove spaceless filter for post description 2024-01-30 10:05:44 -01:00
RealAngeleno
ff8c1db655 Update post_thread.html 2024-01-30 10:05:44 -01:00
RealAngeleno
e825d04f7c 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.
2024-01-30 10:05:44 -01:00
RealAngeleno
694dc1fba5 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
2024-01-30 10:05:44 -01:00
fowr
4023ede3d7 feature: dismiss all reports for a post 2024-01-30 10:05:44 -01:00
fowr
e2fddbbca2 update twig to 2.9 2024-01-30 10:05:43 -01:00
3c20a558d8 Add overboard support to mod catalog 2024-01-30 10:05:43 -01:00
perdedora
94c98765b3 feat: edit pre-existing bans (#528)
* feat: edit pre-existing bans

* change default permission

* theres no need for elseif here. related: d34f083a6b33185927c6b79a38477f4ea4ce49b5

* quote href param

* changes made
2024-01-30 10:05:43 -01:00
daeb7b709d Replace deprecated raw tags 2024-01-30 10:05:43 -01:00
deysu
582b123be4 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
2024-01-30 10:05:43 -01:00
清靈語
2d792c6be0 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>
2024-01-30 10:05:43 -01:00
sshscp15
2587360989 fixes boardlist in catalog when in mod mode 2024-01-30 10:05:43 -01:00
haruhianon609
139e975bfb 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>
2024-01-30 10:05:43 -01:00
sshscp15
57ee34ad55 simple catalog support for moderators 2024-01-30 10:05:43 -01:00
27chan
4ee521dac7 Adjust css theme
Fix responsive
2024-01-30 10:05:43 -01:00
d69b30d83f Replace deprecated Twig 'filter' with 'apply'
Deprecated in Twig 2.9
2024-01-30 10:05:43 -01:00
37b3a9a9ab Add labels to form input elements 2024-01-30 10:05:43 -01:00
71d9463e47 Add filename as alt text to images 2024-01-30 10:05:43 -01:00
1cbe304f13 Fix titles on Rand and Semirand themes 2024-01-30 10:05:43 -01:00
0e332ca2fa Remove redundant Posting Mode banner
Also replace JS code that uses them to determine the page type.
2024-01-30 10:05:42 -01:00
4b5da78aca Change layout of view IP page
This includes reducing the field size for notes and telegrams. and moving logs and actions above the post list (as it can become very long), excluding warnings and bans in order to discourage banning IPs instead of the infringing post.
2024-01-30 10:05:42 -01:00
5c76af1603 Don't sort Random order in catalog 2024-01-30 10:05:42 -01:00
17b915ad7f Add class to overboard show/hide board buttons
This prevents false-positive h2 tags being given the show/hide button, such as the h2 tags in the Options menu
2024-01-30 10:05:42 -01:00
396f184ea8 Extract footer into a template 2024-01-30 10:05:42 -01:00
e8251ade6a Change dates to ISO 8601-like, fix deprecation of strfdate() in PHP 8.1, fix non-GMT dates
Unfortunately this means there are two format strings needed when using JS for local time.
2024-01-30 10:05:42 -01:00
7324135025 Add PPH and IPs stats table (doesn't require JS) 2023-01-14 05:50:41 -01:00
5b74355046 Collapse post form by default on index page.
This reduces wasted space as making threads is a relatively rare operation, and dissuades people from mistakenly making a thread instead of a reply.
2023-01-14 05:50:41 -01:00
0afbeac7bd Remove captcha JavaScript call for local captchas, add automatic and manual reloading of captchas 2023-01-14 05:50:41 -01:00
58d719c7f9 Allow local securimage captcha to be run without cURL library 2023-01-14 05:50:40 -01:00
88c25af7cf Fix bumplock not appearing on threads and catalog
Ideally they would all say bumplock instead of sage, but that's how it is in the database so we can fix that later if we ever care.
2023-01-14 05:50:40 -01:00
17ed5819f6 Add maximum text length to ban appeals. 2023-01-14 05:50:40 -01:00
d5284f3a34 Limit maximum email length to 30 to prevent database error 2023-01-14 05:50:40 -01:00
6bcf20804b Solve dynamically loaded threads not being filtered. Possibly a hack-fix.
This seems like the most appropriate simple fix, hopefully not too wasteful.
2023-01-14 05:50:40 -01:00
341729abff Add IP address link to ban appeals 2023-01-14 05:50:40 -01:00
e3ee4b0ce9 Add default ban length of 1 hour instead of permanent ban 2023-01-14 05:50:40 -01:00
a13330a77a Make bans default to board of offending post 2023-01-14 05:50:40 -01:00
5df46e0c77 Improve page titles and social media cards 2023-01-14 05:50:40 -01:00
81bc9d23dd Enable posting from catalog without JS
Thank you based lewdposter
2023-01-14 05:50:40 -01:00
d3d3e2e969 Add catalog thumbnails for file placeholder, handle the first of multiple OP images being deleted
Thank you based lewdposter
2023-01-14 05:50:40 -01:00
b1004367b0 Add noindex meta tag to 'Last 50 posts' thread pages 2023-01-14 05:50:40 -01:00
ea6f004022 Adjust board search on index page
Don't show on non-boards (like overboards)
Show inline, not as a new line
Remove useless comment
2023-01-14 05:50:40 -01:00
39d2ad5212 Improve citing in replies 2023-01-14 05:50:40 -01:00
f7478bc840 Remove newlines and modifiers from thread title 2023-01-14 05:50:40 -01:00
98cfb3ad2b Add mod recents auto-reload 2023-01-14 05:50:40 -01:00
0ac2b7ec70 Show ban appeal count on mod dashboard 2023-01-14 05:50:40 -01:00
49b5fb75a6 Fix 387ebe9c0c for reports, extract limit to variable, give more descriptive error name 2023-01-14 05:50:40 -01:00