Zetok Zalbavar
76df9a4535
feat(l10n): add Persian translation to UI
2017-10-29 11:36:01 +00:00
Diadlo
3c8bf628bd
refactor(callconfirm): Remove unused friend parameter
2017-10-26 16:59:26 +03:00
sudden6
1d790190d8
Merge pull request #4747
...
anthony.bilinski (1):
fix(video): Set toxav video bitrate to 0 if answering audio-only call
2017-10-23 13:46:34 +02:00
anthony.bilinski
b1f40decd8
fix(ui): Set tooltip colour and background for all tooltips
...
Fixes #4667
2017-10-21 15:30:40 -07:00
anthony.bilinski
1613044c68
fix(video): Set toxav video bitrate to 0 if answering audio-only call
...
Before we would set the video bitrate to 0 if sending an audio-only call, but we would still set the video bitrate to default when receiving an audio only call. In bad network conditions, this caused tox to ask us to decrease video bitrate in audio-only calls.
2017-10-19 12:18:44 -07:00
anthony.bilinski
7170b48589
fix(init): register AV connects and call after AV is ready
...
Fixes #4651
2017-10-13 15:22:24 -07:00
Diadlo
9a543548e0
refactor(toxme): Move json generation to ToxmeData class
2017-10-13 14:56:15 +03:00
Diadlo
ae7b47342d
refactor(profile): Move core connect from form to model
2017-10-13 09:12:42 +03:00
Diadlo
36adfc89e9
refactor(profileform): Integrate ProfileInfo in ProfileForm
2017-10-13 09:12:41 +03:00
Diadlo
78966c1f02
refactor(profileform): Use new connect style
2017-10-13 09:12:41 +03:00
Diadlo
b41767d087
fix: Use correct initialization order
...
Fix #4727
2017-10-12 23:45:53 +03:00
Diadlo
68813a37c3
refactor: Remove Settings from Core
2017-10-11 08:51:32 +03:00
Zetok Zalbavar
c089c80e53
fix: remove unused variables
2017-10-08 12:44:56 +01:00
sudden6
b609a8f99a
Merge pull request #4697
...
tox-user (5):
feat(settings): Add audio quality setting
feat(settings): make audio quality setting persistent
refactor(settings): use constants in audio quality setting
refactor(settings): use a cleaner way to read and set audio bitrate
style(settings): change names of local constants to camel case
2017-10-08 00:18:06 +02:00
sudden6
f82f57ec91
refactor: don't pass ToxPk as QString
2017-10-06 23:57:55 +02:00
sudden6
61b36d1bce
feat(identicon): add algorithm to create identicons
...
ported from https://github.com/sudden6/rust-identicon/blob/master/src/lib.rs
but slightly changed the algorithm
2017-10-06 23:57:51 +02:00
tox-user
78c6869e4c
style(settings): change names of local constants to camel case
2017-09-30 17:22:35 +02:00
tox-user
e4b0c54965
refactor(settings): use a cleaner way to read and set audio bitrate
2017-09-30 15:49:11 +02:00
tox-user
b36a7bdec9
refactor(settings): use constants in audio quality setting
2017-09-30 12:52:09 +02:00
tox-user
7ed2d97aad
feat(settings): make audio quality setting persistent
2017-09-29 12:33:30 +02:00
tox-user
61eddc1f6b
feat(settings): Add audio quality setting
...
Fixes #4693
2017-09-28 16:14:36 +02:00
Diadlo
026517dc5a
chore(warning): Fix compile warnings
...
- change preprocessor warning on runtime qWarning
- add parentheses around ‘&&’ within ‘||’
2017-09-26 21:00:39 +03:00
anthony.bilinski
94cb6ce1c5
fix(settings): Delete dynamically allocated members on destruction
...
Fixes #4670
2017-09-21 13:29:20 -07:00
sudden6
6a5a7564aa
Merge pull request #4644
...
anthony.bilinski (1):
feat(paste): Implement pasting images from clipboard
2017-09-20 11:16:08 +02:00
sudden6
ed634ae0f4
Merge pull request #4610
...
drswinghead (1):
feat(settings): add group chat local member black list
2017-09-19 21:23:55 +02:00
anthony.bilinski
5fed37365f
feat(paste): Implement pasting images from clipboard
...
Fixes #1290
2017-09-19 09:56:34 -07:00
noavarice
b967d28465
refactor: use GroupInvite instead of set of parameters
2017-09-17 19:54:06 +03:00
noavarice
ad3584c469
refactor: GroupInvite moved to model directory
2017-09-17 19:54:01 +03:00
drswinghead
27ecace752
feat(settings): add group chat local member black list
2017-09-16 10:22:08 +08:00
Diadlo
c49959711e
Merge pull request #4620
...
anthony.bilinski (1):
fix(chatform): Hide author on history like on new messages
2017-09-11 08:42:42 +03:00
Diadlo
bd6516eab7
fix: Fix crash on auto accept click in AboutFriendForm
...
Fix #4600
2017-09-10 13:22:54 +03:00
Diadlo
918cdf1368
refactor: Add using AboutFriend model in AboutFriendForm
2017-09-10 13:21:33 +03:00
Diadlo
8368f2413d
refactor: Rename AboutUser to AboutFriendForm
2017-09-10 13:21:32 +03:00
Diadlo
c6d76da0dd
refactor: Use ToxPk instead of ToxId
2017-09-10 13:21:32 +03:00
Diadlo
b0d11b442f
Merge pull request #4632
...
anthony.bilinski (1):
fix(friends): Friend request button target location
2017-09-09 22:37:56 +03:00
Diadlo
e67713527c
Merge pull request #4630
...
anthony.bilinski (1):
fix(avatar): Don't invert default avatar colour on connect
2017-09-09 22:30:15 +03:00
anthony.bilinski
7f36ec9219
fix(friends): Friend request button target location
...
Change friendform pane numbering to use existing enum instead of hardcoded values, udpate enum to match current pane layout.
Fixes #4631
2017-09-06 19:25:25 -07:00
anthony.bilinski
be324b932b
fix(avatar): Don't invert default avatar colour on connect
...
Fixes #4629
2017-09-06 18:08:54 -07:00
anthony.bilinski
28979f5771
fix(chatform): Hide author on history like on new messages
...
Fix #4619
2017-09-05 11:29:46 -07:00
LittleVulpix
5af1b4af73
fix(toxme): Remove HTML tags from ID to un-break toxme integration
...
Due to the colours, the current implementation sends a bunch of html tags along with the ID, which obviously isn't desirable.
To remove these tags, I am using the same implementation as in copyIdClicked .
2017-09-01 20:12:52 +02:00
sudden6
89198f5e2d
Merge pull request #4604
...
Nikolay Korotkiy (1):
fix(l10n): use native language names
2017-08-30 20:07:51 +02:00
Diadlo
359a42f78e
fix: Fix crash on accept or reject friend request
...
Fix #4603
2017-08-28 23:18:51 +03:00
Nikolay Korotkiy
817a9897c2
fix(l10n): use native language names
2017-08-28 22:36:56 +03:00
Karl
56ac95dad9
fix(i18n): string Call with %1 ended. %2
is no longer translatable
...
Fixes #4552
2017-08-26 18:09:56 +02:00
noavarice
776b37f689
refactor: headers order is changed properly
2017-08-25 21:48:27 +03:00
noavarice
a29e80bbe0
refactor: onUserListChanged refactored
2017-08-25 21:48:27 +03:00
noavarice
26b16386ae
refactor: 'correctNames' function refactoring
...
'correctNames' function moved from class, renamed and refactored
according to its purpose
2017-08-25 21:48:27 +03:00
noavarice
30cae05d26
refactor: GroupChatForm::onUserListChanged is a slot now
2017-08-25 21:48:19 +03:00
Diadlo
1ac97c4734
refactor: Use extra comment to make code cleaner
2017-08-20 23:57:40 +03:00
Diadlo
15987ece3d
refactor: Use const in AddFriendForm
2017-08-20 23:57:40 +03:00
Diadlo
196eb8d77a
refactor: Extract the same code to 'addFriend function'
2017-08-20 23:57:40 +03:00
tux3
0974da543a
feat: UI to import a list of contacts from a file
...
Resolves #4181
2017-08-20 23:57:40 +03:00
Diadlo
e606d3cb55
fix(group): Fix crash on group quit
...
Fix 'GroupWidget' removing
2017-08-19 16:18:52 +03:00
Diadlo
638cdba58d
fix(widget): Add removing friends and group on main window close
2017-08-18 21:45:51 +03:00
Diadlo
775d9987a3
refactor(widget): Extract friendId in variable
2017-08-18 21:45:51 +03:00
Diadlo
a1c7bb3c43
refactor(widget): Fix map key type
2017-08-18 21:45:51 +03:00
Diadlo
070e33a46b
refactor(group): Remove GroupWidget from Group
2017-08-18 21:45:51 +03:00
Diadlo
6c650f8b24
refactor(widget): Remove using getGroupWidget from Widget
2017-08-18 21:45:51 +03:00
Diadlo
a1be4bc940
refactor(group): Get name from group
2017-08-18 21:45:51 +03:00
Diadlo
e19bd67381
refactor(group): Move GroupWidget creation out of Group
2017-08-18 21:45:51 +03:00
Diadlo
1e90106a08
refactor(groupwidget): Move updatTitle in GroupWidget
...
Also, remove unused now slot ContentDialog::updateGroupWidget
2017-08-06 20:28:06 +03:00
Diadlo
47cf113868
refactor(groupwidget): Move call updateUserCount in GroupWidget
2017-08-06 20:28:06 +03:00
Diadlo
7429614188
refactor(group): Store title name in Group
2017-08-06 20:28:06 +03:00
Diadlo
aaf1029667
refactor(group): Replace signal groupTitleChanged on Group::titleChanged
2017-08-06 20:28:06 +03:00
Diadlo
4fee43cded
refactor(group): Replace 'renameRequest' signal on Group::titleChanged
2017-08-06 20:28:05 +03:00
Diadlo
11e75104f4
refactor(group): Don't pass widget on model change
2017-08-06 14:51:14 +03:00
Diadlo
9495a411cb
refactor(group): Move UI code out of Group::setName
2017-08-06 14:51:14 +03:00
Diadlo
14c2a30f4c
refactor(groupwidget): Extract setTitle in method
2017-08-06 14:51:14 +03:00
Diadlo
99ebb73562
refactor: Remove deprecated methods to get id
2017-08-06 13:55:02 +03:00
Diadlo
017653470d
refactor: Move friend and group in model directory
2017-08-06 13:55:02 +03:00
sudden6
7f3887f67c
refactor(audio): fix some remarks from review
2017-08-05 21:25:15 +02:00
sudden6
8652fe99e3
feat(audio): make the libfilteraudio dependency optional
2017-08-05 21:25:14 +02:00
sudden6
9d0498e0cf
feat(audio): add setting to switch between new and old audio backend
2017-08-05 21:12:33 +02:00
Nils Fenner
93fa1e712b
refactor: remove unused signal
2017-08-02 08:41:12 +03:00
Nils Fenner
e1aa0195ac
refactor: declare final overrides private
2017-07-31 23:21:15 +03:00
Diadlo
4f25e01b96
refactor: Add nullptr check on getChatForm value
2017-07-30 11:45:18 +03:00
Diadlo
4dd1fb5967
refactor: Remove useless connection
...
This connection exists in Widget
2017-07-30 11:45:18 +03:00
Diadlo
72bb70aa74
refactor: Remove Friend::getChatForm usage from Widget
2017-07-30 11:45:18 +03:00
Diadlo
3473090ec1
refactor: Remove ChatForm creation from Friend
2017-07-30 11:45:18 +03:00
Diadlo
ad58c1767b
fix(friendwidget): Add correct index calculation
2017-07-29 19:39:43 +03:00
Diadlo
c4baff4b04
refactor(friendwidget): Add using const
2017-07-29 11:31:41 +03:00
Diadlo
eb13908926
refactor: Make few methods ConstDialog const
2017-07-29 11:31:41 +03:00
Diadlo
c3297600be
refactor(friendwidget): Extract Settings in variable
2017-07-29 11:31:39 +03:00
Diadlo
bd99e10ac1
refactor(friendwidget): Make fields private, remove unused
2017-07-29 11:27:16 +03:00
Diadlo
fe4a89d906
refactor(friendwidget): Remove friendId field
2017-07-29 11:27:15 +03:00
Diadlo
1b07cd553e
refactor(friendwidget): FriendWidget refactoring
2017-07-29 00:20:05 +03:00
Diadlo
238f10c44f
refactor: Use const Friend pointer
2017-07-28 17:52:51 +03:00
Diadlo
1a0a1d6949
refactor: Pass Friend in ContentDialog::addFriend
...
friendId and name (old parameters) can be getted from Friend
2017-07-28 17:52:51 +03:00
Diadlo
90a262e9b5
refactor(circlewidget): Get Friend from FriendWidget
2017-07-28 17:52:51 +03:00
Diadlo
6ba24b65ca
refactor(aboutuser): Use const Friend pointer and union methods
2017-07-28 17:52:51 +03:00
Diadlo
9fe503c708
fix(autoaway): Improve autoaway algorithm.
...
Fix #3992
Don't reset autoaway flag if the status was changed without UI activity.
It is necessary that otherwise the flag is reseted then tox goes offline
because of not stable internet connection.
2017-07-28 17:51:31 +03:00
Diadlo
c82b66104c
Merge pull request #4531
...
tWido (1):
feat(video): Error message on call fail
2017-07-24 00:28:23 +03:00
tWido
ac75f7b594
feat(video): Error message on call fail
...
notifies user if call ended unexpectedly
2017-07-23 21:19:06 +02:00
Zetok Zalbavar
bf405e17fb
feat(l10n): add Tamil translation to UI
2017-07-14 07:26:30 +01:00
sudden6
8c2703b756
Merge pull request #4507
...
Andrew Morgan (1):
fix(ui): Use native file picker dialog
2017-07-13 18:34:28 +02:00
Andrew Morgan
42a9534b24
fix(ui): Use native file picker dialog
...
The original reason that the Qt picker was used instead of the native
picker was that the native option would cause Nautilus/GNOME-based
pickers to hang.
This turned out to be due with a Qt bug with parenting Gtk windows. As a
result the parent of each file dialog window has been set to NULL,
eliminating the crash. As far as tests have shown, this produces no
adverse effects on either floating or tiling wms.
Fixes #3494
2017-07-06 06:40:33 -07:00
Diadlo
3b2352a0ee
refactor: Rename methods in CameraSource
...
To make the method more correctly reflect the essence
2017-07-05 23:53:17 +03:00
Diadlo
7b3bd45d50
feat(aboutform): Add OS name in issue template
2017-06-27 00:34:31 +03:00
Diadlo
dd9b324ec3
chore(qt): Remove old qt code
2017-06-26 23:06:55 +03:00
Diadlo
bb65a18de5
feat: Add message count in tooltip to LoadHistoryDialog
2017-06-26 16:01:49 +03:00
Diadlo
23fd6962a1
Merge pull request #4488
...
tWido (1):
feat(chatform): Highlight chat history
2017-06-26 11:48:59 +03:00
Diadlo
c667cf5c84
refactor(widget): Remove 'chatFormIsSet'
...
'charFormIsSet' is small static method used in one place, replaced
on direct using.
2017-06-25 22:42:44 +03:00
Diadlo
31d35ecc62
refactor: Remove Friend::getChatForm using
2017-06-25 22:42:44 +03:00
tWido
3257770bfa
feat(chatform): Highlight chat history
...
Calendar dates with chat history highlighted with bold
Fixes #2296
2017-06-25 21:23:04 +02:00
tWido
5e4ab76944
feat(chatform): Export chat history to file
...
Export chat history to plaintext
Fixes #4143
2017-06-25 20:22:42 +02:00
Diadlo
8b6d3a19ef
refactor(chatform): Use offlineEngine directly
2017-06-23 13:36:28 +03:00
Diadlo
b39a15873d
Merge pull request #4467
...
Yuri (1):
feat(toxid): Show NoSpam and checksum parts of ToxID in colors.
2017-06-16 14:18:34 +03:00
Yuri
c0951a5675
feat(toxid): Show NoSpam and checksum parts of ToxID in colors.
...
Also added the explanation to the ToxID tooltip message.
2017-06-15 08:02:09 -07:00
Alice Weigt
a06ad7048e
feat(audio):OutgoingCallSound
...
Adds outgoing call sound when call is started
2017-06-14 15:19:30 -07:00
Diadlo
23ed1a3966
refactor: Move iterator declaration in foreach scope
...
Narrow the iterator scope
2017-06-12 13:46:43 +03:00
Diadlo
3f7380db48
refactor: Add deleted copy constructor
...
GenericChatItemLayout allocates memory in constructor, so it's require a
copy constructor. Because we don't copy it I've declare this constructor
as deleted
2017-06-12 13:46:43 +03:00
Diadlo
6c4c5d86fc
refactor: Remove audioInputFlag and audioOutputFlag
...
They exists in the parent class
2017-06-12 13:46:43 +03:00
Diadlo
365d703e8a
perf: Pass std::function by reference
2017-06-12 13:46:38 +03:00
ezavod
ed45359863
fix(ui): add date message before info messages
...
Fixes #4388 .
Separated date message in its own function.
Also added date message before info messages like it is already done with normal chat messages.
2017-06-03 18:12:59 +02:00
Diadlo
331a8f1006
refactor: Split 'onChatrootWidgetClicked' on 2 methods
...
onChatrootWidgetClicked was used for 2 different actions.
Now it's splitted on 'activate' and 'openNewDialog'
2017-06-02 18:49:08 +03:00
Diadlo
4d15aed53f
fix: Fix freez on circle removing
...
Fix #4419
2017-06-02 18:48:09 +03:00
sudden6
dd60edb3d7
Merge pull request #4432
...
ezavod (1):
refactor(ui): set icon in dialog constructor
2017-06-01 21:13:52 +02:00
sudden6
a3b234e6dd
chore(formatting): run clang-format
2017-06-01 09:50:59 +02:00
sudden6
a1181e10f2
chore(formatting): disable clang-format for certain code sections
2017-06-01 09:49:32 +02:00
ezavod
b518aa8488
refactor(ui): set icon in dialog constructor
...
Fixes #4430 .
Moved `setWindowIcon` to dialog constructor and removed all other occurrences.
2017-05-31 18:42:08 +02:00
sudden6
46c848c07f
Merge pull request #4424
...
ezavod (1):
fix(ui): do not save splitter state in multiple windows mode
2017-05-30 12:55:01 +02:00
ezavod
7e5387cad2
fix(ui): do not save splitter state in multiple windows mode
...
In multiple windows mode there are no two widgets that are separated by the splitter, there is just one widget.
This changes the splitter state without the users intention.
2017-05-27 17:12:34 +02:00
ezavod
6b767e4765
fix(ui): Set Qt::Window
flag in multi windows mode
...
This sets the flag to `Qt::Window` for open dialogs in multi windows mode.
Commit changes the appearance of non-chat windows (Settings, Add Friend, ...).
2017-05-26 16:25:02 +02:00
Diadlo
65b1463933
refactor(core): Move setAvatar to profile from core
2017-05-24 19:43:47 +03:00
ezavod
0c98f6a548
fix(ui): switch to settings after multiple windows mode
...
Switch back to settings after disabling multiple windows mode instead of switch to add friend page.
2017-05-14 20:36:18 +02:00
sudden6
50768abbab
Merge pull request #4394
...
Yuri (1):
fix(message size): Replaced TOX_MAX_*_LENGTH with API calls.
2017-05-14 12:53:41 +02:00
sudden6
afeca313ba
Merge pull request #4389
...
ezavod (1):
fix(ui): restore splitter state
2017-05-14 12:51:52 +02:00
Yuri
3963d3c150
fix(message size): Replaced TOX_MAX_*_LENGTH with API calls.
...
It is good for flexibility to have fewer hardcoded values.
2017-05-11 09:24:54 -07:00
Łukasz Żarnowiecki
2d0a4e794d
fix(settings): compute toxcore version in runtime
...
Past this change toxcore version was set during compilation. This
caused a problem when you changed version of toxcore while qTox would
still display its old. This behaviour was misleading.
2017-05-11 14:32:56 +02:00
ezavod
9d94cd0c50
fix(ui): restore splitter state
...
Fixes #4387 and #2378 .
This restores the state of the splitter correctly from settings in
multiple window mode and if this mode is quited.
2017-05-11 13:05:16 +02:00
Jerome Pinguet
71a838b53e
fix(profile): set maxLength on userName QLineEdit
...
Set maxLength of userName QLineEdit to TOX_MAX_NAME_LENGTH
Fixes #4335
2017-05-09 07:28:31 +02:00
Diadlo
8634e26694
refactor: Methods renamed
...
existsFriendWidget -> friendWidgetExists
existsGroupWidget -> groupWidgetExists
2017-05-08 22:39:00 +03:00
Diadlo
b126d21922
refactor(core): Merge friendAdded and friendshipChanged
2017-05-08 22:12:14 +03:00
Diadlo
d77cb084d6
refactor: Remove unused MicFeedback widget
2017-05-08 22:11:41 +03:00
Diadlo
7e3ad7ba87
refactor(chatform): Remove Audio dependencies from ChatForm
2017-05-08 14:12:45 +03:00
Diadlo
695abadd7c
refactor(chatform): Remove Audio::play usage from ChatForm
2017-05-08 14:12:45 +03:00
sudden6
28c2298ad9
feat(audio): split the audio interface from the backend library
...
This paves the way to support multiple audio backends
2017-05-08 10:37:05 +02:00
sudden6
13029e3047
fix(groupinvite): prevent multiple groupinvites to the same group from showing up
...
fix #2305
2017-05-07 17:08:02 +02:00
sudden6
c41f533818
Merge pull request #4340
...
ezavod (1):
fix(settings): changing language sets title to "Add Friend"
2017-05-07 16:08:06 +02:00
Diadlo
5d117e6af8
refactor: Remove getCompactLayout from GenericChatroomWidget
2017-05-04 20:31:56 +03:00
Diadlo
5feb81d757
refactor(translator): Remove Settings from Translator
2017-05-04 20:31:56 +03:00
Zetok Zalbavar
0192e9275f
feat(l10n): add Romanian translation to UI
2017-04-30 20:18:02 +01:00
noavarice
b5f4628c89
fix: fix segfault while trying to send messages
...
Unfortunately, can not pass local variable on ChatLine::Ptr through
several method calls so ChatMessage inserted after its creating in the
same scope. Updated docs
2017-04-26 14:30:22 +03:00
noavarice
4b3d86d172
refactor: another small changes
...
Brief list of changes:
- "resolveToxId" method's name replaced with "resolveToxPk";
- updated comments for "resolveToxPk" and "needsToHideName";
- changed "resolveToxPk" return value for fail case;
- fixed typo.
2017-04-25 22:09:38 +03:00
alexrazinkov
972c3f2353
refactor: another refactoring step
...
Brief list of changes:
- contentdialog.* and friendlistwidget.cpp reverted to their previous states;
- added macros for setting stylesheets for form components;
- added 'static' qualificator for 'fontToCss' function;
- added 'needsToHideName' method and several places in code replaced with this
method's calls;
- some changes which are related to previous listed;
- 'resolveToxId' returned to GenericChatForm class.
2017-04-25 12:30:34 +03:00
noavarice
a83f8d1dfd
refactor: returned correct code style
2017-04-25 12:30:34 +03:00
noavarice
7e1f8cb23e
docs: added docs to some GenericChatForm methods
2017-04-25 12:30:34 +03:00
noavarice
e9c7caf3e7
refactor: sorted (several removed) headers, class declarations and fields
2017-04-25 12:30:34 +03:00
noavarice
b074c831d3
refactor: refactored message-adding methods
...
Return value of "addMessage" was not used at all, so now this method
(and "addSelfMessage" too) does not have return value - just inserts
message into ChatLog. Also messages are creating with "createMessage"
and "createSelfMessage"
2017-04-25 12:30:34 +03:00
noavarice
2598973c76
refactor: remove unnecessary methods
...
"isEmpty" method is just completely redundant, while "fontToCss" and
"resolveToxId" don't relate to "GenericChatForm" class
2017-04-25 12:30:34 +03:00