Commit Graph

402 Commits

Author SHA1 Message Date
e39f342008 Consider nonoko in building after posting, improve comments 2022-01-17 11:14:04 -01:00
d66b9d6208 Merge pull request 'Make compatible with PHP 8' (#67) from php8-compat into config 2022-01-17 10:42:55 +00:00
cfaea67381 Refactor rebuilding after posts, finish reply requests before rebuilding index
This provides massive improvements to perceived post times as it doesn't wait for the entire board to rebuild index before confirming to the user that the post was made
2022-01-17 07:12:13 -01:00
2605a6ff5d Merge vichan PHP8 fixes, configure composer, fix outstanding incompatibilities 2022-01-17 02:14:22 -01:00
0b56719008 Quick hack to prevent oversized PDF thumbnails. 2021-11-28 00:28:49 +00:00
nonmakina
843ab6f55e Merge pull request #348 from discomrade/ban-appeal-limit
Enforce maximum length of ban appeal
2021-07-24 17:27:01 +02:00
4a5944795c Enforce maximum length of ban appeal 2021-07-24 10:47:56 -02:00
29e0906022 Fix typos in https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/336 2021-07-24 08:47:50 -02:00
f575691fc4 Fix 387ebe9c0c , extract limit to variable 2021-07-24 01:38:59 -02:00
vholmes
ed55ea23ea Prevents reports with too many characters 2021-07-24 01:38:31 -02:00
f4ae0196bd Recalculate filesize after stripping metadata 2021-07-06 11:37:54 +00:00
9a8aa66eb7 Redirect to thread after deleting child post 2021-07-04 00:12:08 +00:00
0be3f8f1f8 Improve filter 2021-06-29 06:48:07 +00:00
towards-a-new-leftypol
ec1041e095 Remove duplicate block for captcha to work on dev 2021-05-08 06:28:46 -04:00
11bab0a9ad Add basic captcha 2021-05-05 10:29:06 -02:00
dedushka1
6d67ca34f0 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
a3dee77f47 Adds checks for mod permissions to delete posts in board 2021-01-18 01:40:04 -06:00
1bd809b9f0 If mod, bypass password on delete 2021-01-18 01:35:18 -06:00
1acb060694 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
c9b67ec5ca Merge pull request #116 from nonmakina/fixReporting
Fixes reporting function
2021-01-10 11:15:24 -05:00
fd0aa9c70d Whitespace and removed error. 2021-01-09 19:26:59 -06:00
3f1ef0e0fe Removes ability to delete own threads. 2021-01-09 19:24:53 -06:00
9768dd58df Fixes reporting function 2021-01-09 15:54:30 -06:00
towards-a-new-leftypol
a4a1ec8f41 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
540ff0dc12 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
3e9c52cec4 WIP 2020-12-22 01:35:54 -05:00
towards_a_new_leftypol
1760f98a0c print statements and relax rules in config 2020-12-22 01:34:51 -05:00
towards_a_new_leftypol
cd9515397c Print statements everywhere 2020-12-22 01:33:07 -05:00
Benjamin Southall
7dba466f73 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
59e8120375 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
2f024d8b83 Initial post.php refactor into handler functions 2019-02-26 10:48:01 +10:00
Master Splinter
3501aab7a9 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
d2429e05d1 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
22b8dc6312 Partial merge of 736e982945 [SECURITY] Lessen security impact 2017-06-08 08:13:57 +09:00
Benjamin Southall
9d5e98a9a3 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
08f5412458 Add isempty check for POST variable for multi file upload via URL 2017-03-23 01:10:53 +09:00
Benjamin Southall
47273d6887 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
d4e460c5e9 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
44e8b9615c 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
d23355ce48 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
e93e954bad Fix relative path to temporary directory for Tesseract OCR 2017-03-02 11:26:51 +09:00
Benjamin Southall
cb6a6eb5e3 When reporting posts return to the reported post, instead of generating a new page 2017-03-02 11:25:45 +09:00
Benjamin Southall
c777b88521 Add min_body configuration option for post too short check 2017-01-17 22:55:46 +09:00
Benjamin Southall
da450d7088 Changes to report notification callback to Slack HTTP endpoint 2016-12-14 06:11:54 +09:00
Benjamin Southall
03075e7a8c Make slack report notifier, donate page, irc page and radio page use configuration variables instead of hard coding values. 2016-10-02 01:15:34 +09:00
Benjamin Southall
c58e37ce39 Merged lainchan with vichan master at 25/9/2016 0bd63149b7 @czaks czaks committed on GitHub 2 days ago 2016-09-25 16:34:47 +09:00
Benjamin Southall
5af60d1e33 Remove leading space from ReportNotifier Slack Message 2016-09-24 12:52:08 +09:00
Benjamin Southall
59cc269cd7 Change ReportNotifier SlackMessage format 2016-09-23 23:05:04 +09:00
Benjamin Southall
d09953da07 ReportNotifier Slack notification support 2016-09-23 22:44:48 +09:00
czaks
a5e7b3da6f nntpchan: work around php nonsense 2016-08-19 23:15:42 +02:00