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

7952 Commits

Author SHA1 Message Date
Jamie Westell
98a818cbea fix(video): only list video devices with video capture capability
This change adds a check for the V4L2_CAP_VIDEO_CAPTURE capability of
the video device found on devfs. This will filter out 'metadata' device
nodes that may be present on devfs at some  /dev/videoN path.

Fixes #6276
2021-02-27 16:19:30 -08:00
Anthony Bilinski
cfe6250d9d
Merge pull request #6308
Jamie Westell (1):
      chore(docker): add missing deps to dockerfiles
2021-02-24 02:41:08 -08:00
Jamie Westell
4fa203e6d5 chore(docker): add missing deps to dockerfiles 2021-02-23 21:15:53 -08:00
Waris Boonyasiriwat
7a26fe1708 test(persistence): add smileypack unit test
A follow-up of issue #5147, add a unit test which ensures
the same bug won't come up again.
2021-02-20 16:36:11 -08:00
Anthony Bilinski
8a8f9dd654
Merge pull request #6304
bodwok (1):
      fix(ui): add group widgets on start with "Activity" mode
2021-02-19 19:05:06 -08:00
bodwok
b98801f42f
fix(ui): add group widgets on start with "Activity" mode 2021-02-19 19:13:51 +03:00
Anthony Bilinski
817ff3eb1f
Merge pull request #6302
Waris Boonyasiriwat (1):
      fix(smileys): fix flag emojis
2021-02-16 20:37:48 -08:00
Waris Boonyasiriwat
034d7671a5 fix(smileys): fix flag emojis
Fix two small problems that break flag emojis

(1) Multi-char emojis are accidentally grouped together with emoticons
(such as : smile :). This is fixed by using a more robust isAscii(...) function
(2) Smiley regexp construction is undeterministic, causing multi-char to
sometimes be processed first, sometimes last. This is fixed by explicitly
inserting multi-char patterns first.

Issue: #5147
2021-02-16 09:29:21 -08:00
Anthony Bilinski
177f37b0a9
Merge pull request #6293
Mick Sayson (1):
      refactor(chatform): Move typing notification creation into ChatLog
2021-02-01 13:03:00 -08:00
Mick Sayson
d338ed97d9
refactor(chatform): Move typing notification creation into ChatLog
* Part of attempt to reduce interdependencies between
  ChatForm<->ChatLog.
2021-02-01 05:09:26 -08:00
Anthony Bilinski
fe421d11a1
Merge pull request #6294
Mick Sayson (1):
      refactor(chatform): Use IChatLog to get date in GenericChatForm
2021-01-31 00:57:01 -08:00
Anthony Bilinski
59038088cb
Merge pull request #5932
Mick Sayson (6):
      feat(messages): Multipacket message support
      feat(messages): History and offline message support for extended messages
      feat(extensions): UI updates for extension support
      fix(extensions): Add toxext to CI scripts
      feat(extensions): Update documentation
      feat(extensions): Split messages on extended messages
2021-01-30 23:47:20 -08:00
Mick Sayson
d0f4c336ba
refactor(chatform): Use IChatLog to get date in GenericChatForm
* Allows for deletion of APIs returning ChatLine::Ptr from ChatLog
* Bonus removal of unused "getFirstTime" function from GenericChatForm
2021-01-30 22:35:31 -08:00
Mick Sayson
26701283cd
feat(extensions): Split messages on extended messages
v0.0.2 of toxext_extended_messages brought in a user configurable max
message size. This changeset implements the minimum work required for
qTox to work sanely under the new API.

* Hardcode a max message size for all friends
* If a friend negotiates a max message size below the hardcoded value
  pretend they do not have the extension
