composer 安装的英文原版beta6安装包,已进行基础优化,且附上修改过的文件位置。
下载链接:https://share.weiyun.com/239f685ea01a5cae219635716232585b
修改文件:
简化帖子URL
/vendor/flarum/core/js/forum/dist/app.js #28999
/vendor/flarum/core/js/forum/src/initializers/routes.js #38
/vendor/flarum/core/views/index.blade.php #11
用户名支持中文字母数字2-11位且不能数字开头
/vendor/flarum/core/src/Core/Validator/UserValidator.php #48 #50 #51
/vendor/flarum/core/src/Core/Repository/UserRepository.php #78
中文搜索
/vendor/flarum/core/src/Core/Search/Discussion/Fulltext/MySqlFulltextDriver.php #23 #24
@中文用户
/vendor/flarum/flarum-ext-mentions/src/Listener/FormatPostMentions.php #68
/vendor/flarum/flarum-ext-mentions/src/Listener/FormatUserMentions.php #72 #98
修改{ago}时间格式
/vendor/flarum/core/js/admin/dist/app.js #23187 #23189
/vendor/flarum/core/js/forum/dist/app.js #30916 #30918
/vendor/flarum/core/js/lib/utils/humanTime.js #27 #29
替换资源地址
/vendor/flarum/core/less/lib/scaffolding.less #12
/vendor/flarum/core/src/Http/WebApp/WebAppView.php #154
/vendor/flarum/core/views/install/app.php #10 #19
/vendor/components/font-awesome/css/font-awesome.css
/vendor/components/font-awesome/css/font-awesome.min.css
/vendor/components/font-awesome/less/path.less
/vendor/filp/whoops/src/Whoops/Resources/js/whoops.base.js #35
/vendor/flarum/core/views/install/install.php #69
/vendor/flarum/core/views/install/update.php #20
/vendor/flarum/flarum-ext-pusher/js/forum/dist/extension.js #28
/vendor/flarum/flarum-ext-pusher/js/forum/src/main.js #13
/vendor/s9e/text-formatter/src/Bundles/Forum/Renderer.php #46 #49
/vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator/repository.xml #53 #69 #114
/vendor/flarum/flarum-ext-emoji/js/forum/dist/extension.js #220
/vendor/flarum/flarum-ext-emoji/js/forum/src/addComposerAutocomplete.js #88
/vendor/s9e/text-formatter/src/Plugins/Emoji/Configurator.php #107 #108