Commit graph

5632 commits

Author SHA1 Message Date
49b0ade2d3 lib: remove vendored library 2024-12-17 17:55:57 +01:00
da1970d16f Merge branch 'user-browse-refactor' into 'config'
User browse wrapper class

See merge request leftypol/leftypol!16
2024-12-17 16:21:46 +00:00
0b4ac333c7 context.php: use UserPostQueries 2024-12-17 17:18:38 +01:00
3c2bc57245 pages.php: use UserPostQueries for mod_page_ip 2024-12-17 17:18:38 +01:00
71416afc75 UserPostQueries.php: add user post queries class 2024-12-17 17:18:38 +01:00
1d41ffbe4f anti-bot.php: include missing variable 2024-12-17 17:18:03 +01:00
b197c9ed43 docker: remove unused options in mysql 2024-12-17 17:17:44 +01:00
b03130fcb4 anti-bot.php: retry transaction upon deadlock 2024-12-17 17:13:49 +01:00
21155cbb06 functions.php: optimize listBoards a bit 2024-12-14 00:16:38 +01:00
d97c7f271e maintenance.php: use ReportQueries 2024-12-11 16:36:53 +01:00
5b231099b0 ReportQueries.php: fix filter for invalid reports 2024-12-11 16:33:49 +01:00
d3fdecfbb9 Add libsoc flag 2024-12-10 22:13:15 +01:00
d75f3fecf8 pages.php: use ReportQueries for the dashboard report counter 2024-12-08 23:16:25 +01:00
907656c0ff ReportQueries.php: remove obsolute code 2024-12-08 18:32:16 +01:00
efec014bd1 anti-bot.php: refactor antibot transaction handling 2024-12-08 18:19:35 +01:00
7fed118b1d ReportQueries.php: fix return type 2024-12-08 18:12:14 +01:00
b04cbdc4b7 ReportQueries.php: adjust db call and queries 2024-12-08 14:45:42 +01:00
222523e574 context.php: remove cache from ReportQueries 2024-12-08 13:30:12 +01:00
d3782562b8 ReportQueries.php: remove caching, since posts can be removed from the outside 2024-12-08 13:29:33 +01:00
88564ca12e log.php: pass context to mod_board_log 2024-12-07 16:37:21 +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
f29f626eb1 catalog.js: add comment doc 2024-12-06 22:19:52 +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
399e33c97a docker: fix compose dependency 2024-12-06 21:33:17 +01:00
5ec59a9a0f Merge branch 'context-port' into 'config'
Context and cache port

See merge request leftypol/leftypol!14
2024-12-06 20:23:55 +00:00
0a2b1b5439 post.php: use ReportQueries 2024-12-06 21:14:13 +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
cbcd743649 docker: add redis instance 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
ee9de3fe50 composer: add context.php 2024-12-06 21:09:08 +01:00
e58876a0ee mod.php: add missing context parameter 2024-12-06 21:09:08 +01:00
c0cce68f6b mod.php: $matches should always be an array 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
Zankaria
98fb50e050 mod.php: use modern array syntax 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