Commit Graph

4284 Commits

Author SHA1 Message Date
Lorenzo Yario f5328a436c Revert "Share REST call code and separate components via dependency injection" 2024-03-30 22:24:20 -07:00
Lorenzo Yario 3d2f0b6a1b Merge pull request #688 from Zankaria/add-dep-injection
Share REST call code and separate components via dependency injection
2024-03-30 22:15:44 -07:00
Lorenzo Yario 45f476084e Merge pull request #693 from Zankaria/premade-ban-reasons
Add premade ban reasons
2024-03-30 22:15:20 -07:00
Lorenzo Yario 38b47a0844 Merge pull request #698 from Zankaria/calc-file-size-after-strip
Calculate the file size after stripping the metadata off an image.
2024-03-30 22:15:10 -07:00
Lorenzo Yario afe7c73195 Merge pull request #699 from Zankaria/remove-no-op
Remove no-op lines from post.php
2024-03-30 22:14:58 -07:00
Lorenzo Yario 55984b4260 Merge pull request #700 from Zankaria/optimize-ban-queries
Optimize Bans queries
2024-03-30 22:14:47 -07:00
Lorenzo Yario b10ca57da1 Merge pull request #666 from Zankaria/fix-composer
Fix composer.json platform
2024-03-30 21:21:30 -07:00
Lorenzo Yario c5ca05185f Merge pull request #702 from Zankaria/show-ban-id2
Show ban id on ban page.
2024-03-27 18:10:52 -07:00
Zankaria d4bcc34d6d Add ban id to ban page. 2024-03-26 15:29:20 +01:00
Zankaria b739a8e846 banned.html: trim 2024-03-26 15:26:55 +01:00
Zankaria 018da09ac5 Fix CaptchaQueries naming 2024-03-26 14:16:19 +01:00
Zankaria 3e3fa057d5 bans.php: rebuild themes only if bans are deleted 2024-03-22 10:59:22 +01:00
Zankaria 67b88ec78f bans.php: group deletions 2024-03-22 10:59:13 +01:00
Zankaria a2eb3d9053 bans.php: trim 2024-03-22 10:57:10 +01:00
Zankaria 27ddd5158d psot.php: remove no-op lines 2024-03-21 16:15:49 +01:00
Zankaria e455080d42 post.php: refactor image metadata stripping into function 2024-03-21 16:02:09 +01:00
discomrade 0cefa9353b Recalculate filesize after stripping metadata 2024-03-21 15:42:48 +01:00
Zankaria af8240e166 Autoload CaptchaQueries 2024-03-21 15:14:13 +01:00
Zankaria dc903017ca Add CaptchaQueries 2024-03-21 15:14:13 +01:00
Zankaria 819ce71c55 Autload HttpDriver 2024-03-21 15:14:13 +01:00
Zankaria 2cad97775a post.php: use HttpDriver for remote file download 2024-03-21 15:14:13 +01:00
Zankaria c20b0ba6f0 Add context dependency container 2024-03-21 15:14:13 +01:00
Zankaria 3dc239e204 http-driver: refactor 2024-03-21 15:14:13 +01:00
Zankaria 65cebe9bd5 http-driver: add file size limit and timeout support 2024-03-21 15:14:13 +01:00
Zankaria 2a228e8ee4 Add http curl driver 2024-03-21 15:14:13 +01:00
Lorenzo Yario 0c3159673d Merge pull request #692 from Zankaria/simple-antispam
Prettier simple-antispam documentation
2024-03-16 15:39:57 -07:00
Lorenzo Yario 70410e5e61 Merge pull request #695 from Zankaria/post-delete-ip-modlog
Report in the modlog the IP that deleted their own post
2024-03-15 13:23:08 -07:00
Lorenzo Yario 32d3573e56 kept since it sounds better 2024-03-15 13:22:45 -07:00
Lorenzo Yario 3c23e01dab Merge pull request #696 from Zankaria/ban-appeals-limits
Add maximum length of ban appeal
2024-03-15 09:48:25 -07:00
Lorenzo Yario 44684496c7 Merge pull request #697 from Zankaria/report-limits
Limit the report length
2024-03-15 09:47:06 -07:00
Zankaria 2a8b69fa77 Add maximum report length 2024-03-15 16:37:59 +01:00
vholmes 61cdca7207 Prevents reports with too many characters 2024-03-15 16:34:05 +01:00
Zankaria d5109426d9 Prettier simple-antispam 2024-03-15 16:08:45 +01:00
discomrade e80549a881 Enforce maximum length of ban appeal 2024-03-15 16:02:35 +01:00
Zankaria caa05e41a2 Add IPs of users deleting their own post to the mod log 2024-03-15 12:02:33 +01:00
discomrade 43973862dd Added Feature - Premade Ban Reasons
see https://git.leftypol.org/leftypol/leftypol_vichan/commit/13ac9172e7467519a4dfcab8c6919e05fcc05438
2024-03-14 15:55:49 +01:00
Lorenzo Yario 3ac86a074a Merge pull request #687 from Zankaria/trim-functions
Trim the whitespace in functions.php
2024-03-14 06:12:42 -07:00
Lorenzo Yario 9841102494 Merge pull request #691 from vichan-devel/simplespamfix
Simplespamfix
2024-03-14 06:11:58 -07:00
Lorenzo Yario f48cf068d6 make case-insensitive 2024-03-14 06:10:18 -07:00
Lorenzo Yario 954bb08762 disable by default, like other captchas 2024-03-14 06:06:28 -07:00
Lorenzo Yario 28df28de26 add some more info about this as this is basically questycaptcha 2024-03-14 06:05:43 -07:00
Lorenzo Yario 33534b5856 fix critical typo for simple spam 2024-03-14 05:58:23 -07:00
Lorenzo Yario e3ae4aee80 Merge pull request #689 from Zankaria/faster-delete
Speed up page builds on delete
2024-03-14 05:22:34 -07:00
Lorenzo Yario 032a6f42e3 Merge pull request #690 from Zankaria/simple-antispam
Add simple antispam
2024-03-14 05:22:22 -07:00
Zankaria e2d771239c Critically enhance the simple antispam mechanism 2024-03-14 12:50:19 +01:00
Your Name 6dabfa08bc Simple anti-spam mechanism 2024-03-14 12:50:19 +01:00
nonmakina fff3e11c48 use more cache. Speeds up page builds (#72)
use more cache. Speeds up page builds.
Tested as much as reasonably possible. Works well.
cuts self delete from ~8 seconds to ~1 second. and mod delete from 10-14 seconds to ~4 seconds.
Co-authored-by: nonmakina <nonmakina@leftypol.org>
Co-committed-by: nonmakina <nonmakina@leftypol.org>
2024-03-14 12:28:02 +01:00
Zankaria b25cffe12e functions.php: trim 2024-03-14 10:01:13 +01:00
Lorenzo Yario 0296301fff use the current domain 2024-03-11 18:54:20 -07:00
Lorenzo Yario e855d5213b Update README.md 2024-03-11 16:17:02 -07:00