Commit Graph

3369 Commits

Author SHA1 Message Date
flarum-bot
6df4101bae Bundled output for commit a595665bfb
Includes transpiled JS/TS.

[skip ci]
2022-03-23 15:45:44 +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
flarum-bot
4ecd9a9b2f Bundled output for commit 5e82ded8c3
Includes transpiled JS/TS.

[skip ci]
2022-03-12 00:14:54 +00:00
Alexander Skvortsov
5e82ded8c3 feat: use yarn workspaces 2022-03-11 19:12:11 -05:00
Alexander Skvortsov
524540cb41 chore: use yarn v1 in extensions/core 2022-03-11 19:12:11 -05: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
StyleCI Bot
a2eba3e978
Apply fixes from StyleCI
[ci skip] [skip ci]
2022-03-11 23:11:35 +00:00
dependabot[bot]
37a882118a
chore(deps): bump glob-parent from 3.1.0 to 5.1.2 in /extensions/emoji/js (#3345)
* chore(deps): bump glob-parent in /extensions/emoji/js

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 3.1.0 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v3.1.0...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

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

* Apply fixes from StyleCI

[ci skip] [skip ci]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-03-11 18:11:20 -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
deea028dab Merge remote-tracking branch 'extensions_tags/REWRITE' 2022-03-11 18:01:31 -05:00
Alexander Skvortsov
2550f547b1 Merge remote-tracking branch 'extensions_suspend/REWRITE' 2022-03-11 18:01:29 -05:00
Alexander Skvortsov
448e4a7960 Merge remote-tracking branch 'extensions_subscriptions/REWRITE' 2022-03-11 18:01:28 -05:00
Alexander Skvortsov
a239aee14a Merge remote-tracking branch 'extensions_sticky/REWRITE' 2022-03-11 18:01:27 -05:00
Alexander Skvortsov
53cd98858f Merge remote-tracking branch 'extensions_statistics/REWRITE' 2022-03-11 18:01:26 -05:00
Alexander Skvortsov
fecb58dec5 Merge remote-tracking branch 'extensions_pusher/REWRITE' 2022-03-11 18:01:24 -05:00
Alexander Skvortsov
105acba78f Merge remote-tracking branch 'extensions_package_manager/REWRITE' 2022-03-11 18:01:23 -05:00
Alexander Skvortsov
1f2d19b120 Merge remote-tracking branch 'extensions_nicknames/REWRITE' 2022-03-11 18:01:22 -05:00
Alexander Skvortsov
76dce05d01 Merge remote-tracking branch 'extensions_mentions/REWRITE' 2022-03-11 18:01:21 -05:00
Alexander Skvortsov
4ed4013a32 Merge remote-tracking branch 'extensions_markdown/REWRITE' 2022-03-11 18:01:19 -05:00
Alexander Skvortsov
3e6c8cd903 Merge remote-tracking branch 'extensions_lock/REWRITE' 2022-03-11 18:01:18 -05:00
Alexander Skvortsov
07eb9b9c59 Merge remote-tracking branch 'extensions_likes/REWRITE' 2022-03-11 18:01:17 -05:00
Alexander Skvortsov
4a71f2772f Merge remote-tracking branch 'extensions_lang_english/REWRITE' 2022-03-11 18:01:16 -05:00
Alexander Skvortsov
5cea52644b Merge remote-tracking branch 'extensions_flags/REWRITE' 2022-03-11 18:01:15 -05:00
Alexander Skvortsov
e8d4d20d34 Merge remote-tracking branch 'extensions_emoji/REWRITE' 2022-03-11 18:01:13 -05:00
Alexander Skvortsov
a7107700eb Merge remote-tracking branch 'extensions_embed/REWRITE' 2022-03-11 18:01:12 -05:00
Alexander Skvortsov
95c53806aa Merge remote-tracking branch 'extensions_bbcode/REWRITE' 2022-03-11 18:01:11 -05:00
Alexander Skvortsov
4b8573b726 Merge remote-tracking branch 'extensions_approval/REWRITE' 2022-03-11 18:01:10 -05:00
flarum-bot
8dabac6bf9 Bundled output for commit 671b3f4e54
Includes transpiled JS/TS.

[skip ci]
2022-03-10 20:07:54 +00:00
David Sevilla Martin
671b3f4e54 Fix tag page mismatches if accents/capitalizations differ in slug (#161)
Fixes flarum/core#3286
2022-03-10 15:06:50 -05:00
flarum-bot
cd2bba15f3 Bundled output for commit 16d5cc11e3
Includes transpiled JS/TS.

[skip ci]
2022-03-10 00:54:56 +00:00
Sujit Kumar
16d5cc11e3 Add toolbar support for admin panel (#36) 2022-03-09 19:53:33 -05:00
Alexander Skvortsov
0beac940d7 feat: add compiled dist-typings folder 2022-02-23 16:04:21 -05:00
Ian Morland
07ebe5b57d [chore] update deprecated event comments (#41) 2022-02-22 14:07:04 -05:00
flarum-bot
f82ccbbf92 Bundled output for commit 05e936bbe4
Includes transpiled JS/TS.

[skip ci]
2022-02-22 15:30:11 +00:00
Clark Winkelmann
05e936bbe4 Make frontend use gate output instead of hard-coded logic
Hide nickname from edit modal if user cannot edit
2022-02-22 16:28:36 +01:00
Alexander Skvortsov
2a6a07c829 fix: regenerate lockfile
This should help fix some build issues.
2022-02-08 17:34:32 -05:00
Alexander Skvortsov
c942e367ca fix: regenerate lockfile
This should fix some build issues.
2022-02-08 17:32:11 -05:00
Alexander Skvortsov
350f2c173f fix: regenerate lockfile
This should fix some JS build issues.
2022-02-08 17:29:54 -05:00
Billy Wilcosky
a82060945e fix(tag label): tag text misaligned in iOS Safari (#160) 2022-02-07 17:09:43 +00:00
Daniel Klabbers
3c79517fbf fix: missing import for post filterer 2022-02-06 22:44:44 +01:00
flarum-bot
fe4812ceb8 Bundled output for commit eed25d18cb
Includes transpiled JS/TS.

[skip ci]
2022-02-02 19:04:10 +00:00
Rafał Całka
eed25d18cb feat: use ColorPreviewInput in the EditTagModal (#157) 2022-02-02 14:02:20 -05:00
flarum-bot
f537e05719 Bundled output for commit 6d3da9c5f2
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-01-27 21:42:53 +00:00
Alexander Skvortsov
547cce9799 chore: update yarn lockfile 2022-01-27 16:42:07 -05:00
Alexander Skvortsov
6d3da9c5f2 fix: minor TS improvements 2022-01-27 16:40:49 -05:00
flarum-bot
0d73e82b0b Bundled output for commit f3d0bdce47
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-01-27 21:02:31 +00:00
Alexander Skvortsov
f3d0bdce47 chore: convert to TypeScript 2022-01-27 15:58:04 -05:00
Alexander Skvortsov
2a31ea1c15 chore: flarum-cli audit infra --fix 2022-01-27 15:58:04 -05:00
Alexander Skvortsov
7f3c09c37e chore: add scaffolding exclude config
This ensures `flarum-cli audit infra --fix` works.
2022-01-25 21:17:18 -05:00
Alexander Skvortsov
3b8b491bce fix: suppress xdebug warnings 2022-01-25 18:06:36 -05:00
Alexander Skvortsov
cff8b01227 chore: exclude PHP 8.1 tests
These prompt deprecation warnings that break CI. We need to fix those, but that's a problem for a later time.
2022-01-25 18:02:27 -05:00
Alexander Skvortsov
66be0ba578 chore: bump yarn lock 2022-01-24 14:41:46 -05:00
Alexander Skvortsov
919ba129f4 fix: allow path repos
Temporarily configure cwd while running composer commands so that path repositories can be resolved properly.

Fixes https://github.com/flarum/package-manager/issues/6
2022-01-24 14:41:46 -05:00
Alexander Skvortsov
a7535ab20a chore: flarum-cli audit infra --fix 2022-01-24 14:41:29 -05:00
Daniel Klabbers
71d72adbdd Release v1.2 2022-01-20 12:52:08 +01:00
Daniel Klabbers
9db4981f80 Release v1.2 2022-01-20 12:49:18 +01:00
Daniel Klabbers
73975799c9 Release v1.2 2022-01-20 12:48:09 +01:00
Daniel Klabbers
cf7916cebd Release v1.2 2022-01-20 12:45:05 +01:00
Daniel Klabbers
bc694f19d3 Release v1.2 2022-01-20 12:43:25 +01:00
Daniel Klabbers
e5a865227a Release v1.2 2022-01-20 12:41:14 +01:00
Daniel Klabbers
f9213c0178 Release v1.2 2022-01-20 12:35:35 +01:00
Daniel Klabbers
b63a67d27f Release v1.2 2022-01-20 12:34:19 +01:00
Daniel Klabbers
310322ba1f Release v1.2 2022-01-20 12:31:13 +01:00
Daniel Klabbers
c96b8b8877 Release v1.2 2022-01-20 12:17:01 +01:00
Daniel Klabbers
fc85ce8579 Release v1.2 2022-01-20 12:13:37 +01:00
Daniel Klabbers
4cce5fbbda Release v1.2 2022-01-20 12:10:11 +01:00
Daniel Klabbers
7ef1ea7f3d Release v1.2 2022-01-20 12:07:47 +01:00
Daniel Klabbers
8a7a016d24 Release v1.2 2022-01-20 12:03:29 +01:00
Daniel Klabbers
08aec419d2 Release v1.2 2022-01-20 12:01:02 +01:00
Daniel Klabbers
5b8fbdba8b Release v1.2 2022-01-20 11:57:27 +01:00
Daniel Klabbers
5de91e58fe Release v1.2 2022-01-20 11:55:45 +01: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
9ef9b4fb13 Merge branch 'master' of github.com:flarum/pusher 2022-01-20 04:25:42 -05:00
Alexander Skvortsov
f19461978c fix: build typings script 2022-01-20 04:25:36 -05:00
Alexander Skvortsov
a6581e5918 fix: build typings script 2022-01-20 04:25:16 -05:00
flarum-bot
08f23c60ba Bundled output for commit 85e6076553
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-01-20 09:15:39 +00:00
Alexander Skvortsov
85e6076553 fix: typings generation script 2022-01-20 04:13:50 -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
flarum-bot
44414c227e Bundled output for commit b363cd18c2
Includes transpiled JS/TS.

[skip ci]
2022-01-20 09:00:38 +00:00
Alexander Skvortsov
b363cd18c2 chore: flarum-cli audit infra --fix 2022-01-20 03:59:33 -05:00
flarum-bot
0edd226996 Bundled output for commit e03273e368
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:59:02 +00:00
flarum-bot
16e210ae0a Bundled output for commit de4a0db0ec
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:57:32 +00:00
Alexander Skvortsov
e03273e368 chore: flarum-cli audit infra --fix 2022-01-20 03:57:25 -05:00
Alexander Skvortsov
de4a0db0ec chore: flarum-cli audit infra --fix 2022-01-20 03:55:30 -05:00
flarum-bot
6f33f8273b Bundled output for commit 5c6f17d508
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:55:26 +00:00
Alexander Skvortsov
5c6f17d508 chore: flarum-cli audit infra --fix 2022-01-20 03:53:51 -05:00
Alexander Skvortsov
3dd9472647 chore: flarum-cli audit infra --fix 2022-01-20 03:52:02 -05:00
Alexander Skvortsov
5b3839a2cc chore: flarum-cli audit infra --fix 2022-01-20 03:48:49 -05:00
flarum-bot
c14642c985 Bundled output for commit 5f43267a40
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:48:25 +00:00
Alexander Skvortsov
5f43267a40 chore: flarum-cli audit infra --fix 2022-01-20 03:47:04 -05:00
flarum-bot
7dbc5b153f Bundled output for commit e9feb0aa58
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:46:41 +00:00
Alexander Skvortsov
e9feb0aa58 chore: flarum-cli audit infra --fix 2022-01-20 03:45:09 -05:00
Alexander Skvortsov
77da783ff6 chore: flarum-cli audit infra --fix 2022-01-20 03:42:53 -05:00
flarum-bot
90a8429067 Bundled output for commit 2c0e6798f9
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:40:02 +00:00
Alexander Skvortsov
2c0e6798f9 chore: flarum-cli audit infra --fix 2022-01-20 03:38:34 -05:00
flarum-bot
ec56b53b59 Bundled output for commit f5c1a0282d
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:38:04 +00:00