Commit Graph

17032 Commits (1334a64031b7f246ff1ea1959e869f3efea68d10)
 

Author SHA1 Message Date
Morgan Pretty 1334a64031 Removed usages of Box.KeyPair, removed a TODO 1 year 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
1 year 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
1 year ago
Morgan Pretty d463a459a2 Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling 1 year 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
1 year ago
ryanzhao 4af96fb841 update build number 1 year ago
RyanZhao 01e6a1c705
Merge pull request #803 from RyanRory/fix-retry-sending-attachments
Fix retry sending attachments that are not downloaded
1 year ago
ryanzhao ee8008ff4d minor optimisation on fetching attachment from database 1 year ago
ryanzhao d0ba22dc4f fix retry sending attachments that are not downloaded 1 year ago
Morgan Pretty 972519d7d9 Fixed a couple of build issues 1 year 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
1 year ago
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
1 year ago
Ryan Zhao 37962fa071 update build number 1 year ago
Ryan Zhao 779e199d7d update build number 1 year ago
RyanZhao f7a0780650
Merge pull request #800 from RyanRory/bug-fixes-2.2.8
Bug fixes on 2.2.8
1 year ago
Ryan Zhao 00d5d08152 fix retry action will end up with sending the same interaction twice 1 year 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
1 year ago
Ryan Zhao 3aacf27b79 regenerate the quoted attachment thumbnail when retrying to send the message 1 year 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
1 year ago
ryanzhao 84ea821095 WIP: fix quote when retrying sending a message 1 year ago
ryanzhao 36ed8802bb don't include the attachment when quoted if the attachment is not downloaded 1 year 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
1 year ago
ryanzhao 05c4393c82 fix an issue where a member leaving a group will make other member's group not working 1 year ago
ryanzhao f8dc2ddfb8 fix incorrect closed group leaving warning for members and admins 1 year ago
Ryan Zhao a0ba1484f5 fix an edge case of showing 'original message not found' incorrectly 1 year ago
Ryan Zhao cd3c1ee043 fix attachment description 1 year ago
Ryan Zhao 900a97bd8c fix incorrect icon colour in draft quote 1 year ago
Ryan Zhao 9d11cf87e0 update build number 1 year ago
RyanZhao 034988b4a7
Merge pull request #797 from burtonemily/accessibility_ids_3
Accessibility ids 3
1 year ago
RyanZhao 750dd41bea
Update Session.xcscheme 1 year ago
RyanZhao 2abc4f380d
Update LintLocalizableStrings.swift 1 year ago
RyanZhao 04ac337539
Update project.pbxproj 1 year ago
RyanZhao 5e041ddb41
Update LintLocalizableStrings.swift 1 year ago
RyanZhao 1791d7ebf2
Merge branch 'dev' into accessibility_ids_3 1 year ago
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
1 year ago
Morgan Pretty 6851bb25fc Fixed a wrong variable name 1 year ago
Morgan Pretty bead5ca1e6 Fixed a couple of action sheets which could crash on iPad 1 year ago
Ryan Zhao 52ba016b80 bump up version & build number 1 year ago
RyanZhao 98fd315661
Merge pull request #794 from RyanRory/fix-database-reentrance
Fix a crash caused by database write method reentrance
1 year ago
Ryan Zhao c9b9400e9e fix a crash caused by database write method reentrance 1 year 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
1 year ago
RyanZhao 4404dda331
Merge pull request #793 from mpretty-cyro/fix/early-push-registration
Fixed an incorrect push registration
1 year ago
Morgan Pretty 84daff6e3d Fixed an incorrect push registration 1 year 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
1 year ago
Morgan Pretty c8a199a8ba Fixed the remaining broken tests 1 year 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
1 year ago
RyanZhao ae6f609b41
Merge pull request #785 from RyanRory/fix-quoting-in-community-chats
Fix quoting in community chats
1 year ago
Ryan Zhao aca587be17 Merge branch 'dev' into fix-quoting-in-community-chats 1 year ago
Morgan Pretty e0f9be082a
Merge pull request #791 from mpretty-cyro/feature/pin-note-to-self-in-share-extension
Update the share extension to always show 'Note to Self' first
1 year 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
1 year ago