1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 15:03:03 +01:00
Commit Graph

2091 Commits

Author SHA1 Message Date
jfreegman
f07283848f
Add timestamps to logger and enable widechar for bazel build 2022-03-07 11:26:44 -05:00
jfreegman
d113b92baa
Fix second bootstrap node info 2022-03-07 11:03:25 -05:00
jfreegman
59d1aed84c
Add second testnet bootstrap node 2022-03-06 16:01:31 -05:00
jfreegman
7c799b0b60
some logging code cleanup 2022-03-06 15:45:48 -05:00
jfreegman
df77dbfeae
Add support for new voice state feature 2022-03-06 15:45:47 -05:00
jfreegman
a7bee7e031
Fix name change notifications
Due to recent core changes we now need to store a peer's
previous name instead of relying on API lookups via the
peer_id in the name change callback in order to display
the correct info
2022-03-06 15:45:47 -05:00
jfreegman
a9ccaeab8d
Fix some weird/incorrect code for printing private messages 2022-03-06 15:45:47 -05:00
jfreegman
a04da99aff
Remove usage of deprecated API typedefs 2022-03-06 15:45:46 -05:00
jfreegman
13c38406e1
Hardcode testnet bootstrap node 2022-03-06 15:45:46 -05:00
jfreegman
73cfe94eb2
Add more descriptive errors to some moderation commands 2022-03-06 15:45:45 -05:00
jfreegman
229d334b75
Properly handle group mod event
We now update all peer roles if we get a moderation event
in which the peer ID is invalid, per recent API changes
2022-03-06 15:45:45 -05:00
jfreegman
375f511f70
Fix duplicate config example line 2022-03-06 15:45:45 -05:00
jfreegman
0907087439
Fix possible null deref 2022-03-06 15:45:44 -05:00
jfreegman
e1576e23b7
Update function name (merge conflict) 2022-03-06 15:45:44 -05:00
jfreegman
7f29705966
Refactor peer-specific commands
This takes into account the possibility of multiple peers in
the group using the same nick. The /whois command now lists
all peers associated with the input name, and all commands
that target a peer with a non-unique nick will require the
public key to be used.
2022-03-06 15:45:44 -05:00
jfreegman
493dfeff22
Fix rebase mistakes 2022-03-06 15:45:43 -05:00
jfreegman
e9f8293a0a
Add topic lock command and callbacks 2022-03-06 15:45:43 -05:00
jfreegman
1d8aafba3b
Don't announce/alert on self group join 2022-03-06 15:45:43 -05:00
jfreegman
f16aa35ebc
Make /whois show both public key and name 2022-03-06 15:45:42 -05:00
jfreegman
a5b44dffd2
Add the ability to make peer-specific commands using public keys
This allows us to use commands on peers who may be using nicks with strange
or unsupported unicode characters
2022-03-06 15:45:42 -05:00
jfreegman
408c8f7c10
Add /list command that lists all group peers w/ public keys 2022-03-06 15:45:41 -05:00
jfreegman
85f9c1241c
Remove some unnecessary code 2022-03-06 15:45:41 -05:00
jfreegman
6c88be7255
Re-add /group command
Another one lost in a rebase
2022-03-06 15:45:41 -05:00
jfreegman
707fb7f107
Add connection type to whois group peer queries 2022-03-06 15:45:40 -05:00
jfreegman
9a885ed2ba
Remove redundant command /mykey
You can get your own key with the /whois command
2022-03-06 15:45:40 -05:00
jfreegman
d52604f43c
Add groupchat help menu
It seems to have disappeared after a recent rebase
2022-03-06 15:45:40 -05:00
jfreegman
c136d18fc4
Disable DHT nodeslist fetching temporarily
We don't want to fetch the mainnet nodes list when we're on
the NGC testnet. This should be fixed before the NGC merge
2022-03-06 15:45:39 -05:00
jfreegman
2444b1f79a
Merge with master (V0.11.1) 2022-03-06 15:45:39 -05:00
jfreegman
ad238fc2fd
Sync with master branch 2022-03-06 15:45:39 -05:00
jfreegman
2625094d34
Fix/update groupchat UI 2022-03-06 15:45:38 -05:00
jfreegman
9848ca902e
Fix bug causing group PM's to increment window notifications by 2 instead of 1 2022-03-06 15:45:38 -05:00
jfreegman
4c903bab64
Port fix for invalid error handling of widechar conversions from master 2022-03-06 15:45:37 -05:00
jfreegman
0a0756ec6a
Fix/update group logging implementation 2022-03-06 15:45:37 -05:00
jfreegman
18ef7ff693
Fix merge conflicts with master 2022-03-06 15:45:37 -05:00
jfreegman
e6136d45d2
Implement new groupchats 2022-03-06 15:45:34 -05:00
jfreegman
310cf464d0
Fix bug causing messages containing newline byte to disappear
The wcswidth() function was silently failing when trying to convert
messages containing a newline to a widechar buffer which resulted
in the message showing up as an empty line. we now fall back
to using strlen to get the width of the string, which might still
cause minor display bugs when the message contains unicode, but is
still better than losing messages entirely.
2022-03-02 15:58:21 -05:00
jfreegman
0c11b3121a
Update static musl build script
Bump toxcore to v0.2.16 and add new msgpack dependency
2022-02-20 13:12:23 -05:00
jfreegman
1bdf0041bc
Bump toxic and curl versions in static build script 2022-02-12 21:17:19 -05:00
jfreegman
6a203fd7bf
Make sure we compare wchars to wchars instead of bytes 2022-02-03 13:01:08 -05:00
iphydf
93b3bbd5f6
chore: Use latest instead of versioned toktok-stack image. 2022-01-30 19:32:00 +00:00
jfreegman
e122c5dbca
Use widechars to display strings in the UI
This fixes a bug where printing a bunch of UTF8 chars with glyphs
that have a size > 1 would make the entire chat window disappear.
It also fixes an issue where said UTF8 chars would be truncated
and generally not display correctly.
2022-01-27 15:45:56 -05:00
jfreegman
f6f41a510b
Add some simple impersonation detection on friend requests
This will alert the user when the first six bytes of a new
contact's public key is the same as any other contact in
their list. These 6 bytes are used elsewhere in toxic for
unique identification.

