1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-14 17:33:02 +01:00
Commit Graph

2100 Commits

Author SHA1 Message Date
jfreegman
22eb6797b1
Fix another group peerlist scrolling bug 2022-03-18 12:24:06 -04:00
jfreegman
0edad7b862
Fix group peerlist scrolling bug 2022-03-18 12:24:06 -04:00
jfreegman
cc80da00fc
Increase how long we wait after joining a group before showing peer join messages 2022-03-18 12:24:06 -04:00
jfreegman
32efac931c
Connect second testnet bootstrap node to ipv4 instead of 6 2022-03-18 12:24:05 -04:00
jfreegman
4f936e5f9c
Add higher precision for logging timestamps 2022-03-18 12:24:05 -04:00
jfreegman
529d905bd0
Add timestamps to logger and enable widechar for bazel build 2022-03-18 12:24:05 -04:00
jfreegman
631b1d8b08
Fix second bootstrap node info 2022-03-18 12:24:04 -04:00
jfreegman
9ac8d517e9
Add second testnet bootstrap node 2022-03-18 12:24:04 -04:00
jfreegman
90152f5e17
some logging code cleanup 2022-03-18 12:24:04 -04:00
jfreegman
4d501aeb2a
Add support for new voice state feature 2022-03-18 12:24:03 -04:00
jfreegman
1b9f4f337a
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-18 12:24:03 -04:00
jfreegman
812f2d1ff9
Fix some weird/incorrect code for printing private messages 2022-03-18 12:24:03 -04:00
jfreegman
2eeb1de20d
Remove usage of deprecated API typedefs 2022-03-18 12:24:02 -04:00
jfreegman
ba896fd124
Hardcode testnet bootstrap node 2022-03-18 12:24:02 -04:00
jfreegman
3ff3516e42
Add more descriptive errors to some moderation commands 2022-03-18 12:24:02 -04:00
jfreegman
2ef3d68173
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-18 12:24:01 -04:00
jfreegman
7a099f86c8
Fix duplicate config example line 2022-03-18 12:24:01 -04:00
jfreegman
9a629072b3
Fix possible null deref 2022-03-18 12:24:00 -04:00
jfreegman
27259ff23f
Update function name (merge conflict) 2022-03-18 12:24:00 -04:00
jfreegman
f786b7ae6a
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-18 12:24:00 -04:00
jfreegman
cd4a5e5fde
Fix rebase mistakes 2022-03-18 12:23:59 -04:00
jfreegman
0b32b985f1
Add topic lock command and callbacks 2022-03-18 12:23:59 -04:00
jfreegman
5851cb2dd8
Don't announce/alert on self group join 2022-03-18 12:23:59 -04:00
jfreegman
1847025213
Make /whois show both public key and name 2022-03-18 12:23:58 -04:00
jfreegman
1a2320b035
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-18 12:23:58 -04:00
jfreegman
1211899a40
Add /list command that lists all group peers w/ public keys 2022-03-18 12:23:58 -04:00
jfreegman
5dabaac804
Remove some unnecessary code 2022-03-18 12:23:57 -04:00
jfreegman
4f26171e3f
Re-add /group command
Another one lost in a rebase
2022-03-18 12:23:57 -04:00
jfreegman
fa075f1972
Add connection type to whois group peer queries 2022-03-18 12:23:57 -04:00
jfreegman
cbf3145aee
Remove redundant command /mykey
You can get your own key with the /whois command
2022-03-18 12:23:56 -04:00
jfreegman
06bdb0d167
Add groupchat help menu
It seems to have disappeared after a recent rebase
2022-03-18 12:23:56 -04:00
jfreegman
0212391d7d
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-18 12:23:56 -04:00
jfreegman
535a8402d6
Merge with master (V0.11.1) 2022-03-18 12:23:55 -04:00
jfreegman
2c51afd9ef
Sync with master branch 2022-03-18 12:23:55 -04:00
jfreegman
4aca8b6ecb
Fix/update groupchat UI 2022-03-18 12:23:55 -04:00
jfreegman
28be56aad9
Fix bug causing group PM's to increment window notifications by 2 instead of 1 2022-03-18 12:23:54 -04:00
jfreegman
38004367a1
Port fix for invalid error handling of widechar conversions from master 2022-03-18 12:23:54 -04:00
jfreegman
5499bb6645
Fix/update group logging implementation 2022-03-18 12:23:53 -04:00
jfreegman
ed8ba89cd8
Fix merge conflicts with master 2022-03-18 12:23:53 -04:00
jfreegman
812210d63f
Implement new groupchats 2022-03-18 12:23:53 -04:00
jfreegman
cec96e1ea3
Use calloc instead of malloc for new message queue items
This prevents us from accidentally using uninitialized memory
2022-03-18 12:17:50 -04:00
iphydf
eb7e6151a2
cleanup: Ensure python_api.c is never completely empty.
C doesn't allow this, there must be at least some declarations in it,
even if no code.
2022-03-17 17:52:37 +00:00
jfreegman
22ca3704d2
Use a small hack to get around an ncurses buffer overread
Patch by iphydf
2022-03-16 16:31:41 -04:00
iphydf
fdfaaf953f
cleanup: Remove all uses of deprecated enum names.
All-caps enum names have been deprecated for a while now and will go
away in 0.3.0.
2022-03-07 19:20:35 +00: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