mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 07:33:36 +08:00
178f91aff9
This PR updates the entire extension. It will not use a library that has not been updated for years, so it should work with newer versions of PHP. Additionally, it sends more information to the Akismet API to make spam detection more accurate. The Akismet class can be used by other extensions. Todo: - [x] Convert frontend to TypeScript - [x] Call Akismet API manually - [x] Option to remove blatant spam - [x] Permission to bypass Akismet - [x] Sending additional parameters like `is_test` Nice to have, but can be left for another PR: - [ ] Suspend obvious spamers - [ ] Send `blog_lang` parameter - [ ] Checking post edits Sponsored by [forum.android.com.pl](https://forum.android.com.pl/)
27 lines
837 B
YAML
27 lines
837 B
YAML
flarum-akismet:
|
|
|
|
##
|
|
# UNIQUE KEYS - The following keys are used in only one location each.
|
|
##
|
|
|
|
# Translations in this namespace are used by the admin interface.
|
|
admin:
|
|
|
|
# These translations are used in the Akismet Settings.
|
|
akismet_settings:
|
|
api_key_label: API Key
|
|
title: Akismet Settings
|
|
delete_blatant_spam_label: Automatically delete blatant spam
|
|
delete_blatant_spam_help: If Akismet has determined that the comment is blatant spam, instead of flagging, automatically delete post
|
|
permissions:
|
|
bypass_akismet: Bypass Akismet
|
|
|
|
# Translations in this namespace are used by the forum user interface.
|
|
forum:
|
|
|
|
# These translations are used by the frame displayed around flagged posts.
|
|
post:
|
|
akismet_flagged_text: Akismet flagged as spam
|
|
not_spam_button: Not Spam
|
|
|