Commit Graph

4561 Commits

Author SHA1 Message Date
Zankaria 453ae795f5 composer.json: autoload theme.php 2024-08-16 18:24:48 +02:00
Zankaria b2df2ab2a5 theme.php: extract theme functions from functions.php 2024-08-16 18:24:26 +02:00
Lorenzo Yario e16dc142b7 Merge pull request #786 from Zankaria/config-opcache
Make configuration sub-arrays more opcache friendly
2024-08-11 17:03:17 -07:00
Lorenzo Yario 420ec4a852 Merge pull request #787 from Zankaria/mod-page
Unify mod page handlers
2024-08-11 17:02:57 -07:00
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
Lorenzo Yario f3e81c80d9 Merge pull request #784 from Zankaria/micro-di
(What should be a) much better Dependency Injection implementation
2024-08-11 03:05:47 -07:00
Lorenzo Yario b3ae38da57 Merge pull request #785 from Zankaria/batch-maintenance
Batch maintenance
2024-08-11 03:05:31 -07:00
Zankaria 51e0616eb8 bans.php: fix forgot to extract the mask 2024-08-11 12:04:12 +02:00
Zankaria 7e4acbb6d2 bans.php: FIX every IP matching to any ban that was going to expire eventually 2024-08-11 12:04:12 +02:00
Zankaria ffe855222e bans.php: do not deserialize post that does not exist 2024-08-11 12:04:12 +02:00
Zankaria 1e0a95ce83 maintenance.php: fix and update logs 2024-08-11 12:04:12 +02:00
Zankaria c4e3541b15 config.php: purge_bans configuration into the proper section 2024-08-11 12:04:12 +02:00
Zankaria ede7591702 bans.php: refactor to expose the moratorium on ban deletion from the database.
Also fixes the 'purge_bans' configuration for non-cache deployments.
2024-08-11 12:04:12 +02:00
Zankaria c057c6df29 functions.php: skip ban deletion on auto_maintenance disabled 2024-08-11 12:04:12 +02:00
Zankaria 4d97e69620 maintenance.php: add purging antispam to the tool 2024-08-11 12:04:12 +02:00
Zankaria e5bbdb9d28 functions.php: make automated antispam puring optional 2024-08-11 12:04:12 +02:00
Zankaria cc5e96eb9d bans.php: use modern array syntax 2024-08-11 12:04:12 +02:00
Zankaria 82b8eb1e74 bans.php: group deletion policy 2024-08-11 12:04:12 +02:00
Zankaria 2298d4433f bans.php: use modify inplace 2024-08-11 12:04:12 +02:00
Zankaria accca93084 Add maintenance.php to the tools 2024-08-11 12:04:12 +02:00
Zankaria cbaf19cb7a bans.php: make the purge configurable 2024-08-11 12:04:12 +02:00
Zankaria 75714505a0 config.php: add auto_maintenance configuration option 2024-08-11 12:04:10 +02:00
Zankaria 36476f6341 bans.php: split find implementations 2024-08-11 11:53:27 +02:00
Zankaria 980b2ef7bf bans.php: split findSingle implementations 2024-08-11 10:28:08 +02:00
Zankaria e4707ee2a8 Delete stale unreferenced ban appeals via foreign key constrain 2024-08-11 10:20:02 +02:00
Zankaria 00cc1f434d anti-bot.php: add comments to _create_antibot 2024-08-11 10:17:14 +02:00
Zankaria ee20bf574a functions.php: format _create_antibot 2024-08-11 10:14:54 +02:00
Zankaria 609da43548 anti-bot.php: trim 2024-08-11 10:13:44 +02:00
Zankaria 0c074016e7 context.php: much better Dependency Injection implementation 2024-08-11 10:06:20 +02:00
Lorenzo Yario e5d423e595 revert column behavior 2024-08-09 00:43:43 -07:00
Lorenzo Yario 230cc252c5 add changes from #782 2024-08-09 00:39:08 -07:00
Lorenzo Yario 0fbf2f6f77 Merge pull request #781 from Zankaria/main-js-refactor
Refactor main.js
2024-08-08 23:41:29 -07:00
Zankaria 4445254b00 expand-video.js: onReady 2024-08-05 19:21:09 +02:00
Zankaria 85b03c0fb0 expand-video.js: format 2024-08-05 19:20:55 +02:00
Zankaria d9a333a69f expand-all-images.js: onReady 2024-08-05 19:15:42 +02:00
Zankaria e92e9469a8 expand-all-images.js: format 2024-08-05 19:15:26 +02:00
Zankaria 41f9aed606 inline-expanding-filename.js: onReady 2024-08-05 19:14:06 +02:00
Zankaria 5306f1d1f9 inline-expanding-filename.js: format 2024-08-05 19:14:04 +02:00
Zankaria 2749567c3f download-original.js: onReply 2024-08-05 19:11:32 +02:00
Zankaria 44e9a5aa57 download-original.js: format 2024-08-05 19:11:23 +02:00
Zankaria 5550bc4212 catalog-search.js: onReady 2024-08-05 19:09:05 +02:00
Zankaria d9d05ddbf5 catalog-search.js: format 2024-08-05 19:08:55 +02:00
Zankaria d9feb5cfa7 catalog.html: onReady 2024-08-05 19:03:24 +02:00
Zankaria b7f46a239d show-backlinks.js: onReady 2024-08-05 19:01:27 +02:00
Zankaria 2728966c1c show-backlinks.js: format 2024-08-05 19:01:08 +02:00
Zankaria ed46907a6c post-hover.js: onReady 2024-08-05 19:00:12 +02:00
Zankaria 31444d654a post-hover.js: format 2024-08-05 18:59:44 +02:00
Zankaria 6bea01b00b youtube.js: onReady 2024-08-05 18:50:35 +02:00
Zankaria 023e59d88f youtube.js: format 2024-08-05 18:50:23 +02:00