Commit Graph

782 Commits

Author SHA1 Message Date
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
ryanzhao c38923cc2f Merge branch 'disappearing-message-fix' into voice-calls-2 2021-12-09 13:55:38 +11:00
ryanzhao e24ae60d71 fix duplicated disappearing message in closed groups 2021-12-09 13:55:17 +11:00
Ryan Zhao 5a30263469 minor fix on sdp modification 2021-12-07 17:02:53 +11:00
Ryan Zhao 0df2630a70 enable CBR 2021-12-07 16:30:14 +11:00
Ryan Zhao 4658e76d46 fix linked device answering/ending call issues 2021-12-06 16:02:54 +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 cfcd52c5bb minor refactoring to prevent crash after making a call 2021-12-02 14:41:29 +11:00
Ryan Zhao 4b38f8b3b6 improve call message showing contact name 2021-12-02 11:24:07 +11:00
Ryan Zhao 8226e2aa7b update missed call unread status 2021-12-01 16:36:02 +11:00
Ryan Zhao a75ecb30db minor fix 2021-12-01 15:57:23 +11:00
Ryan Zhao 8cab6d1013 show short session id for callee/caller name 2021-12-01 15:35:28 +11:00
Ryan Zhao 35fc3ede9e Merge branch '1.11.19' into voice-calls-2 2021-11-29 17:02:33 +11:00
Ryan Zhao a6df6504c8 Prevent the same ExpirationTimerUpdate to be handled twice 2021-11-29 17:02:23 +11:00
Ryan Zhao c820212115 extend call message ttl to 14 days 2021-11-29 16:56:15 +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 6703d8c7f4 add timestamp to call message UI 2021-11-29 14:49:53 +11:00
Ryan Zhao 35f75490a4 clean 2021-11-29 13:35:32 +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 78971b7d09 ignore call messages over 60s 2021-11-25 16:50:30 +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 5a5741f47b Group notifications from background polling 2021-11-23 11:05:04 +11:00
Ryan Zhao a8dd010b06 Merge branch '1.11.19' into voice-calls-2 2021-11-22 09:33:27 +11:00
Ryan Zhao e504e23f92 minor fix 2021-11-19 11:50:14 +11:00
Ryan Zhao 0c2027d7c8 fix call message self send valid 2021-11-19 11:22:13 +11:00
Ryan Zhao 77e1f30bc9 fix sync message sending bug 2021-11-19 11:11:48 +11:00
Ryan Zhao 74ef42558b add turn server info 2021-11-19 10:39:10 +11:00
Ryan Zhao e9f19b9c62 fix duplicated incoming call 2021-11-19 10:04:00 +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 e49431d2eb fix transaction crash 2021-11-15 16:47:12 +11:00
ryanzhao dd891063bd minor fix 2021-11-15 16:02:24 +11:00
ryanzhao 95c8606408 deal with audio I/O change 2021-11-15 12:22:31 +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 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 e7a6ddb4f1 clean 2021-11-10 15:39:39 +11:00
ryanzhao 2bbba2c6b7 clean 2021-11-10 15:38:57 +11:00
ryanzhao 18afb4ae1c fix call kit UI audio nor working 2021-11-10 15:30:52 +11:00
ryanzhao 248a02e1e9 minor fix 2021-11-10 14:31:02 +11:00
ryanzhao ff79c58f44 update call message after a call ended 2021-11-09 16:05:23 +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 0ef7bdc9ce refactor to plug in callkit 2021-10-28 17:02:41 +11:00
ryanzhao dbcc158337 fix unsend bugs 2021-10-27 13:51:19 +11:00
ryanzhao e2de82a11d WIP: webRTC + callkit 2021-10-26 16:36:04 +11:00
ryanzhao dea57081c7 WIP: callkit & pushkit 2021-10-26 15:48:31 +11:00
ryanzhao 18a9768167 filter other call messages 2021-10-25 13:51:41 +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 ecf92ceeea fix PN sound settings not applying to remote PNs 2021-10-19 15:11:47 +11:00
ryanzhao 80151acad2 communicate video enabling status using data channel 2021-10-13 14:42:36 +11:00
ryanzhao 8a6be4fc5b notify pre-offer call message 2021-10-13 11:47:15 +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 99d2dd42d5 fix first message not being functional issue 2021-10-12 09:27:09 +11:00
ryanzhao 42676188c7 add continuous vibration 2021-10-12 09:05:37 +11:00
ryanzhao a1f8e16eb3 WIP: add mini call floating view 2021-10-11 13:14:39 +11:00
ryanzhao 82e11fb116 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2021-10-07 11:20:36 +11:00
ryanzhao 4a21e87625 minor fix on conversation ordering 2021-10-07 10:57:24 +11:00
ryanzhao fbe5b12c9d WIP: incoming call banner 2021-10-06 17:00:12 +11:00
ryanzhao 0684e5250d use data channel to communicate video enabling status 2021-10-05 16:39:52 +11:00
ryanzhao 4e36052c6c Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2021-10-05 16:09:29 +11:00
ryanzhao f51651ce8e minor fix on conversation ordering 2021-10-05 15:09:11 +11:00
ryanzhao 219440f444 update call protobuf 2021-10-05 13:41:39 +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 b315510ec2 Revert "improve attachment image quality"
This reverts commit ad4e65e6e1.
2021-10-04 15:37:42 +11:00
ryanzhao ad4e65e6e1 improve attachment image quality 2021-10-04 14:57:07 +11:00
ryanzhao 0b5d6ae4b0 fix disappearing messages for sync messages 2021-10-04 14:39:28 +11:00
ryanzhao 204fe789ed fix sync message in open group won't be marked as sent 2021-10-04 11:56:05 +11:00
ryanzhao ceb88f3d00 prevent disappearing message affecting the order of conversations 2021-10-01 16:29:02 +10:00
ryanzhao 49688c0a2d potentially fix a crash when setting nickname from null 2021-10-01 15:06:33 +10:00
ryanzhao b7c6eafa87 fix notification preview type nested transaction crash 2021-09-30 14:24:04 +10:00
ryanzhao cebda588e8 fix remove job id concurrent issue 2021-09-30 11:20:00 +10:00
ryanzhao e91469fe0e fix nested transaction crash 2021-09-30 09:30:30 +10:00
ryanzhao 3a84593de9 fix profile key crash & typo 2021-09-30 09:20:20 +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 9030710d9d add data channel 2021-09-27 15:08:01 +10:00
ryanzhao ffaf149b1f turn on/off camera 2021-09-22 14:54:26 +10:00
ryanzhao daee269a7a Merge branch 'dev' into voice-calls-2 2021-09-20 12:00:06 +10:00
ryanzhao bfc1e96c9d Merge branch 'sync-read' into bug-fixes 2021-09-16 14:56:04 +10:00
ryanzhao 75a4dcee79 clean 2021-09-16 10:33:54 +10:00
ryanzhao 6f2dd14ce6 clean 2021-09-16 10:32:03 +10:00
ryanzhao b3db1ac1ed cancel notification if the message is marked as read 2021-09-16 10:20:40 +10:00
ryanzhao d4067eb39d mark previous messages as read if there is a sync message 2021-09-16 10:20:18 +10:00
ryanzhao 50465c04bf fix a crash where the configuration message contacts info may contain invalid profile key 2021-09-15 16:43:49 +10:00
ryanzhao fde5083de8 improve link preview images 2021-09-15 14:02:52 +10:00
ryanzhao dcd3997a78 fix an issue where untrusted contact's media message will never be marked as read 2021-09-14 15:10:01 +10:00
ryanzhao 140676fdaf fix expiration sync messages show display name rather than "You" 2021-09-14 14:32:39 +10:00
ryanzhao 3c4a19e30d fix nested transaction crash 2021-09-13 14:37:10 +10:00
ryanzhao f08d0470e5 expire sync messages if needed 2021-09-10 13:48:07 +10:00
ryanzhao 047c44166f fix speaker not working 2021-09-09 09:21:13 +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 fbd30ca8e5
Merge pull request #500 from RyanRory/improvements
Improvements
2021-09-02 09:02:24 +10:00
ryanzhao 42d4e07724 add @ symbol when there is mention in unread messages 2021-08-30 13:22:40 +10:00
ryanzhao e045808070 Revert "WIP: download attachments in NSE"
This reverts commit 6fd5bbeab1.
2021-08-30 10:00:19 +10:00
ryanzhao 454003c027 Revert "WIP: make the attachment download work in NSE"
This reverts commit 7295c14e17.
2021-08-30 10:00:04 +10:00
ryanzhao 2dfef51688 use default factory 2021-08-27 16:53:08 +10:00
ryanzhao 7295c14e17 WIP: make the attachment download work in NSE 2021-08-27 13:32:31 +10:00
ryanzhao 6fd5bbeab1 WIP: download attachments in NSE 2021-08-26 10:49:55 +10:00
ryanzhao 70e38e11d8 clean attachment download job 2021-08-25 16:39:30 +10:00
ryanzhao b7289e72a3 add accessibility to attachment buttons 2021-08-25 12:18:06 +10:00
ryanzhao d6d041a74f fix closed group threading issue 2021-08-24 14:58:27 +10:00
ryanzhao d319840c04 clean unused server timestamp 2021-08-23 11:15:05 +10:00
ryanzhao da335a8401 clean 2021-08-23 11:10:45 +10:00
ryanzhao 132ff0416f set server timestamp as open group message's sent timestamp 2021-08-23 11:10:22 +10:00
ryanzhao 7a354fe220 potentially fix the closed group not receiving messages issue 2021-08-20 10:01:25 +10:00
Niels Andriesse 8ba8e1c1a8 Merge branch 'dev' of github.com:oxen-io/session-ios into voice-calls-2 2021-08-19 15:56:18 +10:00
Niels Andriesse 3584a0e357 Fix call message TTL 2021-08-19 13:34:33 +10:00
Niels Andriesse c1b95dc54f Fix freezing issue 2021-08-18 14:16:49 +10:00
Niels Andriesse baf9e4e9d4 Add ringing UI 2021-08-18 13:07:15 +10:00
ryanzhao 1822c7df16 fix duplicated messages sent in closed groups 2021-08-18 12:09:05 +10:00
Niels Andriesse 8280748b39 Improve logging 2021-08-18 11:18:11 +10:00
Niels Andriesse b3ead76221 Debug 2021-08-18 10:45:55 +10:00
Niels Andriesse 6fdf544368 Implement end call message 2021-08-18 10:33:33 +10:00
Niels Andriesse 34e630b5bf Add documentation 2021-08-18 09:06:06 +10:00
Niels Andriesse 3206ce380e Rename WebRTCWrapper → WebRTCSession 2021-08-18 09:00:55 +10:00
Niels Andriesse b3af41e2fc Debug 2021-08-17 16:20:08 +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 0749510f4e Minor refactoring & clean up WebRTC constraints 2021-08-17 14:02:28 +10:00
Niels Andriesse 662fc945e2 Refactor CallVC 2021-08-16 14:40:07 +10:00
Niels Andriesse 4dd218daf6 Delete unused MockTURNServer 2021-08-13 15:46:40 +10:00
Niels Andriesse 49d93b9cfd Clean up TestCallServer 2021-08-13 15:43:33 +10:00
Niels Andriesse 8b187641b8 Clean up TestCallConfig 2021-08-13 15:34:44 +10:00
Niels Andriesse 36962cc059 Clean up WebSocket 2021-08-13 15:22:15 +10:00
Niels Andriesse 48ef3f85c0 Debug 2021-08-13 14:40:42 +10:00
Niels Andriesse 876814dd43 Basic proof of concept 2021-08-13 13:47:22 +10:00
Niels Andriesse 56bd59c4ee Debug 2021-08-12 16:09:54 +10:00
Niels Andriesse f1f48ec865 Further implement CallVC 2021-08-12 15:12:48 +10:00
Niels Andriesse eb2cba7410 Add MockCallServer 2021-08-12 14:04:46 +10:00
Niels Andriesse 74e9cacd58 Implement MockWebSocket 2021-08-12 13:54:44 +10:00
Niels Andriesse 32426f9005 Add CallVC 2021-08-12 13:49:10 +10:00
Niels Andriesse 4fd720cbc9 Implement MockCallConfig 2021-08-12 13:20:34 +10:00
Niels Andriesse 9664274a21 Rename TURNServer → MockTURNServer 2021-08-12 13:14:02 +10:00
Niels Andriesse 170da7a276 Implement VideoCallVC & CameraManager 2021-08-12 13:12:44 +10:00
Niels Andriesse b513eeb898 Add mock TURN server implementation 2021-08-12 11:46:04 +10:00
Niels Andriesse 67792ad15f Add UI utilities 2021-08-12 10:52:41 +10:00
Niels Andriesse 1a12199d0b Implement CallManager 2021-08-12 10:35:06 +10:00
Niels Andriesse 030c869d06 Add WebRTC dependency & implement CallMessage 2021-08-10 14:09:45 +10:00
Niels Andriesse 45042a1acf Fix typos 2021-08-10 11:17:04 +10:00
ryanzhao 0ed748074b remove deleted message for linked devices 2021-08-09 17:07:06 +10:00
ryanzhao 2e8e931551 minor refactor 2021-08-09 16:52:42 +10:00
ryanzhao 03fde557fc Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-09 15:08:11 +10:00
Niels Andriesse 4f9d77017a Fix message updating race condition 2021-08-09 14:54:16 +10:00
ryanzhao 940e09c25b handle canceling push notification 2021-08-09 12:30:09 +10:00
Ryan Zhao 7e640fb6ac Don't show deleted message in home screen 2021-08-05 14:08:13 +10:00
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-05 13:34:17 +10:00
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 2021-08-05 13:34:07 +10:00
Niels Andriesse e311d2878f Fix message status indicator bug 2021-08-05 10:47:15 +10:00
Niels Andriesse 50d17be43b Fix animation glitch 2021-08-05 10:11:20 +10:00
Niels Andriesse b8c4e6aa93 Avoid unnecessary conversation screen updates 2021-08-05 10:02:52 +10:00
ryanzhao 00fd764042 delete the message on storage server after receiving an unsend request 2021-08-04 15:11:49 +10:00
ryanzhao 9953451767 add comment 2021-08-04 14:53:16 +10:00
ryanzhao 8d53a775d2 Revert "delete real message and sync message together"
This reverts commit cc17a952e0.
2021-08-04 14:48:32 +10:00
ryanzhao cc17a952e0 delete real message and sync message together 2021-08-04 11:49:21 +10:00
Niels Andriesse 1b0a12d7c0 Don't unnecessarily unsubscribe from closed group PNs
We don't need to do this anymore as we now have the ability to ignore PNs in the notification service extension
2021-08-03 16:21:30 +10:00
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 2021-08-03 15:36:54 +10:00
Ryan Zhao 80bf62df90 fix nested transaction crash on setting notification identifier 2021-08-03 10:42:09 +10:00
Ryan Zhao 885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-03 10:26:30 +10:00
Niels Andriesse e8d8377a04 Fix threading bug 2021-08-03 09:58:50 +10:00
Ryan Zhao 08360273e6 save server hash for message receive jobs 2021-08-02 15:39:10 +10:00
Ryan Zhao 050a2ec534 store server hash value for visible messages 2021-08-02 15:24:38 +10:00
Ryan Zhao c68350f3d8 store hash value for outgoing messages 2021-08-02 14:49:34 +10:00
Ryan Zhao e2a0578770 cancel local notifications for unsend requests 2021-08-02 14:03:46 +10:00
Ryan Zhao b827b9e1ba make it work for multi device 2021-08-02 10:32:47 +10:00
Ryan Zhao 94c1879263 fix unsend request receive handler 2021-07-30 17:04:56 +10:00
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 2021-07-30 16:51:43 +10:00
Ryan Zhao 83252650b1 unsend request handler 2021-07-30 14:21:43 +10:00
Ryan Zhao dff99cf0fc add unsend request proto 2021-07-30 14:21:30 +10:00
Ryan Zhao b31b9166ad Merge branch 'dev' of https://github.com/oxen-io/session-ios into fine-grained-notification-settings-2 2021-07-30 09:45:37 +10:00
Ryan Zhao 423feae426 add notify reply and clean 2021-07-30 09:43:05 +10:00
Niels Andriesse 8f29010e89 Poll for closed group messages more frequently 2021-07-30 09:23:56 +10:00
Niels Andriesse 483ed4792f Fix localization & clean 2021-07-29 10:14:06 +10:00
ryanzhao b0e03f5dfd update subtitle status in conversation screen instantly 2021-07-26 16:16:14 +10:00
ryanzhao f0d2826403 add thread flag for only notifying mentiongs 2021-07-26 15:42:45 +10:00
Niels Andriesse 8a29469eb5 Handle incorrect clock setting 2021-07-23 13:42:13 +10:00
Niels Andriesse 6bf25e28f7 Debug 2021-07-23 09:00:28 +10:00
Niels Andriesse 9d605c03f0 Debug 2021-07-22 15:23:35 +10:00
Niels Andriesse ca862096b4 Rename profilePictureEncryptionKey → profileEncryptionKey 2021-07-22 14:52:10 +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 44288c45e9 Fix auto scroll to bottom bug 2021-07-22 11:10:30 +10:00
ryanzhao 69dea75486 potentially fix the conversation stuck at unread 2021-07-20 14:06:23 +10:00
Niels Andriesse 1d1d63c979 Don't auto resubscribe to PNs for muted closed groups 2021-07-19 13:22:09 +10:00
Niels Andriesse 11df899db3 Don't use jobs for open group polling
It's not necessary because we can always get the messages again from the server, and it helps with performance
2021-07-15 14:16:33 +10:00
Niels Andriesse e84fc1aa04 Include destination info in error messages 2021-07-15 09:47:03 +10:00
Niels Andriesse aae11b1c28 Disable PNs for muted closed groups 2021-07-13 16:09:28 +10:00
Niels Andriesse ba60879343 Add support for new ban and delete all endpoint 2021-07-13 14:33:42 +10:00
Niels Andriesse e796f6bacd Don't retry message send jobs when rate limited 2021-07-13 09:46:41 +10:00
Niels Andriesse 2928a8f66c Don't unnecessarily retry downloads for expired attachments 2021-07-13 09:46:27 +10:00
Niels Andriesse 6bc9b21cde Fix handling of failed messages in open groups
Failures wouldn't show up because `recipientIdentifiers` was empty for open groups
2021-07-13 09:46:06 +10:00