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
465d826068
chore: bump version and update changelog
2020-04-26 14:06:16 +02:00
sudden6
c2c3e35fcb
chore: fix travis.yml syntax
2020-04-26 12:56:52 +02:00
sudden6
fa7a26f9f0
chore: don't put access token in variable
...
Regenerated the token with the `--org` option
2020-04-26 12:06:25 +02:00
sudden6
787c5ca20a
chore: update Travis CI deploy token for releases
...
This changes the ownership of the token to: sudden6
2020-04-25 21:53:56 -07:00
sudden6
f56943dfee
chore: release only as draft
2020-04-25 21:07:52 -07:00
sudden6
c549479c0d
chore(release): add changelog for v1.17.1
2020-04-23 00:40:37 -07:00
Anthony Bilinski
48c688bf1b
fix(ci): remove jenkins deploy step
...
jenkins is no longer used for release builds, and it's causing travis to fail
to deploy
2020-04-22 17:17:11 +02:00
Douglas Rhine
5f70d5d3d3
chore(flatpak): update runtime to 5.14
2020-04-22 17:17:11 +02:00
sudden6
9fffd7bca5
chore(release): add changelog for v1.17.0
2020-04-20 00:11:10 +02:00
sudden6
0f5c5482db
chore(release): update qTox version to 1.17.0
2020-04-19 23:26:57 +02:00
iphydf
28341d8457
fix(osx): Add camera and microphone usage description.
...
NSCameraUsageDescription and NSMicrophoneUsageDescription are needed on
newer macOS versions (10.14+) to get access to camera/microphone. This
text is shown to the user when they need to press the "allow" button.
2020-04-18 18:24:58 -07:00
sudden6
3d89b41e99
chore: update to Qt 5.12.8 for Windows
2020-04-18 16:10:53 -07:00
Anthony Bilinski
2c59c92030
fix(db): Support opening and upgrading to any of three SQLCipher params
...
Fix #5952
2020-04-18 14:39:41 -07:00
Anthony Bilinski
deb7fbb67c
fix(db): Add half-upgraded cipher params
...
Our previous SQLCiper upgrade code attempted to set SQLCipher 4.0
default params. If SQLCipher 3.x was used at that time, it would result
in only half upgrading the params, since SQLCipher 3.x doesn't support
PRAGMA cipher_hmac_algorithm or PRAGMA cipher_kdf_algorithm. This means
that our databases could be saved with any of three sets of SQLCipher
params.
2020-04-14 23:38:44 -07:00
Anthony Bilinski
40989e54d8
chore(ci): don't use git --no-merges for git commit message checking
...
When doing a short clone, like travis does, git can't tell if the
oldest commit is a merge of not. Just allow either commit message
format for all commits, and rely on reviewers and common sense to not
name normal commits "Merge.*"
Fix #6051
2020-04-13 02:26:36 -07:00
TriKriSta
c13ede85df
fix(ui): add vertical spacer to profileform
2020-04-13 00:56:39 -07:00
Anthony Bilinski
7b7950e7f7
revert(chatlog): "load messages from the database after date"
...
This reverts commit b705ac8060
.
2020-04-12 22:40:11 -07:00
Anthony Bilinski
c75d8c8d3e
revert(chatlog): "edit function "Load chat history""
...
This reverts commit 6de1173c17
.
2020-04-12 22:40:11 -07:00
Anthony Bilinski
8e03aa4b17
revert(chatlog): "edit load history in search"
...
This reverts commit 8c4b1e00a1
.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
5efb0ba020
revert(chatlog): "add action "Go to current date""
...
This reverts commit 2a9648d12c
.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
8c3f3199ef
revert(chatlog): "edit position chat after load history"
...
This reverts commit c2d5b422b3
.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
ccc7107f92
revert(chatlog): "remove part messages from chat"
...
This reverts commit 4c7ecb6024
.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
3f36b31f8b
revert(chatlog): "simple edit code"
...
This reverts commit b807998fe9
.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
8f167f45a3
revert(chatlog): "edit load history when scrolling"
...
This reverts commit 0a9e72020e
.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
bd0ef5de82
revert(chatlog): "prohibition to remove messages in group chat"
...
This reverts commit 5aeac56b76
.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
3ac6b578df
revert(chatlog): "fix a crash when there are no messages to load"
...
This reverts commit 040c6b95ae
.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
35c5e77a8a
revert(chatlog): "fix: data validation during the search"
...
This reverts commit acb91ed731
.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
6395ce3aae
revert(chatlog): "feat: check chat status before start a search"
...
This reverts commit ce570927b1
.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
c1d0624b5d
revert(chatlog): "feat: save selected search text after scrolling up"
...
This reverts commit dbf880078e
.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
83d5863bbe
revert(chatlog): "optimize load messages during the search"
...
This reverts commit 6de307e6b9
.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
306bbb424e
revert(chatlog): "update workerStb"
...
This reverts commit 177bf12f11
.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
4cd443ae7b
revert(chatlog): "scroll bar stuck to bottom ( fix #5755 )"
...
This reverts commit 38df897e02
.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
efff8d53c9
revert(chatlog): "add comments for functions that load history"
...
This reverts commit 5fc1afbab5
.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
5d44cd773f
revert(chatlog): partially revert "prevent invalid history access"
...
This partially reverts commit e3e6e1d9c4
.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
b04639c6d0
revert(chatlog): "fix stick to bottom behavior"
...
This reverts commit f2fa601073
.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
5da1e4b9a8
revert(chatlog): "enable dynamic view range in chatlog with history disabled"
...
This reverts commit a7f3495956
.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
9888bc2d80
fix(build): disable Werror by default, keep enabled on CI
...
To allow for easier building with different compilers on user systems. Keep
strict checks on CI to make sure new warnings aren't ignored.
2020-04-12 16:30:17 -07:00
Anthony Bilinski
6e2ac12d84
fix(avatar): reject avatars that are larger than 64KB
...
This will prevent qTox from auto-accepting arbitrarily large avatars. Avatars
are already limited by TCS 2.2.4 to 64KB, so we would only receive larger
avatars from badly behaving clients.
2020-04-10 15:32:35 -07:00
sudden6
b7ecf02995
chore(nodes): update bootstrap nodes and tools
...
Add a script to update bootstrap nodes from nodes.tox.chat.
Update maintainer instructions for release.
2020-04-05 13:55:47 -07:00
Anthony Bilinski
4a81bb1cb5
chore(windows): update OpenSSL to 1.1.1f
2020-04-05 12:08:41 -07:00
sudden6
a4ac178bbd
chore(deps): update c-toxcore to v0.2.11
2020-03-29 02:09:20 -07:00