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

55 Commits

Author SHA1 Message Date
Anthony Bilinski
50bda558cd
chore(l10n): Mark moved AppManager translations as finished
lupdate keeps moved translations, but marks them as unfinished. Since
context hasn't changed, the meaning of phrases is the same in this case.
Mark all moved translations that were finished before as finished now.
2022-05-24 13:26:48 -07:00
Anthony Bilinski
7c519c3895
refactor(main): Move main global state into new AppManager class
main() couldn't hold its own state since cleanup() needed access to it.
Having the state in a class allows QApplication::aboutToQuit to call
into a member function with access to the state.

Data used in logging still needs to be global due to
qInstallMessageHandler not accepting a void* to get back to this.

Set QGuiApplication attributes before constructing Qapplication as required,
by using comma operator to call an initialization function before construction
all members in the member initializer list.

Keep logic largely unchanged, but with a defined destruction order.

Destruction is still abnormal due to QApplication::aboutToQuit forcing
us to do partial cleanup before QApplication returns, since some OSes
will kill qTox before the QApplication returns.
2022-05-24 13:26:48 -07:00
Anthony Bilinski
f4e64ee7a6
feat(History): Add a GUI error on database schema mismatch
Fix #5683
2022-05-20 11:38:12 -07:00
Anthony Bilinski
1ac7285c79
refactor(widget): Make RemoveFriendDialog generic for Chats 2022-03-30 19:27:57 -07:00
Anthony Bilinski
efc641efd7
feat(Settings): Add GUI notice for global settings upgrade failure
Due to new MessageBoxManager, Settings now has the ability to show errors
during init.
2022-03-24 02:14:21 -07:00
Anthony Bilinski
b24faabf42
refactor(GUI): Move remaining messsage box functionality to new class
* Pass MessageBoxManager instantiation around instead of relying on a singleton
* Mock MessageBoxManager for unit tests when needed, since they don't have a
  QApplication which is required for creating QWidgets
* Remove GUI class, which didn't have a clear purpose
2022-03-24 02:14:20 -07:00
Anthony Bilinski
e740859ef9
feat(history): Add self join/part messages
Makes it so that looking back in chat history, you can see which users you were
connected to for any message. Otherwise self client restarts are unseen.
Follows showGroupJoinLeaveMessages setting which defaults to false, so only
users who opt in will see the messages.

Scrap generic numArg handling. It somewhat increases complexity and doesn't
reduce code either.
2022-03-10 16:23:46 -08:00
Anthony Bilinski
2b41a06b55
feat(Settings): Add system for versioning and upgrading Settings
Similar to how History handles SCHEMA_VERSION. Run separately on global and
personal settings, since some state in global, and personal settings can’t be
done globally since they require the passkey.

Restrict a user from downgrading past the saved settings version, due to
possible compatibility breaks or old qTox versions re-introducing corrupt state
that was already healed.

Pass in new profile state for personal settings rather than relying on settings
file presence because personal settings can be stored in either the personal
settings file or global settings file. This was introduced in
aea9eea8a4 when personal settings were first
moved to their own file.
2022-03-06 06:00:13 -08:00
Anthony Bilinski
069ab92fd0
feat(UI): Add UI For controlling group join and leave system messages setting 2022-02-20 18:14:55 -08:00
Anthony Bilinski
1031b315b9
chore(i18n): update translation files for Weblate 2022-02-19 03:26:11 -08:00
Anthony Bilinski
2d6fe8ee59
chore(i18n): update translation files for Weblate 2021-03-04 05:31:02 -08:00
sudden6
cb5f1a73ca
chore(i18n): update translation files for Weblate 2019-08-28 21:09:15 -07:00
sudden6
d99ae8421f
chore(l10n): update translations from Weblate
Allan Nordhøy (3):
      feat(l10n): update Norwegian Bokmål translation from Weblate
      feat(l10n): update Norwegian Bokmål translation from Weblate
      feat(l10n): update Norwegian Bokmål translation from Weblate

Cenk YILDIZLI (1):
      feat(l10n): update Turkish translation from Weblate

Coool (1):
      feat(l10n): update Latvian translation from Weblate

Dan Baeza (6):
      feat(l10n): update Portuguese (Brazil) translation from Weblate
      feat(l10n): update French translation from Weblate
      feat(l10n): update Portuguese (Brazil) translation from Weblate
      feat(l10n): update Spanish translation from Weblate
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update Spanish translation from Weblate

Gvido Zageris (1):
      feat(l10n): add Latvian translation using Weblate

Gvido Zāģeris (6):
      feat(l10n): update Latvian translation from Weblate
      feat(l10n): update Latvian translation from Weblate
      feat(l10n): update Latvian translation from Weblate
      feat(l10n): update Latvian translation from Weblate
      feat(l10n): update Latvian translation from Weblate
      feat(l10n): update Latvian translation from Weblate

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

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

Lupa (2):
      feat(l10n): update Russian translation from Weblate
      feat(l10n): update Russian translation from Weblate

Moo (3):
      feat(l10n): update Lithuanian translation from Weblate
      feat(l10n): update Lithuanian translation from Weblate
      feat(l10n): update Lithuanian translation from Weblate

Rui Mendes (1):
      feat(l10n): update Portuguese translation from Weblate

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

Sabri Ünal (1):
      feat(l10n): update Turkish translation from Weblate

