towards-a-new-leftypol
4e0a549469
more accurate noticer timing
2025-01-01 22:45:26 -05:00
towards-a-new-leftypol
36cbf4e6e5
profiling: add times around dnsbl and ban checks
2025-01-01 21:48:54 -05:00
towards-a-new-leftypol
cb33251f7c
fix variable name
2024-12-31 12:13:40 +00:00
towards-a-new-leftypol
977b23afe3
Add more time cost centers in handle_post to $debug['post']
2024-12-31 07:08:14 -05:00
towards-a-new-leftypol
7cfe5cc0e3
handle_post: set $debug after opening board
...
- so it doesn't overwrite the global debug variable.
- global variables are dumb.
2024-12-31 07:07:36 -05:00
towards-a-new-leftypol
8ebe1aa560
Fix cleanup function placement
...
- registering cleanup should go after the potential error call
2024-12-31 08:22:48 +00:00
towards-a-new-leftypol
e21a01dba6
Fix bug - function syntax
2024-12-31 02:29:13 -05:00
towards-a-new-leftypol
f11c4cb1e7
Add more timings under $debug['time']['post'] in handle_post
...
- pre/post/during spamnoticer
2024-12-31 02:29:13 -05:00
towards-a-new-leftypol
e9020ed17f
Improve posting error handling
...
- if spamnoticer was contacted, add cleanup callback to error handler if
something goes wrong during the rest of the process (like thumbnail
creation for example)
- add another allowed warning (string) that gm may safely report back
and don't call error if we see it.
2024-12-22 05:21:37 +00:00
towards-a-new-leftypol
0a6260070a
Enable anti-bot, except for the case where the hash is missing from the db (most bots don't seem to be that smart)
2024-06-15 20:30:06 -04:00
towards-a-new-leftypol
54020351c5
Anti-bot: print out failure cases and construction
...
- enable anti-bot spam protection setting but comment out it's rejection
- will monitor the output log to check for false-positives and just see
what it's rejecting...
2024-06-11 18:49:16 -04:00
towards-a-new-leftypol
87c4f331a7
Captcha for TOR users only
2024-05-08 17:15:48 -04:00
towards-a-new-leftypol
ba120d32f7
Thread updator - handle case where you're a mod
...
- mod triggers refresh
- not a mod uses the response
2024-02-26 21:32:04 +00:00
towards-a-new-leftypol
e9228892fa
ajax POST: return whole thread
2024-02-26 20:13:29 +00:00
towards-a-new-leftypol
da03753a72
thread_updater.js: listen to ajax_after_post event
2024-02-26 20:13:29 +00:00
towards-a-new-leftypol
c3c6c8f9f1
POST - return new post in json
...
- handle post now returns the new post you just created in the
response (if json_response is set, which it is when submitting
the form with ajax)
2024-02-26 11:37:38 -05:00
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