Jason Volk
59a6d4f6b5
modules: Stub modules in place for m_event/m_room; reorder load list.
2019-08-18 00:32:00 -07:00
Jason Volk
1ec8ab2d0d
modules/key/server: Fix assertion from 7420bf1156
. ( Fixes #129 )
2019-08-17 11:58:46 -07:00
Jason Volk
8b41b95067
modules/m_room_member: Relax target member auth event check in 5. c. iii.
2019-08-17 11:53:31 -07:00
Jason Volk
23a5c99165
modules/federation/invite2: Fix room version unquoting. ( #18 )
2019-08-17 11:50:08 -07:00
Jason Volk
5e6fcf8758
modules/m_room_member: Only enforce 5. b. iii. if sender member auth event supplied in the tab.
2019-08-17 09:42:48 -07:00
Jason Volk
7fa5948fd3
modules/vm: Check auth during eval.
2019-08-17 08:34:46 -07:00
Jason Volk
b18a1a3ebd
modules/client/createroom: Remove the parent property.
2019-08-17 08:30:58 -07:00
Jason Volk
1e8b5b91da
modules/client/send_to_device: Fix top object.
2019-08-17 07:54:16 -07:00
Jason Volk
167c669468
modules/m_typing: Fix origin property requirement. (regression from c760eb0a
)
2019-08-17 04:17:36 -07:00
Jason Volk
c63374849a
modules/client/sync/rooms/ephemeral/receipt: Make ephemeral/receipt phase aware; no initial.
2019-08-17 04:13:57 -07:00
Jason Volk
9bab37d585
modules/client/sync/rooms/account_data: Make handler phase aware. ( closes #105 )
2019-08-17 03:43:01 -07:00
Jason Volk
add1bb6dac
modules/m_room_power_levels: Use exception for failure.
2019-08-17 03:29:09 -07:00
Jason Volk
45a435d8f9
modules/console: Add cmd to set a user presence.
2019-08-17 02:59:13 -07:00
Jason Volk
ad126fecdf
modules/federation/sender: Add branch to support send from user to servers in all rooms.
2019-08-17 02:59:13 -07:00
Jason Volk
1541b2d52e
ircd: Ⓜ️ :user: Move rooms::origins to user::servers interface.
2019-08-17 02:59:13 -07:00
Jason Volk
34e87c08c3
ircd: Ⓜ️ :user::mitsein: Simplify interface.
2019-08-17 02:59:13 -07:00
Jason Volk
16f1ba2b11
ircd: Ⓜ️ :vm: Fix dependence on room_id without bypass mechanism in injector.
2019-08-17 02:59:13 -07:00
Jason Volk
9973c80916
modules/m_presence: Move federation send hook here; complete functionality.
2019-08-17 02:59:13 -07:00
Jason Volk
c760eb0a12
ircd: Ⓜ️ :vm: Use bitmask of properties to generate in vm::copts.
2019-08-17 00:44:14 -07:00
Jason Volk
5f4b6d5f1a
ircd: Ⓜ️ :user::filter: Move remaining to module.
2019-08-16 22:18:30 -07:00
Jason Volk
a295d52f89
modules/client/sync/presence: Elide offline presence events on initial sync.
2019-08-16 06:35:18 -07:00
Jason Volk
09b52a2e65
modules/m_room_redaction: Make redacts target room check an auth rule.
2019-08-16 05:32:32 -07:00
Jason Volk
100f5c646a
ircd: Ⓜ️ :sync: Fix phased polylog invocation conditions; eliminate initial flag. ( #105 )
2019-08-16 04:50:39 -07:00
Jason Volk
fc742ae2d0
ircd: Fix warning/error.
...
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk
125ff95875
ircd: Ⓜ️ :room::state: Simplify util interface arguments.
2019-08-16 02:25:50 -07:00
Jason Volk
34c1b13fa3
modules/client/profile: Ensure there's an eptr before calling rethrow.
2019-08-16 02:19:49 -07:00
Jason Volk
d17286515b
ircd: Ⓜ️ :room::state: Simplify/consolidate iteration interface.
2019-08-16 02:19:49 -07:00
Jason Volk
6727f14326
modules/console: Use the interface provided prefix type iteration here.
2019-08-16 02:19:49 -07:00
Jason Volk
5ce05fade4
modules/client/sync/rooms/state: Log an error on unexpected fetch failure.
2019-08-16 02:19:49 -07:00
Jason Volk
dc47cc7a93
modules/client/profile: Wrap and rethrow remote http error in m::error here.
2019-08-16 02:19:49 -07:00
Jason Volk
ec96b6564b
modules/net_dns: Improve module init/fini; add cache completion waiter.
2019-08-16 02:19:49 -07:00
Jason Volk
49e1fd1eea
ircd: Ⓜ️ Move user::mitsein to module. ( #109 )
2019-08-16 02:19:49 -07:00
Jason Volk
76de6b4ac2
ircd: Ⓜ️ :create: Cleanup/Comments for m.room.create/room create related.
2019-08-16 02:19:49 -07:00
Jason Volk
65e79a584a
ircd: Ⓜ️ Improve room_version event_id related conditions.
2019-08-16 02:19:48 -07:00
Jason Volk
cd347d53cb
ircd: Ⓜ️ :create: Add a central room_version default conf item.
2019-08-16 02:19:48 -07:00
Jason Volk
183241b506
modules/client/presence: Remove presence lists stub. ( matrix-org/matrix-doc#1817 )
2019-08-16 02:19:48 -07:00
Jason Volk
593c21ce46
ircd: Ⓜ️ :vm: Minor init/fini infolog msg tweak.
2019-08-16 02:19:48 -07:00
Jason Volk
87717bc10b
modules/console: Augment room state rebuild present with remote_joined_only option.
2019-08-16 02:19:48 -07:00
Jason Volk
7fb0958080
ircd::json::tuple: Split additional non-member templates into header; constexpr member get()/at().
2019-08-15 00:05:48 -07:00
Jason Volk
08120bb194
modules/client/rooms/relations: Improve w/ chunked encoding; visibility checks; event append. ( #126 )
2019-08-14 23:56:24 -07:00
Jason Volk
74bd6cfabf
modules/client/rooms: Implement Client (unstable) rooms/relations. ( Closes #126 )
2019-08-14 09:28:05 -07:00
Jason Volk
f9d9d5ef55
modules/m_init_backfill: Disable by default for now.
2019-08-14 09:13:29 -07:00
Jason Volk
58b4fe8d2b
modules/client/sync/rooms/unread_notifications: Apply the exposure depth paradigm to linear update.
2019-08-14 03:34:24 -07:00
Jason Volk
c01f19080b
ircd: Ⓜ️ :init::backfill: add conf item to enable worker.
2019-08-14 02:47:39 -07:00
Jason Volk
e6a9394a46
ircd: Ⓜ️ :init::backfill: Acquire remote head.
...
ircd:Ⓜ️ :init::backfill: To the fetch unit.
2019-08-14 02:38:02 -07:00
Jason Volk
1c42206307
ircd: Ⓜ️ :feds: Add an exclude_myself option.
2019-08-14 01:52:32 -07:00
Jason Volk
3d808022ed
ircd: Ⓜ️ :feds: Rename interface function.
2019-08-14 01:26:02 -07:00
Jason Volk
fca330e1c1
ircd: Ⓜ️ :room: Reorg / slim the class member function interface.
...
ircd:Ⓜ️ :room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
67f6a36b3f
ircd: Ⓜ️ :fetch: Declare lt operators above request set.
2019-08-13 23:39:05 -07:00
Jason Volk
c95d1e56ee
ircd: Ⓜ️ :init: Add preliminary worker context loop for backfill unit. ( #78 )
2019-08-13 23:39:05 -07:00
Jason Volk
623a283671
modules/client/directory/room: Implement Client 10.2.3 DELETE roomAlias.
2019-08-13 22:12:48 -07:00
Jason Volk
da495a8810
modules/client/directory/room: Require authentication for PUT.
2019-08-13 22:09:25 -07:00
Jason Volk
423284547d
modules/client/directory/room: Remove power check. ( Fixes #128 )
2019-08-13 22:01:51 -07:00
Jason Volk
e828dfbf13
mocdules/client/directory/room: Move existing check into loop; add comments.
2019-08-13 22:00:49 -07:00
Jason Volk
743c2331ae
modules/client/directory/room: Fix type for log va_rtti.
2019-08-13 21:40:51 -07:00
Jason Volk
6df832607f
modules: Use m.notice msgtype for html responses.
2019-08-13 07:15:39 -07:00
Jason Volk
74cef5d74d
ircd: Ⓜ️ :rooms: Add room::lonly() related to interface.
2019-08-13 05:09:14 -07:00
Jason Volk
c7f9521a3f
ircd: Ⓜ️ :users: Rename for consistency.
2019-08-13 03:00:08 -07:00
Jason Volk
94354e2d63
modules/client/thirdparty/protocols: Update the URL to shut R!ot up. [skip ci]
2019-08-13 00:08:32 -07:00
Jason Volk
84e79a64e6
ircd: Ⓜ️ :rooms: Refactor interface; split rooms::summary; split module.
2019-08-12 23:55:07 -07:00
Jason Volk
2f4b05afdf
modules/client/notifications: Add stub array. ( #87 )
2019-08-12 04:26:22 -07:00
Jason Volk
76889eab6e
ircd: Ⓜ️ :user::highlight: Add for_each() to interface; simplify stack ( #87 ).
2019-08-12 04:10:28 -07:00
Jason Volk
a4d61ba51b
modules/m_receipt: Only broadcast if the user has membership=join.
2019-08-12 03:40:56 -07:00
Jason Volk
9b2a227294
modules/web_hook: Fix quotations around author name.
2019-08-12 03:29:11 -07:00
Jason Volk
ad571640e0
ircd: Ⓜ️ :events: Reduce call count in for_each_sender loop.
2019-08-12 03:03:37 -07:00
Jason Volk
ddfae956d2
modules/client/directory/user: Add avatar_url and display_name to results.
...
modules/client/directory/user: Increase buffer size.
2019-08-12 03:03:37 -07:00
Jason Volk
2c57890e0f
modules/client/sync: Increase the linear buffer size.
2019-08-12 01:39:16 -07:00
Jason Volk
53b54e0f62
modules/client/sync/rooms/state: Fix left rooms members droptimization.
2019-08-12 01:39:16 -07:00
Jason Volk
947ac356d0
modules/m_command: Add support for public response-to-room.
2019-08-12 01:39:16 -07:00
Jason Volk
2d928bfa4a
modules/console: Use m::room_id() for room id cmd.
2019-08-12 01:39:16 -07:00
Jason Volk
4ab2623ef2
modules/conf: Don't rehash on run; don't rehash on !conf create either.
2019-08-12 01:39:16 -07:00
Jason Volk
b60edf3212
ircd: Ⓜ️ Eliminate the !nodes room related.
2019-08-12 01:39:16 -07:00
Jason Volk
f24bf54799
ircd: Ⓜ️ Eliminate the user::users room references.
2019-08-12 01:39:16 -07:00
Jason Volk
cd477e8ce7
modules/console: Add some basic feedback on user mxid cmd.
2019-08-12 01:39:16 -07:00
Jason Volk
a4cb296099
modules/m_user: Eliminate the !users room from m::create(user).
2019-08-12 01:39:16 -07:00
Jason Volk
3dfd8e5c75
modules/client/directory/user: Modernize w/ m::users:: and json::stack.
2019-08-12 01:39:16 -07:00
Jason Volk
0c05241fec
ircd: Ⓜ️ :users: Refactor !users room out of the users:: interface.
2019-08-11 23:30:50 -07:00
Jason Volk
8779cfd866
ircd: Ⓜ️ Move m::users to module.
2019-08-11 23:30:50 -07:00
Jason Volk
7315c37018
modules/console: Improve format for v3+ rooms.
2019-08-11 18:18:45 -07:00
Jason Volk
aa4147b02a
ircd: Ⓜ️ :sync: Fix conditions for non-phased non-initial sync items.
2019-08-11 08:15:36 -07:00
Jason Volk
9bab532c3e
ircd: Ⓜ️ :sync: Add interruption points in polylog caller; state iteration.
2019-08-11 08:00:41 -07:00
Jason Volk
f4b860e612
modules/client/sync/rooms/state: Remove assertion.
2019-08-11 05:20:39 -07:00
Jason Volk
f8df61536a
modules/m_presence: Modernize; remove old flag.
2019-08-11 04:38:50 -07:00
Jason Volk
f14a23aaf6
modules/client/sync/presence: Disable interruption on concurrent wait.
2019-08-11 04:38:50 -07:00
Jason Volk
84d4b091fe
modules/client/sync/device_one_time_keys_count: Fix error.
2019-08-10 23:22:28 -07:00
Jason Volk
07cdc73593
modules/m_room_power_levels: Diverge auth rule 10.b.
2019-08-10 00:53:38 -07:00
Jason Volk
111ffd2216
modules/m_room_member: Fix auth event existence conditional branches in auth hooks.
2019-08-10 00:38:40 -07:00
Jason Volk
0a2510bc89
m::create: Ensure m.room.join_rules event is created on spec preset rooms.
2019-08-10 00:16:36 -07:00
Jason Volk
c1afee6183
modules/web_hook: Use json::string type rather than unquote(). ( #17 )
2019-08-10 00:02:46 -07:00
Jason Volk
8bce90fbf3
modules/client/keys/upload: Properly implement one_time_keys upload. ( Fixes #9 )
2019-08-09 23:34:20 -07:00
Jason Volk
ab8771aae3
modules: Fix various hookfn instance constness.
2019-08-09 21:27:41 -07:00
Jason Volk
6d4acdd01a
modules/m_event_append: Assertions that event being appended has fundamental fields.
2019-08-09 21:27:41 -07:00
Jason Volk
64a5eec565
modules/console: Sort files by SST number. ( #13 )
2019-08-08 20:01:42 -07:00
Jason Volk
573c7d892c
modules/m_fetch: Allow timedout() to also respond when request is finished. ( Fixes #121 )
2019-08-08 19:12:09 -07:00
Jason Volk
8089bd87ec
ircd::net::dns::resolver: Fix sendq condition after acquiring lock. ( Fixes #124 )
2019-08-08 18:50:23 -07:00
Jason Volk
060e46f8e4
ircd: Conditionally compile with gettimeofday().
...
ircd: Stronger embedding for time point samples.
2019-08-08 18:09:50 -07:00
Jason Volk
b111af2b3e
modules/client/keys/upload: Unconditionally sleep().
2019-08-08 14:09:55 -07:00
Jason Volk
e9f148f2a1
modules/client/sync/rooms/state: Unconditionally wait for concurrence to finish.
2019-08-07 18:42:20 -07:00
Jason Volk
9c3a0810cd
modules/client/sync/rooms/state: Hoist the event::fetch vector out of the concurrent closure.
2019-08-07 18:42:20 -07:00
Jason Volk
3fe4baba4f
ircd: Ⓜ️ :user::highlight: Improve highlight matching quality. ( Fixes #122 )
2019-08-07 18:42:20 -07:00
Jason Volk
45316906e7
modules/client/sync/rooms/state: Fix repeat timeline membership events in initial phase.
2019-08-07 15:56:39 -07:00
Jason Volk
e505c69b82
modules/client/sync/rooms/state: Improve own-membership test; improve return value.
2019-08-07 15:45:09 -07:00
Jason Volk
7d8d0e76f3
modules/media/download: Mark the allow_remote query string sent by R!ot.
2019-08-07 15:04:12 -07:00
Jason Volk
0f8cabdcb9
modules/client: Start a register/email module; stub requestToken. ( #106 )
2019-08-07 15:03:50 -07:00
Jason Volk
6f6f6c6451
modules/m_room_message: Add auth rules for room notification power.
2019-08-07 02:48:51 -07:00
Jason Volk
45478ec0bc
modules/m_user_highlight: Simplify matching.
2019-08-07 02:48:51 -07:00
Jason Volk
bfe1eace7d
modules/m_room_power_levels: Minor upgrade to c++17 syntax.
2019-08-07 01:11:45 -07:00
Jason Volk
b4ba03ae15
modules/m_room_message: Modernize module / notify handler.
2019-08-07 01:04:09 -07:00
Jason Volk
ac14be5a01
ircd: Ⓜ️ :user::highlight: Match -at-room. ( Closes #118 )
2019-08-07 00:41:08 -07:00
Jason Volk
0501b52d31
modules/console: Add readback to log mask/unmask cmds.
2019-08-06 21:04:19 -07:00
Jason Volk
87ce85e521
modules/client/keys/upload: Workaround race condition in Riot. ( Fixes #9 )
2019-08-06 19:30:09 -07:00
Jason Volk
d78a1bfe6f
modules/client/keys/upload: Improve handler.
2019-08-06 19:25:07 -07:00
Jason Volk
12d2f98565
modules/client/sync/device_one_time_keys_count: Implement polylog handler.
2019-08-06 19:25:07 -07:00
Jason Volk
e0fec1e81d
modules/client/sync: Add device_id to sync data.
2019-08-06 19:18:03 -07:00
Jason Volk
f3ada0ed9c
ircd: Ⓜ️ :device: Add access_token_to_id() lookup suite.
2019-08-06 18:33:42 -07:00
Jason Volk
eddc5b3b55
ircd: Ⓜ️ :event::append: Add properties mask to opts; centralize. ( Fixes #119 )
2019-08-05 17:54:00 -07:00
Jason Volk
52dbf9f412
modules/m_room_create: Denude created room effect hook functionality for now.
2019-08-05 16:39:32 -07:00
Jason Volk
bef1c1e043
modules/m_room_create: Handle errors on created room effects hook. ( Fixes #120 )
2019-08-05 16:26:52 -07:00
Jason Volk
8b9822e4fb
Fix various instances of throwing into noexcept.
2019-08-05 16:20:55 -07:00
Jason Volk
8888392768
modules/console: Add recent events to room top.
2019-08-04 22:50:40 -07:00
Jason Volk
9e2b9ed8da
modules/client/rooms/state: Add default fetch key selection to response events. ( #119 )
2019-08-04 20:28:46 -07:00
Jason Volk
749b6a7cda
modules/client/rooms/context: Fix missing default fetch opts. ( #119 )
2019-08-04 20:28:16 -07:00
Jason Volk
935fc08ea0
modules/m_event_append: Promote conditional log message to INFO.
...
modules/m_event_append: Don't persist the conf item.
2019-08-04 19:53:10 -07:00
Jason Volk
edd41074b8
modules/client/sync/rooms/state: Fix linear sync state transfer on join event. ( Fixes #117 )
2019-08-04 19:25:36 -07:00
Jason Volk
7dd5fa46c3
modules/client/sunc/rooms/state: Add conf item for event append debug.
2019-08-04 19:12:57 -07:00
Jason Volk
d5bb55fbc3
ircd::net::dns::resolver: Improve error reporting on send_query().
2019-08-04 17:56:31 -07:00
Jason Volk
3d3ec4ee1c
modules/m_fetch: Increase buffer size.
2019-08-04 16:04:02 -07:00
Jason Volk
fd23deefb8
modules/console: Fix total cycle regression due to API change.
2019-08-04 16:02:52 -07:00
Jason Volk
327130ecb7
modules/media: Fix log facility name.
2019-08-04 15:10:13 -07:00
Jason Volk
c860646943
Fix listener module name in imports.
2019-08-04 14:50:09 -07:00
Jason Volk
714c0e1ccc
modules/m_event_append: Improve logged depth number.
2019-08-04 00:49:10 -07:00
Jason Volk
a8e2f7de3e
modules/client/sync/rooms/state: Skip member events in some cases by configuration.
2019-08-03 22:38:42 -07:00
Jason Volk
1f08be2a0c
modules/client/sync/rooms/state: Only sync phased membership events for join rooms.
2019-08-03 22:09:24 -07:00
Jason Volk
e099d7c52b
modules/client/sync/rooms/state: Fix errors / rework phased member events. ( #105 )
...
modules/client/sync/rooms/state: Minor cleanup.
2019-08-03 22:06:35 -07:00
Jason Volk
e26fe4b83d
ircd: Ⓜ️ :event::append: Add debug log facility.
2019-08-03 21:06:33 -07:00
Jason Volk
432e317314
modules/client/sync/rooms/state: Elide an event index query.
2019-08-03 19:40:52 -07:00
Jason Volk
9bdb84523c
modules/web_root: Relax trailing slash requirement in conf item string.
2019-08-03 15:45:49 -07:00
Jason Volk
5fe01260b8
modules/console: Start an fs suite; add ls cmd.
2019-08-03 15:23:03 -07:00
Jason Volk
5ac0ac8229
modules/web_root: Add more infolog diagnostics on init.
2019-08-03 15:08:39 -07:00
Jason Volk
d5206cd22c
modules/stats: Rename metrics to stats.
2019-08-03 15:00:47 -07:00
Jason Volk
07c29ab914
modules: Rename webhook/index to more consistent web_ prefix.
2019-08-03 15:00:47 -07:00
Jason Volk
bd979b4666
ircd: Ⓜ️ :join: Prevent duplicate join here.
2019-08-03 01:44:49 -07:00
Jason Volk
9f1b540319
ircd: Ⓜ️ :join: Check argument is my(user).
2019-08-03 01:44:28 -07:00
Jason Volk
0117838145
modules/net_dns_resolver: Case transform to lower in make_query().
2019-08-02 22:03:30 -07:00
Jason Volk
3dfb593dec
modules/m_room_aliases: Consolidate state_key creation; case desensitize.
2019-08-02 22:01:00 -07:00
Jason Volk
9563781e35
modules: Add example to readme.
2019-08-02 18:12:34 -07:00
Jason Volk
c147c28808
modules/console: Improve message.
2019-08-02 17:40:44 -07:00
Jason Volk
d8fcbf7325
ircd: Ⓜ️ Reinterface append(event) into event::append; move to module. ( #109 )
2019-08-02 17:34:31 -07:00
Jason Volk
602e4bb5c3
modules/console: Show expiration time in cache list; improve output.
2019-08-02 16:25:38 -07:00
Jason Volk
7b32e8bbad
ircd: Ⓜ️ :room::aliases::cache: Improve interface and simplify implementation callstack.
2019-08-02 16:18:01 -07:00
Jason Volk
4482b751a8
modules/m_room_aliases: Make the cache fetch buffer dynamic. ( Fixes #104 )
2019-08-02 15:16:42 -07:00
Jason Volk
7694a48afa
modules/console: Remove the temporary escape workaround in conf list. ( Closes #101 )
2019-08-02 15:04:29 -07:00
Jason Volk
09b7299ca8
modules/client/sync: Implement full_state request functionality. ( #105 )
2019-08-02 15:04:29 -07:00
Jason Volk
6495fa55d5
modules/client/sync: Move the sync::args ctor definition into unit.
2019-08-02 15:04:29 -07:00
Jason Volk
92a343f69d
modules/m_control: Remove legacy temporary output massaging. ( #101 )
2019-08-02 15:04:28 -07:00
Jason Volk
739490722e
modules/media/media: Branch for conditional loading of magick.so.
2019-08-02 15:04:28 -07:00
Jason Volk
5e3f81685c
ircd: Ⓜ️ Shorten matrix log facility names.
...
modules/m_room_bootstrap: Rename log facility.
2019-07-31 19:43:06 -07:00
Jason Volk
ac3941a2df
modules/console: Increase log name width.
2019-07-31 19:43:06 -07:00
Jason Volk
7481f55869
modules/m_room_bootstrap: Simplify event_id check and return.
2019-07-31 19:26:16 -07:00
Jason Volk
3e163d842c
ircd: Ⓜ️ :bootstrap: Improve error log detail on worker failure.
2019-07-31 17:19:00 -07:00
Jason Volk
7364a4d9b7
modules/console: Add missing sequence number to event info output.
2019-07-30 19:19:01 -07:00
Jason Volk
a209da9926
modules/magick: Call InitializeMagick() first; remove DestroyMagickResources()
...
Fixes #96 .
2019-07-30 19:18:46 -07:00
Jason Volk
72874bfb64
modules/key/query: Minor cleanup.
2019-07-30 16:02:49 -07:00
Jason Volk
96c9443fea
modules/m_room_bootstrap: Separate bootstrap worker into internal; catch errors.
2019-07-30 15:53:32 -07:00
Jason Volk
7333be92ca
ircd: Ⓜ️ :typing: Simplify interface; fix linkages.
2019-07-30 14:21:26 -07:00
Jason Volk
c8a04073f1
ircd: Ⓜ️ :typing: Add ircd.typing event; update sync room ephemeral.
...
Fixes #94 .
2019-07-30 14:21:26 -07:00
Jason Volk
d5f64e5a74
Fix build errors for GCC-9.1.
...
Fixes #93 .
2019-07-30 10:28:33 -07:00
Jason Volk
1726a0a698
modules/m_room_bootstrap: Comment on error propagations for various subroutines.
2019-07-29 16:17:01 -07:00
Jason Volk
2b694d2c59
modules/client/send_to_device: Fix lack of exception string in error output.
2019-07-27 18:49:27 -07:00
Jason Volk
9391ee38f4
modules/client/send_to_device: Augment sendToDevice for multiple targets.
2019-07-26 19:52:17 -07:00
Jason Volk
2a736ac581
ircd: Ⓜ️ Fix missing module accoutrements.
...
ircd:Ⓜ️ Tweak module order.
2019-07-26 17:36:21 -07:00
Jason Volk
78a9b73976
modules/m_fetch: Remove redundant event_id from messages.
2019-07-26 16:19:15 -07:00
Jason Volk
7cb7052273
ircd: Ⓜ️ :fetch: Add a room based fetch to interface.
2019-07-26 16:13:58 -07:00
Jason Volk
5edd7a6117
ircd: Ⓜ️ :fetch: Whittle down the current interface; remove libircd linkages.
2019-07-26 15:51:15 -07:00
Jason Volk
6993bbfeb8
modules/m_fetch: Fix incorrect log facility.
2019-07-26 15:24:17 -07:00
Jason Volk
6a7e7f448b
Improve exception handling around several hook handlers.
...
Revert "modules/vm: Allow ctx::interrupted to propagate call_hook()."
This also reverts commit cdae254e14
.
2019-07-26 15:15:58 -07:00
Jason Volk
e4e15e6391
modules/magick: Simplify syntax.
2019-07-26 15:15:58 -07:00
Jason Volk
dd640266f5
modules/net_dns_resolver: Simplify errorlog msg.
2019-07-25 22:35:07 -07:00
Jason Volk
72f6fc9295
modules/media/thumbnail: Add conf item to disable remote fetch.
2019-07-25 21:43:05 -07:00
Jason Volk
6d4e17a77c
modules/media: Hold a reference to magick module.
2019-07-25 21:43:05 -07:00
Jason Volk
3121dc30df
modules: Move magick out of media; hold instance from media.
2019-07-25 21:02:48 -07:00
Jason Volk
7b8dfb88f4
ircd: Ⓜ️ :event::auth: Transpose several rules; various reorg.
2019-07-25 20:02:29 -07:00
Jason Volk
90fa55ed91
modules/console: Improve event info report output.
2019-07-25 18:57:50 -07:00
Jason Volk
494288ea77
modules/client/sync/rooms/account_data: Ignore since range on room account_data polylog sync.
2019-07-25 15:06:54 -07:00
Jason Volk
b8adc69599
ircd: Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
...
ircd:Ⓜ️ :room: Add a room version max size constant.
2019-07-25 14:29:07 -07:00
Jason Volk
cdae254e14
modules/vm: Allow ctx::interrupted to propagate call_hook().
2019-07-25 11:46:45 -07:00
Jason Volk
4051d11812
modules/client/sync/rooms/state: Ensure branch not taken on phased sync.
2019-07-24 17:53:06 -07:00
Jason Volk
df2772c113
modules/client/sync/rooms: Fix buffer sizing constant.
2019-07-24 17:42:31 -07:00
Jason Volk
a9000af369
modules/client/events: Branch for events to allow EDU's without event_id.
2019-07-24 17:37:08 -07:00
Jason Volk
051af41961
modules/client/events: Catch hook handler exception here.
2019-07-24 16:29:44 -07:00
Jason Volk
9e927d1a4d
modules/client/sync/rooms/state: Make room_invite_state phased aware.
2019-07-24 15:58:28 -07:00
Jason Volk
5116023cf3
modules/client/sync/rooms/state: Add room avatar to invite state sync.
...
modules/client/sync/rooms/state: Increment ret after append, not before.
modules/client/sync/rooms/state: Use constructive event::fetch.
2019-07-24 15:34:35 -07:00
Jason Volk
d034ee8dde
modules/net_dns_resolver: Add assertion; tweak log format consistency.
2019-07-24 14:24:34 -07:00
Jason Volk
9c7ad47e59
modules/net_dns_resolver: Improve tag.last state decisions for timeouts.
2019-07-24 14:24:34 -07:00
Jason Volk
92f6d7ddb4
modules/m_command: Add ping room cmd; minor cleanup.
2019-07-24 12:31:45 -07:00
Jason Volk
58c83b01a7
ircd: Ⓜ️ :feds: Add a closure_cached_errors option.
...
modules/m_command: Tweak ping options.
2019-07-23 22:46:48 -07:00
Jason Volk
5571eefdb8
modules/m_command: Add a room ping command.
2019-07-23 21:23:22 -07:00
Jason Volk
8f0a71f677
modules/m_room_aliases: Clarify expiration calculation; log dwarning.
2019-07-23 20:51:44 -07:00
Jason Volk
eb3b4d82fb
ircd: Ⓜ️ :room::members: Simplify and improve interface; callsites.
2019-07-23 19:50:13 -07:00
Jason Volk
8787dcfaf7
modules/console: Fix room members cmd parameter defaultness.
2019-07-23 17:52:50 -07:00
Jason Volk
bde9e16e5c
ircd::ctx: Inline cur_slice_cycles().
...
modules/media/magick: Use this_ctx::cycles_here().
ircd::ctx: Improve prof::cycles API related.
2019-07-23 16:40:29 -07:00
Jason Volk
df11d9bec6
ircd: Ⓜ️ :room: Reorient join bootstrap definitions.
...
ircd:Ⓜ️ :room::bootstrap: Improve interface / various.
2019-07-23 16:40:29 -07:00
Jason Volk
32e77c64a8
modules: Add a prescription to the readme.
2019-07-23 16:14:46 -07:00
Jason Volk
0f6e7f5745
modules/client/rooms/join: Fetch keys concurrently in bootstrap auth_chain eval.
2019-07-23 14:41:53 -07:00
Jason Volk
e883f2a42b
ircd: Ⓜ️ :keys: Add additional fetch to interface.
2019-07-22 20:35:41 -07:00
Jason Volk
f1e3a9c53b
ircd: Ⓜ️ :keys: Add mass fetcher to interface.
2019-07-22 20:35:41 -07:00
Jason Volk
2dbef7763e
ircd: Ⓜ️ :feds: Add for_one() internal alternative.
2019-07-22 20:35:41 -07:00
Jason Volk
bdf8a9b43c
ircd: Ⓜ️ :feds: Clarify function name; relax room_id requirement.
2019-07-22 19:10:19 -07:00
Jason Volk
eb38a9ce15
ircd: Ⓜ️ :room::timeline: Improve iteration.
2019-07-22 19:10:19 -07:00
Jason Volk
cc9ce9c8a5
ircd: Ⓜ️ :room: Move timeline definitions to module.
2019-07-22 14:30:27 -07:00
Jason Volk
6513fdf19f
modules/m_fetch: Call the fetch::clear() (all) on module fini.
2019-07-22 14:23:06 -07:00
Jason Volk
d4510acf9c
modules/console: Add state indicator on room gaps output.
...
modules/console: Minor cleanup fetch cmd section.
2019-07-22 14:20:40 -07:00
Jason Volk
4a37152c6d
ircd: Ⓜ️ :fetch: Add clear() to interface.
2019-07-22 14:20:21 -07:00
Jason Volk
53e7fe3fef
ircd: Ⓜ️ :fetch: Remove cruft.
2019-07-22 14:18:13 -07:00
Jason Volk
4c0e7c220b
modules/console: Improve event info output fmt.
...
modules/console: Improve room top servers.
2019-07-21 19:41:01 -07:00
Jason Volk
4178f40ee1
modules/console: Condense room top output.
...
modules/console: Skip member events on room top.
modules/console: Improve event long info.
modules/console: Add server count to room top.
modules/m_fetch: Minor cleanup.
2019-07-21 18:58:42 -07:00
Jason Volk
6c9dbdbef5
ircd::ctx: Add queued(ctx) state to interface.
2019-07-21 18:07:26 -07:00
Jason Volk
480834f49b
modules/m_receipt: Handle event_id construction exceptions without breaking loop.
2019-07-21 14:20:38 -07:00
Jason Volk
38a530391c
modules/m_receipt: Minor cleanup / structured bindings.
2019-07-21 14:20:33 -07:00
Jason Volk
8a99d6d44f
modules/console: Show aliases on room top cmd output.
2019-07-20 22:33:12 -07:00
Jason Volk
a151eadd62
modules/client/sync: Clarify double deindirection.
2019-07-20 21:42:32 -07:00
Jason Volk
e589e89a2c
modules/m_fetch: Fix interface implementations.
2019-07-20 18:42:15 -07:00
Jason Volk
c1d21a9401
modules/m_room_aliases: Various namespace modernizations.
2019-07-20 18:42:15 -07:00
Jason Volk
3100e5ea34
modules/m_room_aliases: Move auth branch to module handler.
2019-07-20 18:42:15 -07:00
Jason Volk
8bbf8c4cbb
modules/m_room_create: Minor cleanup.
2019-07-20 18:42:15 -07:00
Jason Volk
9e2e20f3e8
ircd: Ⓜ️ :event::auth: Preliminary auth hook.
2019-07-20 18:42:15 -07:00
Jason Volk
2f2bc867fb
ircd: Improve various context names for consistency.
2019-07-20 18:42:15 -07:00
Jason Volk
94ceab33a5
modules/client/rooms/join: Minor cleanup.
2019-07-19 23:26:54 -07:00
Jason Volk
f45b3e1cc8
modules/vm: Fix add prev/auth_events conditions.
2019-07-19 23:19:41 -07:00
Jason Volk
c7bd5687f2
modules/m_room_aliases: Always update the cache on effects.
2019-07-19 20:25:43 -07:00
Jason Volk
ee926ff5fb
modules/m_room_aliases: Remove old hookfn.
2019-07-19 20:25:32 -07:00
Jason Volk
c4299ee5e2
modules/m_room_canonical_alias: Improve infologging.
2019-07-19 20:18:09 -07:00
Jason Volk
f5716caa50
modules/m_room_canonical_alias: Move handler function into ircd::m.
2019-07-19 20:12:30 -07:00
Jason Volk
9c1739a452
modules/m_vm: Post-write hooks to not propagate exceptions.
2019-07-19 20:12:05 -07:00
Jason Volk
8e73834e7a
modules/m_room_canonical_alias: Remove old hookfn.
2019-07-19 19:53:49 -07:00
Jason Volk
dc302601fb
modules/m_room_canonical_alias: Improve cache manip in effect hook.
2019-07-19 19:53:05 -07:00
Jason Volk
58b286e651
ircd::log: Make the level enumeration strictly unsigned.
...
modules/console: Fix sign v. unsign comparison.
2019-07-19 18:17:52 -07:00
Jason Volk
ca21a760a7
modules: Rename net_listener back to m_listen.
2019-07-18 15:09:04 -07:00
Jason Volk
4b831a6a30
modules/client/sync: Decrease the default flush high water mark.
2019-07-17 18:34:42 -07:00
Jason Volk
130a86e27c
modules/m_fetch: Use cancel interface; minor cleanup.
2019-07-17 16:24:37 -07:00
Jason Volk
aa8c0487e5
modules/federation/sender: Increase per-event error log level.
2019-07-17 15:20:21 -07:00
Jason Volk
9c94c6ac8f
ircd: Ⓜ️ Move user::events definitions to module.
...
ircd:Ⓜ️ Move user::rooms definitions to module.
2019-07-17 15:05:34 -07:00
Jason Volk
ad834bfc5b
ircd: Ⓜ️ :vm: Reorganize eval/vm::inject for room version differences; add comment.
2019-07-17 14:53:13 -07:00
Jason Volk
f53ff565e8
modules/vm: Add some conf items to inject; minor improvement.
2019-07-17 10:06:56 -07:00
Jason Volk
671ad292ef
modules/console: Add room_tags set cmd.
2019-07-16 19:15:29 -07:00
Jason Volk
979a2b41e3
modules/console: Fix room tags output.
2019-07-16 17:46:50 -07:00
Jason Volk
6804123244
modules/media/magick: Synchronize module unload.
2019-07-16 16:25:08 -07:00
Jason Volk
e0e9e09e67
ircd: Ⓜ️ Make append() return and propagate boolean.
2019-07-16 15:26:15 -07:00
Jason Volk
339e43c004
modules/client/sync: Update readme.
2019-07-16 11:36:03 -07:00
Jason Volk
ecdd5c153c
modules/console: Fix old module name references.
2019-07-16 09:33:51 -07:00
Jason Volk
594627e945
modules/client/rooms/join: Minor simplify.
2019-07-15 23:01:17 -07:00
Jason Volk
270cf6564c
modules/client/rooms/initialsync: Remove event_id host regression.
2019-07-15 21:22:43 -07:00
Jason Volk
4f88697620
modules/vm: Get room version from create event claim.
2019-07-15 19:04:29 -07:00
Jason Volk
4e5b9696f5
modules/federation/make_join: Room version match against query string params.
2019-07-15 17:36:01 -07:00
Jason Volk
477fc25687
modules/m_room_power_levels: Remove stale hooks.
...
modules/m_room_create: Remove stale hooks.
2019-07-15 17:20:48 -07:00
Jason Volk
76ed65d36e
modules/vm: Improve derror log output on call_hook().
2019-07-15 17:20:48 -07:00
Jason Volk
449f667dd9
modules/client/rooms/join: Exception handling around bootstrap eval.
2019-07-15 17:20:47 -07:00
Jason Volk
20081ce5c1
modules/console: Output room version in fed head.
2019-07-15 17:20:47 -07:00
Jason Volk
2906eebd3f
modules/federation/make_join: Add room_version to make_join response.
2019-07-15 17:20:47 -07:00
Jason Volk
bb7cf992ae
modules/client/rooms/join: Throw error rather than returning empty event_id.
...
modules/client/rooms/join: Minor simplify.
modules/client/rooms/join: Use room room_version in event eval opts.
2019-07-15 15:34:06 -07:00
Jason Volk
6f7949eb2c
modules/vm: Better conditions for room_id iov append.
2019-07-15 14:22:45 -07:00
Jason Volk
2f71edf41f
modules/client/sync/rooms/state: Supply invite room state on invite.
...
modules/client/rooms/invite: Add the sender's membership event.
2019-07-15 14:11:22 -07:00
Jason Volk
598585a431
ircd::ctx: Simplify concurrent template.
...
modules/client/sync: Improve concurrent instantiation sites.
2019-07-15 13:09:33 -07:00
Jason Volk
14040f4917
modules: Simplify comment.
2019-07-15 11:19:14 -07:00
Jason Volk
d61850ecf6
modules/m_user: Simplify linkage. #83
2019-07-15 11:06:01 -07:00
Jason Volk
05711cf5d6
modules: Split user::highlight module.
2019-07-15 11:06:01 -07:00
Jason Volk
f3d22ba98b
modules/m_typing: More error reporting around typing-state update.
2019-07-15 09:48:29 -07:00
Jason Volk
e715c135af
ircd: Ⓜ️ Split m::user::profile from client handler.
2019-07-14 19:35:28 -07:00
Jason Volk
58aad0194b
ircd: Ⓜ️ Move bootstrap to module.
...
modules/m_init_bootstrap: Trigger bootstrap via import.
2019-07-14 16:07:44 -07:00
Jason Volk
2ad1c3acb9
modules/console: Show joined members count in room top.
2019-07-14 15:26:42 -07:00
Jason Volk
198d3ff884
modules/client/sync/rooms/state: Query for event_idx outside of lock; hint pool.
2019-07-14 15:21:13 -07:00
Jason Volk
e6780c7940
modules/client/createroom: Fix bootstrap regression.
2019-07-14 15:03:54 -07:00
Jason Volk
f355fb3135
modules/m_vm: Minor formatting fix.
2019-07-14 15:03:54 -07:00
Jason Volk
5e15364e42
modules/client/sync/rooms/state: Make initial-phase state event queries concurrent.
2019-07-14 15:03:54 -07:00
Jason Volk
c92b6aafd5
modules/m_fetch: Stub missing cancel() definition for now.
2019-07-14 09:42:43 -07:00
Jason Volk
c1b3dc1142
modules/federation/sender: Don't propagate exceptions outside of the hook handler.
2019-07-13 23:20:03 -07:00
Jason Volk
56ab4f397c
modules/federation/invite2: Process the dual-signed event.
2019-07-13 23:20:03 -07:00
Jason Volk
8d8142d5eb
modules/client/rooms/invite: Send infolog message on invite reception.
2019-07-13 23:20:03 -07:00
Jason Volk
e82b58728a
modules/client/rooms/invite: Send invite_room_state.
2019-07-13 23:20:03 -07:00
Jason Volk
b9df49a891
modules/client/sync/rooms/state: Make special case for invite_state inclusive.
2019-07-13 23:20:03 -07:00
Jason Volk
c7a68a8cb3
ircd::ctx: Fix ctx::parallel argument allocation assumptions.
...
ircd::ctx: Rename tool.
2019-07-13 23:20:03 -07:00
Jason Volk
63a238fa76
modules/federation/sender: Fix event_id regression.
2019-07-13 23:20:03 -07:00
Jason Volk
9fc5f86886
modules/m_fetch: Fix event construction regression.
2019-07-13 19:28:48 -07:00
Jason Volk
1fa275813c
modules/media/magick: Call ::DestroyMagickResources()
on module dtor.
2019-07-13 19:28:48 -07:00
Jason Volk
4b961099cc
modules/client/createroom: Add default room version conf item; fix create eval.
2019-07-13 19:28:03 -07:00
Jason Volk
6abd1a8173
modules/m_fetch: Fix prev array counting calls.
2019-07-13 19:28:03 -07:00
Jason Volk
2489ae02ff
modules/m_fetch: Explicitly cancel request after assignment failure.
2019-07-13 19:28:03 -07:00
Jason Volk
f33f65040d
ircd::net::dns::resolver: Increase timeout worker responsiveness.
2019-07-13 19:28:03 -07:00
Jason Volk
df8fd36fde
ircd: Ⓜ️ :user: Simplify user::room_tags impl w/ modern linkage.
...
ircd:Ⓜ️ :user: Simplify user::room_account_data impl w/ modern linkage.
ircd:Ⓜ️ :user: Modernize user::profile impl linkage.
ircd:Ⓜ️ :user: Modernize user::account_data impl linkage.
ircd:Ⓜ️ :user: Simplify user::ignores impl w/ modern linkage.
2019-07-13 18:15:27 -07:00
Jason Volk
0eda690733
modules/console: Allow iteration of user's room tags in all rooms.
2019-07-13 18:15:27 -07:00
Jason Volk
023167b440
modules/client/sync: Add a 'semaphore mode' for muted sync.
2019-07-12 19:29:51 -07:00
Jason Volk
6b54ab902e
modules/client/sync: Minor cleanup of condition statements.
2019-07-12 19:29:51 -07:00
Jason Volk
393e4f32de
modules/client/sync: Add comment on the phased sync arg.
2019-07-12 19:29:51 -07:00
Jason Volk
4090b8f3da
modules/client/rooms/invite: Use json::stack to generate request content.
2019-07-12 19:29:51 -07:00
Jason Volk
519b19547d
modules/console: Fix regression.
2019-07-12 19:29:51 -07:00
Jason Volk
09ea0be2f0
modules/client/rooms/invite: Improve error reporting.
2019-07-12 19:29:51 -07:00
Jason Volk
5c8a97c43e
modules/client/rooms/invite: Use the v2 invite api here.
2019-07-12 19:29:51 -07:00
Jason Volk
ce55859fb2
ircd: Ⓜ️ Rename v1 to fed.
2019-07-12 19:29:51 -07:00
Jason Volk
fe4ce5c130
modules/client/rooms/invite: Fix event construction.
2019-07-12 19:29:51 -07:00
Jason Volk
ef670cc8b9
modules/client/createroom: Abort room creation for DM's if error inviting counter-party.
2019-07-12 19:29:51 -07:00