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

2137 Commits

Author SHA1 Message Date
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
Anthony Bilinski
dc7ddbebad
fix(ui): don't scale avatar to point of cropping in chat form header 2018-08-25 23:31:37 -07:00
sudden6
8cfc1f0bbb
Merge pull request #5291
Jakie.OYMJ (1):
      fix(ui): fix the context menu enabled/disabled behaviors
2018-08-22 20:45:22 +02: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
Jakie.OYMJ
bc69c8c919 fix(ui): fix the context menu enabled/disabled behaviors 2018-08-12 20:38:10 +08: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
8741834b59
Merge pull request #5260
iphydf (1):
      refactor: Give ChatFormHeader an out-of-line destructor.
2018-07-20 10:19:51 +02:00
sudden6
6b68b4344a
Merge pull request #5259
iphydf (1):
      refactor: Remove unused lambda capture.
2018-07-20 10:19:06 +02:00
iphydf
4fa257bf66
refactor: Give ChatFormHeader an out-of-line destructor.
This makes the class more widely usable, since deallocating an object of
this class no longer needs to have the `CallConfirmWidget` definition
present. The header file forward-declares `CallConfirmWidget`, so it's
not a complete type if only `chatformheader.h` is included.
2018-07-19 21:17:24 +00: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
Pavel Karelin
0d54fae37b chore: Fix warnings: remove unused variables 2018-07-18 15:25:07 +03:00
Diadlo
66fe7f2852
refactor(groupwidget): Create GroupChatroom
And move some logic in 'FriendChatroom' from 'onContextMenuCalled'
2018-07-18 01:06:47 +03: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
Diadlo
059d0120be
refactor: Add FriendChatroom (model to FriendWidget) 2018-07-12 15:32:35 +03: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
sudden6
83d4a21ef6
Merge pull request #5167
ezavod (1):
      fix(chatform): name in window title and close detached chats
2018-06-06 08:19:19 +02:00
ezavod
39968a313d
fix(chatform): name in window title and close detached chats
This displays the name of the currently used account in the window title
of detached chats. Also closes all open chats when switching back to one
window.
2018-06-04 22:56:53 +02: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
Diadlo
aae567ed8e
feat: Add ability to remove dialog from content dialog with middle click 2018-05-14 09:18:48 +03:00
Diadlo
228c431c89
feat: Add ability to quit group with middle click
Fix #2605
2018-05-14 09:18:48 +03:00
Diadlo
65fc1dc266
feat: Add middle mouse clicked signal for GenericChatroom 2018-05-14 09:18:48 +03: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
Anthony Bilinski
dfd2de836e
fix(history): don't save both action prefix and displayed name
Displayed name is already added to action messages when added to ChatForm. Saving in history as well results in the display name being displayed twice when loaded from history.
2018-05-06 15:31:26 -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
1af3ad69e8
fix(login): start login screen on profile select by -p option 2018-04-26 13:43:10 -07: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
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
Anthony Bilinski
8ba8ce91f3
fix(theme): clear stylesheet cache on theme colour change
Fix #5092
2018-04-25 14:20:56 -07:00
Anthony Bilinski
6d9d26db65
perf(ui): cache stylesheets to reduce memory usage
Issue #5078
2018-04-17 19:41:23 -07:00
TriKriSta
dc1f5ea0a3 fix: delete double initialization callDuration 2018-04-15 19:04:02 +03:00
Anthony Bilinski
55d8922d69
fix(settings): connect enable LAN discovery checkbox
Checkbox and setting introduced in 9f8b0fed07 but not connected.
2018-04-13 00:18:16 -07:00
Anthony Bilinski
04ecfe3f34
feat(camera): add higher resolution camera options
Fix #5065
2018-04-12 11:37:55 -07:00
Anthony Bilinski
1583991fb4
refactor(avform): simplify and standardize sliders, use RMS for volume
Also improve usefulness of volume bar by including gain, clipping, and activation threshold. Remove magic numbers. Clear volumue display when mic is disabled.

