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

7135 Commits

Author SHA1 Message Date
Monsterovich
4a6ebff63a fix(ui): minor fix 2019-05-23 00:50:04 +02:00
Monsterovich
3b305dd05a fix(ui): Added option to hide message sender and contents 2019-05-23 00:44:26 +02:00
Monsterovich
1bbe210c25 fix(ui): Improved notifications 2019-05-22 19:48:23 +02:00
sudden6
22362d2940
refactor(audio): Remove Audio singleton
This commit finally removes the Audio singleton and allocates the audio
backend in main.cpp.
2019-05-21 21:05:27 +02:00
Anthony Bilinski
17048c9cc4
feat(ui): add event icons for all statuses
Before we would alternate between status icon and online event icon.
Now each status has its own event version, so status doesn't appear to
alternate between online and the correct status.
2019-05-20 15:45:48 -07:00
Anthony Bilinski
0f6e992650
chore(icon): delete unused event_small icons 2019-05-20 15:45:48 -07:00
Anthony Bilinski
84836cf6a0
fix(icon): centre taskbars
e.g.
* viewBox is 16.1 wide,  lock is 13.4 wide. change offset from 1.4 to 1.35
* dot is 6.8 wide, change offset from 4.65 to 4.6
* SVG partially generated by inkscape, partially manually edited
2019-05-20 15:45:48 -07:00
Anthony Bilinski
c8b156b3a1
feat(settings): save friend list sorting mode 2019-05-17 10:33:47 -07:00
Anthony Bilinski
08a646e456
refactor(friendlist): deduplicate time category widget logic 2019-05-17 09:09:51 -07:00
Anthony Bilinski
d55332ee0a
fix(activity): change last activity time from QDate to QDateTime
* Allows for strict sorting based on last activity in the future
2019-05-17 09:09:51 -07:00
Anthony Bilinski
ca397aebbf
fix(chatlog): update timestamp when db is slower than ack
* cannot invoke non-slot function
2019-05-17 03:42:01 -07:00
Anthony Bilinski
5f40ed8d8c
fix(friendlist): don't update friend's last activity on every start
Fix #5035
2019-05-16 22:49:49 -07:00
Anthony Bilinski
3f922100af
fix(friendlist): don't skip half of friends when sorting by activity 2019-05-16 17:20:50 -07:00
Anthony Bilinski
316893ace9
test(db): add db schema upgrade test 2019-05-15 13:26:21 -07:00
Anthony Bilinski
87a53fad96
fix(ui): don't duplicate group peer name in tooltip 2019-05-15 12:00:50 -07:00
Anthony Bilinski
b7bd7c6215
refactor(group): move peer tracking logic to Group from GroupChatForm
* increase signal granularity
* reduce state in GroupChatForm
* remove differentiation of "joined" and "online" peers, it doesn't exist in toxcore and can't be tracked reliably in qTox
* add system message when peer name changes, even if due to alias
* add system message when self name changes, for clarity
2019-05-15 12:00:44 -07:00
Anthony Bilinski
ef554496fa
refactor(group): rename class members 2019-05-15 11:54:10 -07:00
Anthony Bilinski
04f1ccda35
fix(group): treat empty peer names like empty friend names, by showing pk
Fix #5660
2019-05-15 11:52:27 -07:00
Anthony Bilinski
08839b7052
refactor(group): remove redundant updatePeer API 2019-05-15 00:13:55 -07:00
Anthony Bilinski
6801298e96
fix(groups): don't add friend alias to groups they aren't in
Fix #5657
2019-05-13 23:58:24 -07:00
Anthony Bilinski
6522988e8c
fix(corefile): cancel file transfer when peer goes offline 2019-05-09 21:42:47 -07:00
Anthony Bilinski
1628d495d1
fix(corefile): handle empty avatar transfer in core 2019-05-09 14:43:30 -07:00
Anthony Bilinski
b1eefc3f23
fix(corefile): include file id in map when sending empty avatar 2019-05-09 14:43:29 -07:00
sudden6
cef773c4f6
fix(AVForm): don't load gain when device not ready
This fixes a problem when the audio backend is not yet ready, but we try
to access it's volume.
2019-05-09 12:39:50 +02:00
sudden6
b42ad83478
chore: add formatting code to release steps 2019-05-09 11:54:01 +02:00
Anthony Bilinski
c12605db6d
fix(history): create file_transfers table in upgrade
* bug introduced in refactor 329172321d
2019-05-09 00:19:46 -07:00
Anthony Bilinski
e9f8795197
fix(ui): show empty status as placeholder instead of as status 2019-05-07 14:34:08 -07:00
Anthony Bilinski
190680158c
refactor(status): remove unused group status icons 2019-05-06 16:05:50 -07:00
Anthony Bilinski
ff5c90525d
fix(blocked): change blocked icon to match other used icons
* from old dot_busy.svg icon in history
* colour not matches offline icon perfect, instead of being slightly off
* line width now matched all icons
2019-05-06 16:04:57 -07:00
Anthony Bilinski
329172321d
refactor(history): create db as part of schema upgrade
* update user_version as part of transaction, so that we rollback if update fails and don't increment version
* differentiate between two user_version 0 versions, to avoid the SQL error on new profile creation
* make table creation dependent on user_version, instead of creating tables if not exists every start
2019-05-05 14:52:32 -07:00
sudden6
e7e35642d7
refactor(audio): introduce IAudioSource interface and use it 2019-05-05 12:49:56 +02:00
Anthony Bilinski
2ccb1ec150
fix(history): save name to history for friend invite message
This avoids an extra alias table entry for the empty name. It is not possible to safely heal existing databases, since friend invite message is a normal action message making it hard to change the alias ID used by it, and the alias in the alias table could be used by any other messages if the user's name has ever truely been blank. Just avoid the incorrect alias entry for new chats.
2019-05-01 02:35:32 -07:00
sudden6
0fd06e35a4
Merge pull request #5638
Vincas Dargis (1):
      docs(apparmor): Update AppArmor documentation about Ubuntu
