Simple forum software for building great communities.
Go to file
David Wheatley 88724bb4cb
performance(frontend): Preload FontAwesome, JS and CSS (#3057)
* Add preloads support to Document class

* Add frontend extender for asset preloading

* Provide default preloads for FontAwesome

* Add tests for preload extender and default preloads

* Apply fixes from StyleCI

[ci skip] [skip ci]

* Fix typo

* Fix two more typos 🙃

* Preload core JS and CSS

* Apply fixes from StyleCI

[ci skip] [skip ci]

* Reorder preloads

* Remove singular preloads method

* Use filesystem disk driver for getting FA font paths

* Update test to use full URL

* Apply fixes from StyleCI

[ci skip] [skip ci]

* Address review comment

* Apply fixes from StyleCI

[ci skip] [skip ci]

* Fix typo

* Apply fixes from StyleCI

[ci skip] [skip ci]

* Correct callback wrapping

* Update src/Extend/Frontend.php

Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>

* Update src/Extend/Frontend.php

Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>

* Update src/Extend/Frontend.php

* Fix preload extender logic

* Convert base FontAwesome preloads into a Singleton

* Apply fixes from StyleCI

[ci skip] [skip ci]

Co-authored-by: luceos <luceos@users.noreply.github.com>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>
Co-authored-by: Alexander Skvortsov <sasha.skvortsov109@gmail.com>
2021-09-20 23:12:09 +01:00
.github Move SECURITY.md file to central org repo 2021-08-30 15:43:52 -04:00
js Bundled output for commit 5dd48e1b86 2021-09-20 15:08:49 +00:00
less [A11Y] Accessibility improvements for the Search component (#3017) 2021-09-20 16:06:15 +01:00
locale [A11Y] Accessibility improvements for the Search component (#3017) 2021-09-20 16:06:15 +01:00
migrations Remove LIKE and raw from viewUserList rename 2021-06-28 11:58:23 +02:00
src performance(frontend): Preload FontAwesome, JS and CSS (#3057) 2021-09-20 23:12:09 +01:00
tests performance(frontend): Preload FontAwesome, JS and CSS (#3057) 2021-09-20 23:12:09 +01: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.