1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

1484 Commits

Author SHA1 Message Date
TriKriSta
8c4b1e00a1 feat: edit load history in search 2019-07-22 21:16:26 +03:00
TriKriSta
6de1173c17 feat: edit function "Load chat history" 2019-07-22 21:16:26 +03:00
TriKriSta
b705ac8060 feat: load messages from the database after date 2019-07-22 21:16:26 +03:00
TriKriSta
fb2957c5ee feat: load messages from the database before date 2019-07-22 21:16:26 +03:00
jenli669
fb3f44721e
refactor(AVForm): replace QDesktopWidget::screenCountChanged 2019-07-13 10:27:02 +02:00
jenli669
16452eff0c
refactor(AVForm): replace QDesktopWidget::resized 2019-07-13 10:26:35 +02:00
jenli669
6e71ccfdad
refactor(widget): replace qSort with std::sort in groupchatform 2019-07-13 08:01:39 +02:00
jenli669
adab063a49
refactor(widget): make PrivacyForm use signals for clearAllReceipts() 2019-06-30 10:09:30 +02:00
jenli669
20979744c9
refactor(chatform): make ChatForm use signals for updateFriendActivity 2019-06-30 10:09:30 +02:00
jenli669
c28b2604cd
refactor(widget): remove Widget singleton access from GeneralForm 2019-06-30 10:09:29 +02:00
Anthony Bilinski
e8d48e8788
fix(chatform): add hack to avoid Qt bug on chat show
Fix #5570
2019-06-28 09:42:50 -07:00
jenli669
04a9bc46f4
docs(copyright): update and add copyright info
zealously updates and adds qTox copyright information.

Fixes #5713
2019-06-28 01:18:26 +02:00
Mick Sayson
ed514d7166 refactor(chatform): Remove message handling logic from gui path
Functional changes
* Offline messages are still sent when the chat log is cleared
* Spinner now does not wait for history to be complete, just a receipt
  from our friend
* Export chat and load chat history are now available in group chats
* Merged save chat log and export chat log
  * Note that we lost the info messages in the process

NonFunctional Changes
* FileTransferWidget slots only called for correct file
* Settings::getEnableGroupChatsColor now embedded in
GenericChatForm::colorizeNames
  * Settings::setEnableGroupChatscolor now emits signal connected to
GenericChatForm::setColorizedNames to keep state in sync
* Chatlog history not reloaded on setPassword()
  * I am pretty sure this had no purpose
* Removed a lot of responsibility from ChatForm
  * History moved to ChatHistory implementation of IChatLog
  * OfflineMsgEngine moved to FriendMessageDispatcher
  * Export chat and load chat history moved to GenericChatLog
    * Backed by IChatLog so can be used generically
  * Message processing moved to FriendMessageDispatcher
  * The action of sending files to coreFile is still handled by
  ChatForm, but displaying of the sent messages is done through IChatLog
  -> GenericChatForm
  * Search moved to ChatHistory/SessionChatLog
  * All insertion of chat log elements should be handled by
  GenericChatForm now
* Removed overlapping responsibilities from GroupChatForm
  * Search and message sending goes through ichatlog/messagedispatcher
  too
  * Lots of search functionality pushed down into IChatLog
* Some of the file logic was moved into Widget. This is mostly to avoid
  scope increase of this PR even further.
* History APIs removed that were no longer used
2019-06-21 11:01:35 -07:00
Anthony Bilinski
8568a14c93
Merge pull request #5688
Mick Sayson (3):
      feat(offlinemsg): Force offline messages to always be enabled
      refactor(offlinemsg): Decouple OfflineMsgEngine from other components
      feat(offlinemsg): Enable offline messages with no history
