Jason Volk
18354901dc
modules/console: Add event horizon flush cmd.
2019-05-17 02:41:36 -07:00
Jason Volk
c119c84c2f
ircd: Ⓜ️ :event: Augment event::horizon interface allowing full column iteration.
2019-05-17 02:26:27 -07:00
Jason Volk
2a47c82534
modules/s_fetch: Indicate request error with belated removal.
2019-05-17 02:26:27 -07:00
Jason Volk
95fa155bfd
modules/console: Unmask all exceptions thrown in looped event evaluations.
2019-05-17 01:41:23 -07:00
Jason Volk
81ae93ecc1
Re-attempt use of .gdb_index section.
2019-05-17 00:44:00 -07:00
Jason Volk
5721920957
ircd: Ⓜ️ :event: Start an event::horizon interface around dbs::event_horizon.
2019-05-17 00:07:18 -07:00
Jason Volk
ff61342c01
modules/console: Show number of keys in event_horizon when no event_id given.
2019-05-16 23:30:08 -07:00
Jason Volk
ed11153d27
Allow STB_GNU_UNIQUE for RTLD_DEEPBIND.
...
modules: Remove cruft; tweak Makefile.
2019-05-16 22:36:19 -07:00
Jason Volk
3b7cc065ad
modules/s_command: Improve ping command.
2019-05-16 22:36:19 -07:00
Jason Volk
304c6df468
ircd: Ⓜ️ :dbs: Simplify indexers / interface.
2019-05-13 15:25:37 -07:00
Jason Volk
92b5862b86
modules/vm: Log to derror as fallback off opts.errorlog.
2019-05-13 15:25:37 -07:00
Jason Volk
614b9202fc
ircd: Ⓜ️ :room: Add state::space interface w/ console cmd.
2019-05-13 10:30:12 -07:00
Jason Volk
3293443cb8
ircd: Ⓜ️ :vm: Add dbs::write_opts to vm::opts.
2019-05-11 15:30:40 -07:00
Jason Volk
6fe7329189
ircd: Ⓜ️ :dbs: Rename room_head_refs to room_head_resolve.
2019-05-11 15:30:23 -07:00
Jason Volk
32cc7ee61a
modules/console: Add more details for transaction list.
2019-05-11 15:16:25 -07:00
Jason Volk
3ec009bf6d
ircd: Ⓜ️ Rename function.
2019-05-10 00:20:02 -07:00
Jason Volk
ab47188b0a
modules/console: More sounding output.
2019-05-10 00:14:55 -07:00
Jason Volk
c311a69c7b
ircd: Ⓜ️ :room: Add sounding iteration.
2019-05-10 00:06:17 -07:00
Jason Volk
62f1b5a539
ircd: Ⓜ️ :dbs: Rename and document various ref types.
2019-05-09 23:13:16 -07:00
Jason Volk
2d209388c1
ircd: Ⓜ️ :dbs: Add event_horizon resolver.
2019-05-09 16:58:29 -07:00
Jason Volk
fd514d2416
modules/s_keys: Fix create_my_key() linkage.
2019-05-09 06:15:06 -07:00
Jason Volk
1d30fae3a6
modules/vm: Fix comment.
2019-05-09 04:01:02 -07:00
Jason Volk
4070400261
modules/s_dns: Minor cleanup; move error handling.
2019-05-09 03:01:36 -07:00
Jason Volk
87025e7b41
modules/s_dns: Elide dynamic allocation here.
2019-05-09 02:57:10 -07:00
Jason Volk
74074bfc78
modules/console: Add an event rewrite cmd.
2019-05-07 16:10:24 -07:00
Jason Volk
47f496a155
ircd: Ⓜ️ :room::timeline: Checkpoint initial interface.
2019-05-07 16:10:24 -07:00
Jason Volk
180c83634f
ircd: Ⓜ️ :dbs: Reorg write_opts; throw panic on nul event_idx; various.
2019-05-07 16:10:24 -07:00
Jason Volk
d280bcdec3
modules/console: Allow event::idx argument to event info cmd.
2019-05-07 12:25:50 -07:00
Jason Volk
577bcf0c1a
ircd: Ⓜ️ :rooms: Partial removal of unnamespaced module definitions.
2019-05-06 11:49:14 -07:00
Jason Volk
250b600ead
ircd::resource: Reduce m:: type dependency in request structure.
2019-05-06 11:16:44 -07:00
Jason Volk
72fac0a7df
modules: Remove rosegment in modules (reduces mappings).
2019-05-06 10:22:34 -07:00
Jason Volk
a28e7c1e69
modules/console: Show deeper event reference details in event info.
2019-05-05 21:27:02 -07:00
Jason Volk
602e986d20
modules/console: Improve various room cmd output formats.
2019-05-05 20:08:18 -07:00
Jason Volk
b7677df49c
modules/console: Add preliminary stats cmd w/ item iteration.
2019-05-05 19:34:24 -07:00
Jason Volk
688340a8a2
ircd: Ⓜ️ Recombine modules/m_room with ircd/m_room for now.
2019-05-05 18:10:51 -07:00
Jason Volk
35f29c411c
modules: Update README blerb.
2019-05-03 15:58:39 -07:00
Jason Volk
1d0a7d700d
ircd: Ⓜ️ Merge m_event module entirely into ircd/m_event for now.
2019-05-03 15:58:39 -07:00
Jason Volk
84ed175ffe
modules/m_event: Transit the m::pretty(event) suite to module.
2019-05-03 15:58:39 -07:00
Jason Volk
9cca4c6a5d
modules/s_dns: Improve error handling; invoke the waiting callback on cache::put error.
...
modules/console: Disable interruptions while waiting for dns callback.
2019-05-02 21:43:27 -07:00
Jason Volk
154eee0ca6
ircd: Make unresolved symbols weak symbols; lazy binding in modules.
2019-05-02 16:45:27 -07:00
Jason Volk
68f82d25a3
Remove no-op linker flag in these contexts.
2019-05-02 16:45:27 -07:00
Jason Volk
f9e858ae9e
Add these gold linker section organization options.
2019-05-02 16:45:27 -07:00
Jason Volk
1a266a0651
ircd::mapi: Change header symbol name, visibility; use macro for declaration.
2019-05-02 15:35:26 -07:00
Jason Volk
77a92a1874
modules/s_keys: Reorg free functions into namespace; various cleanup.
2019-05-01 15:40:17 -07:00
Jason Volk
d32fd05a83
modules/key/server: Move static ed25519 test to s_keys from here.
2019-05-01 13:12:27 -07:00
Jason Volk
9b9afdcffc
modules/vm: Split txn reserve calculation; minor reorg.
2019-04-30 14:14:08 -07:00
Jason Volk
a5f26db7ea
modules/s_fetch: Split hook handler into auth and prev related subroutines.
2019-04-30 14:14:08 -07:00
Jason Volk
4a22071be3
modules/s_fetch: Fix request set insertion.
2019-04-30 13:11:21 -07:00
Jason Volk
0c7dcf6cc7
modules/s_fetch: Use better source node information for auth fetching on miss.
2019-04-29 11:37:48 -07:00
Jason Volk
f3ba0f163b
modules/client/sync/rooms/account_data: Eliminate the idx upper bound on room tags selection.
2019-04-29 10:28:55 -07:00
Jason Volk
6d849b5adc
modules/vm: Minor cleanup.
2019-04-27 20:01:27 -07:00
Jason Volk
010790550d
modules/s_fetch: Fetch auth_chain for parent event rather than missing auth_events.
2019-04-27 20:00:26 -07:00
Jason Volk
e75b75e3f9
modules/client/createroom: More descriptive error propagation here.
2019-04-27 18:33:23 -07:00
Jason Volk
43e36861cc
modules/m_room_history_visibility: Add some more rules for node visibility.
2019-04-27 18:32:45 -07:00
Jason Volk
80fb8699a1
ircd: Ⓜ️ Add a membership string size constant.
2019-04-27 18:32:45 -07:00
Jason Volk
f95d66a914
modules/federation/event_auth: Use visibility call for all logic rather than special case here.
2019-04-27 18:32:45 -07:00
Jason Volk
48f339ac82
modules/m_event: Tweak conditions for is_power_event().
2019-04-27 15:59:56 -07:00
Jason Volk
2e586fe529
modules/s_command: Add a ping command.
2019-04-27 15:41:13 -07:00
Jason Volk
ac6db5ba8d
modules/console: Add these bypasses for manual cmds.
2019-04-26 18:57:45 -07:00
Jason Volk
ea7e06fe27
modules/client/rooms/state: Optimize parallel closure invariant.
2019-04-26 06:04:06 -07:00
Jason Volk
6335a0ce09
modules/s_fetch: Use vm::eval array constructor here.
2019-04-26 05:30:21 -07:00
Jason Volk
c8df604d24
modules/s_fetch: Use request.finished=-1 for request gc.
2019-04-26 05:30:21 -07:00
Jason Volk
0b8ebf8d09
modules/s_fetch: Add conf item for auth timeout; tweak event timeout default.
2019-04-26 05:30:21 -07:00
Jason Volk
32bd8a8031
modules/s_fetch: Minor reorg.
2019-04-26 05:30:21 -07:00
Jason Volk
564a64e5d6
modules/s_fetch: Improve recursive eval.
2019-04-26 05:30:21 -07:00
Jason Volk
e7251730a3
modules/s_fetch: Additional debug msgs for synchronous auth_chain fetch.
2019-04-26 05:30:21 -07:00
Jason Volk
c5577e653a
modules/m_room_member: Remove old hook.
2019-04-26 03:39:59 -07:00
Jason Volk
396a218e6a
modules/s_command: Sketch preliminary handlers with rich responses.
2019-04-26 02:37:21 -07:00
Jason Volk
47247e9f2f
modules/console: Fix feds event argument interp.
2019-04-26 01:48:46 -07:00
Jason Volk
e5563586cf
ircd: Ⓜ️ Additional room sounding tools; improve console cmd.
2019-04-26 01:47:13 -07:00
Jason Volk
486ca09153
ircd: Ⓜ️ Replace is_complete w/ sounding(); console cmd.
2019-04-26 01:35:39 -07:00
Jason Volk
ba797778d6
ircd: Ⓜ️ Provide event_idx for event after gap to closure.
2019-04-26 01:35:38 -07:00
Jason Volk
e3e9322718
ircd: Ⓜ️ Add a room depth gap sounding suite w/ console cmd.
2019-04-26 01:35:16 -07:00
Jason Volk
e8efe326d6
modules/m_event: Use smalldate() for pretty_oneline().
2019-04-25 07:30:28 -07:00
Jason Volk
8fda41c2ef
modules/s_fetch: Unset the request.origin after failed start.
2019-04-25 06:59:19 -07:00
Jason Volk
0a20ec19c0
modules/s_fetch: Remove cancels on request construction error.
2019-04-25 02:18:03 -07:00
Jason Volk
7d6271aa48
modules/s_fetch: Improve request removal synchronization between workers.
2019-04-25 00:36:38 -07:00
Jason Volk
4b70ae70c7
modules/s_fetch: Use the event origin as fallback host.
2019-04-24 21:31:04 -07:00
Jason Volk
54e5b2273f
modules/console: Add a parse alternative to fed event noparse argument.
2019-04-24 21:29:33 -07:00
Jason Volk
83d4ce49b0
modules/console: Add a stringify test cmd.
2019-04-24 21:29:22 -07:00
Jason Volk
c45353efec
ircd::json: Preserve string quotes for typed comparisons here.
2019-04-24 19:50:01 -07:00
Jason Volk
75abe2b0f9
modules/console: Add ids_only argument gimmick.
2019-04-24 18:01:31 -07:00
Jason Volk
ae85585454
modules/federation/state_ids: Fix mislabeled name.
2019-04-24 17:23:16 -07:00
Jason Volk
5d97076008
modules/federation/state_ids: Add non-spec optimization query parameters.
2019-04-24 17:12:15 -07:00
Jason Volk
c2e22399ce
modules/federation/state_ids: Swap auth_chain and pdu_ids order in response.
2019-04-24 17:10:48 -07:00
Jason Volk
bd37abb14b
modules/console: Improve user_id derivation on fed__head; improve params on fed__backfill cmd.
2019-04-24 16:16:57 -07:00
Jason Volk
0cbe9b0afa
modules/s_fetch: Clear the origin after cancel so it's not re-attempted.
2019-04-24 14:23:48 -07:00
Jason Volk
5860a395a0
modules/federation/event_auth: Make an exception to the visibility for cases.
2019-04-23 20:03:00 -07:00
Jason Volk
20385e2677
modules/federation/invite: Set enforcement of prev fetching on invite event to false.
2019-04-23 19:23:21 -07:00
Jason Volk
c58a03f30a
modules/s_fetch: Use event_auth for all auth event fetches.
2019-04-23 19:17:30 -07:00
Jason Volk
f84e2ce618
modules/s_fetch: Handle more detailed exception types.
2019-04-23 19:08:12 -07:00
Jason Volk
7bdf88bb9e
modules/s_fetch: Use proper reset technique on request.
2019-04-23 18:24:11 -07:00
Jason Volk
771e5bb5da
modules/s_fetch: Improve conditions checking and throw points.
2019-04-23 18:15:47 -07:00
Jason Volk
8b89b9caaf
ircd: Simplify log msgs.
2019-04-23 18:15:47 -07:00
Jason Volk
88f924f27a
modules/s_dns_resolver: Wait for tags to finish before terminating assets.
2019-04-23 15:26:44 -07:00
Jason Volk
633802310c
modules/client/rooms/context: Fix missing unsigned/transaction_id on returned event.
2019-04-23 15:26:44 -07:00
Jason Volk
93e3431915
modules/m_room: Fix/improve is_complete calculation.
2019-04-23 15:26:44 -07:00
Jason Volk
8208a67e7f
modules/s_fetch: Enable by default via conf item.
2019-04-23 13:27:53 -07:00
Jason Volk
b481d994f5
modules/client/sync/rooms/state: Attemt fix "invite_state" vs. "state".
2019-04-22 20:08:29 -07:00
Jason Volk
4b3a828c01
modules/s_fetch: Log errors from the fetch hook handler.
2019-04-22 18:55:34 -07:00
Jason Volk
ee6760a655
modules/s_fetch: Tweak prev event checking options; fix condition; dispatch state_ids().
2019-04-22 18:55:34 -07:00
Jason Volk
58384a25c7
modules/console: Allow empty arguments to fed cmd.
2019-04-22 18:30:08 -07:00
Jason Volk
d417c7779e
modules/m_room_history_visibility: Massage the rules.
2019-04-22 18:30:08 -07:00
Jason Volk
6df0b72e21
modules/s_fetch: Various conditions to bypass fetch.
2019-04-22 18:30:08 -07:00
Jason Volk
ae4ae66f08
modules/client/sync/rooms: Show membership string in debug msg.
2019-04-22 14:47:06 -07:00
Jason Volk
dca95cd1e3
modules/m_direct: Modify the user's account_data for m.direct.
2019-04-22 14:30:55 -07:00
Jason Volk
7117e943ed
modules/client/rooms/leave: Call m::leave() to handle POST /leave/.
2019-04-22 14:27:12 -07:00
Jason Volk
4d491340b6
modules/client/rooms/leave: Add missing m::leave definition.
2019-04-22 14:27:12 -07:00
Jason Volk
fd9097cfd4
modules/m_room: Move m::send impl back to client/rooms.
2019-04-22 14:27:12 -07:00
Jason Volk
f3845e11af
modules/client/rooms/join: Export namespaced definitions for join.
2019-04-22 14:27:12 -07:00
Jason Volk
f6314a4201
modules/s_fetch: Minor reorg; pass room arg to fetch::synchronize().
2019-04-22 12:45:45 -07:00
Jason Volk
7d3ccb975a
modules/s_fetch: Add dispatch and wait logic to fetch hook handler.
2019-04-22 12:28:45 -07:00
Jason Volk
e3b1be2910
ircd: Ⓜ️ :vm: Refactor various fetch related options.
2019-04-22 12:27:43 -07:00
Jason Volk
56dd0ed8e7
ircd: Ⓜ️ :vm: Add opts to pass user_id/node_id of evaluator.
2019-04-22 12:25:50 -07:00
Jason Volk
b683f1d436
modules/vm: Assert options; prevent assignment of eval.
2019-04-22 12:23:37 -07:00
Jason Volk
21a62019f2
modules/vm: Simplify error wrapping on propagation.
2019-04-20 15:03:51 -07:00
Jason Volk
bbc472ad9e
modules/s_feds: Devirtualize call to destructor.
2019-04-20 14:20:18 -07:00
Jason Volk
4db52804cb
ircd::ctx: Use iteration closure rather than exposing ctx::list.
2019-04-19 20:50:22 -07:00
Jason Volk
454051f9f3
modules/client/sync: Condition for client / socket in longpoll::poll loop.
2019-04-19 18:21:17 -07:00
Jason Volk
8299fd695b
modules/m_event: Tweak age calculation relation.
2019-04-19 16:25:14 -07:00
Jason Volk
65e58a1787
modules/console: Start prof cmd suite w/ callgrind hypercall interface.
2019-04-19 06:04:10 -07:00
Jason Volk
ddd06f5fdd
modules/s_feds: Fix argument error.
2019-04-18 21:53:07 -07:00
Jason Volk
02b835eb2b
ircd: Ⓜ️ :feds: Add additional options; document options.
2019-04-18 21:23:00 -07:00
Jason Volk
5ad6d2153e
modules/client/keys/query: Eliminate head-of-line timeout; stream results to client as they arrive.
2019-04-18 19:47:33 -07:00
Jason Volk
0176dba9a8
ircd: Ⓜ️ :fetch: Consolidate interface; remove unused; reorg.
2019-04-18 19:12:37 -07:00
Jason Volk
d86feb2ae1
modules/console: Add more data to version cmd extended output.
2019-04-18 18:53:23 -07:00
Jason Volk
ebe0f10e28
modules/s_feds: Execute vector of operations concurrently.
2019-04-18 18:24:12 -07:00
Jason Volk
14409232a7
modules/console: Add version cmd.
2019-04-18 16:38:53 -07:00
Jason Volk
4668545688
modules: Move federation/federation to s_feds.
2019-04-18 16:38:53 -07:00
Jason Volk
84ee13742c
modules/federation/federation: Use polymorphic request base.
2019-04-18 16:23:03 -07:00
Jason Volk
0edd47d383
ircd: Ⓜ️ :feds: Add vector of operations to API.
2019-04-18 15:26:03 -07:00
Jason Volk
02bb466898
modules/client/rooms/messages: Fix pagination token related.
2019-04-18 15:11:48 -07:00
Jason Volk
8428774a25
modules/m_event: Check for target membership auth event first here.
2019-04-18 14:36:17 -07:00
Jason Volk
cdefddf6af
modules/client/rooms/messages: Add log facility; add debug msg.
2019-04-18 14:20:47 -07:00
Jason Volk
492d58dd83
modules/client/rooms/context: Add a log facility; debug message.
2019-04-18 14:14:41 -07:00
Jason Volk
5232893c6a
ircd: Ⓜ️ :fetch: Checkpoint frontfill / head selection related.
2019-04-18 05:17:49 -07:00
Jason Volk
bc922724cd
ircd: Ⓜ️ :feds: Refactor interface into opcode ABI.
2019-04-18 05:16:21 -07:00
Jason Volk
08cd894cd0
ircd: Ⓜ️ :feds: Point to the opts in result struct.
2019-04-18 04:15:13 -07:00
Jason Volk
cbad78ffc9
modules/console: Rename fed/s event_auth to auth.
2019-04-18 04:14:50 -07:00
Jason Volk
59982907d3
ircd: Ⓜ️ :feds: Add feds::auth; update console cmd.
2019-04-18 04:13:21 -07:00
Jason Volk
871fb748eb
ircd: Ⓜ️ :fetch: Pass boolean values down the stack for start/prefetch.
2019-04-18 01:21:22 -07:00
Jason Volk
672dc48d1d
modules/federation/federation: Minor assertion; prevent trouble with ctx::exception_handler.
2019-04-17 23:02:33 -07:00
Jason Volk
8cc01dfc4d
modules/federation: Return the response x val rather than default construction in handlers.
2019-04-17 21:34:18 -07:00
Jason Volk
01ac59df82
modules/m_rooms: Don't throw from summary_del() for non-existent room.
2019-04-17 21:05:31 -07:00
Jason Volk
0fa4bdcff7
ircd: Ⓜ️ :rooms: Consolidate / refine the rooms iteration interface.
2019-04-17 20:47:50 -07:00
Jason Volk
24b6f59a67
modules: Linker options package; immediate symbol resolution.
2019-04-17 17:34:44 -07:00
Jason Volk
0c6845253d
modules/federation/make_leave: Upgrade to json::stack; use m::room:: interfaces.
2019-04-17 07:14:40 -07:00
Jason Volk
fd6c2fb2aa
modules/federation/make_join: Upgrade to json::stack; use m::room:: interfaces.
2019-04-17 07:12:22 -07:00
Jason Volk
4f45571526
modules/console: Add raw option for fed head cmd.
2019-04-17 06:51:40 -07:00
Jason Volk
655d56a849
modules/federation: Add access conditions for make_join/make_leave.
2019-04-17 05:24:28 -07:00
Jason Volk
b2bb0b70d2
modules/s_conf: Allow manual updating of persist=false conf::item.
2019-04-17 04:59:00 -07:00
Jason Volk
8060b18aa8
modules/s_dns_resolver: Improve dock notifications; adjust the timeout worker cadence.
2019-04-17 04:26:08 -07:00
Jason Volk
adc2d9d66f
modules/federation/federation: Block on destruction of incomplete request.
2019-04-16 18:33:01 -07:00
Jason Volk
77c7b43eea
modules/console: Add a demangle cmd.
2019-04-16 16:33:18 -07:00
Jason Volk
34c38b854f
modules/m_event: Prevent mixing calculation types; add one to the depth result.
2019-04-16 16:24:44 -07:00
Jason Volk
5fee4a9933
ircd: Ⓜ️ :events: Add type-based iteration w/ console cmd.
2019-04-16 16:11:23 -07:00
Jason Volk
b14c2964b4
modules/console: Add events__in dispatcher convenience cmd.
2019-04-16 16:11:23 -07:00
Jason Volk
d2d987f07f
modules/s_dns_resolver: Improve error/removal stack; fix double-removal error.
2019-04-16 16:11:23 -07:00
Jason Volk
d96208faaf
ircd: Ⓜ️ :events: Add iteration tools for events in sender/origin.
2019-04-16 16:11:23 -07:00
Jason Volk
31bbc6b1b4
modules/client/sync/rooms/account_data: Arrange room tags in the initial phase.
2019-04-16 01:32:52 -07:00
Jason Volk
25d153d64c
ircd: Ⓜ️ :sync: Add an initial phase convenience; add account_data as an initial phase.
2019-04-16 01:32:52 -07:00
Jason Volk
2b759963bd
modules/s_listen: Add accept flow control mechanism.
2019-04-15 22:47:24 -07:00
Jason Volk
450e31e333
modules/s_listen: Use tls buffer for these stringifications.
2019-04-15 22:47:24 -07:00
Jason Volk
28f0660a9d
modules/s_dns_resolver: Call notify after erasing tag.
2019-04-15 17:49:49 -07:00
Jason Volk
474dff9f9f
modules/s_fetch: Simplify origin selection branch.
2019-04-15 17:18:31 -07:00
Jason Volk
01fcef7eed
modules/s_fetch: Additional break conditions for request handling loop.
2019-04-15 17:09:35 -07:00
Jason Volk
bdd398719a
modules/m_room_aliases: Allow fallback to expired cache data on fetch failure.
2019-04-15 17:09:35 -07:00
Jason Volk
a70d22151f
modules/client/sync/rooms: Elide query for room head/depth for EDU's.
2019-04-15 17:09:35 -07:00
Jason Volk
035e03a35e
modules/federation/federation: Make all origin string-copying calls the same.
2019-04-15 17:09:35 -07:00
Jason Volk
7d021f9430
ircd::server: Rename server_name to server_version.
2019-04-15 15:23:44 -07:00
Jason Volk
fde3e48fbf
modules/s_fetch: Call for explicit destruction/cancel on error.
2019-04-15 15:23:44 -07:00
Jason Volk
77b16f32ce
ircd: Ⓜ️ :append: Calculate age based on depth from room head.
...
fixes #55
2019-04-15 14:44:58 -07:00
Jason Volk
484d298afb
modules/s_fetch: Add proper fetch timeout logic.
2019-04-15 11:37:13 -07:00
Jason Volk
f9025cebb9
ircd: Support read-only and write-avoid modes via conf item / command line.
2019-04-15 11:16:31 -07:00
Jason Volk
8c68a24e1f
ircd::ctx::prof: Add cycle counter to ticker array.
2019-04-12 15:58:06 -07:00
Jason Volk
0ce0fe3890
ircd::server: Enable the cancel debug msg.
...
modules/s_fetch: Improve log level.
2019-04-12 14:26:10 -07:00
Jason Volk
1dcd4c8eb6
modules/s_fetch: Condition fetch::start() on runlevel.
2019-04-12 14:15:32 -07:00
Jason Volk
d090382551
modules/console: Fix missing newline; improve fetch list formatting.
2019-04-12 14:04:09 -07:00
Jason Volk
1063fcb657
modules/s_fetch: Report nr of reaped requests.
2019-04-12 13:03:29 -07:00
Jason Volk
12109be1a7
modules/s_fetch: Use m::event:prev parsing here.
2019-04-12 12:40:10 -07:00
Jason Volk
85359d6662
modules/s_fetch: Use better user_id param on headfill.
2019-04-12 12:34:23 -07:00
Jason Volk
40bc440133
modules/s_fetch: Clear all requests on unload.
2019-04-12 11:34:38 -07:00
Jason Volk
541dbadf2f
ircd::buffer: Increase restrictions for unique_buffer<>.
2019-04-12 11:34:00 -07:00
Jason Volk
e90d016d2e
modules/s_fetch: Improve error handling on submit()/start(request).
2019-04-12 05:36:04 -07:00
Jason Volk
d7cc387688
modules/s_fetch: Minor simplify start() with prefetch().
2019-04-12 05:13:42 -07:00
Jason Volk
2822cd0a8a
ircd: Ⓜ️ :fetch: Add headfill operation.
2019-04-12 05:09:38 -07:00
Jason Volk
eb33688bc1
ircd: Ⓜ️ :fetch: Add additional interface tools; consolidate interface; cleanup/reorg.
...
ircd:Ⓜ️ :fetch: Add backfill suite.
2019-04-12 04:44:26 -07:00
Jason Volk
8e5c858697
modules/s_fetch: Fix gc iteration conditions.
2019-04-12 03:36:03 -07:00
Jason Volk
c14d67102a
ircd: Ⓜ️ :fetch: Reorient interface to expose fetch::request.
2019-04-12 03:35:46 -07:00
Jason Volk
eace5e309c
ircd: Ⓜ️ :feds: Add / upgrade backfill.
2019-04-12 01:53:57 -07:00
Jason Volk
7ca0cd5e34
modules/console: Update the feds event cmd.
2019-04-12 01:12:23 -07:00
Jason Volk
360cc01dc8
ircd: Ⓜ️ :feds: Migrate feds::perspective() to interface.
2019-04-12 00:55:16 -07:00
Jason Volk
06e381ce2b
ircd: Ⓜ️ :feds: Use a misc arg vector of string_view's.
2019-04-12 00:52:29 -07:00
Jason Volk
302969f100
ircd: Ⓜ️ :feds: Add namespace \brief. Reorg impl layout.
2019-04-12 00:33:29 -07:00
Jason Volk
dc93610914
ircd: Ⓜ️ :feds: Add feds::event to interface.
2019-04-12 00:16:27 -07:00
Jason Volk
2ce53fef3c
modules/federation/federation: Abstract the m::feds request process.
2019-04-12 00:09:32 -07:00
Jason Volk
4cd8a0c80d
modules/console: Improve formatting of peer request list output.
2019-04-11 22:44:36 -07:00
Jason Volk
4f27526e9b
ircd::server: Add monotonic identity counters for peers and links.
2019-04-11 22:26:11 -07:00
Jason Volk
d38c5801c9
ircd::server: Add interface to iterate all requests.
2019-04-11 21:40:59 -07:00
Jason Volk
aad53ba614
modules/s_fetch: Add conf item to toggle central control of unit.
2019-04-11 20:53:57 -07:00
Jason Volk
b353f3d0ac
modules/webhook: Toggle non-failure status events via conf item.
2019-04-11 08:24:32 -07:00
Jason Volk
ebdbc0864c
modules/s_fetch: Enable recursive fetch.
2019-04-11 08:08:47 -07:00
Jason Volk
4500df4b78
modules/client/rooms/initialsync: Preliminary fetch trigger here.
...
modules/s_fetch: Start the prev_events fetch here.
2019-04-11 07:01:56 -07:00
Jason Volk
f9fb70ab2a
modules/console: Allow empty remote param to trigger the feds overload.
2019-04-11 07:01:56 -07:00
Jason Volk
3ca529e0c6
modules/console: Improve room state cmd output; move old output to room state events.
2019-04-11 07:01:56 -07:00
Jason Volk
c9c171ed5b
ircd: Ⓜ️ :feds: Refine the feds preliminary central interface.
2019-04-11 06:27:28 -07:00
Jason Volk
aa5055ced3
modules/console: Use pretty(iec(bytes)) for ctx list stack sizes.
2019-04-11 03:55:51 -07:00
Jason Volk
342ef74382
modules/console: Tweak the state flags characters.
2019-04-10 23:36:16 -07:00
Jason Volk
66c73e2a65
modules/s_fetch: Add a request map cleanup pass.
2019-04-10 23:29:56 -07:00
Jason Volk
de710494d7
modules/console: Fix formatting of ctx list cmd.
2019-04-10 23:16:59 -07:00
Jason Volk
34cbf19466
modules/console: Add notification count and state indication.
2019-04-10 23:04:38 -07:00
Jason Volk
74778bd024
ircd::ios: Add a queued handler counter to stats.
2019-04-10 22:54:13 -07:00
Jason Volk
6fbf2e082b
modules/media/media: Minor cleanup.
2019-04-10 22:32:06 -07:00
Jason Volk
562651aa7d
ircd: Ⓜ️ :fetch: Add fetch+eval workers; start central interface; various.
2019-04-10 22:32:06 -07:00
Jason Volk
1209d47fa5
ircd: Ⓜ️ :vm: Add additional vmopts related to fetching.
2019-04-10 22:32:06 -07:00
Jason Volk
0b51a10a44
ircd::fs::aio: Count io_submit() 'stalls' in stats.
2019-04-10 20:18:51 -07:00
Jason Volk
e9a6f2ec92
modules/client/sync: Disable phased sync by default for now until stable.
2019-04-08 06:54:54 -07:00
Jason Volk
77b4ea969f
modules/client/sync/rooms/state: Split out the initial sync branch; add room avatar.
2019-04-08 06:11:16 -07:00
Jason Volk
a8b536e420
modules/client/sync: Improve phased initial sync by bursting full room list at phase 0.
2019-04-08 04:43:23 -07:00
Jason Volk
a82410009e
ircd: Ⓜ️ :sync: Introduce phased polylogarithmic initial sync.
2019-04-08 02:46:49 -07:00
Jason Volk
0f2dcf1706
modules/client/sync: Rename conf item.
2019-04-08 00:03:17 -07:00
Jason Volk
5782f2a5f5
modules/m_rooms: Update module linkage of rooms::for_each().
2019-04-07 20:15:31 -07:00
Jason Volk
e98e4babce
modules: Add preliminary s_command; client command-message support.
2019-04-07 16:22:34 -07:00
Jason Volk
48da29cf2f
modules/m_room_history_visibility: Pass the testing event up the stack rather than the vis. event.
2019-04-06 18:40:24 -07:00
Jason Volk
8a8dbea623
ircd: Ⓜ️ Update linkage for m::visible interface.
2019-04-06 18:35:01 -07:00
Jason Volk
30834dfd23
modules/vm: Call the post hook for EDU's as well.
2019-04-06 18:18:17 -07:00
Jason Volk
989b3f0cc3
ircd::rfc1035: Use proper platform byte swapping.
2019-04-06 17:12:01 -07:00
Jason Volk
c3480f9f79
ircd: Rename various matrix loggers; increase log name width.
2019-04-05 18:12:22 -07:00
Jason Volk
8876c89d48
modules/m_typing: Add m.typing logger.
...
modules/m_receipt: Add an m.receipt log.
2019-04-05 14:38:50 -07:00
Jason Volk
0841b44534
modules/m_presence: Fix logger target for various messages.
2019-04-05 14:05:58 -07:00
Jason Volk
b3038fa5e7
modules/webhook: Handle case for status state error.
...
[skip ci]
2019-04-04 01:34:47 -07:00
Jason Volk
2e980e967b
modules/webhook: Fix spacing for merge pill.
...
[ci skip]
2019-04-04 01:19:48 -07:00
Jason Volk
d4a17120fe
modules/webhook: Add github status handler; add appveyor stub; fix merge font tag.
2019-04-04 00:47:02 -07:00
Jason Volk
96ce15b4d9
modules/webhook: Improve pull request formatting.
2019-04-02 10:46:54 -07:00
Jason Volk
ebcac5e7ae
modules/webhook: Add github url prefix stripping help function.
2019-04-02 10:31:39 -07:00
Jason Volk
d0ad243860
modules/client/sync/rooms/account_data: Ensure room_id found on room account_data handlers.
2019-04-02 09:53:02 -07:00
Jason Volk
dab225113d
ircd::resource: Handle and generate an OPTIONS response.
...
fixes #65
2019-03-31 23:08:29 -07:00
Jason Volk
a3ca9a986b
modules/client: Stub 14.13.1.3 notifications handler.
2019-03-31 14:03:21 -07:00
Jason Volk
46324b1ac8
modules/client/sync/rooms/timeline: Fix polylog timeline limited indicator.
2019-03-31 13:09:36 -07:00
Jason Volk
7433daa440
modules/client/rooms/context: Minor cleanup extra; remove default token inits.
2019-03-31 00:44:34 -07:00
Jason Volk
40b74a6721
modules/client/rooms/context: Enforce spec event_id param only; fix urldecode condition.
2019-03-31 00:35:34 -07:00
Jason Volk
d3bc65eaa9
modules/m_room_aliases: Additional eval check on state_key; only check TTL for remote aliases.
2019-03-30 19:04:10 -07:00
Jason Volk
1b26999a19
modules/console: Add room alias / room alias cache cmd suite.
2019-03-30 19:04:10 -07:00
Jason Volk
37d1b156e0
modules/client/directory/room: Implement 10.2.1 PUT directory/room/{roomAlias}.
2019-03-30 19:02:11 -07:00
Jason Volk
1cc715f7ce
modules/m_room_aliases: Prevent fetching a miss from my host.
2019-03-30 19:02:11 -07:00
Jason Volk
4eba0fcd6f
modules/client/directory/room: Remove old alias caching and fetching; reroute central interfaces.
2019-03-30 19:02:11 -07:00
Jason Volk
5b1556eca1
modules/m_room_aliases: Refactor m.room.aliases hooks for new cache.
2019-03-30 19:02:11 -07:00
Jason Volk
9c2b215d60
ircd: Ⓜ️ :room::aliases::cache: Add remote fetching; improve interface.
2019-03-30 19:02:11 -07:00
Jason Volk
cd5b93ec27
modules/m_room_aliases: Add cache TTL conf item and conditions.
2019-03-30 19:02:11 -07:00
Jason Volk
8063904c06
ircd: Ⓜ️ :room::aliases: Add preliminary aliases cache replacement interface.
2019-03-30 19:02:11 -07:00
Jason Volk
276ba9941d
modules/m_room_aliases: Move for_each impl to module.
2019-03-30 18:15:07 -07:00
Jason Volk
317fa612fb
ircd: Ⓜ️ :room: Add aliases interface.
2019-03-30 18:15:07 -07:00
Jason Volk
19ca15eff7
modules/federation/invite: Minor cleanup.
2019-03-30 15:25:11 -07:00
Jason Volk
98c3c15e89
modules/federation/invite: Attempt to make use of invite_room_state carried in request.
2019-03-30 15:25:05 -07:00
Jason Volk
8f4b8c9726
modules/vm: Restore the txn pointer (to null) after eval.
2019-03-30 15:18:22 -07:00
Jason Volk
a83e304382
modules/client/sync: Manually invalidate checkpoints on known polylog commitments.
2019-03-30 15:02:18 -07:00
Jason Volk
7042d8e041
modules/client/rooms/account_data: Move checkpoint to cover both linear branches.
2019-03-30 14:13:34 -07:00
Jason Volk
f7fa89b061
ircd::json::stack: Alter checkpoint rollback() behavior to proactive.
2019-03-30 14:13:34 -07:00
Jason Volk
881d3116cc
modules/client/sync/rooms/account_data: Ensure apropos() hits the linear event coming through.
2019-03-30 14:09:47 -07:00
Jason Volk
9b41f5c13a
modules/s_control: Fix context switch in exception handler.
2019-03-28 22:01:42 -07:00
Jason Volk
efd1124cd7
modules/client/login: Fix loss of value data during device tuple assimilation.
...
modules/client/register: Fix loss of value data during device tuple assimilation.
2019-03-28 21:31:22 -07:00
Jason Volk
94503e6d5f
modules/console: Add arguments to allow modification of account_data and room_account_data.
2019-03-28 18:06:46 -07:00
Jason Volk
8f335ca1bb
modules/client/login: Fix JSON typing of remote IP strings.
...
modules/client/register: Fix JSON typing of remote IP strings.
2019-03-28 17:47:57 -07:00
Jason Volk
e555b91fa5
modules/client/sync/rooms/ephemeral/receipt: Elide syncing user's own receipts.
2019-03-28 17:36:22 -07:00
Jason Volk
4480c136ee
ircd::ios: Add summation for stats w/ console totals.
2019-03-28 17:22:52 -07:00
Jason Volk
289aca0c4a
ircd::ios: Move descriptor stats into structure.
2019-03-28 17:16:39 -07:00
Jason Volk
83593c5533
modules/vm: Fix sequence sharing condition for already retired evals.
2019-03-28 16:22:37 -07:00
Jason Volk
8e23a49ced
modules/console: Allow explicit on/off arguments to debug cmd.
2019-03-28 16:16:26 -07:00
Jason Volk
f340e44692
ircd: Ⓜ️ :vm: Add event_id and share sequence to the loghead; minor cleanup.
2019-03-28 16:08:45 -07:00
Jason Volk
a889122dcc
modules/m_receipt: Additional hook conditions; switch the hooksite; minor cleanup.
2019-03-28 14:45:44 -07:00
Jason Volk
31f1e28c24
modules/m_receipt: Add implicit receipt generator hook.
2019-03-28 14:05:04 -07:00
Jason Volk
e1446a84da
modules/m_receipt: Elide federation broadcasts for receipts of events matching sender.
2019-03-28 14:05:04 -07:00
Jason Volk
c046467348
modules/m_receipt: Consolidate receipt interface; split out federation composer into hook.
2019-03-28 14:05:04 -07:00
Jason Volk
f15769ea0e
modules: Add .well-known handler to serve the m::self::servername string for now.
2019-03-28 13:13:35 -07:00
Jason Volk
6419333457
modules/client/sync/rooms/unread_notifications: Use better counter upper bound.
2019-03-28 00:11:35 -07:00
Jason Volk
be9bee5968
modules/m_room: Make notification count iteration upper bound exclusive.
...
modules/m_user: Make highlight count iteration exclusive.
2019-03-27 23:55:14 -07:00
Jason Volk
0e6e556d50
modules/client/sync: Reuse scratch buffer on longpoll handles.
2019-03-27 23:50:43 -07:00
Jason Volk
5d06042140
modules/client/sync: Use the same linear vector merge in longpoll handler.
2019-03-27 20:28:59 -07:00
Jason Volk
394ec523a2
ircd: Ⓜ️ :sync: Do a full iteration of all linear sync items even if success.
2019-03-27 20:13:04 -07:00
Jason Volk
977840a246
modules/s_dns_resolver: Ensure no double-queueing, at cost.
2019-03-27 17:11:12 -07:00
Jason Volk
fc09dd4034
modules/client/rooms/read_markers: Reimplement client 14.6 /read_markers m.fully_read.
2019-03-27 16:54:10 -07:00
Jason Volk
2d459d8da8
modules/client/rooms/receipt: Split m.read logic into subroutine.
2019-03-27 16:14:14 -07:00
Jason Volk
5cfc763002
modules/m_receipt: Add comment to section / minor cleanup.
2019-03-27 16:04:12 -07:00
Jason Volk
745f392855
modules/webhook: Implement github organization type handler and member_added action.
2019-03-27 15:58:33 -07:00
Jason Volk
0e5b10816a
modules/client/rooms/receipt: Enforce support for m.read type only.
2019-03-27 15:30:40 -07:00
Jason Volk
ee9e82f53c
modules/webhook: Support organization-level webhooks in header display.
2019-03-27 14:46:01 -07:00
Jason Volk
99f3c842d1
modules/webhook: Fix label added listing.
2019-03-27 14:35:55 -07:00
Jason Volk
9c2e0a759a
modules/webhook: Handle labels action unlabeled.
2019-03-27 14:33:27 -07:00
Jason Volk
bfda1b35d0
modules/federation/invite: Disable prev event requirement on invite eval.
2019-03-27 14:09:40 -07:00
Jason Volk
0043cb2af7
modules/s_fetch: Add branch for auth chain fetch/eval on missing room state for event.
2019-03-27 14:09:40 -07:00
Jason Volk
1c5b7d2d71
ircd: Ⓜ️ :room::auth: Add central interface for chain fetch/eval.
2019-03-27 13:44:33 -07:00
Jason Volk
20d0ea70c2
ircd::ios: Add tsc counters to hook state.
2019-03-27 13:04:12 -07:00
Jason Volk
42d275d787
modules/console: Start an ios cmd.
2019-03-27 13:04:12 -07:00
Jason Volk
d2546120ee
ircd: Add descriptor participation for all asynchronous operations.
2019-03-27 13:04:12 -07:00
Jason Volk
92ebdd83a4
modules/console: Minor rename constant.
2019-03-27 13:04:12 -07:00
Jason Volk
939812f6bd
modules/vm: Fix #ifdef RB_DEBUG coverage; minor adjust type.
2019-03-25 20:18:33 -07:00
Jason Volk
257b1fa7ff
modules/vm: Move the issuing debuglog msg out of execute().
2019-03-25 20:13:03 -07:00
Jason Volk
bd3bf50c34
modules/s_dns: Fix double-tap; cleanup iteration.
2019-03-25 19:54:11 -07:00
Jason Volk
7d70351f0b
modules/s_dns: Ensure cache::put() sends something useful to the cache room.
2019-03-25 19:07:37 -07:00
Jason Volk
84d4ca485b
ircd: Ⓜ️ :room::state: Add preliminary purge_replaced() w/ console cmd.
2019-03-25 18:39:30 -07:00
Jason Volk
1ffa00adbf
ircd: Ⓜ️ :room: Add central interface linkage for room::purge().
2019-03-25 18:04:16 -07:00
Jason Volk
3018062345
modules/m_event: Calculate unsigned.age relative to origin_server_ts.
2019-03-25 17:58:21 -07:00
Jason Volk
a06816b66a
modules/console: Prefix event::idx to room events line output.
2019-03-25 17:53:15 -07:00
Jason Volk
dc82c7e855
modules/console: Increase peer and client table widths.
2019-03-25 16:37:11 -07:00
Jason Volk
28569176f2
ircd::net: Use a structured argument to addrs closure; add more data.
2019-03-25 15:18:06 -07:00
Jason Volk
67c1ff06aa
modules/s_dns_resolver: Increase the recv context stack size.
2019-03-25 14:37:21 -07:00
Jason Volk
23785910b0
modules/s_dns: Condition response waiting on callback being non-null.
2019-03-25 14:08:14 -07:00
Jason Volk
8c27cb847a
ircd::net: Add conditional interface to getifaddrs() w/ console cmd.
2019-03-25 13:56:08 -07:00
Jason Volk
4d3fd753e1
ircd::net: Add interface for listener bound socket information; improve net listen console cmd.
2019-03-25 12:55:59 -07:00
Jason Volk
71b86df0fe
ircd::net::dns: Reorg various utilities from dns::cache:: to dns::.
2019-03-24 14:50:26 -07:00
Jason Volk
55af53e2a0
ircd::net::dns::cache: Add addl utils random_choice and is_error().
2019-03-24 14:47:07 -07:00
Jason Volk
83dcfb05a0
modules/s_dns: Tweak conf TTL defaults; use dynamic content buffer.
2019-03-24 14:06:47 -07:00
Jason Volk
4677e5f443
modules/s_dns: Improve ipport query deduction related.
2019-03-24 14:06:47 -07:00
Jason Volk
a1ac9cb356
ircd::net::dns: Expose more cache utils to public interface.
2019-03-24 14:06:47 -07:00
Jason Volk
54f7ddb6bd
modules/client/rooms/state: Log an error when a state event fetch fails during sync.
2019-03-23 02:45:05 -07:00
Jason Volk
17abecff3b
modules/s_dns: Default to SRV when deducing for single ipport query.
2019-03-23 02:32:20 -07:00
Jason Volk
3c09d62934
modules/s_dns: Various cleanup / reorg of handlers.
2019-03-23 01:04:41 -07:00
Jason Volk
e6320e0716
modules/federation/state: Seek an event_id before starting chunked encoding to allow 404.
2019-03-22 21:57:18 -07:00
Jason Volk
7f27cdbf1d
modules/federation/state_ids: Seek an event_id before starting chunked encoding to allow 404.
2019-03-22 21:06:28 -07:00
Jason Volk
2417d7ac7d
modules/m_event: Stub missing sections of event auth checks for now.
2019-03-22 21:06:28 -07:00
Jason Volk
77648137e9
Revert "ircd: Remove use of all unwind::exceptional and unwind::nominal devices."
...
This reverts commit 4f243826c2
.
2019-03-22 21:06:28 -07:00
Jason Volk
dfd9a3ed83
modules/s_dns_resolver: Handle ServFail better with retries so it's not immediately cached.
...
modules/s_dns_resolver: Increase recv work log level to critical.
2019-03-22 14:28:57 -07:00
Jason Volk
4ec689ef65
modules/s_dns: Handle case for entirely irrelevant records.
2019-03-22 13:51:28 -07:00
Jason Volk
8f41687940
modules/s_dns: Fix exception propagation to callback.
2019-03-22 13:51:28 -07:00
Jason Volk
eee620df3e
modules/s_dns: Fix keying for response matching.
2019-03-22 10:50:16 -07:00
Jason Volk
12744182c2
modules/s_dns: Return tag id down stack if possible.
2019-03-22 10:41:26 -07:00
Jason Volk
68e3655a1d
ircd::net::dns: Refactor system for the !dns room.
2019-03-21 18:24:36 -07:00
Jason Volk
e133cd5a25
ircd::net: Add specific allow(acceptor) rather than using start(acceptor).
2019-03-21 17:07:35 -07:00
Jason Volk
008dfcb43f
ircd: Ⓜ️ :vm: Add counters and synchronization for safe module reloading.
2019-03-21 16:46:04 -07:00
Jason Volk
4b7bc1d5b1
modules/vm: Rename/export core functions.
2019-03-21 16:46:04 -07:00
Jason Volk
82378db816
modules/vm: Share transactions between all evals on the same stack; adjust sequence strategy.
2019-03-21 16:46:04 -07:00
Jason Volk
a6a509fe4b
modules/webhook: Add issue labels after issue titles.
2019-03-21 12:16:19 -07:00
Jason Volk
9ebc536534
modules/webhook: Use background colors for labels.
2019-03-21 11:54:33 -07:00
Jason Volk
bff7373918
modules/webhook: Support label event types and some actions.
2019-03-21 11:11:08 -07:00
Jason Volk
9333df4950
modules/m_presence: Add conf item to toggle federation incoming.
2019-03-20 20:08:48 -07:00
Jason Volk
d61d443a4c
modules/vm: Asynchronous post_hook sequencing.
2019-03-19 18:02:35 -07:00
Jason Volk
9d7c26b376
modules/m_receipt: Fix missing m::log designation.
2019-03-19 16:40:25 -07:00
Jason Volk
5b951b55c5
modules/vm: Add sequencing points.
...
ircd:Ⓜ️ :vm: Reorganize sequence counters.
2019-03-19 16:31:05 -07:00
Jason Volk
4e2a445426
modules/s_dns_cache: Create a DNS cache room.
2019-03-17 15:42:34 -07:00
Jason Volk
a9d8af1bf1
modules/s_listen: Start listener after loading iff run::level::RUN.
2019-03-17 15:30:24 -07:00
Jason Volk
21d8c9ce76
modules/client/rooms/report: Provide missing error string in log message.
2019-03-17 13:41:33 -07:00
Jason Volk
22fe24f54f
modules/client/sync: Add linear buffer size conf item; add help texts to some confs.
2019-03-17 13:24:24 -07:00
Jason Volk
9ab3549660
modules/client/sync: Tweak log message format; cleanup longpoll::accepted struct.
2019-03-17 13:18:33 -07:00
Jason Volk
2158d3e7b6
modules/client/rooms/report: Create !abuse room with !ircd init hook.
2019-03-16 19:38:33 -07:00
Jason Volk
4e618175c7
modules/client/sync: Try to ensure all next_batch tokens are limited to the upper bound.
2019-03-16 18:12:38 -07:00
Jason Volk
8450f74450
modules/vm: Increment current_sequence after the debuglog msg.
2019-03-16 18:12:38 -07:00
Jason Volk
cdb8308b02
modules/s_listen: Add runlevel::QUIT handler to stop listener harder.
2019-03-16 16:28:28 -07:00
Jason Volk
f2f2afb8c4
ircd::net: Reorg listener/acceptor external interface.
2019-03-16 16:28:28 -07:00
Jason Volk
cff17eaa40
ircd: Add exception tools which elide copying.
2019-03-16 16:28:28 -07:00
Jason Volk
7fc68e1933
modules/client/sync: When longpoll hits an unsequenced EDU, the next_batch must repeat the current since token.
2019-03-16 12:59:18 -07:00
Jason Volk
5e45362b44
modules/vm: Show specific sequence number being written in debug msg; conf item.
2019-03-16 12:50:44 -07:00
Jason Volk
03abdd5ac6
modules/client/sync: Improve since token rejection message.
2019-03-16 12:26:03 -07:00
Jason Volk
aae00eab7f
ircd: Ⓜ️ :app: Add configuration access interface for appservice.
2019-03-15 16:19:05 -07:00
Jason Volk
b456210f1e
modules/client/directory/list: Preliminary AS 2.3.5.1 PUT list/appservice.
2019-03-15 16:19:05 -07:00
Jason Volk
ccc986a073
modules/app: Reorganize units into a single shared object strategy.
2019-03-15 16:19:05 -07:00
Jason Volk
11afd2e590
modules/client/sync/rooms: Support ignoring invites based on m.ignored_user_list.
2019-03-14 18:11:52 -07:00
Jason Volk
47a5486258
modules/m_event: Enforce m.ignored_user_list for events to client.
2019-03-14 17:31:34 -07:00
Jason Volk
ddb08a37a4
ircd: Ⓜ️ :user: Add framework around m.ignored_user_list; w/ console cmd.
2019-03-14 17:27:45 -07:00
Jason Volk
78c18f45ab
Implement client 14.26 Reporting Content.
2019-03-14 16:20:40 -07:00
Jason Volk
86ddcd7149
modules/client/createroom: Implement 13^h^h14.23.3 Server behaviour.
2019-03-14 15:32:06 -07:00
Jason Volk
380032d4a9
ircd: Ⓜ️ :room: Augment m::invite() convenience interface for custom content.
2019-03-14 15:32:06 -07:00
Jason Volk
240c181b16
modules/client/directory/list/room: Complete the missing PUT functionality.
2019-03-14 15:12:40 -07:00
Jason Volk
2070a72850
ircd: Ⓜ️ :rooms: Add interface to remove entries from the !public room list.
2019-03-14 15:12:40 -07:00
Jason Volk
b1bf848155
modules/client/voip/turnserver: Add conf items for voip turnserver response.
2019-03-14 14:49:04 -07:00
Jason Volk
db9b891493
modules/client/rooms/event: Respond with zero-copy/zero-alloc.
2019-03-14 14:29:59 -07:00
Jason Volk
8ebb51bd9f
modules/client/rooms/state: Refactor GET handlers for chunk streaming and spec behavior.
2019-03-14 14:25:37 -07:00
Jason Volk
42309c1c96
modules/client/rooms/members: Upgrade /members and /joined_members to streamed responses.
2019-03-14 13:55:44 -07:00
Jason Volk
23855fb48e
modules/m_event: Suppress transaction_id warning unless desired.
2019-03-14 13:31:37 -07:00
Jason Volk
3e72e1277e
modules/client/directory/list: Implement directory list room handlers.
2019-03-14 13:25:28 -07:00
Jason Volk
213c46d9f8
ircd::net: Add interface to get cipher list from acceptor w/ console cmd.
2019-03-13 17:32:39 -07:00
Jason Volk
1f35e9c57e
modules/m_event: Add option to toggle query for txnid; disable query for non-timeline appends.
2019-03-13 17:08:35 -07:00
Jason Volk
9f67a146f4
modules/m_event: Unconditionally supply an age when no event_idx.
2019-03-13 17:08:35 -07:00
Jason Volk
92ba96cdf1
modules/vm: Move the post_hook execution before the write commitment.
2019-03-13 16:45:22 -07:00
Jason Volk
a2c9b115a8
modules/console: Fix conf set cmd argument to read remainder of line for value.
2019-03-12 18:41:05 -07:00
Jason Volk
a81038acfa
modules/s_dns: Randomly select an A record for single-record callback.
2019-03-12 18:41:05 -07:00
Jason Volk
f745787ce4
modules/client/sync: Check if the client is still alive during longpoll.
2019-03-12 18:41:05 -07:00
Jason Volk
fe778e6ae4
modules/client/sync/rooms: Remove unnecessary checkpoint.
2019-03-12 18:41:05 -07:00
Jason Volk
425364f13e
modules/client/sync/rooms/state: Fix missing append.
2019-03-12 18:41:05 -07:00
Jason Volk
06459e655e
modules/client/sync/to_device: Fix improper seek.
2019-03-12 18:41:05 -07:00
Jason Volk
4f243826c2
ircd: Remove use of all unwind::exceptional and unwind::nominal devices.
2019-03-12 18:41:05 -07:00
Jason Volk
2956183db9
modules/s_dns_resolver: Fix bug.
2019-03-11 18:18:58 -07:00
Jason Volk
ae4dc7db9b
ircd::net::dns: Add a named logger specifically for net::dns; addl debug msgs.
2019-03-11 18:16:04 -07:00
Jason Volk
981cdf03aa
modules/s_dns_resolver: Consolidate tag removal paths; ensure removals from sendq.
2019-03-11 17:39:45 -07:00
Jason Volk
9f8b915317
modules/m_event: Conditionally add prev_content to events sent to clients.
2019-03-11 16:18:36 -07:00
Jason Volk
c416be8398
modules: Replace individual client event appending with m::append().
2019-03-11 16:02:48 -07:00
Jason Volk
c4c95916c2
ircd: Ⓜ️ Add central event append() to compose elaborated json::stack::object for clients.
2019-03-11 16:02:36 -07:00
Jason Volk
f61059a400
ircd: Ⓜ️ :room::state: Add prev() and next() reference traversal interface.
2019-03-11 15:06:54 -07:00
Jason Volk
ffc652706f
modules/s_dns_resolver: Change the server list token to a space.
2019-03-11 12:57:36 -07:00
Jason Volk
6f6e090015
modules/s_dns_resolver: Gracefully handle erroneous server list; error on entirely invalid list.
2019-03-11 12:57:36 -07:00
Jason Volk
9930d2ce8f
modules/s_dns_resolver: Queue tags when no nameserver is available.
2019-03-11 11:54:19 -07:00
Jason Volk
daee236126
modules/client: Remove 308 redirects for unstable endpoints.
2019-03-11 10:43:06 -07:00
Jason Volk
e90e4aba42
modules/client/keys/upload: Disable one_time_keys; otherwise it spams the user's room.
2019-03-10 20:47:50 -07:00
Jason Volk
7434a4b6db
modules/console: Add cmd to delete a listener configuration.
2019-03-10 14:50:12 -07:00
Jason Volk
610862903e
modules/console: Allow manual JSON to be specified after positional args for listener config.
2019-03-10 14:25:25 -07:00
Jason Volk
2fdc19e113
modules/console: Reorder net listen cmd arguments.
2019-03-10 13:34:57 -07:00
Jason Volk
ba09d57d8e
modules/client/rooms/context: Include unsigned data in returned events.
2019-03-09 19:21:44 -08:00
Jason Volk
48ab443ece
modules/client/rooms/messages: Include unsigned data in returned events.
2019-03-09 19:21:22 -08:00
Jason Volk
bfc189da7e
modules/client/rooms/messages: Omit pagination tokens at ends of iteration.
2019-03-09 18:52:48 -08:00
Jason Volk
77896456c4
modules/federation/user_keys_query: Omit devices without keys from response.
2019-03-09 18:48:59 -08:00
Jason Volk
1381524f95
ircd: Ⓜ️ :device: Add has(user, device_id, property) overload to interface suite.
2019-03-09 18:48:32 -08:00
Jason Volk
d8da7814e8
modules/client/rooms/messages: Consider the from token inclusive.
2019-03-09 18:48:08 -08:00
Jason Volk
811e4f8c03
modules/client/rooms/context: Omit pagination tokens for ends of iteration.
2019-03-09 18:16:27 -08:00
Jason Volk
79782958fc
modules/client/sync/rooms/timeline: Add conf item for default limit.
2019-03-09 17:37:48 -08:00
Jason Volk
5cbc35298d
modules/console: Allow empty string value param to conf set cmd.
2019-03-09 17:21:09 -08:00
Jason Volk
45840a3393
modules/console: Use dynamic for tokenization here.
2019-03-09 16:45:42 -08:00
Jason Volk
9981ab7b12
modules/m_presence: Add named logger for presence.
2019-03-09 16:05:45 -08:00
Jason Volk
db8c91661e
ircd::log: Increase the logger name width.
2019-03-09 16:05:45 -08:00
Jason Volk
ce8824a1bd
modules/client/sync/rooms: Reenable per-room debug stats.
2019-03-09 15:17:21 -08:00
Jason Volk
197168059b
ircd: Ⓜ️ :vm: Create a conform hook; move checks into conform hookfns.
2019-03-09 14:00:00 -08:00
Jason Volk
e501c6434a
modules/vm: Rename commit hook to issue hook; add opts toggle.
2019-03-09 12:13:21 -08:00
Jason Volk
0a8bb92e6d
modules/client/rooms/send: Use vm.post hook site to save transaction_id before notifies.
2019-03-09 12:09:07 -08:00
Jason Volk
79eed85397
modules/vm: Add a post-write pre-notify hook site.
2019-03-09 12:08:05 -08:00
Jason Volk
58159d3ee6
modules/client/sync: Fix condition to skip linear for longpoll.
2019-03-08 17:47:29 -08:00
Jason Volk
e2d2c7f376
ircd: Ⓜ️ :v1::user: Default to dynamic content buffering; adjust callsite buffer sizes.
2019-03-08 17:11:42 -08:00
Jason Volk
8e2aef32ef
modules/client/sync: Consistent display of next_batch values in debug log msgs.
2019-03-08 15:29:10 -08:00
Jason Volk
fcfcb83d42
modules/client/sync/rooms/timeline: Log dwarning message when transaction_id missing.
2019-03-08 15:02:48 -08:00
Jason Volk
78c888ffae
modules/client/users/openid: Return a better http code here.
2019-03-08 14:33:54 -08:00
Jason Volk
c0d0599b19
modules/client/sync: Tweak next_batch case; add debuglog on timeout branch.
2019-03-08 14:26:23 -08:00
Jason Volk
2b1c6682e6
modules/m_receipt: Remove the m.receipt eval for client syncs; ircd.read is used instead.
2019-03-08 14:19:04 -08:00
Jason Volk
187eca0e4e
modules/client/sync: Refactor linear sync handlers to assume no implicit path.
2019-03-08 14:19:04 -08:00
Jason Volk
8230819edf
modules/client/sync: Optimize these user state iterations.
2019-03-08 13:42:24 -08:00
Jason Volk
9028f63d35
modules: Add preliminary prometheus metrics endpoint.
2019-03-08 12:31:08 -08:00
Jason Volk
d1e0864590
modules/client/profile: Optimize the user profile iteration.
2019-03-08 11:25:38 -08:00
Jason Volk
cdac039658
modules/client/rooms/leave: Simplify leave endpoint handler.
2019-03-08 10:07:17 -08:00
Jason Volk
60c48d2a83
modules/client/rooms/unban: Implement 10.4.4.2 POST unban.
2019-03-08 09:57:43 -08:00
Jason Volk
cb2c65e8e2
modules/client/rooms/kick: Simplify endpoint handler.
2019-03-08 09:45:50 -08:00
Jason Volk
47216cba91
modules/client/rooms/ban: Implement 10.4.4.1 POST ban.
2019-03-08 09:43:30 -08:00
Jason Volk
3fdb3a420a
modules/client/rooms/forget: Implement 10.4.3.2 POST forget.
2019-03-07 16:26:04 -08:00
Jason Volk
59124a0fe1
modules/client/createroom: Differentiate between spec preset and internal preset strings.
2019-03-07 15:40:45 -08:00
Jason Volk
864c6cc889
modules/client/rooms/send: urldecode type and txnid path parameters.
2019-03-07 15:32:03 -08:00
Jason Volk
7ea83597e5
modules/media: Assert and condition remote download request isn't for my_host().
2019-03-07 15:11:27 -08:00
Jason Volk
80743b2fd5
modules/media: Throw better http codes for downloading media.
2019-03-07 15:11:27 -08:00
Jason Volk
cc14164dc8
modules/client/profile: Reuse the profile::set() path in fetch().
2019-03-07 12:14:01 -08:00
Jason Volk
5adfb3ba43
modules/client/sync: Add conf items which override the sync mode selection.
2019-03-07 11:53:58 -08:00
Jason Volk
34561a5659
modules/client/profile: Fix JSON string type assumption for profile values.
2019-03-06 18:17:46 -08:00
Jason Volk
faf0914f23
modules/console: Add cmd to trigger m::user::profile::fetch().
2019-03-06 18:17:32 -08:00
Jason Volk
33d3764c71
modules/client/createroom: Make special conditions to optimize user's user rooms.
2019-03-06 17:41:56 -08:00
Jason Volk
654901d7df
modules/vm: Include empty auth_events array in create event rather than undefined.
2019-03-06 15:02:43 -08:00
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
Jason Volk
b025de1068
modules/m_room: Minor cleanup.
2018-12-03 17:32:21 -08:00
Jason Volk
b088ebf228
ircd: Ⓜ️ :app: Add initial application service registration structure; start app handler directory.
2018-12-02 16:50:26 -08:00
Jason Volk
f44f1cf89d
modules/client/sync: Fix sync timeout behavior.
2018-12-01 17:23:42 -08:00
Jason Volk
3f6ae85f8f
ircd::db: Add automated column drop support; update existing descriptors.
2018-11-30 14:43:51 -08:00
Jason Volk
da51c55410
modules/federation/invite: Commentary; minor cleanup.
2018-11-30 13:00:16 -08:00
Jason Volk
e54b32986c
modules/s_fetch: Checkpoint.
2018-11-30 12:59:44 -08:00
Jason Volk
13bce714ab
ircd::rfc1035: Add constant for name buffer size.
2018-11-29 18:04:19 -08:00
Jason Volk
339940ddfc
modules/media: Disable compression for blocks.
2018-11-29 15:42:27 -08:00
Jason Volk
1365bed78c
modules/m_room: Improve the is_complete util.
2018-11-29 15:28:37 -08:00
Jason Volk
0b0d20884d
ircd: Ⓜ️ :state: Eliminate remaining test-protocol iterations.
2018-11-29 15:10:51 -08:00
Jason Volk
d35dad46c2
configure: Add EXTRA_LIBS rather than modifying LIBS here.
2018-11-29 13:46:45 -08:00
Jason Volk
3ab6d4df79
ircd::fs::aio: Improve stats related.
2018-11-29 13:46:44 -08:00
Jason Volk
67772facef
ircd::fs::aio: Add specific read and write stat counters.
2018-11-28 15:01:00 -08:00
Jason Volk
5cdd2e6376
ircd::fs::aio: Add statistics for AIO subsystem w/ console cmd.
2018-11-27 19:54:24 -08:00
Jason Volk
0da335c03c
modules/client/sync: Minor hackstops for now.
2018-11-15 18:39:51 -08:00
Jason Volk
be96cf3ca4
modules: Stub an m_state module; fix description in m_room.
2018-11-14 00:16:19 -08:00
Jason Volk
c28e152954
modules/s_dns: Replace magic numbers with proper qtypes.
2018-11-13 23:19:57 -08:00
Jason Volk
aedc4c73b1
modules/console: Add additional depth column to room roots output.
2018-11-13 19:05:16 -08:00
Jason Volk
5b0af2f509
modules/m_room: Add utility to clear the state root entries for all room events.
2018-11-13 19:05:16 -08:00
Jason Volk
10e358d835
modules/console: Add the die cmd; move exit cmd.
2018-11-13 10:40:00 -08:00
Jason Volk
af93d55927
ircd: Minor cleanup: simplify decl; fix comment; relax log level.
2018-11-08 23:05:12 -08:00
Jason Volk
36bb0d3175
ircd: Integrate all boost::system::system_error with stdlib.
2018-11-08 23:05:11 -08:00
Jason Volk
64d4aef76f
modules/console: Displays resource list w/ stats in cmd.
2018-11-06 21:43:08 -08:00
Jason Volk
fdff7428ce
ircd::client: Add request counting stats; console cmd related.
2018-11-06 21:34:28 -08:00
Jason Volk
d49b3ba7dd
ircd::resource: Minor reorg class layout / opts.
2018-11-05 19:14:53 -08:00
Jason Volk
13bea46f34
modules/client/sync: Ensure response buffer scales with large flush watermark values.
2018-11-04 18:11:55 -08:00
Jason Volk
c6e2dbe55b
modules/client/sync: Use conf item for linear vs. polylog threshold.
2018-11-04 18:11:37 -08:00
Jason Volk
9299b0df9f
ircd: Make ircd::terminate / ircd::assertion funcjects.
2018-11-04 18:00:24 -08:00
Jason Volk
6b1fd6c559
ircd: Ⓜ️ :dbs: Remove the _event_bad column; patch event exists/good/bad stack.
2018-11-02 19:42:20 -07:00
Jason Volk
8311c1e7ff
ircd::db: Improve supported compressions listing w/ console cmd.
2018-11-02 18:02:27 -07:00
Jason Volk
b8b6fbea37
modules/s_conf: Add default_conf w/ console cmd to set item to default value.
2018-11-02 04:49:56 -07:00
Jason Volk
cf46ad916c
modules/s_conf: Add prefix argument to rehash_conf for selective rehash.
2018-11-02 04:48:57 -07:00
Jason Volk
5dcc7cd93b
ircd::db: Add error report state w/ interface w/ console cmd.
2018-10-31 15:53:43 -07:00
Jason Volk
0f7e17a519
ircd::db: Add resume from error interface w/ console cmd.
2018-10-31 15:03:32 -07:00
Jason Volk
2c957cc656
modules/m_room_power_levels: Add preliminary power eval.
2018-10-31 13:11:42 -07:00
Jason Volk
7b307e6151
modules/vm: Simplify head fetch before write commit.
2018-10-31 12:24:19 -07:00
Jason Volk
73c85c14e1
modules/vm: Calc reserve_bytes and obtain sequence numbers later.
2018-10-31 11:37:40 -07:00
Jason Volk
d59f5c40ad
modules/console: Separate and label auth/state in state_ids cmd output.
2018-10-31 11:28:13 -07:00
Jason Volk
4a1df6af85
modules/m_room: Add a ctx yield interval in the state prefetch loop.
2018-10-27 14:03:32 -07:00
Jason Volk
806e1c95f7
modules/s_dns_resolver: Fix the timeout context shutdown.
2018-10-27 13:44:40 -07:00
Jason Volk
6868282ecf
modules/console: Improve db general info w/ column list.
2018-10-27 13:44:40 -07:00
Jason Volk
57a46d8f92
modules/m_room_join_rules: Add infolog message on notify.
2018-10-25 18:19:54 -07:00
Jason Volk
1998105c96
modules/m_room_member: Implement can_join_room eval hook.
2018-10-25 18:19:54 -07:00
Jason Volk
0229022faa
modules/m_room_create: Move hook to vm.eval point; add some checks; add debug log on notify.
2018-10-25 18:09:30 -07:00
Jason Volk
4457f4442e
modules/federation/send_*: Allow for missing top-level membership in all checks.
2018-10-25 14:28:43 -07:00
Jason Volk
9ad3a0720c
modules/s_dns_resolver: Use specific value for steady_point sentinel.
2018-10-25 13:39:02 -07:00
Jason Volk
ddc1849677
modules/m_room_join_rules: Update join_rules hook to send w/ m::rooms iface.
2018-10-24 18:08:46 -07:00
Jason Volk
133cb4825c
ircd: Ⓜ️ :rooms: Add central linkage to send a summary to !public.
2018-10-24 18:08:46 -07:00
Jason Volk
6c0a8b2c34
modules/federation: Implement publicrooms endpoint.
2018-10-24 18:08:46 -07:00
Jason Volk
8ab9d74218
modules/client/publicrooms: Unify GET and POST handlers; remove cruft.
2018-10-24 18:08:46 -07:00
Jason Volk
18f46bccd7
modules/client/publicrooms: Update endpoint for server and pagination keying.
2018-10-24 18:08:46 -07:00
Jason Volk
2174a66ea9
modules/console: Add console cmd to iterate public rooms via interface.
2018-10-24 17:31:22 -07:00
Jason Volk
72bfd645da
ircd: Ⓜ️ :rooms: Retype and rekey the state in !public organized by server.
2018-10-24 17:31:22 -07:00
Jason Volk
af0cca91c3
modules/console: Add room state keys iteration cmd.
2018-10-24 17:31:22 -07:00
Jason Volk
d95b86c7a8
modules/m_rooms: Add preliminary remote fetch and process function; console trigger.
2018-10-24 17:31:22 -07:00
Jason Volk
e85917abb1
ircd: Ⓜ️ :rooms: Add public rooms count for total_room_count_estimate; cleanup.
2018-10-24 17:31:21 -07:00
Jason Volk
f7c7850465
ircd: Ⓜ️ :rooms: Add and use interface for publicrooms iteration.
2018-10-24 17:31:21 -07:00
Jason Volk
0291a0d83e
ircd: Ⓜ️ :rooms: Move iteration base to module; fix interface return types.
2018-10-24 17:31:21 -07:00
Jason Volk
62177dca20
modules: Start an m_rooms unit; move publicrooms summary chunk generation.
2018-10-24 17:31:21 -07:00
Jason Volk
96338208aa
modules: Start an m.room.power_levels protocol module.
2018-10-24 12:01:56 -07:00
Jason Volk
16ac997220
ircd: Ⓜ️ :users: Add lower_bounding for_each; prefix search to users console cmd.
2018-10-23 14:17:42 -07:00
Jason Volk
33aea3fd19
ircd: Ⓜ️ Start a users coarse convenience interface.
2018-10-23 13:32:00 -07:00