Commit graph

802 commits

Author SHA1 Message Date
0x330a b5eaed3cbb
fix: reduce attempts for downloading image, invert unreachable type check 2023-06-15 17:44:16 +10:00
0x330a b30c94c247
fix: don't add retrieve profile job if we have one for that address 2023-06-15 17:27:12 +10:00
0x330a 155120716a
fix: don't treat 404 as bad snode 2023-06-15 17:14:45 +10:00
0x330a b9708eea61
Merge remote-tracking branch 'upstream/dev' into libsession-integration 2023-06-14 14:09:31 +10:00
0x330a f8288029bf
fix: merge namespace hashes for signature returned and 2023-06-14 12:02:00 +10:00
0x330a 4d14ec0564
feat: add all namespaces to delete all messages request and signature verification data 2023-06-14 11:18:59 +10:00
Andrew cc015c45bd
Add 50 dp buffer to isScrolledToBottom (#1228) 2023-06-14 10:34:49 +09:30
Morgan Pretty 5ca7f76275 Merge remote-tracking branch 'upstream/dev' into libsession-integration
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/groups/OpenGroupManager.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/OpenGroupPoller.kt
2023-06-13 09:35:07 +10:00
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 7699e47f7b Responded to PR comments 2023-06-07 15:02:32 +10:00
Morgan Pretty 11c1fd382d Fixed a few issues with the OpenGroupPoller
Fixed an issue where the admin/moderator status wasn't getting stored if set before joining a community
Fixed an issue where multiple pollers for the same server could run at the same time when joining multiple rooms within the same app run (very noticeable when restoring/linking)
2023-06-07 13:31:22 +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