Commit Graph

5100 Commits

Author SHA1 Message Date
Jon 58d4b56198 js/mod/recent_posts.js: add audible bell on new post 2024-02-02 14:06:42 -05:00
Jon 54d84de8f8 static/jannybell.mp3: add 2024-02-02 14:06:42 -05:00
Jon 862536f7b5 js/mod/recent_posts.js: fire ::new_post for chanx listeners, use insertBefore instead of prepend 2024-01-30 23:09:12 -05:00
Jon aa4d943ff4 js/mod/recent_posts.js: remember state on reload 2024-01-30 23:09:12 -05:00
Jon b8af556b2a js/mod/recent_posts.js: remove unneeded line 2024-01-30 22:03:21 -05:00
Jon aea9793160 js/mod/recent_posts.js: polyfill AbortSignal.any, add load wrapper, silence AbortSignal DOMException warn 2024-01-30 21:39:48 -05:00
Jon 960919c2dd js/mod/recent_posts.js: add recent_posts.js 2024-01-30 21:39:48 -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 a40d397923 Fix links, especially in truncated posts 2024-01-20 16:40:39 -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 4f7d5ea072 style.css: Seems like a mistake, stuff is centered without this offset 2024-01-15 14:30:53 -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 c1d12ffa92 Some css fixes for better homepage rendering on mobile
- i hope this doesn't affect the rest of the site
2024-01-08 11:46:10 -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 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 71f57fec08 Don't show stats on homepage 2023-12-13 03:04:27 +00:00
towards-a-new-leftypol a9b87f7943 Minor indent fix 2023-12-13 03:04:16 +00:00
towards-a-new-leftypol 0714422d9a retab templates/themes/categories/theme.php 2023-12-13 03:01:05 +00:00
towards-a-new-leftypol e9372e50ee Search.php - use FETCH_ASSOC to avoid issues when building Post objects 2023-12-13 02:23:31 +00: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 e92fc0ab2c Update move page twig syntax (broken page) 2023-11-03 09:34:14 -04: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 237b4ff1c7 Version bump to 5.2.0 2023-09-24 23:43:51 -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 d1a141fd6c fix news link 2023-09-24 23:28:46 +00:00
towards-a-new-leftypol e60d79f1fd disable spam_noticer for now 2023-09-24 19:15:18 -04:00