Commit Graph

8251 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
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
379c06332a chore: move core's README to framework root. 2022-03-11 18:08:11 -05:00
Alexander Skvortsov
efe97229f1 chore: restore issue templates 2022-03-11 18:07:47 -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
4bce9ad1ad chore: add monorepo config file 2022-03-11 18:01:44 -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
2759234be1 Merge remote-tracking branch 'framework_core/REWRITE' 2022-03-11 18:01:43 -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
Alexander Skvortsov
1556db368b Merge remote-tracking branch 'extensions_akismet/REWRITE' 2022-03-11 18:01:09 -05:00
Alexander Skvortsov
8c51d788e6 Merge remote-tracking branch 'php_packages_phpstan/REWRITE' 2022-03-11 18:01:07 -05:00
Alexander Skvortsov
108d130354 Merge remote-tracking branch 'php_packages_testing/REWRITE' 2022-03-11 18:01:06 -05:00
Alexander Skvortsov
cf7a7fcbe0 Merge remote-tracking branch 'js_packages_tsconfig/REWRITE' 2022-03-11 18:01:05 -05:00
Alexander Skvortsov
309485e4b7 Merge remote-tracking branch 'js_packages_webpack-config/REWRITE' 2022-03-11 18:01:04 -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
0cb2dff197 Bundled output for commit 904deda6b9
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-03-10 01:00:54 +00:00
David Sevilla Martin
904deda6b9 Replace ColorPreviewInput preview box with 'color' input (#3271) 2022-03-09 19:56:25 -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
Ian Morland
fa45db3c45 fix: unread filter gambit does not return results when > 999 read discussions for a user (#3295) 2022-03-09 15:41:04 -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
flarum-bot
96e86fd16b Bundled output for commit dba6ad9d57
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-02-22 14:06:00 +00:00
Clark Winkelmann
dba6ad9d57 Fix permission check in edit modal
Previously was checking ability to edit own user instead of user selected in modal
2022-02-22 15:01:30 +01:00