Commit Graph

4268 Commits

Author SHA1 Message Date
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
5730eb164d change the default of twig_auto_reload to false 2024-01-30 10:05:44 -01:00
Fredrick Brennan
7f7016f881 [timeline] Make 4chan the head of the tree 2024-01-30 10:05:43 -01:00
Fredrick Brennan
21a60515fd [timeline] Actually wait, it's even more complicated than that. 2024-01-30 10:05:43 -01:00
Fredrick Brennan
f79c744257 [README] Add timeline 2024-01-30 10:05:43 -01:00
fowr
0143b0d261 delete remove_whitespace filter 2024-01-30 10:05:43 -01:00
fowr
e2fddbbca2 update twig to 2.9 2024-01-30 10:05:43 -01:00
fowr
59f9dfdd83 add global to mod_confirm 2024-01-30 10:05:43 -01:00
basedgentoo
9557d783d4 Add Twemoji submodule. To use: git submodule init && git submodule update 2024-01-30 10:05:43 -01:00
kuz-sysadmin
5e979dcb7e Fixed maintainer list
To look more like past entries, removed unecessary note. 

We will keep e politics out of the github.
2024-01-30 10:05:43 -01:00
basedgentoo
319050f321 URL error 2024-01-30 10:05:43 -01:00
basedgentoo
acc0655af7 Hopefully final update to the readme for now. 2024-01-30 10:05:43 -01:00
basedgentoo
6649349451 Update README.md 2024-01-30 10:05:43 -01:00
basedgentoo
a54977e0d9 Update README.md 2024-01-30 10:05:43 -01:00
basedgentoo
0cddcf071c Update README.md 2024-01-30 10:05:43 -01:00
basedgentoo
0f214522b3 Professionalism! 2024-01-30 10:05:43 -01:00
basedgentoo
a7e5096139 Update README 2024-01-30 10:05:43 -01:00
RealAngeleno
84c8bebfb6 fix issues with the banner script not working
PHP 7.4
Notice: Trying to access array offset on value of type resource in on line 13

Notice: Trying to access array offset on value of type resource in on line 14

Notice: fpassthru(): read of 8192 bytes failed with errno=21 Is a directory in  on line 17
2024-01-30 10:05:43 -01:00
Fred Brennan
cdde589d6a Apply inc/display.php@0a2dfed from vichan/infinity 2024-01-30 10:05:43 -01:00
Fredrick Brennan
b365f64724 [README] +webservers/PHP exp needed to use in 2023 2024-01-30 10:05:43 -01:00
3c9c29b22d Fix post number on dismissed reports log, show id
Previously the report dismiss logs would show the report id instead of the post number.
2024-01-30 10:05:43 -01:00
0257f263f5 Set default webm volume to 0.75 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
e01f35814c Allow exclamation point after cite
Credit to 75236d6ae5
2024-01-30 10:05:43 -01:00
63fb6bea27 Add default value for flood_cache
The original code left flood_cache undefined, leading to errors in newer versions of PHP. See https://github.com/vichan-devel/vichan/issues/525
2024-01-30 10:05:43 -01:00
522d208099 Handle statistics case where query returns no posts 2024-01-30 10:05:43 -01:00
daeb7b709d Replace deprecated raw tags 2024-01-30 10:05:43 -01:00
Majin Bejitto
6e15e696ce fix "scandir should not need to sort in b.php (banner code)"
scandir by default sorts files in ascending order. this is unnecessary when you're picking a random file anyway. it's just wasting CPU cycles and increasing latency as more files are added.

currently it is

    $files = scandir($dir);

it should be

    $files = scandir($dir, SCANDIR_SORT_NONE);
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
runit
39a1d1952c I'd just like to interject for a moment. 2024-01-30 10:05:43 -01:00
Fred Brennan
704af3d64d Use ENT_QUOTES when converting UTF-8 to HTML (#448)
Closes #448.
2024-01-30 10:05:43 -01:00
sshscp15
02edb9a896 Fix display warning/errors (#496)
* prevent filling debug param when debug is off

* fix php warning: "$item" must be passed by reference
2024-01-30 10:05:43 -01:00
27chan
2216a0155c Removed regex with possibiblity of XSS
An anonymous user reported the issue to me
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
sshscp15
ca4b9802b8 fix mod.php. check if key is there and is valid 2024-01-30 10:05:43 -01:00
Fred Brennan
2bc1a32105 Flip insane default for non-developers 2024-01-30 10:05:43 -01:00
Fred Brennan
fdc574906a Add support for APC(u) 2024-01-30 10:05:43 -01:00
C Hatfield
4026e4c448 Moved hardcoded html filepaths into config file for extensibility (#354)
Co-authored-by: chatfield <chatfield@creatuity.com>
Co-authored-by: Fred Brennan <copypaste@kittens.ph>
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
Fredrick Brennan
56d67ab268 Change illogical default of $config[force_body]
Makes JS and non-JS enforcement equivalent while providing a downgrade path.

JS may not allow empty bodies even when $config[force_body] false. Don't care enough to fix. PR welcome.

Close #493.
2024-01-30 10:05:43 -01:00
370chan
74b9a4fd50 Fix files not being saved in certain cases (#483) 2024-01-30 10:05:43 -01:00
bebyx
ffcc496a6f Fix editing global pages for 7.4 (#487) 2024-01-30 10:05:43 -01:00
Junicchi
2103948afe fix Undefined index ip problem, fixes #434 2024-01-30 10:05:43 -01:00
ben2613
f9cde257c0 Fix mobile browser hang issue when auto-reload by reducing DOM modification in forloop 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
27chan
6c816c21af Updating information
Adding Redis in the recommendations section.
Inserting a demo section.
2024-01-30 10:05:43 -01:00