Matrix Live πŸŽ™

This week, I had the great pleasure of chatting with a lovely bunch from Element about Spaces. This feature just got out of beta and they tell us all about it.

Dept of Spec πŸ“œ

The Spec

TravisR offered:

Hello TWIM, it's me, not-anoa, again with your weekly spec update. I unfortunately didn't get a chance to figure out how to run the tooling which generates fancy graphs, but it looks like you'll have a more qualified person next week πŸ˜‡

This week we saw a couple new MSCs:

  • MSC3419 - Letting guests do more things (which is needed for things like full mesh conference calling)

  • MSC3429 - A room preview API. Turns out this is more or less a duplicate of another MSC, but has a different approach. Be sure to check both out πŸ™‚

We've also been making progress on trying to get the spec release out by formally specifying all the new global version numbering and new endpoint versioning (see this and this), and have been experimenting with how room versions are represented by the spec.

From page 6 of the open MSCs there's MSC2723. The MSC is relatively small, but solves a fairly important problem with forwarded messages in Matrix: where were they forwarded from? From a glance, it has minor technical feedback and could do with an implementation (psst: client authors, this should be easy and fit well into a North American Long Weekend project πŸ˜‡).

That's all I have for you today, but if I've missed something: sorry, and you should be in capable hands next week.

Dept of P2P πŸ‘₯

P2P Matrix

Neil Alexander said:

This week I have completely rewritten the Pinecone router with the aim of improving code quality and boosting performance. It now uses significantly less resources, making it much easier to simulate larger networks and using less battery power on mobile devices.

While there is still some work to be done to ensure the Pinecone network gracefully handles large-scale mobility events, protocol development is slowly progressing and we will soon be looking at how Matrix federation can be made more efficient by using routing intelligence from the overlay network.

If you have a passion for routing protocols and/or peer-to-peer systems, we're looking to hire engineers to work in the P2P Matrix space β€” get in touch by emailing your resume to us!

We also have our very own P2P Matrix room where you can follow along with the latest discussions and also occasionally pick up experimental iOS and Android builds of Element with an embedded P2P-enabled Dendrite homeserver.

Dept of Servers 🏒

Synapse

callahad told us:

We released Synapse 1.44 this week! The release was mainly focused on bug fixes and internal cleanups. In particular, we've made significant strides toward enforcing static type annotations across several more Synapse modules, we continue to remove "magic" code from our configuration handler, and we've landed significant refactors to both the user directory and federated event authentication. These changes pay off significant technical debt, reduce Synapse's maintenance cost, and ease future bug fixes.

But that's not all. This release also includes performance improvements around JSON serialization, new capabilities for extension modules, and better metrics around cache evictions. See the announcement for more details.

Homeserver Deployment πŸ“₯️

Kubernetes

Ananace said:

And for the regularly scheduled Helm Chart update this week; matrix-synapse has been updated to 1.44.0

Dept of Bridges πŸŒ‰

Rocket.chat

Pascal reported:

Hi! Rocket.chat is working on a bridge with Matrix !!!! So nice 😊

https://youtu.be/jBtBiUXLqAk?t=1691

matrix-appservice-irc 0.32.0-rc1

Half-Shot told us:

Hello one and all! We've got a minor-yet-MAJOR release candidate of the IRC bridge up for grabs. https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.32.0-rc1 is now based upon the 3.X matrix-appservice-bridge library, and so all the innards have been replaced with matrix-bot-sdk.

Please try it out, and the full release should be out next week.

Dept of Clients πŸ“±

Element clients

Updates from the teams:

Web

  • Released Element Web RC 1.9.1 RC2, containing Spaces papercut fixes among other things
  • Threads is continuing to steadily progress
  • Cross signing bug fixes and usability improvements
  • Ran another community testing session, which has thrown up many suggestions for improvements to our onboarding experience

Delight team

  • Following the release of Spaces from Beta, we're fixing bugs and things which might have slipped through the cracks in the 1.0 release!

iOS

  • Released 1.6.1 with Spaces and URLs preview on the App Store.
  • RC1.6.2 is being built. This is mainly a maintenance release
  • Updated libs and tools dependencies
  • Improved Spaces performance