Schwonder Reismus (1):
      feat(l10n): update Russian translation from Weblate

Thomas Weber (3):
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate

Viktar Vauchkevich (1):
      feat(l10n): update Belarusian translation from Weblate

Vlastimil Čoček (3):
      feat(l10n): update Czech translation from Weblate
      feat(l10n): update Slovak translation from Weblate
      feat(l10n): update Czech translation from Weblate

leela (1):
      feat(l10n): update Ukrainian translation from Weblate

remussatala (1):
      feat(l10n): update Romanian translation from Weblate

ssantos (1):
      feat(l10n): update German translation from Weblate
2019-08-28 21:09:06 -07:00
Anthony Bilinski
80e457da1d
chore(i18n): update translation files for Weblate 2019-04-24 09:01:33 -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
sudden6
fdcc695977
chore(i18n): update translation files for Weblate 2018-01-11 22:21:00 +01:00
Zetok Zalbavar
76d4dd32c9
chore(i18n): update translation files for Weblate 2017-11-11 09:16:06 +00:00
Zetok Zalbavar
2ce41521f2
chore(i18n): update translation files for Weblate 2017-10-29 11:36:02 +00:00
Zetok Zalbavar
3cc62ce35d
chore(i18n): update translation files for Weblate 2017-10-08 17:13:59 +01:00
Zetok Zalbavar
73ddc67a97
chore(i18n): update translation files for Weblate 2017-09-30 18:56:52 +01:00
Zetok Zalbavar
5f22df6cac
chore(i18n): update translation files for Weblate 2017-07-14 07:26:30 +01:00
Zetok Zalbavar
f72c83afb7
chore(i18n): update translation files for Weblate 2017-03-19 13:35:32 +00:00
Zetok Zalbavar
d812afe829
chore(i18n): update translation files for Weblate 2017-02-26 12:21:18 +00:00
Zetok Zalbavar
55081d2179
chore(i18n): update translation files for Weblate 2017-02-21 09:24:45 +00:00
Zetok Zalbavar
6bc4568f39
chore(i18n): update translation files for Weblate 2017-02-05 07:12:38 +00:00
Zetok Zalbavar
f15888bad1
chore(i18n): update translation files for Weblate 2017-01-12 15:33:02 +00:00
Zetok Zalbavar
9c3256386d
chore(i18n): update translation files for Weblate 2016-12-19 06:46:34 +00:00
Zetok Zalbavar
fba5f8ccc4
fix(UI): remove unnecessary space between a word and colon 2016-12-17 01:34:46 +03:00
Zetok Zalbavar
668ea8e4c7
chore(i18n): update translation files for Weblate 2016-12-16 14:52:36 +03:00
Zetok Zalbavar
3c71e5e2e1
chore(i18n): update translation files for Weblate 2016-12-09 02:10:17 +00:00
Zetok Zalbavar
f0537a12cb
chore(i18n): update translation files for Weblate 2016-11-28 22:23:41 +00:00
Zetok Zalbavar
2b8f60ab78
chore(i18n): update translation files for Weblate 2016-11-19 20:43:41 +00:00
Juniper Berry
f733f47551
feat(l10n): update Japanese translation from Weblate 2016-10-29 10:17:35 +01:00
Zetok Zalbavar
0669bce820
chore(i18n): update translation files for Weblate 2016-10-15 20:04:18 +01:00
Zetok Zalbavar
e7e6cc4d9a
chore(i18n): update translation files for Weblate 2016-10-10 16:30:08 +01:00
Zetok Zalbavar
18218d33e2
chore(i18n): update translation files for Weblate 2016-10-08 21:08:00 +01:00
Zetok Zalbavar
14c97da7d5
chore(i18n): update translation files for weblate 2016-10-02 12:54:06 +01:00
Diadlo
fde9ad5356
fix(i18n): Removed extra tag from translation 2016-09-11 00:06:06 +03:00
qTox translations
c6a52b1f50
chore(i18n): update translation files for weblate 2016-09-05 21:05:40 +01:00
Zetok Zalbavar
aecffc84d4
chore(i18n): update translation files for weblate 2016-08-09 18:41:23 +01:00
qTox translations
f3b164443b
chore(i18n): update translation files for weblate 2016-08-06 10:39:50 +01:00
initramfs
b7aa982a57
chore: rewrite all links to the qTox repository from tux3 to qTox 2016-08-04 06:25:50 +08:00
qTox translations
f970bb5eac
chore(i18n): update translation files for weblate 2016-07-16 23:00:38 +01:00
qTox translations
9a8cfa6748
chore(i18n): update translation files for weblate 2016-07-14 10:16:39 +01:00
qTox translations
888e9d3bbc
chore(i18n): update translation files for weblate 2016-07-12 09:29:39 +01:00
qTox translations
6649337fb6
chore(i18n): update translation files for weblate 2016-07-04 12:14:04 +01:00
qTox translations
59c136c562
chore(l18n): update translation files for Weblate 2016-06-30 21:15:37 +01:00
qTox translations
a112c68ef0
chore(i18n): update translations for Weblate 2016-06-13 22:06:30 +01:00
Zetok Zalbavar
76239aa890
chore(l18n): update translation files for Weblate
Also add Esperanto.
2016-06-09 17:20:49 +01:00
qTox translations
1594b70783
chore(i18n): update translation files for weblate 2016-06-07 18:18:05 +01:00