Commit graph

5016 commits

Author SHA1 Message Date
Zankaria
7805530e41 banned.html: adjust image size 2024-04-10 11:59:21 +02:00
Zankaria
2092661af4 banned.html: change ban image to stalin's purge list 2024-04-10 11:59:17 +02:00
Zankaria
b50578ffa9 Fix SQL error key too long on installation 2024-04-07 19:55:14 +02:00
Zankaria
fd890cefd7 install.php: better SQL error reporting 2024-04-07 19:55:03 +02:00
Zankaria
ef936d60a9 bans.php: format 2024-04-04 15:57:08 +02:00
2e6a0aa06a Merge pull request 'Add WEBP to list of supported file types' (#114) from zeke/leftypol:config into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/114
2024-04-04 13:31:01 +00:00
zeke
9c978fd5f8 Add WEBP to list of supported file types 2024-04-03 20:54:43 -07:00
Lorenzo Yario
46e61a71cf webp 2024-04-03 20:07:16 +02:00
Zankaria
cb5b465c57 post.php: do not strip orientation metadata 2024-04-03 20:00:04 +02:00
Zankaria
97e41d1c7f post.php: strip metadata from png and webp image file types 2024-04-03 19:53:53 +02:00
Zankaria
8e5b09c687 Add webp to list of recognized image file types 2024-04-03 19:41:14 +02:00
0a1412b74f post.php: fix undefined post on report 2024-04-01 22:17:22 +02:00
e496fb10a5 Handle reporting non-existing posts. Fix #96 2024-04-01 19:20:23 +02:00
5709513cb7 Merge pull request 'Fix #19 Show ban ID' (#113) from show-ban-id into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/113
2024-03-26 15:18:50 +01:00
Zankaria
1de62d4ddd Add ban id to ban page. Fix #19 2024-03-26 15:16:11 +01:00
Zankaria
48347ae1cd banned.html: trim 2024-03-26 15:05:26 +01:00
Zankaria
98ef473a9a functions.php: trim 2024-03-26 15:00:15 +01:00
Zankaria
c696ad4fa2 Add IPs of users deleting their own post to the mod log. See #109 2024-03-15 10:09:14 +01:00
Zankaria
cb4726e076 post.php: trim 2024-03-15 10:08:34 +01:00
Zankaria
b742445f50 Add overboard index support. Yet another ugly hack 2024-03-13 13:44:09 +00:00
aca9ca0d7b Merge pull request 'Hack in support for the overboard catalog. Solves #94' (#107) from overboard-catalog-hack into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/107
2024-03-13 12:42:22 +00:00
Zankaria
91e41aa522 Refactor overboard catalog support to be slightly less bad 2024-03-13 13:35:48 +01:00
Zankaria
6fcd4f4779 Add overboard catalog support. This is an horrenouds hack. Pray to god we manage to refactor it away. See #94 2024-03-13 12:32:46 +00:00
leftypol
6ac0e47f15 Merge pull request 'Get Docker image creation working' (#97) from zeke/leftypol:config into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/97
2024-02-11 09:08:24 +00:00
zeke
39412b4427 Apply suggested changes 2024-02-09 11:01:07 -08:00
zeke
3191ef3105 Remove unused Dockerfile 2024-02-07 12:03:05 -08:00
zeke
17820b31c4 Fix user and group creation for docker containers 2024-02-07 10:58:34 -08:00
zeke
57a6154287 Update script with php/web container differences 2024-02-04 23:34:17 -08:00
zeke
64ba328c3b Remove extension lines (added by docker-php-ext-enable) 2024-02-04 23:29:38 -08:00
zeke
dcc936b35d Use two Dockerfiles, move Docker stuff to /docker 2024-02-01 18:05:08 -08:00
Zankaria
ea99ddc6f6 Reimplement overboard 2024-01-29 11:18:06 +01:00
Zankaria
2efd67ef85 Backport vichan 5.1.5 catalog implementation, enabling mod catalog. 2024-01-29 11:18:06 +01:00
leftypol
264c10cf2a Merge pull request 'Add the edit_news link to the mod dashboard. Fixes #83' (#87) from news_in_dashboard into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/87
2024-01-29 11:18:06 +01:00
leftypol
c559d2cd41 Merge pull request 'Update dependencies for Docker image' (#85) from zeke/leftypol:config into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/85
2024-01-29 11:18:06 +01:00
Zankaria
45f310e4e3 Add the edit_news link to the mod dashboard 2024-01-29 11:18:06 +01:00
Zankaria
41016b1ca2 Add missing comment doc in post.php 2024-01-29 11:18:06 +01:00
zeke
38afe37733 Update dependencies for Docker image 2024-01-29 11:18:06 +01:00
Zankaria
b16e891768 .gitignore more stuff 2024-01-29 11:18:06 +01:00
Zankaria
a4b5bf341b Refactor post.php: isolate more db access and remote REST calls into functions. 2024-01-29 11:18:06 +01:00
Zankaria
fd9baaea5f post.php: sanitize appeal message 2024-01-29 11:18:06 +01:00
Zankaria
854cc6cd23 Remove geoip dependency 2024-01-29 11:18:06 +01:00
Zankaria
a9211d23b5 Remove feature: upload by url 2024-01-29 11:18:01 +01:00
Zankaria
df2fe0e60f Minor format post.php 2024-01-16 18:05:33 +00:00
Zankaria
56b6d6b1aa Refactor post.php: split upload by url file downloading into a function. 2024-01-16 18:05:33 +00:00
Zankaria
df78f0e79f Refactor post.php: move post body's markup splitting into a separate function 2024-01-16 18:05:33 +00:00
Zankaria
799072d692 Refactor post.php: split upload file hashing to a function 2024-01-16 18:05:33 +00:00
Zankaria
8faf20f7ff Format post.php in accordance with PSR-12 2024-01-16 18:05:33 +00:00
Zankaria
5c0d0a8ca1 ban page: remove max-height from table rows, since it doesn't work anyway 2024-01-16 18:05:24 +00:00
Zankaria
1b00660d33 Format bans page fix patch 2024-01-16 18:05:16 +00:00
Zankaria
1adcb13cc1 Fix bans page 2024-01-16 18:04:57 +00:00