Simple forum software for building great communities.
Go to file
J.C.Ködel 2dedfe4b92 Fix Color Thief cross origin bug
When users have external avatar urls (for instance: in a SSO environment where the avatar is provided by another domain), color thief fails to get the avatar dominant color because the canvas would be tainted. 

Following the instructions here (https://lokeshdhakar.com/projects/color-thief/ on the "Does it work if the image is hosted on another domain?"), adding an `image.crossOrigin = 'Anonymous';` solves the issue.

Tested on my forum which before suffered from a JS error and works fine (without this fix, the canvas remain in the `body` while an script error is thrown by color thief)
2019-10-28 16:35:45 +01:00
.github Fix instructions in PR template 2019-09-10 00:18:04 +02:00
js Fix Color Thief cross origin bug 2019-10-28 16:35:45 +01:00
less Mark notification as read without visiting discussion (#1874) 2019-09-09 23:36:06 +02:00
migrations fixes #1801, increasing the size of posts.content to mediumText correctly 2019-06-24 14:53:56 +02:00
src Revert search performance regression 2019-10-26 15:41:39 +02:00
stubs/migrations Remove extension generator 2016-10-04 23:26:03 +03:30
tests Revert search performance regression 2019-10-26 15:41:39 +02:00
views Determine error view and message based on type 2019-08-14 19:47:56 +02:00
.editorconfig part one of adding tests, updating core 2018-04-13 07:13:10 +02:00
.gitattributes Webpack (#1367) 2018-06-20 13:20:31 +09:30
.gitignore Move integration tests to separate directory 2019-02-01 19:01:12 +01:00
.styleci.yml Update StyleCI rules 2016-11-16 15:47:12 +10:30
CHANGELOG.md Prepare beta.10 release (#1885) 2019-09-16 09:28:17 +02:00
composer.json works towards #1789 by allowing event subscribing (#1810) 2019-10-01 11:12:46 +02:00
LICENSE Remove copyright year from LICENSE 2018-11-21 18:24:59 +10:30
README.md Clearer delineation of installation pointer 2018-11-22 18:37:00 +10:30

Build Status Total Downloads Latest Stable Version License

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.

License

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