qTox/test
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
..
chatlog refactor: Comply with Wpedantic 2022-03-11 10:08:02 -08:00
core refactor(model): Rename Contact and ContactId to Chat and ChatId 2022-03-14 12:44:37 -07:00
dbutility refactor(History): Split peers table into chats and authors 2022-03-29 21:27:01 -07:00
mock chore(build): Enable all warnings on qTox libraries as well 2022-03-24 04:19:41 -07:00
model feat(CI): Disallow unsafe implicit casts to QString 2022-04-05 12:10:05 -07:00
net refactor(Paths): Remove Paths factory to enable copy construction 2022-02-16 20:15:46 -08:00
persistence fix(history): Heal duplicate peer entries with different case 2022-05-22 11:15:59 -07:00
platform refactor(style): Match declaration and definition argument names 2022-03-15 08:19:53 -07:00
widget refactor: Move FriendList global state into class 2022-03-30 19:04:11 -07:00