* Move splitMessage out of Core to MessageProcessor
* Updates to allow for extended messages to be split
2021-01-30 18:15:49 -08:00
Mick Sayson
a11a65af2a
feat(extensions): Update documentation 2021-01-30 18:15:49 -08:00
Mick Sayson
670457a77b
fix(extensions): Add toxext to CI scripts 2021-01-30 18:15:36 -08:00
Mick Sayson
b715815011
feat(extensions): UI updates for extension support
Added a UI element to indicate extension support of the chatroom. For
all groups it will always be red since we do not support extensions in
groups. In a 1-1 chat the indicator will either be green/yellow/red
depending on if the friend has support for all/some/none of qTox's
desired extension set.
2021-01-30 12:52:07 -08:00
Mick Sayson
5f5f612841
feat(messages): History and offline message support for extended messages
* Added new negotiating friend state to allow delayed sending of offline
messages
* Added ability to flag currently outgoing message as broken in UI
* Reworked OfflineMsgEngine to support multiple receipt types
    * Moved resending logic out of the OfflineMsgEngine
    * Moved coordination of receipt and DispatchedMessageId into helper
    class usable for both ExtensionReceiptNum and ReceiptNum
    * Resending logic now has a failure case when the friend's extension
    set is lower than the required extensions needed for the message
    * When a user is known to be offline we do not allow use of any
    extensions
* Added DB support for broken message reasons
* Added DB support to tie an faux_offline_pending message to a required
extension set
2021-01-30 12:52:06 -08:00
Mick Sayson
7474c6d8ac
feat(messages): Multipacket message support
* Introduced ToxExt and CoreExt abstraction
    * Along with interfaces for mocking and unit testing
* Add "supportedExtensions" concept to Friend
* Dispatch messages to CoreExt instead of Core when friend supports
extended messages
    * Only split messages for core when extended messages are unavailable
* Offline message engine/History not altered. Currently only valid for
an existing session after extension negotiation has completed
2021-01-30 12:52:06 -08:00
Anthony Bilinski
abad3fc095
fix(travis): Don't call brew update in Travis CI
Brew disabled updating from shallow clones:
https://github.com/Homebrew/brew/pull/9383

The update is also uneeded since our .travis.yml already has `update: true` for
the brew extension.
2021-01-29 09:40:18 -08:00
Anthony Bilinski
5d26901840
Merge pull request #6288
Mick Sayson (1):
      refactor(history): Remove peerId caching from history
2021-01-24 17:19:09 -08:00
Mick Sayson
13b8bc207b refactor(history): Remove peerId caching from history
In history we cache peers to avoid extra DB lookups, this code is not
pretty and seems to provide little benefit. This reduces the cognitive
load when trying to reason about history.

* Removed peerId table from history
* Replaced peerId lookups with generated select statement
* Benchmarked on a profile with ~100 peers in the db and saw no
  noticible change in transaction time (6-30 ms both before and after
  the changes)
2021-01-24 11:48:16 -08:00
Anthony Bilinski
fb44905698
fix(osx): Fix product name when prompting for mic and camera permissions
Because we don't build with xcode with an xcode project, I think that causes
these variables to not be expanded.

Fix #6261
2021-01-23 19:39:08 -08:00
Anthony Bilinski
5bb89f3e0b
Merge pull request #6274
begasus (2):
      feat(haiku): Don't use fstack-protector on Haiku
      feat(haiku): Haiku doesn't use sys/errno.h
2021-01-23 19:38:32 -08:00
Anthony Bilinski
653a6f653e
refactor(audio): remove unused set min and max input gain 2021-01-23 18:25:11 -08:00
Anthony Bilinski
ce1ecb4234
fix(settings): Initialize gain slider to correct position
Fix #6285
2021-01-23 06:23:24 -08:00
begasus
36463f6f9d
feat(haiku): Haiku doesn't use sys/errno.h 2021-01-23 05:44:02 -08:00
begasus
d413e7b13c
feat(haiku): Don't use fstack-protector on Haiku 2021-01-23 05:44:02 -08:00
Anthony Bilinski
7a683fa5c2
chore: log self and friends network connection type 2021-01-23 04:11:26 -08:00
sudden6
ef47c00c8d
Merge pull request #6271
tWido (1):
      refactor(core): use STL random implementation insted of Qt
