0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 12:58:53 +01:00
Commit graph

10866 commits

Author SHA1 Message Date
Jason Volk
839ca6f000 modules/federation/make_join: Improve error string for propagation. 2019-09-16 13:39:48 -07:00
Jason Volk
8f4def84f4 modules/client/rooms/invite: Remove unnecessary check. 2019-09-16 13:33:35 -07:00
Jason Volk
fc4148d874 ircd:Ⓜ️:room::bootstrap: Relax check; fix error on join after accepting invite. 2019-09-16 13:24:40 -07:00
Jason Volk
c29fca7b4d ircd:Ⓜ️:vm: Ensure eval.event_id is assigned on inject. 2019-09-16 13:24:19 -07:00
Jason Volk
e73ebfd151 ircd:Ⓜ️:fetch: Throw on loop break to properly set request.eptr and finish(). 2019-09-16 12:38:01 -07:00
Jason Volk
c7de8aec82 ircd:Ⓜ️:init::backfill: Only ask the server which provided the unknown head for the event. 2019-09-16 12:30:44 -07:00
Jason Volk
a9b86c5594 ircd:Ⓜ️:fetch: Add an attempt_limit option to interface; minor cleanup. 2019-09-16 12:30:36 -07:00
Jason Volk
2d1911a2b1 ircd:Ⓜ️:fetch: Add conf item for backfill limit default. 2019-09-16 12:12:43 -07:00
Jason Volk
49ed79e9df ircd:Ⓜ️:fetch: Rename opts::limit to opts::backfill_limit. 2019-09-16 12:09:30 -07:00
Jason Volk
a6efe6986c modules/client/sync/rooms/timeline: Add comment. [skip ci] 2019-09-16 12:06:25 -07:00
Jason Volk
38e924992b ircd::server: Set peer error fron resolve/open_links exception handlers. 2019-09-16 11:44:09 -07:00
Jason Volk
7c69eda4a6 ircd::server: Prevent loopbacking at peer::open_links() stage. 2019-09-16 11:38:38 -07:00
Jason Volk
2115bf7cf4 ircd:Ⓜ️:user: Move definitions from modules/client to m_user. 2019-09-16 11:03:45 -07:00
Jason Volk
7fa72e8f39 ircd:Ⓜ️ Move the m::redact() definition out of client/rooms modules. 2019-09-16 10:55:23 -07:00
Jason Volk
0879a1396f doc: Improve style guide; add link to top readme. [skip ci] 2019-09-16 10:43:59 -07:00
Jason Volk
eda3283b29 doc: Improve architecture; add to top readme. [skip ci] 2019-09-16 10:02:15 -07:00
Jason Volk
322a686d2f README: Tweak format / presentation. [skip ci] 2019-09-16 09:28:24 -07:00
Jason Volk
2dce9fb67d ircd:Ⓜ️:event::fetch: End catch block for context switch. 2019-09-15 20:27:55 -07:00
Jason Volk
568a2881df ircd:Ⓜ️:event::refs: Branch on the event_idx sentinel here. 2019-09-15 20:21:17 -07:00
Jason Volk
3f65055892 modules/client/sync/rooms/state: Employ prev_content elision on some appends. 2019-09-15 20:04:23 -07:00
Jason Volk
b4b07debbd ircd:Ⓜ️:event::append: Add option to elide query for state prev_content. 2019-09-15 19:47:03 -07:00
Jason Volk
56e9f5e009 ircd:Ⓜ️:event::append: Only query for ignores for non-self sender; minor cleanup. 2019-09-15 19:36:39 -07:00
Jason Volk
da38ffc49c ircd:Ⓜ️:room::bootstrap: Simplify process; remove cruft. 2019-09-15 19:36:39 -07:00
Jason Volk
f9c47eee58 ircd:Ⓜ️:room::bootstrap: Reuse any existing join event on bootstrap. 2019-09-15 19:36:39 -07:00
Jason Volk
8fe92eea9b ircd:Ⓜ️ Fix the existential room test. 2019-09-15 19:36:39 -07:00
Jason Volk
0f00468bb8 modules/client/sync/rooms/timeline: Add case to linear-sync a backfill of timeline events on join. 2019-09-15 19:36:39 -07:00
Jason Volk
52a6c82a93 construct::console: Use context::DISPATCH flag for faster response. 2019-09-15 19:36:39 -07:00
Jason Volk
efadd20ce8 Revert "ircd::fs::aio: Use defer to post the chaser." [skip ci]
This reverts commit 726f131cc2.

