Commit Graph

16790 Commits (56e377824a01d78cb17e8e6065c046d3db9a073d)
 

Author SHA1 Message Date
ryanzhao 61bdbe6e9b Merge branch 'database-refactor' into add-documents-section 2 years ago
ryanzhao 19a1edb33a WIP: persist reaction locally 2 years ago
Morgan Pretty d8103ede12 Updated the build number 2 years ago
Morgan Pretty 5f1039b39e Updated the PushNotificationAPI to use V4 onion requests instead of V2
Fixed a crash which could occur when handling 'loadMedia' edge cases in the MediaView (was running on non-main thread)
2 years ago
ryanzhao a742e97d00 feat: decode reactions when polling for open group messages 2 years ago
ryanzhao f99ae07309 Merge branch 'database-refactor' into emoji-reacts 2 years ago
ryanzhao 6e144ec9b7 Merge branch 'database-refactor' into ui-media-message 2 years ago
ryanzhao 075dce02f7 Merge branch 'database-refactor' into add-documents-section 2 years ago
Ryan Zhao 85162cd8a2 WIP: decode open group reactions 2 years ago
Morgan Pretty 8f3e7fc36a Removed the debug code and added a migration to remove the old YDB
Fixed a typo
2 years ago
Ryan Zhao 28f4aad691 clean 2 years ago
Ryan Zhao a66948812e feat: open group emoji reacts endpoints work 2 years ago
Morgan Pretty b468efc33b Updated the GarbageCollectionJob to log the number of files it removes 2 years ago
Morgan Pretty fde19efc13 Fixed a duplicate dependency issue 2 years ago
Morgan Pretty 775cc4f156 Increased build number 2 years ago
Morgan Pretty 4d5ded7557 Fixed a few bugs with media attachment handling, added webp support
Updated the OpenGroupManager to create a BlindedIdLookup for messages within the `inbox` (validating that the sessionId does actually match the blindedId)
Added support for static and animated WebP images
Added basic support for HEIC and HEIF images
Fixed an issue where the file size limit was set to 10,000,000 bytes instead of 10,485,760 bytes (which is actually 10Mb)
Fixed an issue where attachments uploaded by the current user on other devices would always show a loading indicator
Fixed an issue where media attachments that don't contain width/height information in their protos weren't updating the values once the download was completed
Fixed an issue where the media view could download an invalid file and endlessly appear to be downloading
2 years ago
ryanzhao 585e5b3547 Merge branch 'database-refactor' into ui-media-message 2 years ago
ryanzhao d70d45c32a Merge branch 'database-refactor' into add-documents-section 2 years ago
ryanzhao 8920cbdc28 Merge branch 'database-refactor' into emoji-reacts 2 years ago
Morgan Pretty c022f7cda2 Added an exponential back-off to polling open groups when they fail to poll 2 years ago
Ryan Zhao f7a6d0dbb0 feat: add & delete emoji reacts in open groups 2 years ago
Morgan Pretty ae4999c3a7 Fixed a couple of crashes and a couple of other bugs
Fixed a crash due to database re-entrancy
Fixed an issue where interacting with a push notification wouldn't open the conversation in some cases
Added code to prevent a user from being able to start a DM with a blinded id
Updated some open group polling logs to be clearer
2 years ago
Ryan Zhao cc2bf11950 feat: remove all reaction per emoji for open group moderation. 2 years ago
ryanzhao 82f058eae8 fix snapshot 2 years ago
ryanzhao ec5504c456 update pods 2 years ago
ryanzhao d4a6c83941 Merge branch 'database-refactor' into ui-media-message 2 years ago
ryanzhao ef36ccfd02 Merge branch 'database-refactor' into add-documents-section 2 years ago
Morgan Pretty aed1b73185 Fixed a few additional issues uncovered
Added a explicit "timeout" error to make debugging a little easier
Added code to prevent the AttachmentUploadJob from continuing to try to upload if it's associated interaction has been deleted
Updated the getDefaultRoomsIfNeeded to make an unauthenticated sequence all to get both capabilities and rooms (so we will know if the server is blinded and retrieve the room images using blinded auth)
Fixed a bug where the notification badge wouldn't get cleared when removing data from a device
Fixed a bug where adding an open group could start with an invalid 'infoUpdates' value resulting in invalid data getting retrieved
Fixed a bug where under certain circumstances the PagedDatabaseObserver was filtering out updates (noticeable when restoring a device, would happen if the currentCount of content was smaller than the pageSize)
2 years ago
ryanzhao 69289cbfd6 Merge branch 'database-refactor' into add-documents-section 2 years ago
ryanzhao 84e7a07ee0 Merge branch 'database-refactor' into ui-media-message 2 years ago
Morgan Pretty 9859cf95a4 Attempted to fix the notification & call reporting issues
Fixed an issue where fileIds weren't correctly getting sent along with open group messages
Fixed an issue where the screens could miss updates if the device was locked with the app in the foreground and then later unlocked after receiving notifications
Added an optimisation to prevent attempting to send a message after it has been deleted
Added logic to report fake calls if the code goes down an invalid code path when handling a call (to prevent Apple blocking the app)
Delayed the core which clears notifications to increase the time the app has to handle interactions (just in case it was a race condition)
2 years ago
Morgan Pretty c25f378c54 Merge branch 'feature/database-refactor' into emoji-reacts
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/Context Menu/ContextMenuVC+Action.swift
#	Session/Conversations/Context Menu/ContextMenuVC+ActionView.swift
#	Session/Conversations/Context Menu/ContextMenuVC.swift
#	Session/Conversations/ConversationVC+Interaction.swift
#	Session/Conversations/ConversationVC.swift
#	Session/Conversations/ConversationViewItem.h
#	Session/Conversations/ConversationViewItem.m
#	Session/Conversations/Message Cells/Content Views/LinkPreviewView.swift
#	Session/Conversations/Message Cells/MessageCell.swift
#	Session/Conversations/Message Cells/VisibleMessageCell.swift
#	Session/Conversations/Views & Modals/BodyTextView.swift
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Shared/UserCell.swift
#	SessionMessagingKit/Jobs/MessageSendJob.swift
#	SessionMessagingKit/Messages/Signal/TSMessage.h
#	SessionMessagingKit/Messages/Signal/TSMessage.m
#	SessionMessagingKit/Messages/Visible Messages/VisibleMessage.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
#	SessionMessagingKit/Sending & Receiving/Notifications/NotificationsProtocol.h
#	SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPollerV2.swift
#	SessionMessagingKit/Utilities/General.swift
#	SessionNotificationServiceExtension/NSENotificationPresenter.swift
#	SignalUtilitiesKit/Utilities/DisplayableText.swift
#	SignalUtilitiesKit/Utilities/NoopNotificationsManager.swift
#	SignalUtilitiesKit/Utilities/Notification+Loki.swift
2 years ago
ryanzhao 290ccdc639 fix long press snapshot of messages 2 years ago
ryanzhao e1c5d9411d fix highlighting 2 years ago
ryanzhao 82429a8566 fix bubble background for deleted messages and media message placeholder 2 years ago
ryanzhao 44c962eea7 fix ui issue #644 for open group messages 2 years ago
ryanzhao 88bc560c1b Merge branch 'database-refactor' into ui-media-message 2 years ago
ryanzhao 456c9ac874 Merge branch 'database-refactor' into add-documents-section 2 years ago
ryanzhao cd9a8330db fix cell ui for documents 2 years ago
ryanzhao 984643b9c7 Merge branch 'ui-media-message' of https://github.com/RyanRory/loki-messenger-ios into ui-media-message 2 years ago
ryanzhao 9ec703b698 adjust album view 2 years ago
Morgan Pretty 3df3114bee Fixed the broken unit tests 2 years ago
Morgan Pretty 44e7a2dfa4 Added defensive coding to prevent some crashes
Added some defensive coding to prevent path selection from being able to crash due to being empty
Fixed a crash where the MediaDetailViewController could access UI on a non-main thread
Updated the BackgroundPoller to no longer retry the users or closed group swarms and to "cancel" and return immediately if we hit 25 seconds of run time (OS will kill the process if we hit 30 seconds)
2 years ago
Ryan Zhao 8f2bf58728 Merge branch 'database-refactor' into ui-media-message 2 years ago
Ryan Zhao b7d17da9cc Merge branch 'database-refactor' into add-documents-section 2 years ago
Morgan Pretty 0d80678a77 Updated the message request approval process to run asynchronously
Fixed a bug where the MessageRequestsViewController wouldn't page properly in certain cases
2 years ago
Morgan Pretty d730ce3e62 Reverted the logic to only download attachments when opening a conversation (new flag in future)
Fixed a minor bug where the UpdateProfilePictureJob could get stuck in a "defer loop"
2 years ago
Morgan Pretty 9fff4dce20 Fixed a number of bugs found during QA
Fixed a bug where the "Block user" toggle wasn't correctly reflecting the current users state
Fixed a bug where the "Blocked banner" wasn't showing the "unblock this user" alert.
Fixed a bug where the "Blocked banner" wouldn't re-appear if you re-block a user after unblocking them.
Fixed a bug where the conversation screen unblocking logic wasn't actually unblocking the user.
Fixed a bug where some settings options were disabled in open groups because the code thought the user had left the group.
Fixed a bug where the settings button wouldn't appear after accepting a message request.
2 years ago
Morgan Pretty 3c07a2d044 Added linting for the localized strings, updated the quote & mention behaviour for the current user
Added a script and build step to error if we have localised a string in code bug don't have an entry in the localisable files
Added the logic and UI to replace the current users public key (or blinded key) with 'You' in mentions and quotes
Cleaned up some duplicate & missing localised strings
Fixed a bug where new closed groups weren't getting setup locally correctly
Updated the id truncating behaviour to always truncate from the middle
2 years ago
ryanzhao e2d9ba6882 fix pan gesture of message cell 2 years ago