Skip to content

Commit

Permalink
beta 14 update
Browse files Browse the repository at this point in the history
  • Loading branch information
karaok491 committed Nov 7, 2020
1 parent 8af2a64 commit bb14297
Show file tree
Hide file tree
Showing 12 changed files with 4,696 additions and 63 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
}
],
"require": {
"flarum/core": "^0.1.0-beta.12",
"fof/components": ">=0.1.1",
"flarum/core": ">=0.1.0-beta.14 <0.1.0-beta.15",
"fof/components": ">=0.2.0",
"guzzlehttp/guzzle": "6.*"
},
"replace": {
Expand All @@ -34,6 +34,9 @@
"backgroundColor": "#e74c3c",
"color": "#fff"
}
},
"flagrow": {
"discuss": "https://discuss.flarum.org/d/18348"
}
}
}
8 changes: 8 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,23 @@

return [
new AddFofComponents(),

new Extend\Locales(__DIR__.'/locale'),

(new Extend\Frontend('forum'))
->js(__DIR__.'/js/dist/forum.js'),

(new Extend\Frontend('admin'))
->js(__DIR__.'/js/dist/admin.js'),

(new Extend\Middleware('forum'))
->add(Middleware\PreventPwnedPassword::class)
->add(Middleware\CheckLoginPassword::class)
->add(Middleware\CheckPasswordReset::class),

(new Extend\User())
,

function (Dispatcher $events) {
$events->subscribe(Access\GlobalPolicy::class);

Expand Down
2 changes: 1 addition & 1 deletion js/dist/admin.js

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

2 changes: 1 addition & 1 deletion js/dist/admin.js.map

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

Loading

0 comments on commit bb14297

Please sign in to comment.