Alex Hart
cb7b2d90d5
Only display outgoing messages when entering viewer through my stories.
2022-07-26 09:33:45 -04:00
Alex Hart
14f9a3c155
Ensure sent group stories are included in the My Stories item.
2022-07-26 09:33:44 -04:00
Alex Hart
b183a38f3c
Add proper thread summary for reactions to stories.
2022-07-26 09:33:44 -04:00
Alex Hart
0b44935ae2
Utilize database-backed unread message count in thread.
2022-07-21 14:57:51 -03:00
Cody Henthorne
fe6058e0df
Improve cold start performance.
2022-07-21 13:18:20 -04:00
Alex Hart
e69d944f11
Add logging for unread thread ids.
2022-07-21 13:18:20 -04:00
Cody Henthorne
819f7a170f
Reduce profile avatar disk reads.
2022-07-21 13:18:20 -04:00
Alex Hart
2f17963b2b
Fix hot loop when trying to delete stories but only onboarding exists.
2022-07-21 13:18:20 -04:00
Alex Hart
15111b2792
Omit blocked contacts from recents.
2022-07-21 13:18:20 -04:00
Alex Hart
b18542a839
Ensure images sent to stories respect media quality settings.
...
Stories should always use "Standard" quality, not L3 (high quality). This change ensures that we:
1. Always send stories at the appropriate quality
2. Do not corrupt or overwrite pre-existing image attachments
3. Close several streams when done (thanks StrictMode!)
2022-07-21 13:18:19 -04:00
Cody Henthorne
c4bef8099f
Add GV2 accept by PNI invite.
2022-07-21 13:18:19 -04:00
Alex Hart
7a0f4fafe2
Implement new Safety Number Changes bottom sheeet.
2022-07-11 13:35:53 -03:00
Greyson Parrelli
5af9872806
Add a simple PNP-backed implementation of getAndPossiblyMerge.
2022-07-11 13:35:53 -03:00
Greyson Parrelli
04cf8676cc
Remove concept of 'highTrust' that is no longer necessary.
2022-07-11 13:35:53 -03:00
Greyson Parrelli
3eac397263
Basic implementation of writing a PnpChangeSet to disk.
2022-07-11 13:35:53 -03:00
Alex Hart
32312da384
Implement several caching improvements for the Story Viewer.
2022-07-11 13:35:53 -03:00
Alex Hart
36ccf9ca54
Implement Story onboarding download job and message insertion.
2022-07-05 15:46:06 -04:00
Alex Hart
bd5907ea04
Do not notify for reactions if not the group story sender.
2022-07-05 15:46:06 -04:00
Greyson Parrelli
be2ed8989f
Fix possible crash in ProfileKeySendJob if given an invalid threadId.
2022-07-05 15:46:06 -04:00
Greyson Parrelli
f441b3d0f1
Use more performant method to check if message is quoted.
2022-07-04 12:46:18 -04:00
Greyson Parrelli
66886dfd7b
Make the 'see replies' bottom sheet respond to new/deleted messages.
2022-07-02 14:55:31 -04:00
Greyson Parrelli
daab296172
Show the full reply chain in the 'see replies' bottom sheet.
2022-07-01 13:36:54 -04:00
Cody Henthorne
12a7f36bec
Update copy and icon for release channel boost button.
2022-06-30 16:58:40 -04:00
Greyson Parrelli
61ce39b5b6
Improve implementation and testing on PNP contact merging.
2022-06-29 15:32:26 -04:00
Alex Hart
c64be82710
Add context menus to story contacts in contact selection.
2022-06-29 15:32:25 -04:00
Alex Hart
e10c20ffd7
Fix issue with getUnreadStories query.
2022-06-29 15:32:25 -04:00
Cody Henthorne
9bc25132c3
Add new My Story privacy settings.
2022-06-29 15:32:25 -04:00
Alex Hart
6a385c7a22
Implement video length enforcement for Stories.
2022-06-28 15:42:15 -04:00
Greyson Parrelli
6ec7834046
Add the ability to see replies.
2022-06-28 15:42:15 -04:00
Cody Henthorne
2c700c7e0e
Fix broken Material3 changes on Android 6.
2022-06-28 15:20:19 -04:00
Alex Hart
c0735c8119
Clear snippet when the last message in a pinned thread is deleted.
2022-06-20 16:15:24 -03:00
Greyson Parrelli
9eeecaa73d
Initialize WAL mode earlier.
2022-06-15 11:57:02 -04:00
Alex Hart
88a66b49ff
Apply new story list ordering rules.
...
Co-authored-by: Cody Henthorne <cody@signal.org>
2022-06-14 15:20:43 -04:00
Alex Hart
6743861630
Account for archival and meaningful message status in unread count query.
2022-06-09 12:40:35 -03:00
Cody Henthorne
9fbc7c0f65
Fix stories viewed not updating in UI.
2022-05-26 14:24:57 -03:00
Greyson Parrelli
4d8faffb75
Notify recipient changes after bulk registration update.
2022-05-24 15:03:54 -03:00
Cody Henthorne
db4d072bd9
Upgrade kotlin to 1.6.21
...
Also fix a collection of warnings.
2022-05-18 14:05:17 -04:00
Greyson Parrelli
dda5ce4809
Add basic CDSv2 database writes and unit tests.
2022-05-18 11:54:17 -04:00
Alex Hart
425a13e68c
Mark sent gift viewed when opened.
2022-05-18 11:54:17 -04:00
Alex Hart
25788ef751
Do not include self in recents list for gift badging.
2022-05-18 11:54:17 -04:00
Alex Hart
a03c49e12c
Implement group story notifications.
2022-05-18 11:54:17 -04:00
Alex Hart
9ed3f95ab8
Ignore duplicate stories in sync messages.
2022-05-18 11:54:17 -04:00
Cody Henthorne
9bc4dfc3f6
Fix PNI crash in in group processing.
2022-05-12 17:30:58 -03:00
Cody Henthorne
bb963f9210
Add remote megaphone.
2022-05-12 10:42:21 -03:00
Cody Henthorne
12e6ebb4df
Improve performance of GV2 profile fetch and mentions initialization.
2022-05-12 10:42:21 -03:00
Alex Hart
33d60ebe14
Implement proper group story reply deletion for remotely deleted group stories.
2022-05-12 10:42:21 -03:00
Alex Hart
68ba3433a3
Always display donation receipts page.
2022-05-12 10:42:21 -03:00
Alex Hart
eaf36be9f6
NotificationThread migration.
2022-05-12 10:42:21 -03:00
Alex Hart
af9465fefe
Add sent story syncing.
2022-05-12 10:42:21 -03:00
Alex Hart
8ca0f4baf4
Add support for replying to gift badges.
2022-05-12 10:42:21 -03:00
Alex Hart
158f77a634
Add thread display body and proper image for gift badges.
2022-05-11 09:29:14 -03:00
Alex Hart
1345413645
Ensure new storage id is synchronized to recipient.
2022-05-11 09:29:14 -03:00
Alex Hart
cffbfcb957
Hide receipts item if user has none.
2022-05-06 10:01:14 -03:00
Alex Hart
a4a4665aaa
Implement badge gifting behind feature flag.
2022-05-02 15:25:55 -04:00
Cody Henthorne
f10d5651f0
Fix storage sync bug for distribution lists.
2022-05-02 15:25:55 -04:00
Greyson Parrelli
1fad4d4f65
Handle early read receipt sync messages.
2022-05-02 15:25:55 -04:00
Greyson Parrelli
8cb74fb776
Improve updates to CdsDatabase.
2022-04-26 13:59:51 -04:00
Cody Henthorne
657a9c7b0a
Add ability to reject group invite by PNI.
2022-04-26 12:16:58 -04:00
Victor Ding
e5aea7c49e
Replace non-ASCII characters in comments to their ASCII equivalent
...
Fixes #12201
2022-04-26 12:15:50 -04:00
Alex Hart
a6e7f9a4c1
Fix incorrect column in query.
2022-04-26 12:15:50 -04:00
Greyson Parrelli
70b0a120f0
Fix partial contact syncs and ignore your own contact info.
2022-04-26 12:12:17 -04:00
Alex Hart
17111abc72
Add support for smarter story downloads.
2022-04-26 12:12:13 -04:00
Greyson Parrelli
f15072bc8d
Fix other group update description bugs and add tests.
2022-04-22 08:32:07 -04:00
Ehren Kret
8c2db972cf
Fix crash if recipient appears multiple times in group update description.
...
Without starting from start index, if the same recipient appears
multiple times in the recipient list, this function will crash.
2022-04-22 07:55:42 -04:00
Greyson Parrelli
dfcadde076
Ensure we enqueue a storage sync after a safety number change.
2022-04-20 16:32:55 -03:00
Alex Hart
b041ed1510
Ensure delivery receipts are sent for 1:1 story replies and reactions.
2022-04-20 16:32:55 -03:00
Greyson Parrelli
e2cb535f3f
Make names in group update descriptions tappable.
2022-04-20 16:32:54 -03:00
Cody Henthorne
ab031d3dad
Add internal setting to clear keep longer logs.
2022-04-19 08:17:21 -04:00
Alex Hart
159d67ec59
Fix crash for non-story replies.
2022-04-18 13:26:28 -03:00
Alex Hart
893be51810
Allow 1:1 replies to increment thread unread counter.
2022-04-18 09:40:05 -03:00
Greyson Parrelli
8da66bc789
Fix corner case in story distribution list syncing.
2022-04-15 16:07:14 -04:00
Greyson Parrelli
35a9fddbb2
Add basic support for receiving messages at your PNI.
...
We haven't implemented merging yet, so this is still very basic, but it
"works".
2022-04-15 16:07:14 -04:00
Greyson Parrelli
fd4543ffe0
Improve speed of many SMS/MMS queries by removing unnecessary attachment join.
2022-04-15 16:07:14 -04:00
Greyson Parrelli
d3096c56cb
Basic client usage of CDSHv2.
...
This provides a basic (read: useful-for-development-yet-broken) client
usage of CDSHv2.
2022-04-15 16:07:14 -04:00
Cody Henthorne
2f0f26c328
Add story send multi-send, error, and improved SNC states.
2022-04-15 16:07:14 -04:00
Greyson Parrelli
d06c633dc4
Fix full text search filter.
...
Closes #12158
2022-04-13 10:58:16 -04:00
Greyson Parrelli
bd5ac85ac0
Fix old DB migration.
...
A cautionary tale that serves as a reminder to never call external code
during a migration...
Fixes #12147
2022-04-11 20:38:32 -04:00
Alex Hart
6354cb194c
Update ordering query to display content in expected order.
2022-04-08 12:19:26 -04:00
Cody Henthorne
bb5edccf34
Update view count in My Story view.
2022-04-08 12:19:26 -04:00
Cody Henthorne
6d86b25acd
Improve story contact search.
2022-04-08 12:19:26 -04:00
Alex Hart
7fb5ceeda4
Allow hidden story viewing.
2022-04-06 14:37:25 -03:00
Alex Hart
46bb64ad24
Display reply icon if you responded 1:1 to the displayed story.
2022-04-06 12:38:43 -04:00
Alex Hart
343871ed8b
Use unread thread count for bottom bar.
2022-04-06 12:38:43 -04:00
Cody Henthorne
be241524db
Fix font networking main thread crash.
2022-04-06 12:38:43 -04:00
Greyson Parrelli
a32d5bef20
Refactor more ContactDiscovery code.
2022-04-06 12:38:43 -04:00
Alex Hart
91c581b475
Do not process story records if capability doesn't support it.
2022-04-06 12:37:43 -04:00
Greyson Parrelli
b34ca8ca2f
Improve handling of unknown IDs in storage service.
2022-04-06 12:37:43 -04:00
clauz9
e2c54eef77
Filter out some Base64 encoded status messages from search.
2022-04-06 12:37:43 -04:00
Alex Hart
469879c211
Implement proper story viewer ordering.
2022-04-06 12:37:43 -04:00
Greyson Parrelli
98b9cc23e4
Add extension functions to improve writability of database queries.
2022-04-06 12:37:43 -04:00
Alex Hart
3e42c044b8
Add RxStore and StoryViewerPage forward navigation.
2022-04-06 12:37:43 -04:00
Alex Hart
3da2fc4d9b
Clear storage keys for deleted distribution lists.
2022-04-06 12:37:43 -04:00
Cody Henthorne
972ab9b368
Process incomming story views even if read receipts are disabled.
2022-04-06 12:37:43 -04:00
Alex Hart
c359b0134a
Implement StoryDistributionListRecord and processing.
2022-04-06 12:37:43 -04:00
Alex Hart
1bb04035ab
Update playback to match specifications.
2022-04-06 12:37:43 -04:00
Greyson Parrelli
14849d6e45
Fix case-insensitive queries for groups with non-ASCII characters.
...
Fixes #11464
2022-04-06 12:36:32 -04:00
Greyson Parrelli
77ea2deada
Move more util classes to core-util.
2022-04-06 12:36:32 -04:00
Greyson Parrelli
c67aed5b65
Keep some crucial local logs (like crashes) for longer.
2022-03-30 16:32:45 -04:00
Cody Henthorne
2f5cb5f090
Add story distribution list deduplication handling.
2022-03-28 19:43:42 -04:00
Greyson Parrelli
7f4ab67f98
Fix timing issue with receipt updates.
2022-03-28 19:07:21 -04:00