Commit Graph

2110 Commits

Author SHA1 Message Date
towards-a-new-leftypol 62e7a4b22e undo instance-config.php settings changes 2024-12-22 00:42:38 -05:00
towards-a-new-leftypol 29d429bd55 retab image.php (use vim, convert tabs to space) 2024-12-22 00:42:38 -05:00
towards-a-new-leftypol 221faac75b 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 00:42:38 -05:00
towards-a-new-leftypol d3fa904e11 Replace flag instead of creating a new one 2024-11-27 11:51:20 -05:00
towards-a-new-leftypol f39a7f6282 Add flags 2024-11-27 11:40:13 -05:00
towards-a-new-leftypol 6b7c7b6c6a Add music board and a link to nukechan 2024-09-17 15:41:38 -04:00
towards-a-new-leftypol 585029dbca Fix a rebuilding when moving (targetBoard -> originBoard) 2024-08-12 16:54:19 -04:00
towards-a-new-leftypol 66636df702 anti-bot: do not flag missing hash values as spam 2024-07-19 15:40:41 -04:00
towards-a-new-leftypol 499cdc279f Remove redundant leftypedia link 2024-06-18 18:12:18 -04:00
towards-a-new-leftypol 7ed48a1769 Update booru and wiki links 2024-06-18 18:03:12 -04:00
towards-a-new-leftypol ef01eef2a2 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:29:25 -04:00
towards-a-new-leftypol 4349499ddd Up the anti-bot hash expiration time to 120 days 2024-06-15 20:06:32 -04:00
towards-a-new-leftypol 77aac51172 Autoformat (vim) anti-bot.php to use spaces instead of tabs and spaces 2024-06-11 18:51:10 -04:00
towards-a-new-leftypol ce93e6f442 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:48:04 -04:00
towards-a-new-leftypol ad5383c196 Add missing import to auth.php 2024-06-07 15:06:50 -04:00
towards-a-new-leftypol 17bb78e17e Add maintenance message 2024-05-29 15:03:49 -04:00
towards-a-new-leftypol 0a04e747c4 Rebuild origin board themes if moving a thread and not leaving a shadow 2024-05-25 16:29:41 -04:00
towards-a-new-leftypol 1af3931a48 Don't forget to rebuild the themes on origin board when moving
- if you're moving a post to a different board it would only
  rebuildThemes of the target board
2024-05-21 16:19:12 -04:00
towards-a-new-leftypol bdd813cd77 Captcha for TOR users only 2024-05-08 17:16:07 -04:00
towards-a-new-leftypol b118588a82 Fix captcha generator securimage.php to work with php 8
- basically use intval() everywhere to avoid implicit conversion from
  float
2024-05-07 10:54:59 -04:00
towards-a-new-leftypol 495949666d Add opus to supported list of extensions 2024-05-02 17:06:07 -04:00
towards-a-new-leftypol 6e8d85d5e7 Fix flag list ordering in config 2024-04-09 03:42:54 -04:00
towards-a-new-leftypol 669429863a Fix previous commit 2024-04-09 03:37:07 -04:00
towards-a-new-leftypol 9293f38bf5 Add flag 2024-04-09 03:29:23 -04:00
towards-a-new-leftypol 93b8d216b1 API - threads.json last_modified is now really the timestamp of the last post, put bump time in a new field 'bump' 2024-03-31 17:22:42 -04:00
towards-a-new-leftypol 9fbe71f1f9 Rename sidebar heading to Boards for the boards list 2024-03-17 17:40:14 -04:00
Jon 61166cb4f1 instance-config.php: update shortener regex 2024-03-15 16:58:01 -04:00
towards-a-new-leftypol 10015def12 Add ip member variable to filter class 2024-03-14 17:30:39 -04:00
towards-a-new-leftypol 3158ce40cd Rate limit opening posts for specific ip (basically copy flood-time-any filter and add ip condition) 2024-03-14 17:11:36 -04:00
towards-a-new-leftypol e9228892fa ajax POST: return whole thread 2024-02-26 20:13:29 +00:00
towards-a-new-leftypol 408e9ce30e Fix posting images
- since we return the new post html now, we need the Post class to
  not try and decode files as json, since we're not loading that class
  from the db anymore.
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
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