Commit Graph

784 Commits

Author SHA1 Message Date
Morgan Pretty
7c0dbcf1f5 Fixed inverted config dropping flags 2023-06-09 17:10:32 +10:00
Morgan Pretty
6af009c9ee Cleaned up the outdated message logic 2023-06-08 10:12:17 +10:00
Morgan Pretty
d093d676f6 [Review] Updated the poller to process config messages before standard 2023-06-07 17:12:22 +10:00
Morgan Pretty
4a2289646e Updated the code to ignore messages invalidated by the config 2023-06-07 17:10:16 +10:00
Morgan Pretty
f63ad7e034 Merge remote-tracking branch 'upstream/dev' into libsession-integration
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
#	app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationViewModel.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/jobs/RetrieveProfileAvatarJob.java
#	app/src/main/java/org/thoughtcrime/securesms/preferences/BlockedContactsViewModel.kt
#	app/src/main/java/org/thoughtcrime/securesms/preferences/SettingsActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/sskenvironment/ProfileManager.kt
#	libsession/src/main/java/org/session/libsession/database/StorageProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/jobs/JobQueue.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSenderClosedGroupHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
2023-06-06 15:44:24 +10:00
Morgan Pretty
2b7bd7417e [SES-567] Fixed a couple of issues where the Group poller would be stopped during creation 2023-06-02 17:00:20 +10:00
Morgan Pretty
cbdcb4ffa1 Updated the code to ignore outdated legacy group control message changes 2023-06-02 15:35:08 +10:00
Morgan Pretty
422f53c86a Updated logic to delete legacy groups when kicked/left 2023-06-01 08:57:29 +10:00
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
8ce6e997aa Fixed a potential crash after changing a property to be nullable 2023-05-30 12:50:51 +10:00
Morgan Pretty
b7744f4f2d Addressed PR feedback 2023-05-30 12:43:51 +10:00
Morgan Pretty
c77d465438 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupExporter.kt
#	app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt
2023-05-30 12:25:13 +10:00
Morgan Pretty
0c2a635d03 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash 2023-05-30 12:24:32 +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
ryanzhao
fa71ea1850 make RetrieveProfileAvatarJob work 2023-05-09 14:14:49 +10:00
Ryan Zhao
b494088c3d WIP: further refactor on old jobs 2023-05-08 17:12:20 +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