Commit Graph
100 Commits
Author SHA1 Message Date
Zankaria d1b06acbe9 mod.php: remove last mod_page_* handler, use only mod_* for mod pages 2024-08-11 15:45:24 +02:00
Zankaria 80be41f47a config.php: make config sub-arrays more opcache friendly 2024-08-11 15:39:21 +02:00
Zankaria ee20bf574a functions.php: format _create_antibot 2024-08-11 10:14:54 +02:00
Zankaria 0c074016e7 context.php: much better Dependency Injection implementation 2024-08-11 10:06:20 +02:00
Zankaria 37658f1817 install.php: fix HTTPS check 2024-05-17 14:13:40 +02:00
Zankaria 1b6d6f38f1 auth.php: add typing 2024-04-30 19:47:31 +02:00
Zankaria da4842eb7b auth.php: disallow unencrypted logins by default 2024-04-30 19:45:15 +02:00
Zankaria 0c51d46cdf auth.php: check if the cookie is set before deletion 2024-04-30 19:45:15 +02:00
Zankaria 9db8444c3c auth.php: use secured names and directives for mod cookies 2024-04-30 19:44:11 +02:00
Zankaria abdf82e1c8 auth.php: remove obsolete code 2024-04-30 19:44:11 +02:00
Zankaria 5a378dd605 config.php: reduce default login cookie expire timeout 2024-04-30 19:42:01 +02:00
Zankaria 5bb1202def Add num.php to autoloader 2024-04-30 15:57:02 +02:00
Zankaria f6960b8b3a functions.php: format and trim 2024-04-30 15:57:02 +02:00
Zankaria 7041cd13df functions: split off numeric functions 2024-04-30 15:56:59 +02:00
Zankaria 687e8e078a Add format.php to autoload 2024-04-30 15:56:56 +02:00
Zankaria b7eed34b83 functions: split off time formatting functions 2024-04-30 15:56:53 +02:00
Zankaria 39ce0e7dfc auth.php: trim 2024-04-30 11:36:11 +02:00
Zankaria af06d84094 style.css: limit user options panel width on mobile 2024-04-27 22:21:20 +02:00
Zankaria ebbb5fce53 Move twig template cache 2024-04-26 14:03:57 +02:00
Zankaria 4bb0f40cd1 index.html: trim 2024-04-24 17:01:38 +02:00
ZankariaandZankaria 5c99b0f4f3 docker: enable profiling with xdebug 2024-04-16 22:32:41 +02:00
ZankariaandZankaria fb191a0ffd docker: change compose database root password 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 575b265c74 docker: adjust php-fpm pool log config on compose 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 050bc59588 docker: enable JIT by default on compose 2024-04-16 22:32:41 +02:00
ZankariaandZankaria f8ea32376e docker: remove leftchan references from compose 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 5a5d315330 docker: remove leftypol branding from nginx compose 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 729219a3c4 docker: bootstrap remove leftypol specific files 2024-04-16 22:32:41 +02:00
ZankariaandZankaria d117619ce6 docker: boostrap script handle secrets.php, copy static files 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 5bdbe49f38 docker: move image to alpine linux 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 711e824153 docker: remove lainchan branding from compose file 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 9d9804db13 docker: compose mount local-www as root directory in nginx 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 79183ae8e6 docker: handle secrets.php 2024-04-16 22:32:41 +02:00
ZankariaandZankaria eb01768191 docker: use less used port for compose 2024-04-16 22:32:41 +02:00
ZankariaandZankaria c058ec12f9 Remove template/cache directory 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 1fed05c5ee docker: ignore empty gitkeep directories 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 2af07d006b docker: create empty robots.txt 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 8799c142b0 install.php: check that secrets.php is writable 2024-04-16 22:32:41 +02:00
ZankariaandZankaria efdf93e3dd template.php: trim 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 482962844a docker: fix missing tmp directory 2024-04-16 22:32:41 +02:00
ZankariaandZankaria cc8e458906 docker: split up application and dependency layers 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 1d385ad6aa docker: remove "meaningless" bits from nginx configuration 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 62f0e9894c docker: trim PHP configuration 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 90235b2bab docker: remove unused configuration 2024-04-16 22:32:41 +02:00
ZankariaandZankaria 8389c399bd Context: shorter lazy initialization 2024-04-16 22:30:37 +02:00
Zankaria a83bcf14a4 Context: simplify lazy initialization 2024-04-09 11:43:46 +02:00
Zankaria f93dd1fae5 Context: extract dependency building from the container 2024-04-09 11:33:06 +02:00
Zankaria fc716fd0a8 install.php: better SQL error reporting 2024-04-07 19:59:08 +02:00
Zankaria 710f6aa6c2 post.php: use logger 2024-04-04 12:44:37 +02:00
Zankaria 55cb6bc400 context.php: add log driver 2024-04-04 12:44:37 +02:00
Zankaria f05c290b67 log-driver.php: autoload the logging dirver 2024-04-04 12:44:37 +02:00
Zankaria 28395d55e5 Refactor the logging system 2024-04-04 12:44:37 +02:00
Zankaria 4d9d68b550 Substitute deprecated php functions calls 2024-04-04 11:09:43 +02:00
Zankaria eaacf27199 post.php: do not strip orientation metadata 2024-04-03 21:38:16 +02:00
Zankaria 6ceee8261e post.php: strip and reorient png and webp images 2024-04-03 21:34:51 +02:00
Zankaria 2bb1b0b9d4 post.php: remove double check 2024-04-03 21:24:10 +02:00
Zankaria 9072ce5992 post.php: strip metadata from png and webp image file types 2024-04-03 21:23:48 +02:00
Zankaria c91c58ed07 Fix: substitute deprecated string interning syntax 2024-04-03 19:18:41 +02:00
Zankaria 99133c90fa config.php: fix date time diplay documentation 2024-04-03 17:38:12 +02:00
Zankaria 4ffe91e384 templates: substitute deprecated functions 2024-04-03 17:33:53 +02:00
Zankaria 1fa60e7386 index.hmtl: trim template 2024-04-03 17:33:53 +02:00
Zankaria 7479360aad catalog.html: format template 2024-04-03 17:33:48 +02:00
Zankaria 9a014e8557 template.php: fix deprecated string interning syntax 2024-04-03 17:33:48 +02:00
Zankaria 542c9f3342 Remove check-updates functionality.
It relies on the defunct vichan.net website, no point keeping it around.
2024-04-03 14:38:26 +02:00
Zankaria f47332cdff Allow queue push to fail gracefully 2024-04-03 14:34:43 +02:00
Zankaria 09dc44ec40 functions.php: trim 2024-04-03 14:34:42 +02:00
Zankaria e61ed35aa0 Refactor queue.php 2024-04-03 14:33:51 +02:00
Zankaria 55034762b0 Format queue.php 2024-04-03 14:33:51 +02:00
Zankaria 760431606d Refactor lock.php 2024-04-03 14:33:51 +02:00
Zankaria 00b05099f3 Format lock.php 2024-04-03 14:33:51 +02:00
Zankaria d4bcc34d6d Add ban id to ban page. 2024-03-26 15:29:20 +01:00
Zankaria b739a8e846 banned.html: trim 2024-03-26 15:26:55 +01:00
Zankaria 018da09ac5 Fix CaptchaQueries naming 2024-03-26 14:16:19 +01:00
Zankaria 3e3fa057d5 bans.php: rebuild themes only if bans are deleted 2024-03-22 10:59:22 +01:00
Zankaria 67b88ec78f bans.php: group deletions 2024-03-22 10:59:13 +01:00
Zankaria a2eb3d9053 bans.php: trim 2024-03-22 10:57:10 +01:00
Zankaria 27ddd5158d psot.php: remove no-op lines 2024-03-21 16:15:49 +01:00
Zankaria e455080d42 post.php: refactor image metadata stripping into function 2024-03-21 16:02:09 +01:00
Zankaria af8240e166 Autoload CaptchaQueries 2024-03-21 15:14:13 +01:00
Zankaria dc903017ca Add CaptchaQueries 2024-03-21 15:14:13 +01:00
Zankaria 819ce71c55 Autload HttpDriver 2024-03-21 15:14:13 +01:00
Zankaria 2cad97775a post.php: use HttpDriver for remote file download 2024-03-21 15:14:13 +01:00
Zankaria c20b0ba6f0 Add context dependency container 2024-03-21 15:14:13 +01:00
Zankaria 3dc239e204 http-driver: refactor 2024-03-21 15:14:13 +01:00
Zankaria 65cebe9bd5 http-driver: add file size limit and timeout support 2024-03-21 15:14:13 +01:00
Zankaria 2a228e8ee4 Add http curl driver 2024-03-21 15:14:13 +01:00
Zankaria 2a8b69fa77 Add maximum report length 2024-03-15 16:37:59 +01:00
Zankaria d5109426d9 Prettier simple-antispam 2024-03-15 16:08:45 +01:00
Zankaria caa05e41a2 Add IPs of users deleting their own post to the mod log 2024-03-15 12:02:33 +01:00
Zankaria e2d771239c Critically enhance the simple antispam mechanism 2024-03-14 12:50:19 +01:00
Zankaria b25cffe12e functions.php: trim 2024-03-14 10:01:13 +01:00
Zankaria 2f88d0809f Remove APC support 2024-03-11 10:24:35 +01:00
Zankaria 0154e54f85 Remove xcache support 2024-03-11 10:24:35 +01:00
Zankaria 8cebc7f80c mod.php: trim 2024-03-11 10:24:35 +01:00
Zankaria 575cb856a5 install.php: trim 2024-03-11 10:24:35 +01:00
Zankaria 6715991cdd README: trim 2024-03-11 10:24:35 +01:00
Zankaria 58134f8cde cache.php: trim 2024-03-11 10:24:35 +01:00
Zankaria f683c72c39 config.php: trim 2024-03-11 10:24:30 +01:00
Zankaria 9ae988dd6f post.php: refactor image OCR into function 2024-03-08 10:24:02 +01:00
Zankaria 8978bb5442 post.php: fix bad call to download_file_into with wrong argument 2024-03-07 12:37:17 +01:00
Zankaria cb7a6ecf45 Remove obsolete dbschema.sql 2024-02-19 15:48:56 +01:00