Commit graph

17193 commits

Author SHA1 Message Date
ryanzhao 034b67d6a3 fix an issue where the group won't be deleted 2023-03-10 15:35:42 +11:00
ryanzhao 079d6f8c9f disable the swipe actions when in the "leaving" state 2023-03-10 14:04:29 +11:00
ryanzhao bf08394ebd change the title back to text primary colour when failed to leave a group 2023-03-10 13:25:42 +11:00
ryanzhao 5ec51a99c6 move removing group member record logic after the leaving message is successfully sent 2023-03-10 11:20:36 +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 282230c87a minor refactor 2023-03-08 17:10:21 +11:00
ryanzhao 102b4a67ad update UI and copy for group leaving status 2023-03-08 17:00:17 +11:00
ryanzhao f14982ed7b minor fix 2023-03-08 14:17:19 +11:00
ryanzhao e37756ccf4 add leaving status for leaving groups 2023-03-08 14:10:41 +11:00
ryanzhao 34d41d7d40 Merge branch 'dev' into conversation-swipe-actions 2023-03-08 11:55:53 +11:00
ryanzhao 4af96fb841 update build number 2023-03-08 11:45:33 +11:00
ryanzhao 975812db95 WIP: update info message for user leaving a group 2023-03-08 11:13:37 +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 e66179ced9 Merge branch 'conversation-swap-action' into conversation-swipe-actions 2023-03-07 15:53:31 +11:00
ryanzhao d0ba22dc4f fix retry sending attachments that are not downloaded 2023-03-07 15:48:27 +11:00
ryanzhao 36e753366d WIP: add leaving status for leaving groups 2023-03-07 15:07:24 +11:00
ryanzhao f3c79007d8 replace icon image with system SF Font 2023-03-07 13:54:21 +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 b0cdce8acf Merge branch 'dev' into conversation-swipe-actions 2023-03-06 16:44:56 +11:00
Ryan Zhao 037c88395b Merge branch 'dev' into switch-video-view 2023-03-06 16:13:57 +11:00
Ryan Zhao 2f909fbb55 Merge branch 'dev' into message-and-image-info 2023-03-06 16:13:43 +11:00
Ryan Zhao 1b744e9bc2 Merge branch 'dev' into conversation-swap-action 2023-03-06 16:13:27 +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 612be697ef feat: swap action leave/delete, pin, mute/unmute, mark read/unread 2023-02-27 15:42:48 +11:00
Ryan Zhao 2aee7b8c05 Merge branch 'dev' into conversation-swap-action 2023-02-27 11:40:49 +11:00
Ryan Zhao 9d11cf87e0 update build number 2023-02-27 11:38:01 +11:00
Ryan Zhao 9112231f66 WIP 2023-02-27 11:37:25 +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