Commit Graph

117 Commits

Author SHA1 Message Date
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
flarum-bot
a8937161db Bundled output for commit c5e9881046
Includes transpiled JS/TS.

[skip ci]
2021-10-13 11:07:54 +00:00
David Wheatley
c5e9881046 chore: fix JS 2021-10-13 12:06:46 +01:00
David Wheatley
dba3ec69e8 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:25:37 +01:00
flarum-bot
4146913d55 Bundled output for commit e127d8606b
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:23 +00:00
Alexander Skvortsov
e127d8606b Release v1.1.0 2021-10-11 21:00:48 -04:00
Daniel Klabbers
c8c3463e6d fix branch alias 2021-05-25 22:44:50 +02:00
Daniel Klabbers
b67889f56e use shorter constraint 2021-05-25 15:07:57 +02:00
Daniel Klabbers
72dedbda42 updated changelog 2021-05-25 15:06:30 +02:00
Daniel Klabbers
fa23443528 npm audit fix 2021-05-25 15:03:21 +02:00
Alexander Skvortsov
ddd63588d5 Bump composer reqs for 1.0.0 2021-05-16 18:27:10 -04:00
David Wheatley
90fa5e01ff Update copyright year 2021-05-15 00:45:34 +01:00
Daniel Klabbers
57cbb2bb7f Release v0.1.0-beta.16 2021-03-15 10:02:50 +01:00
Daniël Klabbers
04c8a30b52 Merge pull request #19 from flarum/dependabot/npm_and_yarn/js/elliptic-6.5.4
Bump elliptic from 6.5.3 to 6.5.4 in /js
2021-03-15 09:55:25 +01:00
dependabot[bot]
7fbf5ba6ed Bump elliptic from 6.5.3 to 6.5.4 in /js
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 19:39:59 +00:00
Alexander Skvortsov
df7be8d2ff Merge pull request #18 from flarum/ck/adminux-category
Change Category
2021-03-08 14:39:10 -05:00
Alexander Skvortsov
230c5f24a3 Merge pull request #17 from rob006/move-locale-files-to-extensions 2021-02-17 16:24:04 -05:00
Charlie
01819f0e45 Change Category 2021-02-16 13:25:01 -08:00
Daniël Klabbers
739386bf81 npm audit fix 2020-12-14 21:00:19 +01:00
Daniël Klabbers
ba1eb76845 changelog and constraint for beta 15 2020-12-14 20:49:51 +01:00
Alexander Skvortsov
c1dc78d7c4 Update composer metadata for admin dashboard 2020-12-08 19:53:16 -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
flarum-bot
6ce50a1c52 Bundled output for commit b11a6d52b4 [skip ci] 2020-11-25 06:04:15 +00:00
Alexander Skvortsov
b11a6d52b4 Update admin JS for new UX 2020-11-25 01:03:14 -05:00
Alexander Skvortsov
0113ea0118 Add AdminUX Metadata 2020-11-25 00:59:29 -05:00
Daniël Klabbers
4f0a41ba98 changelog for beta 14.1 2020-10-27 13:23:31 +01:00
Daniël Klabbers
e7a58e05c0 Replace leftover app()->url() with UrlGenerator 2020-10-24 21:35:31 +02:00
Robert Korulczyk
71cc7ae96d Move locale files from language pack to extension. 2020-10-24 18:20:26 +02:00
Daniël Klabbers
13a2b8d9ad changelog and dep for v0.1.0-beta.14 2020-10-14 13:03:37 +02:00
Daniël Klabbers
c9c4e10086 npm audit security vulnerabilities patched 2020-10-13 21:09:25 +02:00
flarum-bot
3c6edc1802 Bundled output for commit 8b4380254e [skip ci] 2020-09-24 02:44:30 +00:00
Alexander Skvortsov
8b4380254e Mithril 2 Update (#15)
Update for Mithril 2
2020-09-23 22:43:34 -04:00
Alexander Skvortsov
988c9fca05 update for mithril 2 2020-08-16 01:34:11 -04:00
dependabot[bot]
63700111a0 Bump elliptic from 6.5.2 to 6.5.3 in /js (#14)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:06 +02:00
dependabot[bot]
cdd6d8d20c Bump lodash from 4.17.15 to 4.17.19 in /js (#13)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:47:53 +02:00
flarum-bot
157b6e4659 Bundled output for commit 9cc73f6800 [skip ci] 2020-07-02 00:22:09 +00:00
Alexander Skvortsov
9cc73f6800 Fix extension to work with latest state changes 2020-07-01 20:20:38 -04:00
Alexander Skvortsov
4d10a5663f Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:46:07 -04:00
Franz Liedke
78c32ed654 Release v0.1.0-beta.13 2020-05-01 13:08:40 +02:00
Franz Liedke
3914919b13 Update Webpack 2020-05-01 11:38:39 +02:00
Franz Liedke
e3740876b7 npm audit fix 2020-04-24 14:30:25 +02:00
dependabot[bot]
fd9a49c38e Bump acorn from 6.4.0 to 6.4.1 in /js (#12)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 20:23:58 +01:00
Daniël Klabbers
39a6dc0e19 remove author, updated deps 2020-03-03 13:18:20 +01:00
flarum-bot
bfa65e087c Bundled output for commit 6ac46e02f4 [skip ci] 2020-02-11 20:47:55 +00:00
Franz Liedke
6ac46e02f4 Update Webpack 2020-02-11 21:47:07 +01:00
Franz Liedke
268c7db351 Apply fixes from StyleCI 2019-11-29 23:01:27 +00:00
Franz Liedke
c067881b05 Update copyright claims in LICENSE 2019-11-30 00:00:55 +01:00
Franz Liedke
6185e74d93 Update vulnerable JS dependencies 2019-09-17 23:12:35 +02:00
Franz Liedke
276fd6452a Add GitHub workflow for JavaScript building 2019-08-20 23:54:18 +02:00