Commit Graph

21 Commits

Author SHA1 Message Date
StyleCI Bot
e5ba4f4320 Apply fixes from StyleCI 2022-01-04 23:31:59 +00:00
Rafał Całka
178f91aff9 Rewrite extension, call API manually, take advantage of features not supported by the current library (#24)
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/)
2022-01-04 18:31:47 -05:00
Alexander Skvortsov
2bd22d12e2 Apply fixes from StyleCI 2020-12-08 18:37:38 +00:00
Alexander Skvortsov
d747946e49 Use proper Event and Service Provider extenders 2020-12-08 13:37:23 -05:00
Franz Liedke
268c7db351 Apply fixes from StyleCI 2019-11-29 23:01:27 +00:00
Franz Liedke
b47c791e39 Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-18 00:11:36 +01:00
Toby Zerner
e2e94ba910 Update database column (#10) 2018-09-16 20:49:15 +02:00
Franz Liedke
ac01d40b9a Adapt new bootstrap format, use Asset extender 2018-01-16 23:17:23 +01:00
Franz Liedke
0dcbdd6218 Remove empty line 2017-09-13 23:53:42 +02:00
Charlie
ca46ab10a3 Apply namespace changes for beta 8 (#7)
* Update for beta 8

* Remove docblock

* StyleCI is a stickler
2017-09-13 23:52:49 +02:00
Toby Zerner
9a3b9ba824 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:35 +00:00
Toby Zerner
f902c949c4 Use new event name 2016-06-03 10:58:24 +09:30
Toby Zerner
9c6466338c Unapprove discussions too 2016-06-03 10:58:05 +09:30
Toby Zerner
32625c258f Applied fixes from StyleCI 2016-02-25 22:19:12 -05:00
Toby Zerner
5c1b7aa288 Translations are now automatically included 2015-11-02 18:51:37 +10:30
Toby Zerner
2a76c27814 Submit spam and ham feedback to Akismet 2015-10-31 14:50:07 +10:30
Toby Zerner
4d25738cb3 Add Interface suffix to SettingsRepository 2015-10-19 15:00:09 +10:30
Toby Zerner
2bc9b942ed Update for composer branch 2015-10-11 23:17:51 +10:30
Toby Zerner
5bb266ec3b Update for new Flags/Approval extensions 2015-09-22 18:15:56 +09:30
Toby Zerner
cca9fea5df Fixes 2015-09-04 13:26:33 +09:30
Toby Zerner
2762cf5f99 Initial commit 2015-09-04 12:44:02 +09:30