0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-01 16:28:19 +02:00
Commit graph

8259 commits

Author SHA1 Message Date
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 940975b448 ircd::json::stack: Add checkpoint device. 2019-02-24 14:49:29 -08:00
Jason Volk ea4912d09a ircd::json::stack: Move final-flush to stack dtor rather than top value dtor. 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 2db5278eb2 ircd::db: Log the error message on database constructor before rethrow. 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 169abb0676 construct/console: Add a couple more halting options. 2019-02-22 15:40:52 -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 6ccc171bce ircd:Ⓜ️:v1::user::keys::claim: Add additional convenience construction. 2019-02-21 17:02:41 -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 dd7e31806d ircd:Ⓜ️:v1::user::keys::query: Add another convenient request composer. 2019-02-21 14:57:45 -08:00
Jason Volk d083d09e03 ircd::json: Relax assertion for array::empty() expectations. 2019-02-21 14:11:13 -08:00
Jason Volk 0cb852e732 ircd::json::array: Deinline various. 2019-02-21 14:00:00 -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 a3923e8374 ircd:Ⓜ️:device: Typedef device::id; add func to get device from access_token. 2019-02-20 19:08:38 -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 7c09123a3c ircd:Ⓜ️:room::state: Add a type prefix-domain iteration to state interface. 2019-02-20 13:10:56 -08:00
Jason Volk a441c77b6b ircd::json: Safer unquote for json::string constructions; specify constructions. 2019-02-20 13:10:56 -08:00
Jason Volk 2b2725f7c1 ircd::json::tuple: Minor cleanup. 2019-02-20 13:10:56 -08:00
Jason Volk 99058105b3 ircd:Ⓜ️:event: Minor move utils to event.h index header. 2019-02-20 13:10:56 -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