0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-08 17:55:47 +02:00
Commit graph

2198 commits

Author SHA1 Message Date
Jason Volk
2c239858cb modules/client/sync/account_data: Ignore proffered events without an event_idx. 2019-02-27 16:30:43 -08:00
Jason Volk
9f7a08e9da modules/client/sync/rooms/timeline: Consolidate event append paths. 2019-02-27 16:27:04 -08:00
Jason Volk
c88d961ad4 modules/client/sync: Implement longpoll sync handler. 2019-02-27 16:27:04 -08:00
Jason Volk
902466450e modules/client/sync: Enable linear sync. 2019-02-27 16:25:37 -08:00
Jason Volk
f91f6226a6 modules/client/sync: Add event_idx to accept struct; move top object construction to handlers. 2019-02-27 16:25:37 -08:00
Jason Volk
7f57a4c422 modules/client/sync: Sketch various preliminary linear sync handlers. 2019-02-26 18:17:45 -08:00
Jason Volk
a263b2ff40 modules/client/sync: Use resource::response buffer w/ passed size argument. 2019-02-26 18:04:37 -08:00
Jason Volk
cc586a352e modules/client/sync: Implement iteration base of linear sync. 2019-02-26 18:04:37 -08:00
Jason Volk
78a1281b1c ircd:Ⓜ️:sync: Make data.out a pointer to the json::stack. 2019-02-26 15:50:58 -08:00
Jason Volk
70e0fe221f modules/m_event: Improve pretty_oneline(); add timestamp. 2019-02-26 10:44:56 -08:00
Jason Volk
92371040af modules/m_event: Move essential() definitions; minor reorg. 2019-02-26 10:28:30 -08:00
Jason Volk
2854ea9a0f Makefiles: Remove --gdb-index here because no -gsplit-dwarf used. 2019-02-25 18:20:48 -08:00
Jason Volk
f3d4e27b24 ircd:Ⓜ️:room: Start a room statistics interface. 2019-02-25 18:20:48 -08:00
Jason Volk
6f7fc0a837 ircd::db: Add interface to query size of key in column. 2019-02-25 18:17:01 -08:00
Jason Volk
11766b3e04 ircd:Ⓜ️:v1: Remove non-opts overloads; workaround g++-7 compiler bug. 2019-02-25 18:00:39 -08:00
Jason Volk
5910b97e03 modules/client/keys/upload: Add candidate one_time_key_counts response. 2019-02-25 18:00:39 -08:00
Jason Volk
e3a6e55808 ircd:Ⓜ️:device: Add unrestricted set() overload. 2019-02-25 18:00:39 -08:00
Jason Volk
55fd9505bc modules/client/sync/to_device: More efficient iteration seek. 2019-02-24 15:30:38 -08:00
Jason Volk
80ecb903cc modules/webroot: Return 404 before any 405 for non-existent resources. 2019-02-24 15:12:31 -08:00
Jason Volk
af5b0e69a1 modules/client/sync: Employ json::stack::checkpoint using boolean return values in all handlers. 2019-02-24 14:49:29 -08:00
Jason Volk
ec50b0f76e ircd:Ⓜ️:sync: Make instance-level conf::items for all sync::items. 2019-02-22 17:11:53 -08:00
Jason Volk
603cc98e30 modules/client/sync: Adjust the object creation for handlers; put the room head idx in data. 2019-02-22 16:23:02 -08:00
Jason Volk
8dbd0ae829 modules/console: Add fed user keys claim cmd. 2019-02-22 15:40:53 -08:00
Jason Volk
08c38b2251 modules/m_direct_to_device: Tweak logic for local message handling; handle exception per msg. 2019-02-22 15:40:53 -08:00
Jason Volk
cdb0ed443d modules/client/sync/to_device: Implement to_device event polylog sync. 2019-02-22 15:40:53 -08:00
Jason Volk
456a3fcc49 modules/federation/send: Allow conf item to control self-send protection. 2019-02-22 15:40:53 -08:00
Jason Volk
1ca01962a3 modules/client/keys: Implement 14.11.5.2.3 POST keys/claim. 2019-02-22 15:40:53 -08:00
Jason Volk
1ca90d9a3d modules/client: Implement 14.9.3.1 PUT sendToDevice (with limitation). 2019-02-22 15:40:53 -08:00
Jason Volk
190662f16d modules/federation/sender: Hack other send targets carried in event's room_id. 2019-02-22 15:40:53 -08:00
Jason Volk
c9f8e44c78 ircd:Ⓜ️:sync: Add stats.info conf item; rename debug_stats item. 2019-02-22 15:40:53 -08:00
Jason Volk
a4e709c6d4 ircd:Ⓜ️:sync: Add conf item for polylog item stats to debuglog. 2019-02-22 15:40:52 -08:00
Jason Volk
4797cf8b5e modules/client/send_to_device: Add client/unstable/ redirect to /r0/. 2019-02-21 17:56:08 -08:00
Jason Volk
7c69752114 modules/federation/user_keys_query: Add the unsigned.device_display_name to response. 2019-02-21 16:29:32 -08:00
Jason Volk
16e83bbcca modules/client/keys/query: Implement 14.11.5.2.2 POST keys/query. 2019-02-21 16:19:49 -08:00
Jason Volk
d064b9492c modules/console: Add -a option to resource cmd; hide unused resources by default. 2019-02-21 13:42:43 -08:00
Jason Volk
7f9b06e2c3 modules/federation: Split up user_keys module. 2019-02-21 13:42:43 -08:00
Jason Volk
08c5de6e2b ircd:Ⓜ️:device: Remove duplicate property; fix closure argument. 2019-02-21 13:42:43 -08:00
Jason Volk
380b1679a1 modules/federation/user_keys: Implement 21.2 POST user/keys/query. 2019-02-21 13:42:43 -08:00
Jason Volk
e4195e0c29 modules/console: Add cmds to peruse user profile/account_data/room_account_data. 2019-02-21 12:11:42 -08:00
Jason Volk
207a12934c ircd:Ⓜ️:user: Reorg user::account_data interface. 2019-02-21 12:11:42 -08:00
Jason Volk
7f37400dcb ircd:Ⓜ️:user: Reorg user::profile interface. 2019-02-21 11:53:25 -08:00
Jason Volk
f2eea77654 modules/client/keys/upload: Persist uploaded device_keys. 2019-02-20 19:19:54 -08:00
Jason Volk
8f4795e387 modules/client/keys: Move existing into directory; stub remaining endpoints. 2019-02-20 19:12:32 -08:00
Jason Volk
1dd97b8c75 modules/client/register: Fix device_id property name in access_token event. 2019-02-20 19:08:38 -08:00
Jason Volk
39671fcfc1 modules/webhook: Add <code> inside <pre> for visibility with Riot dark theme. 2019-02-20 16:48:23 -08:00
Jason Volk
0fe24757ba modules/client/sync/rooms/unread_notifications: Remove condition to send counts. 2019-02-20 16:32:01 -08:00
Jason Volk
82c2b7248a modules/m_device: Hook device deletion to delete associated access_token. 2019-02-20 15:56:10 -08:00
Jason Volk
98a8ca7bf2 ircd:Ⓜ️:device: Associate access_token to device. 2019-02-20 15:46:48 -08:00
Jason Volk
964d6b427f modules/client/devices: Implement 14.10.2 security considerations. 2019-02-20 15:45:32 -08:00
Jason Volk
5b962205d1 modules/console: Show the event_id of the access_token event. 2019-02-20 13:53:58 -08:00
Jason Volk
d5e8bbbf4a modules: Stub m.device_list_update edu handler; json schema. 2019-02-20 13:36:29 -08:00
Jason Volk
0efd723edb ircd:Ⓜ️:device: Develop interface; use individual state events for properties. 2019-02-20 13:36:29 -08:00
Jason Volk
d05f58d352 modules/client: Add preliminary delete_devices endpoint. 2019-02-20 13:10:56 -08:00
Jason Volk
18a41f81f1 modules: Move m::device definitions from m_user to m_device. 2019-02-20 09:46:27 -08:00
Jason Volk
3820912b0e modules/federation/user_devices: Implement GET response. 2019-02-19 17:48:42 -08:00
Jason Volk
815709bbed modules/client/devices: Implement handlers through m::device interface. 2019-02-19 17:42:17 -08:00
Jason Volk
b3baebd395 ircd:Ⓜ️:device: Add a proper device interface (sans device::set()). 2019-02-19 17:42:05 -08:00
Jason Volk
b4ee0a9bcf ircd:Ⓜ️ Temporary eval workarounds. 2019-02-19 16:34:24 -08:00
Jason Volk
77ababbe85 modules/client/sync/rooms: Minor constness fix. 2019-02-19 14:49:50 -08:00
Jason Volk
ddd59f6a04 modules/client/versions: Report r0.4.0. 2019-02-19 14:46:03 -08:00
Jason Volk
b8ea9fdad7 modules/client/keys: Use permanent redirect for /unstable/keys/ related. 2019-02-19 13:29:35 -08:00
Jason Volk
5b833ce6af modules/client/devices: Use permanent redirect resource for /unstable/. 2019-02-19 13:25:32 -08:00
Jason Volk
22fe163344 modules/client/devices: Support /unstable/ URL as well as /r0/. 2019-02-18 17:20:04 -08:00
Jason Volk
d960a31143 modules/client/register: Set device data on registration w/ login. 2019-02-18 16:50:53 -08:00
Jason Volk
ddf76fe502 ircd:Ⓜ️:register: Use json::string types here; simplify. 2019-02-18 16:44:28 -08:00
Jason Volk
aed1c856ef modules/client/login: Set device in user's room on login. 2019-02-18 16:42:08 -08:00
Jason Volk
15a805c00d modules/console: Add user device cmd. 2019-02-18 13:42:38 -08:00
Jason Volk
3ff31ec8ef modules: Start an m_direct_to_device edu handler. 2019-02-18 13:42:38 -08:00
Jason Volk
d445f98d93 modules/client: Stub a send_to_device endpoint. 2019-02-18 13:42:38 -08:00
Jason Volk
a6d33ad4f1 modules/console: Add clear option parameter to user tokens cmd. 2019-02-18 13:42:25 -08:00
Jason Volk
7d449e6e56 ircd:Ⓜ️:login: Use json::string rather than string_view in tuple types; simplify. 2019-02-18 13:42:25 -08:00
Jason Volk
0644db459c ircd:Ⓜ️:event: Add various size constants replacing magic numbers. 2019-02-18 13:42:25 -08:00
Jason Volk
dd99d929aa modules/client/logout: Implement 5.4.4 logout/all. 2019-02-18 11:22:45 -08:00
Jason Volk
cc2ed66190 modules/client/logout: Complete the logout endpoint. 2019-02-18 11:12:30 -08:00
Jason Volk
476f198075 modules/federation: Explicit path parameter checking for clearer error msgs. 2019-02-18 10:33:35 -08:00
Jason Volk
7e8f3048d3 modules: Start and identity service stub area. 2019-02-18 10:28:09 -08:00
Jason Volk
9314bd7b5b modules/federation/query_auth: Stub a NOT_IMPLEMENTED for now because synapse doesn't use this. 2019-02-18 09:59:59 -08:00
Jason Volk
952f173204 modules/client/rooms: Add /event/ endpoint. 2019-02-18 09:59:14 -08:00
Jason Volk
247544d130 modules/client/rooms/messages: Relax requirement for a ?from= parameter. 2019-02-18 09:59:14 -08:00
Jason Volk
2dfad15ee8 modules/client/keys: Rename URL from /unstable/ to /r0/. 2019-02-16 16:27:57 -08:00
Jason Volk
6a6d190a02 modules/federation: Add auth_chain to state and state_ids response. 2019-02-16 15:25:36 -08:00
Jason Volk
73f57f70a3 modules/console: Add fed query_auth cmd. 2019-02-16 15:25:36 -08:00
Jason Volk
f275cf8c83 ircd:Ⓜ️:event::auth::chain: No closing over full event; overload void closure. 2019-02-16 15:25:36 -08:00
Jason Volk
ed87eb31e0 modules/federation/query: Add my_host() in response for now. 2019-02-16 15:25:36 -08:00
Jason Volk
a380186001 ircd:Ⓜ️ Various cleanup; toward demangled linkage; mark size indicating stack use. 2019-02-16 15:25:36 -08:00
Jason Volk
108e90702e modules/console: Appease -Wparentheses. 2019-02-16 12:43:25 -08:00
Jason Volk
23a04dee6a modules/federation/event_auth: Return the spec event_auth. 2019-02-14 16:58:39 -08:00
Jason Volk
2660b30061 ircd:Ⓜ️:event: Add auth::chain utility. 2019-02-14 16:48:45 -08:00
Jason Volk
eca9bd7da9 modules/client/sync/rooms/ephemeral/receipt: Optimize polylog-sync strategy. 2019-02-14 15:28:38 -08:00
Jason Volk
b351b40961 modules/m_event: Fix room::power interface misuse. 2019-02-14 15:28:38 -08:00
Jason Volk
194160a735 ircd:Ⓜ️:event::refs: Reorientations for consolidated refs. 2019-02-14 14:02:34 -08:00
Jason Volk
17e1bb96bf ircd:Ⓜ️:dbs: Consolidate event_refs column. Drop prev_events column. 2019-02-14 13:11:37 -08:00
Jason Volk
f48274fc58 ircd:Ⓜ️:event::auth: Preliminary v1 auth rules. 2019-02-13 18:44:26 -08:00
Jason Volk
1a6d173a0b ircd:Ⓜ️:room::state: Change return value from event::id to event::idx for simple get(). 2019-02-13 16:01:18 -08:00
Jason Volk
8b992917ab modules/console: Improve event info cache and auth related. 2019-02-12 18:07:20 -08:00
Jason Volk
710c7e79c9 modules/console: Show room::index / improve output for room top info. 2019-02-12 18:01:55 -08:00
Jason Volk
5ea4a8da04 modules/console: Minor fixes. 2019-02-12 18:01:44 -08:00
Jason Volk
674373be90 ircd:Ⓜ️:event::auth: Restructure / rename interfaces; move is_power_event() to module. 2019-02-12 17:50:44 -08:00
Jason Volk
aaf80932fe ircd:Ⓜ️:room::auth: Simplify closure requirements. 2019-02-12 17:47:35 -08:00
Jason Volk
2f088591f7 modules/client: Add capabilities endpoint. 2019-02-12 12:04:02 -08:00