Simple forum software for building great communities.
Go to file
Alexander Skvortsov 5ebc101fd5 Add config.php option not to boot extensions
Part of https://github.com/flarum/core/issues/2911

If the `boot_extensions` key is set to false, core will not boot any extensions in the backend, or run any initializers in the frontend. This allows admins to recover their forum without SSH access by disabling extension boot, going to the admin panel, and turning off offending extensions.

**Questions/Concerns for Reviewers**:

- Should we somehow signal to admins that this mode is enabled, possibly via alert? Otherwise, it might be confusing why extensions are indicated as enabled in the admin dashboard. This is challenging, as the alerts we currently have are in `content.blade.php`, and that view does not have access to payload/config.
- Should this require maintenance mode? If we disable all extensions (e.g. tags), some restricted discussions / content will immediately become public. This could lead to leaks via web scraping.
2021-09-17 14:10:06 -04:00
.github Move SECURITY.md file to central org repo 2021-08-30 15:43:52 -04:00
js Add config.php option not to boot extensions 2021-09-17 14:10:06 -04:00
less [A11Y] Adds missing focus rings back to control elements (#3016) 2021-09-13 23:47:13 +01:00
locale Add extra error handling for avatar file size & large payload (#3042) 2021-09-05 20:43:59 -04:00
migrations Remove LIKE and raw from viewUserList rename 2021-06-28 11:58:23 +02:00
src Add config.php option not to boot extensions 2021-09-17 14:10:06 -04:00
tests [1.x] Theme Extender to Allow overriding LESS files (#3008) 2021-09-10 13:45:18 -04:00
views [A11Y] Adds missing focus rings back to control elements (#3016) 2021-09-13 23:47:13 +01:00
.editorconfig Laravel components v8 (#2576) 2021-03-05 09:43:35 -05:00
.gitattributes Mark typings as generated code (#2886) 2021-06-07 13:12:43 +01:00
.gitignore Laravel components v8 (#2576) 2021-03-05 09:43:35 -05:00
.styleci.yml Drop the generate:migration command (#2686) 2021-03-16 12:41:07 -04:00
CHANGELOG.md changelog for v1.0.4 2021-06-28 12:22:48 +02:00
composer.json Update composer.json 2021-07-26 13:02:33 +02:00
LICENSE Update copyright year 2021-05-15 00:45:09 +01:00
README.md huntr.dev as first point for security vuln (#2918) 2021-06-10 16:26:40 +02:00

PHP Tests Total Downloads Latest Version License huntr StyleCI

About Flarum

Flarum is a delightfully simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a successful community. It is designed to be:

  • Fast and simple. No clutter, no bloat, no complex dependencies. Flarum is built with PHP so its quick and easy to deploy. The interface is powered by Mithril, a performant JavaScript framework with a tiny footprint.

  • Beautiful and responsive. This is forum software for humans. Flarum is carefully designed to be consistent and intuitive across platforms, out-of-the-box.

  • Powerful and extensible. Customize, extend, and integrate Flarum to suit your community. Flarums architecture is amazingly flexible, with a powerful Extension API.

Installation

This repository contains Flarum's core code. If you want to set up a forum, visit the Flarum skeleton repository.

Contributing

Thank you for considering contributing to Flarum! Please read the Contributing guide to learn how you can help.

Security Vulnerabilities

If you discover a security vulnerability within Flarum, please send an e-mail to security@flarum.org. All security vulnerabilities will be promptly addressed. More details can be found in our security policy.

License

Flarum is open-source software licensed under the MIT License.