Commit Graph

321 Commits (2e4c11f4b9dc033412c47551d65b1cffb2a1c632)

Author SHA1 Message Date
Ryan Zhao da66b1af2c fix swiping back for approved message request conversation 2 years ago
Morgan Pretty a26ee12f8d Further work on Id Blinding
Renamed the setter for the SOGS 'Server' object for consistency
Updated the Curve25519Kit repo to use an Oxen fork
Updated the MockDataGenerator to accomodate the latest changes
Updated the ConversationVC to better support getting replaced when the conversion from blinded to unblinded happens while on that screen
Added a cache for the mapping between blinded ids and standard ids (gets cached whenever a valid match is found)
Added a migration to remove the old 'authToken, 'lastMessageServerId' and 'lastDeletionServerId' collections (redundant in SOGS V4)
2 years ago
Ryan Zhao 279892e83b fix some scrolling to bottom and button issue 2 years ago
Ryan Zhao 04d25577f4 Merge branch 'dev' into ipad-support-1 2 years ago
Ryan Zhao 78e2c4f55c minor refactor in search bar & message request vc 2 years ago
Ryan Zhao ccae9141ff rollback to fix an odd scrolling issue 2 years ago
Ryan Zhao 7e92391740 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Morgan Pretty 110c7bb01a Addressed PR comments
Moved the 'backBarButtonItem' into the BaseVC (and removed it for being duplicated in various view controllers)
Removed a redundant line of code
2 years ago
Morgan Pretty e6b941ea8a Fixed a number of tweaks and bugs with message requests
Removed the "Back" text from the back buttons
Removed the inset on the 'Path' settings button so the text remains horizontally centered
Hid the settings button from message request threads
Fixed an issue where the back button would remain visible in a conversation when the search field was visible
Fixed an issue where the tintColor of the conversation search field didn't match the global search field
Fixed an issue where sending an attachment response to a message request wouldn't approve the message request
Updated the size and positioning of the message request 'Clear All' button to match the DM 'Next' button
Updated the message request 'Clear All' button to start visible (so it's visible during the push animation) since that's the most likely state it'll be in
Updated the 'Message Requests' cell to use the pinned background colour
Updated the fallback for contact thread names to be a middle-truncated string (4 characters either side)
2 years ago
Ryan Zhao 27e7c25197 fix scroll to bottom crash 2 years ago
Ryan Zhao 629d952944 clean 2 years ago
Ryan Zhao 885ab66550 minor improvements on scroll to bottom 2 years ago
Ryan Zhao ec40922cb4 reduce initial loading on conversation screen 2 years ago
Ryan Zhao 2ae0ae40d4 minor improvements to reduce the database read on UI thread 2 years ago
Morgan Pretty 3e97782d18 Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/ConversationVC.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
2 years ago
Ryan Zhao f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Ryan Zhao c0615fe11d Merge branch 'dev' of https://github.com/oxen-io/session-ios into ipad-support-1 2 years ago
Ryan Zhao c85e3ef86b clean up unused code 2 years ago
Ryan Zhao efab374e7f refactor on session search bar decoration 2 years ago
Ryan Zhao ab0714af00 fix search bar cancel button for iPad 2 years ago
Morgan Pretty 6f1a8fcdc5 Fixed a bug where the most recent message couldn't be interacted with due to message request UI changes 2 years ago
Ryan Zhao e428333b7b minor update to reduce database read on ui thread 2 years ago
Morgan Pretty dfbee2a520 Removed the single message restriction from message requests (still text only) 2 years ago
Morgan Pretty ef09d4d5aa Additional encryption work on id blinding
Got the updated blinding logic working (at least when authenticating a request - still need to deal with message signing and verification)
Storing the server capabilities in the database now so we can correctly blind requests based on them
Renamed the remaining 'v2' functions and classes to just be 'OpenGroup' since there isn't a 'V2' anymore
Cleaned up a few TODOs and functions
2 years ago
Morgan Pretty 3639a21bc8 Fixed bugs raised by QA
Added some missing localised strings
Prevented 'Read' and 'Typing' indicators from functioning on Message Requests
Prevented link previews on the first message of a message request
Added a confirmation alert when trying to clear all message requests
Added a confirmation alert when trying to delete a message request
Added an empty state to the MessageRequestsViewController
Updated the back behaviour of the ConversationVC to behave more nicely with approving/declining message requests
Updated the OWSBlockingManager to also update the stored contacts 'isBlocked' flag to match
2 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
2 years ago
Ryan Zhao 3fb7babecb clean 2 years ago
Morgan Pretty 051f03f4b4 PR comments and a few missed use cases
Disabled the attachments and voice message buttons for the first message
Disabled the Disappearing Messages flag for the until the conversation is approved
Fixed a bug where the recipient of a message request could incorrectly get the 'pending approval' state
Refactored some standard auto layout code to use the custom extension code
2 years ago
Morgan Pretty 6009c30805 Removed a resolved todo and fixed some variable naming 2 years ago
Morgan Pretty 4f3900771e More work on getting SOGS V4 integrated
Updated the MessageSendJob to support V4 messages (V2 messages will be upgraded to V4 if they get re-encoded)
Renamed the Message+Destination from 'openGroup' & 'openGroupV2' to 'legacyOpenGroup' and 'openGroup'
Started plugging in more of the V4 APIs
Renamed a number of the V2 APIs to start with 'legacy'
2 years ago
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 2 years ago
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2 years ago
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2 years ago
Morgan Pretty 9db5083cc5 Built out the Message Request functionality
Added the MessageRequestsViewController
Added a 'Message Requests' button to the settings screen
Added accept/reject buttons for message requests to the ConversationVC
Added the ability to hide the message request item on the HomeVC (re-appears if you get a new message request)
Added code to handle an edge-case where the message request approval state wouldn't be returned to the sender due to the recipient running an old version of the app
Prevented contacts which aren't associated with an approved thread from appearing when creating a closed group
Disabled notifications for threads which aren't approved
Updated the app notification count to exclude unapproved messages
Updated the app to ignore closed group creation messages if the group has no admins which are approved contacts
Fixed up the keyboard avoidance behaviour in the ConversationVC
Fixed a couple of minor interaction issues which affected some devices
Fixed an issue where the database migrations would run on the 2nd launch when creating a new account (causing odd behaviours)
2 years ago
Ryan Zhao ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2 years ago
Ryan Zhao c81e0e517d fix ui issue after making unread message count 4 digits 2 years ago
Ryan Zhao 99022006da Make the unread message count 4 digits instead of 2 2 years ago
Ryan Zhao 2c7dfe6a37 fix conversation screen scrolling to bottom issue 2 years ago
Ryan Zhao 837b2ac157 fix a typo 2 years ago
Ryan Zhao 715c9eff98 clean 2 years ago
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 2 years ago
ryanzhao fed1218538 WIP: global search UI 3 years ago
Ryan Zhao 67fdea13bd fix conversation screen scrolling to bottom issue 3 years ago
Ryan Zhao b2b03eb273 clean up call button appearance logic 3 years ago
Ryan Zhao 71e6ccd94b add flag for enable/disable call function 3 years ago
Ryan Zhao 32790a9d99 fix title view position 3 years ago
Ryan Zhao 57f0595dc3 hide call button for note to self 3 years ago
ryanzhao 336c694b52 refactoring on showing call ip exposure 3 years ago
ryanzhao 7b23b8f601 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
ryanzhao ac30e56151 enable unsend request 3 years ago
ryanzhao fbe5b12c9d WIP: incoming call banner 3 years ago
ryanzhao 3b545ca618 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
ryanzhao 0b5d6ae4b0 fix disappearing messages for sync messages 3 years ago
ryanzhao a856415438 fix conversation screen unread count > viewItems count crash 3 years ago
ryanzhao 383f996e82 WIP: improve call UI 3 years ago
ryanzhao e8500d75a7 fix input panel issue & make local video view draggable 3 years ago
ryanzhao 6e07c56e7d Merge branch 'master' of https://github.com/oxen-io/session-ios into voice-calls-2 3 years ago
ryanzhao e0288f2bb3 clean draft after deleting it 3 years ago
Niels Andriesse b54cd3b026 Add call button to conversation screen 3 years ago
Niels Andriesse 45042a1acf Fix typos 3 years ago
ryanzhao 76a96c31bf add flag to disable unsend request for now 3 years ago
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 3 years ago
Niels Andriesse e311d2878f Fix message status indicator bug 3 years ago
Niels Andriesse 50d17be43b Fix animation glitch 3 years ago
Niels Andriesse b8c4e6aa93 Avoid unnecessary conversation screen updates 3 years ago
Niels Andriesse 3db8231bde Fix glitch 3 years ago
ryanzhao dd2f8c7df9 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 3 years ago
Niels Andriesse 7d56e51690 Simplify conversation screen updating logic 3 years ago
Niels Andriesse ec41a9e08e Remove hack 3 years ago
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 3 years ago
Niels Andriesse e6949a5ae8 Fix glitch and add FIXME 3 years ago
Niels Andriesse c5c75a306e Hopefully fix scrolling issue 3 years ago
Ryan Zhao 68d14709e9 fix a race condition 3 years ago
Niels Andriesse 9565358b55 Increase scroll to bottom margin 3 years ago
Niels Andriesse 44288c45e9 Fix auto scroll to bottom bug 3 years ago
ryanzhao bd7e9b5943 add comment 3 years ago
ryanzhao fcca7f3076 clean 3 years ago
ryanzhao 4fad67484f fix incorrect unread position 3 years ago
Niels Andriesse 6d2044f230 Warn users if they're about to send their recovery phrase to someone 3 years ago
Ryan Zhao 7eb5d63a83 fix the misplaced scroll to bottom button 3 years ago
nielsandriesse 0b5e13ca59 Fix slight scroll behavior issue 3 years ago
nielsandriesse 1041f991fd Fix unnecessary map calls 3 years ago
ryanzhao 4c99b9ed05 make shouldScrollToBottom based on the table view's content offset. 3 years ago
ryanzhao 55786d6f17 fix scroll button 3 years ago
ryanzhao 0475274b4d only scroll down when we are already at the bottom 3 years ago
ryanzhao b2536173a0 fix conversations never scroll down when a new message comes in 3 years ago
Ryan ZHAO 65f3699093 fix expiration timer not starting in conversation screen 3 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 3 years ago
Ryan ZHAO f2fb8a57dc fix incorrect scrolling for link previews 3 years ago
Niels Andriesse 8a54a243a4 Fix long conversation crash the right way 3 years ago
Ryan ZHAO 887088b4bc fix the keyboard won't dismiss while swiping the vc back 3 years ago
Ryan ZHAO e6975e5984 fix scroll button hiding issue 3 years ago
Ryan ZHAO 60ee602b04 fix scroll button being hidden when coming back from conversation setting vc 3 years ago
Ryan ZHAO c998d302e5 fix faulty scrolling caused by keyboard for new conversations 3 years ago
Niels Andriesse 1a16112364 Minor refactoring 3 years ago
Niels Andriesse 2d5d14124b
Merge pull request #372 from RyanRory/sending-attachment-scrolling-fix-1
Fix Conversation Screen Scrolling Bugs (Part 2)
3 years ago
Niels Andriesse 5504f74659 Show V2 open group member count 3 years ago
Ryan ZHAO 9ffc118725 clean 3 years ago
Ryan ZHAO f6fb8f27de fix quote view show without tableview scrolling 3 years ago
Ryan ZHAO 1335defc5c fix keyboard related scrolling issues & minor refactor 3 years ago
Ryan ZHAO c84f37eb5f WIP: keyboard issue after sending attachments 3 years ago
Ryan ZHAO 8472c4122f minor refactor 3 years ago
Ryan ZHAO 58bde38576 fix conversation vc scrolling issues related to keyboard 3 years ago
Niels Andriesse 234f5eb022 Quick fix crash 3 years ago
Niels Andriesse a17f3277e4 Add TODO 3 years ago
Niels Andriesse 9d6d68d33e Handle screenshot notifications 3 years ago
Niels Andriesse dfb2369ab8 Show unread count on scroll to bottom button 3 years ago
Niels Andriesse 799458b03f Update build number 3 years ago
Niels Andriesse 67ea1782ef Add documentation 3 years ago
Niels Andriesse 21c7d0ce03 Implement drafts 3 years ago
Niels Andriesse 57eb5f8ef4 Make conversation title tappable 3 years ago
Niels Andriesse 1a09ee3619 Scroll to last unread message upon opening a conversation 3 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 3 years ago
Niels Andriesse cdd9878eb1 Quick fix scrolling bug 3 years ago
nielsandriesse 9cda22b640 Fix ugly transition 3 years ago
Niels Andriesse d833bbc44c Hide input view after user left group 3 years ago
Niels Andriesse e945a6779f Include profile in configuration sync message 3 years ago
Niels Andriesse 5846de634d Fix disappearing messages timer positioning 3 years ago
Niels Andriesse 7b01b65908 Fix various minor bugs 3 years ago
Niels Andriesse a6ae026541 Switch to expanding attachment buttons 3 years ago
Niels Andriesse d30fd2fb07 Clean 3 years ago