-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from branchzero/master
Support Flarum Beta 0.1.0-beta.8
- Loading branch information
Showing
18 changed files
with
4,917 additions
and
236 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
{ | ||
"name": "jjandxa/flarum-ext-chinese-search", | ||
"description": "chinese search", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"type": "flarum-extension", | ||
"license": "Apache License 2.0", | ||
"authors": [ | ||
{ | ||
"name": "jjandxa", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "branchzero", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"minimum-stability": "beta", | ||
"require": { | ||
"flarum/core": "^0.1.0-beta.7", | ||
"flarum/core": "^0.1.0-beta.8", | ||
"hightman/xunsearch": "*@beta" | ||
}, | ||
"autoload": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace Plugin\XunSearch; | ||
|
||
use Flarum\Extend; | ||
use Illuminate\Contracts\Events\Dispatcher; | ||
use Plugin\XunSearch\Controller\XunSearchController; | ||
|
||
return [ | ||
(new Extend\Frontend('forum')) | ||
->js(__DIR__ . '/js/dist/forum.js'), | ||
(new Extend\Routes('api')) | ||
->get('/xun/discussions', 'xun.discussions.index', XunSearchController::class), | ||
function (Dispatcher $events) { | ||
$events->subscribe(XunSearchDispatcher::class); | ||
} | ||
]; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* This file is part of Flarum. | ||
* | ||
* (c) Toby Zerner <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
export * from './src/forum'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.