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

8278 Commits

Author SHA1 Message Date
S3aBreeze
2550653146
feat(l10n): update Russian translation from Weblate
feat(l10n): update Russian translation from Weblate
2022-05-24 20:55:34 +02:00
Andrey
62548f1fec
feat(l10n): update Russian translation from Weblate 2022-05-24 20:55:33 +02:00
Oymate
d64154a593
feat(l10n): update Bengali translation from Weblate
feat(l10n): add Bengali translation using Weblate
2022-05-24 20:55:33 +02:00
SC
72ed075855
feat(l10n): update Portuguese translation from Weblate 2022-05-24 20:55:33 +02:00
이정희
1c0616cca9
feat(l10n): update Korean translation from Weblate 2022-05-24 20:55:33 +02:00
txmvcssnhhptjeer cfegmheuzrmnjdso
b66caa5895
feat(l10n): update Polish translation from Weblate 2022-05-24 20:55:33 +02:00
Deleted User
adf4332c42
feat(l10n): update Polish translation from Weblate 2022-05-24 20:55:33 +02:00
The Cats
e5748056c8
feat(l10n): update Portuguese (Brazil) translation from Weblate
feat(l10n): update Italian translation from Weblate

feat(l10n): update French translation from Weblate

feat(l10n): update Spanish translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update French translation from Weblate

feat(l10n): update Spanish translation from Weblate

feat(l10n): update German translation from Weblate
2022-05-24 20:55:33 +02:00
Giannis
44bebc7582
feat(l10n): update Greek translation from Weblate 2022-05-24 20:55:33 +02:00
menom
197c9ebe5b
feat(l10n): update Slovak translation from Weblate 2022-05-24 20:55:33 +02:00
Eduard Mandy
15864a3281
feat(l10n): update Hungarian translation from Weblate 2022-05-24 20:55:33 +02:00
Frankie McEyes
ceec7d7f16
feat(l10n): update Italian translation from Weblate
feat(l10n): update Italian translation from Weblate

feat(l10n): update Italian translation from Weblate
2022-05-24 20:55:33 +02:00
Alan
5b1661c486
feat(l10n): update Portuguese (Brazil) translation from Weblate 2022-05-24 20:55:33 +02:00
Eric
0d80f04de7
feat(l10n): update Chinese (Simplified) translation from Weblate 2022-05-24 20:55:33 +02:00
Oğuz Ersen
e4b96179d9
feat(l10n): update Turkish translation from Weblate
feat(l10n): update Turkish translation from Weblate
2022-05-24 20:55:33 +02:00
S3aBreeze
848379652f
feat(l10n): update Russian translation from Weblate 2022-05-24 20:55:33 +02:00
109247019824
986b5359a6
feat(l10n): update Bulgarian translation from Weblate
feat(l10n): update Bulgarian translation from Weblate
2022-05-24 20:55:33 +02:00
Sonita
3063713704
feat(l10n): update Vietnamese translation from Weblate
feat(l10n): add Vietnamese translation using Weblate
2022-05-24 20:55:33 +02:00
Anthony Bilinski
9a8706a65f
fix(history): Heal duplicate peer entries with different case
Prior to 2f4e8dc3e8 we would take
the written ToxID and insert that straight into history without
any case check

Must be done prior to schema 11 since even though the UNIQUE constraint
on the peers table is fooled by the different case, the UNIQUE
constraint on the new chats and authors table which are stored as BLOBS
fail during upgrade when the two different case but equal ToxPks
collide.

Unfortunately it can't be done as its own upgrade since 11 was already
merged, and this is a prerequisite for 11 to pass for some users.

Execute prior to starting the split peer upgrade instead of as a larger
transaction for simplicity of the split upgrade, and since executing
this deduplication is idempotent.
2022-05-22 11:15:59 -07:00
Anthony Bilinski
69d07f077e
refactor(history): Expose mergeDuplicatePeers from DbUpgrader
To be used by both dbSchema8to9 and dbTo11.
2022-05-22 11:15:59 -07:00
Anthony Bilinski
f29570138f
fix(history): Strictly check public_key during database upgrade
Text comparisons in SQL are not case sensitive. Since we want to use this check
to specifically check for case mismatch, cast to blob which then does an exact
comparison.
2022-05-22 11:15:55 -07:00
Anthony Bilinski
dc46267833
fix(test): Don't rely on row IDs after moving tables
Row ID's are not guaranteed to match those from the original peer table.

New checking method is equally strict since we already verify the number
of entries, and the SQL schema guarantees that entries are unique.
2022-05-21 20:49:32 -07:00
Anthony Bilinski
46ef31293c
refactor(CI): Rename Windows cross compile builds to match cmake types
Debug and Release with capital letters are consistent with all our other CI
script build type names as well as cmake build types.
2022-05-21 18:21:04 -07:00
Anthony Bilinski
40b339b367
refactor(IPC): Remove activate's handler reliance on global state
Register in Widget's constructor so that handler can always get back to
Widget.

Add unregistration functionality so that the handler doesn't run when
we've returned to the login window or when exiting.
2022-05-21 17:18:07 -07:00
Anthony Bilinski
6ad92bb637
test(history): Add unit test for when db is newer than qTox supports 2022-05-20 11:38:12 -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
0d1f4c4728
chore(CI): Revert macOS runner hack needed for keg-only git install
This reverts commit f8e834c5c0.

