TriKriSta
191f89ffa4
feat: add border for qrcode
2019-04-10 23:26:48 +03:00
sudden6
a4ad8c71b8
refactor(core): make CoreFile its own independent class
...
This paves the way for better testability of Core as well as CoreFile.
2019-04-10 10:28:13 +02:00
sudden6
f03262e98b
refactor(core): remove duplicate code and checks
2019-04-10 10:28:13 +02:00
sudden6
b033b5095b
refactor(core): use mutable keyword instead of smart pointer
2019-04-10 10:28:13 +02:00
sudden6
66f72ee863
refactor(core): remove unused function
...
This function would always return true for any non destroyed Core
object.
2019-04-10 10:28:12 +02:00
sudden6
93a7fdfe03
refactor(core): cleanup Core public functions
2019-04-10 10:28:09 +02:00
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.
2019-04-08 23:45:47 -07:00
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.
2019-04-08 04:42:14 -07:00
TriKriSta
db962690bd
style: edit styles for myltiple windows
2019-03-31 19:54:12 +03:00
TriKriSta
d1715500f7
style: use css files for toxId
2019-03-31 17:57:17 +03:00
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.
2019-03-30 02:40:51 -07:00
Anthony Bilinski
e7f523bc9a
refactor(messages): don't use receipt 0 as unsent, simplify class state
2019-03-26 19:28:29 -07:00
Anthony Bilinski
477950737f
fix(UI): update peer label's style after setting audio playing property
2019-03-24 17:41:28 -07:00
Anthony Bilinski
7f802f593e
fix(ui): update UI when leaving group call due to being last member
2019-03-24 17:39:55 -07:00
Anthony Bilinski
ca02dcefaa
Merge pull request #5584
...
TriKriSta (2):
style: edit colors for transfer widget
refactor: delete unused files
2019-03-24 15:14:51 -07:00
sudden6
cd50376c2f
fix(notification): implement review comments
2019-03-24 11:58:10 +01:00
sudden6
4cb00957f3
feat(notify): integrate desktop notifications into settings
2019-03-24 11:58:10 +01:00
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.
2019-03-24 11:58:09 +01:00
TriKriSta
5ed1065230
style: edit colors for transfer widget
2019-03-23 14:58:44 +02:00
Anthony Bilinski
18b52ce568
fix: register RowId meta type for use in fileInserted signal
2019-03-21 14:00:59 -07:00
sudden6
b7b9b58d42
refactor: make ToxCall non-moveable
...
We don't need move functionality and the code for it is complex and
error prone.
2019-03-17 19:32:34 +01:00
Anthony Bilinski
e489168775
fix(groups): add peers if already playing audio when netcam created
2019-03-08 09:08:29 -08:00
Anthony Bilinski
7c13b8b7db
fix(groups): don't add peers to netcam view until they play audio
...
Fix #5536
2019-03-08 09:08:29 -08:00
sudden6
86415cb71c
Merge pull request #5564
...
TriKriSta (1):
refactor: edit styles
2019-03-07 11:20:09 +01:00
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
2019-03-04 23:20:36 +01:00
TriKriSta
f64bb48a92
refactor: edit styles
...
edit typing color and image,
move colors for background selected text and background searched text
in palette files
2019-03-02 01:58:58 +02:00
sudden6
acef759a58
feat: remove old boostrap nodes code
...
This commit replaces the bootstrap node list in the qtox.ini file with
the boostrapnodeupdater class.
2019-03-01 10:39:24 +01:00
sudden6
1f2bdf3a1b
feat: load bootstrap nodes directly from JSON
...
This allows us to easily update the list of bootstrap nodes.
2019-03-01 10:39:24 +01:00
sudden6
d6d433c617
Merge pull request #5558
...
TriKriSta (8):
style: add dark style
refactor: move palette colors in ini files
feat: edit reload themes
refactor: rename palette colors
style: edit styles
feat: add color for links in palette
refactor: edit variables for themes
fix: initialization theme
2019-02-26 18:20:28 +01:00
TriKriSta
d517c3a638
fix: initialization theme
2019-02-24 23:26:10 +02:00
TriKriSta
827e3b734c
refactor: edit variables for themes
2019-02-24 16:22:59 +02:00
sudden6
4fe6addb04
Merge pull request #5532
...
TriKriSta (1):
feat: show date in chat log
2019-02-24 11:59:14 +01:00
TriKriSta
d35dbcc870
feat: add color for links in palette
2019-02-23 19:40:59 +02:00
TriKriSta
9a82d8144f
style: edit styles
2019-02-23 19:00:50 +02:00
TriKriSta
c6142e4287
refactor: rename palette colors
2019-02-22 18:01:43 +02:00
TriKriSta
e146c11f0f
feat: edit reload themes
2019-02-21 15:53:31 +02:00
TriKriSta
5bc27b08bc
refactor: move palette colors in ini files
2019-02-20 15:42:53 +02:00
sudden6
4e76084c6f
fix(ui): add tooltip to about friend window
...
This is to explain what the public key can be used for and that it's not
a ToxID.
2019-02-19 22:44:57 +01:00
TriKriSta
87d6883a0f
style: add dark style
2019-02-19 16:21:44 +02:00
Ivan Sorokin
ea18b613ba
fix: fix uninitialized variable
...
undefined behavior sanitizer complained about uninitialized variable:
src/widget/form/chatform.cpp:781:9: runtime error: load of value 190, which is not a valid value for type 'bool'
2019-02-15 11:51:50 +01:00
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
2019-01-29 11:20:15 -08:00
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
2019-01-29 08:30:39 -08:00
TriKriSta
d0e8ba8b9c
feat: show date in chat log
2019-01-28 21:15:52 +02:00
Anthony Bilinski
edf6b67313
refactor(core): strong type message receipt and row ID
...
Avoid implicit casting and invalid arithmetic.
2019-01-28 10:58:54 -08:00
Anthony Bilinski
8422c09f6a
fix(groups): don't invalidate all audio sources when peer list changes
...
Fix #5508
2019-01-27 23:13:11 -08:00
Anthony Bilinski
093962e3ec
fix(groups): don't freeze when opening AV settings during group call
...
Fix #5510
2019-01-27 17:55:24 -08:00
Anthony Bilinski
d6abf76a27
fix(groups): correctly show peers in the call after joining call
...
Fix #5506
2019-01-27 17:05:31 -08:00
Anthony Bilinski
ec07fd7291
feat(groups): show who is in a group call before joining
...
Fix #5507
2019-01-27 15:57:38 -08:00
Anthony Bilinski
5289c99962
feat(core): add send message error handling
...
remove unused sendMessageResult signal
2019-01-27 04:52:36 -08:00
sudden6
5afa78cd4d
refactor(ipc): cleanup and improve debug messages
2019-01-25 11:16:06 +01:00
sudden6
49507d76d8
Merge pull request #5500
...
crypto-universe (1):
feat(chatfom): make magnet links clickable
2019-01-18 09:54:50 +01:00
crypto-universe
5b1bc7e523
feat(chatfom): make magnet links clickable
...
Add one more rergular expression that should match magnet links.
Unfortunately, magnet links may contain a lot of spaces, so
the message after the link may also be treated as a part of link.
2019-01-17 20:00:34 +01:00
sudden6
f5aa07f569
Merge pull request #5499
...
Teemu Ikonen (1):
fix(ui): provide context when emitting friendWidgetRenamed()
2019-01-16 23:59:32 +01:00
sudden6
0f90abebdd
perf(smileys): create global regex object
...
This prevents recompiling the regex for every message
2019-01-16 15:53:33 +01:00
sudden6
58f8a14a48
perf(smileys): use one big regex instead of constructing many small ones
2019-01-16 15:53:23 +01:00
Teemu Ikonen
0b6d6d7715
fix(ui): provide context when emitting friendWidgetRenamed()
...
Qt5 documentation at http://doc.qt.io/qt-5/signalsandslots.html
explains:
"[...] we provide /this/ as context in the call to connect(). The
context object provides information about in which thread the receiver
should be executed. This is important, as providing the context ensures
that the receiver is executed in the context thread."
Fixes #5495 .
2019-01-16 08:45:16 +02:00
Teemu Ikonen
4c42e0ea5b
fix(video): support UYVY camera pixel format
...
Fixes #5479 .
2019-01-15 13:36:09 +02:00
Anthony Bilinski
55ef1e0370
Merge pull request #5489
...
Teemu Ikonen (1):
fix(ui): tighten idealSize() for chatlog Timestamps
2019-01-13 18:01:35 -08:00
sudden6
08f368da43
fix(widget): always force show window on activate event
...
fixes #5459
2019-01-13 23:59:34 +01:00
Teemu Ikonen
c9f3830bc2
fix(ui): tighten idealSize() for chatlog Timestamps
...
Make Text::idealSize() a virtual function and override it in the derived
class Timestamp. The idealSize() function for Timestamps now returns a
tighter size to enable better right-alignment of the timestamps in
chatlog.
Fixes #3957 . Note that this change assumes that timestamps do not
contain RTL text.
2019-01-14 00:07:18 +02:00
Anthony Bilinski
92d3c959a1
fix(groups): only leave audio call if in a call
...
Removes debug log spam of leaving audio call every time someone joins a
text group.
2019-01-09 01:23:27 -08:00
Anthony Bilinski
51cf712a78
refactor(widget): call Settings::getInstance only once in Widget
2019-01-08 09:03:19 -08:00
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.
2019-01-08 09:03:12 -08:00
Anthony Bilinski
6c9d7b59c1
feat(ui): add update notification enabled with -DUPDATE_CHECK
...
Fix #5335
2019-01-08 09:02:17 -08:00
Monsterovich
72bcc6acaf
fix(core): if your username is empty, use toxPK instead in groups
2019-01-05 23:21:39 +02:00
Monsterovich
066bdc5cc1
fix(core): also print PKs in group userlist
2019-01-05 15:58:59 +02:00
Monsterovich
ee500703aa
fix(core): this should resolve message handling in persistent groups
2019-01-05 15:50:06 +02:00
sudden6
aa83edf759
Merge pull request #5469
...
Monsterovich (10):
feat(core): print a chat log entry when a user joins/leaves the group chat
fix(core): fixed Timestamps
fix(core): simplify the code
fix(core): fix formatting
fix(core): this fixes displaying nickname refreshes in groups
fix(core): support user aliases
fix(core): update group peerLists on local changes
fix(core): fix for users without nicknames
fix(core): ignore mentioning users with empty nicknames
fix(core): fixed syntax
2019-01-04 14:56:55 +01:00
Monsterovich
7a437c7449
fix(core): fixed syntax
2018-12-27 12:48:04 +02:00
Diadlo
68bf26305c
style: Fix EOF, remove trailing space and add braces
2018-12-27 09:15:24 +03:00
Diadlo
3f5105d5c1
refactor: Connect ContentDialog::setStatusMessage to friend directly
2018-12-27 09:15:24 +03:00
Diadlo
52f8ba48c4
refactor: Remove using Manager from ContentDialog
2018-12-27 09:15:24 +03:00
Diadlo
65a5b5121d
refactor: Remove ContactInfo and it's usage
2018-12-27 09:15:24 +03:00
Diadlo
c11b3730c9
refactor: Rewrite isWidgetActive
2018-12-27 09:15:24 +03:00
Diadlo
4353468647
refactor: Rewrite update status message
2018-12-27 09:15:24 +03:00
Diadlo
8937f87f87
refactor: Rewrite update status
2018-12-27 09:15:24 +03:00
Diadlo
bb08d628fb
refactor: Rewrite getDialog
2018-12-27 09:15:24 +03:00
Diadlo
9129f256fa
refactor: Rewrite widget exists check
2018-12-27 09:15:24 +03:00
Diadlo
b806f9e7e3
refactor: Rewrite focus{Friend,Group}
2018-12-27 09:15:24 +03:00
Diadlo
2b3918b25e
refactor: Remove using of remove{Friend,Group}
2018-12-27 09:15:24 +03:00
Diadlo
ee5a7d8e94
refactor: Move some methods back to ContentDialog
...
Store in ContentDialog list of widgets and list of ContentDialogs in
ContentDialogManger
2018-12-27 09:15:24 +03:00
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.
2018-12-27 09:15:24 +03:00
Diadlo
a446d9b197
refactor: Remove ContentDialog::openNewDialog
...
It duplicates logic on Widget::openNewDialog
2018-12-27 09:15:24 +03:00
sudden6
e1d912bbeb
Merge pull request #5472
...
Diadlo (1):
fix: Store groupId in D&D mime data
2018-12-26 23:37:35 +01:00
Monsterovich
96ad27f644
fix(core): ignore mentioning users with empty nicknames
2018-12-26 19:51:32 +02:00
Monsterovich
2000bf55f2
fix(core): fix for users without nicknames
2018-12-26 19:15:43 +02:00
Monsterovich
01f79b0d08
fix(core): update group peerLists on local changes
2018-12-26 19:15:37 +02:00
Monsterovich
feee0e767f
fix(core): support user aliases
2018-12-26 19:15:30 +02:00
Monsterovich
9b261fd870
fix(core): this fixes displaying nickname refreshes in groups
2018-12-26 19:15:00 +02:00
Monsterovich
c136a17ff0
fix(core): fix formatting
2018-12-26 19:15:23 +02:00
Monsterovich
8c239c8ef6
fix(core): simplify the code
2018-12-26 19:15:17 +02:00
Monsterovich
6872ead850
fix(core): fixed Timestamps
2018-12-26 19:15:10 +02:00
Monsterovich
cabed6def3
feat(core): print a chat log entry when a user joins/leaves the group chat
2018-12-26 19:15:00 +02:00
Diadlo
8499a71092
fix: Store groupId in D&D mime data
...
Fix drag and drop for groups
2018-12-26 14:29:38 +03:00
TriKriSta
c3095ab150
fix: check valid date in getDateWhereFindPhrase
2018-12-22 00:36:38 +02:00
sudden6
ea9f429838
Merge pull request #5457
...
TriKriSta (4):
refactor: edit default theme
refactor: add colors to QTabBar
refactor: rename a css file.
style: add spaces in the resources file
2018-12-17 11:27:08 +01:00
Anthony Bilinski
f2e8567b21
Merge pull request #5366
...
Mick Sayson (2):
fix(transfer): Accurately represent pause state in UI
refactor(transfer): Remove unnecessary split for pause send/recv
2018-12-16 14:51:02 -08:00
Mick Sayson
3615425234
refactor(transfer): Remove unnecessary split for pause send/recv
2018-12-16 13:51:04 -08:00
Mick Sayson
293a1d615c
fix(transfer): Accurately represent pause state in UI
...
Toxcore has a 3 state pause, us, them, or both. Currently our UI
messes up if both parties pause. This changeset changes our UI behavior
to show whether we're paused, or if we are waiting on the remote to
unpause.
2018-12-16 13:51:03 -08:00
TriKriSta
147cec3312
refactor: rename a css file.
2018-12-15 13:33:51 +02:00