2019-06-09 01:37:26 -07:00
Mick Sayson
2283d0c1b0 feat(offlinemsg): Enable offline messages with no history 2019-05-26 15:33:51 -07:00
Mick Sayson
e5016337bb refactor(offlinemsg): Decouple OfflineMsgEngine from other components 2019-05-26 15:33:51 -07:00
Mick Sayson
d934cf372b feat(offlinemsg): Force offline messages to always be enabled 2019-05-26 08:45:42 -07:00
Monsterovich
84e41303ce fix(ui): don't forget to update UI 2019-05-23 01:42:20 +02:00
Monsterovich
3b305dd05a fix(ui): Added option to hide message sender and contents 2019-05-23 00:44:26 +02:00
Monsterovich
1bbe210c25 fix(ui): Improved notifications 2019-05-22 19:48:23 +02:00
sudden6
22362d2940
refactor(audio): Remove Audio singleton
This commit finally removes the Audio singleton and allocates the audio
backend in main.cpp.
2019-05-21 21:05:27 +02:00
Anthony Bilinski
d55332ee0a
fix(activity): change last activity time from QDate to QDateTime
* Allows for strict sorting based on last activity in the future
2019-05-17 09:09:51 -07:00
Anthony Bilinski
87a53fad96
fix(ui): don't duplicate group peer name in tooltip 2019-05-15 12:00:50 -07:00
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
2019-05-15 12:00:44 -07:00
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.
2019-05-09 12:39:50 +02:00
sudden6
e7e35642d7
refactor(audio): introduce IAudioSource interface and use it 2019-05-05 12:49:56 +02:00
sudden6
a8546fe8cb
refactor: use smart pointer instead of raw pointer 2019-04-26 16:26:57 +02:00
sudden6
47402fae90
refactor: run formatting script 2019-04-25 21:30:19 +02:00
sudden6
5b908184fc
refactor(audio): move audio output to new IAudioSink interface 2019-04-25 21:30:19 +02:00
Anthony Bilinski
dd007877a9
refactor(status): move Status out of Widget 2019-04-24 10:35:15 -07:00
Anthony Bilinski
e1f7edd298
chore(i18n): add pt_BR translation 2019-04-24 09:01:32 -07:00
Anthony Bilinski
0dc46cdc81
fix(ui): fix typo, add plural to translation 2019-04-21 20:06:34 -07:00
Diadlo
15d72a9610
fix: Call 'tr' in place, where text is accessible 2019-04-21 14:42:44 +03:00
Anthony Bilinski
c0fdc42e33
refactor(mime): store ToxPk and GroupId as mimedata 2019-04-16 00:51:35 -07:00
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.
2019-04-16 00:44:16 -07:00
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.
2019-04-14 13:35:46 -07:00
Anthony Bilinski
97d05f9d67
refactor(id): make ContactId interface, implement GroupId
Precursor for group history, friend blocking
2019-04-13 12:58:25 -07: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
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
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
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
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
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
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
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
e146c11f0f feat: edit reload themes 2019-02-21 15:53:31 +02: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
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
d6abf76a27
fix(groups): correctly show peers in the call after joining call
Fix #5506
2019-01-27 17:05:31 -08: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
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
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
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
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
Mick Sayson
25005c5c19 feat(db): File transfer history review comments 2018-12-05 21:15:14 -08:00
Anthony Bilinski
8427be6678 feat(db): add file hash to file history
Not currently used, but there are plans to display if a transfered file
has been modified, which the file hash will be needed for. Adding file
hash at the same time as file history also saves a db schema update.
2018-12-02 14:40:54 -08:00
Mick Sayson
d9b39b3102 feat(db): Hookup file history to the rest of the system 2018-12-02 14:40:53 -08:00
sudden6
f188409b8c
fix(autocomplete): don't auto-complete own nick
In the process also remove the dependency of the auto completer on Core.
2018-11-22 17:52:54 +01:00
sudden6
c6a197feca
refactor: re-format and cleanup 2018-11-14 13:58:24 +01:00
sudden6
d93648c225
refactor: remove unneccessary Nexus includes 2018-11-01 10:22:36 +01:00
sudden6
de773efec7
refactor: remove another function from Nexus 2018-10-31 01:59:22 +01:00
Monsterovich
89cb24254d fix(ui): fix anything 2018-10-25 02:38:43 +02:00
Monsterovich
a4a8e361d0 fix(ui): groupcolors fix2 2018-10-25 02:38:43 +02:00
Monsterovich
ab89ca2d8e fix(ui): groupcolors fix1 2018-10-25 02:38:43 +02:00
Monsterovich
aaf5229ece feat(ui): Added feature to generate colors for user names in tox groups 2018-10-25 02:38:43 +02:00
Anthony Bilinski
dec90ad84d
fix(ui): allow adding friends with Tox URI
Fix #5385
2018-10-24 13:22:54 -07:00
sudden6
cc4a6e421e
refactor(chatform): remove unused macro 2018-10-24 14:04:12 +02:00
sudden6
5033fc3f5d
refactor: remove unused includes and don't set Tox as organization
Having "Tox" as Organization results in all standard paths being "Tox/
qTox" instead of "qTox". Since there is no such thing as "Tox"
organization I removed it.
2018-10-24 14:04:12 +02:00
Jimi Huotari
71d1fa6f24
refactor(themes): load css and images from themes folder
Original work by tox-user.

The default theme is now placed in a different path:
- C:\users\%username%\AppData\roaming\qtox\themes - for Windows
- ~/Library/Application Support/qtox/themes - for MacOS
- ~/.config/qtox/themes - for other Unix systems including GNU/Linux

Thanks to that it's no longer required to recompile the program to modify
the theme.

