sudden6
cef773c4f6
fix(AVForm): don't load gain when device not ready
...
This fixes a problem when the audio backend is not yet ready, but we try
to access it's volume.
6 years ago
Anthony Bilinski
c12605db6d
fix(history): create file_transfers table in upgrade
...
* bug introduced in refactor 329172321d
6 years ago
Anthony Bilinski
e9f8795197
fix(ui): show empty status as placeholder instead of as status
6 years ago
Anthony Bilinski
329172321d
refactor(history): create db as part of schema upgrade
...
* update user_version as part of transaction, so that we rollback if update fails and don't increment version
* differentiate between two user_version 0 versions, to avoid the SQL error on new profile creation
* make table creation dependent on user_version, instead of creating tables if not exists every start
6 years ago
sudden6
e7e35642d7
refactor(audio): introduce IAudioSource interface and use it
6 years ago
Anthony Bilinski
2ccb1ec150
fix(history): save name to history for friend invite message
...
This avoids an extra alias table entry for the empty name. It is not possible to safely heal existing databases, since friend invite message is a normal action message making it hard to change the alias ID used by it, and the alias in the alias table could be used by any other messages if the user's name has ever truely been blank. Just avoid the incorrect alias entry for new chats.
6 years ago
sudden6
a8546fe8cb
refactor: use smart pointer instead of raw pointer
6 years ago
sudden6
47402fae90
refactor: run formatting script
6 years ago
sudden6
5b908184fc
refactor(audio): move audio output to new IAudioSink interface
6 years ago
sudden6
c61fcd1f2b
refactor(audio): create interface for audio sinks and sources
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
e1876a2691
refactor(status): remove Status::getFromString and Status::getIconPixmap
...
getFromString is unused and incompatible with translated UI names, getIconPixmap is unused and completely generic.
6 years ago
Anthony Bilinski
dd007877a9
refactor(status): move Status out of Widget
6 years ago
Anthony Bilinski
e1f7edd298
chore(i18n): add pt_BR translation
6 years ago
Anthony Bilinski
0dc46cdc81
fix(ui): fix typo, add plural to translation
6 years ago
Diadlo
15d72a9610
fix: Call 'tr' in place, where text is accessible
6 years ago
TriKriSta
504b9b2014
style: edit style for QSplitter
6 years ago
TriKriSta
00aac5f152
style: edit styles
...
add custom themes in AboutFriendForm
edit style for QSpinBox disable
edit palette color for dark theme and etc
6 years ago
Anthony Bilinski
c0fdc42e33
refactor(mime): store ToxPk and GroupId as mimedata
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
sudden6
0da72e22d3
refactor: remove dead code
6 years ago
Anthony Bilinski
9b6019390b
refactor(groups): create Group on group join, assert Group exists on callbacks
6 years ago
TriKriSta
191f89ffa4
feat: add border for qrcode
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
f03262e98b
refactor(core): remove duplicate code and checks
6 years ago
sudden6
b033b5095b
refactor(core): use mutable keyword instead of smart pointer
6 years ago
sudden6
66f72ee863
refactor(core): remove unused function
...
This function would always return true for any non destroyed Core
object.
6 years ago
sudden6
93a7fdfe03
refactor(core): cleanup Core public functions
6 years ago
Anthony Bilinski
216766061c
refactor(avatar): split up setAvatar function
...
Don't convert to QPixMap before saving. Allow for use of file without re-encoding once metadata stripping is available for PNGs.
6 years ago
Anthony Bilinski
dfec934ff0
fix(alias): allow clearing alias from chatformheader
...
Now has the same logic as FriendWidget. Before clearing the field would result in no change being made, instead of clearing the alias.
6 years ago
TriKriSta
db962690bd
style: edit styles for myltiple windows
6 years ago
TriKriSta
d1715500f7
style: use css files for toxId
6 years ago
Anthony Bilinski
bef9d4b773
fix(settings): load personal settings before constructing core
...
Fix proxy settings not being passed to toxcore, bug present since
8574162949
. Not present in any releases.
6 years ago
Anthony Bilinski
e7f523bc9a
refactor(messages): don't use receipt 0 as unsent, simplify class state
6 years ago
Anthony Bilinski
477950737f
fix(UI): update peer label's style after setting audio playing property
6 years ago
Anthony Bilinski
7f802f593e
fix(ui): update UI when leaving group call due to being last member
6 years ago
sudden6
cd50376c2f
fix(notification): implement review comments
6 years ago
sudden6
4cb00957f3
feat(notify): integrate desktop notifications into settings
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
5ed1065230
style: edit colors for transfer widget
6 years ago
Anthony Bilinski
18b52ce568
fix: register RowId meta type for use in fileInserted signal
6 years ago
sudden6
b7b9b58d42
refactor: make ToxCall non-moveable
...
We don't need move functionality and the code for it is complex and
error prone.
6 years ago
Anthony Bilinski
e489168775
fix(groups): add peers if already playing audio when netcam created
6 years ago
Anthony Bilinski
7c13b8b7db
fix(groups): don't add peers to netcam view until they play audio
...
Fix #5536
6 years ago
sudden6
80f5cb5f7a
fix(audio): input device not closed under certain circumstances
...
fixes #3625
Input device was not closed after the following steps:
- Select "Disabled" for audio source
- Switch away from A/V settings
- Switch back to A/V settings
- Switch to some audio input device
- Switch away from A/V settings
-> audio input device still open, but unused
7 years ago