Morgan Pretty
796fdc6d1b
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/RecipientDatabase.java
# app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
# app/src/main/java/org/thoughtcrime/securesms/preferences/BlockedContactsViewModel.kt
# libsession/src/main/java/org/session/libsession/database/StorageProtocol.kt
2023-05-31 14:48:46 +10:00
Morgan Pretty
10af2815ac
Merge pull request #1176 from bemusementpark/sync-everything
...
Synchronize usage of Cipher
2023-05-30 12:22:28 +10:00
Andrew
e8d26222b9
Fix scroll to bottom button visibility ( #1219 )
2023-05-30 11:44:20 +09:30
andrew
0af713317a
Merge branch 'dev' into sync-everything
2023-05-30 11:34:34 +09:30
Morgan Pretty
22ed2dd8aa
Merge pull request #1205 from bemusementpark/disable-unblock
...
Disable unblock button
2023-05-30 10:30:51 +10:00
0x330a
9a7d3a45d7
Merge remote-tracking branch 'upstream/dev' into libsession-integration
...
# Conflicts:
# app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt
2023-05-26 16:04:19 +10:00
0x330a
dec179f4e7
fix: open group comparison issues potentially, have to update some more outgoing message open group flags for visibility of details etc
2023-05-25 17:51:30 +10:00
0x330a
1c7841333a
fix: add max size and maybe fix the non-200 sub requests for batches (for 421s in particular)
2023-05-25 13:24:24 +10:00
Andrew
5519f17775
Truncate session id when displayed as username ( #1215 )
2023-05-25 10:58:52 +09:30
Andrew
7d31af9eb0
Fix isScrolledToBottom ( #1217 )
2023-05-25 10:57:05 +09:30
0x330a
78d1e9d387
fix: open group threads and avatar downloads
2023-05-24 17:34:27 +10:00
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
andrew
30d748e147
Disable unblock button
2023-05-19 23:44:07 +09:30
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
d3ce899a80
Synchronize all Cipher#doFinal
2023-05-05 12:07:19 +09:30
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