Lorenzo Yario
|
39876f3cc7
|
Merge pull request #795 from Zankaria/api-modern
Modernize (a bit) the Api class
|
2024-08-16 21:43:17 -07:00 |
|
Lorenzo Yario
|
84a3bedd18
|
Merge pull request #796 from Zankaria/mod-use-di
Add the context dependency injection container to the mod pages
|
2024-08-16 21:43:07 -07:00 |
|
fowr
|
4f68166870
|
api.php: using depedency injection instead of globals
|
2024-08-16 19:26:19 +02:00 |
|
Zankaria
|
d408ed0413
|
theme.php: rename functions to snake_case
|
2024-08-16 18:33:02 +02:00 |
|
Zankaria
|
b2df2ab2a5
|
theme.php: extract theme functions from functions.php
|
2024-08-16 18:24:26 +02:00 |
|
Zankaria
|
81aebef2f4
|
pages.php: use modern array syntax for new empty arrays
|
2024-08-15 17:21:41 +02:00 |
|
Zankaria
|
b64bac5eb8
|
pages.php: use the context to access the configuration array
|
2024-08-15 17:13:43 +02:00 |
|
Zankaria
|
524ae94624
|
mod.php: pass the context to the mod pages
|
2024-08-15 17:13:34 +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 |
|
Zankaria
|
4d8a4db338
|
api.php: partially modernize the Api class
|
2024-08-11 16:14:03 +02: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 |
|
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
|
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
|
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
|
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
|
d78f865645
|
Merge pull request #779 from Zankaria/ban-query-truncate
Fix new_ban failing due to the message body being too big
|
2024-08-03 23:16:11 -07:00 |
|
seisatsu
|
098edb9cd7
|
Add a spam filter that unshortens urls
|
2024-07-31 12:44:39 -05:00 |
|
Zankaria
|
4bc69be4bc
|
bans.php: fix new_ban failing due to the message body being too big
|
2024-07-27 15:27:44 +02:00 |
|
Weav
|
fee67b6719
|
Merge branch 'dev' into hash-passwords
|
2024-06-20 13:21:05 +00:00 |
|
fowr
|
fff9b88c6d
|
hash poster passwords
|
2024-06-20 10:11:47 -03:00 |
|
Lorenzo Yario
|
809ab99c9b
|
allow images for markdown
|
2024-06-05 18:02:08 -07:00 |
|
Lorenzo Yario
|
878a67389a
|
Merge pull request #758 from Zankaria/refactor-ban-log
Refactor ban log
|
2024-05-22 23:15:30 -07:00 |
|
Zankaria
|
88a48befd4
|
pages.php: use link to create hardlinks instead of full file copy for thread moving
|
2024-05-23 00:05:43 +02:00 |
|
Zankaria
|
7e4dd5567b
|
bans.php: always print modLog
|
2024-05-22 22:14:38 +02:00 |
|
Zankaria
|
8963ebfce9
|
bans.php: simplify modLog string
|
2024-05-22 22:14:08 +02:00 |
|
Lorenzo Yario
|
605f198d8c
|
fix bug with datetime
|
2024-05-16 22:51:20 -07:00 |
|
Lorenzo Yario
|
7899476323
|
Merge pull request #746 from Zankaria/secure-login-triple
Rework secure_login_only configuration option to allow secure default and header checking
|
2024-05-16 00:55:16 -07:00 |
|
Zankaria
|
d700aa0522
|
Rework secure_login_only configuration option to allow secure default and header checking
|
2024-05-11 16:02:15 +02:00 |
|
Zankaria
|
9f46f0fdd4
|
functions.php: do not fail fail_unlink if the file does not exist
|
2024-05-11 15:38:17 +02:00 |
|
fowr
|
ba2daa88e6
|
fix conversion of false to array
|
2024-05-11 15:38:17 +02:00 |
|
Lorenzo Yario
|
519dd27221
|
but we're using datetime
|
2024-05-11 05:03:35 -07:00 |
|
Lorenzo Yario
|
cc55563411
|
let's continue to use current date/time formatting
|
2024-05-11 04:58:59 -07:00 |
|
Lorenzo Yario
|
273722dc7e
|
set to false by default. this'll probably become true eventually though
|
2024-05-11 04:45:39 -07:00 |
|