0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 06:51:08 +01:00
Commit graph

4297 commits

Author SHA1 Message Date
Jason Volk
b9905a06a6 modules/console: Allow multiple arguments to well_known matrix server. 2020-10-16 02:40:39 -07:00
Jason Volk
142179e4a5 ircd:Ⓜ️:fed::well_known: Convert to future interface w/ dummy impl. 2020-10-15 04:55:38 -07:00
Jason Volk
3f6d90c7a8 ircd:Ⓜ️:fed: Move head fetch convenience to room::head interface. 2020-10-14 22:04:04 -07:00
Jason Volk
888c62c156 ircd:Ⓜ️:fed::well_known: Simplify interface; add opts struct. 2020-10-14 22:04:04 -07:00
Jason Volk
086dfc4839 modules/key/server: Bypass parameter tokenization for endpoint. 2020-10-12 18:07:39 -07:00
Jason Volk
07382d8c0a modules/console: Improve the other event refs cmd output. 2020-10-12 18:07:39 -07:00
Jason Volk
62fdaaa389 ircd:Ⓜ️:events::refs: Add unbounded column scan w/ console cmd. 2020-10-12 18:07:39 -07:00
Jason Volk
767322dc37 ircd::rand: Simplify interface; comments/cleanup. 2020-10-06 16:25:03 -07:00
Jason Volk
66525fd6f3 Revert "modules/client/sync/rooms/timeline: Fix polylog limited flag condition."
This reverts commit a5aac0eb1f.
2020-10-06 03:50:02 -07:00
Jason Volk
a5aac0eb1f modules/client/sync/rooms/timeline: Fix polylog limited flag condition. 2020-10-06 00:02:29 -07:00
Jason Volk
7a8794720b modules/console: More useful allocation bytes info in ios cmd. 2020-10-06 00:02:29 -07:00
Jason Volk
1c51153526 modules/web_root: Return non-throwing 404 here. 2020-10-05 20:15:12 -07:00
Jason Volk
6e879f1845 modules/web_root: No special caching of index.html or all hell breaks loose on Riot upgrade; minor cleanup. 2020-10-05 19:39:57 -07:00
Jason Volk
eb3a09d5e2 modules/client/capabilities: Fix typo. 2020-10-03 07:29:47 -07:00
Jason Volk
0f95a6464e modules/console: Add hint param to fetch event cmd. 2020-10-03 04:33:47 -07:00
Jason Volk
5f24f10458 modules/console: Disambiguate argument type. 2020-10-03 02:31:20 -07:00
Jason Volk
a550b5c420 modules/console: Fix reference to returned array. 2020-10-03 02:31:20 -07:00
Jason Volk
c43f3a6658 modules/console: Fix missing empty line separator. 2020-10-03 02:31:20 -07:00
Jason Volk
f56dded742 modules/llvm: Add conditional compilation for libllvm module. 2020-10-01 20:26:16 -07:00
Jason Volk
b7b2c44973 ircd: Improve restart-assist to convey different program options. 2020-10-01 00:02:16 -07:00
Jason Volk
fecd009ffb ircd:Ⓜ️:db: Fix accounting for index compression.
Revert 1051e740cc.
2020-09-30 19:40:29 -07:00
Jason Volk
ca7b7b0c61 ircd::db: Move computed properties from console into info struct. 2020-09-29 08:01:14 -07:00
Jason Volk
4dcee4f779 modules/console: Add compression percentage to db files oneline. 2020-09-29 08:01:14 -07:00
Jason Volk
7fd084c8ce modules/federation/version: Reorg into namespace; additional properties. 2020-09-29 00:36:46 -07:00
Jason Volk
4170235686 modules/m_presence: Add per-user rate conf item; add branch to synapse spam infra. 2020-09-28 03:48:06 -07:00
Jason Volk
1bc05f3900 modules/m_presence: Fix clang warning for reference in range for. 2020-09-28 02:12:03 -07:00
Jason Volk
9a15f712c5 modules/client/rooms/read_markers: Minor cleanup. 2020-09-24 02:58:31 -07:00
Jason Volk
0405d7200c modules/console: Rename client 'reqs' argument to 'request'. 2020-09-23 19:59:46 -07:00
Jason Volk
a08b409929 modules/console: Add cache info line to column summary. 2020-09-22 02:27:30 -07:00
Jason Volk
30f3473c6a modules/console: Report verification and expiration of fed key response. 2020-09-22 02:27:30 -07:00
Jason Volk
91de67c5e1 modules/console: Cleanup/remove some file info output. 2020-09-21 16:22:23 -07:00
Jason Volk
c197b0109b modules/console: Add key count to db info summary. 2020-09-20 14:24:47 -07:00
Jason Volk
03dba64f0b modules/console: Improve sst info oneline for sorted runs and binary keys. 2020-09-19 07:47:21 -07:00
Jason Volk
ee8759cd0b Use foreign automake options to append flags here without warning. 2020-09-18 22:27:23 -07:00
Jason Volk
234294b9cc modules/console: Add peer ID number to table. 2020-09-16 02:28:16 -07:00
Jason Volk
8abab587ac ircd:Ⓜ️ Move modules/vm_fetch to central lib. 2020-09-15 22:16:11 -07:00
Jason Volk
bf8dd39144 ircd:Ⓜ️:vm: Move vector eval related to execute unit. 2020-09-13 16:10:40 -07:00
Jason Volk
a02bd474d7 Fix EXTRA_CXXFLAGS append order regression. 2020-09-13 14:32:47 -07:00
Jason Volk
1a7447837e ircd:Ⓜ️:vm: Remove legacy options; fix appendix masking. 2020-09-12 07:03:21 -07:00
Jason Volk
7493ec4f0e modules/console: Sort files list in db column summary cmd. 2020-09-10 23:50:47 -07:00
Jason Volk
a68702249d ircd::db: Add interface to count cache entries.
modules/console: Add count column to db cache cmd.
2020-09-08 22:27:06 -07:00
Jason Volk
77e04567ff modules/console: Simplify/refactor eval file cmd. 2020-09-07 17:01:45 -07:00
Jason Volk
992970bcd9 modules/client/sync/device_lists: Implement changed array for linear sync handler; stub polylog. 2020-09-05 16:51:28 -07:00
Jason Volk
feb2d41571 configure: Add configure-time libmagick indication. 2020-09-05 15:55:24 -07:00
Jason Volk
dc3ff3bd3e modules/console: Add phase bypass argument suite. 2020-08-31 17:18:48 -07:00
Jason Volk
e891f0baff modules/media: Remove handles for dynamic magick module. 2020-08-24 03:05:53 -07:00
Jason Volk
f5dd9debb6 ircd: Move magick support to core lib. (#109) 2020-08-24 03:04:05 -07:00
Jason Volk
5636ad543a modules/client/user/account_data: Minor cleanup. 2020-08-23 02:32:54 -07:00
Jason Volk
8e7c1c3eb2 ircd:Ⓜ️ Rename breadcrumb_rooms to breadcrumbs; related. 2020-08-23 02:32:54 -07:00
Jason Volk
3d175ced09 modules/console: Add stub for group and node derived command handling. 2020-08-23 01:56:37 -07:00
Jason Volk
6ff608c065 modules/console: Add shortcut convenience by expanding sigils to apropos cmds. 2020-08-23 01:56:37 -07:00
Jason Volk
e17307de13 modules/console: Rename room__top to room as base cmd. 2020-08-23 01:56:37 -07:00
Jason Volk
e0d6c653f7 modules/client/sync: Remove cache control; fix empty response cache. 2020-08-21 06:20:26 -07:00
Jason Volk
7ff89fbd17 ircd: Split base64 and base58 into separate namespaces. 2020-08-10 04:56:28 -07:00
Jason Volk
1ab72aa258 modules/client/sync: Add response cache directive. 2020-08-10 03:41:06 -07:00
Jason Volk
4a2adc4123 ircd::base: Remove allocated string convenience overloads; simplify interface. 2020-08-09 02:39:31 -07:00
Jason Volk
a6f9684456 modules/web_root: Add cache control headers appropriate for static content. 2020-08-06 19:34:58 -07:00
Jason Volk
65296be413 ircd::db::database::sst: Add checksum data to info collection. 2020-08-05 22:33:33 -07:00
Jason Volk
62d34401b7 modules/console: Improve sst info full output. 2020-08-05 21:12:28 -07:00
Jason Volk
59197ee2d5 ircd::ios: Add epoch history in circular buffer for profiling w/ console cmd. 2020-08-02 05:45:35 -07:00
Jason Volk
8ef502ba02 modules/media: Eliminate explicit unref/unload of magick handle. 2020-07-31 20:25:27 -07:00
Jason Volk
7f9ac81f0f modules: Tweak link order for media unit objects. 2020-07-31 20:10:48 -07:00
Jason Volk
3604e2d078 modules/client/groups: Convert joined_groups response stub to chunked json::stack. 2020-07-31 17:43:57 -07:00
Jason Volk
748c7730b1 modules/client/sync: Preliminary groups sync module stub. 2020-07-30 13:25:43 -07:00
Jason Volk
1877972828 ircd:Ⓜ️:groups: Start namespace, central lib; preliminary client resource module. 2020-07-30 10:24:10 -07:00
Jason Volk
9c3cd55639 ircd:Ⓜ️:groups: Preliminary stub for client/create_group. 2020-07-30 10:24:10 -07:00
Jason Volk
2f6f2af06f Reserve EXTRA_* flag sets for user.
configure: Move unit configuration section above application settings.

configure: -fasm-blocks not yet useful without GCC parity.
2020-07-30 06:38:51 -07:00
Jason Volk
aa2b902570 modules/console: Add sequence output on refresh cmd; special case events. 2020-07-28 00:38:46 -07:00
Jason Volk
83889d09f3 modules/console: Add more percentages to db cache cmd output; improve output table. 2020-07-28 00:38:46 -07:00
Jason Volk
285b69f049 modules/client/user/rooms: Always return 200 for DELETE tags method. 2020-07-25 03:08:50 -07:00
Jason Volk
f201215fdb modules/media/thumbnail: Use clamp for query param bounds. 2020-07-25 01:57:32 -07:00
Jason Volk
97571c8fdf modules/console: Fix erroneous conversions. 2020-07-21 01:34:46 -07:00
Jason Volk
782635146b modules/console: Add eval option to fed auth cmd. 2020-07-21 01:34:46 -07:00
Jason Volk
60c1efc5be ircd:Ⓜ️ Disable all bloom filter bits by default. 2020-07-17 18:28:32 -07:00
Jason Volk
98009cf4d7 modules/magick: Use old-style attribute (clang-10). 2020-07-10 23:58:07 -07:00
Jason Volk
d371fba034 ircd::db: Use reference to prevent string copy.
ircd:Ⓜ️ Fix reference/copy related warnings in clang-10.
2020-07-10 23:58:07 -07:00
Jason Volk
31bd80a6d1 Consolidate application of -flax-vector-conversions. 2020-07-10 20:12:33 -07:00
Jason Volk
b32d2f07f5 Relax vector conversions in translation units; enforce in headers. 2020-07-06 17:31:04 -07:00
Jason Volk
c6e256e9b3 modules/m_vm_fetch: Prevent hints for own origin via node_id option. 2020-07-05 03:54:03 -07:00
Jason Volk
73ee602542 ircd::utf: Start an inline utf toolset. 2020-06-27 16:31:57 -07:00
Jason Volk
ad8f3bd878 ircd::icu: Add encoding transform to suite; minor rename. 2020-06-25 18:36:18 -07:00
Jason Volk
200e4c55cf modules/client/register: Disable public registration by default. 2020-06-23 00:55:32 -07:00
Jason Volk
71eba6bf45 ircd::icu: Use better namespace name; export to ircd. 2020-06-20 05:41:14 -07:00
Jason Volk
bc1e54aa12 ircd:Ⓜ️:event: Minor rename; additional diagnostic arguments. 2020-06-19 22:53:01 -07:00
Jason Volk
28e3e6b3fd ircd::icu: Add u8/16 util suite; add char32_t name information interface.
ircd::icu: Add name to character inversion.

ircd::icu: Add category and block queries.

ircd::icu: Add property reflections.

ircd::icu: Add tolower()/toupper().

ircd::icu: Add u8 transform w/ diagnostic.
2020-06-19 08:29:31 -07:00
Jason Volk
73c64a1e04 modules/console: Add ios depth diagnostic based on epoch counter. 2020-06-18 20:07:40 -07:00
Jason Volk
3a7bfdc54a modules/client/rooms/messages: Increase postfetching readahead default; make conf item. 2020-06-18 07:11:40 -07:00
Jason Volk
3ec1ce6773 modules/stats: Iterate items for /stats response. (#31) 2020-06-17 20:52:38 -07:00
Jason Volk
1ff8217682 modules/console: Improve stats cmd output. 2020-06-17 19:46:16 -07:00
Jason Volk
4a907cdd35 modules/m_vm_fetch: Replace auth_events check loop w/ parallel query. 2020-06-15 03:10:42 -07:00
Jason Volk
4304ce1bc0 modules/client/rooms/members: Eliminate the content fetch dependency. 2020-06-13 20:36:21 -07:00
Jason Volk
4c4a94e457 modules/console: Fix mem get string value interp. 2020-06-13 18:59:19 -07:00
Jason Volk
8003c07762 modules/media: Add explicit cache controls w/ immutability hint. 2020-06-12 18:18:57 -07:00
Jason Volk
924970f8fb modules/m_listen: Improve infolog msg in runlevel handlers; noexcept on quit handler. 2020-06-12 18:18:57 -07:00
Jason Volk
e06ea82706 modules/console: Minor rename of peer request output flag. 2020-06-12 13:15:00 -07:00
Jason Volk
35d4ee811b ircd::db: Add preliminary support for secondary-mode if available. 2020-06-11 03:51:49 -07:00
Jason Volk
b59337eb78 ircd::spirit: Consolidate entry to spirit through wrapper templates.
ircd::spirit: More aggressive inlining of interface templates; symbol visibility
2020-06-11 03:51:49 -07:00
Jason Volk
d42126693b ircd::fs::dev: Fix device size calculation; cleanup constants; improve cmd output. 2020-06-10 22:36:28 -07:00
Jason Volk
7f377d6072 modules/client/room_keys/keys: Minor return event_id for trivial completeness. 2020-06-10 22:36:28 -07:00
Jason Volk
7a53afc4c8 ircd::db: Add delta encoding indicator to SST info; add to console cmd output. 2020-06-10 22:36:28 -07:00
Jason Volk
ec1a94858d modules/m_vm_fetch: Loop jam m::exists() into parallel query blocks. 2020-06-09 05:14:43 -07:00
Jason Volk
640e81ef4d ircd:Ⓜ️:fed: Split well_known into namespace into unit. 2020-06-08 16:13:00 -07:00
Jason Volk
bc3ad3f89c ircd::fs::dev: Eliminate the static map; refactor interface; add console cmd. 2020-06-08 16:13:00 -07:00
Jason Volk
dc1e9a3c06 modules/client/room_keys/keys: Increase content maximum for PUT method. 2020-06-08 12:38:41 -07:00
Jason Volk
2031966072 ircd::server: Add tag completed counters on link and peer w/ report. 2020-06-07 07:53:37 -07:00
Jason Volk
c0c4f838bb modules/media/media: Increase file size and compaction period targets for blocks. 2020-06-07 06:01:53 -07:00
Jason Volk
0da425590b modules/console: Re-add missing file count at end of db files list output. 2020-06-05 16:51:27 -07:00
Jason Volk
da43ac3d95 ircd:Ⓜ️:sync: Add flag to trigger re-request forcing focused full_state. 2020-06-03 23:26:08 -07:00
Jason Volk
1d45c9aecd modules/client/sync: Fix unmatched debuglog message at polylog handler completion. 2020-06-03 23:26:08 -07:00
Jason Volk
9e96863922 ircd:Ⓜ️:sync: Add flags component to since token. 2020-06-03 22:36:58 -07:00
Jason Volk
fcd488b409 ircd:Ⓜ️:sync: Centralize all since token related into library suite. 2020-06-03 22:36:58 -07:00
Jason Volk
b59f6951b1 modules/console: Improve db files totals accumulation and output. 2020-06-03 19:50:25 -07:00
Jason Volk
b8c4bf85e5 ircd:Ⓜ️:sync: Split up sync.h header into directory; move sync::data definition. 2020-06-03 19:39:55 -07:00
Jason Volk
96222340f8 modules/client/sync: Reorder/reorg definitions. 2020-06-03 19:39:55 -07:00
Jason Volk
89264ceff4 modules/client/capabilities: Indicate v6. 2020-05-30 16:45:28 -07:00
Jason Volk
4843fbf62e modules/console: Consume fewer output lines for vm summary related. 2020-05-30 03:53:19 -07:00
Jason Volk
37c89aa3d5 modules/media/media: Fix exception type. 2020-05-29 23:40:24 -07:00
Jason Volk
d9cf74ebd6 modules/client/publicrooms: Convey search term to any federation query. 2020-05-29 01:39:25 -07:00
Jason Volk
761ff66464 ircd:Ⓜ️:fed: Generate POST /publicRooms content by default; add console search param. 2020-05-29 01:34:19 -07:00
Jason Volk
9457b1d34b modules/federation/publicrooms: Implement Federation r0.4.0-15.2 (matrix-org/matrix-doc/#2197). 2020-05-29 01:02:50 -07:00
Jason Volk
0eb4401897 modules/federation/publicrooms: Replace use of nullary my_host(). 2020-05-29 00:30:40 -07:00
Jason Volk
b493b5e39c ircd:Ⓜ️:sync: Assume no to bypass should_ignore() query on rooms prefetch iteration. 2020-05-28 21:55:07 -07:00
Jason Volk
c10036d824 modules/client/sync/rooms/state: Implement prefetch on initial phased polylog. 2020-05-28 21:32:54 -07:00
Jason Volk
aead45402d ircd:Ⓜ️:sync: Introduce item prefetch feature for polylog mode. 2020-05-28 21:31:28 -07:00
Jason Volk
fbb17b0b48 modules/client/sync/rooms: Minor cleanup. 2020-05-28 21:29:28 -07:00
Jason Volk
5d60e6b2d4 modules/console: Add option for short mem info only; use stack buffers. 2020-05-25 00:53:51 -07:00
Jason Volk
56f3fa8f13 modules/m_vm_fetch: Condition hook entry for non-internal rooms. 2020-05-24 20:34:44 -07:00
Jason Volk
f78e23149d ircd:Ⓜ️ Optimize various callsites for type queries. 2020-05-24 19:08:08 -07:00
Jason Volk
c7b473485b ircd::allocator: Add argument for options string to info() interface. 2020-05-22 16:37:05 -07:00
Jason Volk
081e4eb567 modules/media: Increase download timeout; compensate handler coarse timeout. 2020-05-18 18:12:34 -07:00
Jason Volk
55128978ba Revert "modules/console: Reverse order of vm list."
This reverts commit a3b31ce7aa.
2020-05-14 13:00:09 -07:00
Jason Volk
7b925e9051 modules/console: Indicate not actual stack usage maximum in ctx cmd. 2020-05-14 12:10:13 -07:00
Jason Volk
e02f358963 modules/console: Fix column width in vm cmd output. 2020-05-14 12:10:00 -07:00
Jason Volk
41932375e3 modules/client/publicrooms: Cleanup/minor modernization. 2020-05-12 23:29:33 -07:00
Jason Volk
525db9f5e3 modules/console: Ensure different serializations available w/ raw/source arguments. 2020-05-12 23:23:37 -07:00
Jason Volk
b91c768c57 ircd:Ⓜ️:vm::eval: Remove sequence_shared state. 2020-05-12 22:27:53 -07:00
Jason Volk
8308fe0e6b modules/m_receipt: Minor structured bindings. 2020-05-12 22:27:53 -07:00
Jason Volk
ea420994eb modules/console: Output additional information in hook list cmd. 2020-05-12 22:27:53 -07:00
Jason Volk
3bd3173db0 ircd:Ⓜ️:vm: Replace eval hook::site member with entered hook ptr; add id to console cmd. 2020-05-12 22:27:53 -07:00
Jason Volk
38a12ec0f7 ircd:Ⓜ️🪝 Add integer for easier ident; improve log msgs; console cmd. 2020-05-12 19:21:58 -07:00
Jason Volk
a3b31ce7aa modules/console: Reverse order of vm list. 2020-05-12 19:21:58 -07:00
Jason Volk
de0b1d9b33 modules/m_relation: Fix failure to obtain event_id from m.in_reply_to competing format. 2020-05-12 19:21:58 -07:00
Jason Volk
b764e75692 ircd:Ⓜ️:vm: Additional fetch phases; split fetch hook sites. 2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14 ircd:Ⓜ️:vm: Add enumeration for evaluation phases. 2020-05-11 21:14:25 -07:00
Jason Volk
a1708a687e ircd:Ⓜ️:vm: Rename eval.phase to eval.phase_hook. 2020-05-11 19:25:07 -07:00
Jason Volk
28c630268c modules/web_hook: Replace and fix multi-line content formattings. 2020-05-11 16:31:48 -07:00
Jason Volk
613464c476 modules/console: Use throwing query for room_id(event_id) so grammar error never occurs. (fixes #135) 2020-05-11 03:36:58 -07:00
Jason Volk
b7d8f9c211 modules/client/room_keys/version: Throw coded 404 for no version found. 2020-05-11 02:10:54 -07:00
Jason Volk
67e72539f3 modules/client/sync/rooms: Use timeline.limited=true to eliminate branches to polylog. 2020-05-10 19:23:36 -07:00
Jason Volk
5c76b6c976 modules/web_hook: Use non-html newline for issue comment. 2020-05-09 19:19:16 -07:00
Jason Volk
88fe138d12 ircd::prof: Add symbol definition for psi::supported=false on non-linux platforms. 2020-05-09 17:28:34 -07:00
Jason Volk
32192bf439 ircd::prof::psi: Additional state relative to last refresh. 2020-05-09 17:28:34 -07:00
Jason Volk
19f4917d9f ircd::prof::psi: Add threshold triggering mechanism to interface. 2020-05-09 17:28:34 -07:00
Jason Volk
05e384d315 ircd::prof::psi: Add interface to poll for PSI linux>=5.2. (#144) 2020-05-09 17:28:34 -07:00
Jason Volk
ba87567d80 modules/web_hook: Add handler for github issues action=milestoned. 2020-05-07 16:12:39 -07:00
Jason Volk
450f715f7a modules/client/room_keys/version: Return a dummy response rather than 404. (#141) 2020-05-07 14:23:17 -07:00
Jason Volk
a3e7b7dd98 modules/client/sync/device_one_time_keys_count: Fix result placement in /sync response. 2020-05-07 14:14:24 -07:00
Jason Volk
563da4b938 modules/web_hook: Add labels to issue comments. 2020-05-07 04:08:35 -07:00
Jason Volk
8a94a290be modules/web_hook: Add handler for github milestone. 2020-05-07 04:08:35 -07:00
Jason Volk
1c573cf491 modules/federation/send: Downgrade log level for unhandled out of eval. 2020-05-05 12:04:34 -07:00
Jason Volk
2f5ceb21d3 modules/web_hook: Support github gollum event. 2020-05-03 14:35:20 -07:00
Jason Volk
77a8a3e3c9 modules/console: Add user rooms count cmd. 2020-05-03 14:35:20 -07:00
Jason Volk
e4cfe61551 modules/admin: Implement (undocumented) users/deactivate. 2020-05-02 23:57:53 -07:00
Jason Volk
ff96eb803d ircd:Ⓜ️:user: Move is_active() to adl'ed active(). 2020-05-02 23:57:53 -07:00
Jason Volk
a8b02549db modules/console: Use pretty_detailed() for fed event cmd; minor reorg. 2020-05-01 10:10:17 -07:00
Jason Volk
6bc0d48a38 ircd:Ⓜ️:pretty: Move part of console event cmd into lib util. 2020-05-01 10:10:16 -07:00
Jason Volk
7854a0ea02 modules/federation/state: Implement room_version in response; matrix-org/matrix-doc#2314 2020-05-01 08:59:12 -07:00
Jason Volk
19bef4e822 modules: Remove erroneous comment (related b37df3f719). [ci skip] 2020-05-01 08:59:12 -07:00
Jason Volk
951d000ae9 modules/console: Add alternative convenience parameters for room restrap cmd. 2020-04-30 18:52:43 -07:00
Jason Volk
2a75027118 modules/console: Improve error msg for peer not found. 2020-04-30 06:29:19 -07:00
Jason Volk
347c600b41 modules/console: Translate a log level string to number in log level cmd. 2020-04-30 03:20:49 -07:00
Jason Volk
b37df3f719 modules/admin: Implement GET (undocumented) /admin/users/@user/admin. 2020-04-30 01:12:46 -07:00
Jason Volk
becd247de3 modules/console: Add shortcut for 'room get ...' cmd w/ direct 'room_id type state_key' 2020-04-28 22:09:36 -07:00
Jason Volk
175c1d817d modules/client/sync/rooms: Fix range upper bound for switching to polylog. 2020-04-28 03:41:07 -07:00
Jason Volk
ed807ce423 modules/client/sync/rooms/state: Hoist conditional branch to polylog phased. 2020-04-28 03:29:50 -07:00
Jason Volk
db2a03b6c3 modules/client/sync/rooms/state: Query supplied filter for lazyload_members; rename conf item. 2020-04-28 03:04:48 -07:00
Jason Volk
3f46930776 modules/client/sync/rooms/timeline: Fix invite-accept condition for linear to polylog. 2020-04-28 01:56:35 -07:00
Jason Volk
8239c35095 modules/console: Allow direct type,state_key parameters in redact cmd. 2020-04-28 01:56:35 -07:00
Jason Volk
b49927de38 modules/client/sync/rooms/state: Fix placement of branch from linear to polylog. 2020-04-28 00:44:17 -07:00
Jason Volk
ba5e001003 modules/client/sync/rooms/timeline: Minor group conditions. 2020-04-27 23:35:06 -07:00
Jason Volk
8c4aa37c41 modules/console: Allow vmlog during eval cmd; improve cmd. 2020-04-27 18:36:15 -07:00
Jason Volk
5614abc3ba modules/console: Default to @ircd when redact cmd sender not specified. 2020-04-27 16:36:54 -07:00
Jason Volk
7159249f70 modules/client/keys: Reapportion missing request header buffer. 2020-04-27 16:06:28 -07:00
Jason Volk
0f18b8dc8d modules/console: Fix room state rebuild's room_id parameter translation. 2020-04-27 13:29:47 -07:00
Jason Volk
12d4b6b53e modules/client/keys: Add limits on dynamic buffer calculations. 2020-04-27 13:26:42 -07:00
Jason Volk
a14dcc325f modules/client/keys/query: Dynamic calculation for request buffer. 2020-04-27 13:18:45 -07:00
Jason Volk
3b9898836c modules/client/keys/claim: Dynamic calculation for request buffer. 2020-04-27 13:18:45 -07:00
Jason Volk
01c76b078f ircd:Ⓜ️ Disable server notifications for apropos evals. 2020-04-27 13:18:45 -07:00
Jason Volk
fef7faaf23 modules/console: Add space after key in conf list output. 2020-04-27 01:10:51 -07:00
Jason Volk
c027a567ce ircd:Ⓜ️:sync: Move args structure to central lib; eliminate local module header. 2020-04-27 00:16:58 -07:00
Jason Volk
9bbc5834af ircd: Add missing globular_imatch. 2020-04-26 17:02:21 -07:00
Jason Volk
37335a68d7 ircd:Ⓜ️ Wrap all queries into ircd::server through fed suite. 2020-04-25 21:13:57 -07:00
Jason Volk
215e79b870 modules/federation/sender: Eliminate internal node error bit. 2020-04-25 18:34:17 -07:00
Jason Volk
774a365465 modules/federation/sender: Combine and eliminate internal header. 2020-04-25 18:19:44 -07:00
Jason Volk
42f952a438 modules/federation/sender: Remove incorrect call to panicking(); log and stop propagation. 2020-04-25 18:19:40 -07:00
Jason Volk
f9df9bfbda ircd:Ⓜ️:typing: Move remaining assets into namespace; minor reorg. 2020-04-25 17:34:02 -07:00
Jason Volk
637b6ecede ircd::net::dns::cache: Move cache waiter calling out of module. 2020-04-25 00:28:39 -07:00
Jason Volk
dd603f3d07 modules/client/sync/rooms/state: Fix missing branch to switch to polylog on join. 2020-04-24 18:22:44 -07:00
Jason Volk
c3d5f6d45d modules/client/sync/to_device: Fix to_device linear sync handler. 2020-04-24 15:24:37 -07:00
Jason Volk
5baf053423 modules/client/sync/to_device: Elide device_id in event; simplify. 2020-04-24 14:37:41 -07:00
Jason Volk
a3e48d7757 modules/client/sync/rooms/timeline: Fix user's room messages leaking into timeline result. 2020-04-24 13:24:15 -07:00
Jason Volk
32230ed2d4 ircd::ctx: Profile peak stack usage at slice leave event. 2020-04-23 12:41:39 -07:00
Jason Volk
5a27958fa0 ircd::ctx: Unify access to ctx::stack, expose structure; remove cruft. 2020-04-23 12:41:38 -07:00
Jason Volk
05b24b1ef3 modules/federation/sender: Add the special case to ensure sends after kicks/bans. 2020-04-23 04:19:53 -07:00
Jason Volk
406a893f80 modules/console: Allow better remote host derivation from any alias argument in fed backfill. 2020-04-23 01:09:21 -07:00
Jason Volk
47867d2b68 modules/console: Allow count parameter to be specified without remote for fed backfill. 2020-04-23 01:09:21 -07:00
Jason Volk
0f74e9327d modules/console: Add log flush cmd. 2020-04-22 08:23:55 -07:00
Jason Volk
0a4bec978c ircd::net::dns::cache: Use better buffer size constant. 2020-04-22 03:48:16 -07:00
Jason Volk
260bc798d7 modules/federation/send: Fix swapped eval opts. 2020-04-21 23:07:17 -07:00
Jason Volk
b06a32691c modules/federation/query: Improve server results in room directory query. 2020-04-21 23:05:28 -07:00
Jason Volk
0568719030 modules/client/rooms/join: Convey any available (non-spec) server_name to m::join(). 2020-04-21 23:05:28 -07:00
Jason Volk
b471713582 modules/client/join: Convey available server_name data to join system. 2020-04-21 23:05:28 -07:00
Jason Volk
912bcd3a3c modules/console: Evaluate auth_chain in fed state eval. 2020-04-21 03:34:38 -07:00
Jason Volk
cbcd6c288c modules/m_control: Don't propagate exception after unloading the module it originated from. 2020-04-21 03:08:54 -07:00
Jason Volk
22df705df3 modules/console: Use structured decomposition; minor cleanup; improve formatting. 2020-04-21 03:02:41 -07:00
Jason Volk
48e4316144 modules/console: Use dynamic instead of tls buffers here. 2020-04-21 02:56:10 -07:00
Jason Volk
fa8bc645af modules/client/sync/rooms/timeline: Fix join event not updating client state. 2020-04-20 18:14:52 -07:00
Jason Volk
f8c98015f8 modules/client/sync/rooms/timeline: Fix rejoin events not appearing in timeline in linear handler. 2020-04-20 18:14:52 -07:00
Jason Volk
b798864d18 modules/client/rooms/invite: Capture additional r0.6.0 required fields. 2020-04-20 00:51:01 -07:00
Jason Volk
59e24e19bd modules/federation/send: Relax default restrictions on parallel evaluations. 2020-04-20 00:38:14 -07:00
Jason Volk
1a0a24d91a modules/client/keys/claim: Use proper resource method flag. 2020-04-19 23:25:03 -07:00
Jason Volk
6943187149 modules/console: Add room power grant / revoke cmds. 2020-04-19 06:13:23 -07:00
Jason Volk
d8d5671e1e modules/console: Add a room power cmd. 2020-04-19 06:13:23 -07:00
Jason Volk
0b41a1e78d ircd:Ⓜ️:room::power: Simplify iteration interface. 2020-04-19 06:13:23 -07:00
Jason Volk
a6cf4c3c91 ircd::fs: Refactor base paths into conf::items. 2020-04-19 06:13:23 -07:00
Jason Volk
8e42efae02 modules/federation/send: Enable the prev_wait functionality for evals from here. 2020-04-17 18:00:58 -07:00
Jason Volk
5c0ad71066 ircd:Ⓜ️:vm::fetch: Add conf item for in-flight race check interval time. 2020-04-17 18:00:58 -07:00
Jason Volk
de8f32e86a ircd:Ⓜ️:vm::fetch: Add vm::opts and conf items for prev fetch wait backoff. 2020-04-17 18:00:58 -07:00
Jason Volk
6124bf612c modules/m_vm_fetch: Allow prev_fetch to check if events arrived elsehow while waiting. 2020-04-16 18:53:29 -07:00
Jason Volk
7b0f17368d modules/m_vm_fetch: Minor cleanup. 2020-04-16 18:53:18 -07:00
Jason Volk
1f8e07d73d modules/client/join: Minor clarify that event_id is returned here. 2020-04-16 17:11:20 -07:00
Jason Volk
fc5e607dce modules/console: Forward fed version on room ID or alias to feds version cmd. 2020-04-16 17:00:48 -07:00
Jason Volk
c576c0765a modules/client/sync/to_device: Conditions to pass to_device '*'. 2020-04-16 15:56:48 -07:00
Jason Volk
ad4f28a2ce modules/client/keys/claim: Improve errorlog message for keys claim. 2020-04-16 15:46:20 -07:00
Jason Volk
d475d86be7 modules/client/publicrooms: Improve pagination logic related; remvoe default limit. 2020-04-16 13:55:52 -07:00
Jason Volk
028db422be modules/client/rooms/invite: Fix event_id to array x-value. 2020-04-15 22:15:00 -07:00
Jason Volk
5d9c022f75 modules/client/rooms/invite: Check if remote already signed the invite before requesting. 2020-04-15 22:01:51 -07:00
Jason Volk
9db5919d6c modules/client/rooms/invite: Fix log namespace; fix use after move; add debuglog. 2020-04-15 20:51:13 -07:00
Jason Volk
2eb5300713 modules/m_vm_fetch: Workaround for loss of PDU lookahead and the zealous fetch problem. 2020-04-15 20:06:41 -07:00
Jason Volk
d1a5930ba9 modules/client/login: Fix for fully qualified requested device_id; verify hostpart. 2020-04-15 17:29:13 -07:00
Jason Volk
b3c6932332 modules/client/register: Refactor bridge codepath; m.login.application_service. 2020-04-15 17:00:05 -07:00
Jason Volk
3fc4bac384 Merge branch 'master' of https://github.com/yangm97/construct 2020-04-15 16:25:59 -07:00
Jason Volk
2b6b69658b modules/client/rooms/initialsync: Support limit query parameter. 2020-04-15 16:09:55 -07:00
Jason Volk
44b8c6da71 modules/client/rooms/initialsync: Optimize state iteration w/o event_id indirection. 2020-04-15 16:09:55 -07:00
Yan Minari
24cb228901
feat(bridge): relax register flow for AS puppet registration
Signed-off-by: Yan Minari <yangm97@gmail.com>
2020-04-15 16:07:02 -03:00
Jason Volk
a7cc30b046 modules/client/sync/device_one_time_keys_count: Fix erroneous result placement. 2020-04-14 20:33:55 -07:00
Jason Volk
df39547fa1 modules/client/sync/account_data: Fix return value from push_rules handler when no rules. 2020-04-14 19:25:48 -07:00
Jason Volk
9d5d2cc184 modules/client/sync: Minor indentation [skip ci]. 2020-04-14 19:14:09 -07:00
Jason Volk
1edc00d6e5 modules/client/register: Add branch for authenticated user requests. 2020-04-14 18:32:41 -07:00
Jason Volk
ae68e4f93a modules/client/register: Use m::resource to ensure features at this endpoint. 2020-04-14 18:30:41 -07:00
Jason Volk
75a8b2b621 modules/client/login: Support both full mxid and localpart to login. 2020-04-14 18:25:16 -07:00
Jason Volk
79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk
868b515c67 modules/media: Implement r0.6.0-13.8.2.6 GET conf𝑖g. 2020-04-14 01:34:59 -07:00
Jason Volk
a7d1bc9419 modules/m_room_member: Remove cruft. 2020-04-13 16:59:30 -07:00
Jason Volk
592f6fe673 modules/client/register: Use better default flows. 2020-04-13 16:02:52 -07:00
Jason Volk
ea194d9b85 modules/console: Add name filter condition to ctx list cmd. 2020-04-13 14:16:31 -07:00
Jason Volk
0ff5ac43a6 ircd:Ⓜ️:resource::request: Eliminate origin w/ node_id. 2020-04-12 17:09:14 -07:00
Jason Volk
3c8a8d01aa ircd:Ⓜ️:bridge: Add timeout conf item; fix queries; add console cmd. 2020-04-11 20:13:15 -07:00
Jason Volk
926c5914a8 ircd:Ⓜ️:bridge: Add config iteration w/ console cmd. 2020-04-11 18:36:33 -07:00
Jason Volk
21d9f4792b configure: Disable all __assert_fail() overrides unless explicit --with-assert option. 2020-04-11 15:11:43 -07:00
Jason Volk
e26b14c10a modules/m_control: Workaround the control room hook regression. 2020-04-10 19:29:17 -07:00
Jason Volk
cddc124f94 modules/m_control: Minor cleanup. 2020-04-10 19:29:17 -07:00
Jason Volk
0b5716762d modules/client/user: Minor fix formatting. 2020-04-10 19:29:17 -07:00
Jason Volk
a6ee1a3cec modules/client/keys/claim: Increase default timeouts quia synapse. 2020-04-10 19:29:17 -07:00
Jason Volk
433a3b3007 ircd:Ⓜ️:app: Rename everything to bridge:: add basic query; simplify config interface. 2020-04-10 19:29:17 -07:00
Jason Volk
ce5ebd4a1a modules/client/sync/presence: Assert content.user_id made it to presence linear. 2020-04-08 20:16:02 -07:00
Jason Volk
2451e3933f modules/client/rooms/messages: Add postprefetching loop to optimize pagination. 2020-04-08 13:49:06 -07:00
Jason Volk
8af5eea783 modules/client/rooms/messages: Fix loop condition off by one. 2020-04-08 13:26:50 -07:00
Jason Volk
eeac3c1eaa ircd::server: Add more efficient peer error boolean query. 2020-04-07 13:19:16 -07:00
Jason Volk
4108945a2c ircd:Ⓜ️:app: Reorg from old module stubs; start central unit. 2020-04-07 12:50:33 -07:00
Jason Volk
fe63f9a3db modules/key/query: Implement federation 3.3.2.2 POST method. 2020-04-07 11:57:12 -07:00
Jason Volk
f93ad3d816 modules/key/query: Implement federation 3.3.2.1 key query GET handler. 2020-04-07 11:48:59 -07:00
Jason Volk
124bfc4783 modules/federation/rooms: Ensure m::resource::response is used here. 2020-04-07 10:52:15 -07:00
Jason Volk
9a0a3dfbf1 ircd:Ⓜ️:vm: Eliminate fault::INTERRUPT and handle ctx::interrupt directly in all cases. 2020-04-07 10:52:15 -07:00
Jason Volk
4e18b56896 modules/m_vm_fetch: Fix delicate conversion (regression ffdf1632f5). 2020-04-07 10:52:14 -07:00
Jason Volk
ca29c2ef7b modules/federation: Add rooms module; add complexity handler stub. 2020-04-05 19:00:32 -07:00
Jason Volk
5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk
ffdf1632f5 modules/m_vm_fetch: Minor clarity for result object. 2020-04-05 17:08:58 -07:00
Jason Volk
c76e394a8c modules/console: Fix loop on multiple context id's to interrupt/terminate cmds. 2020-04-05 14:32:21 -07:00
Jason Volk
e089103a30 modules/m_vm_fetch: Tweak interrupt propagation paths; fix specific propagations. 2020-04-03 17:37:34 -07:00
Jason Volk
27a015b9dc modules/client/sync: Minor cleanup; use structured binding for m::top().
modules/client/events: Minor cleanup; use structured binding for m::top().
2020-04-03 15:17:35 -07:00
Jason Volk
c4d0ffaec9 ircd:Ⓜ️:event::fetch: Move std::nothrow to leading argument for consistency. 2020-04-02 20:01:14 -07:00
Jason Volk
22e71d57e2 modules/federation/user_device: Mark use of zero value for stream_id here. 2020-04-02 17:16:27 -07:00
Jason Volk
1cabd663fb modules/federation: Add comments in txn handler; minor cleanup. 2020-04-02 14:41:11 -07:00
Jason Volk
c973062086 modules/console: Add user devices preliminary omni update trigger cmd. 2020-04-01 20:18:25 -07:00
Jason Volk
fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -07:00
Jason Volk
6c0e6d49fb ircd:Ⓜ️:device: Remove remaining access_token_to_id interface related. 2020-04-01 17:35:10 -07:00
Jason Volk
08525e95d0 modules/console: Add device_id to user tokens list cmd. 2020-04-01 17:33:55 -07:00
Jason Volk
d052249573 ircd:Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access. 2020-04-01 17:30:17 -07:00
Jason Volk
d1812f0c44 ircd:Ⓜ️ Fix m::index() interface for consistent leading std::nothrow_t. 2020-04-01 16:20:11 -07:00
Jason Volk
93665cc587 ircd:Ⓜ️ Fix event_id() interface for consistent leading std::nothrow_t. 2020-04-01 16:03:25 -07:00
Jason Volk
327407cc76 modules/client/send_to_device: Propagate interrupts.
modules/m_device_list_update: Propagate interrupts.
2020-04-01 13:44:39 -07:00
Jason Volk
926bd56bde modules/m_device_list_update: Add functionality to hook; switch to vm.effect. 2020-04-01 13:44:38 -07:00
Jason Volk
746689086a modules/federation/user_keys_claim: Implement 22.1 POST /user/keys/claim. 2020-03-31 17:27:19 -07:00
Jason Volk
1680e5107b modules/m_relation: Fix event_id unmarshal. 2020-03-31 16:50:07 -07:00
Jason Volk
0bb3a33fa2 modules/client/keys/claim: Relax user mxid construction in response; minor cleanup. 2020-03-31 16:02:14 -07:00
Jason Volk
0d9ddbdc53 modules/federation/send: Improve exception handling and propagation. 2020-03-31 14:50:46 -07:00
Jason Volk
cec762de94 modules/client/send_to_device: Move target into content.
modules/federation/sender: Adjust special cases.
2020-03-31 14:17:44 -07:00
Jason Volk
82e01fcc09 modules/client/register_email: Allow and default undefined id_server property. 2020-03-31 13:39:19 -07:00
Jason Volk
31aa8a0d0c modules/client/versions: Add m.require_identity_server. 2020-03-31 13:39:19 -07:00