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

2200 commits

Author SHA1 Message Date
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
Jason Volk
fc162b41b3 modules/client/sync: Add a next_batch param to the query args passed to the range upper-bound. 2019-01-26 15:33:11 -08:00
Jason Volk
80b3cd678e modules/client/sync: Reorg / deinline sync args related. 2019-01-26 13:34:57 -08:00
Jason Volk
938d8b09aa modules/webhook: Tweak github push handler formatting. 2019-01-25 17:27:40 -08:00
Jason Volk
05f39b03d6 modules/client/sync/rooms: Don't skip sync routines based on room head index. 2019-01-25 17:03:29 -08:00
Jason Volk
33601e88a1 modules/client/sync: Increase default fibers for now; relax assertion. 2019-01-25 16:32:26 -08:00
Jason Volk
54352bff36 modules/m_event: Add back membership to pretty_oneline(). 2019-01-25 15:42:58 -08:00
Jason Volk
d2deab7e50 modules/m_noop: Update header / comment. 2019-01-25 14:53:59 -08:00
Jason Volk
41b059addd modules/m_state: Add a state clear routine. 2019-01-25 13:59:34 -08:00
Jason Volk
5b3bee79a6 ircd::fs: Normalize buffering for path interface; add path features. 2019-01-25 11:49:24 -08:00
Jason Volk
2886924bf0 ircd::fs: Reorg path interface related. 2019-01-25 10:39:37 -08:00
Jason Volk
5b5a88c86a modules/console: Add prefix filter param to conf list cmd. 2019-01-24 15:58:01 -08:00
Jason Volk
02b471eb95 modules/console: Increase table width for conf list cmd. 2019-01-24 13:38:34 -08:00
Jason Volk
d64a49428e ircd:Ⓜ️ Demote membership from top-level key; remove from m::event tuple. 2019-01-24 12:52:26 -08:00
Jason Volk
5d3dd964a0 ircd:Ⓜ️:event: Move essential() stripping routines to module. 2019-01-24 12:05:58 -08:00
Jason Volk
64229eb755 ircd:Ⓜ️:vm: Expose json_source dbs option to vmopts interface. 2019-01-24 11:37:26 -08:00
Jason Volk
f1a6654f21 ircd:Ⓜ️ Remove any options which toggle full json persistence. 2019-01-24 11:37:26 -08:00
Jason Volk
92154be55d ircd:Ⓜ️ Use event::keys::selection bitset in event::fetch::opts rather than event::keys. 2019-01-23 15:36:02 -08:00
Jason Volk
e491cf5694 modules/webhook: Add github issues handler. 2019-01-22 15:30:49 -08:00
Jason Volk
c30dfac408 modules/webhook: Simplify string escapes. 2019-01-21 15:34:57 -08:00
Jason Volk
e2431a3f18 modules/client/sync: Use better ctx::parallel interface for non-trivial arguments. 2019-01-21 12:40:40 -08:00
Jason Volk
963d207bf6 modules/webhook: Handle github pull_request hook type. 2019-01-20 14:12:51 -08:00
Jason Volk
be65ec7417 modules/webhook: Improve find_party; use url of found party. 2019-01-20 13:57:15 -08:00
Jason Volk
0a3db57bc2 modules/webhook: Use dynamic buffer for output. 2019-01-19 16:56:20 -08:00
Jason Volk
c634b23840 modules/webhook: Add github ping handler. 2019-01-19 16:23:20 -08:00
Jason Volk
89cd08ac22 modules: Preliminary webhook module. 2019-01-19 16:17:38 -08:00
Jason Volk
af3fe14e6d modules/client/sync/rooms: Checkpoint. 2019-01-18 14:54:04 -08:00
Jason Volk
573bda441d modules/console: Adjust aio cmd formatting. 2019-01-18 14:33:42 -08:00
Jason Volk
0c3bf20d33 modules/s_listen: Allow connections only after runlevel RUN; add log msgs. 2019-01-18 10:14:38 -08:00
Jason Volk
aeea524ac9 ircd::net: Improve listener interface w/ instance reference in callbacks. 2019-01-18 10:14:37 -08:00
Jason Volk
d639eceba2 ircd: Move runlevel related into ircd::run:: namespace. 2019-01-18 09:08:56 -08:00
Jason Volk
c5598ed60a modules/client/sync/rooms/state: Use post-fetch key filter here for now; checkpoint. 2019-01-16 18:39:40 -08:00
Jason Volk
c3dcd5f586 modules/client/sync/rooms/state: Add fetch options w/ json request. 2019-01-16 16:46:01 -08:00
Jason Volk
9cbed56017 modules/console: Show some more event cmd info. 2019-01-16 16:38:14 -08:00
Jason Volk
f857e25ea7 ircd:Ⓜ️:event: Add a source json::object as a member. 2019-01-16 14:35:10 -08:00
Jason Volk
d798124c03 modules/media: Prevent saving full JSON for internal media and presence events. 2019-01-16 13:51:44 -08:00
Jason Volk
becbcec430 modules/console: Finesse compressed cache statistics back into db cache output. 2019-01-16 13:00:40 -08:00
Jason Volk
5ae495031f ircd:Ⓜ️:event::fetch: Improve fetch options related; minor cleanup. 2019-01-16 12:19:25 -08:00
Jason Volk
4b88fcd157 ircd:Ⓜ️:vm: Factor opts.json into db::txn's reserve bytes. 2019-01-15 19:03:52 -08:00
Jason Volk
52a9ca9635 ircd:Ⓜ️:vm: Add json vm option. 2019-01-15 19:03:52 -08:00
Jason Volk
15c13d5c9b modules/console: Improve event info cmd. 2019-01-15 15:36:18 -08:00
Jason Volk
7c998e48ed ircd:Ⓜ️:dbs: Cleanup / reorg write-indexers stack. 2019-01-15 13:00:15 -08:00
Jason Volk
cbf456a388 ircd: Rename and refactor ircd::assertion interface into ircd::panic. 2019-01-13 16:37:31 -08:00
Jason Volk
3fae228c1a ircd::json: Simplify json::object interface: eliminate path traversing overloads. 2019-01-12 16:47:48 -08:00
Jason Volk
8421dd46b6 modules/client/register: Support the inhibit_login option. 2019-01-12 12:34:34 -08:00
Jason Volk
0f6363f3e5 modules/client/register: Fix flows regression; minor cleanup. 2019-01-12 12:33:00 -08:00
Jason Volk
3a3dfe40d1 modules/client: Implement the register/available endpoint. 2019-01-12 11:51:57 -08:00
Jason Volk
6a0b384d8f modules/console: Workaround https://github.com/facebook/rocksdb/issues/4878 2019-01-11 18:15:46 -08:00
Jason Volk
ba5701acca modules/client/sync: Improve parallel; comments; dynamic memory for large buffers. 2019-01-11 17:41:23 -08:00
Jason Volk
fe15e0d6a6 ircd::db: Use the proper cache query here. 2019-01-11 17:40:27 -08:00
Jason Volk
47bda85f3f modules/console: Add event cached cmd. 2019-01-11 17:40:14 -08:00
Jason Volk
56b1e760cf modules/client/sync/rooms: Create a directory for ephemeral. 2019-01-11 13:58:23 -08:00