Commit graph

45 commits

Author SHA1 Message Date
Morgan Pretty
4f8fb63f2c Merge remote-tracking branch 'upstream/dev' into feature/updated-user-config-handling
# Conflicts:
#	Session/Media Viewing & Editing/PhotoCapture.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/Onboarding/RestoreVC.swift
#	Session/Shared/SessionTableViewController.swift
#	Session/Shared/SessionTableViewModel.swift
#	SessionMessagingKit/Calls/WebRTCSession.swift
#	SessionMessagingKit/Database/Models/Attachment.swift
#	SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift
#	SessionMessagingKit/File Server/FileServerAPI.swift
#	SessionMessagingKit/Jobs/Types/AttachmentDownloadJob.swift
#	SessionMessagingKit/Open Groups/OpenGroupAPI.swift
#	SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender.swift
#	SessionSnodeKit/OnionRequestAPI.swift
#	SessionSnodeKit/SnodeAPI.swift
#	SessionUtilitiesKit/Database/Models/Identity.swift
#	SessionUtilitiesKit/JobRunner/JobRunner.swift
2023-01-27 14:26:17 +11:00
Morgan Pretty
a3da087352 Fixed a few build errors and cases where the offset wasn't taken into account 2022-12-21 17:46:18 +11:00
Morgan Pretty
f7199b4c44 Updated the code to take the service node offset into account when setting timestamps 2022-12-21 16:39:52 +11:00
Morgan Pretty
6970ff22cc Refactored the remaining references to PromiseKit
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Media Viewing & Editing/PhotoCapture.swift
#	SessionMessagingKit/Jobs/Types/GarbageCollectionJob.swift
#	SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
#	SessionMessagingKit/Utilities/Promise+Utilities.swift
#	SessionShareExtension/ShareVC.swift
#	SessionShareExtension/ThreadPickerVC.swift
#	SessionSnodeKit/OnionRequestAPI+Encryption.swift
#	SessionSnodeKit/OnionRequestAPI.swift
#	SessionUtilitiesKit/Database/Storage.swift
#	SessionUtilitiesKit/Networking/HTTP.swift
2022-12-07 15:58:53 +11:00
Morgan Pretty
8cf2a57fcc Renamed GRDBStorage to Storage (no use having the prefix anymore since the old DB is deprecated) 2022-07-01 13:08:45 +10:00
Morgan Pretty
c7e8071dd1 Fixed a large number of bugs and added a setting to control open group message deletion
Added a setting to control whether open group messages older than 6 months should be pruned
Added some defensive coding to prevent an edge-case which could cause a crash (wasn't filtering out a potential invalid row from the home screen data)
Fixed a bug where preOffer call messages weren't correctly sending push notifications
Fixed a bug where all incoming calls would be rejected and seen as calls disabled
Fixed a bug where the copy on call info messages was displaying the sender's name instead of the thread contact's name for outgoing calls
Fixed a bug where the input view wouldn't appear when creating new DM conversations
Fixed a bug where threads might not show the message request approval UI
Fixed an issue where some logic might not have run correctly when first registering an account
Fixed a bug where the note to self thread could incorrectly appear when restoring a device
Updated the GarbageCollectionJob to run onActive instead of onLaunch (since it's likely we will rarely launch)
Updated the logic for erasing an account from a device
2022-06-29 18:10:10 +10:00
Morgan Pretty
4133a49a34 Made a couple of tweaks to the GRDBStorage interface
Updated the ControlMessageProcessRecord to allow for duplicate handling of UnsendRequest messages
2022-06-21 13:39:46 +10:00
Morgan Pretty
eeccfb47d5 Fixed all of the build errors from merge, migrated Call logic, started idBlinding migration and bug fixes
Fixed some broken file paths
Fixed a couple of bugs with closed groups
Fixed a few migration issues
Fixed a bug with the ProfilePictureView in open groups (was including the open parenthesis in the initials)
Migrated the Id Blinding changes to work with GRDB
Migrated the call logic to work with GRDB
Updated the code to work the with hard fork changes
2022-06-09 18:37:44 +10:00
Morgan Pretty
531ddcb079 Replaced the GoogleWebRTC library (deprecated) with WebRTC-lib 2022-05-13 11:54:36 +10:00
ryanzhao
f2cfa29b21 add call related logs to log file 2022-04-05 16:35:09 +10:00
Ryan Zhao
9df52a0a89 implement new approach for call reconnection 2022-03-25 13:26:26 +11:00
Ryan Zhao
83c7283a76 remove redundant turn servers and reduce turn servers connections to 2 2022-02-11 11:32:21 +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
cfcd52c5bb minor refactoring to prevent crash after making a call 2021-12-02 14:41:29 +11:00
Ryan Zhao
9e6c81d28b improve call message UI 2021-11-29 12:10:33 +11:00
Ryan Zhao
74ef42558b add turn server info 2021-11-19 10:39:10 +11:00
ryanzhao
95c8606408 deal with audio I/O change 2021-11-15 12:22:31 +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
e7a6ddb4f1 clean 2021-11-10 15:39:39 +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
dea57081c7 WIP: callkit & pushkit 2021-10-26 15:48:31 +11:00
ryanzhao
80151acad2 communicate video enabling status using data channel 2021-10-13 14:42:36 +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
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
219440f444 update call protobuf 2021-10-05 13:41:39 +11: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
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
2dfef51688 use default factory 2021-08-27 16:53:08 +10:00
Niels Andriesse
c1b95dc54f Fix freezing issue 2021-08-18 14:16:49 +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
3206ce380e Rename WebRTCWrapper → WebRTCSession 2021-08-18 09:00:55 +10:00
Renamed from SessionMessagingKit/Calls/WebRTCWrapper.swift (Browse further)