Also did a small refactor regarding the KEY_IDENT_BYTES
define
2022-01-23 11:32:57 -05:00
jfreegman
05dbc626e2
Make sure we check for duplicate paths in pending file transfers list
This fixes a bug where if you receive multiple file transfer
requests simultaneously and they have the same path the files
will overwrite each other
2022-01-17 10:53:34 -05:00
iphydf
ceb175e3f1
chore: Add check that the static build script works.
Otherwise it'll break again in the future and we won't know.
2022-01-13 01:37:24 +00:00
Maxim Biro
4bd1d9bfee
Update libbrotli pc file sed
libbrotli has updated its .pc files since the last sed was written, so
it didn't work anymore, resulting in Toxic build failing. However, the
way they have updated it, it's still broken, so a different sed is
needed.
2022-01-05 15:55:30 -05:00
Maxim Biro
55944aa5a9
Remove broken Docker check
The Docker detection method doesn't work on cgroup v2 systems, so the
script just keeps erroring out.

There doesn't seem to be a simple way to detect that we are running
inside a Docker container, so it makes sense to drop that check
altogether.
2022-01-05 15:52:57 -05:00
Maxim Biro
b71c6a3792
Improve static build script documentation 2022-01-05 15:51:52 -05:00
jfreegman
0239509439
Bump version to 0.11.3 and update toxcore version in static build script 2021-12-24 14:21:26 -05:00
jfreegman
602d9d97c1
Send file control cancel when we block or delete a friend 2021-12-22 14:53:09 -05:00
jfreegman
6f8f6f0ac5
Implement file transfer queue for offline friends
File transfers initiated for offline friends are now
added to a queue and initiated all at once when the friend
appears online.
2021-12-22 14:27:28 -05:00