Commit Graph

17048 Commits

Author SHA1 Message Date
Morgan Pretty c80b6c720e Fixed the QA issues and a few other bugs
Updated the convoInfoVolatile to only ever set `last_read` to the maximum between the current and updated values
Fixed an issue where deleting the Note to Self and One-to-one conversations wouldn't reset the 'pinnedPriority' value
Fixed an issue with updating legacy group members and losing admin status
Fixed an issue where receiving a 'NEW' legacy group control message could revert legacy group changes
Fixed a bug where the open group suggestion grid could have broken positioning depending on the number of items
Fixed a bug where the UI wouldn't update correctly when network access was lost
Fixed a fun bug where one-to-one conversations could reappear after deletion because a new snode was polled and the latest (locally deleted) message was received again
Fixed some incorrect accessibility values
2023-03-31 12:09:04 +11:00
Morgan Pretty fde34a6c45 Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling 2023-03-17 15:13:03 +11:00
Morgan Pretty 5fdfd6df3b Fixed issues raised during QA
Fixed a bug where the legacy group invitation was getting sent to the wrong location
Fixed a bug where outgoing typing indicators would be sent to blocked contacts
Fixed a bug where the call button was visible for blocked contacts
Fixed a bug where read receipts could be sent to blocked contacts
Fixed a bug where the conversation nav buttons wouldn't get updated correctly in some cases
Fixed a bug where we could incorrectly include the current user in the contacts syncing
Fixed a bug where the initial state of the Note to Self conversation wasn't getting synced
Fixed a bug where the Note to Self conversation could get removed
Fixed a bug with where the conversation title would be misaligned in some cases
Fixed a bug where link previews and quotes with images weren't getting sent correctly
Fixed a crash when removing a user from a legacy group
Added some missing accessibility info
Updated the code to ensure the user is kicked from the conversation if it's deletion gets synced while it's open
Updated the conversation empty state copy
2023-03-17 15:12:35 +11:00
Morgan Pretty 65e7009b0a Updated build and version numbers 2023-03-16 17:35:52 +11:00
Morgan Pretty 55de9affbb
Merge pull request #788 from mpretty-cyro/fix/appium-interaction-issues
Fixed an issue preventing tapping links
2023-03-16 17:32:55 +11:00
Morgan Pretty e1c83dc999 Merge remote-tracking branch 'upstream/dev' into fix/appium-interaction-issues
# Conflicts:
#	Session/Conversations/Message Cells/VisibleMessageCell.swift
2023-03-16 16:10:53 +11:00
Morgan Pretty 1c7eaed8b6 Added logic to update cached expiry after config TTL extension
Updated the UpdateExpiryResponse signature verification logic
Another couple of accessibility label/id tweaks
2023-03-16 14:50:14 +11:00
Morgan Pretty 15a0eccaf2 Added more accessibility info to the name field 2023-03-16 11:57:13 +11:00
Morgan Pretty 4012f91777 Attempt to fix a QA accessibility element issue 2023-03-15 16:45:19 +11:00
Morgan Pretty a8c4c3eb76 Updated migration numbers as a result from merge and bug fixes
Updated the CallVC to support an animated profile picture
Fixed a button layout issue with the landing screen
Fixed a bug where the input view could appear above the call UI when the app returns to the foreground
Fixed a bug where the push notification registration could incorrectly get triggered during onboarding when recovering from an onboarding crase
2023-03-15 15:27:01 +11:00
Morgan Pretty 9ddfbefd72 Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SessionMessagingKit/Configuration.swift
2023-03-15 15:00:01 +11:00
ryanzhao 723d8a79e1 bump up build number 2023-03-14 13:33:59 +11:00
RyanZhao 340e3fdc80
Merge pull request #804 from RyanRory/fix-global-search-2.2.8
Fix global search on 2.2.8
2023-03-14 13:08:17 +11:00
ryanzhao 05b13b3037 update the description of the migration 2023-03-14 13:07:36 +11:00
ryanzhao 4c3a9e8cc1 fix FTS table and global search 2023-03-14 10:44:02 +11:00
Morgan Pretty 1334a64031 Removed usages of Box.KeyPair, removed a TODO 2023-03-10 09:42:36 +11:00
Morgan Pretty 8f39fe6972 Fixed a couple of minor bugs
Fixed a bug where the volatile info would remain after removing the conversation
Fixed a bug where sending a message wasn't correctly jumping to the bottom of the conversation
2023-03-09 17:51:26 +11:00
Morgan Pretty a6699f0c58 Made a few small bug fixes & improvements
Updated the conversation empty state to appear in all conversation types
Recreating the interaction FTS table if it doesn't exist (somehow was removed from some of my DBs...)
Fixed a couple of incorrect swipe action colours
Fixed a few issues causing unneeded conversation cell layouts which could impact performance
Fixed a bug where the in-conversation search loading indicator wouldn't disappear when pressing the clear button
2023-03-09 15:46:45 +11:00
Morgan Pretty d463a459a2 Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling 2023-03-09 09:09:04 +11:00
Morgan Pretty 66fd2d4ff8 Finished off a few remaining bits and pieces
Added the 'outdated client' warning banner
Added a unit test to validate the 'group(by:)' method maintains ordering
Added an error when trying to message a non-standard session id directly
Removed the "hide" logic for groups (don't want it)
Removed some unneeded thread fetching
Updated the logic to use the 'lastHash' when fetching config messages
Updated the logic to use the libSession value restrictions instead of hard-coded values
Fixed an issue where members weren't getting removed from legacy groups
2023-03-08 17:27:07 +11:00
ryanzhao 4af96fb841 update build number 2023-03-08 11:45:33 +11:00
RyanZhao 01e6a1c705
Merge pull request #803 from RyanRory/fix-retry-sending-attachments
Fix retry sending attachments that are not downloaded
2023-03-07 16:27:09 +11:00
ryanzhao ee8008ff4d minor optimisation on fetching attachment from database 2023-03-07 16:02:46 +11:00
ryanzhao d0ba22dc4f fix retry sending attachments that are not downloaded 2023-03-07 15:48:27 +11:00
Morgan Pretty 972519d7d9 Fixed a couple of build issues 2023-03-06 18:11:10 +11:00
Morgan Pretty 7d47a36f9f Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/Settings/ThreadSettingsViewModel.swift
#	Session/Home/Message Requests/MessageRequestsViewController.swift
#	Session/Shared/Views/SessionAvatarCell.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ClosedGroups.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
2023-03-06 18:02:26 +11:00
Morgan Pretty 499b20db6d Fixed a couple of bugs found during testing
Removed image dimension byte checking for attachments (we have file size checks already)
Fixed a couple of bugs where the message status for uploading attachments wasn't reflecting the current status
Fixed a bug where the conversation 'jump to bottom' was jumping to the bottom of the current page instead of to the end of the conversation
2023-03-06 17:53:30 +11:00
Ryan Zhao 37962fa071 update build number 2023-03-06 16:13:08 +11:00
Ryan Zhao 779e199d7d update build number 2023-03-06 15:53:26 +11:00
RyanZhao f7a0780650
Merge pull request #800 from RyanRory/bug-fixes-2.2.8
Bug fixes on 2.2.8
2023-03-06 15:52:07 +11:00
Ryan Zhao 00d5d08152 fix retry action will end up with sending the same interaction twice 2023-03-06 15:31:04 +11:00
Morgan Pretty e28b4b4531 Fixed a number of bugs with the config handling
Added a number of feature flag checks to config updates
Added legacy group disappearing message timer handling
Updated the string linter to clean up the build logs a little
Split the initial config dump generation into it's own migration so it can run the launch after the feature flag is toggled
Fixed a few issues with the initial config dump creation
Fixed an issue where "shadow" conversations would be left in the database by opening a thread and never sending a message
Fixed a bug where duplicate members could be added to legacy groups
Fixed a bug with using animated images for the avatar
Fixed a bug where avatar images which were already on disk could be re-downloaded
2023-03-06 15:20:15 +11:00
Ryan Zhao 3aacf27b79 regenerate the quoted attachment thumbnail when retrying to send the message 2023-03-06 14:33:24 +11:00
Morgan Pretty 7ee84fe0d3 Cleaned up a bunch of code, added pinned and hidden handling
Added in logic to handle the 'hidden' state
Replaced the 'Group Created' message with an empty state
Cleaned up a bunch of boilerplate code
2023-03-02 17:52:37 +11:00
ryanzhao 84ea821095 WIP: fix quote when retrying sending a message 2023-03-02 17:05:26 +11:00
ryanzhao 36ed8802bb don't include the attachment when quoted if the attachment is not downloaded 2023-03-02 16:17:58 +11:00
Morgan Pretty 8eed08b5b4 Updated to the latest lib, started handling UserGroups
Added unit tests for the UserGroup config type
Updated the logic to use the 'pinnedPriority' and deprecated 'isPinned' (not sorting yet but using the value)
Updated the code to use the libSession community url parsing instead of custom parsing
Fixed an issue where initialising Data with a libSession value wasn't returning null when the data had no actual value
Fixed an issue where the OpenGroupPoller could user an incorrect failure could when handling poll responses
Fixed the UpdateExpiryRequest signature
2023-02-28 17:23:56 +11:00
ryanzhao 05c4393c82 fix an issue where a member leaving a group will make other member's group not working 2023-02-28 15:02:36 +11:00
ryanzhao f8dc2ddfb8 fix incorrect closed group leaving warning for members and admins 2023-02-28 14:25:15 +11:00
Ryan Zhao a0ba1484f5 fix an edge case of showing 'original message not found' incorrectly 2023-02-27 17:16:38 +11:00
Ryan Zhao cd3c1ee043 fix attachment description 2023-02-27 16:54:54 +11:00
Ryan Zhao 900a97bd8c fix incorrect icon colour in draft quote 2023-02-27 16:46:47 +11:00
Ryan Zhao 9d11cf87e0 update build number 2023-02-27 11:38:01 +11:00
RyanZhao 034988b4a7
Merge pull request #797 from burtonemily/accessibility_ids_3
Accessibility ids 3
2023-02-27 11:37:05 +11:00
RyanZhao 750dd41bea
Update Session.xcscheme 2023-02-27 11:36:43 +11:00
RyanZhao 2abc4f380d
Update LintLocalizableStrings.swift 2023-02-27 11:36:06 +11:00
RyanZhao 04ac337539
Update project.pbxproj 2023-02-27 11:35:41 +11:00
RyanZhao 5e041ddb41
Update LintLocalizableStrings.swift 2023-02-27 11:34:39 +11:00
RyanZhao 1791d7ebf2
Merge branch 'dev' into accessibility_ids_3 2023-02-27 11:32:11 +11:00
Morgan Pretty 64e6dd4b95
Merge pull request #796 from mpretty-cyro/fix/action-sheet-crash
Fixed a couple of action sheets which could crash on iPad
2023-02-24 11:22:34 +11:00