Nextcloud Talk (Alpha)

Rating: 
4.583335
Your rating: None Average: 4.6 (12 votes)

Nextcloud Talk for Sailfish OS (Alpha) is in a very early stage. At the moment it supports multi-account chat.

The code is available at https://codeberg.org/blizzz/harbour-nextcloud-talk. I learn my Qt/QML/C++ on working on the app (in my little spare time).

Code contributions (or advice) are more than welcome :)

ℹ️ Since Alpha 7 passwords are stored (and migrated to) Sailfish Secrets. I.e. you will be asked whether it is OK for the app to write and store passwords. Similar experience as with Storeman :)

Features

The following list is complete:

  • Legacy-type login with host, username and password. Please create an app password on Nextcloud and use it.
  • Multi-account support
  • List of all conversations, sorted by activity.
    • It contains an unread counter, which is highlighted when an unread mention is present.
    • Regular polling
    • Chat in any conversation
    • loading most recent history
    • constant long-polling of the currently open conversation
    • automatically sets the read marker
    • display of each messages author, avatar, text and date
    • display of the message replied to, if applicable
    • mentions or formatted bold and highlighted when they refer to you
    • sets displaynames of mentions, actors
    • recognize and format links
    • stores the last seen message id per conversation
    • view list of participants, click to mention
    • message context menu to copy, mention and reply
    • file preview, download, open (externally)
  • Online only, nothing is stored on the device except:
    • account data (host, login, token, user ID plus generated account id and name)
    • last seen message id per conversation

Please note

Some account information is stored in plain text (login name, user id, host url). The token/password is stored securely with Sailfish Secrets as of 1.0.0 Alpha 7(!). Previously the password was stored in plain text. With Alpha 7 it is migrated automatically to Sailfish Secrets.

Screenshots: 
Application versions: 
Changelog: 

1.0.0-alpha7

Changed

  • Passwords are stored with Sailfish Secrets

1.0.0-alpha6

Added

  • Notifications - they are following notifications settings as configured per Talk conversation (currently possible in the web UI only)

Fixes

  • Improved scrolling behaviour in conversation view

1.0.0-alpha5

Added

  • avatars shown in chat view
  • file preview, download, open externally

Fixes

  • rounded not square avatars
  • author and date are not repeated on consecutive posts
  • user agent is "Mozilla/5.0 Nextcloud Talk for SailfishOS/1.0"

Read the detailed changelog on Codeberg.

1.0.0-alpha4

Added

  • display replied-to information of a post, if applicable
  • add context menu with options to reply, mention, copy text

Fixes

  • recover from some network disruptions
  • do not clear chat when entering participant view
  • do not stop chat polling when entering participants view
  • fix duplicated messages when returning from participants view

Read the detailed changelog on Codeberg.

1.0.0-alpha3

  • added participants page
  • tapping on a participant will add a plain, technical mention (message input does not do rich text currently)

1.0.0-alpha2

1.0.0-alpha1

  • multi-accounts
  • conversation list
  • simple chat view (with mention formatting)

Comments

PawelSpoon's picture

Works for me. I can send an see messages

Cryx's picture

Thanx for the update. Notifications work, but just when tge app is running on the phone. And it takes longer than under Android till the notifications arrive. But it's only text notification, there's no notification sound.
Notification also pops up a second time when I open the chat (even when I did this from notification feed) and is shown again there).
Nevertheless: Nice work, I'm looking forward to the next improvements.

blizzz's picture

> Notifications work, but just when tge app is running on the phone

Yipp, right now it works directly in the app. In order to have it run in the background no matter whether the app(gui) is running itself, i need to move it to a to-be-created daemon component. It is one of the next things I like to do.*

> And it takes longer than under Android till the notifications arrive.

Android from F-Droid, or from Play Store? Latter comes with push notifications, which relies on some vendor infrastructure (Play services). We do not have this is on SailfishOS, so all we can do is polling (which should also be what the F-Droid version is doing). At the moment, it happens every 5s when the conversations page is open, otherwise every 30s. Also here, i plan improvements, but perhaps along moving polling to the future daemon.

> Notification also pops up a second time when I open the chat (even when I did this from notification feed) and is shown again there).

Also experiencing it occasionally, to be solved with aforementioned intentions.

> But it's only text notification, there's no notification sound.

Try restarting the ngfd.service: devel-su systemctl-user restart ngfd.service

It is the "non-graphical-feedback daemon" and as of now I don't know why it is necessary.

Nevertheless: Nice work, I'm looking forward to the next improvements.

Thank you, especially for the feedback. I really appreciated to hear from users – it is much nicer than facing silence :) *currently working on capabilities support, which won't change much observable for now, but it seems to bring some improvements under the hood.

Cryx's picture

Did restart the service, still no notification sound. Same after restarting the device too. Just the message and led blinking blue (I'm on XA2).

vbelloir's picture

Hi blizz,

thanks for your update. Scrolling behavior is better now, good. 
Concerning notification, it seems not working on my XA2. 
But I must say that it is not working on my desktop (FF79 on ubuntu 20.04).
I'm testing with a conversation where all new message should be notified (configuration on Web UI).

Any idea?

blizzz's picture

Hi vbelloir,

thanks for your feedback, very appreciated!

So, do I understand correctly that notifications do not appear at all for you? I yet need to try it with this mode, to be honest, with group and user mentioning at least it works for me – XA2 as well. I'll give it a try.

You should get notifications on your Firefox, too, however. Please make sure that you do not have the conversation open there as "target" user, as Talk will not notify you (since you or your browser saw the message).

Cheers

 

 

huggymann's picture

Hello,

thanks again for this nice app :)

does the app support notification for new incoming messages? Also, on my phone i have the oldest message on top and have to scroll down aaaaall the way to the recent messages. is there a setting or anything?

Greetings!

 

blizzz's picture

Thanks for your feedback! :)

Notifications are still in my Todo, and one of the things that would raise it out of the alpha state. At the moment, you see the number of new messages on the right of the conversations overview, and highlighted if you are mentioned.

For the scrolling: yes, this is a paper cut. When there are new messages, you are brought down pretty much on the way. If it is a longer list, scroll a bit and then tap in the double arrow down on the scroll bar. But these are just workarounds. So far other things were more annoying to me – next release will have file previews and downloads :D

huggymann's picture

Cool, thank you very much !

blizzz's picture

my pleasure :)

benclark06's picture

Nice app! I was wondering if you were planning on using a higher resolution image for the cover, i would send a pr but i dont know how to do it in sourcehut

blizzz's picture

Sorry for the late reply.

Actually I am using an SVG image for the cover page … ¯\_(ツ)_/¯

sr.ht works with patches via mail (basically plain git toolchain), but I agree that the UX is not for every one. I am playing with the thought of moving it to codeberg.org.

 

sashikknox's picture

How about.more popular gitlab or github? I too want to contribute

blizzz's picture

I am not a fan of neither Google nor Microsoft who behind both of them. Codeberg would a good alternative, because it is an NGO and using Gitea, which is very similar to Github and easy to use.

blizzz's picture

Yw! I hope it'll be a good companion :)

yomark's picture

Tnx! Seems to connect fine to my own server instance. However, I'm just starting with talk, so not much talking going on. :)