Commit Graph

46 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
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
fa23443528 npm audit fix 2021-05-25 15:03:21 +02: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
Daniël Klabbers
739386bf81 npm audit fix 2020-12-14 21:00:19 +01: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
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
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
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
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
6185e74d93 Update vulnerable JS dependencies 2019-09-17 23:12:35 +02:00
flarum-bot
d963704249 Bundled output for commit 8632dd31e5 [skip ci] 2018-12-03 23:48:22 +00:00
Toby Zerner
af145860ec Make npm package private, update deps, change watch to dev 2018-11-21 18:33:10 +10:30
Toby Zerner
da46ced3cd Update dependencies 2018-11-17 18:53:38 +10:30
flarum-bot
cd0f18186a Bundled output for commit 6245c4a42b [skip ci] 2018-10-21 04:47:50 +00:00
Toby Zerner
6245c4a42b Rename package 2018-10-21 15:16:21 +10:30
flarum-bot
588d06d8cc Bundled output for commit 4ea0392811 [skip ci] 2018-09-21 01:00:11 +00:00
Toby Zerner
4ea0392811 Update dependencies 2018-09-21 10:25:46 +09:30
flarum-bot
1af5d351c4 Bundled output for commit f973ebf4ea [skip ci] 2018-06-20 05:22:06 +00:00
Toby Zerner
eb1a6a79c3 Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
3ff07832f4 Webpack (#9)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:34:30 +09:30
Toby Zerner
45b20dff95 Recompile JS 2016-11-19 21:46:54 +10:30
Toby Zerner
bb2b5b0ad4 Recompile dist JS using latest version of babel 2016-06-03 10:58:11 +09:30
Toby Zerner
8f0393fd24 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:31:06 +10:30
Toby Zerner
d9eb2b8e02 Commit latest dist files
See https://github.com/flarum/core/issues/727#issuecomment-172384020
2016-01-19 16:52:10 +10:30
dcsjapan
4d3df2eaf7 Extract translations
- Adds app.translator calls for forum and admin interfaces.
- Locale file to follow later.
2015-11-29 15:01:42 +09:00
Toby Zerner
ed8681e901 Release 0.1.0-beta.3 2015-11-03 10:02:16 +10:30
Toby Zerner
f7f25c8f41 Update ItemList API 2015-10-30 22:34:20 +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
2fbbe0bea7 Use SettingsModal component 2015-09-18 13:32:20 +09:30
Toby Zerner
aea32622ad Clean up, add gitattributes 2015-09-17 09:10:51 +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