Commit Graph

2046 Commits

Author SHA1 Message Date
towards-a-new-leftypol e25908d87e Spamnoticer - manual ban: check if files field is set 2023-10-11 13:47:52 -04:00
towards-a-new-leftypol 9d48a5bbe1 disable anti-bot (prevents some users from posting) 2023-10-01 13:29:14 -04:00
towards-a-new-leftypol 4d6ee132dc relax posting rules for single ip, notice spam after doing filters 2023-09-25 13:49:33 -04:00
towards-a-new-leftypol 45dc42692f print_err only when spamnoticer didn't succeed (reduce noise) 2023-09-25 00:37:55 -04:00
towards-a-new-leftypol fb31845bde enable spamnoticer 2023-09-24 22:21:24 -04:00
towards-a-new-leftypol 1709e6e8e2 disable debug 2023-09-24 21:17:27 -04:00
towards-a-new-leftypol f370b45c70 Fix twig date filter
- using strftime instead of gmstrftime caused the times to be displayed wrong
- copy the code for a shim of strftime, modify it to become gmstrftime
2023-09-25 01:12:27 +00:00
towards-a-new-leftypol 9dbfcf9d42 remove ancient configs 2023-09-25 00:40:09 +00:00
towards-a-new-leftypol e60d79f1fd disable spam_noticer for now 2023-09-24 19:15:18 -04:00
towards-a-new-leftypol 24923c6216 add link to edit news entries on mod dashboard 2023-09-24 19:14:33 -04:00
towards-a-new-leftypol 786773a2a8 remove print_err statements in post (not needed) 2023-09-24 14:17:18 -04:00
towards-a-new-leftypol 81831505e2 Fix up config for production 2023-09-21 15:19:03 -04:00
towards-a-new-leftypol 7ed6bb7871 much better messaging from spamnoticer, don't just dump the log 2023-09-21 05:42:42 +00:00
towards-a-new-leftypol d6831782b5 Only send thread_id property if we have a thread
Null values are not allowed
2023-09-08 22:57:42 +00:00
towards-a-new-leftypol 3fa80c6e39 Add permissions checks for spam_noticer ui 2023-09-07 20:22:10 +00:00
towards-a-new-leftypol 598aed5b7e enable ant-bot 2023-09-05 18:47:56 +00:00
towards-a-new-leftypol 490c766a06 Print statements 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol a6cd12ed9f Fixes: ban page spamnoticer logic fix, don't call setcookie with null arg 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol 7c43eca49d PHP8: Fix warnings 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol 39e5960369 Make spamnoticer aware of users deleting their own posts 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol 29b45e7a11 Add delete_token column to post_* tables
- stores the delete_token uuid for telling spamnoticer
  that the post has been deleted
- passes the token to spamnoticer
2023-09-05 14:26:46 -04:00
towards-a-new-leftypol 3ed80a4cd3 Ban&Delete page can now also post to spamnoticer 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol a0fc3956fe Sends POST request to spamnoticer /add_post_to_known_spam 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 824fd148c9 spamnoticer: include marking body as spam when parsing 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol a56f585740 spamnoticer WIP: parse new values being posted to mod_ban_page 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol a45f3f34a3 SpamNoticer: render out post on ban page with extra checkboxes to allow flagging different parts of it for spamnoticer 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 16286aa62b In ban form, display the post so we can select which parts of it to mark as spam (for spamnoticer) 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 0aa7417c09 formatting: retab functions 2023-09-05 14:25:06 -04:00
towards-a-new-leftypol 1c677e62ed Small fixes to fix rebuilding
- use JSMin from composer (needed an upgrade to work anyway)
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 70847aeff3 formatting: retab some files 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 3d48ccf7e2 More fixes after upgrading to php8 broke everything
- call openBoard inside of catalog build. I have no idea
how it could have been defined before because it depends on a global
variable $board which seems to be only globally defined by openBoard in
functions.php, but that's called later. the fix is to just call
openBoard, that's what tinyboard does.

(somehow the code expected the uri to already be set)
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol d79a8ea78f Twig 3: Use verbatim instead of raw tag in templates
- also ensure we don't pass a null in one of the functions in
  functions.php
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 6b129556ef Autoformat Tinyboard.php 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 4cfbec0504 Fix Tinyboard Twig extension date filter 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 823115ef9d autoformat error.php 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 613fde283b PHP8: error.php working better... 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 1228b2f99d PHP 8: Get login page to work (using twig 3) 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 4082c94bf3 super minor spacing fix 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol c3d2ea8f67 PHP 8: Fix loading Twig 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 1116c8ecd0 autoformat template.php 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 5afef217e6 PHP 8: Use twig from composer 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 5ed5c6edc8 Use lifo/ip library from composer
- this library needed an update anyway as the first step in making
this work on php8
2023-09-05 14:22:17 -04:00
towards-a-new-leftypol ee803af521 commit permissions change on files from 755 to 644 2023-09-05 14:22:17 -04:00
towards-a-new-leftypol 5478cf5738 POST out to spamnoticer 2023-09-05 14:22:12 -04:00
towards-a-new-leftypol 495a2d7af0 set flood values to negatives so they for sure are ignored 2023-09-05 14:21:33 -04:00
towards-a-new-leftypol 534c5ca9d8 remove boards we don't actually have 2023-09-05 14:20:43 -04:00
towards-a-new-leftypol 4d1f48a621 fix some formatting in instance-config 2023-08-30 14:15:27 -04:00
towards-a-new-leftypol ec45843c60 Remove link to pleroma from board message 2023-08-14 18:49:22 -04:00
towards-a-new-leftypol ee26c83cf0 Get the board back to previous state 2023-08-12 23:20:18 -04:00
xxComatoastxx a2867c1d63 Fixed missing colon in character class line: 2001/2048 2023-01-04 02:45:54 -08:00