Commit Graph

168 Commits

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

[skip ci]
2022-03-12 00:14:54 +00: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
Daniel Klabbers
f9213c0178 Release v1.2 2022-01-20 12:35:35 +01:00
flarum-bot
ec56b53b59 Bundled output for commit f5c1a0282d
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:38:04 +00:00
Alexander Skvortsov
f5c1a0282d chore: flarum-cli audit infra --fix 2022-01-20 03:36:26 -05:00
flarum-bot
2fea567284 Bundled output for commit 542fac888d
Includes transpiled JS/TS.

[skip ci]
2022-01-11 10:41:36 +00:00
Ian Morland
542fac888d chore: repo maintenance (#30)
* Bump deps

* Update imports

* Format
2022-01-11 10:40:45 +00:00
flarum-bot
4bda5c540a Bundled output for commit 462bf60e88
Includes transpiled JS/TS.

[skip ci]
2021-10-13 10:55:25 +00:00
David Wheatley
462bf60e88 chore: fix JS 2021-10-13 11:54:31 +01:00
David Wheatley
8a0035e040 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:05:58 +01:00
flarum-bot
7b2e506fb8 Bundled output for commit c59c1becad
Includes transpiled JS/TS.

[skip ci]
2021-10-12 01:27:11 +00:00
Alexander Skvortsov
c59c1becad Release v1.1.0 2021-10-11 21:10:46 -04:00
Robert Korulczyk
bfdaee7e79 Add missing dot to liked_by_text translation (#29) 2021-07-01 21:52:56 +01:00
Daniel Klabbers
8a93498b22 fix branch alias 2021-05-25 22:50:29 +02:00
Daniel Klabbers
30e21d29f6 changes for stable 2021-05-25 16:01:45 +02:00
Alexander Skvortsov
3f51eb8431 Bump composer reqs for 1.0.0 2021-05-16 18:28:10 -04:00
David Wheatley
03f7452efc Update copyright year 2021-05-15 00:55:34 +01:00
flarum-bot
d7698f04a4 Bundled output for commit 6c27c08672
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:48 +00:00
Alexander Skvortsov
6c27c08672 Update for ICU MessageFormat 2021-05-12 19:24:06 -04:00
Glowing Blue
93d373f066 Added created_at to post_likes table (#28) 2021-05-11 15:23:35 -04:00
Daniel Klabbers
a805c333e7 Release v0.1.0-beta.16 2021-03-15 11:49:08 +01:00
Charlie
32708281b2 Change Category (#26) 2021-03-08 14:24:49 -05:00
Robert Korulczyk
5606fcc06b Move locale files from language pack to extension. (#23) 2021-02-17 16:26:14 -05:00
Daniël Klabbers
211f36df35 changelog and constraint for beta 15 2020-12-14 23:19:25 +01:00
Daniël Klabbers
51f0d7e25d npm audit fix 2020-12-14 23:15:29 +01:00
Alexander Skvortsov
a6cae387d7 Make listener methods static
This is needed since we're listening to the individual methods of the class, as opposed to registering the class as a subscriber.
2020-12-10 23:35:42 -05:00
Alexander Skvortsov
d2284d9de1 Update composer metadata for admin dashboard 2020-12-08 19:56:32 -05:00
Alexander Skvortsov
dc56e18739 Apply fixes from StyleCI 2020-12-08 16:12:11 +00:00
Alexander Skvortsov
a9e729401b Convert subscriber to listener, eliminating compat-style extender 2020-12-08 11:11:54 -05:00
Sami Mazouz
99e73a38a9 Use new extenders (#25) 2020-12-08 10:59:03 -05:00
flarum-bot
78288cfbae Bundled output for commit d30eadd4a9 [skip ci] 2020-11-25 06:17:27 +00:00
Alexander Skvortsov
d30eadd4a9 Add composer metadata for admin ux redesign 2020-11-25 01:16:14 -05:00
Alexander Skvortsov
418829d689 Admin js changes for admin UX redesign 2020-11-25 01:15:37 -05:00
Sami Mazouz
fba1aea032 Use the new Notification type extender (#24) 2020-10-31 18:42:13 -04:00
Daniël Klabbers
d510519936 changelog and dep for v0.1.0-beta.14 2020-10-15 14:01:20 +02:00
Daniël Klabbers
e50c375c73 npm audit security vulnerabilities patched 2020-10-14 09:57:21 +02:00
flarum-bot
e9492a2900 Bundled output for commit 99b4f707be [skip ci] 2020-10-03 00:18:29 +00:00
Alexander Skvortsov
99b4f707be Use Link component instead of route patch 2020-10-02 20:17:15 -04:00
flarum-bot
679075407f Bundled output for commit 080f553a08 [skip ci] 2020-09-24 02:49:58 +00:00
Alexander Skvortsov
080f553a08 Mithril 2 Update (#22)
Update for Mithril 2
2020-09-23 22:49:05 -04:00
dependabot[bot]
b663d9b199 Bump elliptic from 6.5.2 to 6.5.3 in /js (#21)
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:08:11 +02:00
Matt Kilgore
e8490bd991 Removes AssertPermissionTrait (#20)
* Removes AssertPermissionTrait

* Fix my dumb mistake
2020-07-20 07:58:22 +02:00
dependabot[bot]
27925133d6 Bump lodash from 4.17.15 to 4.17.19 in /js (#19)
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:38 +02:00
flarum-bot
ab60b51476 Bundled output for commit 6a96d0244a [skip ci] 2020-07-02 00:02:26 +00:00
Alexander Skvortsov
6a96d0244a Fix extension to work with latest state changes 2020-07-01 20:01:32 -04:00
luceos
b75d5c6670 Apply fixes from StyleCI 2020-06-20 01:42:16 +00:00