Commit graph

372 commits

Author SHA1 Message Date
Ryan Zhao a8c7f517eb clean 2022-02-24 15:39:07 +11:00
Ryan Zhao ab0714af00 fix search bar cancel button for iPad 2022-02-24 12:03:46 +11:00
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
2022-02-24 10:39:22 +11:00
Ryan Zhao 97bf861809 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-24 09:53:31 +11:00
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
2022-02-23 17:12:57 +11:00
Morgan Pretty 30cbe77366 Added labels to the NewConversationButtonSet 2022-02-22 16:59:10 +11:00
Morgan Pretty 2d6dad67eb Added back another missing localised string 2022-02-22 16:08:07 +11:00
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
2022-02-21 14:48:53 +11:00
Morgan Pretty dfbee2a520 Removed the single message restriction from message requests (still text only) 2022-02-21 10:10:32 +11:00
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
2022-02-17 16:29:14 +11:00
Ryan Zhao cc1b1e8c51 poll for open groups in NSE 2022-02-17 14:55:32 +11:00
Morgan Pretty 999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2022-02-17 11:52:23 +11:00
Morgan Pretty d490cf7d19 Fixed an issue where only the first sync config message would be processed 2022-02-17 11:45:59 +11:00
Ryan Zhao 37edce9a09 remove duplicated PN register/unregister 2022-02-16 14:43:41 +11:00
Ryan Zhao 52886f2e16 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2022-02-16 09:37:58 +11:00
Morgan Pretty 8cc9caa0fd Renamed the OpenGroupPollerV2 and OpenGroupManagerV2 2022-02-15 16:44:10 +11:00
Morgan Pretty 63e6cdd9ec Renamed OpenGroupAPIV2 to OpenGroupAPI
Added the inbox endpoints
2022-02-15 16:30:11 +11:00
Ryan Zhao 3fb7babecb clean 2022-02-15 13:59:01 +11:00
Ryan Zhao 7d00897907 minor clean up 2022-02-14 11:21:32 +11:00
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'
2022-02-11 16:48:16 +11:00
Morgan Pretty 140cc97829 Fixed a couple of bugs with the share extension
Fixed a bug where sharing a text file was resulting in the entire contents being put into the message input field
Fixed a bug where sharing from within the app where the app was in dark mode but the device was in light mode would result in buggy UI
2022-02-11 13:05:10 +11:00
Morgan Pretty bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 2022-02-11 11:26:04 +11:00
Ryan Zhao f7af8141c0 fix CallKit failed to report new incoming calls in focus mode 2022-02-11 10:59:23 +11:00
Ryan Zhao 2d9f962a97 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2022-02-04 14:21:54 +11:00
Morgan Pretty cd61fb8df0 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	SignalUtilitiesKit/Utilities/UIColor+Extensions.swift
2022-02-04 11:49:54 +11:00
Ryan Zhao e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-03 11:02:19 +11:00
Morgan Pretty 4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
2022-02-03 08:32:17 +11:00
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)
2022-02-02 16:59:56 +11:00
Ryan Zhao ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-02 13:33:25 +11:00
Morgan Pretty bee36423da Fixed a couple of issue with sharing large attachments
Added back localized attachment error messages
Fixed an issue where sending an attachment could fail and the screen would be dismissed before the user had a chance to read the error
2022-02-01 14:55:03 +11:00
Ryan Zhao 8ed77435d8 update translation 2022-01-28 14:08:43 +11:00
Ryan Zhao 85c4b3d745 show recent search result as default for global search screen 2022-01-27 14:19:07 +11:00
ryanzhao 10abbb0552 search result view UI 2022-01-17 16:56:51 +11:00
Morgan Pretty 3b07be4eed Fixed a couple of crashes
Fixed an issue where sharing form Safari without adding comments would result in an invalid message getting sent.
Fixed a crash when sharing plain text from safari.
Fixed a crash when localising 'OK' (key and value can't be the same when using the new extension).
2022-01-13 16:37:23 +11:00
Morgan Pretty f02f53fc49 Added code to show a HTTP LinkPreview error
Added code to indicate the app won't load LinkPreviews for HTTP urls.
Updated the title & subtitle layout to better handle LinkPreview errors.
Missed an Objective C change in the last commit.
2022-01-13 16:08:23 +11:00
ryanzhao 0a23065fb1 change home screen title to SESSION 2022-01-13 11:41:21 +11:00
Morgan Pretty 67ad965859 Link Preview error state and UI standardisation
Added a couple of error states for Link Preview loading.
Standardised the UI creation code style.
Removed some debug and redundant code.
2022-01-13 10:05:42 +11:00
Morgan Pretty dd9eeb5d61 Added initial support for sharing URLs and text
Updated the share extension to load URL previews.
Updated the ThreadPickerVC to send plain text & URLs in the same way they are sent for normal messages.
2022-01-12 09:40:53 +11:00
Ryan Zhao b4b6b24530 update translation 2022-01-06 10:12:54 +11:00
Ryan Zhao 53f75ff69b Merge branch 'dev' into voice-calls-2 2021-12-17 10:34:27 +11:00
Ryan Zhao 5e9695d234 disable typing indicators and read receipts by default 2021-12-16 16:22:44 +11:00
Ryan Zhao e42c8ea592 Merge branch 'doc-with-text' into voice-calls-2 2021-12-07 15:54:09 +11:00
Ryan Zhao 6225c12ced minor improvement on pre-sending file page icon 2021-12-07 15:53:58 +11:00
Ryan Zhao 300f6f50cf add size label for file type attachment 2021-12-07 15:25:05 +11:00
Ryan Zhao d2f29e7db2 Merge branch 'doc-with-text' into voice-calls-2 2021-12-07 14:14:34 +11:00
Ryan Zhao 5e521a8192 fix the issue where no text will show along with a doc type attachment 2021-12-07 14:12:48 +11:00
RyanZhao 2a26eda36b
Merge pull request #531 from RyanRory/1.11.19
1.11.19 bug fixes and improvements
2021-12-06 09:48:08 +11:00
Ryan Zhao 9e4e126ef3 add call missed tips 2021-11-30 15:51:15 +11:00
Ryan Zhao f3206416e0 WIP: show missed call tips 2021-11-30 13:46:53 +11:00
Ryan Zhao 44837b57e5 improve the audio output device displaying 2021-11-30 11:48:04 +11:00
Ryan Zhao 2000297a5f Add missed call message for call offer messages from more than one minute 2021-11-29 16:55:29 +11:00
Ryan Zhao 570c3fbe3b add ringtone and other UI improvement 2021-11-29 16:32:02 +11:00
Ryan Zhao 6703d8c7f4 add timestamp to call message UI 2021-11-29 14:49:53 +11:00
Ryan Zhao 9e6c81d28b improve call message UI 2021-11-29 12:10:33 +11:00
Ryan Zhao 0a3d84d5c8 WIP: Call message Ui improvements 2021-11-26 16:57:57 +11:00
Ryan Zhao 561cf98e6b Merge branch '1.11.19' into voice-calls-2 2021-11-23 14:35:37 +11:00
Ryan Zhao a6a297048c Merge branch 'pin-chats' into voice-calls-2 2021-11-23 14:34:19 +11:00
Ryan Zhao 4f1093beca improve translation and notificaiton displaying 2021-11-23 11:58:19 +11:00
Ryan Zhao 3f8f4ca060 clean 2021-11-22 10:49:44 +11:00
Ryan Zhao e9f19b9c62 fix duplicated incoming call 2021-11-19 10:04:00 +11:00
Ryan Zhao bf33030d9a minor fix for handling calls on linked device 2021-11-18 15:24:53 +11:00
Ryan Zhao 81dd4557a5 sync answer and end call message 2021-11-18 13:19:47 +11:00
Ryan Zhao 1cc2f17469 pin conversations 2021-11-17 15:51:53 +11:00
ryanzhao 95c8606408 deal with audio I/O change 2021-11-15 12:22:31 +11:00
ryanzhao 67f979e014 update icons 2021-11-12 17:01:57 +11:00
ryanzhao 716378ccd3 handle offer message might come in earlier than pre offer message 2021-11-12 16:24:47 +11:00
ryanzhao d8021f6d6b clean 2021-11-12 13:33:19 +11:00
ryanzhao edffbe7d4c fix data channel and uuid check 2021-11-12 13:32:27 +11:00
ryanzhao 02d0499618 seperate CallKit uuid from session call id 2021-11-12 09:17:06 +11:00
ryanzhao bd938897ad minor update on translation 2021-11-11 17:00:36 +11:00
ryanzhao 9346864843 end call if there is no answer in 60s 2021-11-11 16:51:54 +11:00
ryanzhao fa79124bb7 minor refactoring & handle network change 2021-11-11 16:09:39 +11:00
ryanzhao 336c694b52 refactoring on showing call ip exposure 2021-11-11 12:12:12 +11:00
ryanzhao da14539639 handle busy 2021-11-11 11:09:52 +11:00
ryanzhao 248a02e1e9 minor fix 2021-11-10 14:31:02 +11:00
ryanzhao 2942168030 fix call kit not working when the screen is locked 2021-11-10 11:13:37 +11:00
ryanzhao ff79c58f44 update call message after a call ended 2021-11-09 16:05:23 +11:00
ryanzhao f019fe7733 use CallKit for all cases 2021-11-09 11:53:38 +11:00
ryanzhao 888df37581 fix call connection 2021-11-08 15:09:45 +11:00
ryanzhao bef20e2f9a refactor for CallKit 2021-11-08 09:12:18 +11:00
ryanzhao 6f78d6dfbe refactoring for CallKit 2021-11-03 15:31:50 +11:00
ryanzhao e530b50938 WIP: notification for voip call 2021-10-29 16:32:50 +11:00
ryanzhao 4db87992b2 refactor for voip push notification 2021-10-29 15:22:23 +11:00
ryanzhao 0ef7bdc9ce refactor to plug in callkit 2021-10-28 17:02:41 +11:00
ryanzhao dea57081c7 WIP: callkit & pushkit 2021-10-26 15:48:31 +11:00
ryanzhao bcdf49eada improve ip exposure modal content 2021-10-25 14:17:08 +11:00
ryanzhao fb156b7d52 minor fix 2021-10-22 09:20:39 +11:00
ryanzhao 1231b9c20a add preview before staring video 2021-10-21 16:28:48 +11:00
ryanzhao 7b23b8f601 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2021-10-20 10:20:09 +11:00
ryanzhao 02932bca93 Appearance based on system theme 2021-10-19 11:03:59 +11:00
ryanzhao 1a669feb1a change Support to Debug Log 2021-10-15 12:30:08 +11:00
ryanzhao 5553d4e068 fix default PN content 2021-10-15 10:02:00 +11:00
ryanzhao 78497d7eec update build number 2021-10-14 16:03:11 +11:00
ryanzhao a8b8207154 clean 2021-10-14 10:30:20 +11:00
ryanzhao 63d75040a6 clean 2021-10-13 10:39:42 +11:00
ryanzhao 7cd7343585 schedule background refresh tasks 2021-10-12 17:05:13 +11:00
ryanzhao c1e5511ed4 WIP: background vibrate & refresh tasks 2021-10-12 16:43:30 +11:00
ryanzhao a1f8e16eb3 WIP: add mini call floating view 2021-10-11 13:14:39 +11:00
ryanzhao 0f957efcd8 minor fix 2021-10-07 16:53:38 +11:00
ryanzhao fbe5b12c9d WIP: incoming call banner 2021-10-06 17:00:12 +11:00
ryanzhao 3b545ca618 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2021-10-05 09:39:15 +11:00
ryanzhao 7aa751ca45 share log files in settings vc 2021-10-01 09:18:40 +10:00
ryanzhao 23fb69ba6f add incoming/outgoing call message bubble 2021-09-29 17:22:37 +10:00
ryanzhao 383f996e82 WIP: improve call UI 2021-09-29 11:17:48 +10:00
ryanzhao 0e473e35a7 minor fix 2021-09-23 18:04:16 +10:00
ryanzhao 5354185696 improve UI 2021-09-23 12:55:28 +10:00
ryanzhao 019a2cd299 add options for voice call and video call 2021-09-22 11:44:35 +10:00
ryanzhao d96b91dac7 update translation 2021-09-21 16:38:48 +10:00
ryanzhao e8500d75a7 fix input panel issue & make local video view draggable 2021-09-21 15:11:48 +10:00
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 2021-09-20 12:00:06 +10:00
ryanzhao 69b262a081 add new survey button 2021-09-17 16:24:09 +10:00
ryanzhao e049d05891 update translations 2021-09-15 15:07:18 +10:00
ryanzhao 8013cdacff add operations for video call 2021-09-08 14:55:52 +10:00
ryanzhao 6e07c56e7d Merge branch 'master' of https://github.com/oxen-io/session-ios into voice-calls-2 2021-09-07 14:51:50 +10:00
ryanzhao 7c11285dfb fix a crash when scanning false QR code to link a device 2021-09-01 15:11:59 +10:00
ryanzhao a7e9606833 add copy link option when clicking a link 2021-08-31 10:28:45 +10:00
ryanzhao b7289e72a3 add accessibility to attachment buttons 2021-08-25 12:18:06 +10:00
Niels Andriesse baf9e4e9d4 Add ringing UI 2021-08-18 13:07:15 +10:00
Niels Andriesse 6fdf544368 Implement end call message 2021-08-18 10:33:33 +10:00
Niels Andriesse c1a61e897b UI improvements 2021-08-18 09:56:28 +10:00
Niels Andriesse e899804b85 Rename CallVCV2 → CallVC 2021-08-18 08:56:11 +10:00
Niels Andriesse 1ad42547b2 Batch send ICE candidates 2021-08-17 16:02:20 +10:00
Niels Andriesse 525eb40d8d Make signaling happen using Session messages 2021-08-17 15:41:13 +10:00
Niels Andriesse b54cd3b026 Add call button to conversation screen 2021-08-16 16:24:49 +10:00
ryanzhao 951b8ac1e6 localisation for context menu 2021-08-09 14:00:10 +10:00
ryanzhao 5f2890a1fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-09 11:21:29 +10:00
Mark Feaver 9a27e5d7bb Made app default to system-defined dark/light mode on first launch 2021-08-07 18:56:59 +10:00
Ryan Zhao 4904d2cdcf localisation 2021-08-05 16:15:11 +10:00
Ryan Zhao 33bd74338d localisation 2021-08-05 15:37:54 +10:00
Ryan Zhao 86ab6c03eb use single pdf for image assets 2021-07-30 09:20:56 +10:00
Niels Andriesse 483ed4792f Fix localization & clean 2021-07-29 10:14:06 +10:00
ryanzhao 798b541241 add UI in conversation settings 2021-07-26 15:42:04 +10:00
Niels Andriesse 519ffa4405 Fully switch to the new contact API
This should improve performance significantly as it avoids many unnecessary sync transactions. It also makes the code more readable.
2021-07-22 14:41:27 +10:00
Niels Andriesse 6d2044f230 Warn users if they're about to send their recovery phrase to someone 2021-07-19 13:15:02 +10:00
Niels Andriesse 017f4c7ea5 Remove orphaned code 2021-07-19 09:44:36 +10:00
Niels Andriesse a90a89ea4f Remove CocoaLumberjack 2021-07-19 09:29:26 +10:00
Niels Andriesse d2161545d6 WIP 2021-07-15 16:39:59 +10:00
Niels Andriesse 97d0e0a1b6 Update translations 2021-07-15 13:34:40 +10:00
Niels Andriesse 873279b65b Add FAQ button to settings 2021-07-14 14:05:40 +10:00
Niels Andriesse 0307eba6ef Debug 2021-07-12 14:07:42 +10:00
Niels Andriesse 0338b976d4 Implement UI for delete entire account option 2021-07-12 13:53:59 +10:00
Niels Andriesse 57ebadcbdb Update translations 2021-07-07 14:30:55 +10:00
Niels Andriesse 09de88a14f Merge branch 'dev' of github.com:loki-project/session-ios into dev 2021-06-18 09:32:29 +10:00
Niels Andriesse 267cb6151c Add missing strings 2021-06-18 09:32:10 +10:00
nielsandriesse a9f81a17f9 Fix code style & unnecessary changes 2021-06-03 11:39:52 +10:00
nielsandriesse 81bdf7911e Merge branch 'dev' into deep-linking 2021-06-03 11:23:10 +10:00
coo1k e328ab9bfd Support for App Links 2021-06-01 00:39:11 -07:00
nielsandriesse a835f3e6d4 Add Finnish translation 2021-06-01 15:15:30 +10:00
Archit Sharma f72dc6c920
Hindi Translation file added 2021-05-31 16:11:00 +07:00
Niels Andriesse ac681c3bc2 Fix missing font 2021-05-25 09:04:22 +10:00