zulip/static
Steve Howell 7ff3859136 subscriber events: Change schema for peer_add/peer_remove.
We now can send an implied matrix of user/stream tuples
for peer_add and peer_remove events.

The client code basically does this:

    for stream_id in event['stream_ids']:
        for user_id in event['user_ids']:
            update_sub(stream_id, user_id)

We used to send individual events, which gets real
expensive when you are creating new streams. For
the case of copy-to-stream case, we should see
events go from U to 1, where U is the number of users
added.

Note that we don't yet fully optimize the potential
of this schema.  For adding a new user with lots
of default streams, we still send S peer_add events.

And if you subscribe a bunch of users to a bunch of
private streams, we only go from U * S to S; we can't
optimize it down to one event easily.
2020-10-22 11:19:53 -07:00
..
assets notifications: Use a dynamic SVG favicon for unread counts. 2020-10-21 07:43:00 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
images notifications: Use a dynamic SVG favicon for unread counts. 2020-10-21 07:43:00 -07:00
js subscriber events: Change schema for peer_add/peer_remove. 2020-10-22 11:19:53 -07:00
shared requirements: Upgrade markdown to 3.3.1. 2020-10-19 11:54:14 -07:00
styles landing-page: Rename to landing_page.css. 2020-10-19 11:50:39 -07:00
templates notifications: Use a dynamic SVG favicon for unread counts. 2020-10-21 07:43:00 -07:00
third requirements: Upgrade markdown to 3.3.1. 2020-10-19 11:54:14 -07:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00