zulip/web
Mateusz Mandera a36f906d1a presence: Add history_limit_days param to the API.
This param allows clients to specify how much presence history they want
to fetch. Previously, the server always returned 14 days of history.
With the recent migration of the presence API to the much more efficient
system relying on incremental fetches via the last_update_id param added
in #29999, we can now afford to provide much more history to clients
that request it - as all that historical data will only be fetched once.

There are three endpoints involved:
- `/register` - this is the main useful endpoint for this, used by API
clients to fetch initial data and register an events queue. Clients can
pass the `presence_history_limit_days` param here.
- `/users/me/presence` - this endpoint is currently used by clients to
update their presence status and fetch incremental data, making the new
functionality not particularly useful here. However, we still add the
new `history_limit_days` param here, in case in the future clients
transition to using this also for the initial presence data fetch.
- `/` - used when opening the webapp. Naturally, params aren't passed
here, so the server just assumes a value from
`settings.PRESENCE_HISTORY_LIMIT_DAYS_FOR_WEB_APP` and returns
information about this default value in page_params.
2024-09-10 13:15:35 -07:00
..
e2e-tests compose_box: Fix order of group pm recipient pills on focus. 2024-08-27 13:21:16 -07:00
generated
html 5xx: Remove duplicate `error_page` class applied on page. 2024-07-03 13:35:12 -07:00
images thumbnail: Show the right spinner based on dark/light mode. 2024-07-21 18:41:59 -07:00
server
shared send_later_popover: Update calendar days icon. 2024-07-19 14:13:12 -07:00
src presence: Add history_limit_days param to the API. 2024-09-10 13:15:35 -07:00
styles settings_config: Use `kbd` for `realm_enter_send` label. 2024-09-06 11:47:04 -07:00
templates settings: Improve visibility of "Enter Sends Message" setting. 2024-09-06 11:47:04 -07:00
tests presence: Add history_limit_days param to the API. 2024-09-10 13:15:35 -07:00
third bootstrap: Remove legacy `nav nav-list` classes and related CSS. 2024-07-15 10:00:22 -07:00
.browserslistrc
.gitignore
babel.config.js
debug-require-webpack-plugin.ts debug-require-webpack-plugin: Add null check for TypeScript. 2024-08-26 07:44:14 -07:00
debug-require.js
postcss.config.js
webpack.assets.json support: Set discounted price instead percentage for customers. 2024-05-16 02:18:43 -07:00
webpack.config.ts static: Only run CompressionPlugin in production. 2024-08-13 09:01:06 -07:00
webpack.dev-assets.json