by Emmanuel Rohee | Feb 5, 2015 | General, Tech |
A new release of the iOS SDK and the iOS Matrix Console app is available on GitHub: https://github.com/matrix-org/matrix-ios-sdk.
If you use CocoaPods to manage your application dependencies, note that the Matrix SDK pod has been updated too.
The changes since the last release are:
SDK
- Improvements:
-
- MXFileStore stores data on a separated thread to avoid blocking the UI thread.
- MXRestClient: Callback blocks in all MXRestClient methods are now optional.
- MXEvent: Cleaned up exposed properties and added a description for each of them.
- Features:
-
- Added API for registering for push notifications.
- Added generic API methods to make any kind of registration or login flow.
- Added Identity server API: lookup3pid, requestEmailValidation, validateEmail and bind3PID.
- Management of event redaction: there is a new method in the SDK to redact an event and the SDK updates its data on redaction event.
- Bug fixes:
-
- SYIOS-5 – Expose registration API
- SYIOS-44 – Credentials persist across logout
- SYIOS-54 – Matrix Console app slightly freezes when receiving a message
- SYIOS-59 – Infinite loop in case of back pagination on new created room
- MXRoom: Fixed [MXRoom sendTextMessage]
Matrix Console
- Improvements:
-
- When long pressing on a message, the app shows the JSON string of the Matrix event.
- On this screen, the user can redact the event – if he has enough power level.
- Use home server media repository facilities to use lower image size for thumbnails and avatars
- Settings screen: show build version with the app version.
- Settings screen: added an option to hide information related to redacted event.
- Settings screen: added an option to enable reading of local phonebook. The country is required to internationalise phone numbers.
- Features:
-
- Push notifications.
- Added a contacts screen that displays Matrix users the user had interactions with and contacts from the device phonebook.
- Contacts from the device phonebook who have an email linked to a Matrix user id are automatically recognised.
- Bug fixes:
-
- SYIOS-53 – multilines text input that expands as you type mutiplines would be nice
- SYIOS-45 – Need to check the thumbnail params requested by iOS
- SYIOS-55 – High resolution avatars create memory pressure
- SYIOS-57 – Back pagination does not work well for self chat
- SYIOS-56 – add cache size handling in settings
- SYIOS-60 – In a self chat, Console takes ages to paginate back even if messages are in cache
- SYIOS-61 – Chat room : cannot scroll to bottom when keyboard is opened whereas the growing textview contains multi-lines text.
- SYIOS-63 – calculate room names for 3+ memebers if no room name/alias
- SYIOS-44 – Credentials persist across logout
- SYIOS-64 – Chat room : unexpected blank lines are added into history when user types in growing textview
- SYIOS-65 – IOS8 : in case of search in recents, keyboard is not dismisssed when user selects a room.
- SYIOS-16 Add option in Console to join room thanks to its alias
by Oddvar Lovaas | Feb 4, 2015 | Events, General |
FOSDEM was great fun! Two days full of conferences and demos; lots of interesting technologies and interested people – and most of all: talking to so many new faces about Matrix and potential uses and integration ideas.
Both our lightning talk and IoT-devroom talk were completely filled up with huge queues outside (sorry folks), and our demos seemed to go down fairly well. In fact several people set up their own homeserver and joined the federated network of Matrix servers during FOSDEM itself!
Here’s a view from our stand, from our lightning talk and from our IoT-devroom talk.
If you missed the talks, recordings will (soon) be available from the FOSDEM site (links will be added here once available) – in the meantime you can check out the slides here: lightning talk and IoT-devroom talk.
Thanks to everyone who came to have a chat about Matrix and/or help with setting up their own homeserver (or to play with Sentinel, our mascot) – please do reach out to us via our Matrix HQ room or IRC (#matrix on freenode) if you have any problems – or want to help us fix our python packaging ;) Now is a great time to get involved as we are currently landing new APIs and soon will be offering an Application Server API to ease bridging to other services.
by Oddvar Lovaas | Jan 29, 2015 | Events |
This weekend, Matrix is heading to FOSDEM (Free and Open Source Software Developers’ European Meeting) in Brussels, Belgium. We will be hosting two events: a lightning talk on Saturday at 16:30 in room H.2215 (Ferrer), and an IoT devroom talk on Sunday morning at 11:00 in room H.2213.
FOSDEM’s schedule is looking very interesting and varied, and we hope we can learn about interesting projects – and of course show how and where Matrix can be used to lots of FOSDEM-attendees. Please come over and have a chat if you are interested; we have a stand on the second floor in the K building – just take a right after coming up the stairs and say hi!
We have also set up a Matrix <-> IRC bridge on the #fosdem channel on freenode, which means that any conversation happening there will be copied over to #fosdem:matrix.org – and vice versa. Making bridges to other services is currently being worked on as part of the Application Services API – we want to be able to connect different services together via Matrix.
Finally, we are always available in the official Matrix HQ room – please join and say hi!
by Matthew Hodgson | Jan 7, 2015 | General, Tech |
Happy 2015 from everyone at Matrix.org!
We’re excited to kick off the new year with a major performance upgrade for Synapse: having had a chance to do some profiling over the Christmas break, Synapse 0.6.1 improves performance by up to an order of magnitude thanks to optimising the way events are constructed and manipulated, DB optimisations, etc. Suddenly things are feeling *much* more snappy and less of a PoC and more of a real system, which hopefully bodes well for 2015! Please upgrade if you’re running a homeserver, or install one if you’re not – grab the code from http://github.com/matrix-org/synapse.
The iOS SDK and demo app has also been improving lots in the last few weeks – grab the latest code from http://github.com/matrix-org/matrix-ios-sdk. We have zoomable image support; full support for the new media repository in Synapse 0.6.0; file transfer status UI; offline support; snappy message synchronisation and more…
We also released a new simple Python SDK client library for Python called matrix-client, which is now being used by NEB (our general-purpose Matrix helper bot).
Meanwhile, our (constantly evolving) plan for the beginning of 2015 is:
- Finish v2 of the client-server API based on all the lessons learnt since launch: draft in progress here
- Finish the Application Services API to allow proper gateways and services in and out of Matrix at last:draft in progress here
- Re-release the spec based on the above
- Build robust gateways (IRC, XMPP, SIP and more) on top of the AS API
- Polish and release the iOS, Android demo clients – including push notification and VoIP support!
- Overhaul the identity server architecture and add end-to-end crypto
Given the rate at which Matrix is maturing, the next few months should be really exciting – please come join us on #matrix:matrix.org and get involved!
Changes in synapse 0.6.1 (2015-01-07)
=====================================
* Major optimizations to improve performance of initial sync and event sending
in large rooms (by up to 10x)
* Media repository now includes a Content-Length header on media downloads.
* Improve quality of thumbnails by changing resizing algorithm.
by Matthew Hodgson | Dec 24, 2014 | Events, General, Tech |
Last week we had a great time attending WebRTC Conference Expo Paris 2014 – chatting to lots of new folks about Matrix; speaking in the “To Build or Not To Build” panel discussion; giving a general presentation on Matrix, and participating in the Demo shoot-out.
And we’re very proud to say that we won the Best Innovation Award for a slightly frantic demo, showing an iPad mounted on our pet Trossen Robotics PhantomX Hexapod being used for robot telepresence by streaming video and audio to an Oculus Rift VR headset. This was using our proprietary in-house WebRTC stack, but once Matrix has fully taken off we hope to share our WebRTC stack with the world too :) This was a very last minute demo – we wanted to show something different to normal browser-to-browser IM/Video calling via Matrix and had the idea to use the Rift at the last minute – and in fact it still wasn’t working when we went on stage (turns out that iOS 8.1 introduces some quirks in the video capture API which were producing corrupt video). By switching from an iPhone 5S running iOS 8.1 to an iPad running iOS 6 we were able to turn the demo around in the nick of time and get it working live on stage (modulo a RGB<->BGR colourspace bug) just in time to win the award. Huge thanks to the jury for voting for us against the odds :D For those interested in displaying raw video straight onto the Oculus Rift (without using any head-mounted tracking), there’s an OpenGL code snippet up at https://gist.github.com/ara4n/875b5e8b66be3617efb7.

