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

7472 Commits

Author SHA1 Message Date
Anthony Bilinski
b581a9c6f8
chore(release): Update qTox version number to v1.17.5 2022-03-05 04:18:05 -08:00
Anthony Bilinski
553bd47e81
fix(Windows): Restrict non-default install directory permissions
Installations to Program Files (default) inherit restrictive permissions,
disallowing regular users from writing to files in the install location. If a
user installs to other directories with more lax permissions though, i.e. C:\,
the install directory can be writable by non-admins, causing a privilege
escalation opportunity. An unprivileged user could modify or replace the qTox
binary or a dll, that would then be run by any other user on the system.

Clone Program Files permissions rather than trying to craft sane permissions
manually for simplicity and compatibility.
2022-03-05 04:15:19 -08:00
Anthony Bilinski
2c2c6f6818
refactor(Windows): Use UTF16 strings with files in Windows installer
Windows uses UTF16, so may have caused issues if users installed to paths with
non-ANSI characters. It is also needed for interacting with any OS files.
2022-03-05 04:15:19 -08:00
Anthony Bilinski
9f84184ba8
fix(Windows): Build NSIS installer in Unicode mode
ANSI mode is deprecated.
2022-03-05 04:15:19 -08:00
Anthony Bilinski
1353fc934e
fix(Windows): Define installer language before trying to access it
LangString UninstLogMissing statement was accessing LANG_ENGLISH before it was
defined by the MUI_LANGUAGE macro. It caused a warning, but still defaulted to
English.
2022-03-05 04:15:19 -08:00
Anthony Bilinski
5526d131a7
refactor(Windows): Define installer macros right after creating them
Breaks an inter-dependency between "MODERN UI" section needing CreateShortcut
and "PREPARE UNINST LOG" section needing LANG_ENGLISH, allowing "MODERN UI"
section to be done first.
2022-03-05 04:15:19 -08:00
Anthony Bilinski
ee0334acc5
feat(chatlog): Disable join and leave system messages based on setting
Backported from 069ab92fd0
2022-03-05 04:13:23 -08:00
Anthony Bilinski
423049db50
feat(UI): Add UI For controlling group join and leave system messages setting
Backported from 069ab92fd0
2022-03-05 04:13:22 -08:00
Anthony Bilinski
916e797c10
feat(Settings): Add setting for hiding group join and leave system messages
Messages can become spammy is long lasting quiet groups, drowning out real user
messages

Backported from 1be5b99d17
2022-03-05 04:13:19 -08:00
Anthony Bilinski
d0d288a9b6
refactor(settings): Use IGroupSettings in GroupChatForm
Move interface signals from Settings to be declared by the interface itself

Backported from e5df648e1a
2022-03-05 04:12:31 -08:00
Anthony Bilinski
f5fabc2fe2
fix: Update video API usage for newer libavcodec
Newer version of avformat_open_input, av_find_input_format,
avcodec_find_decoder previously used non-const pointers that are now
const. Support both version for compatibiltiy with other platforms.

Backported from 15673a52b6
2022-03-05 01:30:50 -08:00
Anthony Bilinski
f0e82c3d90
chore(release): Update version number to v1.17.4 2021-12-14 17:04:29 -08:00
Anthony Bilinski
aca23cd100
chore(release): Add changelog for v1.17.4 2021-12-14 03:33:40 -08:00
Anthony Bilinski
992cdbd045
chore: Replace deprecated QMutex::Recursive with QRecursiveMutex 2021-12-14 03:33:34 -08:00
Maxim Biro
96e1ce573b
chore(windows): update VPX to 1.11.0 2021-12-14 01:29:59 -08:00
Maxim Biro
f854e5bbef
chore(windows): update Exif to 0.6.24 2021-12-14 01:29:20 -08:00
Maxim Biro
0eb4dc3735
chore(windows): update FFmpeg to 4.4.1 2021-12-14 01:28:19 -08:00
Maxim Biro
bc7497a01c
chore(windows): update SQLCipher to 4.5.0 2021-12-14 01:25:48 -08:00
Maxim Biro
265e2e1721
chore(windows): update Qt to 5.12.12 2021-12-14 01:23:01 -08:00
Anthony Bilinski
e12e6fecaa
chore(deps): update c-toxcore to v0.2.13 2021-12-14 00:43:14 -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
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