2020-12-28 11:30:39 +01:00
tWido
33162c9674 refactor(core): use STL random implementation insted of Qt
use STL <random> libs to reduce version specific code

Closes #6017
2020-12-22 16:37:05 +01:00
sudden6
31be947ac5
Merge pull request #6272
powerjungle (3):
      feat(ui): add warning in GUI when running unstable version
      refactor(log): change unstable version warning message
      refactor(ui): change unstable version warning message
2020-12-21 23:20:37 +01:00
powerjungle
640493477d
refactor(ui): change unstable version warning message 2020-12-15 16:30:06 +02:00
powerjungle
f9f85febea
refactor(log): change unstable version warning message 2020-12-15 16:28:41 +02:00
powerjungle
b51e46683e
feat(ui): add warning in GUI when running unstable version
Add warning in about window in settings when running a version that isn't
tagged. Also print current running version in log.
2020-12-06 12:56:38 +02:00
Anthony Bilinski
12fc33ee23
chore(release): Update release instructions to reflect current procedure 2020-11-27 06:18:33 -08:00
Anthony Bilinski
98dea9aeac
Merge branch 'v1.17-dev' 2020-11-26 02:41:08 -08:00
Anthony Bilinski
127b91a217
chore(release): Merge flathub flatpak manifest with local
Remove snorenotify dep because it was accidentally included.

This should have been done prior to v1.17.3 release, updated in #6264.
2020-11-26 02:39:57 -08:00
sudden6
9c4ebaa238
Merge pull request #6256
powerjungle (1):
      fix(ui): move update elements in about
2020-11-25 00:14:49 +01:00
sudden6
ff1ab07a21
Merge pull request #6258
powerjungle (1):
      fix(ui): system translation not being updated
2020-11-25 00:12:29 +01:00
powerjungle
6527fd4fca
fix(ui): system translation not being updated
This commit fixes an issue when switching from any language back to English,
the system translations remain to be the last language even if the application
translations have switched back to English.
2020-11-24 12:57:48 +02:00
powerjungle
31de0eaf08
fix(ui): move update elements in about
In some languages the "up to date" text can get over the qTox version text, so
this commit moves "up to date" above. The commit also moves the "Update
available" button above and stretches it.
2020-11-24 12:56:36 +02:00
Anthony Bilinski
425e3f6518
Merge branch 'v1.17-dev' 2020-11-23 09:53:13 -08:00
Anthony Bilinski
c0e9a3b796
chore(release): Add changelog for v1.17.3 2020-11-22 20:06:38 -08:00
Anthony Bilinski
8ba13db907
chore(release): Update version number to v1.17.3 2020-11-22 20:06:34 -08:00
Anthony Bilinski
8f2975ade5
chore(release): Update bootstrap node list 2020-11-22 20:06:33 -08:00
Anthony Bilinski
a93c599497
feat(osx): Add support for macOS 10.16, remove support for macOS 10.13
Stop specifying a specific path in cmake for the SDK, since the path differs in
10.16, and cmake will find it automatically.

Use the oldest supported SDK based on https://developer.apple.com/support/xcode/

Fix #6252
2020-11-22 20:06:33 -08:00
Anthony Bilinski
b42b1f5e15
fix(osx): Update deprecated QDateTime and QProcess APIs 2020-11-22 20:06:33 -08:00
Anthony Bilinski
bc2d41b42d
fix(osx): Don't tap kde-mac/kde since it us deprecated and unused
This has been updated on master.
2020-11-22 20:06:29 -08:00
Maxim Biro
bedcf6839a
fix(windows): iconengines not being installed
(cherry picked from commit 1e50c123dc)
2020-11-22 20:05:00 -08:00