Commit Graph

3269 Commits

Author SHA1 Message Date
octoshrimpy 1394e6e5a2 perf(reactions): bound reaction target search and bulk reparse
Fixes the ANR in #840, reported as "parsing emoji reactions" hanging after a
first sync. Three costs compounded, all inside a single Realm transaction:

- The bulk reparse cleared isEmojiReaction by walking every message in the
  database and writing the field whether or not it was set. Query the flagged
  messages instead, which on a typical history is a handful rather than tens of
  thousands.

- findTargetMessage loaded every message in the thread and ran a regex over each
  one, and it runs once per reaction. That product is quadratic across an
  imported history. Bound it: a reaction can only target a message that already
  existed, so filter by date, and cap the scan at the 200 most recent
  candidates. A reaction refers to something the sender can still see, so a
  target further back is not plausible.

- An untruncated quote, the common case, now matches natively in Realm on the
  body column instead of materialising each candidate's text through getText(),
  which walks MMS parts. MMS still falls through to the scan, since its text
  lives in parts rather than body.

The date filter allows a minute of slack, because clock differences between two
devices can timestamp a reaction fractionally before the message it targets.

Also fixes the progress bar, which counted only messages that turned out to be
reactions while max counted every message examined. Progress could therefore
never reach max, so the bar never completed and the final callback never fired.