Revert "construct: Set asio::io_context concurrency hint to 1."

This reverts commit 0d1b3de7c0.
2019-09-15 19:36:39 -07:00
Jason Volk
ec22842c63 ircd:Ⓜ️:event::append: Fix exclusion of redacts property. 2019-09-15 19:36:39 -07:00
Jason Volk
ea33e0326e ircd:Ⓜ️:rooms::summary: Refactor for per-origin result synthesis and learning. 2019-09-15 14:59:36 -07:00
Jason Volk
cd952963da ircd:Ⓜ️:event: Add parse error reporting on fetch assignments. 2019-09-15 14:46:26 -07:00
Jason Volk
fdad8445dc ircd:Ⓜ️:event: Add parse error reporting with event_id on some ctors. 2019-09-15 14:46:26 -07:00
Jason Volk
2e9e25fc28 ircd::client: Improve write_all() socket checks and thrown errors. 2019-09-15 14:46:26 -07:00
Jason Volk
72744824ba ircd::net::socket: Assertions for API use in fini state. 2019-09-15 14:46:26 -07:00
Jason Volk
a322ff762d ircd::net: Terminate rather than throwing into noexcept. 2019-09-14 20:14:36 -07:00
Jason Volk
4c7f53fda9 ircd::net: Return ENOTCONN from net::check(socket) in fini state. 2019-09-14 20:14:35 -07:00
Jason Volk
4ed000e6ab ircd::ios: Comment on constant_tsc issues with operating system suspend/hibernate. 2019-09-14 18:15:09 -07:00
Jason Volk
6450d38c04 ircd:Ⓜ️:rooms: Split rooms::summary header. 2019-09-14 17:44:49 -07:00
Jason Volk
35c37f6a67 ircd::buffer: Add boolean operators. 2019-09-14 17:15:56 -07:00
Jason Volk
398851af68 ircd::server::tag: Use explicit move assignment operations. 2019-09-14 16:55:57 -07:00
Jason Volk
da6fd3e3ab ircd::http: Move version mismatch to unlikely segment.
ircd:Ⓜ️:vm: Reduce branches.

ircd::http: Minor cleanup.
2019-09-14 16:33:14 -07:00
Jason Volk
9319df1a1b ircd:Ⓜ️:rooms::summary: Export state key manip utils to interface. 2019-09-14 16:08:33 -07:00
Jason Volk
1b4693601d modules/console: Add type/sender/state_key to table if available. 2019-09-14 15:49:10 -07:00
Jason Volk
3ac8bd2e60 modules/conf: Bypass update call on init for not-existent items. 2019-09-14 15:30:05 -07:00
Jason Volk
1011e2b9a3 modules/conf: Add conf_updated(event_idx) overload handling errors on event::fetch. 2019-09-14 15:30:05 -07:00
Jason Volk
2dd3b5b16a ircd::server: Set a better tag max default. 2019-09-14 14:45:19 -07:00
Jason Volk
653fc148d3 ircd:Ⓜ️:fetch: Only check signature for v1 events. 2019-09-14 14:45:19 -07:00
Jason Volk
12d969cdfd ircd:Ⓜ️:fetch: Fix error in signature checker. 2019-09-14 14:18:51 -07:00
Jason Volk
deeb731d42 modules/client/search: Update the handler with skeleton structure. 2019-09-14 13:51:24 -07:00
Jason Volk
5493376731 ircd:Ⓜ️ Start a search namespace; add spec tuple. 2019-09-14 13:51:24 -07:00