Commit Graph

8289 Commits

Author SHA1 Message Date
fb717db57c fix: slug transliteration assuming the language is always en (#3387)
* fix: transliteration assuming the language is always `en`
* test: transliteration works with forum locale
2022-04-16 11:31:23 +01:00
cca97f32c6 Bundled output for commit c658eb10f4ac0c22e068827af462282a9a0c9e8a
Includes transpiled JS/TS.

[skip ci]
2022-04-14 15:21:36 +00:00
c658eb10f4 feat(emoji): support emoji 14 & unicode 14 (#3378) 2022-04-14 10:49:47 -04:00
f667faa1bd Bundled output for commit 542cc42538d8f75f58442f0d4b45a0dcbda5ad4b
Includes transpiled JS/TS.

[skip ci]
2022-04-13 15:33:52 +00:00
542cc42538 feat: export utils/isSafariMobile (#3389) 2022-04-13 16:31:05 +01:00
518b39610e Bundled output for commit 6de1ea0194ac6c40e5775ffe9d8b7890c458c9b1
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-09 22:06:48 +00:00
6de1ea0194 fix: languages with combining characters cannot be searched (#3385)
* test: searching other types of languages
* fix: languages with combining characters cannot be searched
* test: can search in discussion titles
2022-04-09 23:04:15 +01:00
b5e5ae8c4c Bundled output for commit b0fa795cc936a5538af892312e97bbf763625e18
Includes transpiled JS/TS.

[skip ci]
2022-04-07 16:56:27 +00:00
b0fa795cc9 fix: extensions not being able to use the renderer without context (#3382) 2022-04-07 17:53:37 +01:00
c944fd0029 Bundled output for commit 98e607a7041b55130cfc5d0c8fb3e23b4b64e951
Includes transpiled JS/TS.

[skip ci]
2022-04-06 15:56:16 +00:00
98e607a704 fix: extension listeners added before core listeners (#3373) 2022-04-06 16:53:21 +01:00
9a0bdf9a04 Bundled output for commit 431ba304348f0f923c65183e5f8e3c03ac3da9b9
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-06 15:51:49 +00:00
431ba30434 fix: dont ignore optional dependencies on disabled extensions. (#3352)
There is a check in the ExtensionManager::resolveExtensionOrder function that ignores optional dependencies on extensions that don't exist in the system. This is sufficient for resolution purposes.

The filter removed in this PR would ignore optional dependencies on non-enabled extensions, so when such an extension was enabled, dependency resolution would run incorrectly.
2022-04-06 11:48:52 -04:00
45aba446b3 Bundled output for commit 9f7c5defaa1d082bda9af99dfc84d08e3e512ca5
Includes transpiled JS/TS.

[skip ci]
2022-04-05 14:41:10 +00:00
9f7c5defaa fix: notification timestamp mismatch in specific configurations (#3379)
When app's PHP server's timezone is not set to UTC, which would normally be done by Flarum's bootstrapping process, this call to Carbon would return a different timestamp to other calls elsewhere in Flarum, causing issues with notifications seemingly being delivered too early/late rather than at the actual time they were triggered.
2022-04-05 15:38:05 +01:00
2541349c68 Bundled output for commit 1d27f62c15b569f4cd74a24fc38a636d34933f9f
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-04 15:51:15 +00:00
1d27f62c15 feat: add discussion sortmap to container binding (#3377) 2022-04-04 11:48:28 -04:00
9d9594a098 Bundled output for commit 7c3da27fb32db6941f6401fee8b1727d3efd3ef4
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-03 21:37:31 +00:00
7c3da27fb3 chore: don't track .yarn-integrity in git (#3374) 2022-04-03 17:35:07 -04:00
402ace2070 Bundled output for commit ca7055f5d04af64755aef159d288e9337f17e885
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-04-03 21:20:28 +00:00
ca7055f5d0 feat: Graceful frontend extension initialization failure (#3349) 2022-04-03 22:17:57 +01:00
4dfbaa3271 Bundled output for commit cd8ed6cf66789b187873072dabc43ce873493243
Includes transpiled JS/TS.

[skip ci]
2022-04-03 21:17:26 +00:00
cd8ed6cf66 fix(subscriptions): filter followed discussions when searching (#3376)
Fixes #3375
2022-04-03 17:14:56 -04:00
cf8359daa4 Bundled output for commit 803f4cc792a1cd73e6fdb829d8f20e9ccd032722
Includes transpiled JS/TS.

[skip ci]
2022-04-03 17:30:09 +00:00
803f4cc792 feat: allow multiple children to be passed to ConfirmDocumentUnload component (#3372) 2022-04-03 18:27:53 +01:00
a7dd0b2b61 Bundled output for commit 00b91518646eeddb09635bfa76b4e92591c2595f
Includes transpiled JS/TS.

[skip ci]
2022-03-31 06:49:02 +00:00
00b9151864 feat: deprecate discussion post_number_index field. 2022-03-31 08:46:20 +02:00
e25c53c00f fix: canonicalize comparisons in Posts ListTest
That doesn't matter since there's no default sort for posts in the backend.
2022-03-31 08:46:20 +02:00
6839c9436f missed another prefix for tests 2022-03-31 08:46:20 +02:00
3ae113b897 Apply fixes from StyleCI
[ci skip] [skip ci]
2022-03-31 08:46:20 +02:00
6a65993ea5 fix prefix failing in tests 2022-03-31 08:46:20 +02:00
65dd37278b Apply fixes from StyleCI
[ci skip] [skip ci]
2022-03-31 08:46:20 +02:00
e429558d0e possibly fixes the issue with post number calculation 2022-03-31 08:46:20 +02:00
105481a181 Bundled output for commit b95b3646d3016b5163de51c465cc33a5c2eb14c1
Includes transpiled JS/TS.

[skip ci]
2022-03-28 20:49:53 +00:00
b95b3646d3 a11y: use feed aria role for DiscussionList (#3359)
* a11y: use `feed` aria role for DiscussionList

* a11y: add aria set info roles, move feed roles to more appropriate element
2022-03-28 21:47:20 +01:00
b64003cba5 Bundled output for commit 46f8cf46284754f98588646fc995fef420852a0a
Includes transpiled JS/TS.

[skip ci]
2022-03-23 17:37:18 +00:00
46f8cf4628 fix: Post--by-start-user class not working (#3356) 2022-03-23 18:21:01 +01:00
6df4101bae Bundled output for commit a595665bfbf7820c58a3911df154ced435b6fbfd
Includes transpiled JS/TS.

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

[skip ci]
2022-03-12 00:14:54 +00:00
5e82ded8c3 feat: use yarn workspaces 2022-03-11 19:12:11 -05:00
524540cb41 chore: use yarn v1 in extensions/core 2022-03-11 19:12:11 -05:00
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
a2eba3e978 Apply fixes from StyleCI
[ci skip] [skip ci]
2022-03-11 23:11:35 +00:00
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
379c06332a chore: move core's README to framework root. 2022-03-11 18:08:11 -05:00
efe97229f1 chore: restore issue templates 2022-03-11 18:07:47 -05:00
5fc0b4963a chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
693da58c41 chore: set up composer path repos 2022-03-11 18:02:49 -05:00
4bce9ad1ad chore: add monorepo config file 2022-03-11 18:01:44 -05:00