reactionDate is optional on the interface so existing callers keep compiling;
all three in-tree callers now pass it.
2026-08-01 14:49:00 -04:00
Khushal Majoka 7e44142b4e compose: Fix sendAsGroup switch resetting while typing on new conversation (#842)
Fixes #841
2026-07-30 21:55:08 -04:00
Inhishonor 01474f09cb refactor(utils): Split up navigator into several smaller classes
Move common functions into QkNavigator, and move external navigations to ExternalNavigator
2026-06-24 20:20:13 -07:00
Inhishonor a88d5c62e0 fix(main): Get scheduled messages from view model
The previous behavior fetched scheduled messages directly from the conversation adaptor. This was causing memory leaks and potentially crashes. Now, the view model fetches it and provides the data through state.
2026-06-12 09:42:01 -07:00
Inhishonor fb10b709c9 fix(main): Don't animate layout changes
This was causing a crash when opening the app from a lock screen notification. It doesn't cause any visual problems.
2026-06-12 09:41:26 -07:00
Ben Iofel 9200469181 chore(repo): Delete app/build/outputs/apk/debug/app-debug.apk 2026-05-19 17:30:56 -07:00
Inhishonor 6a20c9b9ff fix(gallery): Use a dedicated dark theme
The app was setting gallery to black mode programmatically, and for some reason this was affecting other activities theming. We can just use a custom theme to force black mode that won't mess with other screens.
2026-05-13 14:14:19 -07:00
Inhishonor 65d7ffe7d0 chore: release v4.3.6 (2238) v4.3.6 2026-04-19 11:43:52 -07:00
Inhishonor afe7ccd923 fix(ci): Set permissions for release after merge 2026-04-19 11:41:39 -07:00
Inhishonor 5674e038e0 chore: release v4.3.5 (2237) 2026-04-19 11:34:43 -07:00
Inhishonor 066659b920 fix(ci): Update permissions for create pr action 2026-04-15 12:49:46 -07:00
Inhishonor 89e25f673c fix(ci): Call generate-release-notes with write permission 2026-04-15 12:19:43 -07:00
Inhishonor 666a77cb69 fix(ci): Fix permissions for fetching release notes
GitHub has changed what permissions this requires, so we have to set GITHUB_TOKEN to have write access.
2026-04-15 12:04:38 -07:00
Inhishonor 2edb91c417 refactor(ci): Improve release notes cleaning process for manual release 2026-04-15 11:35:30 -07:00
ezn24 c141cd5dce Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/zh_Hant/
2026-04-11 09:12:13 -06:00
ezn24 f9430fa40e Added translation using Weblate (Chinese (Traditional Han script)) 2026-04-11 09:12:13 -06:00
logmilo15 512b18d48a Translated using Weblate (Vietnamese)
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/vi/
2026-04-11 09:12:13 -06:00
logmilo15 fa52ec6533 Added translation using Weblate (Vietnamese) 2026-04-11 09:12:13 -06:00
Niyon S V 59f507de7f Added translation using Weblate (Malayalam) 2026-04-11 09:12:13 -06:00
bomzhellino 02c26b0a93 Translated using Weblate (Russian)
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/ru/
2026-04-11 09:12:13 -06:00
Rav Var bb3a580633 Translated using Weblate (Polish)
Currently translated at 100.0% (14 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/pl/
2026-04-11 09:12:13 -06:00
Rav Var 728c962e16 Added translation using Weblate (Polish) 2026-04-11 09:12:13 -06:00
Joseph 9da7ae0eb4 Translated using Weblate (French)
Currently translated at 14.2% (2 of 14 strings)

Translation: QUIK/Emoji Reaction Regex
Translate-URL: https://hosted.weblate.org/projects/quik/emoji-reaction-regex/fr/
2026-04-11 09:12:13 -06:00
Joseph 82d7a2ab96 Added translation using Weblate (French) 2026-04-11 09:12:13 -06:00
Sérgio Marques 6e2c954738 Translated using Weblate (Portuguese)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/pt/
2026-04-10 21:49:23 -06:00
Cabbar Hayıroğlu 5fd80023c7 Translated using Weblate (Turkish)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/tr/
2026-04-10 21:49:23 -06:00
ezn24 c50918acfb Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (1 of 1 strings)

Translation: QUIK/Short Description
Translate-URL: https://hosted.weblate.org/projects/quik/short-description/zh_Hant/
2026-04-10 21:49:23 -06:00
JSchmerling 8565364dc9 Translated using Weblate (German)
Currently translated at 99.5% (408 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/de/
2026-04-10 21:49:23 -06:00
ezn24 ffa77308fd Added translation using Weblate (Chinese (Traditional Han script)) 2026-04-10 21:49:23 -06:00
ezn24 2c5e59e7ec Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/zh_Hant/
2026-04-10 21:49:23 -06:00
Marius Olsen-Ryum 2c17af8382 Added translation using Weblate (Norwegian Bokmål) 2026-04-10 21:49:23 -06:00
Karl Ragnar Giese 72c2060277 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.7% (405 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/nb_NO/
2026-04-10 21:49:23 -06:00
Marius Olsen-Ryum 2db0b52c60 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.7% (405 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/nb_NO/
2026-04-10 21:49:23 -06:00
Marek Polák ebb7a9cc1f Translated using Weblate (Czech)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/cs/
2026-04-10 21:49:23 -06:00
spearhead ca8cbe865d Translated using Weblate (French)
Currently translated at 99.7% (409 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/fr/
2026-04-10 21:49:23 -06:00
Joseph 32ef44b697 Translated using Weblate (French)
Currently translated at 99.7% (409 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/fr/
2026-04-10 21:49:23 -06:00
109247019824 f445e068ed Translated using Weblate (Bulgarian)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/bg/
2026-04-10 21:49:23 -06:00
Joseph 25fe910e52 Translated using Weblate (French)
Currently translated at 99.5% (408 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/fr/
2026-04-10 21:49:23 -06:00
Станіслав Яцук e4847786ab Translated using Weblate (Ukrainian)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/uk/
2026-04-10 21:49:23 -06:00
ezn24 c608f51a39 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 99.7% (409 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/zh_Hant/
2026-04-10 21:49:23 -06:00
rehork 19cd3f73ab Translated using Weblate (Polish)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/pl/
2026-04-10 21:49:23 -06:00
logmilo15 7c0c4a296f Translated using Weblate (Vietnamese)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/vi/
2026-04-10 21:49:23 -06:00
Ghost of Sparta a34c63c566 Translated using Weblate (Hungarian)
Currently translated at 100.0% (410 of 410 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/hu/
2026-04-10 21:49:23 -06:00
logmilo15 65b27d2d6b Translated using Weblate (Vietnamese)
Currently translated at 97.0% (397 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/vi/
2026-04-10 21:49:23 -06:00
JSchmerling 369d8d3318 Translated using Weblate (Italian)
Currently translated at 97.0% (397 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/it/
2026-04-10 21:49:23 -06:00
Bora Atıcı 76e71309f3 Translated using Weblate (Turkish)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/tr/
2026-04-10 21:49:23 -06:00
Eboy 170b8bdef9 Translated using Weblate (Hindi)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/hi/
2026-04-10 21:49:23 -06:00
Cabbar Hayıroğlu 53b4c3e381 Translated using Weblate (Turkish)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/tr/
2026-04-10 21:49:23 -06:00
Ahmet ALMAZ 3a7a63b1c4 Translated using Weblate (Arabic)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/ar/
2026-04-10 21:49:23 -06:00
109247019824 727890f2fb Translated using Weblate (Bulgarian)
Currently translated at 100.0% (409 of 409 strings)

Translation: QUIK/strings
Translate-URL: https://hosted.weblate.org/projects/quik/strings/bg/
2026-04-10 21:49:23 -06:00