Commit Graph

311 Commits (2e4c11f4b9dc033412c47551d65b1cffb2a1c632)

Author SHA1 Message Date
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
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
Morgan Pretty 028ba0c77a Merge branch 'dev' into feature/message-requests
# 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
2 years ago
Ryan Zhao b32a8cbab2 fix alert vc for iPad 2 years ago
Ryan Zhao 348331d9ab fix present view controller UI issue for iPad 2 years ago
Ryan Zhao 9ff369fbd0 fix settings screen presentation on iPad 2 years ago
Ryan Zhao ab0714af00 fix search bar cancel button for iPad 2 years ago
Morgan Pretty faa8918cd4 Replaced the remaining non-file legacy methods with their non-legacy equivalents
Updated the OpenGroup polling to run on a non-main thread
Updated the TSGroupModel to store moderatorIds as well as the adminIds (new endpoint is only going to give diffs)
Updated the BatchRequest to support json, base64 encoded strings and raw bytes for it's body
Replaced the 'lastMessageServerID' methods with 'OpenGroupSequenceNumber' methods (since we have swapped the property over)
Added an alert when banning fails (previously it would fail silently)
Fixed a bug where sent blinded messages were appearing as incoming messages
Fixed a bug where the OpenGroup infoUpdates wasn't getting decoded correctly
Fixed an issue where the ConversationVC wouldn't become the first responder again after the ban alerts disappeared
Fixed an issue where I'd incorrectly used the message 'seqNo' in place of the message server id
Fixed an issue where open group messages were setting their `sentTimestamp` to seconds instead of milliseconds for incoming messages
2 years ago
Ryan Zhao 97bf861809 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2 years ago
Ryan Zhao d61f36211d bump up to show 500 global search results for all cases 2 years ago
Morgan Pretty 4c89c165d8 Fixed a few bugs uncovered by QA
Fixed a bug where the ConfigurationMessage was getting generated before the contact state was persisted to the database in the message request flow causing odd behaviours (now generating the ConfigurationMessage within the same transaction)
Fixed a bug where sending a message to an existing message request thread once the message requests item has been hidden would show the message requests notification and trigger the section to re-appear on the home screen
Fixed a bug where blocked contacts weren't getting excluded from the contacts list in the configuration message
2 years ago
ryanzhao d27faf551b reduce unnecessary database read 2 years ago
Morgan Pretty e1cc9cde0e Added labels to the NewConversationButtonSet (part 2) 2 years ago
Morgan Pretty 582ff0997a Fixed a couple of crashes and added some mock data generation logic
Possibly fixed a crash due to a database deadlock
Fixed a crash when the first message requests gets added if there are no other threads
Added code to generate a bunch of random thread data (Needs some testing to ensure no data leaves the device)
2 years ago
Morgan Pretty 47314bd639 Added a notification to indicate the user has a new message request
Fixed a bug where the notification count could be increased for message requests
Fixed a bug where an approved contact could be 'unapproved' due to an order of execution issue when generating the config sync message
Fixed a check to avoid registering for push notifications when on the simulator (old check didn't cater for M1 Macs)
Moved the 'hasHiddenMessageRequests' into the group user defaults so it can be accessed within the notification extension
Added code to handle an edge case where an old client could incorrectly un-approve a contact via a legacy configuration message
2 years ago
Ryan Zhao a86310b0f5 improve global search performance 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
Ryan Zhao a8fd6d9d18 fix home screen not reloading when coming into foreground 2 years ago
Morgan Pretty 8cc9caa0fd Renamed the OpenGroupPollerV2 and OpenGroupManagerV2 2 years ago
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
2 years ago
Ryan Zhao 63e0a5285c minor refactor to prevent dead lock 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
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 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 16f6d49cec add note to self to the default global search screen with empty search text 2 years ago
Ryan Zhao 124d908686 add author for group messages 2 years ago
Ryan Zhao be1fb789e8 hide recent search results behind the flag 2 years ago
Ryan Zhao d329740bd4 add clear for recent search results 2 years ago
Ryan Zhao 85c4b3d745 show recent search result as default for global search screen 2 years ago
Ryan Zhao a2db4a8330 add comments 2 years ago
Ryan Zhao 79fc9459a4 clean 2 years ago
Ryan Zhao 78af18413f show at most 500 search results 2 years ago
Ryan Zhao d583422c73 add some comments 2 years ago
Ryan Zhao 20a3b6ee26 move path button into setttings 2 years ago
Ryan Zhao 2a229bd663 minor fix 2 years ago
Ryan Zhao 68ec1654e8 rebuild global search UI 2 years ago
Ryan Zhao e718cee611 WIP: rebuild global search UI 2 years ago
Ryan Zhao 3cc6a6b7c4 add comments 2 years ago
Ryan Zhao 0ddb4f355a minor improvements on dismissing the keyboard 2 years ago
Ryan Zhao 8be5768ad2 snippet for group members 2 years ago
Ryan Zhao 037d70b185 handle seed view reminder and search bar 2 years ago
Ryan Zhao c1c5678056 implement animation for selected search result message flickering 2 years ago
Ryan Zhao 5c112064da UI improvements on contact search results 2 years ago
Ryan Zhao 994a2e9c89 hide cancel button when the keyboard is hidden 2 years ago
Ryan Zhao aeabaea0ca fix no search results shown accidentally 2 years ago
Ryan Zhao 9d9a3f92cb minor UI fix 2 years ago
Ryan Zhao 3a626ed80a fix a deadlock issue 2 years ago
ryanzhao 10abbb0552 search result view UI 2 years ago
ryanzhao fed1218538 WIP: global search UI 3 years ago
ryanzhao 9ec749285f minor clean 3 years ago
Ryan Zhao 912f8d80a6 Merge branch 'pin-chats' into voice-calls-2 3 years ago
Ryan Zhao 7e5573c96f fix cell updating and pin icon color 3 years ago
Ryan Zhao a6a297048c Merge branch 'pin-chats' into voice-calls-2 3 years ago
Ryan Zhao 1cc2f17469 pin conversations 3 years ago
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 3 years ago
ryanzhao 17b15f2cd9 fix threading issue 3 years ago
Niels Andriesse b54cd3b026 Add call button to conversation screen 3 years ago
Niels Andriesse 662fc945e2 Refactor CallVC 3 years ago
Niels Andriesse 691f931dde Hook up CallVC 3 years ago
nielsandriesse a9f81a17f9 Fix code style & unnecessary changes 3 years ago
coo1k e328ab9bfd Support for App Links 3 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse 1e246389be Clean 3 years ago
nielsandriesse 1d028e5f6c Add file server instability modal 3 years ago
nielsandriesse 340b9fcdf0 Update build number 3 years ago
Ryan ZHAO 9cbc2921e3 fix move-insert conflict 3 years ago
Niels Andriesse 26b0a1f08a Possibly fix crash 3 years ago
nielsandriesse 17688a66e6 Make closed group polling variable rate 3 years ago
Niels Andriesse e3671291c5 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse ea668f0344 Use newly translated strings 3 years ago
nielsandriesse e1ad33e832 Clean 3 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 3 years ago
nielsandriesse 21acdfc835 Clean up thread model 3 years ago
Niels Andriesse 371222098b Fix snode pool updating bug 3 years ago
Niels Andriesse e9df213bfe Put feature flags in one place 3 years ago
nielsandriesse 330e4ce8ad Fix unnecessary V2 open group requests 3 years ago
Niels Andriesse a7dd7e1bf0 Hook up suggestion grid 3 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 3 years ago
Niels Andriesse 54fc54e7b9 Minor refactoring 3 years ago
Niels Andriesse 92304fa590 Clean & debug 3 years ago
Niels Andriesse 9969284a2b Clean 3 years ago
nielsandriesse 109e673bad Debug 3 years ago
nielsandriesse 881bd9b00f Add missing sync 3 years ago
Niels Andriesse e4aca65af0 Clean 3 years ago
Niels Andriesse 66a00d4167 Clean 3 years ago
Niels Andriesse 49c825eb43 Remove old conversation screen 3 years ago
Niels Andriesse 547f5bf540 Make replies tappable 3 years ago
Niels Andriesse bc58dfd94e Update build number 3 years ago
nielsandriesse ebd91dcc73 Merge branch 'dev' into ui 3 years ago
Niels Andriesse 2736d1c6a0 Don't show key pair migration modal anymore 3 years ago
nielsandriesse 1924e01edc Merge branch 'multi-device' into ui 3 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 3 years ago
Niels Andriesse e7b9017992 Enable V2 closed group control messages 3 years ago
Niels Andriesse 82cbf2ab41 Clean 3 years ago
Niels Andriesse 57f7bc88eb Fix leftover merge conflicts 3 years ago
Niels Andriesse 7acb6c9ac3 Merge branch 'dev' into multi-device 3 years ago
Niels Andriesse c87862592a Fix dead zone around new conversation button set 3 years ago
Niels Andriesse 4ee5c66653 Send old closed group control messages for now 3 years ago
Niels Andriesse cf333d5e3d Merge branch 'closed-groups' into multi-device 3 years ago
Niels Andriesse 017e4f7d50 Hook up the new system 3 years ago
Niels Andriesse 867e9114a6
Merge branch 'dev' into multi-device 3 years ago
Niels Andriesse c9c83da3dc Rename ClosedGroupUpdateV2 → ClosedGroupControlMessage 3 years ago
Niels Andriesse 2fa62bd2ca Fix threads not updating on home screen 4 years ago
nielsandriesse e38dae5a05 Replace PublicChatManager 4 years ago
nielsandriesse b8d9334d19 Force sync upon creating a closed group or joining an open group 4 years ago
nielsandriesse a915c5ddaa Re-organize files 4 years ago