zulip/static
Steve Howell 1ae07b93d8 presence: Simplify payload for webapp.
This changes the payload that is used
to populate `page_params` for the webapp,
as well as responses to the once-every-50-seconds
presence pings.

Now our dictionary of users only has these
two fields in the value:

    - activity_timestamp
    - idle_timestamp

Example data:

    {
        6: Object { idle_timestamp: 1585746028 },
        7: Object { active_timestamp: 1585745774 },
        8: Object { active_timestamp: 1585745578,
                    idle_timestamp: 1585745400}
    }

We only send the slimmer type of payload
to clients that have set `slim_presence`
to True.

Note that this commit does not change the format
of the event data, which still looks like this:

    {
        website: {
            client: 'website',
            pushable: false,
            status: 'active',
            timestamp: 1585745225
        }
    }
2020-04-03 11:44:56 -07:00
..
assets styles: Finish removing manual antialiasing configuration. 2019-08-30 14:51:52 -07:00
audio
generated
html 5xx.html: Build with webpack. 2019-10-28 15:53:15 -07:00
images portico: Update google play and app store badges. 2020-03-06 12:12:02 -08:00
js presence: Simplify payload for webapp. 2020-04-03 11:44:56 -07:00
shared typeahead: Convert to ES6 module. 2020-02-19 14:36:42 -08:00
styles settings: Use % width for checkbox labels in small narrows. (#14448) 2020-04-03 11:40:02 -07:00
templates org settings: Minor changes to link icons and documentation. 2020-04-03 11:41:18 -07:00
third text: Fix some typos (most of them found and fixed by codespell). 2020-03-27 17:25:56 -07:00
.eslintrc.json lint: Delegate console.log check to ESLint. 2020-02-07 14:09:47 -08:00
.gitignore emoji: Resolve emoji sprite sheets and stylesheets through Webpack. 2020-02-25 14:43:46 -08:00
favicon.ico