Commit Graph

1824 Commits (a966fca55e35c236a811b034d7a03cb270b8f3bc)

Author SHA1 Message Date
ryanzhao cea2e1522d WIP: make group leaving a job 3 years ago
ryanzhao 51d8eea68c clean 3 years ago
ryanzhao 079d6f8c9f disable the swipe actions when in the "leaving" state 3 years ago
ryanzhao bf08394ebd change the title back to text primary colour when failed to leave a group 3 years ago
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
3 years ago
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
3 years ago
Morgan Pretty d463a459a2 Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling 3 years ago
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
3 years ago
ryanzhao 282230c87a minor refactor 3 years ago
ryanzhao 102b4a67ad update UI and copy for group leaving status 3 years ago
ryanzhao f14982ed7b minor fix 3 years ago
ryanzhao e37756ccf4 add leaving status for leaving groups 3 years ago
ryanzhao 34d41d7d40 Merge branch 'dev' into conversation-swipe-actions 3 years ago
ryanzhao 975812db95 WIP: update info message for user leaving a group 3 years ago
ryanzhao ee8008ff4d minor optimisation on fetching attachment from database 3 years ago
ryanzhao d0ba22dc4f fix retry sending attachments that are not downloaded 3 years ago
ryanzhao 36e753366d WIP: add leaving status for leaving groups 3 years ago
ryanzhao f3c79007d8 replace icon image with system SF Font 3 years ago
Morgan Pretty 972519d7d9 Fixed a couple of build issues 3 years ago
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
3 years ago
Ryan Zhao 600637ec78 Merge branch 'dev' into disappearing-message-redesign 3 years ago
Ryan Zhao 037c88395b Merge branch 'dev' into switch-video-view 3 years ago
Ryan Zhao 2f909fbb55 Merge branch 'dev' into message-and-image-info 3 years ago
Ryan Zhao 1b744e9bc2 Merge branch 'dev' into conversation-swap-action 3 years ago
Ryan Zhao 00d5d08152 fix retry action will end up with sending the same interaction twice 3 years ago
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
3 years ago
Ryan Zhao 3aacf27b79 regenerate the quoted attachment thumbnail when retrying to send the message 3 years ago
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
3 years ago
ryanzhao 84ea821095 WIP: fix quote when retrying sending a message 3 years ago
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
3 years ago
ryanzhao f8dc2ddfb8 fix incorrect closed group leaving warning for members and admins 3 years ago
Ryan Zhao a0ba1484f5 fix an edge case of showing 'original message not found' incorrectly 3 years ago
Ryan Zhao cd3c1ee043 fix attachment description 3 years ago
Ryan Zhao 900a97bd8c fix incorrect icon colour in draft quote 3 years ago
Ryan Zhao 612be697ef feat: swap action leave/delete, pin, mute/unmute, mark read/unread 3 years ago
Ryan Zhao 2aee7b8c05 Merge branch 'dev' into conversation-swap-action 3 years ago
Ryan Zhao 9112231f66 WIP 3 years ago
RyanZhao 1791d7ebf2
Merge branch 'dev' into accessibility_ids_3 3 years ago
Ryan Zhao b2fcf48c73 Merge branch 'dev' into switch-video-view 3 years ago
Ryan Zhao bf5f927ad0 Merge branch 'dev' into message-and-image-info 3 years ago
Ryan Zhao 2ebc0a6789 Merge branch 'dev' into disappearing-message-redesign 3 years ago
ryanzhao b3378992ed WIP: feat: modify conversation swap actions 3 years ago
Morgan Pretty 6851bb25fc Fixed a wrong variable name 3 years ago
Morgan Pretty bead5ca1e6 Fixed a couple of action sheets which could crash on iPad 3 years ago
Ryan Zhao b4f44d43e8 Merge branch 'dev' into disappearing-message-redesign 3 years ago
Morgan Pretty ff36b3eeab Resolved a number of TODOs and a couple of crashes
Updated the logic to always fetch all config messages (and not de-dupe them)
Updated the onboarding to fallback to fetch the legacy config if the there is no updated user config
Added sorting to config message processing to reduce the turn-around time for certain edge-cases to resolve
Removed some redundant code
Fixed a database re-entrancy crash
Fixed a crash when merging config messages
Fixed an issue which could occur by registering too many 'afterTransaction' closures
3 years ago
Morgan Pretty 84daff6e3d Fixed an incorrect push registration 3 years ago
Morgan Pretty 742c4a161f Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/ConversationViewModel.swift
#	Session/Media Viewing & Editing/GIFs/GifPickerViewController.swift
#	Session/Media Viewing & Editing/GIFs/GiphyAPI.swift
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/es.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fr.lproj/Localizable.strings
#	Session/Meta/Translations/hi.lproj/Localizable.strings
#	Session/Meta/Translations/hr.lproj/Localizable.strings
#	Session/Meta/Translations/id-ID.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt_BR.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si.lproj/Localizable.strings
#	Session/Meta/Translations/sk.lproj/Localizable.strings
#	Session/Meta/Translations/sv.lproj/Localizable.strings
#	Session/Meta/Translations/th.lproj/Localizable.strings
#	Session/Meta/Translations/vi-VN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-Hant.lproj/Localizable.strings
#	Session/Meta/Translations/zh_CN.lproj/Localizable.strings
#	Session/Notifications/AppNotifications.swift
#	Session/Notifications/SyncPushTokensJob.swift
#	Session/Notifications/UserNotificationsAdaptee.swift
#	SessionMessagingKit/Configuration.swift
#	SessionMessagingKit/Database/Models/Interaction.swift
#	SessionMessagingKit/Database/Models/SessionThread.swift
#	SessionMessagingKit/Jobs/Types/MessageReceiveJob.swift
#	SessionMessagingKit/Jobs/Types/MessageSendJob.swift
#	SessionMessagingKit/Jobs/Types/SendReadReceiptsJob.swift
#	SessionMessagingKit/Messages/Message.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ReadReceipts.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionMessagingKit/Shared Models/MentionInfo.swift
3 years ago
Morgan Pretty f30b383bb8 Updated to the latest version of libSession-util
Updated the SharedConfigMessage type to have a TTL of 30 days
Updated the SnodeAPI to have a 'poll' method to be more consistent with the OpenGroupAPI (it also does multiple things now so is cleaner)
Added logic to limit the number of config messages to be retrieved per poll
Added the 'ValidatableResponse' protocol to standardise SnodeAPI response validation
Added the libSession version to the logs
Fixed an issue where the user profile pic wouldn't get synced correctly due to memory going out of scope
Fixed some threading issues
Refactored the thread variants to follow the updated terminology (will think about refactoring other code areas later)
Cleaned up the Combine error handling
Started fixing broken unit tests
3 years ago
Ryan Zhao a14a99896b Merge branch 'dev' into switch-video-view 3 years ago
Ryan Zhao aca587be17 Merge branch 'dev' into fix-quoting-in-community-chats 3 years ago
Morgan Pretty afc698e370
Merge pull request #790 from mpretty-cyro/fix/voice-recording-breaking-input
Fixed an issue where the voice recording could break the input view
3 years ago
Morgan Pretty e4d6400375 Merge remote-tracking branch 'upstream/dev' into fix/remaining-reachability-oddities
# Conflicts:
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/es.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fr.lproj/Localizable.strings
#	Session/Meta/Translations/hi.lproj/Localizable.strings
#	Session/Meta/Translations/hr.lproj/Localizable.strings
#	Session/Meta/Translations/id-ID.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt_BR.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si.lproj/Localizable.strings
#	Session/Meta/Translations/sk.lproj/Localizable.strings
#	Session/Meta/Translations/sv.lproj/Localizable.strings
#	Session/Meta/Translations/th.lproj/Localizable.strings
#	Session/Meta/Translations/vi-VN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-Hant.lproj/Localizable.strings
#	Session/Meta/Translations/zh_CN.lproj/Localizable.strings
3 years ago
Ryan Zhao acd494c29d minor adjustment for UI/UX 3 years ago
Ryan Zhao 5a35907cd3 implement new UI/UX design 3 years ago
ryanzhao 335bfb6874 hiding video view if needed 3 years ago
ryanzhao 1b35085015 fix local video view 3 years ago
Morgan Pretty 08b1e9a131 Started caching pending ReadReceipt messages to resolve an edge-case
Fixed an issue where read receipts could be sent for already read messages
Fixed an issue where the read state change might not update the UI
3 years ago
Morgan Pretty 275314c9fd Fixed an issue where the voice recording could break the input view 3 years ago
Morgan Pretty 2bcc049405 Fixed an issue where Appium couldn't long press message bubbles 3 years ago
ryanzhao 0ccfdcd24d WIP: switch video view 3 years ago
Morgan Pretty 3b8153edd2 Added a warning prompt the first time someone uses Giphy 3 years ago
Morgan Pretty 3344e58716 Cleaned up some logic around sync messages
Added logic to indicate when a sync message failed to send (and the ability to retry)
Added the retry/resync button to the long press message menu
Updated sync messages to run via the MessageSendJob
Updated the delivery status to always show on the last outgoing message
Updated the logic to update the delivery status when retrying to send a failed message
Removed the convoluted recursion logic for turning self-send messages into sync messages
3 years ago
Ryan Zhao 08de65f774 minor refactor 3 years ago
Emily 361fa407d5 Updating read status accessibility ids 3 years ago
Ryan Zhao 1845340582 WIP: refactor on the call UI to add switching function of caller and callee's video views 3 years ago
Ryan Zhao 07b01f3014 Merge branch 'dev' into message-and-image-info 3 years ago
Ryan Zhao 494e12adb6 Merge branch 'dev' into disappearing-message-redesign 3 years ago
Ryan Zhao e5a4aec0ee Merge branch 'dev' into fix-quoting-in-community-chats 3 years ago
RyanZhao 06f42d9207
Merge pull request #783 from mpretty-cyro/fix/deletable-outgoing-community-messages
Fix deletable outgoing community messages
3 years ago
Morgan Pretty d020a7a05f Fixed a couple of reachability oddities and bugs
Updated the PathVC to indicate the network reachability
Updated messages sent to 'Note to Self' to properly indicate whether they were sent to the swarm
Fixed an issue where 'Note to Self' messages weren't actually getting sent to the swarm
3 years ago
Morgan Pretty 93d9f51140 Included a blinded id comparison for adding the delete action 3 years ago
ryanzhao a6fa53aaf0 fix #768 3 years ago
ryanzhao aee9d46e58 feat: show media full screen 3 years ago
ryanzhao 092864f918 Merge branch 'dev' into message-and-image-info 3 years ago
Morgan Pretty 2286d51db6 Update the SyncPushTokensJob to reregister every 12 hours 3 years ago
Emily b22e303d40 Adding in accessibility id for the new read/sent/sending status 3 years ago
Morgan Pretty eb3c31d911 Fixed a few more bugs
Updated the PathStatusView to take Reachability into account for it's status indicator
Fixed an issue where a user couldn't delete their own messages sent to a community
Fixed an issue where the app didn't require a passcode to be set to use screen lock
Fixed an issue where the delivery status on a sending message might not update when on the conversation screen
Fixed an issue where read receipts weren't working
3 years ago
Morgan Pretty fea2c6cb43 Fixed an odd UI glitch which could occur when message cells updated 3 years ago
ryanzhao d322c38458 WIP: show media full screen 3 years ago
Emily 304ac6a967 Adding ids for the new read status 3 years ago
Morgan Pretty 54a5827926 Fixed url detection 3 years ago
Emily ec0b35a9a2 Merge branch 'dev' into accessibility_ids_3 3 years ago
Emily 379f5c82ee Adding ids to photo library and editing media page 3 years ago
Morgan Pretty 345b693225 Fixed build issues, bugs, added unit tests and added the ConvoInfoVolatile handling
Added the unit tests for the ConvoInfoVolatile
Added icons to the swipe actions
Updated jobs to be able to be prioritised (and added priorities to the launch jobs to avoid some odd behaviours)
Fixed some build issues resulting from merging
Fixed an issue with the open group pubkey encoding
Fixed an issue where an imageView could get it's image set on a background thread
Fixed a bug where the swipe actions weren't getting theming applied when the theme changed
Fixed a bug where scheduling code after the next db transaction completes couldn't be nested (resulting in code not running)
Fixed a bug where the PagedDataObserver might not notify of unobserved changes if they reverted previous unobserved changes
Fixed a couple of incorrect SQL ordering use cases (was overriding instead of appending ordering)
Fixed an issue where the app would re-upload the avatar every launch (only affected this branch)
Fixed an issue where the home screen wouldn't update group avatars when their profile data changed
3 years ago
ryanzhao 78cea3ac29 implement carousel view delegate 3 years ago
Ryan Zhao 2b38862524 optimise round corner for carousel view 3 years ago
Ryan Zhao 7e164ecf04 wrap up carousel view 3 years ago
Ryan Zhao 838969efa6 WIP: encapsulate carousel view 3 years ago
Ryan Zhao d1aacf24c2 Merge branch 'dev' into message-and-image-info 3 years ago
ryanzhao 42b27cd2bf WIP: carousel view loop 3 years ago
Morgan Pretty 07046db4b6 Updated to the latest libSession, fixed a few bugs
Added the logic to sync the last read state for a conversation
Added the legacyClosedGroup thread variant
Updated the config handling to be able to update the 'mergeResult' and require a dump/push due to local changes
Fixed an issue where the name on the CallVC could go off the screen
Fixed an issue where OpenGroup info could sometimes incorrectly get deleted
Fixed an issue where the ConfirmationModal on a SessionTableViewController wouldn't trigger it's action
Fixed an issue where the config handling could incorrectly trigger a contacts update when there were no changes
3 years ago
Morgan Pretty 4f8fb63f2c Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
# Conflicts:
#	Session/Media Viewing & Editing/PhotoCapture.swift
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/es.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fr.lproj/Localizable.strings
#	Session/Meta/Translations/hi.lproj/Localizable.strings
#	Session/Meta/Translations/hr.lproj/Localizable.strings
#	Session/Meta/Translations/id-ID.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt_BR.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si.lproj/Localizable.strings
#	Session/Meta/Translations/sk.lproj/Localizable.strings
#	Session/Meta/Translations/sv.lproj/Localizable.strings
#	Session/Meta/Translations/th.lproj/Localizable.strings
#	Session/Meta/Translations/vi-VN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-Hant.lproj/Localizable.strings
#	Session/Meta/Translations/zh_CN.lproj/Localizable.strings
#	Session/Notifications/AppNotifications.swift
#	Session/Onboarding/RestoreVC.swift
#	Session/Shared/SessionTableViewController.swift
#	Session/Shared/SessionTableViewModel.swift
#	SessionMessagingKit/Calls/WebRTCSession.swift
#	SessionMessagingKit/Database/Models/Attachment.swift
#	SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift
#	SessionMessagingKit/File Server/FileServerAPI.swift
#	SessionMessagingKit/Jobs/Types/AttachmentDownloadJob.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPI.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionSnodeKit/OnionRequestAPI.swift
#	SessionSnodeKit/SnodeAPI.swift
#	SessionUtilitiesKit/Database/Models/Identity.swift
#	SessionUtilitiesKit/JobRunner/JobRunner.swift
3 years ago
ryanzhao 31d081ff49 fix carousel view for media preview views 3 years ago
ryanzhao 3f33caf91a wip: carousel view 3 years ago
ryanzhao fbc2eb35ec wip: carousel media preview view 3 years ago
ryanzhao d4957de746 update media info view 3 years ago
Ryan Zhao 671720c67b set up session style message info title 3 years ago
Ryan Zhao 5c629b2ab4 clean 3 years ago
Ryan Zhao da0fb2602c WIP: media preview view 3 years ago