Commit Graph

132 Commits

Author SHA1 Message Date
Daniël Klabbers
556d461cfb chore: update v1.4 constraints and update issues url 2022-07-12 23:30:03 +02:00
Sami Mazouz
abc12b4ba5
chore: add .gitattributes to extensions to export-ignore files. (#3513)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-08 20:38:20 +01:00
Sami Mazouz
27fb011bf5
chore: with yarn workspaces we only need a single yarn.lock (#3464)
* chore: yarn workspaces means we only need a single `yarn.lock`
* fix: add a `cache_dependency_path` workflow input
* fix: re-introduce `env.cache_dependency_path`
2022-06-19 19:01:21 +01:00
Daniël Klabbers
592039c483 update constraint to v1.3 2022-05-10 16:28:35 +02:00
flarum-bot
9d9594a098 Bundled output for commit 7c3da27fb3
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-03 21:37:31 +00:00
Alexander Skvortsov
a595665bfb
fix: Assorted Typing Fixes (#3348)
With all the commits below, we resolve all outstanding typing issues in the repo, and CI jobs run green.

* fix: Convert DashboardPage and DashboardWidget to TypeScript

* fix: fix type errors in package manager ext

* fix: Convert Post component to TypeScript

* fix: avatar typings should accept null user

* fix: convert Notification component to TypeScript

* fix: properly use `typeof` in ForumApplication

* feat: make Notification content attr generic

* chore: format Notification component

* fix: Convert DiscussionRenamedNotification to TypeScript

* fix(pusher) move shims to a location where they get applied

* fix(pusher): fix some typing errors

* fix(akismet): fix some typing issues

* chore: update core dist typings

* chore(pusher): format

* fix: anchorScroll should accept string selectors

* fix: more accurately represent ApiQueryParamsPlural

* fix: convert PostStreamState to TypeScript

* chore(core): rebuild typings

* feat: allow extending app.routes

* fix: more flexible typings for highlight.ts

* fix: use primitive `number` type for Discussion typings

* fix: convert DiscussionListItem to TypeScript

* chore: rebuild core typings

* fix: final pusher type fixes

* feat: start tags TypeScript conversion

* fix: require-dev tags in pusher for CI TypeScript purposes.

* chore(core): format

* chore(tags): build dist typings

* feat(pusher): use dist types from tags.

* feat: convert flags to TypeScript

* chore(flags): generate dist typings

* fix(akismet): last type errors

* chore: update .yarn-integrity

* chore: partially run flarum-cli audit infra --fix

The tsconfig changes from that command are ignored, since we don't yet support "replacable sections" that would let us add custom config.

* chore: use type imports

* fix: broader gitattributes

* chore: run flarum-cli audit infra --monorepo --fix

* feat: make `app.data` typings extensible

* chore(core): format

* chore: boost tags TypeScript coverage

* fix(tags): further increase type coverage.
2022-03-23 11:43:14 -04:00
Alexander Skvortsov
f2910d8763 chore: add version to core/ext package.json
This is necessary for yarn workspaces to work.
2022-03-11 19:12:11 -05:00
Alexander Skvortsov
5fc0b4963a chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
Alexander Skvortsov
693da58c41 chore: set up composer path repos 2022-03-11 18:02:49 -05:00
Alexander Skvortsov
2bf6b12a64 chore: remove centralizable repo config
- Remove .github conf folder from Flarum packages

- Remove styleci config from all packages
2022-03-11 18:01:44 -05:00
Alexander Skvortsov
2a6a07c829 fix: regenerate lockfile
This should help fix some build issues.
2022-02-08 17:34:32 -05:00
Daniel Klabbers
7d4b205513 Release v1.2 2022-01-20 11:49:19 +01:00
Alexander Skvortsov
9a98c9dd1f Merge branch 'master' of github.com:flarum/akismet 2022-01-20 04:25:46 -05:00
Alexander Skvortsov
a6581e5918 fix: build typings script 2022-01-20 04:25:16 -05:00
flarum-bot
9ad8e781f2 Bundled output for commit 9ba882619c
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-01-20 09:11:25 +00:00
Alexander Skvortsov
9ba882619c fix: typings generation script 2022-01-20 04:09:06 -05:00
Alexander Skvortsov
e23ac5d51c chore: flarum-cli audit infra --fix 2022-01-20 03:06:25 -05:00
Rafał Całka
8e8c9ba53d Delete package-lock.json (#26) 2022-01-20 02:57:32 -05:00
Alexander Skvortsov
45a0e4a3cd Switch to yarn 2022-01-06 21:49:33 -05:00
Alexander Skvortsov
fbf63c7a4f Rerun audit infra --fix 2022-01-06 21:48:12 -05:00
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