Active Topics

 



Notices


Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#121
Yes it might be doable.
I just installed synapse and have been studying how the api works.
__________________
Dave999: Meateo balloons. What’s so special with em? Is it a ballon?
 

The Following User Says Thank You to juiceme For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#122
Originally Posted by juiceme View Post
Yes it might be doable.
I just installed synapse and have been studying how the api works.
https://matrix.org/docs/spec/
 

The Following 3 Users Say Thank You to cy8aer For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#123
i would fukken LOVE to have a native matrix client. first person to make a client that goes 'ping' when i get a message with my phone locked gets a prize (riot does not in fact do this on SFOS)
__________________
~ teleshoes ~
 

The Following 3 Users Say Thank You to wolke For This Useful Post:
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#124
It looks like the matrix nio Python library does support E2E encryption; I think that would be a good start for a SFOS client given that python3/QML is well integrated into the OS.
 

The Following 3 Users Say Thank You to taixzo For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#125
Originally Posted by taixzo View Post
It looks like the matrix nio Python library does support E2E encryption; I think that would be a good start for a SFOS client given that python3/QML is well integrated into the OS.
Yes and it is a catastrophy to implement the stuff to nio because it is *real* complex.
  • ca. 56MB additional libraries
  • python async seems not to really cooperate with pyotherside
  • the e2e-stuff looks good but the key handling is weird
  • some stuff is not implemented which is needed for a full client in nio so it must be implemented on the nio side too.

(and that is why it takes so much time to reimplement my bluepill client from matrix-python-sdk to nio)
 

The Following 5 Users Say Thank You to cy8aer For This Useful Post:
Halftux's Avatar
Posts: 868 | Thanked: 2,516 times | Joined on Feb 2012 @ Germany
#126
Originally Posted by taixzo View Post
matrix nio Python library does support E2E encryption; I think that would be a good start for a SFOS client given that python3/QML is well integrated into the OS.
Another way would be to update habour-matrix it is based on QMatrixClient and this got updated to Quotient and the new library also supports E2E encryption.

https://matrix.org/blog/2019/09/20/q...t-g-so-c-2019/

https://github.com/quotient-im/libQuotient
https://github.com/quotient-im/Quaternion
 

The Following 4 Users Say Thank You to Halftux For This Useful Post:
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#127
Originally Posted by cy8aer View Post
Yes and it is a catastrophy to implement the stuff to nio because it is *real* complex.
  • ca. 56MB additional libraries
  • python async seems not to really cooperate with pyotherside
  • the e2e-stuff looks good but the key handling is weird
  • some stuff is not implemented which is needed for a full client in nio so it must be implemented on the nio side too.

(and that is why it takes so much time to reimplement my bluepill client from matrix-python-sdk to nio)
Ah, you were the one working on the SFOS app I was thinking of. Do you have a github repo or something? I'd love to try and help out.
 

The Following 3 Users Say Thank You to taixzo For This Useful Post:
Posts: 440 | Thanked: 2,256 times | Joined on Jul 2014
#128
Originally Posted by Halftux View Post
Another way would be to update habour-matrix it is based on QMatrixClient and this got updated to Quotient and the new library also supports E2E encryption.

https://matrix.org/blog/2019/09/20/q...t-g-so-c-2019/

https://github.com/quotient-im/libQuotient
https://github.com/quotient-im/Quaternion
I expect there would be a ton of breaking changes if you were to try and update the library in harbour-matrix. It also looks like they now require a much newer GCC than we currently have in SFOS as well, so you might need to wait until gcc8 is released or do another hack like I did with gcc6

I got tired of constantly trying to keep up with each wave of changes, which is the main reason I stopped working in it in the first place.

If anyone wants help understanding the code base, i'm happy to help
__________________
SirenSong v0.5
Like my work? buy me a beer
 

The Following 2 Users Say Thank You to r0kk3rz For This Useful Post:
pacman's Avatar
Posts: 89 | Thanked: 532 times | Joined on Sep 2015
#129
Originally Posted by wolke View Post
i would fukken LOVE to have a native matrix client. first person to make a client that goes 'ping' when i get a message with my phone locked gets a prize (riot does not in fact do this on SFOS)
Bluepill does exactly that (and also lights up the LED). You should be able to find (old) discussion of the client elsewhere on this forum. I'm using version 0.1-14 (find it at https://gitlab.com/cy8aer/bluepill/p...pe=tags&page=1, download the armv7hl deployer, unzip it and install the RPM file).

This client isn't feature complete yet, so I fall back to Riot sometimes, but getting notifications on SFOS was a huge step forward. Development seems to be moving forwards, but slowly. I wish that I had the time to contribute myself.

cy8aer, if you're reading this, I really appreciate what you have done so far!

EDIT: I speed-read this thread too quickly, and missed cy8ear's post from yesterday! Sorry!
 

The Following 2 Users Say Thank You to pacman For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#130
Originally Posted by taixzo View Post
Ah, you were the one working on the SFOS app I was thinking of. Do you have a github repo or something? I'd love to try and help out.
https://gitlab.com/cy8aer/bluepill

working on nio branch.
 

The Following 3 Users Say Thank You to cy8aer For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:21.