dendrite/clientapi/routing
Till e5e3350ce1
Add presence module V2 (#2312)
* Syncapi presence

* Clientapi http presence handler

* Why is this here?

* Missing files

* FederationAPI presence implementation

* Add new presence stream

* Pinecone update

* Pinecone update

* Add passing tests

* Make linter happy

* Add presence producer

* Add presence config option

* Set user to unavailable after x minutes

* Only set currently_active if online
Avoid unneeded presence updates when syncing

* Tweaks

* Query devices for last_active_ts
Fixes & tweaks

* Export SharedUsers/SharedUsers

* Presence stream in MemoryStorage

* Remove status_msg_nil

* Fix sytest crashes

* Make presence types const and use stringer for it

* Change options to allow inbound/outbound presence

* Fix option & typo

* Update configs

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-04-06 13:11:19 +02:00
..
account_data.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
admin_whois.go Add account type (#2171) 2022-02-16 18:55:38 +01:00
aliases.go Various alias fixes (#1934) 2021-07-21 16:53:50 +01:00
auth_fallback.go Remember parameters on registration (#2225) 2022-02-25 14:33:02 +01:00
capabilities.go Finish implementing the capabilities endpoint (#1449) 2020-09-29 10:06:59 +01:00
createroom.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
deactivate.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
device.go Only allow device deletion from session UIA was initiated from (#2235) 2022-03-01 16:39:57 +00:00
directory.go Fix appservice username check (#2223) 2022-03-07 18:14:08 +01:00
directory_public.go "Enable" remote room search (#2099) 2022-01-28 11:07:47 +00:00
directory_public_test.go Implement ExtraPublicRoomsProvider for p2p demos (#1180) 2020-07-03 12:59:00 +01:00
getevent.go Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
joinroom.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
key_backup.go Add missing HTTP mode for userapi (#1982) 2021-12-03 17:18:35 +00:00
key_crosssigning.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
keys.go Cross-signing groundwork (#1953) 2021-08-04 17:56:29 +01:00
leaveroom.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
login.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
logout.go - Removed double imports (#1989) 2021-09-08 17:31:03 +01:00
membership.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
memberships.go Don't send null in joined_rooms response (#1659) 2020-12-18 13:33:08 +00:00
notification.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
openid.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00
password.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
peekroom.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
presence.go Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
profile.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
pusher.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
pushrules.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
receipt.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
redaction.go Roomserver/federation input refactor (#2104) 2022-01-27 14:29:14 +00:00
register.go Allow stored session parameters to be overwritten in the registration request (#2309) 2022-03-28 10:47:35 +01:00
register_secret.go - Removed double imports (#1989) 2021-09-08 17:31:03 +01:00
register_secret_test.go Implement /_synapse/admin/v1/register (#1911) 2021-07-09 16:52:31 +01:00
register_test.go Give more time to TestSessionCleanUp tests 2022-03-03 12:37:12 +00:00
room_tagging.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
routing.go Add presence module V2 (#2312) 2022-04-06 13:11:19 +02:00
sendevent.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
sendtodevice.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
sendtyping.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
server_notices.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
server_notices_test.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
state.go Remote banned user is kicked and may not rejoin until unbanned (#2216) 2022-02-22 15:50:04 +00:00
threepid.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
upgrade_room.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
userdirectory.go User directory for nearby Pinecone peers (P2P demo) (#2311) 2022-03-28 16:25:26 +01:00
voip.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
whoami.go Update /whoami response to match Spec v1.2 (#2201) 2022-02-18 11:28:02 +00:00