Commit Graph

162 Commits

Author SHA1 Message Date
Rafał Całka
b4211a3920 fix: duplicate dependencies in package.json (#25) 2022-01-07 00:21:03 +00:00
Alexander Skvortsov
0f72537c7c Run flarum-cli audit infra 2022-01-04 18:35:34 -05:00
flarum-bot
bc036af8b6 Bundled output for commit e5ba4f4320
Includes transpiled JS/TS.

[skip ci]
2022-01-04 23:33:11 +00:00
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
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
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
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
Daniël Klabbers
c15e270c01 changelog and constraint for beta 9 2019-06-24 12:45:11 +02:00
Franz Liedke
a27b500e9a Add changelog 2019-02-15 00:30:49 +01: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
flarum-bot
d963704249 Bundled output for commit 8632dd31e5 [skip ci] 2018-12-03 23:48:22 +00:00
Toby Zerner
8632dd31e5 Fix travis builds 2018-12-04 10:16:32 +10:30
Toby Zerner
a9f32ddd3d Actually remove sudo: false
dc05ccf443 was incorrectly labelled :D
2018-11-21 18:34:20 +10:30
Toby Zerner
af145860ec Make npm package private, update deps, change watch to dev 2018-11-21 18:33:10 +10:30
Toby Zerner
dc05ccf443 Remove sudo: false
See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 18:27:36 +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
Toby Zerner
38e368ce3d Rename package 2018-10-17 13:35:22 +10:30
Toby Zerner
de3401436b Rename bootstrap.php 2018-09-21 11:45:06 +09: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
Toby Zerner
e2e94ba910 Update database column (#10) 2018-09-16 20:49:15 +02:00
Franz Liedke
cb373836a4 Use new Frontend extender
See flarum/core#851.
2018-07-23 16:26:47 +02:00
flarum-bot
1af5d351c4 Bundled output for commit f973ebf4ea [skip ci] 2018-06-20 05:22:06 +00:00
Toby Zerner
f973ebf4ea Fix Travis' deploy key 2018-06-20 14:33:56 +09:30
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
Franz Liedke
5d5cec3914 Import extend namspace 2018-01-21 22:20:58 +01:00
Franz Liedke
ac01d40b9a Adapt new bootstrap format, use Asset extender 2018-01-16 23:17:23 +01:00
Miles Cellar
6f5543a399 Update license year range to 2018 2018-01-15 19:28:28 +01:00
Toby Zerner
417d0ea59c Require beta 8 2018-01-11 12:23:20 +10:30
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
VSN Reddy Janga
7d924fb829 Hide diff for compiled diff files 2017-02-20 19:37:23 +05:30
Miles Cellar
b3804c1ef5 Update year 2017-01-01 22:45:02 +01:00
Toby Zerner
9a3b9ba824 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:35 +00:00
Toby Zerner
45b20dff95 Recompile JS 2016-11-19 21:46:54 +10:30
Toby Zerner
cd89913964 Update StyleCI rules 2016-11-16 15:45:59 +10:30
Toby Zerner
fd0d8bca93 v0.1.0-beta.6 2016-10-19 21:12:05 +10:30
Toby Zerner
f902c949c4 Use new event name 2016-06-03 10:58:24 +09:30
Toby Zerner
bb2b5b0ad4 Recompile dist JS using latest version of babel 2016-06-03 10:58:11 +09:30
Toby Zerner
9c6466338c Unapprove discussions too 2016-06-03 10:58:05 +09:30
Toby Zerner
5b79abeea1 Require core v0.1.0-beta.5 2016-03-29 18:40:26 +10:30
Toby Zerner
8f0393fd24 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:31:06 +10:30
Toby Zerner
c010ecb548 Clean up linting stuff 2016-03-10 17:23:43 +10:30
Franz Liedke
bba105748b Use new shortcuts for migrations 2016-03-04 01:10:25 +09:00
Toby Zerner
32625c258f Applied fixes from StyleCI 2016-02-25 22:19:12 -05:00
Toby Zerner
29d443eabc Add StyleCI config 2016-02-26 13:47:54 +10:30
Franz Liedke
3188e2119e Use new migration format 2016-02-24 23:11:07 +09:00
Maël Soucaze
798741ccfc Update license year range to 2016 2016-01-25 16:48:51 +01:00
Toby Zerner
cc9851d010 Add Composer branch-alias
This allows installations to require version 0.1.0 with minimum-stability=dev, and they will get the latest from master.

See flarum/core#727
2016-01-19 17:20:25 +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
Toby Zerner
e087b04e6b Rename package 2015-12-29 12:54:16 +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