0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-08 03:28:40 +02:00
Commit graph

3801 commits

Author SHA1 Message Date
Jason Volk 439de6fbe6 modules/client/sync: Fix erroneous assertion related f8ed27403e 2020-03-23 13:01:24 -07:00
Jason Volk 5ddb14884c modules/m_push: Cleanup/reorg the match and execute stack. 2020-03-22 22:21:28 -07:00
Jason Volk 41a3040084 modules/m_push: Propagate loop break after highest priority match and action. 2020-03-22 18:18:51 -07:00
Jason Volk 3b564f816a modules/m_push: 'Homeservers MUST NOT notify ... for events ... user has sent themselves.' 2020-03-22 18:18:51 -07:00
Jason Volk b6ac0cb954 modules/m_push: Consistent log formats for rule paths. 2020-03-22 18:18:51 -07:00
Jason Volk c2ef709c90 modules/m_push: Add argument for different scopes to rule handler. 2020-03-22 18:18:51 -07:00
Jason Volk 822b422dfe modules: Add preliminary event pushrule evaluation module. 2020-03-22 18:18:50 -07:00
Jason Volk f8ed27403e modules/client/sync: Fix assertion condition. 2020-03-22 13:12:42 -07:00
Jason Volk 7b076e5bc9 modules/client/sync: Minor reorg. 2020-03-22 13:12:42 -07:00
Jason Volk ed54618ca4 ircd:Ⓜ️:user: Start a user::notifications interface. 2020-03-21 20:49:54 -07:00
Jason Volk 31d04f7677 modules/console: Add user pushers cmd. 2020-03-21 20:49:54 -07:00
Jason Volk 2762361f03 modules/m_room_power_levels: Minor fix formatting/indentation. 2020-03-21 20:49:54 -07:00
Jason Volk 1a0d617803 modules/client: Implement Client r0.6.0-13.13.1 Pushers. 2020-03-21 11:35:40 -07:00
Jason Volk 925d15f7c0 modules/client/sync/rooms/ephemeral/receipt: Reverse order of receipts for R!ot. 2020-03-21 11:35:40 -07:00
Jason Volk ebae05d1f3 modules/client/rooms/invite: Increase default timeout et. matrix.org 2020-03-20 14:08:31 -07:00
Jason Volk 43fdec3671 modules/console: Improve user pushrules cmd output. 2020-03-19 16:25:45 -07:00
Jason Volk f8b99ad26e ircd:Ⓜ️:user: Remove pre-pushrules highlight counter. 2020-03-19 16:01:32 -07:00
Jason Volk abfb106125 ircd: Rename globular classes to indicate case insensitivity. 2020-03-19 16:01:32 -07:00
Jason Volk 70e32d9292 modules/client/pushrules: Always return 200 on DELETE method for Riot. 2020-03-19 16:01:32 -07:00
Jason Volk 3741f7e7a5 modules/federation/send_join: Integrate /v2/send_join endpoint format. 2020-03-19 09:37:16 -07:00
Jason Volk ea9ad1622a modules/client/pushrules: Ensure 'enabled' and 'default' from client is proper. 2020-03-18 19:47:18 -07:00
Jason Volk 7d9e992e0d modules/client/pushrules: Support the /actions paths on GET and PUT methods. 2020-03-18 16:57:59 -07:00
Jason Volk 927da1002e modules/client/pushrules: Support the /enabled paths on GET and PUT methods. 2020-03-18 16:48:57 -07:00
Jason Volk 0ee313efc4 modules/client/pushrules: Add handler functionalities; rename namespace. 2020-03-18 16:06:44 -07:00
Jason Volk f897ebd134 modules/console: Add preliminary user pushrules cmd. 2020-03-18 16:06:44 -07:00
Jason Volk 42a8c30a40 modules/client/sync/account_data: Add linear and polylog sync support for m.push_rules 2020-03-18 16:06:44 -07:00
Jason Volk da736eb438 modules/client/rooms/invite: Add conf item for remote operation timeout. 2020-03-17 12:01:16 -07:00
Jason Volk 90f628d560 modules/client/rooms/invite: Minor rename remote hook related. 2020-03-17 12:00:40 -07:00
Jason Volk 1bc9246e69 modules/client/rooms/invite: Apply unique bypass to eval; tweak infolog msgs; minor cleanup. 2020-03-17 11:48:22 -07:00
Jason Volk 0d0db66a52 modules/federation/make_leave: Improve error response message. 2020-03-17 08:57:49 -07:00
Jason Volk cf9ecb2a22 modules/m_room_create: Condition to suppress variable level log msg. 2020-03-16 21:27:11 -07:00
Jason Volk 75327c19f9 modules/console: Improve SST file info table format; addl info; stack buffers. 2020-03-16 21:11:02 -07:00
Jason Volk 6e570bca16 modules/console: Sort SST files list by creation for output. 2020-03-16 19:23:35 -07:00
Jason Volk 4c2ea5c91c modules/web_hook: Add annotation on error state (for cancel). 2020-03-16 18:18:00 -07:00
Jason Volk f66faaaf8d modules/client/pushrules: Additional handler stubs w/ params. 2020-03-16 17:32:44 -07:00
Jason Volk 006aa4f0e6 modules/console: Allow nil argument to specify target level for all key ranges. 2020-03-16 00:31:35 -07:00
Jason Volk 829516afde ircd::db: Add compaction priority option to descriptor.
ircd:Ⓜ️:dbs: Tune compaction priority algorithm.
2020-03-13 15:12:22 -07:00
Jason Volk d136fd75f5 modules/media/download: Minor cleanup. 2020-03-13 15:01:07 -07:00
Jason Volk 0fb19b85ca ircd:Ⓜ️:media::file: Adjust download overloads; fix use of empty remote string in messages. 2020-03-13 14:52:08 -07:00
Jason Volk cf37e364ce modules/console: Add net service console cmd. 2020-03-12 21:09:56 -07:00
Jason Volk ffcbc87fdd ircd: Rename try_lex_cast to lex_castable. 2020-03-12 21:09:56 -07:00
Jason Volk 59ad4731ae modules/m_relation: Add hook to discover and fetch events from m_relates_to. 2020-03-10 23:03:14 -07:00
Jason Volk 14fffaeded modules/media/media: Fix unnecessary remote stringifies. 2020-03-10 22:14:40 -07:00
Jason Volk 8a769abe05 modules/web_hook: Improve riohtml formatting of PR's. 2020-03-10 08:45:05 -07:00
Jason Volk bc2a05d563 modules/media/media: Increase default block cache size. 2020-03-09 18:47:13 -07:00
Jason Volk fe70de48b4 modules/console: Disable additional state fetch from fed state cmd. 2020-03-09 18:47:13 -07:00
Jason Volk 3c87dc2677 modules/federation/query: Fix naked origin without service name. 2020-03-08 10:28:11 -07:00
Jason Volk abdb7c0f51 ircd:Ⓜ️:media::file::download: Fix critical assertion on context switch. 2020-03-07 23:37:28 -08:00
Jason Volk 44f587714e ircd:Ⓜ️ Tweak various federation request buffer options; related e3e83a6423fd. 2020-03-07 22:02:14 -08:00
Jason Volk 49dc7e77f2 ircd:Ⓜ️:media: Use abstract federation request for media downloads. 2020-03-07 21:33:44 -08:00
Jason Volk 55ffdddc6a ircd:Ⓜ️:fed: Refactor all interfaces using abstract request. 2020-03-07 21:33:44 -08:00
Jason Volk c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00
Jason Volk a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk 4935015b18 ircd::net::dns: Consolidate cache interfaces in public header; weak unresolved for now. 2020-03-07 12:51:12 -08:00
Jason Volk 41a6fa4e37 modules/client/rooms/context: Move spec related comment to document variable. 2020-03-06 18:53:00 -08:00
Jason Volk 6ab71b8fdc ircd:Ⓜ️:fed: Add well-known request for server name resolution w/ console cmd. 2020-03-06 18:28:41 -08:00
Jason Volk 0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk fddeb548a7 ircd::net::dns::resolve: Pass more information SRV key generator. 2020-03-05 14:18:57 -08:00
Jason Volk ae8b2bc0f8 modules/console: Require hostport param for cmd. 2020-03-05 14:18:57 -08:00
Jason Volk 1bfbcabad9 modules/console: Improve peer request table output. 2020-03-04 11:41:51 -08:00
Jason Volk df9b429344 ircd:Ⓜ️:vm::fetch: Add conf items to timeout event and state fetching. 2020-03-04 11:15:27 -08:00
Jason Volk bf2219634a modules/federation: Rename sender.int.h to sender.h. 2020-03-04 11:15:27 -08:00
Jason Volk f4679e1383 modules/console: Improve peer table output format. 2020-03-04 11:15:27 -08:00
Jason Volk 6e8995f49d ircd:Ⓜ️:vm::fetch: Disable auth fetch on auth chain eval here. 2020-03-03 21:38:46 -08:00
Jason Volk 0be0fe9e82 modules/federation: Fix conf item shared between invite and invite2. 2020-03-03 17:46:28 -08:00
Jason Volk baadb3d44a modules/m_vm_fetch: Improve logging of state fetch. 2020-03-03 16:21:38 -08:00
Jason Volk 57546ae788 modules/m_vm_fetch: Fix room sounding gauge for state fetch condition. 2020-03-03 16:17:48 -08:00
Jason Volk 6a72671507 modules/federation/send: Add conf items for some pdu eval fetch vmopts. 2020-03-03 16:15:04 -08:00
Jason Volk 64b3edd591 modules/federation/send: Fix bool conf item default. 2020-03-03 16:14:47 -08:00
Jason Volk 5458025a5c modules/m_receipt: Eliminate branch to drop receipts for unknown user here. 2020-03-03 15:22:19 -08:00
Jason Volk 6a27637094 modules/m_room_aliases: Handle and log exception on alias changed effect hook. 2020-03-03 15:09:04 -08:00
Jason Volk 7f2eb104b6 ircd::net::acceptor: Refactor error and limit handling branches; fix reset. 2020-03-03 14:14:43 -08:00
Jason Volk 14b962a695 ircd:Ⓜ️:vm: Track evaluation hook phase. 2020-03-02 20:55:08 -08:00
Jason Volk 9f4bc6606e modules/console: Add depth to vm listing; adjust widths. 2020-03-02 19:51:22 -08:00
Jason Volk cfc199d89e modules/console: Improve output formatting. 2020-03-02 18:34:46 -08:00
Jason Volk f471093d3e ircd:Ⓜ️:user::rooms: Use _event_state to eliminate the ircd.member type. 2020-03-01 17:13:15 -08:00
Jason Volk 48a8af4252 modules/console: Disable prev fetch on manual feds state eval. 2020-03-01 16:37:29 -08:00
Jason Volk 8a9b06c67e modules/m_receipt: Fix missing prop_mask field.
modules/m_presence: Fix missing prop_mask field.
2020-03-01 13:37:08 -08:00
Jason Volk 9bf174d84b modules/client/rooms/send: Implement txnid check for idempotency of requests. 2020-03-01 12:21:49 -08:00
Jason Volk cb0363f13c ircd:Ⓜ️:rooms: Add dump to file util w/ console cmd. 2020-02-28 20:19:42 -08:00
Jason Volk cdb0df84b8 modules/console: Remove cruft. 2020-02-28 18:02:49 -08:00
Jason Volk 1c305257af modules/m_listen: Increase proffer context stack size. 2020-02-27 16:25:47 -08:00
Jason Volk 1bdf52b7bb ircd:Ⓜ️:events: Add preliminary interface to _event_state w/ console cmd. 2020-02-26 18:24:17 -08:00
Jason Volk 28cc60a909 modules/client/sync/rooms/state: Add linear sync skip condition. 2020-02-24 12:26:51 -08:00
Jason Volk 8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk 8f5b40e9d5 modules/m_receipt: Disable luser receipt condition on membership. 2020-02-23 16:23:25 -08:00
Jason Volk c8dc1232ee modules/client/sync: Interrupt longpolling clients for faster graceful shutdown. 2020-02-19 16:25:24 -08:00
Jason Volk 41c36836cc modules/console: Add preliminary db cache each cmd for iteration related. 2020-02-19 13:26:23 -08:00
Jason Volk 3b5bdd7cc8 modules/client/sync: Fix unattended narrowing conversion. 2020-02-19 13:26:13 -08:00
Jason Volk 74c9978800 modules/llvm: Show library information in infolog on init. 2020-02-18 16:09:21 -08:00
Jason Volk e17ce00f96 modules/llvm: Add logger. 2020-02-18 16:06:21 -08:00
Jason Volk fd382d88a0 modules/llvm: Add info::versions information. 2020-02-18 16:06:13 -08:00
Jason Volk c3f0803e49 modules: X-value copy elision hints for clang. 2020-02-12 14:34:26 -08:00
Jason Volk 55f9947b52 modules/web_hook: Add annotation for failure status. 2020-02-12 14:34:26 -08:00
Jason Volk 58382af029 modules/client/sync: Fix warnings for clang. 2020-02-12 14:34:26 -08:00
Jason Volk 9579325506 modules: Stub for llvm. 2020-02-12 14:34:26 -08:00
Jason Volk 2d50569724 modules/magick: Remove unnecessary attributes. 2020-02-11 15:04:50 -08:00
Jason Volk 819e5ea08e modules/magick: Move noreturn attribute to declaration. 2020-02-01 22:18:49 -08:00
Jason Volk 1e994c0a3e ircd: Increase various 96_KiB default buffer sizes to 128_KiB. 2020-01-23 18:47:23 -08:00
Jason Volk 0c34b92083 modules/client/sync/rooms/ephemeral/receipt: Remove redundant apropos conditions. 2020-01-23 10:52:56 -08:00
Jason Volk 4522c5a7dd modules/console: Improve fed key cmd output. 2020-01-19 05:59:21 -08:00
Jason Volk 86bf383b4d modules: Improve README bullets. 2020-01-11 23:31:53 -08:00
Jason Volk cdfdde3334 ircd::db: Add interface to checksum files per column.
modules/console: Add column params to db check cmd.
2020-01-08 12:32:56 -08:00
Jason Volk a90b4e1344 modules/federation/send: Limit evals per node w/ conf item. 2020-01-07 15:16:34 -08:00
Jason Volk e0810afd87 modules/client/sync/presence: Skip erroneous user_id's in loop. 2020-01-07 13:43:53 -08:00
Jason Volk bfdbf60fd1 modules/federation/send: Return HTTP 202 on retry for transaction in progress. 2020-01-07 12:26:31 -08:00
Jason Volk 94c9152061 modules/federation/send: When origin field is used deny on mismatch. 2020-01-06 17:01:21 -08:00
Jason Volk 94aebfb4bf modules/federation/send: urldecode txnid into buffer. 2020-01-06 17:01:21 -08:00
Jason Volk f952cecfbb ircd:Ⓜ️:vm: Add txnid to opts; propagate from federation send. 2020-01-06 17:01:21 -08:00
Jason Volk d9c7985376 ircd:Ⓜ️:sync: Add next_batch central convenience; add branding to token. 2020-01-06 13:24:21 -08:00
Jason Volk fb21e0d62e modules/client/profile: Fix check for eptr on rethrow. 2020-01-02 11:16:47 -08:00
Jason Volk 15b9492ea0 modules/client/profile: Simplify empty profile query closure. 2020-01-02 11:16:47 -08:00
Jason Volk 4dcb2ed3a1 modules/console: Replace some larger tls buffers with dynamic. 2019-12-31 12:33:50 -08:00
Jason Volk c776229112 modules/web_hook: Switch to circle emoji for CI status reaction. 2019-12-22 02:35:51 -08:00
Jason Volk 74b07825aa modules/console: Optional state_key param in room get cmd. 2019-12-22 01:59:04 -08:00
Jason Volk 14774cf3e2 modules/console: Use pretty/pretty_oneline() in node key cmd. 2019-12-21 14:34:28 -08:00
Jason Volk 3852255812 modules/net_dns_cache: Fix regression; always respond to the cache room. 2019-12-11 17:59:06 -08:00
Jason Volk 27065f2bc2 modules/web_hook: Add m.annotation m.reaction replies to push messages based on status. 2019-12-11 14:09:23 -08:00
Jason Volk 4dd37bccbb modules/web_hook: Add the apropos hash to the content body, unstructured for now. 2019-12-11 14:09:23 -08:00
Jason Volk 25fbf51801 modules/console: Improve feds head diagnostic output detail. 2019-12-10 22:07:51 -08:00
Jason Volk 2ea3cdcc9b modules/console: Fix event refs arg requirement; type reflection lookup. 2019-12-10 11:37:09 -08:00
Jason Volk 12b340c093 ircd:Ⓜ️:room::head: Elaborate the prev_events generating interface; add features. 2019-12-10 11:37:09 -08:00
Jason Volk 35d3e71020 modules/client/sync: Fix timeout rel/abs regression. 2019-12-05 10:30:50 -08:00
Jason Volk 6a6f31315b modules/m_vm_fetch: Fix field name. 2019-12-03 20:32:00 -08:00
Jason Volk 03e6a8a867 modules/m_vm_fetch: Fix missing param in debuglog msg. 2019-12-03 20:24:11 -08:00
Jason Volk 6b69e240d8 modules/console: Toggle DWARNING/DERROR to match DEBUG in release-mode compilations. 2019-12-03 16:42:14 -08:00
Jason Volk 6acc0ba4cb modules/console: Allow toggle of ircd::debug in any compilation. 2019-12-03 16:34:07 -08:00
Jason Volk df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk a8c6d63b37 modules/client/sync/rooms/state: Add conf item for lazyload; adjust related. 2019-12-03 11:50:16 -08:00
Jason Volk 745172de1f modules/client/versions: Add a static string listing; add more versions. 2019-12-03 11:39:31 -08:00
Jason Volk 4ca71e21cc modules/console: Increase db cache table hits columns width. 2019-11-30 10:52:51 -08:00
Jason Volk 9bb4936625 modules/client: Minor upgrades to std::clamp/std::minmax templates. 2019-10-10 13:35:02 -07:00
Jason Volk 5c2ce1f20c modules/console: Add for clarity. 2019-10-10 13:08:25 -07:00
Jason Volk c0fc0a1cad ircd::prof: Add interface to pressure stall information on linux platforms. 2019-10-08 19:30:48 -07:00
Jason Volk 736f8c6ad0 modules/web_hook: Remove quotes around committer name in push handler. 2019-10-08 13:33:03 -07:00
Jason Volk aa24c43137 modules/web_hook: Embolden the ref name on create/delete events. 2019-10-08 13:31:14 -07:00
Jason Volk fb15e8c30b modules/web_hook: Support github create event. 2019-10-08 13:26:27 -07:00
Jason Volk 4ee38bc08f modules/client/sync/rooms/state: Hoist event fetchers from loop. 2019-10-07 20:19:41 -07:00
Jason Volk dae475664a modules/client/rooms/members: Hoist event::fetch instance from loop. 2019-10-07 20:12:16 -07:00
Jason Volk ccaf730ce1 modules/console: Detect bytes for pretty(iec()) in db ticker output. 2019-10-07 17:41:06 -07:00
Jason Volk 2b2374db6c ircd: Split all non-matrix definitions back to lib; rename module to net_dns_cache. 2019-10-05 17:37:44 -07:00
Jason Volk b5b4f9b4a5 ircd: Update stale README information. [ci skip] 2019-10-05 16:18:09 -07:00
Jason Volk 1980fd5e73 modules/client/rooms/invite: Move invite definition to lib. 2019-10-05 15:50:18 -07:00
Jason Volk b8439d61a9 modules/client: Fix errant non-m:: resources. 2019-10-04 20:23:59 -07:00
Jason Volk f8e74fbc36 ircd:Ⓜ️:homeserver: Fix remaining module init for now. 2019-10-04 15:08:49 -07:00
Jason Volk eaf64ba732 ircd:Ⓜ️ Reduce infolog noise here; fixes. 2019-10-04 13:55:06 -07:00
Jason Volk 6f798df65c ircd:Ⓜ️:homeserver: Refactor conf related; patch self:: related; console cmds. 2019-10-04 13:49:37 -07:00
Jason Volk 08ea932c59 ircd:Ⓜ️ Simplify/remove homeserver::rooms related. 2019-10-04 12:48:02 -07:00
Jason Volk 61d050024f modules/net_dns_cache: Fix room creation related; various. 2019-10-03 18:54:35 -07:00