(Image credit to Victor Pascual Avila at Quobis)
Also, huge congratulations to Vladimir Beloborodov who won the Best Data Channel Award for hacking his Romotive telepresence robot to rendezvous via Matrix with his iPad, stream video via Google’s WebRTC stack and control the robot’s motion via the WebRTC Data Channel:

We’re really excited to see other folks’ Matrix projects out there winning prizes!
by Matthew Hodgson | Dec 19, 2014 | General, Tech |
We’re proud to announce the new 0.6.0 major release of Synapse: the Python reference implementation of Matrix – as well as 0.6.0 of the AngularJS example Matrix client, as a special early Christmas present from the Matrix team :)
The main priority here has been hunting down stability bugs whilst also adding in a few more features. The most exciting new feature is the new Media/Content API: this allows every homeserver to replicate, cache and thumbnail any files associated with Matrix rooms, rather than relying on retrieving them from the origin homeserver as was previously the case. This is really cool, as it effectively makes Matrix a distributed content distribution network and gives the same replication semantics to file attachments as to the rest of JSON in rooms.
We’ve also landed a major new branch which changes the way events are represented internally in order to make them immutable, and fixes a whole range of minor stability issues. In other news, performance issues are still a work in progress…
To get involved, head over to https://github.com/matrix-org/synapse and install and upgrade today!
Changes in synapse 0.6.0 (2014-12-19)
=====================================
* Add new API for media upload and download that supports thumbnailing.
* Replicate media uploads over multiple homeservers so media is always served
to clients from their local homeserver. This obsoletes the
--content-addr parameter and confusion over accessing content directly
from remote homeservers.
* Implement exponential backoff when retrying federation requests when
sending to remote homeservers which are offline.
* Implement typing notifications.
* Fix bugs where we sent events with invalid signatures due to bugs where
we incorrectly persisted events.
* Improve performance of database queries involving retrieving events.
Changes in Matrix Angular SDK 0.6.0 (2014-12-19)
================================================
Breaking changes:
- Uploading files in the web client will now hit the new content repository URL
introduced in Synapse 0.6, and be incompatible with previous Matrix clients.
Bug fixes:
- Fixed a bug which caused the event stream to become wedged when the computer is asleep.
- Fixed a bug which caused the recents to update but not the message window.
Features:
- Typing notifications will now be sent.
- Typing notifications will now be displayed for other users.
- Use the new content repository introduced in Synapse 0.6 when uploading files.
Improvements:
- Display more error dialogs rather than silently failing.
- Display loading spinners on signup.
- Display feedback when joining a room.
- CTRL + clicking on a recents entry will now open that room in a new tab.
- Clicking on links in messages will now open them in a new tab.
- Provide a progress dialog when uploading files.
- Display a red bar when the event stream connection is lost for an extended period of time.
Recent Comments