0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-27 09:12:36 +01:00
Commit graph

2151 commits

Author SHA1 Message Date
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
Jason Volk
2f6384b068 ircd:Ⓜ️:room: Add room::auth interface w/ console cmd. 2019-02-12 12:04:02 -08:00
Jason Volk
8a81a6d24e ircd:Ⓜ️:event::auth: Add comments; remove cruft. 2019-02-12 12:04:01 -08:00
Jason Volk
4077c5faa3 ircd:Ⓜ️:typing: Partial normalization; 2019-02-11 15:57:01 -08:00
Jason Volk
a1c8845e1e ircd:Ⓜ️🧾 Normalize module definition names / layout. 2019-02-11 15:57:01 -08:00
Jason Volk
38d4718f20 ircd:Ⓜ️:presence: Normalize module definition names. 2019-02-11 15:57:01 -08:00
Jason Volk
d2744f02c9 modules/console: Improve UX for room events with missing depth=0. 2019-02-11 11:06:11 -08:00
Jason Volk
1babba0e98 modules/console: Add an mc register cmd. 2019-02-11 10:49:34 -08:00
Jason Volk
7531c4b07c modules/console: Start an mc section; add register available cmd. 2019-02-11 10:38:26 -08:00
Jason Volk
2b4e63f6f0 ircd::mods: Rename and expose exports map; add/update console cmds. 2019-02-09 18:43:05 -08:00
Jason Volk
8baf2f608c modules/console: Add more ref detail to event info cmd. 2019-02-09 18:43:04 -08:00
Jason Volk
68be0a321e ircd:Ⓜ️:event: Convert modular components to demangled style. 2019-02-09 18:43:04 -08:00
Jason Volk
6df8fcf244 ircd::mods: Improve return type deduction. 2019-02-09 14:44:01 -08:00
Jason Volk
3151931ee4 Linker options package. 2019-02-08 18:24:20 -08:00
Jason Volk
d39d50e18a modules/federation: Fix missing user_keys / user_devices recipe; fix errors. 2019-02-08 18:05:39 -08:00
Jason Volk
8fd1b57e86 modules/client/sync: Stub device related sync modules. 2019-02-08 09:18:39 -08:00
Jason Volk
5d3b6c0a0b modules/federation/send: Use array eval here. 2019-02-08 07:55:44 -08:00
Jason Volk
80a25cf352 ircd:Ⓜ️:event::auth: Add auth chain traversal. 2019-02-08 07:54:03 -08:00
Jason Volk
2b82dfec76 ircd:Ⓜ️:event::auth: Add iteration by type. 2019-02-08 07:53:39 -08:00
Jason Volk
7ecf7ecb04 modules/console: Add event auth cmd suite. 2019-02-08 03:19:55 -08:00
Jason Volk
e94e74e5e5 modules/m_event: Add event auth rebuild routine. 2019-02-08 03:19:54 -08:00
Jason Volk
30ab2eb9d7 modules/console: Use pretty output for refs cmd. 2019-02-08 03:19:54 -08:00
Jason Volk
4f4d5189c9 modules/m_room: Fix is_complete routine. 2019-02-07 23:54:10 -08:00
Jason Volk
2574ea72a5 modules/console: Fix path traverse regression. 2019-02-07 23:40:43 -08:00
Jason Volk
298750125a modules/console: Determine the event_id for the state request out here if possible. 2019-02-07 23:25:30 -08:00
Jason Volk
1b2c8bf83c modules/federation: Stub user_devices / user_keys. 2019-02-07 23:09:31 -08:00
Jason Volk
b430661bba modules/federation: Stub query_auth (for metrics). 2019-02-07 23:09:30 -08:00
Jason Volk
72a3ff2856 ircd: Employ path_string() at various callsites. 2019-02-07 22:16:19 -08:00
Jason Volk
3528bb41bc modules/console: pretty_oneline() event info references. 2019-02-07 08:19:28 -08:00
Jason Volk
657c8e6902 modules/m_presence: Gief this message a chance in the debuglog. 2019-02-07 08:19:27 -08:00
Jason Volk
34d78c1930 modules/console: Replace w/ fed user keys query cmd. 2019-02-07 08:19:27 -08:00
Jason Volk
f21c08fb19 modules/m_event: Add event refs rebuild util w/ console cmd. 2019-02-06 17:50:10 -08:00
Jason Volk
2b3aec68ee modules/console: Add ref list; improve output of event info cmd. 2019-02-06 17:18:39 -08:00
Jason Volk
4fa07b58a7 modules/console: Add event refs cmd. 2019-02-06 17:18:38 -08:00
Jason Volk
725dd52185 modules/webhook: Improve hmac error handling. 2019-02-05 19:05:17 -08:00
Jason Volk
6cb4020034 ircd:Ⓜ️:dbs: Rename head/refs options to room_head/room_refs; update vmopts and sites. 2019-02-05 19:05:17 -08:00
Jason Volk
59286ec80b modules/console: Tweak formatting; improve params. 2019-02-05 03:56:52 -08:00
Jason Volk
d60a7622e1 modules/webhook: Reverse push list order. 2019-02-05 02:33:51 -08:00
Jason Volk
00c88ca073 modules/vm: Replacements with scope_restore template. 2019-02-05 01:58:12 -08:00
Jason Volk
11af393444 modules/client/sync/rooms/timeline: Bail faster if no room head idx found. 2019-02-05 01:58:12 -08:00
Jason Volk
03cb4a613b modules/m_room_member: Fix improper hook match on local invites. 2019-02-04 22:50:51 -08:00
Jason Volk
25df42ea80 modules/webhook: Add watch handler. 2019-02-04 16:19:12 -08:00
Jason Volk
895358c48d modules/webhook: Minor cleanup; undress these definitions. 2019-02-04 16:18:35 -08:00
Jason Volk
6947c7e953 ircd:Ⓜ️ Move the state/send event iov composer into m_room. 2019-02-04 13:59:01 -08:00
Jason Volk
916afec37b modules/console: Add argument to show event's referenced json::object if available. 2019-01-26 17:30:42 -08:00
Jason Volk
8c5b1f283f modules/client/sync: Various range check fixes; simplify debug stats. 2019-01-26 17:26:05 -08:00
Jason Volk
e3f30546a0 modules/m_presence: Add commented log warning for presence spam. 2019-01-26 16:59:12 -08:00
Jason Volk
c080d5523c ircd:Ⓜ️:presence: Improve get() interface based on realistic usage needs. 2019-01-26 16:59:12 -08:00