1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 07:41:22 +02:00
Files
php-flarum/framework/core
Toby Zerner 500c279fb3 New user activity feed API.
Originally the user activity feed was implemented using UNIONs. I was
looking at make an API to add activity “sources”, or extra UNION
queries (select from posts, mentions, etc.) but quickly realised that
this is too slow and there’s no way to make it scale.

So I’ve implemented an API which is very similar to how notifications
work (see previous commit). The `activity` table is an aggregation of
stuff that happens, and it’s kept in sync by an ActivitySyncer which is
used whenever a post it created/edited/deleted, a user is
mentioned/unmentioned, etc.

Again, the API is very simple (see Core\Activity\PostedActivity +
Core\Handlers\Events\UserActivitySyncer)
2015-05-20 12:30:27 +09:30
..
2015-05-20 12:30:27 +09:30
2015-05-20 11:12:48 +09:30
2015-05-20 12:30:27 +09:30
2015-05-20 12:30:27 +09:30
2015-03-31 22:38:15 +03:00
2015-05-05 09:16:53 +09:30
2015-05-06 11:26:47 +09:30
2015-03-30 15:50:36 +10:30
2015-05-19 01:22:52 +02:00
2015-05-19 01:22:52 +02:00
2015-05-07 12:43:23 +09:30

Flarum Core

This repository contains the core code of Flarum. If you want to install Flarum, visit the main Flarum repository.

Contributing

Interested in contributing to Flarum? Read the Contribution Guide!