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

7193 Commits

Author SHA1 Message Date
Anthony Bilinski
80e457da1d
chore(i18n): update translation files for Weblate 2019-04-24 09:01:33 -07:00
Anthony Bilinski
e1f7edd298
chore(i18n): add pt_BR translation 2019-04-24 09:01:32 -07:00
Anthony Bilinski
922fd58af6
chore(maint): remove deprecated update-nodelist tool
nodelist is now stored directly in JSON format, since 1f2bdf3a1b
2019-04-22 22:26:47 -07:00
Anthony Bilinski
685ae8ad6f
chore(l10n): update translations from Weblate
Allan Nordhøy (1):
      feat(l10n): update Norwegian Bokmål translation from Weblate

Andrea (1):
      feat(l10n): update Bulgarian translation from Weblate

Andrey (1):
      feat(l10n): update Russian translation from Weblate

Armand Bozsik (1):
      feat(l10n): update Hungarian translation from Weblate

Brage Gundersen (1):
      feat(l10n): update Norwegian Bokmål translation from Weblate

DirektX (2):
      feat(l10n): update Hungarian translation from Weblate
      feat(l10n): update Hungarian translation from Weblate

Dual Natan (1):
      feat(l10n): update Macedonian translation from Weblate

Emil Tang Kristensen (1):
      feat(l10n): update Danish translation from Weblate

Enter (1):
      feat(l10n): update Uyghur translation from Weblate

Eolia (1):
      feat(l10n): update French translation from Weblate

Harly Hallikas (1):
      feat(l10n): update Estonian translation from Weblate

Jeremia Dominguez (1):
      feat(l10n): update Lojban translation from Weblate

Johnny (1):
      feat(l10n): update French translation from Weblate

Jonatan Nyberg (2):
      feat(l10n): update Swedish translation from Weblate
      feat(l10n): update Swedish translation from Weblate

Jyry Hjelt (1):
      feat(l10n): update Finnish translation from Weblate

Reg Zi (1):
      feat(l10n): update Bulgarian translation from Weblate

Rui Mendes (3):
      feat(l10n): add Portuguese (Brazil) translation using Weblate
      feat(l10n): update Portuguese translation from Weblate
      feat(l10n): update Portuguese (Brazil) translation from Weblate

Ryo Nakano (4):
      feat(l10n): update Japanese translation from Weblate
      feat(l10n): update Japanese translation from Weblate
      feat(l10n): update Japanese translation from Weblate
      feat(l10n): update Japanese translation from Weblate

Sasso0101 (1):
      feat(l10n): update Slovenian translation from Weblate

TecHunter (1):
      feat(l10n): update French translation from Weblate

Tomo S (2):
      feat(l10n): update Croatian translation from Weblate
      feat(l10n): update Croatian translation from Weblate

Unlucky Luke (1):
      feat(l10n): update Swedish translation from Weblate

Vangel Ajanovski (1):
      feat(l10n): update Macedonian translation from Weblate

WaldiS (1):
      feat(l10n): update Polish translation from Weblate

Weblate (3):
      Merge branch 'origin/master' into Weblate
      Merge branch 'origin/master' into Weblate
      Merge branch 'origin/master' into Weblate

Whod (1):
      feat(l10n): update Bulgarian translation from Weblate

Zarko Gjurov (1):
      feat(l10n): update Macedonian translation from Weblate

aasami (1):
      feat(l10n): update Slovak translation from Weblate

birkim (3):
      feat(l10n): update Uyghur translation from Weblate
      feat(l10n): update Uyghur translation from Weblate
      feat(l10n): update Uyghur translation from Weblate

ilay (1):
      feat(l10n): update Chinese (Simplified) translation from Weblate

monolifed (2):
      feat(l10n): update Turkish translation from Weblate
      feat(l10n): update Turkish translation from Weblate

notramo (5):
      feat(l10n): update Hungarian translation from Weblate
      feat(l10n): update Hungarian translation from Weblate
      feat(l10n): update Hungarian translation from Weblate
      feat(l10n): update Hungarian translation from Weblate
      feat(l10n): update Hungarian translation from Weblate

ssantos (1):
      feat(l10n): update Portuguese translation from Weblate

wellinkstein (1):
      feat(l10n): update French translation from Weblate
2019-04-22 00:57:55 -07:00
Anthony Bilinski
0dc46cdc81
fix(ui): fix typo, add plural to translation 2019-04-21 20:06:34 -07:00
Diadlo
15d72a9610
fix: Call 'tr' in place, where text is accessible 2019-04-21 14:42:44 +03:00
sudden6
8e13d96aa6
Merge pull request #5627
TriKriSta (2):
      style: edit styles
      style: edit style for QSplitter
