Commit graph

16407 commits

Author SHA1 Message Date
ryanzhao
8557604064 clean up 2022-04-20 15:09:33 +10:00
ryanzhao
abafffbfe2 potentially fix a issue that the calls won't get connected 2022-04-20 14:22:36 +10:00
Ryan Zhao
a92d626c1e fix open group notification spam in NSE 2022-04-19 16:36:40 +10:00
Ryan Zhao
8f1b7c5718 update build number 2022-04-19 14:45:20 +10:00
Ryan Zhao
1d0475b8a0 fix notification spam 2022-04-19 13:39:36 +10:00
Morgan Pretty
28553b218b Updated the migration to handle quotes and link previews 2022-04-11 17:30:42 +10:00
Ryan Zhao
37dc1631b5 fix an issue where the textview is not scrollable after the app goes into background and goes back in foreground. 2022-04-11 16:22:09 +10:00
Ryan Zhao
fa9de8c9c3 Merge branch 'dev' into bug-fixes-1.11.25 2022-04-11 15:42:00 +10:00
RyanZhao
2260e76dd5
Merge pull request #613 from mpretty-cyro/fix/linkPreviewDarkModeText
Fix link preview dark mode text
2022-04-11 14:03:07 +10:00
Ryan Zhao
ed0c2d1e52 Merge branch 'fix/linkPreviewDarkModeText' into voice-calls-2 2022-04-11 14:02:31 +10:00
Ryan Zhao
8958f8fd3b update build number 2022-04-11 10:37:10 +10:00
Ryan Zhao
b23038087f try to fix a call issue when iOS is on lock screen 2022-04-11 10:36:21 +10:00
Morgan Pretty
dbb0cdf0cb Fixed an issue where the text on the LinkPreview in dark mode wasn't visible 2022-04-11 10:21:45 +10:00
Morgan Pretty
4380f1975c Further work on the DB refactoring
Added the rest of the interaction structure to the database (testing some migration logic now - still needs to be finalised)
Updated the YDBToGRDB migrations to wrap their inserts in autorelease pools (helps memory slightly, unfortunately it's caching the YDB data which uses the most memory but we have opted for speed over RAM at the moment)
Updated the MockDataGenerator so it should now "chunk" the code generation (crazy large figures were previously resulting in excessive memory usage)
2022-04-08 16:56:33 +10:00
ryanzhao
d5d1c822a8 update build number 2022-04-07 17:03:25 +10:00
ryanzhao
5ebb2ceee3 fix call duration label get hidden 2022-04-07 17:02:57 +10:00
ryanzhao
9825023bdd update build number 2022-04-07 15:11:08 +10:00
ryanzhao
f1445a2191 add missed call notification 2022-04-07 15:10:38 +10:00
ryanzhao
343df684d9 fix race condition for callkit 2022-04-07 12:29:09 +10:00
ryanzhao
6cb3e1db22 add interaction for showing missed call tips if the permission is denied 2022-04-06 17:24:48 +10:00
Morgan Pretty
cf66edb723 Further work on SessionMessagingKit migrations
Added migrations for contacts and started working through thread migration (have contact and closed group threads migrating)
Deprecated usage of ECKeyPair in the migrations (want to be able to remove Curve25519Kit in the future)
2022-04-06 15:43:26 +10:00
ryanzhao
5fa63286da refactor timeout logic for calls incoming and reconnecting 2022-04-06 15:41:38 +10:00
ryanzhao
7ae982a328 Fix notifications don't respect the call disabled settings 2022-04-06 15:11:26 +10:00
ryanzhao
6c19c5cd49 bump up build number 2022-04-05 16:35:50 +10:00
ryanzhao
f2cfa29b21 add call related logs to log file 2022-04-05 16:35:09 +10:00
ryanzhao
2730c3ba91 bump up version & build number 2022-04-05 11:38:42 +10:00
ryanzhao
7d3df3a016 Merge branch 'bug-fixes-1.11.25' into voice-calls-2 2022-04-05 11:36:56 +10:00
ryanzhao
49b4c7b586 fix an edge case for callkit notification 2022-04-05 11:29:59 +10:00
Ryan Zhao
77c00b6c37 fix #456 2022-04-04 16:10:28 +10:00
Ryan Zhao
43ca54c0a0 refactor to use Atomic wrapper 2022-04-04 14:40:24 +10:00
Morgan Pretty
0f4df804ed Merge branch 'dev' into feature/database-refactor
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/AppDelegate.m
#	SessionMessagingKit/Utilities/OWSIdentityManager.h
#	SessionMessagingKit/Utilities/OWSIdentityManager.m
#	SignalUtilitiesKit/Database/Storage+Conformances.swift
#	SignalUtilitiesKit/Database/TSStorageHeaders.h
#	SignalUtilitiesKit/To Do/OWSPrimaryStorage+Loki.m
2022-04-04 13:41:16 +10:00
Morgan Pretty
93f248d149 Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
#	SessionMessagingKit/Storage.swift
2022-04-04 13:33:27 +10:00
Ryan Zhao
a22dc15249 fix closed group poller unwrapping crash in background 2022-04-04 13:31:56 +10:00
Morgan Pretty
7256cc6871 Merge remote-tracking branch 'upstream/dev' into dev 2022-04-04 13:18:50 +10:00
Morgan Pretty
4ee4b3ffb3 Started adding migration logic for contacts
Updated the getUserHexEncodedPublicKey to take an optional db value so we can retrieve it during the initial migration
2022-04-04 13:18:14 +10:00
Ryan Zhao
36094eed7f Merge branch 'remove-unused-code' into voice-calls-2 2022-04-04 11:08:54 +10:00
RyanZhao
cd3c385444
Merge pull request #610 from mpretty-cyro/feature/remove-unused-code
Remove unused code
2022-04-04 10:48:41 +10:00
Morgan Pretty
72eeb1c796 Updated the Identity type to clear everything instead of just the x25519 pair 2022-04-04 09:58:47 +10:00
Morgan Pretty
410f37f0d5 Updated the SnodeSet table name to match the type
Shifted all GRDB Snode convenience methods to be extensions on Snode (instead of SnodeSet) for consistency
2022-04-04 09:52:48 +10:00
Morgan Pretty
63db2a4e3d Updated the 'SwarmSnode' to use the 'port_https' key instead of the 'port' key (deprecated) 2022-04-04 09:33:12 +10:00
Morgan Pretty
a1b4554cdb Migrated the SessionSnodeKit from YapDatabase to GRDB
Changed the min OS version to iOS 13.0 (support for 'Identifiable')
Removed the alternate approaches to fetching the userKeyPair and userPublicKeyHexString (no consistently routed through the caching method)
Migrated the 'OWSIdentityManager' logic to use the new 'Identity' type
Added the 'Setting' table and got the pattern working fairly nicely (unfortunately there isn't a good way to avoid key collision without proper enums)
Updated the SessionSnodeKit to migration it's data from YDB to GRDB
Updated the SessionSnodeKit to use GRDB throughout it's logic
2022-04-01 17:22:45 +11:00
Morgan Pretty
e65682ae9b Merge branch 'dev' into feature/database-refactor
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Backups/OWSBackup.m
#	Session/Backups/OWSBackupImportJob.m
#	SessionSnodeKit/SnodeAPI.swift
2022-03-31 12:09:04 +11:00
Morgan Pretty
c3b855646f Merge branch 'dev' into feature/session-id-blinding-part-2
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/Views & Modals/JoinOpenGroupModal.swift
#	Session/Open Groups/JoinOpenGroupVC.swift
#	Session/Settings/SettingsVC.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver+Handling.swift
#	SessionMessagingKit/Sending & Receiving/MessageReceiver.swift
2022-03-31 12:03:00 +11:00
Morgan Pretty
1633105ce2 Merge branch 'dev' into feature/remove-unused-code
# Conflicts:
#	Session/Backups/OWSBackup.m
#	Session/Backups/OWSBackupImportJob.m
#	SignalUtilitiesKit/Sharing/SelectRecipientViewController.m
#	SignalUtilitiesKit/Sharing/SelectThreadViewController.m
2022-03-31 11:51:59 +11:00
Morgan Pretty
459502f1c3 Merge remote-tracking branch 'upstream/dev' into dev 2022-03-31 11:47:52 +11:00
Morgan Pretty
529e416dd1 Started work on GRDB logic and migrations
Setup a migration pattern
Setup the database configuration and security
Started defining the database schema
Started working on the migrations for SessionSnodeKit
2022-03-31 11:47:09 +11:00
Ryan Zhao
49d6a64194 Merge branch 'remove-OWSBlockingManager' into voice-calls-2 2022-03-31 11:09:09 +11:00
RyanZhao
82606a6244
Merge pull request #602 from mpretty-cyro/feature/remove-OWSBlockingManager
Remove the OWSBlockingManager
2022-03-31 10:56:35 +11:00
Morgan Pretty
89e80da625 Removed AppPreferences (unused) 2022-03-30 10:05:47 +11:00
Morgan Pretty
f7091dca28 Removed an empty notification observer 2022-03-30 09:48:34 +11:00