Jon
68652d29a3
inc/instance-config.php: fix typo
2024-02-26 20:13:29 +00:00
Jon
497a0c9208
inc/instance-config.php: replace legacy with new autoreloader
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
0fa2347552
Fix url shortener regex
2024-02-25 22:46:39 -05:00
Jon
257626dcfc
inc/instance-config.php: add lcn scripts
2024-02-20 14:56:22 -05:00
towards-a-new-leftypol
ac29d60517
Fix url shortener regex
2024-02-18 13:45:32 -05:00
towards-a-new-leftypol
3a1a8cdc47
Change welcome message links to be horizontal (stylistic change)
2024-02-12 06:27:06 -05:00
towards-a-new-leftypol
fc6a5a1161
Don't need download-original.js active anymore
2024-02-05 05:08:59 -05:00
towards-a-new-leftypol
8bcf37bf02
Remove custom attributes from body before sending to spamnoticer
2024-02-03 20:00:55 -05:00
towards-a-new-leftypol
51d6374d85
increase flood_time_any to 120
2024-01-28 11:41:29 -05:00
towards-a-new-leftypol
7a7cd1ab28
Fix bug where delete was not working on ban page
...
- it was only working on the ban&delete page
2024-01-27 19:13:42 -05:00
towards-a-new-leftypol
b3effdf422
Fix a bug where we were not passing an integer but an array instead
...
- I'm not sure how bans worked otherwise
2024-01-27 18:38:01 -05:00
towards-a-new-leftypol
7608eb0844
Raise time between thread creation to 60 seconds
2024-01-27 15:16:43 -05:00
towards-a-new-leftypol
2de31d7fa9
Change matrix link in homepage sidebar to use talk.leftychan.net instead of app.element.io
2024-01-24 13:23:52 -05:00
towards-a-new-leftypol
7b1fab8b2b
Make url shortener detection in body match a slightly longer tld
2024-01-18 13:41:23 -05:00
towards-a-new-leftypol
0a30b856ce
Relax url shortener regex (http(s):// part is optional)
2024-01-11 12:52:18 -05:00
towards-a-new-leftypol
9f08640a73
Disallow url shorteners using filters
2023-12-17 12:45:40 +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
3197fb726e
Fix spelling in config
2023-12-14 16:44:24 -05:00
towards-a-new-leftypol
7d1c8a745e
Add link to gitea instance in homepage sidebar
2023-12-12 23:25:42 -05:00
towards-a-new-leftypol
8839bd6e7a
Add to Post/Thread class props (bugfix)
2023-12-09 07:23:16 +00:00
towards-a-new-leftypol
6d71f0e535
Fix more dynamic property assignment being deprecated errors
2023-12-09 07:12:33 +00:00
towards-a-new-leftypol
80ca1d7db0
Continue porting code to php 8.2
...
- Declare class member variables where needed, they can't be dynamically
added later
- Remove dead code (remote.php and gettext polyfill)
2023-12-09 06:24:56 +00:00
towards-a-new-leftypol
6021d41d39
indenting fix (whitespace)
2023-12-07 06:24:48 +00:00
towards-a-new-leftypol
8478ee430f
whitespaces
2023-12-07 06:17:29 +00:00
towards-a-new-leftypol
974af939f9
php - fix string escape deprecation warning:
...
- ${varname} should be written as {$varname}
2023-12-07 03:09:18 +00:00
towards-a-new-leftypol
6808f65ef7
fix Creation of dynamic property is deprecated
2023-12-07 02:46:49 +00:00
towards-a-new-leftypol
291072dfd2
Post function - check if we have a delete_token
...
- some board functions can create automatic posts using the post
function, such as when you move a thread to another board and it
replies with the new thread's id. it doesn't make sense for these
posts to have a delete_token, since they shouldn't be in spamnoticer,
and a user will never delete them since it is no user's post.
- save it as null if it's not present
2023-11-21 19:47:21 -05:00
towards-a-new-leftypol
f9e8390451
Fix a bug with reporting posts to spamnoticer
...
- Posts that have deleted files were not able to be reported
as spam. Add checks in the spamnoticer code when building the request.
2023-10-18 15:03:57 -04:00
towards-a-new-leftypol
505d62d872
Spamnoticer - more guards against null files field
2023-10-11 13:54:51 -04:00
towards-a-new-leftypol
18f63222f8
Spamnoticer - addToSpamNoticer, guard against null files field
2023-10-11 13:50:46 -04:00
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