In addition to that the default theme is also included as a resource. If
the theme folder or some file inside it is missing, qTox will load it
from resource.
2018-10-24 14:04:03 +02:00
sudden6
2408e76d0c
refactor: remove unused includes and format code 2018-10-16 23:35:36 +02:00
Anthony Bilinski
2ecfbf7f28
Merge pull request #5373
Mick Sayson (2):
      refactor(files): clang-format generated whitespace changes
      feat(files): Add maximum size to autoaccept downloads
2018-10-12 14:28:11 -07:00
Mick Sayson
c8716e9c45 feat(files): Add maximum size to autoaccept downloads 2018-10-12 11:12:20 -07:00
Mick Sayson
939f2c865a refactor(files): clang-format generated whitespace changes 2018-10-12 11:12:20 -07:00
Anthony Bilinski
5f48fd4e10
fix(ui): only add chat message for call once
Fix #5370
2018-10-12 10:52:43 -07:00
sudden6
48e722b535
Merge pull request #5355
sudden6 (2):
      fix(video): workaround for webcams that provide no fps value
      fix(video): don't pass invalid pixel format strings to ffmpeg
2018-10-05 08:38:21 +02:00
Jakie.OYMJ
e6d40be72e fix: add remove history prompt, clear log area after remove 2018-10-05 10:24:39 +08:00
TriKriSta
8808c630f2 fix: show the date every new day (fixes #5280) 2018-09-30 00:07:17 +03:00
sudden6
3746bd13bc
fix(video): workaround for webcams that provide no fps value
fixes #5082
2018-09-29 18:42:31 +02:00
Anthony Bilinski
064dccf8b4
fix(ui): avatar highlight on hover in profile 2018-09-17 11:34:34 -07:00
Anthony Bilinski
0c757356d3
fix(avatar): set friend to identicon on empty avatar receipt
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons
*Split the concept of "changed" and "removed" into "changed", "set", and "removed"

Fixes #4724
2018-09-17 02:30:45 -07:00
Anthony Bilinski
91bdd40f10
fix(ui): remove focus window option, fixing alert() on Windows
Fix #4762
2018-09-14 11:08:19 -07:00
iphydf
52a5951d26
chore: Use nullptr instead of 0 for NULL pointer constants. 2018-09-07 21:38:59 +00:00
Anthony Bilinski
d9e587e4f5
fix(chatform): don't attempt to send messages to offline friends
Stops critical error logs from toxcore.
2018-09-06 14:15:45 -07:00
TriKriSta
01281e87cb
Merge branch 'master' into search 2018-08-14 01:08:54 +03:00
TriKriSta
b6ab0ec2ca refactor: add SearchDirection 2018-08-14 01:06:28 +03:00
TriKriSta
4253301c56 feat: add message if text not found 2018-07-28 01:36:07 +03:00
TriKriSta
eb92ce15f1 refactor: change text and icons in search forms 2018-07-27 21:39:14 +03:00
Anthony Bilinski
7c496d425b
chore(review): address remaining review comments from #5098
use QStringBuilder
replace "Not sent" with "Pending"
2018-07-22 21:54:40 -07:00
pkev
ee0d4bb880
fix: correct format log files
- correct format of "save chat log"
 - add date like in chat
 - correct type dialog for export dialog
2018-07-22 21:49:32 -07:00
TriKriSta
81587d0fbb refactor: add code for work in Qt5.5 2018-07-21 01:15:01 +03:00
sudden6
6b68b4344a
Merge pull request #5259
iphydf (1):
      refactor: Remove unused lambda capture.
2018-07-20 10:19:06 +02:00
iphydf
945ed65ba7
refactor: Remove unused lambda capture. 2018-07-19 21:09:07 +00:00
Diadlo
8d10fe47ec
feat(ui): Add ui to setup spell checking 2018-07-19 20:31:57 +02:00
Diadlo
671b9456a8
feat: Add spell checking
Fix #1301

Spell checking implemented by KF5Sonnet
2018-07-19 20:31:52 +02:00
TriKriSta
7977c80a52 refactor: use Settings, add const 2018-07-15 23:13:57 +03:00
TriKriSta
706822123f refactor: delete sqlite in travis, edit some functions 2018-07-14 00:58:35 +03:00
sudden6
291e86d9f9
fix(ui): don't emit filename change windows for every chat 2018-07-13 09:42:27 +02:00
TriKriSta
42f5ac67e7 refactor: edit generateFilterWordsOnly 2018-07-08 22:44:21 +03:00
TriKriSta
4b2942d51d style: add labels.css 2018-07-08 16:01:22 +03:00
TriKriSta
ea8bbfd8a5 refactor: use const and QStringLiteral 2018-07-08 14:02:03 +03:00
TriKriSta
17a97f1ff6 feat: add function for generating a filter for search word only 2018-07-08 12:33:37 +03:00
TriKriSta
60a2c5e651 refactor: change QRegExp on QRegularExpression for some search functions 2018-07-07 20:56:02 +03:00
sudden6
24e7c4efd4
refactor(core): format code 2018-07-05 17:10:26 +02:00
sudden6
e5acc6726f
refactor(core): reimplement avatar transfers
In the process of this I used some ugly hacks, to finish this in time,
they should be changed as soon as possible.
2018-07-05 17:05:41 +02:00
sudden6
977b7fc9a0
fix(settings): automatically disable UDP when a proxy is set
fixes: #5174
2018-07-02 22:46:26 +02:00
TriKriSta
4fdf73f2f0 refactor: remove commented code, use QStringLiteral 2018-06-29 19:31:34 +03:00
TriKriSta
8dd8347759 feat: add startButton in SearchForm 2018-06-25 00:44:22 +03:00
TriKriSta
3b7ba02324 feat: add functions for change title and info in LoadHistoryDialog 2018-06-24 21:20:49 +03:00
TriKriSta
610e04aa26 feat: use search settings 2018-06-24 21:11:20 +03:00
TriKriSta
87b340f4a1 feat: create widget for search settings 2018-06-16 13:41:31 +03:00
Diadlo
daaa5518dd
fix(leak): Fix few memory leaks 2018-06-12 22:45:53 +03:00
Pavel Karelin
2cd65610fc fix(build): Elimination the build warnings (Wunused-variable, Wreorder) 2018-06-06 23:05:06 +03:00
tox-user
2fae2a30f7
feat(chat): add UI option to mute group peers
Implements #4596, #4626, #1007

Adds a context menu to every peer label in group chat with an
option to mute chosen peers, which adds them to the blacklist.
Mutes audio of blacklisted group peers.
2018-06-02 18:05:45 +00:00
ezavod
847f155b7b
refactor(chatform): Use QStringList instead of QVector<QString>
This replaces QVector<QString> with QStringList consistently across all files.
2018-05-31 21:32:58 +02:00
ezavod
4434253283
refactor(chatform): consistent usage of file dialogs
This makes the usage of QFileDialogs consistent by using he native
file picker in all cases. Also makes the usage of the last location
consistent. Furthermore this removes default parameter values and uses
Q_NULLPTR.
2018-05-29 12:51:50 +02:00
ezavod
757791eea4
fix(chatform): check for empty path when exporting profile
Fixes #5146. If the filedialog is cancelled the returned path is empty.
Do not try to export the profile in this case.
2018-05-29 12:21:40 +02:00
sudden6
3d7d791e5f
Merge pull request #5111
Alice (1):
      fix(core): Clean illegal chars from filenames
2018-05-15 22:56:25 +02:00
Alice
ab85716f00 fix(core): Clean illegal chars from filenames
Fixes: #1304
2018-05-14 16:16:16 -07:00
sudden6
4acf884fb9
refactor: use ToxPk as identifier
fixes #5116 and #5117
2018-05-11 20:35:24 +02:00
tox-user
d6df8883e3
feat(chat): full screen video chat
Implements #2922 and #2514.
This change adds:
- a button for enabling full screen mode
- a panel with buttons for controlling the chat in full screen mode
- a button to toggle video preview
- new icons

fix(chat): fix buttons in full screen video call
feat(chat): add hotkey for exiting full screen video
fix(chat): use screen res to position button panel
fix(chat): dont remove video widget on window close
2018-05-10 20:08:37 +00:00
Anthony Bilinski
ca32e77d74
feat(history): load set number of messages from history
Fix #3124
Fix #3004

Instead of loading a set 7 days of history. Better performance when there are lots of messages, and better context when friends haven't talked in over a week.

Removed historyBaselineDate, introduced in deb8440c6a to fix duplicate messages, but duplicate messages were very likely fixed by https://github.com/qTox/qTox/pull/4607.

Also refactored history loading.
2018-05-06 15:31:54 -07:00
sudden6
48179b6a19
fix: two crashes, uncovered by the persistent groupchat patch 2018-05-02 22:49:59 +02:00
sudden6
0d74134dc1
refactor(group): use displayedNameChanged signal 2018-04-30 01:19:34 +02:00
Anthony Bilinski
2d87999922
Merge pull request #5084
TriKriSta (1):
      fix: delete double initialization callDuration
2018-04-26 13:42:01 -07:00
Anthony Bilinski
65896e4501
feat(call): add call end sound
Fix #4905
2018-04-26 12:49:58 -07:00