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

14 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
Anthony Bilinski
80e457da1d
chore(i18n): update translation files for Weblate 2019-04-24 09:01:33 -07:00
Anthony Bilinski
c78d59efa8
chore(l10n): update translations from Weblate
Alessndro Magri (1):
      feat(l10n): update Italian translation from Weblate

Capsia Tech (3):
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update Slovenian translation from Weblate

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

James Alison (58):
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate
      feat(l10n): update Persian translation from Weblate

Jan Kowalski (8):
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate

Nathan Follens (3):
      feat(l10n): add Flemish translation using Weblate
      feat(l10n): update Flemish translation from Weblate
      feat(l10n): update Flemish translation from Weblate

Oleh Ilnytskyi (2):
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Ukrainian translation from Weblate

Pan Efem (1):
      feat(l10n): update Polish translation from Weblate

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

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

Weblate (2):
      Merge remote-tracking branch 'origin/master'
      Merge remote-tracking branch 'origin/master'

anonymous (3):
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate

maclunar (1):
      feat(l10n): update Polish translation from Weblate
2018-04-18 16:47:02 -07:00