Commit Graph

408 Commits

Author SHA1 Message Date
towards-a-new-leftypol ae134d0e2b Fix error when posting as a mod to a locked board 2023-12-18 05:01:26 +00:00
towards-a-new-leftypol 483f0c8b4f Fix filters, disallow urls in name/subj/email using filters 2023-12-17 12:29:55 +00:00
towards-a-new-leftypol 29349e4083 Fix unsupported image formats were making it into spamnoticer
- Unspported images were getting denied by the board, but
  only after they have gotten into spamnoticer
- Refactor the code a little bit to check image mimetypes first
2023-12-17 05:58:37 -05: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 786773a2a8 remove print_err statements in post (not needed) 2023-09-24 14:17:18 -04: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 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 5478cf5738 POST out to spamnoticer 2023-09-05 14:22:12 -04:00
discomrade 52c5565625 Fix typos in https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/336 2021-08-21 18:35:53 -04:00
discomrade e0595f3d68 Fix 387ebe9c0c , extract limit to variable 2021-08-21 18:35:27 -04:00
vholmes bb0b7007fd Prevents reports with too many characters 2021-08-21 18:35:08 -04:00
discomrade 816b593aa1
Recalculate filesize after stripping metadata 2021-07-06 11:37:54 +00:00
discomrade b55efb61ed Redirect to thread after deleting child post 2021-07-04 00:12:08 +00:00
discomrade 045ae89764 Improve filter 2021-06-29 06:48:07 +00:00
towards-a-new-leftypol b64086ff26 Remove duplicate block for captcha to work on dev 2021-05-08 06:28:46 -04:00
discomrade a1bdba3770 Add basic captcha 2021-05-05 10:29:06 -02:00
dedushka1 8dda13f206
Merge pull request #178 from nonmakina/bumplockIndicator
Implements fixes and changes to be able to view the bumplock status of a thread
2021-01-19 14:51:08 -05:00
nonmakina c838a10bce Adds checks for mod permissions to delete posts in board 2021-01-18 01:40:04 -06:00
nonmakina 8c842362bb If mod, bypass password on delete 2021-01-18 01:35:18 -06:00
nonmakina 906ed844d3 Implements fixes and changes to be able to view the bumplock status of a thread 2021-01-17 21:31:06 -06:00
towards-a-new-leftypol 837e8d3c6e
Merge pull request #116 from nonmakina/fixReporting
Fixes reporting function
2021-01-10 11:15:24 -05:00
nonmakina 02b4b96ffb Whitespace and removed error. 2021-01-09 19:26:59 -06:00
nonmakina c04c9bcb6a Removes ability to delete own threads. 2021-01-09 19:24:53 -06:00
nonmakina 554c51aa91 Fixes reporting function 2021-01-09 15:54:30 -06:00
towards-a-new-leftypol dfcb1c6fbd Retab post.php so that tabs are now 4 spaces.
- I will be doing this for any file I edit from here on in
2020-12-29 20:14:42 -05:00
towards-a-new-leftypol d0540a71d0 Remove debugging print statements I put in a long time ago from post.php 2020-12-29 20:10:49 -05:00
towards_a_new_leftypol 07babc37ed WIP 2020-12-22 01:35:54 -05:00
towards_a_new_leftypol c595bfbabd print statements and relax rules in config 2020-12-22 01:34:51 -05:00
towards_a_new_leftypol 3fc760640c Print statements everywhere 2020-12-22 01:33:07 -05:00
Benjamin Southall 2404e6074c Fixes You look like a bot (reCaptcha window doesn't appear) #159, straight implementation of upstream https://github.com/vichan-devel/vichan/pull/241, but I bumped the jquery version. 2019-08-10 20:39:17 +10:00
Benjamin Southall 9b513c0900 As per vichan upstream move locked board check to after openBoard call in handle_post. Unlike upstream , the board being locked doesn't stop reports or deletions being processed for that board, just new posts 2019-03-22 04:08:02 +10:00
Benjamin Southall 53ffe8f49c Initial post.php refactor into handler functions 2019-02-26 10:48:01 +10:00
Master Splinter 6f905fca2c Update post.php
It was logged as 0.html when link_for is called with $post
2017-09-23 23:26:44 +03:00
Benjamin Southall 6041e37216 Add warning without ban, joke capcode support, SC editor support, home link support, table for calender theme / extension, removing boardalias duplicate citations in markup and other features 2017-09-03 23:39:43 +09:00
Benjamin Southall d7e1b30b0e Partial merge of 736e982945 [SECURITY] Lessen security impact 2017-06-08 08:13:57 +09:00
Benjamin Southall b91432727c Implemented fix for Invalid link_for call referencing deleted thread when op is deleted #98 2017-04-28 15:08:02 +09:00
Benjamin Southall 9b9b0f0a7e Add isempty check for POST variable for multi file upload via URL 2017-03-23 01:10:53 +09:00
Benjamin Southall ef41b1622d Adding support for multiple file upload using URLs, previously only one URL was supported. Also removes duplicate slack reporting merge. 2017-03-20 20:19:03 +09:00
Benjamin Southall f36222c0e9 Initial implementation of Feature Req: board-independent file size management #4. Using ['board_specific'][['uri']]['max_filesize'] as maximum file size if avaliable otherwise using config['max_filesize'] as default 2017-03-05 02:18:28 +09:00
Benjamin Southall f3a5eb0940 Initial implementation for Thumbnails for PDFs / other things #6, requires ['pdf_file_thumbnail'] is set to true and using convert from imagemagick. If ['pdf_file_thumbnail'] is false then it uses standard configured static file icon 2017-03-05 01:41:52 +09:00
Benjamin Southall 2c678488ee Add additonal brackets to min_body post length check in order to ensure operation precedence 2017-03-03 15:25:30 +09:00
Benjamin Southall b4c53e4474 Fix relative path to temporary directory for Tesseract OCR 2017-03-02 11:26:51 +09:00
Benjamin Southall 7f53755f75 When reporting posts return to the reported post, instead of generating a new page 2017-03-02 11:25:45 +09:00
Benjamin Southall d83376f155 Add min_body configuration option for post too short check 2017-01-17 22:55:46 +09:00
Benjamin Southall 5feae402cb Changes to report notification callback to Slack HTTP endpoint 2016-12-14 06:11:54 +09:00