|
d6bb4d21d8
|
database.php: set utf8mb4 charset
|
2024-12-08 01:35:15 +01:00 |
|
|
0a6d92d94b
|
ReportQueries.php: fix comment
|
2024-12-06 22:48:56 +01:00 |
|
|
b5622e20c5
|
ReportQueries.php: delete then invalidate cache
|
2024-12-06 22:48:26 +01:00 |
|
|
912a105d91
|
Merge branch 'report-queries' into 'config'
Fix #51: by using ReportQueries
Closes #51
See merge request leftypol/leftypol!15
|
2024-12-06 20:55:25 +00:00 |
|
|
554bfdea44
|
cache.php: make it more forgiving to old redis cache config
|
2024-12-06 21:43:36 +01:00 |
|
|
18f1aff2f6
|
pages.php: use ReportQueries
|
2024-12-06 21:14:13 +01:00 |
|
|
f6deafbc34
|
context.php: add ReportQueries class
|
2024-12-06 21:14:13 +01:00 |
|
|
8d8957cfeb
|
context.php: add PDO and database to context
|
2024-12-06 21:14:11 +01:00 |
|
|
72e2d02cca
|
ReportQueries.php: add implementation
|
2024-12-06 21:13:54 +01:00 |
|
|
5e45fc9d60
|
config.php: fix default config for redis cache
|
2024-12-06 21:09:08 +01:00 |
|
|
ac98a0459f
|
RedisCacheDriver.php: fixup
|
2024-12-06 21:09:08 +01:00 |
|
|
5ee20431e2
|
pages.php: mod_merge cast post id
|
2024-12-06 21:09:08 +01:00 |
|
|
e80160f18c
|
mod.php, pages.php: remove apc debug
|
2024-12-06 21:09:08 +01:00 |
|
|
8cf497eb93
|
post.php, mod.php: pass the context to check_login
|
2024-12-06 21:09:08 +01:00 |
|
|
4197b5a376
|
auth.php: pass context to mod_login
|
2024-12-06 21:09:08 +01:00 |
|
Zankaria
|
7ef2d42bb0
|
mod.php, pages.php: pass the context to the mod pages
|
2024-12-06 21:09:08 +01:00 |
|
Zankaria
|
cb71e00b50
|
mod.php: remove last mod_page_* handler, use only mod_* for mod pages
|
2024-12-06 21:09:08 +01:00 |
|
|
82fb30ce9a
|
polyfill.php: remove obsolete polyfills
|
2024-12-06 21:09:08 +01:00 |
|
|
5da430b0ba
|
RedisCacheDriver.php: better support unix sockets
|
2024-12-06 21:09:08 +01:00 |
|
|
8ad5e4cebd
|
polifill.php: add str_starts_with
|
2024-12-06 21:09:08 +01:00 |
|
|
8b586dc3bb
|
RedisCacheDriver.php: add false value support
|
2024-12-06 21:09:08 +01:00 |
|
|
9b5906effe
|
RedisCacheDriver.php: flush only the key-value pairs with matching prefix
|
2024-12-06 21:09:08 +01:00 |
|
|
39635cfa33
|
RedisCacheDriver.php: use extension provided serialization
|
2024-12-06 21:09:08 +01:00 |
|
|
39683db736
|
FsCacheDriver.php: collect expired cache items before operating on the cache
|
2024-12-06 21:09:08 +01:00 |
|
Zankaria
|
eca2ce0a8f
|
context.php: use shared cache driver
|
2024-12-06 21:09:07 +01:00 |
|
Zankaria
|
842b4fdcee
|
cache.php: wrap new cache drivers
|
2024-12-06 21:09:07 +01:00 |
|
|
33f83af1b1
|
driver: break up cache drivers
|
2024-12-06 21:09:07 +01:00 |
|
|
e85ccfab38
|
cache-driver.php: move to Data
|
2024-12-06 21:09:07 +01:00 |
|
Zankaria
|
8969b5816d
|
cache-driver.php: filesystem handle expired values.
|
2024-12-06 21:09:07 +01:00 |
|
|
14eae7e9f4
|
config.php: update cache documentation
|
2024-12-06 21:09:07 +01:00 |
|
|
2892520438
|
cache: implement cache locking for filesystem cache and give it multiprocess support
|
2024-12-06 21:09:07 +01:00 |
|
Zankaria
|
7dbab7c26c
|
context.php: add Dependency Injection container implementation
|
2024-12-06 21:08:47 +01:00 |
|
|
878cad6f06
|
functions.php: do not manually load anti-bot.php
|
2024-11-28 16:03:18 +01:00 |
|
|
120973a6b0
|
functions.php: supply pdo to _create_antibot
|
2024-11-28 16:01:50 +01:00 |
|
|
b459551ccb
|
anti-bot.php: use transactions
|
2024-11-28 16:01:24 +01:00 |
|
|
73bc23a4c7
|
remove mysql 5.5 support
|
2024-11-28 01:06:59 +01:00 |
|
|
5bd89a9437
|
config.php: update min max op body length doc
|
2024-11-27 23:12:58 +01:00 |
|
|
eb480975cd
|
config.php: add op min and max body configuration options
|
2024-11-27 21:28:04 +01:00 |
|
|
850958a45e
|
functions.php: add optional password check for has_any_history
|
2024-11-14 15:27:42 +01:00 |
|
|
ee4ba0ed26
|
functions.php: add caching to has_any_history
|
2024-11-12 15:11:25 +01:00 |
|
|
2904fb5f3e
|
config.php: add no post history error
|
2024-11-12 15:07:49 +01:00 |
|
|
06b0cb8484
|
config.php: add op_require_history option
|
2024-11-12 15:07:38 +01:00 |
|
|
2981859ac1
|
functions.php: add has_any_history function
|
2024-11-12 15:07:15 +01:00 |
|
|
09075b1465
|
pages.php: mod_reports rework query
|
2024-11-12 14:20:14 +01:00 |
|
|
c94a7cb403
|
pages.php: mod_reports signal if there are more reports than the limit
|
2024-11-12 14:20:12 +01:00 |
|
|
e7518dfe25
|
pages.php: format mod_reports
|
2024-11-12 14:19:52 +01:00 |
|
|
4c1a6d3c57
|
pages.php: skip reports deletion if auto maintenance is disabled
|
2024-11-04 23:13:14 +01:00 |
|
|
f7fd639d2d
|
pages.php: use modern array syntax
|
2024-11-04 23:11:21 +01:00 |
|
|
703637a948
|
config.php: restructure matrix configuration a bit
|
2024-11-04 22:57:57 +01:00 |
|
|
00d7073c25
|
cache.php: fix redis value decoding
|
2024-10-28 13:32:25 +01:00 |
|