2019-04-20 23:31:03 +02:00
TriKriSta
504b9b2014 style: edit style for QSplitter 2019-04-19 02:04:41 +03:00
TriKriSta
00aac5f152 style: edit styles
add custom themes in AboutFriendForm
edit style for QSpinBox disable
edit palette color for dark theme and etc
2019-04-17 20:31:42 +03:00
Anthony Bilinski
c0fdc42e33
refactor(mime): store ToxPk and GroupId as mimedata 2019-04-16 00:51:35 -07:00
Anthony Bilinski
f7603c294b
refactor(id): use toxPk and groupId instead of core numbers
Allows creating classes for blocked friends which have toxPks but no
core number.
2019-04-16 00:44:16 -07:00
Anthony Bilinski
ec500b6673
refactor(status): add Blocked status, deduplicate status parsing
Blocked status will represent friends who are removed from Toxcore, but who still exist in UI and can be readded to Toxcore at a future time using their public key. Blocked friends are similar to offline friends, but have a different status icon and will be seperated in the friends list.
2019-04-14 13:35:46 -07:00
Anthony Bilinski
0f5ad725d7
fix(groups): fix assert on group invite accept 2019-04-14 05:01:00 -07:00
Anthony Bilinski
df62463e27
fix(widget): fix freeze on showMainGui
Don't use copied uninitialized shadowing Core* in Widget
2019-04-13 20:04:24 -07:00
Anthony Bilinski
97d05f9d67
refactor(id): make ContactId interface, implement GroupId
Precursor for group history, friend blocking
2019-04-13 12:58:25 -07:00
sudden6
229ca307cf
refactor: remove unused functions detected by cppcheck
Note: Some more functions were detected, but this are the ones I'm
pretty sure we don't need.
2019-04-13 11:48:16 +02:00
sudden6
0da72e22d3
refactor: remove dead code 2019-04-13 11:48:12 +02:00
Anthony Bilinski
9b6019390b
refactor(groups): create Group on group join, assert Group exists on callbacks 2019-04-12 09:13:14 -07:00
Anthony Bilinski
63ef6e3ff4
Merge pull request #5613
TriKriSta (1):
      feat: add border for qrcode
2019-04-12 01:49:09 -07:00
TriKriSta
191f89ffa4 feat: add border for qrcode 2019-04-10 23:26:48 +03:00
sudden6
a4ad8c71b8
refactor(core): make CoreFile its own independent class
This paves the way for better testability of Core as well as CoreFile.
2019-04-10 10:28:13 +02:00
sudden6
f03262e98b
refactor(core): remove duplicate code and checks 2019-04-10 10:28:13 +02:00
sudden6
b033b5095b
refactor(core): use mutable keyword instead of smart pointer 2019-04-10 10:28:13 +02:00
sudden6
66f72ee863
refactor(core): remove unused function
This function would always return true for any non destroyed Core
object.
2019-04-10 10:28:12 +02:00
sudden6
93a7fdfe03
refactor(core): cleanup Core public functions 2019-04-10 10:28:09 +02:00
Anthony Bilinski
216766061c
refactor(avatar): split up setAvatar function
Don't convert to QPixMap before saving. Allow for use of file without re-encoding once metadata stripping is available for PNGs.
2019-04-08 23:45:47 -07:00
Anthony Bilinski
dfec934ff0
fix(alias): allow clearing alias from chatformheader
Now has the same logic as FriendWidget. Before clearing the field would result in no change being made, instead of clearing the alias.
2019-04-08 04:42:14 -07:00
sudden6
e4633087fa
Merge pull request #5589
yangfl (1):
      chore(cmake): add libatomic to target_link_libraries when required
2019-04-03 10:22:52 +02:00
Anthony Bilinski
1997d1187e
Merge pull request #5601
TriKriSta (2):
      style: use css files for toxId
      style: edit styles for myltiple windows
2019-04-01 11:44:29 -07:00
TriKriSta
db962690bd style: edit styles for myltiple windows 2019-03-31 19:54:12 +03:00
TriKriSta
d1715500f7 style: use css files for toxId 2019-03-31 17:57:17 +03:00
Anthony Bilinski
19f5df0a91
Merge pull request #5593
TriKriSta (1):
      style: add custom style for QCheckBox for dark theme
