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

7863 Commits

Author SHA1 Message Date
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
Maxim Biro
526db3eb81
refactor(Windows): unify whitespaces in NSIS scripts
While two files differ only by 3 lines, there were many unnecessary
whitespace differences between them.

(cherry picked from commit 169009f550)
2020-11-22 20:04:48 -08:00
Maxim Biro
c97cacb52a
chore(windows): update Expat to 2.2.10
(cherry picked from commit a59c960d81)
2020-11-22 20:02:32 -08:00
Maxim Biro
1a9fbffb24
chore(windows): update VPX to 1.9.0
(cherry picked from commit 2e1999e2ca)
2020-11-22 20:02:27 -08:00
Maxim Biro
13b4396b75
chore(windows): update QREncode to 4.1.1
(cherry picked from commit cca17b2341)
2020-11-22 20:02:22 -08:00
Maxim Biro
5de8ff4ee5
chore(windows): update FFmpeg to 4.3.1
(cherry picked from commit ea3d618223)
2020-11-22 20:02:17 -08:00
Maxim Biro
e37a8cf82f
chore(windows): update Qt to 5.12.9
(cherry picked from commit dc78f410f0)
2020-11-22 20:02:12 -08:00
Maxim Biro
bb89e7d906
chore(windows): update OpenSSL to 1.1.1h
(cherry picked from commit c2c7ee90e2)
2020-11-22 20:02:07 -08:00
Douglas Rhine
44b6c73e89
chore(flatpak): update deps and bump runtime to 5.15
(cherry picked from commit 78d132b423)
2020-11-22 20:01:40 -08:00
Anthony Bilinski
191147be04
chore(travis): revert 8e597ed736
https://github.com/qTox/qTox/pull/5866 both updated our travis xcode version,
and also added the dots in 8e597ed736. When macOS
was updated by Apple, older versions aged out of support, and brew also stopped
supporting them. Our travis xcode9.2 at the time stopped getting binary
packages (kegs) from brew because of that, and started having to compile
packages which is what was causing the timeouts.

Updating our xcode version allowed us to get binary packages from brew again,
so the workaround of constant output to avoid timing out while compiling large
packages is no longer needed.

(cherry picked from commit db1397d69c)
2020-11-22 20:01:34 -08:00
Anthony Bilinski
bd45095b5c
fix(tools): Add Windows to toxcore version update script
(cherry picked from commit 1d1d2b26af)
2020-11-22 20:01:26 -08:00
Anthony Bilinski
4fc0fea072
fix(tools): Use correct hash when automatically updating flatpak version
Before v0.2.9 would be sorted below v0.2.12, giving the wrong hash.

(cherry picked from commit 1f1cb2f5f9)
2020-11-22 20:01:19 -08:00
Anthony Bilinski
5932e9332b
chore(build): Update Windows toxcore build to v0.2.12
It was missed during the last update.

(cherry picked from commit e90edbf5c2)
2020-11-22 20:01:12 -08:00
Anthony Bilinski
8f3a621fc3
fix(osx): Allow rebuild using build script
Was failing if directory was already present on -i

(cherry picked from commit 56151ea6fd)
2020-11-22 20:01:05 -08:00
Anthony Bilinski
b40ba27be5
fix(osx): Fix missing variables in macOS build script
(cherry picked from commit 360cde9d36)
2020-11-22 20:00:57 -08:00
Anthony Bilinski
0413e8b372
fix(travis): Install virtualenv for nightly build upload script
(cherry picked from commit a68f5bcc6f)
2020-11-22 20:00:46 -08:00
Anthony Bilinski
953e542d53
fix(tools): use a subdirectory for release source archives
Fix #6203

(cherry picked from commit 7dfd93bd91)
2020-11-22 20:00:35 -08:00
Anthony Bilinski
81e2d41106
chore(travis): use curl instead of wget to connect to libsodium
wget was failing to negotiate with download.libsodium.org since it doesn't
support TLS 1.0

Fix #6191

(cherry picked from commit c2483f474a)
2020-11-22 20:00:28 -08:00
Maxim Biro
33a89c24ee
refactor(build): remove specific string tests
What we really want to test is if the variable is set/defined/non-empty.

(cherry picked from commit af78a42187)
2020-11-22 20:00:22 -08:00
Maxim Biro
1900592646
fix(build): cache debug deps during 2nd stage
(cherry picked from commit a686468bfd)
2020-11-22 20:00:14 -08:00
Maxim Biro
83f543fab8
chore(build): Update copyright year
(cherry picked from commit 2f6d3f443f)
2020-11-22 20:00:07 -08:00
Maxim Biro
a0569e41a7
feat(windows): Build our own gdb
(cherry picked from commit ffc0359919)
2020-11-22 19:59:59 -08:00
Maxim Biro
e06cebad5e
feat(windows): Make sure no dlls are missing
(cherry picked from commit bfa49df006)
2020-11-22 19:59:53 -08:00
Maxim Biro
2e1349e23b
feat(windows): Link all Windows deps dynamically
(cherry picked from commit ef38c6b7b7)
2020-11-22 19:59:46 -08:00
Maxim Biro
8608bfdc59
chore(windows): update Exif to 0.6.22
(cherry picked from commit 4e4e77b594)
2020-11-22 19:59:38 -08:00
Maxim Biro
74e5500322
chore(windows): add a note on openal-soft loopback
(cherry picked from commit 0df31e0d73)
2020-11-22 19:59:31 -08:00
Maxim Biro
6f57251e74
chore(windows): update FFmepg to 4.2.3
(cherry picked from commit fd1f11c201)
2020-11-22 19:59:25 -08:00
Maxim Biro
80b2eebead
chore(windows): update SQLCipher to v4.4.0
(cherry picked from commit 2b0f3081ac)
2020-11-22 19:59:16 -08:00
Maxim Biro
d1da219e54
chore(windows): update OpenSSL to 1.1.1g
(cherry picked from commit 9657e5ef1b)
2020-11-22 19:58:51 -08:00
Vincas Dargis
44299604b0
fix(apparmor): Allow access to Aspell personal dictionaries
Running qTox under AppArmor confinement produces these `DENIED` messages:

```
type=AVC msg=audit(1589897925.045:793): apparmor="DENIED"
operation="open" profile="qtox" name="/home/vincas/.aspell.en.pws"
pid=36671 comm="qtox" requested_mask="r" denied_mask="r" fsuid=1000
ouid=1000
```
```
type=AVC msg=audit(1589897925.045:794): apparmor="DENIED"
operation="open" profile="qtox" name="/home/vincas/.aspell.en.prepl"
pid=36671 comm="qtox" requested_mask="r" denied_mask="r" fsuid=1000
ouid=1000
```
```
type=AVC msg=audit(1589996245.245:1193): apparmor="DENIED"
operation="file_lock" profile="qtox" name="/home/vincas/.aspell.en.pws"
pid=53202 comm="qtox" requested_mask="k" denied_mask="k" fsuid=1000
ouid=1000
```
```
type=AVC msg=audit(1589996245.245:1194): apparmor="DENIED"
operation="file_lock" profile="qtox"
name="/home/vincas/.aspell.en.prepl" pid=53202 comm="qtox"
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
```

Add file rule to allow reading and locking Aspell-specific user files [0].

[0] http://aspell.net/man-html/Format-of-the-Personal-and-Replacement-Dictionaries.html

(cherry picked from commit 6a21d96214)
2020-11-22 19:58:42 -08:00
Vincas Dargis
7cc0e69591
fix(apparmor): Allow spellchecking
qTox 1.17.2 produces these DENIED messages on Debian Sid:

```
type=AVC msg=audit(1588944857.534:854): apparmor="DENIED"
operation="open" profile="qtox"
name="/usr/share/hspell/hebrew.wgz.sizes" pid=29172 comm="qtox"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
```

```
type=AVC msg=audit(1588945073.014:885): apparmor="DENIED"
operation="open" profile="qtox"
name="/usr/share/kf5/sonnet/trigrams.map" pid=29334 comm="qtox" req
uested_mask="r" denied_mask="r" fsuid=1000 ouid=0
```

```
type=AVC msg=audit(1588945273.590:905): apparmor="DENIED"
operation="open" profile="qtox" name="/var/lib/aspell/sl.rws" pid=29391
comm="qtox" requested_mask=
"r" denied_mask="r" fsuid=1000 ouid=0
```

Add file read rules to allow reading spellcheck-related files.

(cherry picked from commit 2ebf51b5b7)
2020-11-22 19:58:35 -08:00
Anthony Bilinski
c5959f40a3
chore(deps): update c-toxcore to v0.2.12
(cherry picked from commit 728621f627)
2020-11-22 19:57:54 -08:00
Anthony Bilinski
9e99db51d9
fix(ui): don't notify of available update if local version is newer
This could happen between the time when the release tag is pushed and the time
when the release binaries are published.

Fix #6112

(cherry picked from commit 82547263f8)
2020-11-22 19:57:47 -08:00
Jimi Huotari
ab5a1ce007
refactor(Qt): fix build with Qt 5.15 again
A deprecated function was previously replaced with an overload that
also got recently deprecated [1].

1. https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.15&id=46ebd11e

(cherry picked from commit 6a59f0fe4d)
2020-11-22 19:57:42 -08:00
Vincas Dargis
e233d6a23e
docs(apparmor): Update AppArmor documentation.
Ubuntu 19.10 (and latest Debian, openSUSE rolling releases) has AppArmor
2.13.3. Recommend to use latest AppArmor profile for these distribution
releases.

(cherry picked from commit fa86413b1b)
2020-11-22 19:57:35 -08:00
Vincas Dargis
99321c95c3
feat(apparmor): Update AppArmor 2.13.3 profile
AppArmor 2.13.3 now has updated abstractions, and that means we no
longer need manual backports in qTox profile.

Remove redundant rules from qTox profile that are already available in
AppArmor 2.13.3.

(cherry picked from commit a01d31445f)
2020-11-22 19:57:29 -08:00
Vincas Dargis
3db20a608b
feat(apparmor): Add AppArmor 2.13.3 profile
Copy 2.13.2 into 2.13.3 for updated AppArmor profile.

(cherry picked from commit 2d22a76ed3)
2020-11-22 19:57:22 -08:00
Jimi Huotari
d9c3279c40
refactor(Qt): fix build with Qt 5.15
This fixes compile-time warnings about deprecated functions when
building with Qt 5.15.

(cherry picked from commit 6d51971c6f)
2020-11-22 19:56:59 -08:00
sudden6
5a46d3c28e
Merge pull request #6253
powerjungle (2):
      fix(translation): match text to translation files
      fix(translation): match text to translation files part 2
2020-11-18 23:58:35 +01:00
sudden6
b0f37063e7
Merge pull request #6250
powerjungle (3):
      feat(logging): check if current code is tagged
      fix(logging): check if version is stable before other checks
      refactor(logging): change VERSION_REGEX_STRING to a const
2020-11-18 23:55:51 +01:00