framework/extensions
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
..
akismet chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
approval chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
bbcode chore(release): preparations 2023-03-09 19:00:32 +01:00
embed chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
emoji chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
flags chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
lang-english chore(release): preparations 2023-03-09 19:00:32 +01:00
likes chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
lock chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
markdown chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
mentions perf(core,mentions): limit mentionedBy post relation results (#3780) 2023-04-19 08:23:08 +01:00
nicknames chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
package-manager chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
pusher chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
statistics chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
sticky chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
subscriptions chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
suspend chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00
tags chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761) 2023-04-19 07:45:00 +01:00