Simple forum software for building great communities.
Go to file
Sami Mazouz fbbece4bda
perf(core,mentions): limit mentionedBy post relation results (#3780)
* perf(core,mentions): limit `mentionedBy` post relation results

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* Apply fixes from StyleCI

* chore: use a static property to allow customization

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: use a static property to allow customization

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: include count in show post endpoint

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: consistent locale key format

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: forgot to delete `FilterVisiblePosts`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* test: `mentionedByCount` must not include invisible posts to actor

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* fix: visibility scoping on `mentionedByCount`

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* fix: `loadAggregates` conflicts with visibility scopers

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* Apply fixes from StyleCI

* chore: phpstan

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

---------

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-04-19 08:23:08 +01:00
.github chore: update to PHP 8.2 in frontend workflow (#3755) 2023-03-12 13:58:06 +01:00
extensions perf(core,mentions): limit mentionedBy post relation results (#3780) 2023-04-19 08:23:08 +01:00
framework/core perf(core,mentions): limit mentionedBy post relation results (#3780) 2023-04-19 08:23:08 +01:00
js-packages chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
php-packages feat: access tokens user management UI (#3587) 2023-02-21 14:14:53 +01:00
.editorconfig feat: frontend Model extender (#3646) 2023-02-08 21:13:53 +01:00
.gitattributes fix: Assorted Typing Fixes (#3348) 2022-03-23 11:43:14 -04:00
.gitignore fix: first posts having NULL as value for number column (#3414) 2022-05-08 23:21:11 +01:00
.styleci.yml chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
CHANGELOG.md chore: 1.7.1 preparations 2023-03-12 13:28:04 +01:00
composer.json perf(core,mentions): limit mentionedBy post relation results (#3780) 2023-04-19 08:23:08 +01:00
flarum-monorepo.json chore: prepare @flarum/jest-config for release 2023-02-12 17:45:00 +01:00
package.json chore: yarn audit-fix 2023-03-01 12:35:59 +01:00
phpstan.neon chore(phpstan): enable phpstan in bundled extensions (#3667) 2023-01-19 21:49:38 +01:00
README.md docs: link logo at the top with the official website (#3552) 2022-07-29 13:43:54 +01:00
yarn.lock chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01: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.

Screenshot of a Flarum instance, showing multiple discussions and tags.

Installation

This repository contains Flarum's core code. If you want to set up a forum, visit the Flarum skeleton repository. For support, refer to the documentation, and ask questions on Flarum Discuss (our community forum) or Discord server.

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.