Skip to content

Commit

Permalink
Merge branch '1.x' into di/custom-actor
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca authored Oct 22, 2024
2 parents 80e0c4c + 0694651 commit 6612ae0
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 13 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/REUSABLE_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ on:
description: The node version to use for the workflow.
type: number
required: false
default: 16
default: 20

js_package_manager:
description: "Enable TypeScript?"
Expand Down Expand Up @@ -117,6 +117,7 @@ env:
ci_script: ${{ inputs.js_package_manager == 'yarn' && 'yarn install --immutable' || 'npm ci' }}
cache_dependency_path: ${{ inputs.cache_dependency_path || format(inputs.js_package_manager == 'yarn' && '{0}/yarn.lock' || '{0}/package-lock.json', inputs.frontend_directory) }}
COMPOSER_AUTH: ${{ secrets.composer_auth }}
DISABLE_V8_COMPILE_CACHE: 1

jobs:
build:
Expand All @@ -131,12 +132,12 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.git_actor_token != '' && secrets.git_actor_token || secrets.GITHUB_TOKEN }}

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node_version }}
cache: ${{ inputs.js_package_manager }}
Expand All @@ -159,7 +160,7 @@ jobs:
working-directory: ${{ inputs.frontend_directory }}

- name: JS Checks & Production Build
uses: flarum/action-build@v3
uses: flarum/action-build@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: ${{ inputs.build_script }}
Expand Down
2 changes: 1 addition & 1 deletion extensions/flags/js/dist-typings/forum/extend.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/tags/js/dist-typings/forum/extend.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework/core/js/dist/forum.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion framework/core/js/dist/forum.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export default class DiscussionsSearchSource implements SearchSource {
view(query: string): Array<Mithril.Vnode> {
query = query.toLowerCase();

this.setQueryString(query);

const results = (this.results.get(query) || []).map((discussion) => {
const mostRelevantPost = discussion.mostRelevantPost();

Expand Down
2 changes: 1 addition & 1 deletion framework/core/js/src/forum/components/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default abstract class Post<CustomAttrs extends IPostAttrs = IPostAttrs>
90
);

items.add('footer', <footer className="Post-footer">{footerItems.length > 0 ? <ul>{listItems(footerItems)}</ul> : <ul></ul>}</footer>, 80);
items.add('footer', <footer className="Post-footer">{footerItems.length > 0 ? <ul>{listItems(footerItems)}</ul> : null}</footer>, 80);

return items;
}
Expand Down
2 changes: 1 addition & 1 deletion framework/core/src/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Application
*
* @var string
*/
const VERSION = '1.8.7';
const VERSION = '1.8.8';

/**
* The IoC container for the Flarum application.
Expand Down
1 change: 1 addition & 0 deletions js-packages/tsconfig/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"skipLibCheck": true,
"allowUmdGlobalAccess": true,
"sourceMap": true,
"strict": true,
Expand Down

0 comments on commit 6612ae0

Please sign in to comment.