Anthony Bilinski
17048c9cc4
feat(ui): add event icons for all statuses
...
Before we would alternate between status icon and online event icon.
Now each status has its own event version, so status doesn't appear to
alternate between online and the correct status.
6 years ago
Anthony Bilinski
c8b156b3a1
feat(settings): save friend list sorting mode
6 years ago
Anthony Bilinski
d55332ee0a
fix(activity): change last activity time from QDate to QDateTime
...
* Allows for strict sorting based on last activity in the future
6 years ago
Anthony Bilinski
5f40ed8d8c
fix(friendlist): don't update friend's last activity on every start
...
Fix #5035
6 years ago
Anthony Bilinski
b7bd7c6215
refactor(group): move peer tracking logic to Group from GroupChatForm
...
* increase signal granularity
* reduce state in GroupChatForm
* remove differentiation of "joined" and "online" peers, it doesn't exist in toxcore and can't be tracked reliably in qTox
* add system message when peer name changes, even if due to alias
* add system message when self name changes, for clarity
6 years ago
Anthony Bilinski
04f1ccda35
fix(group): treat empty peer names like empty friend names, by showing pk
...
Fix #5660
6 years ago
Anthony Bilinski
08839b7052
refactor(group): remove redundant updatePeer API
6 years ago
Anthony Bilinski
e9f8795197
fix(ui): show empty status as placeholder instead of as status
6 years ago
sudden6
5b908184fc
refactor(audio): move audio output to new IAudioSink interface
6 years ago
Anthony Bilinski
881aa3083a
fix(status): use enum as UI property instead of untranslated string
...
Translation of getStatusTitle introduced in 15d72a9610
, breaking asset path from string.
6 years ago
Anthony Bilinski
dd007877a9
refactor(status): move Status out of Widget
6 years ago
Diadlo
15d72a9610
fix: Call 'tr' in place, where text is accessible
6 years ago
Anthony Bilinski
f7603c294b
refactor(id): use toxPk and groupId instead of core numbers
...
Allows creating classes for blocked friends which have toxPks but no
core number.
6 years ago
Anthony Bilinski
ec500b6673
refactor(status): add Blocked status, deduplicate status parsing
...
Blocked status will represent friends who are removed from Toxcore, but who still exist in UI and can be readded to Toxcore at a future time using their public key. Blocked friends are similar to offline friends, but have a different status icon and will be seperated in the friends list.
6 years ago
Anthony Bilinski
0f5ad725d7
fix(groups): fix assert on group invite accept
6 years ago
Anthony Bilinski
df62463e27
fix(widget): fix freeze on showMainGui
...
Don't use copied uninitialized shadowing Core* in Widget
6 years ago
Anthony Bilinski
97d05f9d67
refactor(id): make ContactId interface, implement GroupId
...
Precursor for group history, friend blocking
6 years ago
sudden6
229ca307cf
refactor: remove unused functions detected by cppcheck
...
Note: Some more functions were detected, but this are the ones I'm
pretty sure we don't need.
6 years ago
Anthony Bilinski
9b6019390b
refactor(groups): create Group on group join, assert Group exists on callbacks
6 years ago
sudden6
a4ad8c71b8
refactor(core): make CoreFile its own independent class
...
This paves the way for better testability of Core as well as CoreFile.
6 years ago
sudden6
93a7fdfe03
refactor(core): cleanup Core public functions
6 years ago
TriKriSta
db962690bd
style: edit styles for myltiple windows
6 years ago
Anthony Bilinski
e7f523bc9a
refactor(messages): don't use receipt 0 as unsent, simplify class state
6 years ago
sudden6
cd50376c2f
fix(notification): implement review comments
6 years ago
sudden6
66e2c01029
feat(notify): add desktop notifications using snorenotify
...
This commit adds very basic support for desktop notifications on friend
request, group invites, friend messages and group messages.
6 years ago
TriKriSta
d517c3a638
fix: initialization theme
7 years ago
TriKriSta
e146c11f0f
feat: edit reload themes
7 years ago
TriKriSta
87d6883a0f
style: add dark style
7 years ago
Anthony Bilinski
d2508e7eac
fix(groups): check for label in timer audio playing timer callback
...
If peer quits the group and they were just playing audio, their label will be removed but their timer will still be running. Unguarded update of label causes segfault.
Fix #5511
7 years ago
Anthony Bilinski
13afbf7ec6
fix(groups): avoid having to lookup peer pk
...
Caused race where peer plays audio, then is removed from group, then we
process audio played signal and lookup their peerId in core where it
doesn't exist. Now Group will effectively contain the peer until the
peer list changed slot is processed.
Partial fix for #5511
7 years ago
Anthony Bilinski
edf6b67313
refactor(core): strong type message receipt and row ID
...
Avoid implicit casting and invalid arithmetic.
7 years ago
Anthony Bilinski
5289c99962
feat(core): add send message error handling
...
remove unused sendMessageResult signal
7 years ago
sudden6
08f368da43
fix(widget): always force show window on activate event
...
fixes #5459
7 years ago
Anthony Bilinski
51cf712a78
refactor(widget): call Settings::getInstance only once in Widget
7 years ago
Anthony Bilinski
8bf059bb2e
chore(ui): remove broken auto update
...
No need to keep it ifdef'd out in code, it can be re-added from git history instead once fixed.
7 years ago
Anthony Bilinski
6c9d7b59c1
feat(ui): add update notification enabled with -DUPDATE_CHECK
...
Fix #5335
7 years ago
Diadlo
3f5105d5c1
refactor: Connect ContentDialog::setStatusMessage to friend directly
7 years ago
Diadlo
2b3918b25e
refactor: Remove using of remove{Friend,Group}
7 years ago
Diadlo
ee5a7d8e94
refactor: Move some methods back to ContentDialog
...
Store in ContentDialog list of widgets and list of ContentDialogs in
ContentDialogManger
7 years ago
Diadlo
7ad8607c43
refactor: Create ContentDialogManager
...
Move all static methods from ContentDialog to ContentDialogManger. Make
if singletone for the first time. Also move some methods to avoid
compile errors.
7 years ago
Diadlo
a446d9b197
refactor: Remove ContentDialog::openNewDialog
...
It duplicates logic on Widget::openNewDialog
7 years ago
Monsterovich
96ad27f644
fix(core): ignore mentioning users with empty nicknames
7 years ago
Monsterovich
01f79b0d08
fix(core): update group peerLists on local changes
7 years ago
TriKriSta
147cec3312
refactor: rename a css file.
7 years ago
Anthony Bilinski
8db744a505
feat(core): set group title for loaded groups
...
Replace double static_cast of pointer with reinterpret_cast.
reinterpret_cast in unsafe because the underlying data may be
meaningless in the new type, static cast to void then to a new pointer
type has exactly the same problem. This is our intention here.
7 years ago
sudden6
6097c3f94f
refactor: remove Nexus::quit() and replace with qApp->quit()
...
They are doing the same.
7 years ago
Patrick
37e5b6ce8b
fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms
7 years ago
sudden6
7fa2dfead5
refactor(coreav): move CoreAV to the factory pattern too
...
- clean up error handling during construction of the Core
- prevent leaks by using unique_ptr
7 years ago
sudden6
2ab081b4a9
refactor: remove support for c-toxcore < 0.2.0
...
This code is only a maintainance burden and not used anymore.
7 years ago
Monsterovich
a4a8e361d0
fix(ui): groupcolors fix2
7 years ago