Fix #4893
2018-04-12 10:34:42 -07:00
Anthony Bilinski
97bc4a9b4a
refactor(ui): consolidate new message settings under UI page 2018-04-08 14:30:25 -07:00
Anthony Bilinski
fcd88d65b2
feat(ui): add setting for disabling new message notification popup
Fix #4979
2018-04-08 14:29:12 -07:00
Anthony Bilinski
9f8b0fed07
feat(ui): Add ability to disable LAN discovery
Fix #4074
2018-04-06 12:02:10 -07:00
Anthony Bilinski
cfdc1cdb2e
fix(profile): don't error if no new avatar is selected 2018-04-06 10:19:44 -07:00
Anthony Bilinski
a8fc6e5c6b
fix(chatform): include pressed key(s) when changing focus
Instead of just giving focus, give focus and add the key that was pressed. Also change from KeyRelease to KeyPress to avoid missing the second key pressed in the case of the second key being pressed before the first is released.
2018-04-05 16:00:02 -07:00
Anthony Bilinski
cb0f26356d
fix(ui): remove placeholder update UI
Auto-updates were disabled in 196529b8e8
Fix #5040
2018-04-05 01:30:25 -07:00
Anthony Bilinski
b852809d0c
fix(history): don't save own messages when history is disabled
Fix #5036
2018-03-30 01:50:12 -07:00
sudden6
0be49c648c
Merge pull request #5027
Only merged one commit, because of an unnecessary merge of master
2018-03-24 18:11:52 +01:00
Anthony Bilinski
acea7c315f
fix(import): don't use java-style iterator before first element
Fix #4962
2018-03-21 14:29:25 -07:00
Anthony Bilinski
4951f90964
fix(offlinemsg): make faux offline messages purely event based
Since real offline message reliability issue was fixed in PR #4607, now removing all the workarounds that had been added. Offline messages are now sent as soon as we see our friend come online, and at no other time. Fixes 2 minute wait time before attempting to send if message is entered while you or friend is offline, removes 2 minute constant retry timer, removes 250ms delay between seeing friend come online and sending offline messages.
2018-03-21 13:03:17 -07:00
DESKTOP-Z50-70\Arman
ebdc675cbc fix(chattextedit): ChatTextEdit bug fix for issue #5020 Corrected 2018-03-21 12:39:17 +04:00
Anthony Bilinski
09eee940cd
Merge pull request #5012
Horace Bianchon (1):
      fix(avform): Audio/Video settings tab #5011 issue bugfix
2018-03-16 13:52:15 -07:00
Anthony Bilinski
bc18990fd2
fix(build): Remove unused vars, add default case for switch
Fix #5006
2018-03-16 12:59:51 -07:00
Horace Bianchon
ad6ddfc4f2 fix(avform): Audio/Video settings tab #5011 issue bugfix
Signed-off-by: Horace Bianchon <horace.bianchon@gmail.com>
2018-03-16 18:32:36 +04:00
Anthony Bilinski
8198940607
fix(widget): Fix double free crash on group leave
Fix #5004
2018-03-15 02:08:10 -07:00
Diadlo
2a0c71d0d4
fix: Fix crash on manipulation with friend
Fix #4991
2018-03-12 01:07:41 +03:00
Diadlo
e3726eade6
fix(avform): Hotfix for crash on video device change on 'None'
Fix #4994
2018-03-11 22:51:38 +03:00
Diadlo
0a590336b1
fix(group): Show correct count of user on first creation
Fix #4503
2018-03-05 22:20:39 +03:00
Diadlo
9b4972e045
fix(friendwidget): Use queued connection to avoid removing 'this'
Fix #4966

Since 'removeAction' can remove friend (who would have thought?) it must be
connectd queued to avoid use after free.
2018-03-05 09:06:20 +03:00
sudden6
1f8c9a2e2f
refactor: update displayed user name from the friend model 2018-02-28 17:51:00 +01:00
sudden6
d3d81bbdf3
feat: update to the new c-toxcore 0.2.0 conferences api
The old functions are disabled at compile time and should be removed
later.
2018-02-24 09:57:42 +01:00
iphydf
1111949f45
fix(core): Adapt qtox to new conferences state change callback. 2018-02-24 09:57:42 +01:00
Anthony Bilinski
d9118cfc71
fix(widget): Fix status pic alignment 2018-02-21 11:55:59 -08:00
Diadlo
aeb501240f
Merge pull request #4955
TriKriSta (12):
      feat: add a button to search
      feat: add form for search
      feat: add text search
      feat: edit load history for search
      feat: remove search button and add line in context menu
      feat: add search in text in group chats
      feat: optimise search in history
      feat: add hot keys for search
      style: change code in searchInText
      fix: add search symbol ' in history
      refactor: rename hideButton to searchHideButton
      refactor: add/delete checks in search code
2018-02-20 08:26:29 +03:00
TriKriSta
fe4dd83d10 refactor: add/delete checks in search code 2018-02-15 13:21:05 +02:00
TriKriSta
40cebd421b refactor: rename hideButton to searchHideButton 2018-02-14 19:41:59 +02:00
TriKriSta
3e05279c09 fix: add search symbol ' in history 2018-02-14 11:30:38 +02:00
TriKriSta
f73021c376 style: change code in searchInText 2018-02-12 19:35:50 +02:00
TriKriSta
ffb51e8a0e feat: add hot keys for search 2018-02-12 19:24:22 +02:00
TriKriSta
18fa8a745b feat: optimise search in history 2018-02-12 01:02:28 +02:00
TriKriSta
7718734c9a feat: add search in text in group chats 2018-02-11 23:09:13 +02:00
TriKriSta
8bb80c770c feat: remove search button and add line in context menu 2018-02-11 17:38:05 +02:00
Diadlo
95f150e5f9
refactor: Move action handlers to slots 2018-02-11 12:12:07 +03:00
TriKriSta
de9c906117 feat: edit load history for search 2018-02-10 17:56:16 +02:00
TriKriSta
b881d32d1b feat: add text search 2018-02-10 17:56:16 +02:00