Appears to no longer be an issue, brew is now able to use the pre-installed
version of git without error.
2022-05-19 20:15:02 -07:00
Anthony Bilinski
46fb4e9a4f
Merge pull request #6628
bodwok (1):
      fix(Widget): Incorrect removing of contacts
2022-05-14 10:54:14 -07:00
bodwok
039f6ff0b3
fix(Widget): Incorrect removing of contacts 2022-05-14 10:21:47 -07:00
Anthony Bilinski
bc8763e835
Merge pull request #6576
bodwok (1):
      fix(contacts): window with multiple friends contacts
2022-05-08 05:27:10 -07:00
bodwok
1545945236
fix(contacts): window with multiple friends contacts 2022-05-08 04:06:16 -07:00
Anthony Bilinski
3c467de9f2
chore(deps): Update c-toxcore to v0.2.18
Replace msgpack-c with toxcore submodule of cmp.
2022-05-01 06:32:21 -07:00
Anthony Bilinski
a004243cc0
chore(CI): Update brew package formulae before running upgrade
Otherwise we're upgrading packages based of a stale package list.
2022-04-30 18:47:04 -07:00
Anthony Bilinski
f8e834c5c0
chore(CI): Remove keg-only install of git in github action runner
Doesn't have a formula present, but is still linked to /usr/, so
conflicts with installing or upgrading git from out brewfile. Removing
it gives us a more standard environment, and allows us to test our
brewfile unmodified.

Fixes run failures like
https://github.com/qTox/qTox/runs/6111786910?check_suite_focus=true
2022-04-27 19:00:47 -07:00
Anthony Bilinski
a300415983
chore(i18n): Update translation files for Weblate
Unsure why new diffs were generated from the last source update based
on incoming translations.
2022-04-05 12:56:27 -07:00
Atrate
c0c2d1fad3
feat(l10n): update Polish translation from Weblate 2022-04-05 12:56:27 -07:00
Allan Nordhøy
78670eda55
feat(l10n): update Norwegian Bokmål translation from Weblate 2022-04-05 12:56:27 -07:00
The Cats
497feec9bd
feat(l10n): update French translation from Weblate
feat(l10n): update Spanish translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update Spanish translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update French translation from Weblate
2022-04-05 12:56:27 -07:00
Oğuz Ersen
db5178c6ca
feat(l10n): update Turkish translation from Weblate
feat(l10n): update Turkish translation from Weblate

feat(l10n): update Turkish translation from Weblate
2022-04-05 12:56:27 -07:00
109247019824
d797fc27a9
feat(l10n): update Bulgarian translation from Weblate
feat(l10n): update Bulgarian translation from Weblate

feat(l10n): update Bulgarian translation from Weblate
2022-04-05 12:56:27 -07:00
Peter Jespersen
a494bc78e4
feat(l10n): update Danish translation from Weblate
feat(l10n): update Danish translation from Weblate
2022-04-05 12:56:27 -07:00
Søren Ingemann Nielsen
cb659bc83f
feat(l10n): update Danish translation from Weblate
feat(l10n): update Danish translation from Weblate
2022-04-05 12:56:27 -07:00
Eric
dbc9b4f049
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (7 of 7 strings)

Translation: Tox/qTox - test, do not translate
Translate-URL: https://hosted.weblate.org/projects/tox/qtox-test-do-not-translate/zh_Hans/

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

feat(l10n): update Chinese (Simplified) translation from Weblate
2022-04-05 12:56:27 -07:00
Oğuz Ersen
5968999aff
feat(l10n): update Turkish translation from Weblate
feat(l10n): update Turkish translation from Weblate
2022-04-05 12:56:27 -07:00
S3aBreeze
479f6b7269
feat(l10n): update Russian translation from Weblate
feat(l10n): update Russian translation from Weblate

feat(l10n): update Russian translation from Weblate

feat(l10n): update Russian translation from Weblate

feat(l10n): update Russian translation from Weblate
2022-04-05 12:56:27 -07:00
Anthony Bilinski
9571434df9
feat(CI): Disallow unsafe implicit casts to QString
Covers char* without size, and QByteArray.

Catches the case of QByteArray to QString implicit conversion like was
fixed in 47ee51c61d, but still allows
construction or assignment from string literals in source. Gives most
of the type safety of QT_NO_CAST_FROM_ASCII without having to wrap
every literal string in QStringLiteral.

No functional issues found during change.
2022-04-05 12:10:05 -07:00
Anthony Bilinski
b5aa5dac63
feat(CI): Disallow implicit casting of QString to char*
QString holds UTF8 data which may not be a valid ASCII C string. Require
an explicit conversion if wanted.
2022-04-05 12:10:05 -07:00
Anthony Bilinski
f1b401166a
feat(CI): Disallow implicit casting of QByteArray to char* or void*
QByteArray usually holds arbitrary binary data, which can have null
characters or invalid characters when converted to ASCII or UTF8.
Disallow implicit casting for safety, forcing an explicit decision if
the conversion is wanted.
2022-04-05 12:10:05 -07:00
Anthony Bilinski
1e4eed76b5
refactor: Move GroupList global state into class 2022-04-05 10:34:53 -07:00
Anthony Bilinski
e48c557387
fix(CI): Fix commit message check on single commit PRs
The range of COMMIT..COMMIT does not count the starting commit, so
single commit PRs are completely unchecked, and multi commit PRs don't
have their first commit checked.
2022-04-05 09:33:46 -07:00