0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-05 01:58:35 +02:00
Commit graph

3260 commits

Author SHA1 Message Date
Jason Volk 30d27df649 ircd:Ⓜ️:room::power: Fix m.room.power_levels format validation per the spec. 2019-02-14 13:08:48 -08:00
Jason Volk f48274fc58 ircd:Ⓜ️:event::auth: Preliminary v1 auth rules. 2019-02-13 18:44:26 -08:00
Jason Volk 2c60fa4fce ircd:Ⓜ️:event::index: Prevent any column search for empty event_id. 2019-02-13 18:37:21 -08:00
Jason Volk df64c6e573 ircd:Ⓜ️:room::power: Improve requirements for different constructions. 2019-02-13 16:01:18 -08:00
Jason Volk 11264d2806 ircd:Ⓜ️:room: Add convenience wrapper for event::idx state::get() to interface. 2019-02-13 16:01:18 -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 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 74fdda36e2 ircd:Ⓜ️:event::conforms: Add checks for m.room.member state_key. 2019-02-12 17:19:13 -08:00
Jason Volk 7117d4a17c ircd:Ⓜ️:event::conforms: Add check for m.room.aliases sender host vs. state_key. 2019-02-12 15:34:40 -08:00
Jason Volk 903a117bf7 ircd:Ⓜ️:event::conforms: Add check for room_id host matching sender host for create event. 2019-02-12 15:22:53 -08:00
Jason Volk 1bd9ce0d1e ircd:Ⓜ️:event::conforms: Add checks for duplicate / self / missing auth refs. 2019-02-12 15:07:50 -08:00
Jason Volk 20eb440408 ircd:Ⓜ️:event: Improve the event::cache checking behavior. 2019-02-12 14:57:08 -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 4d95daf8e3 ircd::fs: Add slice_usage_warning around io_submit() / open(2). 2019-02-12 12:04:01 -08:00
Jason Volk 95dbc571f8 ircd::ctx: Support slice_usage_warning outside of context system too. 2019-02-12 12:04:01 -08:00
Jason Volk c204ece49a ircd:Ⓜ️:event: Add std::string overloads to event get() suite. 2019-02-12 10:03:20 -08:00
Jason Volk df8cee0b47 ircd:Ⓜ️:event: Fallback to JSON query for keys in the get() suite. 2019-02-12 10:02:37 -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 238c7ee8d9 ircd:Ⓜ️:event: Checkpoint invoke; minor cleanup. 2019-02-11 14:02:47 -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 0bd8571612 ircd::mods: Improve path translation for symbols() suite; add comments. 2019-02-09 18:43:05 -08:00
Jason Volk 68be0a321e ircd:Ⓜ️:event: Convert modular components to demangled style. 2019-02-09 18:43:04 -08:00
Jason Volk 7b12718e66 ircd::mods: Improve target symbol name generation. 2019-02-09 18:43:04 -08:00
Jason Volk c5d993f7c5 ircd::mods: Demangled imports. 2019-02-09 03:08:12 -08:00
Jason Volk 3fcb701b47 ircd::mods: Consolidate codepaths to binding. 2019-02-08 23:50:00 -08:00
Jason Volk e15045ea3f ircd::mods: Use std map for mangles. 2019-02-08 23:18:46 -08:00
Jason Volk b4f09d06ec ircd::mods: Simplify is_module() stack. 2019-02-08 20:40:08 -08:00
Jason Volk 1b48dd7c68 ircd::mods: Improve section search in symbol tools. 2019-02-08 20:39:30 -08:00
Jason Volk 77bbdd9ebe ircd::json: Cleanup generator definition here; use better rule template. 2019-02-08 19:41:04 -08:00
Jason Volk 3151931ee4 Linker options package. 2019-02-08 18:24:20 -08:00
Jason Volk 5c19cfa3de ircd::db: Truncate comments. 2019-02-08 09:18:39 -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 ef740d339b ircd:Ⓜ️:event: Add event::auth examination device. 2019-02-08 03:19:54 -08:00
Jason Volk 2a431fa26a ircd:Ⓜ️:dbs: Add event_auth column. 2019-02-08 03:19:54 -08:00
Jason Volk cbe829368f ircd:Ⓜ️:event: Start an auth header; add is_power_event(). 2019-02-08 03:19:54 -08:00
Jason Volk 0aa977c307 ircd:Ⓜ️:event: Simplify verify stack. 2019-02-07 23:41:29 -08:00
Jason Volk 8926e0d1f1 ircd: Attempt to find a current exception in terminate(). 2019-02-07 23:09:31 -08:00
Jason Volk fb6be95f2c ircd:Ⓜ️:v1: Add the user::keys::claim ctor stack complex; minor cleanup. 2019-02-07 23:09:30 -08:00
Jason Volk dcb1f2197e ircd:Ⓜ️:v1: Split user:: / user::keys headers. 2019-02-07 22:16:19 -08:00
Jason Volk a4bd140cc2 ircd::db: Add interruption threshold at seek call. 2019-02-07 22:16:19 -08:00
Jason Volk 72a3ff2856 ircd: Employ path_string() at various callsites. 2019-02-07 22:16:19 -08:00
Jason Volk e666f72b74 ircd::mods: Toward eliminating boost::filesystem exposure to this unit. 2019-02-07 22:16:19 -08:00
Jason Volk db552e2ec4 ircd::fs: Add interface to filesystem::relative() function. 2019-02-07 20:49:50 -08:00
Jason Volk 7b67b106b6 ircd::fs: Add convenience tls scratch buffers for name and path manip. 2019-02-07 20:49:26 -08:00
Jason Volk cc636d375f ircd::util: Improve string() suite; add flags for shrink_to_fit(). 2019-02-07 18:03:21 -08:00
Jason Volk 4c43b42f62 ircd::json::stack: Add overload for character append. 2019-02-07 08:19:28 -08:00
Jason Volk b6bfc5dd5c ircd::client: Add debuglog around main exec. 2019-02-07 08:19:28 -08:00
Jason Volk 8c99e90a85 ircd::client: Add request count to loghead. 2019-02-07 08:19:28 -08:00
Jason Volk 3a8f53e46e ircd:Ⓜ️ Start a device header. 2019-02-07 08:19:27 -08:00
Jason Volk 810a6017dc ircd::net: Allow allow_self_signed to cover more cases. 2019-02-07 02:36:02 -08:00
Jason Volk d5f03fba59 ircd:Ⓜ️:v1: Add ctor stack complex for user::keys::query. 2019-02-07 00:40:48 -08:00
Jason Volk b687d63169 ircd::ctx: Create and use log facility. 2019-02-07 00:17:26 -08:00
Jason Volk ce0d974868 ircd:Ⓜ️:v1: Add principals for user::keys::query & claim; remove unstables. 2019-02-07 00:17:26 -08:00
Jason Volk 8eb68c0e2e ircd:Ⓜ️:dbs: Add missing event refs comparator: minor cleanup. 2019-02-06 21:32:26 -08:00
Jason Volk 93fb468ba2 ircd:Ⓜ️:vm: Add tools using the eval instance_list. 2019-02-06 20:54:21 -08:00
Jason Volk 70c901a894 ircd:Ⓜ️:vm: Add json::array eval ctor. 2019-02-06 20:54:04 -08:00
Jason Volk bb68dfc1e7 ircd:Ⓜ️ Add event::hash(json::object) w/ branch from event.source. 2019-02-06 20:52:42 -08:00
Jason Volk a36f375162 ircd::json: Max iov::max_size a constexpr. 2019-02-06 20:51:50 -08:00
Jason Volk e497fe8506 ircd:Ⓜ️:event: Add event_id() convenience suite to reverse index(). 2019-02-06 17:18:38 -08:00
Jason Volk ec8f0c1e1c ircd:Ⓜ️:event: Add refs interface. 2019-02-06 17:18:38 -08:00
Jason Volk 2586476a57 ircd:Ⓜ️:dbs: Fix prefix related for event_refs column. 2019-02-06 17:18:38 -08:00
Jason Volk a63f23fc2d ircd::db: Minor reorg; move db::index defs near db::column. 2019-02-06 16:42:27 -08:00
Jason Volk 9c63e8e5dd ircd:Ⓜ️ Limit content property count in send() suite. 2019-02-06 02:58:21 -08:00
Jason Volk 9bd86e7f69 ircd:Ⓜ️:request: Use conf items for buffer sizes and limits. 2019-02-06 02:34:52 -08:00
Jason Volk 4da523ddf9 ircd:Ⓜ️🆔 Avoid character readback here. 2019-02-05 23:18:05 -08:00
Jason Volk 965134079e ircd: Fix regression. 2019-02-05 23:18:05 -08:00
Jason Volk ed62a4c61c ircd:Ⓜ️ Minor formatting. 2019-02-05 23:18:05 -08:00
Jason Volk ca4ef84c9f ircd:Ⓜ️:dbs: Add event_refs indexer; reorg event indexers related. 2019-02-05 19:05:17 -08:00
Jason Volk 843f78548b ircd:Ⓜ️:dbs: Add event_refs metadata column. 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 67d57ed2b6 ircd::json: Add a specific escape transform utility to interface. 2019-02-05 15:42:39 -08:00
Jason Volk d7c68d2fb7 ircd:Ⓜ️:room: Fix regressions. 2019-02-05 02:20:14 -08:00
Jason Volk ccf9f87e2a ircd:Ⓜ️🆔 Fail boolean validators faster on empty id. 2019-02-05 01:58:12 -08:00
Jason Volk 44d105b1ba ircd:Ⓜ️🆔 Minor cleanup. 2019-02-05 01:58:12 -08:00
Jason Volk fe1f097e58 ircd:Ⓜ️:sync: No propagation of m::error from polylog sync handlers. 2019-02-05 01:58:12 -08:00
Jason Volk 08940bddaf ircd::resource: Add conf items to toggle X-Matrix Authorization. 2019-02-05 01:58:12 -08:00
Jason Volk 5f759a617c ircd::resource: Improve X-Matrix destination host check. 2019-02-04 23:16:27 -08:00
Jason Volk a40a7912b0 ircd:Ⓜ️:room::messages: Add special case for ctor seeking depth=0. 2019-02-04 20:01:31 -08:00
Jason Volk f11282f583 ircd::db: Fix prefixed iterator seek to pos::BACK. 2019-02-04 19:45:27 -08:00
Jason Volk d36a6cd2b0 ircd:Ⓜ️:room: Add index(room::id) convenience to get some integer rep for room. 2019-02-04 19:19:56 -08:00
Jason Volk 7e11176ab7 ircd:Ⓜ️:room::messages: Simplify/optimize seek() functions. 2019-02-04 19:19:56 -08:00
Jason Volk d5f01d013d ircd::db: Add a last() iterator convenience for column / index. 2019-02-04 19:17:52 -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 3f4a8647af ircd::db: Dressings for port interfaces. 2019-02-04 13:59:01 -08:00
Jason Volk 9e2b3163b3 ircd::db: Reorder various definitions. 2019-02-04 13:59:01 -08:00
Jason Volk d2380ecd36 ircd::json::stack: Add raw rewind method to interface. 2019-01-26 17:01:07 -08:00
Jason Volk 7d96e90347 ircd:Ⓜ️:sync: Add data commitment indication to loghead. 2019-01-26 17:00:48 -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 0b8a2dfae4 ircd:Ⓜ️ Reorder / reorg m_event unit definitions. 2019-01-26 15:24:03 -08:00
Jason Volk 5ae0a521d6 ircd:Ⓜ️:event::fetch: Swap the fallback logic to json query after row query. 2019-01-26 14:06:03 -08:00
Jason Volk 5ce55a9dee ircd:Ⓜ️:event::fetch: Simplify interface; reference opts as class member. 2019-01-26 13:52:33 -08:00
Jason Volk e20d71a28a ircd:Ⓜ️ Fix m::events regression relying on event::fetch::row. 2019-01-26 13:38:46 -08:00
Jason Volk c458448104 ircd:Ⓜ️:dbs: Drop the origin column. 2019-01-25 17:37:30 -08:00
Jason Volk b203def78b ircd::mods: Deinline the mapi header ctor. 2019-01-25 14:53:13 -08:00
Jason Volk 246a5faba4 ircd::db: Add interface for range deletions. 2019-01-25 12:32:04 -08:00