Android

  • Element Android 1.3.2 is getting released today. It adds support to Android Auto (thanks https://github.com/abaker !) and lots of other features and bug fixes. Full changelog will be here: https://github.com/vector-im/element-android/releases/tag/v1.3.2
  • The team is working on several tasks:
    • Cleanup the code managing the notifications. It should fix some related issues
    • Implement Presence support
    • Upgrade framework libraries, starting by Mavericks 2
    • Fix as many issues as possible

Quaternion

kitsune told us:

The first maintenance release of Quaternion 0.0.95 is here, plugging more HTML injections (quite limited this time), with tweaks in positioning of the timeline to really return to the message you last read before closing the room, colourful display names in the timeline and not just in the user list, and one particular crash fix for a case when you made a typo in your password but then did it right - only to see Quaternion falling down to pieces. The release notes, together with self-contained binaries, are in a usual place, the Flathub repo has a new Flatpak too - just go and update!

Cinny

ajbura said:

Cinny v1.3.2 got released this week. It fixes unwanted "Password don't match" error on register page along with small improvements in Public room modal and message input (Thanks to Empty2k12). We also released v1.3.1 last week which fixed unnecessary CPU usages on idle and infinite spinner after login.

Check it out at: https://cinny.in

Join the matrix room: #cinny:matrix.org

SchildiChat

qg said:

SchildiChat is a fork of Element that focuses on UI changes such as message bubbles and a unified chat list for both direct messages and groups, which is a more familiar approach to users of other popular instant messengers.

Both the Web/Desktop and the Android variant have received a couple of new features during the last weeks, so it's time again to share some of the highlights with you!

Web/Desktop

The Web/Desktop variant has received plenty of love for the last few weeks, so best to list some of the bigger changes:

  • Added a setting for the room list style: you can now choose between "roomy" with big avatars and two-line previews, "intermediate" for a smaller avatar and a single line preview, or "compact" to get a tiny avatar and the room preview in the same line of the room name

  • Added a setting how to color usernames in the chat: either uniform, based on the MXID, or based on the user's power level (Android has this feature for some time already, too!)

  • Added a setting to not open automatically the most recent chat when switching spaces

  • Improved theme settings: you can now choose custom themes independently for both light and dark mode

  • Workaround for switching between light and dark mode together with the system on Linux

  • macOS builds are now signed

  • ... and many more (read the release announcements on GitHub or join our announcement room (#schildichat-web-announcements:matrix.org) to stay informed)

The following screenshot showcases the compact room list and user name color mode based on PL:

Schildichat

So take that, IRC style lovers! 😁

Android

We added support for MSC2654 for server-reported unread counts. This means that we can now display the number of unread messages even for muted chats, if your homeserver supports it (synapse does)!

Feel free to join the SchildiChat space (#schildichat:matrix.org), and visit our discussion rooms!

Dept of SDKs and Frameworks 🧰

Halcyon

gen3 said:

Hello! Halcyon is a Matrix bot library created with the intention of being easy to install and use. My goal is to lower the barrier of entry currently required to write and maintain a bot. I do not intend you to need a database, or have to juggle encryption keys.

With the initial release of the library we currently have:

  • A CLI tool for creating and revoking tokens

  • Hooks for new messages, message edits

  • Hooks for room invites, and leaving rooms

  • Sending messages as text, markdown, and HTML

  • Sending replies to messages

  • Ever improving documentation Please check out the example in https://github.com/WesR/Halcyon and join us over in #halcyon:blackline.xyz

jOlm

brevilo said:

Hi! Just a quick one: this week saw the first stable release of jOlm - Olm bindings for Java

libQuotient

kitsune told us:

This week has seen two maintenance releases of libQuotient - just after 0.6.10 went out, fixing an issue with invites not showing up, another issue with URLs that have unescaped double-hashes (coincidentally, matrix.to URLs to some IRC channels are exactly those). Those URLs are not quite following the RFC but are accepted widely enough to warrant a fix, and a new release. Get 0.6.11 from here (or better, just checkout the respective Git tag).

Dept of Bots πŸ€–

Standupbot

Sumner said:

A few weeks ago, I posted about the standupbot that I wrote to help assist with creating and sending standup posts to a room. I'm excited to announce today that you can choose to interact with the standupbot using threads! Instead of asking you about each part of the standup post individually, it creates threads for each of the parts that you can fill in. Your replies get added to the standup post like before, but it's a bit more interactive of a process. Here's a picture of how it looks (ignore all the display bugs due to Element).

2021-10-08-HVxe0-thread-interaction.png

If you are interested in learning more, the source code is here: https://sr.ht/~sumner/standupbot and you can join the development matrix room #standupbot-dev:sumnerevans.com

Dept of Events and Talks πŸ—£οΈ

Running conferences on Matrix: A post-mortem of Ansible Contributor Summit

Gwmngilfen reported:

Following the Matrix-powered Ansible conference featured in TWIM-2, @gwmngilfen:ansible.im has written up some thoughts on how it was structured, how it went, and why he thinks it worked (spoiler! It worked quite well!).

2021-10-08-FLA8x-image.png

Dept of Interesting Projects πŸ›°οΈ

Newgrounds MVS (Matrix adVancement Server)

mr_johnson22 offered:

An (unofficial) Matrix server for the Newgrounds community.

Since I was pressed for time last week, I didn't go much in depth on how this server works. Here is a brief overview of its components:

  • https://app.ngmvs.one: A self-hosted Element Web with some theming tweaks, and the easiest way to visit the server.

  • https://matrix.ngmvs.one: the homeserver itself (Synapse). It has open registration, but only for Newgrounds Supporters (ie. patrons) via SSO logins with Newgrounds accounts. But Newgrounds doesn't have its own "Log in with Newgrounds" capability, so that leads me to the next component:

  • ng-saml-idp: middleware built on PySAML2 for using Newgrounds logins as a SAML2 Identity Provider. The code is tailored for my Synapse installation, but it can easily be tweaked to allow Newgrounds SSO logins to any SAML2-compatible service!

  • W-Bot: a Matrix appservice/bot built on mautrix-python that serves two purposes:

    1. Creates Matrix rooms for Newgrounds movie/game submission pages (ie. maps #portal_view_<ID>:ngmvs.one to https://www.newgrounds.com/portal/view/<ID>), and adds a widget containing the submission itself to these rooms (but only if it's a movie--widgets for games will only have a link)

    2. Restricts membership of any room it moderates to logged-in Newgrounds Supporters. Users without a :ngmvs.one account can authenticate to the bot via the "login" bot command, which lets them log into their Newgrounds account.

    Point 2 also means that anyone on the Matrix network can make a room that's restricted to Newgrounds Supporters. Just make sure the bot has a high enough power level to kick users!

    Public (and federation-accessible) instance is at @w-bot:ngmvs.one.

    (PS: The "W" stands for "double"--because of its job of "copying" rooms into Matrix.)

  • MVSX: a Firefox extension that, when visiting a Newgrounds movie/game submission page, puts a button in the URL bar that sends you to the Matrix room created for that submission by W-Bot.

This week's updates:

  • W-Bot now has the inviteme command to invite the issuing user to the invite-only space room for logged-in Newgrounds Supporters. (Users should be invited there automatically, but this command is for people who leave / reject invites to that space & want to re-join it later.)

  • The MVSX extension has been updated to allow joining rooms with Matrix clients other than app.ngmvs.one. Right-clicking the URL bar icon now shows a drop-down list of alternative clients, and lets you set which one to use by default (on left-clicks of the icon).

Discussion: #ngmvs-public-discussion:ngmvs.one

Final Thoughts πŸ’­

Room of the week

timokoesters offered:

Hi everyone! Did you ever feel lost in the Matrix world? The room directory is big, but it's still hard to find something you like. Or are you a room moderator, but there is not much activity in your room because it doesn't have enough users?

This is why I want to share rooms (or spaces) I find interesting.


This week's space is: #retro:nil.im

"Iβ€˜m in plenty of retro computing and gaming related Discords and got annoyed that there was no such thing on Matrix. So, I created a Matrix Space for all things retro computing and gaming, hoping there might be enough like-minded people on Matrix to build a community. There should hopefully be rooms for everything now, although a few are still missing room icons - that will come over the next days. Here’s to hoping that the retro computing community can also thrive outside of Discord 😁."


If you want to suggest a room for this section, tell me in #roomoftheweek:fachschaften.org

Dept of Ping πŸ“

Here we reveal, rank, and applaud the homeservers with the lowest ping, as measured by pingbot, a maubot that you can host on your own server.

#ping:maunium.net

Join #ping:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1boba.best504
2trolla.us588
3maunium.net606
4aria-net.org716.5
5ziroh.be882
6maescool.be910
7fff.chat936
8thomcat.rocks1157
9envs.net1442
10wallace.sh2480.5

#ping-no-synapse:maunium.net

Join #ping-no-synapse:maunium.net to experience the fun live, and to find out how to add YOUR server to the game.

RankHostnameMedian MS
1bwitch.me352
2sspaeth.de416.5
3spacedn.com588
40x1a8510f2.space887
5jae.su965
6pixelthefox.net1074.5
7matrix.awesomesheep48.me1145
8envs.net1930
9dendrite01.fiksel.info2305.5
10weber.world2993.5

That's all I know 🏁

See you next week, and be sure to stop by #twim:matrix.org with your updates!

The Foundation needs you

The Matrix.org Foundation is a non-profit and only relies on donations to operate. Its core mission is to maintain the Matrix Specification, but it does much more than that.

It maintains the matrix.org homeserver and hosts several bridges for free. It fights for our collective rights to digital privacy and dignity.

Support us