maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] Matrix - clients (https://talk.maemo.org/showthread.php?t=100038)

mosen 2019-04-10 23:50

Re: Matrix - clients
 
Quote:

Originally Posted by dubliner (Post 1556080)
(well, you know, the term "blue pill" does evoke certain associations :p)

Yes the movie had this one
https://qph.fs.quoracdn.net/main-qim...20bd5c7ec1df01

purest form i found was this one
https://upload.wikimedia.org/wikiped..._blue_pill.jpg

But, the most prominent abstraction into an icon if you search for the term pill is actually the kind i designed.
It might come down to following decision:
Either go with a simple stylized version to have it look clean in style of the Jolla Icons like i tried.
Or try to stylize the "Moviepill" above into svg compatible form. The "m" emboss is quite simple once the pill is drawn convincingly with gradients.
The Moviepill might be especially hard to angle 45° which is quite handy to make it bigger within a square icon than when it is oriented horizontal. Also when angled it nicely accompanies the green phone icon imo.

dubliner 2019-04-11 06:51

Re: Matrix - clients
 
Quote:

Originally Posted by mosen (Post 1556081)
Yes the movie had this one

The MOVIE? :eek: Oh... yikes, I didn't know anything about that. :confused: When I hear "blue pill", my mind is jolted to remember all those plentiful spam emails about a different kind of blue pill (Wikipedia). Myohmy, sorry about that... (hanging my head in shame)

And now I have got to find out more about that movie... :rolleyes:

cy8aer 2019-04-11 09:34

Re: Matrix - clients
 
Quote:

Originally Posted by mosen (Post 1556077)
For the meantime, how about a simple giant blue pill as icon?

https://mosushi.de/misc/bluepill/har...l-overview.png

Svgs attached. CC-BY-3.0, feel free to change anything you like.

That looks nice. As I told: let's see, what my "designer" can do with it (like the podqast banner). But design is the very last step ;)

cy8aer 2019-04-11 09:36

Re: Matrix - clients
 
Quote:

Originally Posted by dubliner (Post 1556083)
The MOVIE? :eek: Oh... yikes, I didn't know anything about that. :confused: When I hear "blue pill", my mind is jolted to remember all those plentiful spam emails about a different kind of blue pill (Wikipedia). Myohmy, sorry about that... (hanging my head in shame)

And now I have got to find out more about that movie... :rolleyes:

I am just listening a german podcast "Minutenweise Matrix" (They talk about Matrix - the film - minute by minute) and were at the minute where Neo must choose the right pill (https://compendion.net/minutenweisematrix/) - I found that fits: Stay in the matrix aka blue pill.

mosen 2019-04-11 10:24

Re: Matrix - clients
 
Quote:

Originally Posted by dubliner (Post 1556083)
When I hear "blue pill", my mind is jolted to remember all those plentiful spam emails about a different kind of blue pill

Too share your shame, i did not make your transition to viagra but was near explaining that the pill is for oral, not rectal use when i read rhombus shape.

Quote:

Originally Posted by dubliner (Post 1556083)
And now I have got to find out more about that movie... :rolleyes:

You are in a very valuable position.
Now you can skip both Matrix 2 Reloaded and 3 Evolution while pretending they never existed.
You could then appreciate Matrix 1 as a masterpiece and not have to see it in light of its sequels :D

Quote:

Originally Posted by cy8aer (Post 1556085)
That looks nice. As I told: let's see, what my "designer" can do with it (like the podqast banner). But design is the very last step ;)

His drawing skill are very good indeed, the Podqast Banner looks awesome and unique.

Amboss 2019-04-11 14:39

Re: Matrix - clients
 
What about a blue pill with sunglasses (Neo or Agent style)?

cy8aer 2019-04-11 19:30

Re: Matrix - clients
 
Quote:

Originally Posted by r0kk3rz (Post 1556062)
https://build.sailfishos.org/package...rbour-bluepill

Or if you want I can show you how to set up a build on gitlab-ci to do automatic builds

Just a quick question: For the gitlab-ci the sailfishos sdk docker containers e. g. from coderus are used?

r0kk3rz 2019-04-11 21:58

Re: Matrix - clients
 
Quote:

Originally Posted by cy8aer (Post 1556104)
Just a quick question: For the gitlab-ci the sailfishos sdk docker containers e. g. from coderus are used?

Yes, this is the gist, but I haven't gotten it to work yet
https://gitlab.com/r0kk3rz/bluepill/....gitlab-ci.yml

cy8aer 2019-04-12 06:07

Re: Matrix - clients
 
Quote:

Originally Posted by r0kk3rz (Post 1556109)
Yes, this is the gist, but I haven't gotten it to work yet
https://gitlab.com/r0kk3rz/bluepill/....gitlab-ci.yml

Except that it is not working yet but: That is all you need?

https://i.makeagif.com/media/4-12-2019/531Ocj.gif

dubliner 2019-04-12 10:48

Re: Matrix - clients
 
Am I the only one who feels like e2e has just gained a lot priority points? :eek:

https://matrix.org/blog/2019/04/11/security-incident/

cy8aer 2019-04-12 12:47

Re: Matrix - clients
 
Quote:

Originally Posted by dubliner (Post 1556119)
Am I the only one who feels like e2e has just gained a lot priority points? :eek:

https://matrix.org/blog/2019/04/11/security-incident/

No, working on it...

cy8aer 2019-04-12 18:24

Re: Matrix - clients
 
Bluepill mentioned in TWIM...

nthn 2019-04-13 15:31

Re: Matrix - clients
 
Just took a look at the RPM you posted earlier, some suggestions and remarks:

- Startup of the application (especially the very first one after entering the account details) could do with a loading indicator to show that the application didn't crash. Initial load of Matrix is a sore point in all applications, but as only the Matrix logo was displayed, I wasn't sure whether the application crashed or wasn't doing anything, until after a long time the UI showed up and I was pleasantly surprised. Subsequent startups of the application don't take anywhere near as long but the fact that no real loading indicator is shown is still confusing.
- I wouldn't make a distinction between people and rooms, they're technically the same thing and it gives a false sense of privacy to people who don't know that anyone can be invited into any conversation and, unless a specific encryption method was specified, all those invited can read the previous 'private' messages. It's a Matrix protocol problem more than a client problem, but a problem nonetheless.
- The room name in the text box at the bottom of a conversation doesn't follow the light theme's colours yet (at least I think it should be black). Maybe the text could say "Send a message to {roomname}…"
- The arrows next to Favorites/Persons/Rooms/Low priority on the homescreen don't do anything. I don't think they're necessary unless you want to implement them in a way that they collapse that category (which would be useful on smaller screens). You could also place the 'new room' button there, like Riot Web does.

(- Eventually, it would be fun if you could implement some keyboard shortcuts for often used actions, so TOHKBD and F(x)tec users can show off to their friends.)

Very nice work so far!

cy8aer 2019-04-13 18:12

Re: Matrix - clients
 
Quote:

Originally Posted by nthn (Post 1556146)
Just took a look at the RPM you posted earlier, some suggestions and remarks:

- Startup of the application (especially the very first one after entering the account details) could do with a loading indicator to show that the application didn't crash. Initial load of Matrix is a sore point in all applications, but as only the Matrix logo was displayed, I wasn't sure whether the application crashed or wasn't doing anything, until after a long time the UI showed up and I was pleasantly surprised. Subsequent startups of the application don't take anywhere near as long but the fact that no real loading indicator is shown is still confusing.
- I wouldn't make a distinction between people and rooms, they're technically the same thing and it gives a false sense of privacy to people who don't know that anyone can be invited into any conversation and, unless a specific encryption method was specified, all those invited can read the previous 'private' messages. It's a Matrix protocol problem more than a client problem, but a problem nonetheless.
- The room name in the text box at the bottom of a conversation doesn't follow the light theme's colours yet (at least I think it should be black). Maybe the text could say "Send a message to {roomname}…"
- The arrows next to Favorites/Persons/Rooms/Low priority on the homescreen don't do anything. I don't think they're necessary unless you want to implement them in a way that they collapse that category (which would be useful on smaller screens). You could also place the 'new room' button there, like Riot Web does.

(- Eventually, it would be fun if you could implement some keyboard shortcuts for often used actions, so TOHKBD and F(x)tec users can show off to their friends.)

Very nice work so far!

The startup should show it's status in text at the bottom. No text: crash... and it is not very fast now...

The Matrix spec does make a distinction between people and rooms. And I do too. This is necessary for e2e - there is no group functionality in the spec!

Room name in light theme: Yes I know it. low prio

The arrows will have funcionalities, but they are not implemented yet.

I am thinking about including the emojis library to have better support for this too...

nthn 2019-04-13 18:55

Re: Matrix - clients
 
Quote:

Originally Posted by cy8aer (Post 1556148)
The startup should show it's status in text at the bottom. No text: crash... and it is not very fast now...

The Matrix spec does make a distinction between people and rooms. And I do too. This is necessary for e2e - there is no group functionality in the spec!

- Oh, you're right, I hadn't noticed because it's so small and it doesn't follow the light theme either. Good to know, thanks! Edit: actually, it does follow the theme, it's a problem with the colours of the light theme itself.

- Maybe we're talking about different things. There are users and there are rooms, but the category of rooms placed under 'People' are still rooms and not, as a user would expect from a category called 'People', 1:1 conversations. They're the same thing as the rooms placed under 'Rooms', the only difference is that upon creation of the room, there are two initial members, both with administrative rights. Other people can still be invited into the room by either/any member, which isn't something anyone would expect from what looks like a private 1:1 conversation.

cy8aer 2019-04-14 15:20

Re: Matrix - clients
 
Quote:

Originally Posted by nthn (Post 1556149)
- Maybe we're talking about different things. There are users and there are rooms, but the category of rooms placed under 'People' are still rooms and not, as a user would expect from a category called 'People', 1:1 conversations. They're the same thing as the rooms placed under 'Rooms', the only difference is that upon creation of the room, there are two initial members, both with administrative rights. Other people can still be invited into the room by either/any member, which isn't something anyone would expect from what looks like a private 1:1 conversation.

Matrix does not know private conversations. They are still rooms. A 1:1 conversation is only defined in the user's account data. The behaviour of bluepill should be like in riot. Rooms which are listed in the m.direct event in account_data is a 1:1 room, every other room is just a room. Non m.direct rooms can have any number of users (also two!). Special priorities of rooms (favorites, low prio, archive) do not differ between m.direct rooms or simple rooms because there is no m.direct relationship to m.tags event which can be m.favourite, m.lowpriority...

cy8aer 2019-07-03 20:18

Re: Matrix - clients
 
Quote:

Originally Posted by r0kk3rz (Post 1556109)
Yes, this is the gist, but I haven't gotten it to work yet
https://gitlab.com/r0kk3rz/bluepill/....gitlab-ci.yml

Ok just beginning this:

https://gitlab.com/cy8aer/bluepill/b....gitlab-ci.yml

cy8aer 2019-07-05 08:06

Re: Matrix - clients
 
Quote:

Originally Posted by cy8aer (Post 1558214)

Now I am able to compile the whole thing in gitlab (for i486 and arm). Is there any api to deploy a rpm directly into openrepos? Because then I would be able to do the complete ci/cd from gitlab...

https://gitlab.com/cy8aer/bluepill/pipelines/69465501

Of course: Actually I am at "does not work in any way"-state with nio but I'd like to just tag a commit and the runner should just test, compile and deploy the stuff then...

kaulian 2019-07-05 09:14

Re: Matrix - clients
 
Thanks for this application
The first test is nice.
Do you will publish the current build ?

cy8aer 2019-07-05 10:08

Re: Matrix - clients
 
Quote:

Originally Posted by kaulian (Post 1558250)
Thanks for this application
The first test is nice.
Do you will publish the current build ?

The current build in the nio branch does not work. You will be unhappy with it. I just showed my ci/cd stuff for others so that they can use it for their own projects. I now need to recode the whole client for matrix-nio. Stand by...

kaulian 2019-07-05 12:18

Re: Matrix - clients
 
Quote:

Originally Posted by cy8aer (Post 1558253)
The current build in the nio branch does not work. You will be unhappy with it. I just showed my ci/cd stuff for others so that they can use it for their own projects. I now need to recode the whole client for matrix-nio. Stand by...


OK thanks

Ang good JOB

cy8aer 2019-07-22 09:27

Re: Matrix - clients
 
And now I have the first rpm running on a device created from the Gitlab-CI. But this is done with podqast (bluepill/nio will be deployed the same way if it is ready enough).

The binaries can be found here on the right side of the table (they are built when tagged with the version in .yaml/.spec):

https://gitlab.com/cy8aer/podqast/pipelines

Ruleset is here

https://gitlab.com/cy8aer/podqast/bl....gitlab-ci.yml

Of course: Thanks to @coderus for his docker containers.

wolke 2019-07-23 16:12

Re: Matrix - clients
 
i see: "syncing room: Empty room" after the first 30 rooms or so sync. so app never actually starts (i waited an hour)

cy8aer 2019-07-23 19:06

Re: Matrix - clients
 
Slowly but surely.

https://gitlab.com/cy8aer/bluepill/pipelines

Builds both, i486 and arm7hl. But this is alpha stage - you are warned.

@wolke. you are talking about bluepill: too bad. You need to wait for the nio lib stuff. There the syncing stuff is complete different (and there will be other bugs - promised).

cy8aer 2019-07-24 13:46

Re: Matrix - clients
 
Quote:

Originally Posted by wolke (Post 1558522)
i see: "syncing room: Empty room" after the first 30 rooms or so sync. so app never actually starts (i waited an hour)

Probably v0.1-14 may help. Just building in CI...

wolke 2019-07-29 19:01

Re: Matrix - clients
 
@cy8aer woo! sync fixed! it works great for me!
(60+ rooms on a private matrix server with moderately high traffic)

bluepill is already more useful than riot-running-on-SFOS-alien-dalvik, congrats!

do you accept donations? (paypal or bitcoin)

pacman 2019-07-30 10:53

Re: Matrix - clients
 
Quote:

Originally Posted by wolke (Post 1558714)
@cy8aer woo! sync fixed! it works great for me!
(60+ rooms on a private matrix server with moderately high traffic)

bluepill is already more useful than riot-running-on-SFOS-alien-dalvik, congrats!

do you accept donations? (paypal or bitcoin)

I can't wait to try this out this evening! Do notifications of incoming messages work yet? If so, I'll be looking to make a donation as well :)

EDIT: Yes, I get a proper notification when a message arrives, as long as the app is running. Fantastic, this is such a huge step forward! :D Thanks so much for getting us this far.

cy8aer 2019-07-31 16:52

Re: Matrix - clients
 
Quote:

Originally Posted by pacman (Post 1558729)
EDIT: Yes, I get a proper notification when a message arrives, as long as the app is running. Fantastic, this is such a huge step forward! :D Thanks so much for getting us this far.

... but the notification is not cleared away when you read it on another device. Much work to do...

wolke 2019-07-31 16:59

Re: Matrix - clients
 
cy8aer: i know its alpha, but JIC bug reports are useful:
-timestamps are in UTC
-messages arent (always) refreshed when a conversation opens (i saw this twice, that a message sent in riot didnt show up until i closed the app and reopened it)
-startup is occasionally really slow, like multiple minutes
-unread message count doesnt get cleared when you look at a room

(also, favorite button does nothing, and (>) arrows above the sections dont do anything, but i assume these are just todos)

seriously, this is already by far the best way to use matrix on SFOS. please paste a paypal or bitcoin address (DM or public post or whateve)

cy8aer 2019-07-31 17:12

Re: Matrix - clients
 
Quote:

Originally Posted by wolke (Post 1558791)
cy8aer: i know its alpha, but JIC bug reports are useful:
-timestamps are in UTC
-messages arent (always) refreshed when a conversation opens (i saw this twice, that a message sent in riot didnt show up until i closed the app and reopened it)
-startup is occasionally really slow, like multiple minutes
-unread message count doesnt get cleared when you look at a room

(also, favorite button does nothing, and (>) arrows above the sections dont do anything, but i assume these are just todos)

seriously, this is already by far the best way to use matrix on SFOS. please paste a paypal or bitcoin address (DM or public post or whateve)

That's why my main work is on the nio-branch:

- modern library with e2e support
- asynchronous
- 100% event based
- better features for a full client

but:

- not feature complete
- so I also must implement my needed stuff for matrix-nio too (https://github.com/cy8aer/matrix-nio - fork to https://github.com/poljar/matrix-nio) - and get it into upstream
- I need to reimplement the whole matrix stuff on the client side

What you see on the master branch are ui fixings only, no new functionality (e.g. glue the already existing menus to functionality).

Sorry about that.

Anyways: feel free to issue bugs at https://gitlab.com/cy8aer/bluepill

pacman 2019-07-31 18:30

Re: Matrix - clients
 
Quote:

Originally Posted by cy8aer (Post 1558792)

- not feature complete
- so I also must implement my needed stuff for matrix-nio too (https://github.com/cy8aer/matrix-nio - fork to https://github.com/poljar/matrix-nio) - and get it into upstream
- I need to reimplement the whole matrix stuff on the client side

... but easily good enough for a mention on TWIM. I hope that you will ask them for a slot very soon :)

cy8aer 2019-07-31 19:11

Re: Matrix - clients
 
Quote:

Originally Posted by pacman (Post 1558797)
... but easily good enough for a mention on TWIM. I hope that you will ask them for a slot very soon :)

It is/was already mentioned (unfortunately before the big matrix hack). Probably I ask @benpa to mention again...

carlosgonz 2019-08-09 01:33

Re: Matrix - clients
 
harbour-determinant is another Matrix client prototype to SFOS by R1tschY.

r0kk3rz 2019-08-10 04:32

Re: Matrix - clients
 
Quote:

Originally Posted by carlosgonz (Post 1558957)
harbour-determinant is another Matrix client prototype to SFOS by R1tschY.

https://github.com/R1tschY/harbour-determinant

seems to be based upon the same c++ library I was using, hope it turns out well

dratomkraft 2019-09-23 19:26

Re: Matrix - clients
 
Found this client recently:

https://gitlab.com/unkraut13/qml-matrix

juiceme 2020-01-27 16:41

Re: Matrix - clients
 
So, what's the state-of-art matrix client for SFOS now?
There's nothing on Harbour or Openrepos, so does everyone compile their clients from scratch?

wolke 2020-01-27 16:44

Re: Matrix - clients
 
....riot on aliendalvik :'(

juiceme 2020-01-27 17:12

Re: Matrix - clients
 
Quote:

Originally Posted by wolke (Post 1564804)
....riot on aliendalvik :'(

I don't do dalvikkies :D

catbus 2020-01-27 17:16

Re: Matrix - clients
 
I don't do riot ;)

taixzo 2020-01-27 17:22

Re: Matrix - clients
 
I've been waiting a while for a SFOS Matrix client with E2E encryption support, and using aliendalvik in the mean time; I know someone was working on one, but if nothing shows up soon I suppose I may try my hand at doing one myself.


All times are GMT. The time now is 15:51.

vBulletin® Version 3.8.8