0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-30 14:24:40 +02:00
Commit graph

2169 commits

Author SHA1 Message Date
Jason Volk 70a47c98b1 ircd: Reduce several strict-overflow & related warnings. 2019-03-01 11:35:07 -08:00
Jason Volk b15fd581c7 modules/console: Improve parameters for file download cmd. 2019-03-01 10:16:31 -08:00
Jason Volk 8fee82b0d6 modules/client/sync: Readd the transaction_id on longpoll; fix ghost events. 2019-02-28 18:28:45 -08:00
Jason Volk eb17327f61 modules/vm: Add conf items for debuglog/infolog accept msgs; minor cleanup. 2019-02-28 17:12:04 -08:00
Jason Volk 9c20d49e33 ircd::resource::response::chunked: Eliminate move semantic. 2019-02-28 17:12:04 -08:00
Jason Volk 70173f5893 modules/client/sync: Use better flush() path. 2019-02-28 17:12:04 -08:00
Jason Volk 66249c620f ircd:Ⓜ️:room::state: Add central interface linkage for state utils. 2019-02-28 17:12:04 -08:00
Jason Volk c0009a0745 ircd:Ⓜ️ Add central linkage for is_complete(room). 2019-02-28 17:12:03 -08:00
Jason Volk 43b8ea9de7 ircd:Ⓜ️:room::origins: Improve origins::random import definition. 2019-02-28 17:12:03 -08:00
Jason Volk 7bcc40f13f ircd:Ⓜ️ Fix count_since prototype; upgrade definition. 2019-02-28 17:12:03 -08:00
Jason Volk af6ac4a2ac ircd: Replace various unwind count patterns with scope_count. 2019-02-28 17:12:03 -08:00
Jason Volk 4e6ed85d27 modules/client/sync/rooms/state: Fix condition for using state[] rather than timeline[]. 2019-02-28 12:45:04 -08:00
Jason Volk b8fa7455e9 modules/client/sync: Provide better next_batch after linear iteration. 2019-02-28 12:36:14 -08:00
Jason Volk 9a43a9524c modules/client/sync: Uniform log messages; longpoll error message; various fixes. 2019-02-27 18:49:38 -08:00
Jason Volk a13ffd8978 modules/client/sync/rooms/ephemeral/receipt: Fix competing receipt formats. 2019-02-27 18:36:34 -08:00
Jason Volk 2192ee4f89 modules/m_receipt: ircd.read messages don't need to go to clients. 2019-02-27 18:28:32 -08:00
Jason Volk 1e9b2cad9c modules/client/sync: Improve various sync handler conditions. 2019-02-27 18:24:12 -08:00
Jason Volk d469015e95 modules/client/sync/rooms/ephemeral/receipt: Filter my origin only. 2019-02-27 18:19:11 -08:00
Jason Volk 4724110736 modules/client/sync/rooms/ephemeral: Add m.typing sync handler. 2019-02-27 18:19:11 -08:00
Jason Volk b9cf3e6c18 modules/federation/send: Disable notifies for edu evals. 2019-02-27 18:07:38 -08:00
Jason Volk 9e063bbf83 ircd::resource: Add a pending request counter; block destruction of method when pending. 2019-02-27 17:49:40 -08:00
Jason Volk 2c239858cb modules/client/sync/account_data: Ignore proffered events without an event_idx. 2019-02-27 16:30:43 -08:00
Jason Volk 9f7a08e9da modules/client/sync/rooms/timeline: Consolidate event append paths. 2019-02-27 16:27:04 -08:00
Jason Volk c88d961ad4 modules/client/sync: Implement longpoll sync handler. 2019-02-27 16:27:04 -08:00
Jason Volk 902466450e modules/client/sync: Enable linear sync. 2019-02-27 16:25:37 -08:00
Jason Volk f91f6226a6 modules/client/sync: Add event_idx to accept struct; move top object construction to handlers. 2019-02-27 16:25:37 -08:00
Jason Volk 7f57a4c422 modules/client/sync: Sketch various preliminary linear sync handlers. 2019-02-26 18:17:45 -08:00
Jason Volk a263b2ff40 modules/client/sync: Use resource::response buffer w/ passed size argument. 2019-02-26 18:04:37 -08:00
Jason Volk cc586a352e modules/client/sync: Implement iteration base of linear sync. 2019-02-26 18:04:37 -08:00
Jason Volk 78a1281b1c ircd:Ⓜ️:sync: Make data.out a pointer to the json::stack. 2019-02-26 15:50:58 -08:00
Jason Volk 70e0fe221f modules/m_event: Improve pretty_oneline(); add timestamp. 2019-02-26 10:44:56 -08:00
Jason Volk 92371040af modules/m_event: Move essential() definitions; minor reorg. 2019-02-26 10:28:30 -08:00
Jason Volk 2854ea9a0f Makefiles: Remove --gdb-index here because no -gsplit-dwarf used. 2019-02-25 18:20:48 -08:00
Jason Volk f3d4e27b24 ircd:Ⓜ️:room: Start a room statistics interface. 2019-02-25 18:20:48 -08:00
Jason Volk 6f7fc0a837 ircd::db: Add interface to query size of key in column. 2019-02-25 18:17:01 -08:00
Jason Volk 11766b3e04 ircd:Ⓜ️:v1: Remove non-opts overloads; workaround g++-7 compiler bug. 2019-02-25 18:00:39 -08:00
Jason Volk 5910b97e03 modules/client/keys/upload: Add candidate one_time_key_counts response. 2019-02-25 18:00:39 -08:00
Jason Volk e3a6e55808 ircd:Ⓜ️:device: Add unrestricted set() overload. 2019-02-25 18:00:39 -08:00
Jason Volk 55fd9505bc modules/client/sync/to_device: More efficient iteration seek. 2019-02-24 15:30:38 -08:00
Jason Volk 80ecb903cc modules/webroot: Return 404 before any 405 for non-existent resources. 2019-02-24 15:12:31 -08:00
Jason Volk af5b0e69a1 modules/client/sync: Employ json::stack::checkpoint using boolean return values in all handlers. 2019-02-24 14:49:29 -08:00
Jason Volk ec50b0f76e ircd:Ⓜ️:sync: Make instance-level conf::items for all sync::items. 2019-02-22 17:11:53 -08:00
Jason Volk 603cc98e30 modules/client/sync: Adjust the object creation for handlers; put the room head idx in data. 2019-02-22 16:23:02 -08:00
Jason Volk 8dbd0ae829 modules/console: Add fed user keys claim cmd. 2019-02-22 15:40:53 -08:00
Jason Volk 08c38b2251 modules/m_direct_to_device: Tweak logic for local message handling; handle exception per msg. 2019-02-22 15:40:53 -08:00
Jason Volk cdb0ed443d modules/client/sync/to_device: Implement to_device event polylog sync. 2019-02-22 15:40:53 -08:00
Jason Volk 456a3fcc49 modules/federation/send: Allow conf item to control self-send protection. 2019-02-22 15:40:53 -08:00
Jason Volk 1ca01962a3 modules/client/keys: Implement 14.11.5.2.3 POST keys/claim. 2019-02-22 15:40:53 -08:00
Jason Volk 1ca90d9a3d modules/client: Implement 14.9.3.1 PUT sendToDevice (with limitation). 2019-02-22 15:40:53 -08:00
Jason Volk 190662f16d modules/federation/sender: Hack other send targets carried in event's room_id. 2019-02-22 15:40:53 -08:00