Commit Graph

765 Commits

Author SHA1 Message Date
0x330a
01fef6a0a4
feat: add a wrapper hash to track home diff util changes for wrapper contact recipient info, add test for dirty state in double set 2023-05-23 17:46:54 +10:00
0x330a
1781d7e85f
fix: open group avatar loop for open groups we have left 2023-05-23 15:30:40 +10:00
0x330a
fb7dcf58ca
[wip]
fix: trying to consolidate prof pic and key properly
2023-05-22 17:30:15 +10:00
0x330a
1a3f432f85
refactor: re-add the sending of configs 2023-05-22 15:51:05 +10:00
0x330a
9c206bad64
feat: adding a force new configs flag and logic for timestamp handling / forced configs, fix issue with handling legacy messages 2023-05-22 14:59:03 +10:00
0x330a
371fb20b6e fix: added more migration code for deleting unnecessary threads and groups, fixed a post-migration last seen issue on last item (current read is now), comment out actual network sync while testing migrations 2023-05-19 20:01:50 +10:00
0x330a
f7b8a90edb
fix: some compile issues in tests and some TODOs for things to do before merge 2023-05-17 11:58:47 +10:00
0x330a
cf171fc371 feat: update libsession-util, adjust docs, update mms and sms to use message sent timestamp instead of -1 for last read in the thread 2023-05-16 12:09:28 +10:00
0x330a
dcbe548891
fix: self sync sync message failures for default values 2023-05-15 15:03:44 +10:00
0x330a
8f51304ec1
refactor: use just first visible instead of completely visible, merge message sender changes 2023-05-12 17:23:48 +10:00
0x330a
42dbd11255
Merge remote-tracking branch 'upstream/dev' into libsession-integration
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/util/ViewUtilities.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/visible/VisibleMessage.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
2023-05-12 16:29:26 +10:00
Andrew
57476cd56e
Fix scroll to bottom button always visible if last item is taller than RecyclerView 2023-05-11 19:48:10 +09:30
0x330a
5a2dac38c6
refactor: disable edit text for non contacts 2023-05-11 17:43:55 +10:00
0x330a
db18b156a3
feat: add in TTL extension subrequest and builder, enable extending TTLs for all latest config messages in poll as subrequest 2023-05-11 12:21:14 +10:00
0x330a
bad5f923aa
fix: re-poll on fail in case that was breaking anything 2023-05-11 10:50:06 +10:00
0x330a
cd66901412 fix: don't set the read flag in update notifications, some roundabout logic for first loads and scrolling to last known positions 2023-05-10 12:46:30 +10:00
andrew
f0715f16e0 Fix scroll to bottom button always visible if last item is taller than RecyclerView 2023-05-08 14:09:01 +09:30
andrew
ec2abffdcc Remove logs 2023-05-08 10:33:39 +09:30
0x330a
d4d4f81c36 fix: remove user notifications for leaving group to prevent synced device issues, don't create thread in messages for new closed groups, includei nactive groups in the deletion queries for merging group configs 2023-05-05 16:05:43 +10:00
andrew
45eb3549f6 Add sync status message 2023-05-04 17:01:45 +09:30
0x330a
18f16bc045
refactor: try to add a retry logic to config sync job in case of snode failure 2023-05-04 11:27:49 +10:00
0x330a
281b8dac33 fix: checking the last read open to message and make sure that scroll behaviour matches expected, fix the config sync job not deleting ALL old hashes only latest 2023-05-03 19:26:40 +10:00
0x330a
f7b4fe216f fix: removing debug logs, adding failure error handling logs for expiry message updater, properly using the message thread ID created for the expiring messages. Process the non-thread messages properly with await in BatchMessageReceiveJob 2023-05-02 16:30:35 +10:00
0x330a
216070fa5d
fix: finally fix the darn unread count issue by 2023-05-01 14:39:17 +10:00
0x330a
c777c05456
fix: add legacy config subscription to the home activity to enable showing banner at any time 2023-04-24 12:03:07 +10:00
0x330a
fdff11c535
feat: setup android unit tests for verifying storage behaviours and state of shared configs 2023-04-17 18:17:03 +10:00
0x330a
2e673901ba
feat: add shortened hex for session IDs throughout, replace nullable getName with null in underlying contacts for individual contacts, build shared lib with release mode, remove todo, fix broken unit test 2023-04-17 14:01:30 +10:00
0x330a
3528afa2fb
fix: fix the placeholder rendering on new messages, add in extra context logging for adding contacts and preventing new thread creation on new messages of various types 2023-04-13 17:32:37 +10:00
0x330a
2ebd6ebf64 fix: fix up the duplicate thread creation in the message receive handler 2023-04-13 01:31:25 +10:00
0x330a
6d37fb29ab
fix: don't recreate thread after leaving 2023-04-06 16:39:40 +10:00
0x330a
7e4e36c3f7
Merge remote-tracking branch 'upstream/dev' into libsession-integration 2023-04-05 15:59:19 +10:00
0x330a
b25eb9af8e
Use new seed node certificates (#1144)
* fix: use new seed node certificates

* refactor: don't need to include subdomains actually
2023-04-05 15:58:56 +10:00
0x330a
5acaffda56
feat: update dependencies and support outdated config messages, refactor config factory to return null configs if new configs not supported 2023-04-03 17:22:51 +10:00
0x330a
819f340f0b refactor: update kotlin 2023-04-02 22:14:05 +10:00
0x330a
d5e4e6b7cd Merge remote-tracking branch 'upstream/dev' into libsession-integration
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/ThreadDatabase.java
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
#	libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt
2023-03-31 13:41:41 +11:00
Morgan Pretty
eb739bdc9b
ANR Defensive Coding (#1132)
* Made a number of changes to try and improve background ANRs

Added some more logs to the BatchMessageReceiveJob (to make it easier to track a specific job)
Shifted the ConversationActivity adapter initialisation to run on a background thread to reduce the hang when opening a conversation
Updated the ConversationViewModel to cache the recipient and openGroup values to avoid accessing the database unnecessarily
Updated the code to just stop all current closed group pollers instead of fetching a list to stop
Updated the PN registration to be triggered in an AsyncTask
Updated the call code to unregister a couple of additional receivers
Updated the background poller so it waits for 15 mins before running and doesn't replace the existing scheduler (allows for PNs to trigger explicit background polling)
Fixed an issue where we were sending push notifications which were too large and likely to fail as a result (non-pre-offer call messages)
Fixed an issue where a failing Open Group poller could prevent the background poller from receiving and processing DMs

* Updated to a more coroutine-y convention
2023-03-31 13:24:36 +11:00
Morgan Pretty
5e28af2be4
Updated the code to use the network offset time everywhere relevant (#1111)
* Updated the code to use the network offset time everywhere relevant

* Updated the SnodeAPI.nowWithOffset to use @JvmStatic
2023-03-31 10:11:30 +11:00
0x330a
38454bedfc fix: database update not deleting in certain circumstances, storage persisting and removing the volatile convo info for thread deletion / creation, NTS hidden getter values in shared library 2023-03-31 09:01:52 +11:00
0x330a
d3c55fad60
feat: support avatar removal from shared library 2023-03-27 11:07:14 +11:00
0x330a
03d3199ed2
Merge remote-tracking branch 'origin/libsession-integration' into libsession-integration 2023-03-24 11:18:32 +11:00
0x330a
aadbcf36d0
feat: add in activity finish if recipient no longer exists (deleted thread) from sync 2023-03-24 11:18:14 +11:00
0x330a
2af0cc7bb2 fix: open group sync persistence 2023-03-17 11:53:10 +11:00
0x330a
0fc5675e42
feat: add groups to configs for push 2023-03-16 12:16:10 +11:00
0x330a
061cff8437
feat: open group joining should work now 2023-03-16 12:15:21 +11:00
Ian Macdonald
405b8c7d28
Allow user display names of up to 64 bytes. (#981) 2023-03-16 10:38:49 +11:00
0x330a
c28fe290df feat: add almost all group editing cases, need to hook into the thread deletion for groups in the user groups 2023-03-15 17:24:17 +11:00
0x330a
eca5712282
feat: add expiration updates via config for contacts as well 2023-03-09 17:35:48 +11:00
0x330a
a9e6db4734
refactor: change how expiration timer works for contacts, set the expiration timer for those conversations in handling contact configs 2023-03-09 17:09:54 +11:00
0x330a
3318b53a1f
feat: add contacts expiry serialization/deserialization, more LGC, timestamps to add closed group encryption info (for latest tracking) 2023-03-09 12:27:58 +11:00
0x330a
8d8325f16e
feat: adding user groups to the list of user configs, refactorign some of the config factory to fetch the user configs easier. Add handling for polling user group namespace 2023-03-06 17:16:42 +11:00