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
Jason Volk
f4600bb002
modules/client/createroom: Create with room_version 4.
2019-07-12 19:29:51 -07:00
Jason Volk
4353034027
modules/client/events: Prevent seek of event_idx for EDU's.
2019-07-12 19:29:50 -07:00
Jason Volk
76148e2971
modules/client/events: Fix condition; use minmax/minor cleanup.
2019-07-12 19:29:50 -07:00
Jason Volk
b5219750be
modules/vm: Move the room_id append up the stack.
2019-07-11 19:34:20 -07:00
Jason Volk
d837753d29
modules/console: Fix an event construction.
2019-07-11 18:58:18 -07:00
Jason Volk
e0ff0dfd3c
modules/m_keys: Improve cache::get query.
2019-07-11 18:58:17 -07:00
Jason Volk
88bd487d5d
modules/client/events: Fix regression from aebfd8d9ff
.
2019-07-11 16:57:41 -07:00
Jason Volk
f53112217f
modules/console: Fix unwrapped prev_events iteration.
2019-07-11 16:29:07 -07:00
Jason Volk
3b088e8bc1
modules/federation/get_missing_events: Fix unwrapped prev_events iteration.
2019-07-11 16:24:43 -07:00
Jason Volk
f6f71fbbce
modules/m_receipt: Make event_id in content required.
2019-07-11 16:20:26 -07:00
Jason Volk
673da4df1f
modules/console: Improve the console eval file cmd.
2019-07-11 15:51:09 -07:00
Jason Volk
f9bd97f8c3
modules/m_vm: Fix hashes addition to the event iov for compat for now.
2019-07-11 15:51:09 -07:00
Jason Volk
d53744b3f8
ircd: Rename gmatch/gequals.
2019-07-11 15:51:09 -07:00
Jason Volk
6032331bf2
ircd: Ⓜ️ Move breadcrumb_rooms interface down one out from m::user::.
2019-07-11 15:51:09 -07:00
Jason Volk
c0402f08f4
ircd::util: Improve the test trigger prototype.
2019-07-10 21:39:47 -07:00
Jason Volk
1b65cc36c8
modules/console: Fix unwrapped prev event iteration.
...
ircd:Ⓜ️ :v1: Fix unwrapped prev event reference.
2019-07-10 07:39:37 -07:00
Jason Volk
4a2b64fe0f
modules/client/capabilities: Update capabilities.
...
closes #27
2019-07-10 07:24:20 -07:00
Jason Volk
c39aad4d3f
ircd: Ⓜ️ :vm: Factor room_version into eval.
2019-07-10 06:52:56 -07:00
Jason Volk
329972ed01
ircd: Ⓜ️ :event: Update the make_id() suite.
2019-07-10 03:50:37 -07:00
Jason Volk
aebfd8d9ff
modules/client/events: Pass the event_id on side-channel.
2019-07-10 03:50:37 -07:00
Jason Volk
43d66420cd
Update incompatible uses of event_id.
2019-07-10 03:50:37 -07:00
Jason Volk
9d5edac0b9
modules/federation: Employ check_id() at endpoints claiming event_id path param.
2019-07-10 02:12:16 -07:00
Jason Volk
975e3d8700
modules/client/sync: Fix/improve longpoll behavior as a fallback.
2019-07-09 19:53:25 -07:00
Jason Volk
62ede2f954
modules/client/sync: Update some comments/docs.
2019-07-09 19:22:15 -07:00
Jason Volk
a2177dd096
modules/m_vm: Stop generating empty prev_state in our events; thanks https://github.com/matrix-org/synapse/pull/4837
2019-07-09 17:23:58 -07:00
Jason Volk
6b16bdd76c
modules/net_dns: More catch block.
2019-07-09 02:33:27 -07:00
Jason Volk
719a965d9f
ircd: Ⓜ️ :event: Remove prev_state from top level.
2019-07-09 02:33:27 -07:00
Jason Volk
e0655229c5
ircd::room::auth: Improve make_refs and cleanup interface related.
2019-07-09 02:03:03 -07:00
Jason Volk
aa78f6f85c
ircd: Ⓜ️ :event::conforms: Update event_id related conditions.
2019-07-08 18:57:45 -07:00
Jason Volk
de97c688cc
modules/client/sync: Increase default main buffers.
2019-07-08 06:03:20 -07:00
Jason Volk
5258ffb964
modules/client/sync/rooms/state: Minor simplification.
2019-07-08 06:03:20 -07:00
Jason Volk
d5c035693c
ircd: Ⓜ️ :user: Add interface to im.vector.riot.breadcrumb_rooms.
2019-07-08 06:03:20 -07:00
Jason Volk
c718d348cb
modules/webhook: Minor use literal hasher for case statements.
2019-07-08 06:03:20 -07:00
Jason Volk
61fcc07fcf
modules/client/sync: Refactor longpoll handler.
2019-07-08 06:03:20 -07:00
Jason Volk
cbb39105e1
ircd: Ⓜ️ :sync: Add next_batch_token to args struct for direct view.
2019-07-08 06:03:20 -07:00
Jason Volk
7dc5d30405
ircd: Ⓜ️ :sync: Move data ctor to module.
2019-07-08 06:03:20 -07:00
Jason Volk
11dd47a8aa
ircd: Ⓜ️ :sync: Add pointer to struct args in struct data.
2019-07-08 06:03:20 -07:00
Jason Volk
9007f651ed
modules/console: Add an intuitive sync command.
2019-07-08 06:03:20 -07:00
Jason Volk
39164d94b8
modules/console: Minor cleanup / comments. [skip ci]
2019-07-08 06:03:20 -07:00
Jason Volk
dfbc6a136f
modules/console: Move client sync cmd to synchron.
2019-07-08 06:03:20 -07:00
Jason Volk
021823ec6d
modules/client/rooms/context: Add non-spec param to disappear state entirely from response.
2019-07-08 06:03:20 -07:00
Jason Volk
f21fccbbd7
modules/client/rooms/context: Support filter; respect lazy-loading members in returned state.
2019-07-07 22:06:11 -07:00
Jason Volk
c38b7b583b
modules/client/sync/rooms/state: Add proper member events at phase 0.
2019-07-07 06:04:55 -07:00
Jason Volk
b2ced7aea5
modules/client/sync/rooms/state: No need to fetch the creator member on phase 0.
2019-07-07 04:00:48 -07:00
Jason Volk
68ec7b1c5d
modules/client/versions: Add the earlier versions.
2019-07-07 03:59:51 -07:00
Jason Volk
bd09a9aba2
modules/client/rooms/members: Implement c2s r0.5.0 query parameters.
2019-07-07 03:59:51 -07:00
Jason Volk
ec6651d76d
modules/client/user/filter: Use b64url filter ID's.
2019-07-07 01:11:24 -07:00
Jason Volk
2bd3a8f021
modules/client/sync/rooms/ephemeral/receipt: Make the search depth a conf item.
2019-07-06 23:20:43 -07:00
Jason Volk
3816d4104a
ircd: Ⓜ️ :sync: Fix loghead/console formatting.
2019-07-06 22:27:51 -07:00
Jason Volk
6fb6f096de
modules/client/sync: Pack the upper-bound into the phased polylog since token.
2019-07-06 22:25:16 -07:00
Jason Volk
5c8425d047
modules/client/sync: Add comments to main frame.
2019-07-06 22:25:16 -07:00
Jason Volk
18f07b6378
ircd: Ⓜ️ :sync: Move definitions to module.
...
ircd:Ⓜ️ :sync: Give sync::data an instance_list.
2019-07-06 22:25:12 -07:00
Jason Volk
c6a9cf3849
modules/client/sync: Split internal sync.h header.
2019-07-06 19:05:36 -07:00
Jason Volk
1177368723
modules/client/sync/rooms/summary: Add preliminary m.heroes array to summary.
2019-07-06 18:53:45 -07:00
Jason Volk
c54c2fb9d0
modules/client/capabilities: Fix m.room.version->default serialization type.
...
modules/client/capabilities: Add room version "4" and "5" with unstable disposition for now.
2019-07-06 18:17:35 -07:00
Jason Volk
ff4fefe99c
modules/client/capabilities: Move handler into namespace.
2019-07-06 18:11:03 -07:00
Jason Volk
f9dbd306d6
modules/client/versions: Generate response content dynamically.
2019-07-06 17:58:47 -07:00
Jason Volk
17925b2bd9
modules/console: Add more raw output options on several fed cmds.
2019-07-06 17:56:54 -07:00
Jason Volk
375c763f90
modules/client/sync/rooms: Add c2s r0.5.0 rooms.join.summary object.
2019-07-06 17:35:55 -07:00
Jason Volk
2b7d862330
modules/client/sync/rooms/state: Trim the initial crazyloaded state.
2019-07-06 17:35:55 -07:00
Jason Volk
767e18791c
modules/client/sync: Fix queue pop.
2019-07-06 05:50:13 -07:00
Jason Volk
23afd0ee37
modules/media/magick: Add a job loghead().
2019-07-06 05:44:10 -07:00
Jason Volk
5cf7eb9db4
modules/client/sync: Enable crazyloading by default.
2019-07-06 02:06:46 -07:00
Jason Volk
100a5bf518
modules/federation/invite2: Put back the event_id that synapse stripped; various fixes.
2019-07-06 01:25:28 -07:00
Jason Volk
261151f539
ircd: Ⓜ️ :fetch: Remove ambiguating event_id() util.
2019-07-05 23:45:00 -07:00
Jason Volk
1097829102
modules/m_vm: Wrap individual hook calls.
2019-07-05 23:45:00 -07:00
Jason Volk
fa737c0019
modules/vm: Require event_id member.
2019-07-05 23:45:00 -07:00
Jason Volk
4a289c065a
ircd: Ⓜ️ :event: Add event_id member; reorg ctors.
2019-07-05 23:45:00 -07:00
Jason Volk
8b4b47fd03
modules/federation/invite2: Split out post-processing w/ exception scope.
2019-07-05 23:45:00 -07:00
Jason Volk
fff2891d2d
modules/federation/invite: Increase default.
2019-07-05 18:49:57 -07:00
Jason Volk
79b3ec9951
modules/federation/invite2: Recombine event checks subroutine.
2019-07-05 18:49:57 -07:00
Jason Volk
2ee958bd41
modules/media/thumbnail: Add mime type whitelist/blacklist; improve fallback conditions.
2019-07-05 18:37:27 -07:00
Jason Volk
f48182404f
modules/media/media: Fix condition variable.
...
modules/media/media: Minor cleanup.
2019-07-05 17:37:02 -07:00
Jason Volk
b8dfa9ccee
ircd::magick: Reorg and elaborate the job state tracking; add interface.
2019-07-05 16:05:36 -07:00
Jason Volk
a6e65d1efe
modules/media/magick: Fix assumptions for job demarcation.
2019-07-05 13:48:08 -07:00
Jason Volk
9fc175bf17
modules/client/sync/rooms/state: Send some additional fundamental state events at phase 0.
2019-07-04 03:43:59 -07:00
Jason Volk
8f2495893b
modules/client/sync/rooms/state: Send the room creators member event on phase 0.
2019-07-04 03:19:30 -07:00
Jason Volk
d1ecaf5ffb
modules/client/sync/rooms/state: Send the user's own member event on phase 0.
2019-07-04 03:07:54 -07:00
Jason Volk
babc28ccd0
modules/client/sync/rooms/timeline: Add conf item for separate phased+initial limit.
2019-07-04 03:05:38 -07:00
Jason Volk
333309e52f
modules/client/sync/rooms/timeline: Set initial=true for polylog phased.
2019-07-04 02:32:33 -07:00
Jason Volk
22fd1c4350
modules/client/sync/rooms/unread_notifications: Set initial=true for polylog phased.
2019-07-04 02:29:05 -07:00
Jason Volk
612eeb3b7f
ircd::allocator: Add ctrl get()/set() w/ console cmd.
2019-07-04 00:20:49 -07:00
Jason Volk
bc84247519
modules/federation: Implement 12.2 /v2/invite.
2019-07-03 19:58:13 -07:00
Jason Volk
9234fd34a6
modules/client/account: Fix use of deprecated json::object nested traversal API.
2019-07-03 18:57:48 -07:00
Jason Volk
ba1f22640a
modules/console: Increase mem info cmd output buffer size.
2019-07-03 18:57:48 -07:00
Jason Volk
9a850c1637
modules/federation/invite: Verify the invite event before adding our signature to it.
2019-06-30 02:11:14 -07:00
Jason Volk
a3da1fd0d0
modules/client/events: Add missing user::room event_append_opts contextual data.
2019-06-29 19:16:20 -07:00
Jason Volk
1f8bff0ef5
modules/client/rooms/initialsync: Add missing event_append_opts contextual data.
2019-06-29 19:16:20 -07:00
Jason Volk
0def9bd5f1
modules/media/magick: Add conf limit for CPU cycles of a running ImageMagick job.
2019-06-29 19:16:20 -07:00
Jason Volk
55bc296068
modules/media/magick: Add conf limit for job based on the span quantum.
2019-06-29 17:31:40 -07:00
Jason Volk
75884a41c6
modules/index: Add magic extension fallback for .wasm application/wasm.
2019-06-29 00:22:35 -07:00
Jason Volk
1636fd795d
modules/console: Fix imports misnaming m_conf -> conf.
2019-06-28 22:41:00 -07:00
Jason Volk
61e3fa848c
modules/m_user: Determine the best query pattern for highlight count based on cache.
2019-06-28 22:34:41 -07:00
Jason Volk
99cfdb9a86
modules/m_fetch: Ensure request removal from one callsite only.
2019-06-28 22:15:47 -07:00
Jason Volk
6ce67a81a1
ircd: Ⓜ️ :user::highlight: Add conf items to toggle counting; improve match detail.
2019-06-27 01:59:19 -07:00
Jason Volk
1f1fa501d5
modules/m_user: Add overload with phased IO: query content after type.
2019-06-27 01:59:03 -07:00
Jason Volk
0fb3f1d8ac
ircd: Ⓜ️ :user: Modernize the highlight counting interface.
2019-06-27 01:32:16 -07:00
Jason Volk
7494efe743
modules: Remove globally applied third-party build flags; apply per-module flags.
2019-06-27 00:41:58 -07:00
Jason Volk
def6b5130a
modules/index: Deprecate the ircd.webroot.path -> ircd.index.path w/ non-breaking carryover.
2019-06-27 00:41:57 -07:00
Jason Volk
7843925335
modules: Disperse modules to eliminate the s_ prefix-space.
2019-06-27 00:41:57 -07:00
Jason Volk
2301d378fa
Trim outdated README docs in ircd/ modules/.
2019-06-26 22:56:31 -07:00
Jason Volk
90095b0034
modules/webhook: Handle the github delete event.
2019-06-25 07:58:43 -07:00
Jason Volk
ae83682e2d
modules/webhook: Handle the repository github event.
2019-06-25 07:57:41 -07:00
Jason Volk
754adf33ec
ircd: Ⓜ️ :keys: Add pretty()/pretty_oneline() output diagnostics.
2019-06-25 07:42:13 -07:00
Jason Volk
936ce256da
modules/s_keys: Fix regression from c2f86a8094
2019-06-25 06:08:38 -07:00
Jason Volk
80655da66e
Misc fixes for clang.
2019-06-24 01:34:14 -07:00
Jason Volk
49ddc6e44e
modules: Degrade enum addressing for clang.
2019-06-24 01:33:41 -07:00
Jason Volk
ce7bb21ea4
modules: Disambiguations for clang.
2019-06-24 01:33:41 -07:00
Jason Volk
fc786afbd5
modules/s_dns_resolver: Deconflict resolver instance pointer from typename.
2019-06-24 01:33:41 -07:00
Jason Volk
c692b009a4
Fix -fuse-ld ldflags.
2019-06-24 01:33:41 -07:00
Jason Volk
2f74142737
ircd::db: Fix erroneous calls when stacking overloads.
...
modules/s_keys: Fix erroneous calls when stacking overloads (regression).
2019-06-24 02:22:55 -06:00
Jason Volk
7906ca1060
modules/console: Combine key / keys cmds.
2019-06-23 16:27:37 -07:00
Jason Volk
37760fe251
ircd: Ⓜ️ :keys: Improve key query and cache loop.
2019-06-23 16:27:37 -07:00
Jason Volk
c2f86a8094
ircd: Ⓜ️ :keys: Distill out expiration test from verification test.
2019-06-23 16:22:15 -07:00
Jason Volk
fcbd31f672
ircd: Ⓜ️ :keys: Add an iteration over node's cached keys.
2019-06-23 15:50:02 -07:00
Jason Volk
82a7d736d1
ircd::fs::path: Use scoped enum for fs::path::base paths.
2019-06-23 07:37:23 -06:00
Jason Volk
53ea7b8658
ircd: Ⓜ️ :feds: Add send operation to feds suite.
...
modules/console: Update console for feds resend.
2019-06-22 20:03:58 -07:00
Jason Volk
7dffdf12e0
modules/s_node: Move functions called my m_event back to libircd for now; tweak module order.
2019-06-22 19:23:45 -06:00
Jason Volk
a371bc3e1f
ircd: Fix cast-conversion based reference-constructions.
2019-06-22 17:36:42 -06:00
Jason Volk
534afe8859
ircd: No need to move x-values.
2019-06-22 17:36:42 -06:00
Jason Volk
a67f134a6b
ircd: Ⓜ️ Partial migration of m::node to module; modernize legacy extern "C".
2019-06-21 21:02:38 -07:00
Jason Volk
4093dc2f85
ircd: Ⓜ️ :self::init: Fix keys init; prevent libircd as dependency for module.
2019-06-21 20:29:26 -07:00
Jason Volk
c944818f4b
modules/client/rooms: Add pre-checks for membership on the convenience endpoints.
2019-06-21 16:53:26 -07:00
Jason Volk
b7023a6dc7
ircd: Ⓜ️ Reorg keys related interfaces and init.
2019-06-21 16:41:43 -07:00
Jason Volk
87fb5a771e
modules/m_presence: Upgrade presence spam log to DWARNING since apparently post-1.0 era now.
2019-06-18 00:22:16 -07:00
Jason Volk
cef538fdf3
modules/client/publicrooms: Fix url decoding of query string arguments.
2019-06-18 00:22:16 -07:00
Jason Volk
f2fb177d7d
modules/client/publicrooms: Refresh the cache on request.
...
fixes #82
2019-06-18 00:22:16 -07:00
Jason Volk
75c125e8aa
ircd: Ⓜ️ :rooms: Expose fetcher in interface; internal cleanup.
2019-06-17 23:05:31 -07:00
Jason Volk
f24c7c2e82
ircd: Ⓜ️ :rooms: Simplify interface.
2019-06-17 16:57:00 -07:00
Jason Volk
160927e119
modules/m_rooms: Minor simplification/cleanup.
2019-06-17 14:47:42 -07:00
Jason Volk
4a7f079b49
modules/client/versions: Claim support for more versions.
2019-06-16 14:04:28 -07:00
Jason Volk
24ce076c3d
ircd: Ⓜ️ :room::state: Add state::history interface derived from state::space.
2019-06-16 02:17:47 -07:00
Jason Volk
390b8bf2fb
ircd: Ⓜ️ Remove remaining vestiges of m::state.
...
closes #15 .
2019-06-15 14:10:36 -07:00
Jason Volk
9b34f75e0d
modules/media/thumbnail: Throw better exception type here.
2019-06-15 13:21:11 -07:00
Jason Volk
67c91288e6
modules/webhook: Ignore label actions to reduce noise for now.
2019-06-15 12:32:53 -07:00
Jason Volk
e3acf68bf2
modules/media: Purge the file room after creation if operation does not complete.
...
Related to #86 .
2019-06-15 12:32:43 -07:00
Jason Volk
3d04ed9ad0
configure: Remove the CPPDEFINE for RB_TIME_CONFIGURED.
2019-06-13 15:03:32 -06:00
Jason Volk
98ec2d7008
modules/client/sync: Update README.
2019-06-11 14:51:20 -07:00
Jason Volk
33e23b6fb8
modules/console: Add a specialized proc smaps enhanced command handler.
2019-06-11 13:32:12 -07:00
Jason Volk
2e80a5ab02
modules/client/sync/rooms/state: Make the linear-sync handler able to handle belated state events.
2019-06-08 01:07:16 -07:00
Jason Volk
5cfac64bee
modules/console: Swap the conf diff columns.
2019-06-08 01:07:16 -07:00
Jason Volk
abfdb06ebf
modules/client/rooms/join: Hard reset the room head after join completes.
2019-06-07 23:01:46 -07:00
Jason Volk
87e8b5eb1f
modules/client/sync: Minor reorg; increase default timeout conf items.
2019-06-07 21:56:17 -07:00
Jason Volk
def97cf25b
modules/client/rooms/join: Improve lazy chain member event search.
2019-06-07 06:02:19 -07:00
Jason Volk
4f3123be62
modules/client/rooms/join: Use dedicated log facility.
2019-06-07 06:02:19 -07:00
Jason Volk
3d8d71c97c
modules/client/rooms/join: Mask nothrow conditions; various fixes.
2019-06-07 06:02:19 -07:00
Jason Volk
8e0ac58987
ircd: Ⓜ️ :room: Expose bootstrap to interface.
2019-06-07 04:56:23 -07:00
Jason Volk
1f1b3033f9
modules/console: Add conf diff cmd displaying current values against defaults.
2019-06-07 04:24:28 -07:00
Jason Volk
077e953e3b
modules/client/sync/rooms/timeline: Add conf item to toggle excluding state in timeline exposure_depth.
2019-06-07 04:08:35 -07:00
Jason Volk
d15df05966
modules/console: Use the loop eval overload rather than sorting here.
2019-06-07 03:24:24 -07:00
Jason Volk
92761f5d9f
modules/client/events: Use the proper m::append event appender.
2019-06-07 02:49:25 -07:00
Jason Volk
b2bb7767a7
modules/client/rooms/join: Spawn context for asynchronous joinstrap; improve various.
2019-06-07 02:49:25 -07:00
Jason Volk
f728906505
modules/client/rooms/join: No need to parse the unused and deprecated origin field here.
2019-06-06 22:39:05 -07:00
Jason Volk
48a8057cb5
modules/client/rooms/join: Tweak the lazychain process; remove cruft.
2019-06-06 21:58:47 -07:00
Jason Volk
e8b61b0caf
modules/client/rooms/join: Rename lazychain conf item to lazychain_enable.
2019-06-06 19:41:48 -07:00
Jason Volk
55e2ac98ce
modules/client/rooms/join: Implement the lazychain optimization; tweak eval options.
2019-06-06 05:35:21 -07:00
Jason Volk
2b43a5a92b
configure: Add --enable-compact for the smallest possible building and linking.
2019-06-06 05:29:07 -07:00
Danilo Spinella
4682e1fae4
ircd: Fix ambiguous references to BSD stringops.
2019-06-06 03:49:54 -07:00
Jason Volk
ed247e6200
modules/client/rooms/join: Implement the Hackfill optimization.
2019-06-06 01:46:07 -07:00
Jason Volk
a20a11722d
modules/client/rooms/join: Add conf item for initial backfill amount.
2019-06-06 01:45:21 -07:00
Jason Volk
5994a0820d
modules/client/rooms/join: Promote these log message levels.
2019-06-06 01:44:33 -07:00
Jason Volk
25442bdff2
modules/client/sync/rooms/timeline: Consider all events for exposure depth.
2019-06-06 01:09:57 -07:00
Jason Volk
5ff021c96b
Makefiles: Cleanup linker flags with spaced arguments.
2019-06-05 23:22:05 -07:00
Jason Volk
ceff9f54a4
modules/s_fetch: Add requests limit w/ conf item.
2019-06-05 17:12:02 -07:00
Jason Volk
a99a7e2501
modules/client/sync/rooms/timeline: Add exposure depth condition to not sync irrelevant events.
2019-06-05 17:06:37 -07:00
Jason Volk
359ab6e897
modules/client/rooms/join: Elaborate the join bootstrap stack.
...
fixes #8
2019-06-05 16:44:16 -07:00
Jason Volk
6982fa2dac
modules/client/sync/rooms/account_data: Ignore since range for tags on polylog sync.
2019-06-05 15:18:46 -07:00
Jason Volk
9662d195cf
modules/client/directory/user: Modernize user directory query term interpretation.
2019-06-05 01:15:11 -07:00
Jason Volk
1a48bc3899
modules/client/rooms/join: Process send_join response events.
2019-06-04 23:01:39 -07:00
Jason Volk
2c2ea2a668
modules/federation/state: Add non-spec query parameters to toggle items.
2019-06-04 22:06:12 -07:00
Jason Volk
f598c8b34f
modules/federation/send_leave: Remove space.
2019-06-04 22:04:26 -07:00
Jason Volk
6ac41d99ac
modules/federation/send_join: Add non-spec query parameters to return ids only.
2019-06-04 22:00:52 -07:00
Jason Volk
ba00228a8d
modules/federation/send_join: Add query parameters to toggle large datasets in response.
2019-06-04 21:55:51 -07:00
Jason Volk
a51daa7008
modules/federation/invite: Add conf item for venkmanism; minor cleanup.
2019-06-04 21:55:00 -07:00
Jason Volk
baaca77c54
modules/console: Add cmd to list the full event horizon.
2019-06-04 21:42:14 -07:00
Jason Volk
64a7bbed00
modules/s_fetch: Improve timeout and retry algorithm.
2019-06-04 20:12:10 -07:00
Jason Volk
2992a1ae34
modules/console: Make event horizon flush cmd practical for now.
2019-06-04 20:12:10 -07:00
Jason Volk
f5df386e1c
ircd: Ⓜ️ :fetch: Add a request count() to interface.
2019-06-04 18:50:17 -07:00
Jason Volk
8a6e9158fe
ircd::mods::ldso: Add a DT_NEEDED iterator.
2019-06-04 03:18:03 -07:00
Jason Volk
8a69adb9c5
modules/media/thumbnail: Get magick availability this way for now.
2019-06-04 02:22:09 -07:00
Jason Volk
06e7d94aef
modules/webhook: Mute all watch events and just allow star events.
2019-06-04 00:35:21 -07:00
Jason Volk
068bb44937
modules/console: Add mod sections cmd.
2019-06-02 16:35:46 -07:00
Jason Volk
3c93458d96
modules/console: Fix mod mangles cmd params.
2019-06-02 16:02:43 -07:00
Jason Volk
db1b7cf5a3
ircd::mods::ldso: Add more primary interface tools; add semantic version parse.
2019-06-02 15:44:55 -07:00
Jason Volk
0658f7c6be
modules/client/rooms/join: Bypass dependent fetching and eval on join bootstrap.
2019-06-02 15:44:55 -07:00
Jason Volk
f2e84a6b0e
ircd::db: Fix compression identification on init.
2019-06-02 01:15:03 -07:00
Jason Volk
1dc8f999e7
modules/s_fetch: Improve error reporting and reduce warning noise around auth_chain eval.
2019-06-01 18:38:08 -07:00
Jason Volk
3108a4bf9b
modules/s_fetch: No need to block on auth_chain fetch individually.
2019-06-01 18:38:08 -07:00
Jason Volk
02794d5d9a
modules/s_fetch: Document auth and prev fetch subroutines.
2019-06-01 18:38:08 -07:00
Jason Volk
b570497e75
ircd: Ⓜ️ :vm: Improve aggregated eval loop.
2019-06-01 18:38:07 -07:00
Jason Volk
fc9ed2e87e
ircd::fmt: Fix specifier escaping.
2019-06-01 02:31:03 -07:00
Jason Volk
9661db89af
ircd: Ⓜ️ :events: Move file dumper to module.
2019-06-01 00:09:03 -07:00
Jason Volk
ca36b44452
ircd: Ⓜ️ :events: Move definitions to module.
2019-05-31 17:53:48 -07:00
Jason Volk
02e9651ab4
modules/webhook: Use boolean return value from handlers to ignore event.
2019-05-31 17:36:45 -07:00
Jason Volk
5238e919fa
modules/webhook: Handle the star event.
2019-05-31 17:34:11 -07:00
Jason Volk
eb73595c50
ircd: Apply uniform info::versions for all dependency version identification.
2019-05-31 16:15:01 -07:00
Jason Volk
7d4de7ec82
ircd::info::versions: Rename types to ABI and ABI.
...
modules/console: Tweak formatting.
2019-05-31 16:14:53 -07:00
Jason Volk
0a225085b3
ircd::info::version: Allow both monotonic and semantic numbers; add string generator ctor.
2019-05-31 14:56:50 -07:00
Jason Volk
1f7ad67805
modules/client/rooms/invite: Move the foreign invite hook here; do namespace modernizations.
2019-05-31 14:21:41 -07:00
Jason Volk
8b648b3b72
modules/m_room_server_acl: Fix missing export tag.
2019-05-31 14:05:50 -07:00
Jason Volk
65fcc17148
ircd::info: Add a dynamic version registry system w/ console cmd.
2019-05-30 21:02:18 -07:00
Jason Volk
a2a2aea483
modules/Makefile: Define IRCD_UNIT_MODULE only for module units.
2019-05-30 18:55:00 -07:00
Jason Volk
7d7df3b44f
README: Minor fixes. [skip ci]
...
modules/media/magick: Fix comment.
2019-05-30 09:52:02 -07:00
Jason Volk
8420d14ff6
modules/media/thumbnail: Implement 13.8.1.4 thumbnail method=crop.
...
fixes #72 .
2019-05-30 06:38:47 -07:00
Jason Volk
a651952eda
modules/media/magick: Add composite thumbcropper for matrix.
2019-05-30 06:38:42 -07:00
Jason Volk
c2dc298304
modules/media/magick: Add Xlib display gimmick for debugging.
2019-05-30 06:38:42 -07:00
Jason Volk
5f5318c129
modules/media/magick: Fix return type template.
2019-05-30 06:38:42 -07:00
Jason Volk
4367fa94b7
modules/media/magick: Cleanup and reduce all transform operations in implementation.
2019-05-30 06:38:42 -07:00
Jason Volk
97654606b1
ircd::magick: Add interface for basic scale operation.
2019-05-30 06:13:06 -07:00
Jason Volk
500e3938f6
ircd::magick: Add interface for shave operation.
2019-05-30 06:13:06 -07:00
Jason Volk
c80bc298d0
ircd::magick: Add support for image crop operation.
2019-05-30 06:13:06 -07:00
Jason Volk
e091f09f46
modules/media/thumbnail: Reduce the minimum width and height conf item defaults.
2019-05-30 06:13:06 -07:00
Jason Volk
0f551f9a4f
modules/media/magick: Improve exception propagations.
2019-05-30 01:30:00 -07:00
Jason Volk
e2e3d0bc3f
modules/media/magick: Add memory hooks; set safe callbacks before lib init.
2019-05-30 01:30:00 -07:00
Jason Volk
1a55c43b0a
modules/media/magick: Add conf items for progress yield threshold.
2019-05-30 01:30:00 -07:00
Jason Volk
99f151635a
modules/media/thumbnail: Add basic conf items.
2019-05-29 19:20:17 -07:00
Jason Volk
d156965271
modules/media/thumbnail: Implement uncached width and height scale thumbnailing.
...
closes #40 .
2019-05-29 18:18:44 -07:00
Jason Volk
21ca583a2b
modules/media/magick: Yield within the progress callback.
2019-05-29 18:18:44 -07:00
Jason Volk
d0fc7350df
ircd::magick: Simplify thumbnail interface; no result copy.
2019-05-29 17:21:12 -07:00
Jason Volk
28f86802d2
ircd::mods::ldso: Simplify and extend interface functionality.
2019-05-29 16:09:51 -07:00
Jason Volk
0fd7dd998f
modules/media/magick: Stub the progress monitor handler.
2019-05-29 04:55:09 -07:00
Jason Volk
c1433402c0
modules/media/magick: Make greedy use of globals/callbacks; disable their OpenMP threads.
2019-05-29 04:43:14 -07:00
Jason Volk
48c1e30930
modules/media/magick: Use proper log facility in unit.
2019-05-29 04:40:10 -07:00
Jason Volk
2e14bfe337
ircd::magick: Add a thumbnailer.
2019-05-28 23:38:25 -07:00
Jason Volk
16f6fbc352
ircd::magick: Start a central header; add interface support infrastructure.
2019-05-28 23:24:45 -07:00
Jason Volk
582cecccec
modules/media: Start an {Image|Graphics}Magick library interface module.
2019-05-28 21:03:01 -07:00
Jason Volk
5bf83776af
modules/media: Remove boost GIL stub.
2019-05-28 19:38:39 -07:00
Jason Volk
08fafd44b1
ircd::mods: Add platform-dependent ldso interface.
2019-05-28 15:39:57 -07:00
Jason Volk
7783e1f6ee
Define an indicator for all libircd implementation compilation units.
2019-05-27 17:05:07 -07:00
Jason Volk
3060bc2941
modules/console: Stub command-by device_id handler.
2019-05-27 16:37:31 -07:00
Jason Volk
b403fbc421
ircd: Ⓜ️ :events: Add event type name iteration.
...
ircd:Ⓜ️ :events: Add sender name iteration.
ircd:Ⓜ️ :events: Add origin name iteration.
2019-05-27 16:37:29 -07:00
Jason Volk
bab9d9d033
modules/vm: Create a general vm.access hook; move server_acl to module hookfn.
2019-05-26 21:00:54 -07:00
Jason Volk
645ce4d8e2
modules: Implement 13.29 room server access control list checks.
...
fixes #47 .
2019-05-26 20:41:13 -07:00
Jason Volk
f11126613e
modules/m_receipt: Validate user_id hostpart matches origin.
2019-05-26 20:41:13 -07:00
Jason Volk
25dd717b7e
ircd: Ⓜ️ :room::server_acl: Add a noexcept convenience check.
2019-05-26 20:25:15 -07:00
Jason Volk
eec6c40653
ircd: Ⓜ️ Abort the experimental id::node.
2019-05-26 19:13:20 -07:00
Jason Volk
44cf572ee5
ircd::rfc1035: Rename constant.
...
ircd::rfc3986: Add additional convenience constants.
2019-05-26 18:37:40 -07:00
Jason Volk
1354066e3d
modules/m_room_server_acl: Disregard port for comparison; improve docs; ctor.
2019-05-26 18:37:40 -07:00
Jason Volk
8474b891eb
ircd::ctx: Rename function; add overload for total value.
2019-05-26 02:49:24 -07:00
Jason Volk
e038ebfaf1
ircd: Ⓜ️ :room: Remove stale comments.
...
modules/vm: Minor cleanup.
2019-05-26 02:49:24 -07:00
Jason Volk
3c3609baee
modules/vm: Remove the unused pool.
2019-05-26 02:49:23 -07:00
Jason Volk
6baff99607
modules/m_room_server_acl: Optimize implementation IO.
2019-05-25 23:08:17 -07:00
Jason Volk
dd441038b1
modules/console: Extend room server_acl cmd to list information.
2019-05-25 20:12:41 -07:00
Jason Volk
a44e491054
ircd: Ⓜ️ :room: Add server_acl interface and protocol module.
2019-05-25 20:12:41 -07:00
Jason Volk
91ce49d671
ircd::util: Add a weak interface for the test trigger stub.
2019-05-24 18:24:33 -07:00
Jason Volk
ffda6a0848
modules/s_fetch: Downgrade log level to DERROR for fetch hook error.
2019-05-19 15:28:34 -07:00
Jason Volk
f02a1a2be6
ircd: Ⓜ️ :vm: Relax fetch_prev_any enforcement by default.
2019-05-19 15:22:49 -07:00
Jason Volk
e0618dbdd8
modules/s_fetch: Fallback to fetching previous auth events when room is not known yet.
2019-05-17 09:07:01 -07:00
Jason Volk
660e609f31
modules/s_fetch: Belay net::hostport conversion to allow empty.
2019-05-17 08:50:32 -07:00
Jason Volk
9f2b887a22
modules/s_fetch: Fix submit error handling; move definition to unit.
2019-05-17 08:18:31 -07:00
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