2019-04-28 20:40:50 +02:00
Vincas Dargis
22d4a41b91 docs(apparmor): Update AppArmor documentation about Ubuntu
Ubuntu 19.04 was released with AppArmor 2.13.2 [0].

Update documentation to hint users that they can use AppArmor profile
with latest AppArmor features on Ubuntu 19.04 release.

[0] https://packages.ubuntu.com/disco/admin/apparmor
2019-04-27 16:38:19 +03:00
sudden6
a8546fe8cb
refactor: use smart pointer instead of raw pointer 2019-04-26 16:26:57 +02:00
sudden6
47402fae90
refactor: run formatting script 2019-04-25 21:30:19 +02:00
sudden6
5b908184fc
refactor(audio): move audio output to new IAudioSink interface 2019-04-25 21:30:19 +02:00
sudden6
c61fcd1f2b
refactor(audio): create interface for audio sinks and sources 2019-04-25 21:30:19 +02:00
Anthony Bilinski
881aa3083a
fix(status): use enum as UI property instead of untranslated string
Translation of getStatusTitle introduced in 15d72a9610, breaking asset path from string.
2019-04-24 10:35:17 -07:00
Anthony Bilinski
e1876a2691
refactor(status): remove Status::getFromString and Status::getIconPixmap
getFromString is unused and incompatible with translated UI names, getIconPixmap is unused and completely generic.
2019-04-24 10:35:16 -07:00
Anthony Bilinski
dd007877a9
refactor(status): move Status out of Widget 2019-04-24 10:35:15 -07:00
Anthony Bilinski
51835851b9
docs(MANTAINING): clarfiy translation update process 2019-04-24 09:14:25 -07:00
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