sudden6
c332cc0cca
refactor(coreav): simplify start sequence
6 years ago
sudden6
2bc0057bbd
refactor(coreav): move threading of CoreAV to single mutex
...
Use a standard mutex instead of trying to build proper locking
ourselfes.
6 years ago
Anthony Bilinski
5b31effdb4
fix(group): don't display netcam view for group voice calls
...
This is a minimal fix to reduce risk for the release. A more complete
re-architecture will be made.
The netcam covers much of the chat in groups, and has nothing to show since
group video calls aren't possible. Who is speaking in call is already shown by
the bold names at the top of the group, taking much less space.
Fix #5918
6 years ago
Anthony Bilinski
92e51b05ac
fix(db): fix schema log to display correct version
6 years ago
Anthony Bilinski
981ecfcaeb
refactor(chatform): combine toggleVideoPreview implementations
6 years ago
Anthony Bilinski
89913e0f9a
refactor(netcam): remove GenericNetCamView, merge into NetCamview
...
Without GroupNetCamView, the split in arbitrary.
6 years ago
Anthony Bilinski
41d8f66e08
refactor(chatform): change ChatForm's netcam to NetCamView
...
Unlike GenericChatForm, ChatForm knows that it always has a NetCam
6 years ago
Anthony Bilinski
600993b43a
refactor(chatform): move netcam ownership to ChatForm from GenericChatForm
...
Since now only ChatForm uses the NetCamView.
6 years ago
Anthony Bilinski
8d8e75b800
refactor(chatform): move onMessagesClicked, onSplitterMoved to ChatForm
...
These API are only relevant for NetCamView, which is only used by ChatForm.
6 years ago
Anthony Bilinski
4c816b1bff
refactor(chatform): move create/show/hide NetCamView API to ChatForm
...
Since NetCamView is now only used by ChatForm, GenericChatForm shouldn't have
any of its functionality.
6 years ago
Anthony Bilinski
91bcd211a7
refactor(netcam): remove GroupNetCamView class
...
Fix #5918
6 years ago
Anthony Bilinski
366478fca9
chore: remove "Hardware" from issue template
...
For the grand majority of bug reports, user hardware isn't relevant. Figuring
out what to write isn't always trivial.
6 years ago
Anthony Bilinski
49abc996ae
Merge branch 'v1.17-dev'
6 years ago
Douglas Rhine
98a364ea2e
fix(build): appease appstream-glib validate
...
Flathub builds fail if appdata file
does not pass appstream-glib validate.
6 years ago
accelsao
bdb3b61ee0
fix(net): check if the node has all needed fields
...
Fixes ##5766
6 years ago
sudden6
4283a51df2
Merge pull request #5958
...
Douglas Rhine (1):
fix(build): appease appstream-glib validate
6 years ago
Douglas Rhine
dbf58826f6
fix(build): appease appstream-glib validate
...
Flathub builds fail if appdata file
does not pass appstream-glib validate.
6 years ago
Anthony Bilinski
cf672375be
revert(toxme): remove toxme from qTox - the service is offline permanently
...
As of 2019-10-09, toxme.io was taken offline permanently. Remove UI and code
in qTox relating to it. Revert this commit if it comes back online in the
future.
Fix #5897
6 years ago
sudden6
41f05f3a02
Merge pull request #5954
...
accelsao (1):
fix(net): check if the node has all needed fields
6 years ago
accelsao
ca4f14cc4c
fix(net): check if the node has all needed fields
...
Fixes ##5766
6 years ago
sudden6
1fa35bfcb5
chore: remove Debian bug workaround
6 years ago
sudden6
6fff5a59a4
chore: update AppImage build tools
6 years ago
sudden6
547a038e48
refactor: remove AppImage update bridge
...
When re-evaluating our dependencies we decided that the update bridge
has a high potential for security issues because it's not widely used.
Additionally similar functionality is already present in qTox.
6 years ago
sudden6
7b45d7d9e1
chore: remove Debian bug workaround
6 years ago
sudden6
cfea3256c7
chore: update AppImage build tools
6 years ago
sudden6
5b3c8aec11
refactor: remove AppImage update bridge
...
When re-evaluating our dependencies we decided that the update bridge
has a high potential for security issues because it's not widely used.
Additionally similar functionality is already present in qTox.
6 years ago
sudden6
9765cf5c72
Merge pull request #5946
...
Emery Hemingway (1):
feat(build): add nix-shell support
6 years ago
Emery Hemingway
faeb699fd0
feat(build): add nix-shell support
...
Add a metadata file and build rules to build and test from a development
shell provided by the Nix package manager.
6 years ago
Anthony Bilinski
f252816f55
Merge branch 'v1.17-dev'
6 years ago
Anthony Bilinski
7be327714a
Merge pull request #5828
...
Mick Sayson (1):
fix(history): Prevent invalid history access
6 years ago
Mick Sayson
e3e6e1d9c4
fix(history): Prevent invalid history access
...
* When the DB schema was too new we were accessing history anyways. This
has potential to just completely corrupt the DB
* When history was disabled there was a chance we would attempt to write
to history anyways. Added more checks in this area
* Chatform was accessing invalid iterators when there were no displayed
messages. Added a guard for this case
6 years ago
sudden6
9fa6a4996d
chore: add OARS tags to appimage.xml
...
These tags help app stores and application launchers to put qTox in the
correct categories.
Fixes #5152
6 years ago
Anthony Bilinski
8a821c8858
Merge pull request #5941
...
Katherine Mantel (1):
fix(ui): fix auto-accept directory setup display
6 years ago
Katherine Mantel
8c5cab935c
fix(ui): fix auto-accept directory setup display
...
Fixes #5917
6 years ago
Anthony Bilinski
88d10b1249
refactor(widget): remove uneeded check of if message is targetted
...
It's only relevant for group messages, where the check already exists.
6 years ago
Anthony Bilinski
9b23abc6de
fix(core): avoid using stack allocated memory past end of scope
...
tox_file_send was using a pointer to memory that was out of scope. Extend
lifetime of avatarHash to avoid this.
6 years ago
Anthony Bilinski
1f80173b2d
fix(offlinemsg): don't invalidate iterator before use
...
QMap::erase invalidates the iterator, meaning our usage of it on the
next line was unsafe.
6 years ago
Anthony Bilinski
479b39f536
fix(offlingmsg): only dipatch offline messages on friend online change
...
Before if the new status was online, we would dipsatch, which could cause
double sends in the case of a friend going from e.g. busy -> away
6 years ago
Anthony Bilinski
239dfdc65c
refactor(status): move isOnline into Status from Friend
...
Allows checking if a status if equivalent to Online without needing a Friend
class.
6 years ago
Anthony Bilinski
e9570eafdf
Merge branch 'v1.17-dev'
6 years ago
Anthony Bilinski
05064771ab
fix(test): create db tables in defined order, verify indexes
...
indexes need to be created after their corresponding table is created.
QMap doesn't enforce insertion order, just key order, so use a vector.
Also verify indexes from sql_master instead of only tables.
6 years ago
Anthony Bilinski
edd72906fb
perf(history): enable sql index on chat_id in history table
...
This makes every query with a "WHERE history.chat_id" clause quicker,
improving history load time by 50% on my profile.
Related to #5812
6 years ago
Anthony Bilinski
af19c0d73b
Merge pull request #5875
...
Mick Sayson (1):
fix(chatform): Prevent date line oscillations maxing CPU
6 years ago
sudden6
7475ba4689
chore: remove dead updater code
...
The server for this updater doesn't exist anymore and it wasn't used in years.
6 years ago
Anthony Bilinski
97d8a53692
Merge pull request #5920
...
Mick Sayson (2):
fix(groups): Avoid segfault when resizing group audio window
fix(groups): Correct color of labels in group call
6 years ago
Anthony Bilinski
0055c7760c
fix(ui): fix reversed mute/unmute hover text
6 years ago
sudden6
25943be3c2
Merge pull request #5931
...
Igor Kushnir (1):
fix(ui): quit qTox on Ctrl+Q when "Close to tray" is enabled
6 years ago
Igor Kushnir
f9f634b326
fix(ui): quit qTox on Ctrl+Q when "Close to tray" is enabled
...
Fixes #5925 .
6 years ago
Mick Sayson
3205c2c407
fix(groups): Correct color of labels in group call
...
Group calls are supposed to show the name of each member under their
avatars. The color of the text was previously fixed to white regardless
of the background ignoring the color of the background.
This fix ensures that the background color is not the same color as the
label text
6 years ago
Mick Sayson
ce9e820b37
fix(groups): Avoid segfault when resizing group audio window
...
Avatars for group members currently in a call are resized depending on
the area they are displayed in. Previously a scrollbar would appear and
disapear based on the size of the contents. This resulted in
oscillations that ended in a SIGSEGV.
This fix avoids the oscillations by fixing the scrollbar to always be
shown
6 years ago