Jason Volk
90752f1fb4
modules/federation/send_join: Add required spec "origin" in response.
2019-03-06 15:02:43 -08:00
Jason Volk
0c38d78bba
modules/federation/send_leave: Respond with so-called empty response.
2019-03-06 15:02:43 -08:00
Jason Volk
9f4890a517
ircd: Ⓜ️ Unify room create interface and paths around createroom tuple.
2019-03-06 15:02:43 -08:00
Jason Volk
85c041c27b
ircd: Ⓜ️ :room Update version query based on spec room version grammar (string type).
2019-03-06 15:02:43 -08:00
Jason Volk
dd961fc53d
modules/client/profile: Remove attempt at non-trivial designated initializers.
2019-03-06 10:50:42 -08:00
Jason Volk
09c2d7cbe5
modules/federation: Minor cleanup/simplification.
2019-03-06 00:22:18 -08:00
Jason Volk
c2966275c6
ircd: Ⓜ️ :room::head: Improve interface/linkage for head utils / prev_events generation.
2019-03-06 00:22:18 -08:00
Jason Volk
1a1939e2c7
ircd: Ⓜ️ :room::auth: Improve interface/linkage for auth_events generation.
2019-03-06 00:22:18 -08:00
Jason Volk
eb050591c9
modules/client/profile: Improve profile related for remote users.
2019-03-06 00:12:21 -08:00
Jason Volk
094ae6e997
ircd: Ⓜ️ :user::profile: Add interface for remote profile fetch().
2019-03-06 00:12:21 -08:00
Jason Volk
1f82b884ff
ircd: Ⓜ️ Implement 14.18 Room Tagging.
2019-03-05 18:42:04 -08:00
Jason Volk
9e884b326d
modules/webhook: Handle github issue_comment / created action.
2019-03-05 15:23:15 -08:00
Jason Volk
8b32f0558d
modules/client/sync/rooms/state: Add unsigned addendum to event output.
2019-03-05 14:43:00 -08:00
Jason Volk
6fed8cc360
modules/client/createroom: Forbid guest access on all presets in violation of the spec.
2019-03-05 14:27:52 -08:00
Jason Volk
00da74fa27
modules/client/createroom: Improve error reporting; add derror log message.
2019-03-05 14:24:31 -08:00
Jason Volk
85b66e2d55
modules/client/sync/rooms/timeline: For non-longpoll, attempt to query transaction_id.
2019-03-05 14:24:08 -08:00
Jason Volk
d30e053e42
modules/client/rooms/send: Save transaction_id's to user's user room.
2019-03-05 14:24:08 -08:00
Jason Volk
78eab2fbcd
modules/client/createroom: Implement the preset string behavior.
2019-03-05 14:24:08 -08:00
Jason Volk
d4b8a8089e
ircd: Ⓜ️ :createroom: Generate default power_levels w/ option for content_override.
2019-03-05 14:24:08 -08:00
Jason Volk
bbaf38937b
ircd: Ⓜ️ :room::power: Add util to generate spec-default power_levels content.
2019-03-05 14:24:08 -08:00
Jason Volk
c972683e2c
modules/client/createroom: Set the visibility in the public rooms list; minor cleanup.
2019-03-05 12:51:48 -08:00
Jason Volk
70484be697
modules/client/createroom: Add graceful error handling and granular reporting to client.
2019-03-05 12:42:53 -08:00
Jason Volk
f0598bb27a
modules/client/createroom: Set initial room state from supplied request data.
...
modules/client/createroom: Set the room name and topic if supplied in request.
modules/client/createroom: Set any state events from supplied initial_state.
modules/client/createroom: Invite any users in the supplied invite array.
modules/client/createroom: Set the room's initial guest_access if supplied by user.
2019-03-05 12:23:49 -08:00
Jason Volk
025313b6fe
modules/webhook: Handle github issue labeled.
2019-03-05 11:14:29 -08:00
Jason Volk
6be111ac0b
Revert "modules/m_room_member: Remove membership rule on can_join hook."
...
This reverts commit 6d6fb8b0d3
.
2019-03-05 08:51:00 -08:00
Jason Volk
d8a9f484a4
modules/client/rooms/messages: Simplify the messages iteration.
2019-03-04 15:46:44 -08:00
Jason Volk
1dcf36adc8
modules/client/rooms/event: Fix param missing error message.
2019-03-04 14:36:49 -08:00
Jason Volk
19e09b0ad5
ircd: Ⓜ️ :login: Support identifier typed login.
2019-03-04 13:16:14 -08:00
Jason Volk
6d6fb8b0d3
modules/m_room_member: Remove membership rule on can_join hook.
2019-03-04 12:52:13 -08:00
Jason Volk
59973705bb
modules/client/rooms/context: Provide better pagination tokens in response.
2019-03-04 12:43:14 -08:00
Jason Volk
48055345ea
modules/client/rooms/messages: Fix the start pagination token in reponse.
2019-03-04 12:42:58 -08:00
Jason Volk
86e7e78a8a
modules/client/register: Disable guest registration by default for now.
2019-03-04 09:29:27 -08:00
Jason Volk
68ed0d6133
modules/client/register: Add email to the registration flows.
2019-03-04 09:28:02 -08:00
Jason Volk
d70e46718b
modules/federation: Remove these unnecessary checks.
2019-03-03 16:49:51 -08:00
Jason Volk
3099997049
modules/client/sync/rooms/state: Deal with "invite_state" vs. "state".
2019-03-03 16:33:10 -08:00
Jason Volk
e93e460f22
modules/client/sync: Must wait for parallel completion before copying ret.
2019-03-03 16:33:10 -08:00
Jason Volk
f1bca6de7e
modules/client/profile: Return 404 rather than {} for empty profiles.
2019-03-03 16:33:10 -08:00
Jason Volk
bfb2efc1ac
modules/federation/send_join: Improve response; include proper auth_chain.
2019-03-03 15:45:43 -08:00
Jason Volk
aa6b8352da
modules/federation/query: Respond with full profile when no field query parameter.
2019-03-03 14:45:18 -08:00
Jason Volk
81127045b0
modules/console: Add certificate_chain_path parameter to net listen cmd.
2019-03-03 13:57:29 -08:00
Jason Volk
55c08f08ae
modules/console: Print more information with crt cmd.
2019-03-03 13:46:27 -08:00
Jason Volk
8331fd0890
modules/s_keys: Fix valid_until_ts generation.
2019-03-03 13:41:40 -08:00
Jason Volk
80bc6236d5
modules/console: Add milliseconds epoch to date cmd output; fix key create cmd name.
2019-03-03 13:31:09 -08:00
Jason Volk
69210c64be
modules/s_keys: Reduce milliseconds epoch to seconds.
2019-03-03 13:08:10 -08:00
Jason Volk
86a946ab89
modules/console: Add certificate diagnostic cmd.
2019-03-03 12:31:23 -08:00
Jason Volk
295794ec42
ircd: Ⓜ️ :user: Improve user filter interface and module linkage.
2019-03-02 16:49:44 -08:00
Jason Volk
73be558ff2
modules/client/register_available: Deny response when registration disabled.
2019-03-02 16:05:30 -08:00
Jason Volk
3deeab99de
modules/client/register: Allow flows request before denying registration otherwise Riot infinite-loops.
2019-03-02 16:05:30 -08:00
Jason Volk
47bcfaecb4
ircd: Upgrade various templates with argument deduction.
2019-03-02 14:20:52 -08:00
Jason Volk
a21e03df27
ircd: Add restart support w/ console cmd.
2019-03-02 14:20:52 -08:00
Jason Volk
157805d97b
modules/client/sync: Simplify next_batch token decision after linear and longpoll.
2019-03-02 14:20:52 -08:00
Jason Volk
7f7ecc90b3
modules/client/rooms/context: Allow a room_id as the event_id and fetch the room head.
2019-03-01 19:02:49 -08:00
Jason Volk
0720b2f4c4
modules/client/events: Implement 14.17.1.1 /events (room previews).
2019-03-01 18:34:53 -08:00
Jason Volk
d50462a9dd
modules/client/rooms: Implement 9.3.8 initialSync (for acquired rooms).
2019-03-01 18:25:37 -08:00
Jason Volk
c8bce8e251
ircd: Ⓜ️ :rooms: Add is_public() test if listed in !public.
2019-03-01 14:51:30 -08:00
Jason Volk
ba2e81254b
modules/client/profile: Add conf item for remote request timeout.
2019-03-01 14:18:22 -08:00
Jason Volk
452c664a8c
modules/client/profile: Return better errors to client for remote profile requests.
2019-03-01 14:12:49 -08:00
Jason Volk
e763e7e9a8
modules/client/sync/account_data: Fix regressions; optimize query pattern.
2019-03-01 13:09:19 -08:00
Jason Volk
ec4fbe3640
modules/client/sync/rooms/account_data: Add linear sync handler.
2019-03-01 12:58:37 -08:00
Jason Volk
b6fe591142
modules/client/sync/rooms/account_data: Improve polylog sync handler.
2019-03-01 12:58:37 -08:00
Jason Volk
58a98806e9
ircd: Ⓜ️ :user::room_account_data: Expose type prefixing in interface.
2019-03-01 12:58:37 -08:00
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
Jason Volk
c9f8e44c78
ircd: Ⓜ️ :sync: Add stats.info conf item; rename debug_stats item.
2019-02-22 15:40:53 -08:00
Jason Volk
a4e709c6d4
ircd: Ⓜ️ :sync: Add conf item for polylog item stats to debuglog.
2019-02-22 15:40:52 -08:00
Jason Volk
4797cf8b5e
modules/client/send_to_device: Add client/unstable/ redirect to /r0/.
2019-02-21 17:56:08 -08:00
Jason Volk
7c69752114
modules/federation/user_keys_query: Add the unsigned.device_display_name to response.
2019-02-21 16:29:32 -08:00
Jason Volk
16e83bbcca
modules/client/keys/query: Implement 14.11.5.2.2 POST keys/query.
2019-02-21 16:19:49 -08:00
Jason Volk
d064b9492c
modules/console: Add -a option to resource cmd; hide unused resources by default.
2019-02-21 13:42:43 -08:00
Jason Volk
7f9b06e2c3
modules/federation: Split up user_keys module.
2019-02-21 13:42:43 -08:00
Jason Volk
08c5de6e2b
ircd: Ⓜ️ :device: Remove duplicate property; fix closure argument.
2019-02-21 13:42:43 -08:00
Jason Volk
380b1679a1
modules/federation/user_keys: Implement 21.2 POST user/keys/query.
2019-02-21 13:42:43 -08:00
Jason Volk
e4195e0c29
modules/console: Add cmds to peruse user profile/account_data/room_account_data.
2019-02-21 12:11:42 -08:00
Jason Volk
207a12934c
ircd: Ⓜ️ :user: Reorg user::account_data interface.
2019-02-21 12:11:42 -08:00
Jason Volk
7f37400dcb
ircd: Ⓜ️ :user: Reorg user::profile interface.
2019-02-21 11:53:25 -08:00
Jason Volk
f2eea77654
modules/client/keys/upload: Persist uploaded device_keys.
2019-02-20 19:19:54 -08:00
Jason Volk
8f4795e387
modules/client/keys: Move existing into directory; stub remaining endpoints.
2019-02-20 19:12:32 -08:00
Jason Volk
1dd97b8c75
modules/client/register: Fix device_id property name in access_token event.
2019-02-20 19:08:38 -08:00
Jason Volk
39671fcfc1
modules/webhook: Add <code> inside <pre> for visibility with Riot dark theme.
2019-02-20 16:48:23 -08:00
Jason Volk
0fe24757ba
modules/client/sync/rooms/unread_notifications: Remove condition to send counts.
2019-02-20 16:32:01 -08:00
Jason Volk
82c2b7248a
modules/m_device: Hook device deletion to delete associated access_token.
2019-02-20 15:56:10 -08:00
Jason Volk
98a8ca7bf2
ircd: Ⓜ️ :device: Associate access_token to device.
2019-02-20 15:46:48 -08:00
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
Jason Volk
11f905274e
modules/client: Use the event::idx sequence difference for unsigned.age.
2019-01-10 16:58:44 -08:00
Jason Volk
86ae182f64
modules/client/sync: Fix rooms.ephemeral item.
2019-01-10 16:58:44 -08:00
Jason Volk
f1d5b0798e
modules/m_event: Improve pretty_oneline() for edu's.
2019-01-10 16:58:43 -08:00
Jason Volk
4c495e1f44
modules/client/sync: Various cleanup / simplify.
2019-01-10 16:58:37 -08:00
Jason Volk
26ee1c9b5c
ircd: Ⓜ️ Minor cleanup.
2019-01-10 13:16:41 -08:00
Jason Volk
2d860b25a8
ircd: Ⓜ️ :sync: Checkpoint.
2019-01-09 20:39:12 -08:00
Jason Volk
6c96e0d785
ircd: Ⓜ️ :events: Simplify the for_each iteration interface.
2019-01-09 17:11:00 -08:00
Jason Volk
d3adde8ef4
modules/s_dns_resolver: Compare server address state; add debug log on IO's.
2019-01-08 17:17:41 -08:00
Jason Volk
174213586a
modules/federation: Use the m::log logger here.
2019-01-08 17:17:41 -08:00
Jason Volk
443905859f
ircd: Ⓜ️ :sync: Additional abstraction; checkpoint polylog /sync modules.
2019-01-08 17:17:41 -08:00
Jason Volk
af6fcb24f4
modules/client/sync: Add a README to the /sync directory.
2019-01-08 12:51:06 -08:00
Jason Volk
f9db516edc
modules/console: Add user tokens cmd.
2019-01-07 11:24:03 -08:00
Jason Volk
5ed81532ba
modules/Makefile: Minor cleanup.
2019-01-05 18:36:37 -08:00
Jason Volk
b878f577d5
ircd: Ⓜ️ :user: Add a query for user to user visibility.
2019-01-04 14:47:46 -08:00
Jason Volk
61e88e75bc
modules/client/sync: Additional sync items reorganization.
2019-01-04 14:47:01 -08:00
Jason Volk
86911226ed
ircd: Ⓜ️ Preliminary modular client sync system.
2019-01-03 17:21:02 -08:00
Jason Volk
9324731136
modules/console: Count total bytes in db files cmd.
2018-12-31 14:25:13 -08:00
Jason Volk
af37529470
ircd: Ⓜ️ :vm: Add a second sequence number; split out pdu write function.
2018-12-30 17:09:57 -08:00
Jason Volk
aa7333bd00
modules/vm: Fix format of propagated errors.
2018-12-30 16:12:52 -08:00
Jason Volk
a461e8a5aa
modules/console: Improve output of client cmd.
2018-12-30 14:00:05 -08:00
Jason Volk
1f3dbe3948
modules: Use the global-dynamic tls-model for modules.
2018-12-29 19:43:17 -08:00
Jason Volk
0e58aceee9
modules/media: Optimize various event fetches.
2018-12-29 19:43:17 -08:00
Jason Volk
bccc2b5536
modules/s_dns_resolver: Stricter bounds checks on all operations.
2018-12-29 19:43:17 -08:00
Jason Volk
3466597981
ircd::fs: Various reorg; cleanup.
2018-12-29 19:43:17 -08:00
Jason Volk
8f9912b766
modules/s_conf: Optimize conf room queries.
2018-12-28 18:45:26 -08:00
Jason Volk
c93cd90db1
ircd::aio: Simplify stats.
2018-12-28 16:30:27 -08:00
Jason Volk
30dc2ce7ed
ircd::fs: Various cleanup / renames.
2018-12-28 15:30:29 -08:00
Jason Volk
d3d06b90f8
modules/console: Update aio info cmd.
2018-12-27 14:58:04 -08:00
Jason Volk
3fd61ba361
modules/client/sync: Prefetching defaults to false for now.
2018-12-23 17:41:47 -08:00
Jason Volk
956a8e239c
Use more aggressive tls-model options.
2018-12-23 17:36:35 -08:00
Jason Volk
b1bd4e8863
modules: Use the apropos matrix logger for various log messages.
2018-12-22 17:44:18 -08:00
Jason Volk
6e3cf1471f
modules/console: Add ctx prof cmd.
2018-12-22 17:24:48 -08:00
Jason Volk
d5ffc6b0de
ircd::ctx: Improve prof related; add full ticker of counters.
2018-12-22 15:17:18 -08:00
Jason Volk
cb2b3e7c16
ircd: Minor link options package.
2018-12-21 14:38:14 -08:00
Jason Volk
2c5d6bb7ba
ircd::fs::aio: Preliminary io_submit queue to leverage disk controller optimizations.
2018-12-21 10:36:05 -08:00
Jason Volk
36c1b359ab
modules/client/sync: Optimize the room state iteration strategy.
2018-12-19 15:05:07 -08:00
Jason Volk
605cce9ed1
ircd::db: Propagate the FlushOptions.allow_write_stall option; improve sort cmd.
2018-12-19 13:58:09 -08:00
Jason Volk
5a0a9989e4
ircd::log: Rename facility to level.
2018-12-19 12:52:08 -08:00
Jason Volk
7137280b05
modules/console: Use incremental reads from proc anyway.
2018-12-19 12:35:22 -08:00
Jason Volk
eaea2c40a4
modules/console: Add credits to console.
2018-12-19 12:35:22 -08:00
Jason Volk
a6f5895867
modules/console: Negate any ANSI colors in conf output.
2018-12-18 18:10:06 -08:00
Jason Volk
fae947d433
ircd::db: Add a background cancel interface w/ console cmd.
2018-12-16 18:37:51 -08:00
Jason Volk
183af6a449
modules/console: Simplify proc cmd listing output.
2018-12-15 20:29:54 -08:00
Jason Volk
e16eefb8fb
modules/console: Add a proc cmd.
2018-12-15 18:17:59 -08:00
Jason Volk
70d4b32c3d
ircd::db: Add interface for pause/continue of background work w/ console cmd.
2018-12-14 17:27:48 -08:00
Jason Volk
4387b092ad
modules/console: Show request time in client list.
2018-12-13 12:26:44 -08:00
Jason Volk
04f3dc4d17
ircd::fs: Make fs::error inherit from std::system_error.
2018-12-12 17:32:24 -08:00
Jason Volk
62874ff498
ircd::db: Add src and dst level arguments to db::compact files interface.
2018-12-12 15:53:16 -08:00
Jason Volk
aac898a4b8
modules/console: Improve SST full info cmd output.
2018-12-12 14:48:07 -08:00
Jason Volk
bf8e6695e2
modules/console: Add db opts cmd.
2018-12-12 10:23:42 -08:00
Jason Volk
52344457ec
modules/console: Various db info formatting tweaks.
2018-12-12 10:12:24 -08:00
Jason Volk
7f7ece5fb1
modules/console: Omit zero values in db infos.
2018-12-12 10:12:24 -08:00
Jason Volk
d7da57e073
ircd::db: Add log level interface w/ console cmd.
2018-12-12 10:12:23 -08:00
Jason Volk
8e11620100
ircd::db: Distinguish range compact from files compact in interface.
2018-12-11 16:30:28 -08:00
Jason Volk
e686f0fafe
modules/console: Add file count to db files column cmd.
2018-12-10 19:33:12 -08:00
Jason Volk
ad449e3290
modules/vm: Fix redundancy in log message.
2018-12-10 18:54:58 -08:00
Jason Volk
f1556f880e
modules/console: Split db compact into db compact files.
2018-12-10 18:44:41 -08:00
Jason Volk
4f1b9b6f6f
modules/console: Tweak sst info output formatting.
2018-12-10 16:32:11 -08:00
Jason Volk
fc6be1fbc8
modules/console: Only compact files if range argument is not given.
2018-12-10 15:01:00 -08:00
Jason Volk
a6bd8ec9aa
modules/console: Allow an all-column argument to db compact cmd.
2018-12-10 14:53:12 -08:00
Jason Volk
8d6c7e3576
ircd::db: Add WAL information interface w/ console cmd.
2018-12-10 14:14:55 -08:00
Jason Volk
f7792c085e
modules/vm: Cleanup/simplify error handlers.
2018-12-10 13:14:39 -08:00
Jason Volk
45bf911952
ircd::conf: Add feature to toggle whether conf item is persisted in a db.
2018-12-08 16:27:32 -08:00
Jason Volk
5d3f6bf79e
modules/webroot: Check if webroot path exists on load.
2018-12-08 15:53:47 -08:00
Jason Volk
1ba22a21ba
ircd: Disperse accumulated global options as conf items in namespaces.
2018-12-08 15:36:34 -08:00
Jason Volk
587bf4e820
modules/console: Fix hostport parse; fix peer.hostcanon reference.
2018-12-07 12:47:23 -08:00
Jason Volk
0866cf4f7f
modules/m_room: Minor formatting.
2018-12-06 19:20:30 -08:00
Jason Volk
6de17431ff
ircd: Reverse arguments for url::encode()/decode(); minor reorg.
2018-12-06 16:41:47 -08:00
Jason Volk
c75ccd5a1c
modules/console: Add cmd to display amount of a room's state in cache.
2018-12-03 17:35:16 -08:00
Jason Volk
2a2a8bcf86
modules/m_state: Checkpoint preliminary GC util.
2018-12-03 17:34:43 -08:00