Commit Graph

5100 Commits

Author SHA1 Message Date
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 b59d219e97 Merge branch 'spamnoticer_rb' into fix_css 2023-09-21 15:12:34 -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 dc8e5c61dc auth-proxy: use the same request method (wasn't doing DELETE) 2023-09-20 15:43:57 -04:00
towards-a-new-leftypol 3b9da8273c add R9K to sfw overboards config 2023-09-12 08:17:33 -04:00
towards-a-new-leftypol 39bf7ed5fb add r9k to nsfw 2023-09-11 18:06:38 -04: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 37ac429d60 Add link to spamnoticer ui on mod dashboard 2023-09-06 23:03:30 +00:00
towards-a-new-leftypol 565cc49415 auth-proxy redirects to mod page if we're not authenticated. seems to work well enough 2023-09-06 21:51:20 +00:00
towards-a-new-leftypol 598aed5b7e enable ant-bot 2023-09-05 18:47:56 +00:00
towards-a-new-leftypol 4e0ba09299 Simple proxy file using curl 2023-09-05 14:29:46 -04: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 e7ce8f2102 PHP8: More fixes when posting 2023-09-05 14:26:23 -04:00
towards-a-new-leftypol 1302dcab74 PHP8: Fix posting 2023-09-05 14:26:20 -04:00
towards-a-new-leftypol 4162d94f15 Revert "Fix catalog page when having hats on"
This reverts commit 0bfd622131be91b7afb72ca3ad86e63f5d0d7be4.
2023-09-05 14:25:10 -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 b634edd6e2 Fix catalog page when having hats on 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 724e8f674b Fix checkbox for marking post body as spam (ban page) 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 208a57e009 irrelevant style change to party hats 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 2c558908b6 SpamNoticer: add illegal checkbox to files 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 0dce0f1d8a retab fileinfo.html 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 652ae7639e minor edit to message on ban page 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 0f16b9bf93 Add css for party hats (commented out) 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 9ff07a9369 retab on tools/rebuild.php 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol c43a0c1a96 Fix rebuild.php script to run to completion 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 84b8597dde Fix issue in displaying mod pages (demote/promote and ban+delete), need to test others 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 391d4bd70b Twig3: fix trans tag in view_ip.html 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol f5d61cc459 formatting: retab files 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 4156c2465c Fixed mod page function call, minor template fixes 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 151c64110d Fix homepage building
- fix sql query that returned rows without files, the only
reason the size summation function worked was because php regexes used
to allow a null argument. Now returns less rows and only those with
files (original sql was semantically wrong)
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol e7de262d71 Twig3: templates - change filter tag to apply tag 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 a0450e49fe retab config-editor.html 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 8e6d472388 Twig3: Fix config-editor.html for loops 2023-09-05 14:24:06 -04:00