0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 12:58:53 +01:00
Commit graph

4023 commits

Author SHA1 Message Date
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