2019-03-30 13:41:09 -07:00
Anthony Bilinski
bef9d4b773
fix(settings): load personal settings before constructing core
Fix proxy settings not being passed to toxcore, bug present since
8574162949. Not present in any releases.
2019-03-30 02:40:51 -07:00
TriKriSta
c778712b13 style: add custom style for QCheckBox for dark theme 2019-03-28 21:21:40 +02:00
yangfl
70781bb14f chore(cmake): add libatomic to target_link_libraries when required
Looks like CMAKE_REQUIRED_LIBRARIES are not automatically linked against.
2019-03-28 18:18:49 +08:00
Anthony Bilinski
993f6fa5c0
chore(legal): remove copyright infringing "Basic" smiley pack
Mostly ripped from Skype, added in 2cb582590d. We have other better, more complete, and libre packs available.
2019-03-26 23:51:50 -07:00
Anthony Bilinski
e7f523bc9a
refactor(messages): don't use receipt 0 as unsent, simplify class state 2019-03-26 19:28:29 -07:00
sudden6
769e239661
Merge pull request #5577
Vincas Dargis (32):
      feat(apparmor): Add AppArmor profile
      feat(apparmor): Add AppArmor v2.12.1 profile
      fix(apparmor): Fix AppArmor profile for version 2.12.1
      fix(apparmor): Fix loading libraries from custom install prefix
      fix(apparmor): Backport qt5 abstraction for v2.12.1 profile
      fix(apparmor): Add ibus abstraction
      fix(apparmor): Fix qTox cache access
      fix(apparmor): Fix accessibility DBus access
      fix(apparmor): Fix hunspell access
      fix(apparmor): Fix dbus access
      fix(apparmor): Fix access to openssl configuration
      fix(apparmor): Fix .local/share/qTox/ access
      fix(apparmor): Backport dri-enumerate abstraction
      fix(apparmor): Fix DBUS denies on Kubuntu 18.04
      fix(apparmor): Fix spam of DENIED messages on openSUSE
      fix(apparmor): backport kde abstraction
      fix(apparmor): fix file dialog on KDE desktop
      fix(apparmor): fix file dialog denies
      fix(apparmor): Fix font-related denies on openSUSE
      fix(apparmor): Fix openSUSE-related AppArmor denies
      fix(apparmor): Backport fix from dri-common abstraction
      fix(apparmor): Fix screenshot capture under AppArmor
      docs(apparmor): Add README about AppArmor
      feat(apparmor): Add AppArmor profile install scripts
      docs(INSTALL.md): Add link to AppArmor readme.
      docs(apparmor): Simplify install script usage
      docs(apparmor): Fix custom install prefix example
      fix(apparmor): Fix typo in file path
      fix(apparmor): Make network rules more strict
      docs(apparmor): Refactor links
      docs(apparmor): Fix line lengths
      docs(apparmor): Fix grammar
2019-03-26 17:51:49 +01:00
Vincas Dargis
ef2e7128ee docs(apparmor): Fix grammar
Fix documentation text errors detected in review.
2019-03-25 20:14:01 +02:00
Vincas Dargis
0df815fd2c docs(apparmor): Fix line lengths
Wrap text to 80 chars per line to conform to qTox documentation
guidelines.
2019-03-25 20:14:01 +02:00
Vincas Dargis
52883bbbe3 docs(apparmor): Refactor links
Move links to the bottom of the document to conform to the qTox
documentation guidelines.
2019-03-25 20:14:01 +02:00
Vincas Dargis
11a32e3371 fix(apparmor): Make network rules more strict
Explicitly define allowed network domain.
2019-03-25 20:14:01 +02:00
Vincas Dargis
4d9cc7216a fix(apparmor): Fix typo in file path
File rule to allow loading the executable itself has typo - no
executable name itself is present. Profile still works OK but it might
fail on some older kernels.

Fix file rule by specifying full path to the executable.
2019-03-25 20:14:01 +02:00
Vincas Dargis
3c7b0075f7 docs(apparmor): Fix custom install prefix example
AppArmor profile attachement example is wrong because it does not use {
} "alternations" to make comma define alternative executable path.

Update example to make it actually work in custom install prefix case.
2019-03-25 20:14:01 +02:00
Vincas Dargis
5899b0de09 docs(apparmor): Simplify install script usage
security/apparmor/install.sh scripts does not need to `cd` into it's
directory to work correctly.

Simplify example to invoke `install.sh` without `cd`.
2019-03-25 20:14:01 +02:00
Vincas Dargis
b0279bf4ea docs(INSTALL.md): Add link to AppArmor readme.
Hint user about possibility to use AppArmor for security hardening in
ISNTALL.md.
2019-03-25 20:14:01 +02:00
Vincas Dargis
2e682c6e6a feat(apparmor): Add AppArmor profile install scripts
Add scripts for installing AppArmor profiles.
2019-03-25 20:14:01 +02:00
Vincas Dargis
137cce19bc docs(apparmor): Add README about AppArmor
Document AppArmor profile usage, troubleshooting and other concerns.
2019-03-25 20:14:01 +02:00
Vincas Dargis
5304ba4cb0 fix(apparmor): Fix screenshot capture under AppArmor
AppArmor denies creating screenshot file:
```
type=AVC msg=audit(1552817813.136:554): apparmor="DENIED"
operation="mkdir" profile="qtox"
name="/home/vincas/.local/share/Tox/qTox/images/" pid=16100 comm="qtox"
requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
```

Add file rule to allow creating desktop screenshot.
2019-03-25 20:14:01 +02:00
Vincas Dargis
f6c11c9b6d fix(apparmor): Backport fix from dri-common abstraction
AppArmor produces denies:
```
type=AVC msg=audit(1552817150.513:371): apparmor="DENIED"
operation="open" profile="qtox"
name="/usr/share/drirc.d/00-mesa-defaults.conf" pid=5895 comm="qtox"
requested_mas k="r" denied_mask="r" fsuid=1000 ouid=0
```

Fix is available in upstream.

Backport AppArmor commit 2d8d2f06d5697d9692330686bb5ddb0095621144 to fix
dri-related denies.
2019-03-25 20:14:01 +02:00