almindor / harbour-jtox Goto Github PK
View Code? Open in Web Editor NEWSailfish OS native tox implementation for Jolla
License: GNU General Public License v3.0
Sailfish OS native tox implementation for Jolla
License: GNU General Public License v3.0
Reported in #68 originally. It seems the UI does not behave consistently when handling a large message in the "pending offline" state. The context menu does not seem to be visible in this case when long-pressed.
Currently trying to reproduce as it seems to work ok in the emulator. Originally occurred on a Jolla C but I don't have one. Will try my old Jolla 1 first.
See https://blog.tox.chat/2018/01/update-on-toxcore-and-the-upcoming-breaking-version/
Feel free to ask questions in #toktok
on freenode.
Hello, I am having this compilation error:
In file included from src/friend.cpp:1: src/friend.h:6:10: fatal error: tox/tox.h: No such file or directory #include <tox/tox.h>
I get even when I copy manually the file to "extra" directory.
I am not sure what I am doing wrong. Could you guide me please?
Thanks
Friend requests are currently stored directly in QSettings
without any "owner" identifier.
This causes an issue where changing a profile while an open friend-request is still present leads to getting that same request visible and acceptable from the new profile (although it won't work).
Friend requests should be stored in the SQLite DB alongside messages and wiped when a new profile is imported just as messages are.
NOTE: I think that toxcore currently gets into a funny state if a friend request was received but not accepted. It seems sending new ones will NOT deliver the request callback again which could lead to people who flipped profiles being unable to be added by the same person again. Further research is needed.
The application cover displays how many messages have been received since last time the user checked, but there is no notification in the phone UI, or LED color change.
Hi,
I'm one of the lead developers of https://github.com/qTox/qTox a desktop Tox client built with Qt. I noticed your project from being mentioned in in #toktok on freenode and wanted to know if you would be interested in creating a common Qt toxcore library so both our clients can build on a solid base and reduce the code duplication. If you're interested contact me over Tox or ping me on #qtox or #toktok.
Right now jTox always queries the bootstrap nodes on init. This should be done only once a week or so and a static nodes file should be kept and used.
In a conversation, there is no way to copy the message contents or open links by taping them.
In the current release of jTox (v1.3.0) using toxcore v.0.2.2, pressing the enter key will send the contents of your message input window instead of creating a new line. For multiple paragraphs, this can be worked around by copying and pasting a newline character into the tex tarea window, however I believe the best approach for jTox should be to configure the Enter key as new line and have a dedicated send button. Alternatively, holding Enter could create a new line while tapping enter could send the current message, this would save on screen real estate.
When a contact is offline, the textbox for typing messages is disabled (apparently), and does not react to taps. I would be better to replace the placeholder text too, with "contact offline", until the Faux offline messaging is implemented in #7.
futures releases codenames: Kit Kat, Kitty Kat
JTOX crash on a conversation Suddenly when sending a message the message that crash sends it well. But then when I start the app again. it puts that message that crash in the mode of sending without connection when it has already been sent before the crash, then that message is visualized sending without connection, and never send it again. Being the other friend active. Even if you send it before the crash
Once the screen is locked, it is impossible to predict when the application will go offline (because it is killed by SailFish). The UI and the connectivity part should be decoupled in order to allow the messaging service to perform as such.
Translated languages are not tested currently. Add manual setting for a language select.
Unencrypted profiles from uTox and Cyanide are not importable as jTox considers them bad.
There's currently a isEncrypted check. The logic should be extended to allow decrypted profiles to be imported and re-sealed with a new password.
hi
after install v.1.1.0 spanish translation not shipped in the new release
It gets worse: after restart it would try to send the message again and crash again, and so on.
Another problem is that unsent messages can't be removed by long press -> delete. Once you long press such a message the screen dims and there's no menu items visible. I suppose they're somewhere beyond the screen bounds?
Is there any other way to gently remove the message from sending queue without losing all the data? If that's a no would wiping history do the trick? I'm hesitant to try because I don't really want to risk losing my history to find out that it doesn't clear the unsent message queue.
The text message is a public PGP key, if that matters. I don't know if it can be reproduced with any key or this particular one, but I can share it if needed.
While there is a QR code function, it isn't possible to copy the key to the clipboard from the account window.
hello almindor
can you update translation.es files! thanks
The conversation titles and the key (in the account page) are in a font color that is very close to the background color for many themes, and are small, which does not help reading. Same goes for the mention "Tox ID touch for QR code", for which I had to focus a lot to read just right now. This aggravates the problem described in #6, since it further impairs the possibility to share a key.
When adding a contact, it is important that the user doesn't have to press "Enter" (or "Return") after pasting the fingerprint of that contact in order for the key to be validated. It is very impractical and goes against all widely used UX principles.
Just to say that it is a little confusing to have only the line "enter password" the first ever time you start jTox.
I was looking for a menu to import an account, but it appears only once another account has been created. Would be nice to be able to import an account at the first run!
Thanks.
Cheers.
When friend is offline there is no items in pullup menu but it's still visible and it confuses people.
Second thing is the time. You just pasted timestamp text. We need to split that into time and date to make it more readable (probably let's not add date if it's current day).
PS: I think i will do it :P
If a friend is added but isn't confirmed or has not been mutually online the name is just printed as public key.
There should be a way to set and remember friend names in jTox for "offline" friends until their names are recovered when they go online/confirm friend request.
Add auto-away timer that will change status from ready to away after a specified number of minutes of inactivity.
I noticed that jtox has static usage of 5-6% cpu on snapdragon 810 which causes lower battery life. We need to find out what does that and mininalize that.
If you add a contact to jTox, and then the application gets killed by SailFish for whatever reason, the contact won't be there when you open jTox again. This is a critical issue.
There's an issue that occurs between Toxic and jTox I described here:
Is it really a jTox / qTox issue or is it possible that something's going on on the Toxic side?
jTox currently doesn't do line breaks in the message edit field. This should be changed so long messages are easier to follow while editing.
As a corollary to #8, it might be interesting to print (with times) the network events in the conversation window (i.e. 'contact went offline', 'contact came back online', 'you went offline', 'you came back online') with the same timestamps as with the conversation.
The application displays for my key a QR code that mostly looks like a chess board. It's also not working with the QR code readers on android.
Translators should be mentioned in the About page in the app and credited.
Toxcore message limit is 1372 bytes specified by the tox_max_message_length ()
constant function. The documentation mentions auto-joining here but does not explain exactly what the difference between a full-size single message followed by a separate message and a split message would be when joining client-side.
I suspect it's using time-based check to only join messages when the previous message is full-sized and younger than a couple milliseconds to prevent inadvertent joins.
jTox should implement this as well.
Tox doesn't "hold" messages and can't send to offline targets. jTox should store the undeliverable messages with it's own status in the DB and try to send whenever given friend goes online.
In the current release of jTox (v1.3.0) with toxcore v0.2.2, double tapping the enter key while in a chat window will cause jTox to crash. Attempting to open jTox afterwards will result in normal function until the contact which was open during the crash comes online, at which point jTox will crash again. The only way to rectify the issue is to delete any jTox data found in .config and .local and then either create a new Tox ID or import a backup.
Right now it seems that if the app is in the background while a friend goes back online and there's a pending message it never delivers it.
Might be related to the 2s background mode polling (maybe toxcore skips events on such a long interval).
Certain notifications (like new friend request, new message) should change the LED color/blink if received while app is minimized.
HI almindor
I want to make a donation for this app, but I have a lot of difficulty setting up flatt, please provide via paypal on openrepos = )
can you add a DAEMON MODE to run in background! > This to get the message in real time, even though the app will close
can you add the new word in my harbour-jtox-es.ts to translate ? i am new in github i dont know how do it.
ONCE AGAIN THANKS FOR UR GREAT WORK!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.