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
2 years ago
Morgan Pretty
8ac6b25ced
Further refactoring work
...
Refactored usages and removed AFNetworking
Updated the media screens to use Combine
# Conflicts:
# Session/Closed Groups/GroupMembersViewModel.swift
# Session/Media Viewing & Editing/GIFs/GifPickerCell.swift
# Session/Media Viewing & Editing/GIFs/GiphyAPI.swift
# Session/Media Viewing & Editing/PhotoCapture.swift
2 years ago
Morgan Pretty
c9fdee9f24
Work on the PromiseKit refactor
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Home/Message Requests/MessageRequestsViewModel.swift
# Session/Notifications/AppNotifications.swift
# Session/Notifications/PushRegistrationManager.swift
# Session/Notifications/SyncPushTokensJob.swift
# Session/Notifications/UserNotificationsAdaptee.swift
# Session/Settings/BlockedContactsViewModel.swift
# Session/Settings/NukeDataModal.swift
# Session/Settings/SettingsViewModel.swift
# Session/Utilities/BackgroundPoller.swift
# SessionMessagingKit/Database/Models/ClosedGroup.swift
# SessionMessagingKit/File Server/FileServerAPI.swift
# SessionMessagingKit/Open Groups/OpenGroupAPI.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageReceiver+UnsendRequests.swift
# SessionMessagingKit/Sending & Receiving/Message Handling/MessageSender+ClosedGroups.swift
# SessionMessagingKit/Sending & Receiving/MessageSender+Convenience.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Notifications/PushNotificationAPI.swift
# SessionMessagingKit/Sending & Receiving/Pollers/ClosedGroupPoller.swift
# SessionMessagingKit/Sending & Receiving/Pollers/CurrentUserPoller.swift
# SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
# SessionMessagingKit/Utilities/ProfileManager.swift
# SessionSnodeKit/Networking/SnodeAPI.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionUtilitiesKit/Networking/HTTP.swift
2 years ago
Morgan Pretty
1345e89809
Further config util logic
...
Removed the usage of the OWSAES256Key (using CryptoKit and raw data instead)
Removed the pre-compiled headers to speed up builds with minor changes (explicit imports instead)
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKit/Database/Models/ClosedGroup.swift
# SessionMessagingKit/Protos/Generated/SNProto.swift
# SessionMessagingKit/Protos/Generated/SessionProtos.pb.swift
# SessionMessagingKit/Protos/SessionProtos.proto
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Pollers/CurrentUserPoller.swift
# SessionMessagingKit/Utilities/ProfileManager.swift
# SessionSnodeKit/Models/DeleteAllMessagesRequest.swift
# SessionSnodeKit/Models/GetMessagesRequest.swift
# SessionSnodeKit/Models/SendMessageRequest.swift
# SessionSnodeKit/Types/SnodeAPINamespace.swift
2 years ago
Morgan Pretty
f721178b49
Added in a migration to create the user profile config and trigger a sync
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
2 years ago
Morgan Pretty
edf3bde573
Started working on the integration
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# SessionMessagingKit/Configuration.swift
# SessionMessagingKit/Database/Migrations/_012_AddClosedGroupInfo.swift
# SessionMessagingKit/Database/Migrations/_013_AutoDownloadAttachments.swift
# SessionMessagingKit/Open Groups/Models/SOGSBatchRequest.swift
# SessionSnodeKit/OnionRequestAPI.swift
# SessionSnodeKit/SSKDependencies.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionTests/Conversations/Settings/ThreadSettingsViewModelSpec.swift
# SessionTests/Settings/NotificationContentViewModelSpec.swift
# SessionUtilitiesKit/Networking/BatchResponse.swift
2 years ago
ryanzhao
02028c36e6
Merge branch 'dev' into ipad-landscape-support
2 years ago
ryanzhao
ab2dc8deaf
Merge branch 'dev' into quote-standardise
2 years ago
ryanzhao
fe8930405d
Merge branch 'dev' into ipad-landscape-support
2 years ago
Morgan Pretty
d740fe32c2
Added some copy to explain disabled buttons for message requests
2 years ago
Morgan Pretty
c934415355
General bug fixing
...
Fixed an issue where the database could get suspended if the app is launched when the app is doing a background fetch
Fixed an incorrectly localized string
Fixed an issue where the author name on a message didn't have it's width constrained
Fixed a bug where the conversation message list inset wasn't getting updated properly in some cases
Tweaked some logic in the OpenGroupPoller when running from the background to try and close some of the odd cases
3 years ago
Morgan Pretty
89df1261e3
Added a method to allow safer database inserts
...
Fixed an issue where the app settings were updating immediately making them seem to
Updated GRDB to version 6.1 and SQLCipher to 4.5.2
Added a method which allows for inserting into the database while omitting columns which exist in the object but not in the database (so allow for old migrations to run with less issues)
Updated all the migrations to use the migration safe insert method
Removed some ObjC support extension functions
3 years ago
ryanzhao
981621738a
Merge branch 'dev' into quote-standardise
3 years ago
ryanzhao
4083b2fb2d
Merge branch 'dev' into ipad-landscape-support
3 years ago
ryanzhao
48c0c06c4b
cherry pick bacd call fix & clean
3 years ago
ryanzhao
85147551cf
Merge branch 'dev' into quote-standardise
3 years ago
Ryan Zhao
1865f90426
Merge branch 'dev' into ipad-landscape-support
3 years ago
Morgan Pretty
42e82af8a2
Removed the 'screenshot notifications' setting
3 years ago
Morgan Pretty
5a758724b3
Made a few last minute tweaks and fixes
...
Updated a couple more translations
Updated the copy for the member count in communities
Deleted some more unused code
Fixed up another RTL issue
3 years ago
Ryan Zhao
01c0f8152c
Merge branch 'dev' into quote-standardise
3 years ago
Ryan Zhao
a04a918786
Merge branch 'dev' into ipad-landscape-support
3 years ago
Morgan Pretty
0af00feed9
Added the version footer back to the settings screen
3 years ago
Ryan Zhao
b44a61b1dd
Merge branch 'theming' into ipad-landscape-support
3 years ago
Morgan Pretty
c33b555c3c
Translations, better RTL support and minor animation fix
...
Added some better support for right-to-left languages
Added updated Farsi translations
Fixed a minor transition glitch
3 years ago
ryanzhao
b40bcc3743
Merge branch 'theming' into ipad-landscape-support
3 years ago
Morgan Pretty
58184d6d27
Fixed issues found during testing
...
Fixed an issue where the user config message wouldn't get sent correctly
Fixed an issue where the theme preference migration wasn't working properly
Fixed a crash which could occur in some cases when updating the theme
Fixed a crash which could occur when opening the new conversation screen with a contact with no name
Fixed a minor UI glitch with the 'sessionId' separator border
Fixed a minor UI issue where long author names in quotes could cause the message bubble to stretch incorrectly
Cleaned up some no-contact UI states
Updated the Atomic queue to have a 'userInteractive' priority so it can't be delayed by lower priority queues and block the main thread
3 years ago
Ryan Zhao
671c5f6ada
Merge branch 'theming' into ipad-landscape-support
3 years ago
Morgan Pretty
27e0981913
Added toast and info message deletion, fixed layout issues & unit tests
...
Added a toast when hitting the emoji reacts rate limit
Added the ability to delete info messages
Fixed some odd layout behaviours with the VisibleMessageCell
Fixed some layout issues with reactions
Removed some unneeded custom code
3 years ago
ryanzhao
481eb37901
Merge branch 'theming' into ipad-landscape-support
3 years ago
ryanzhao
3dfa3ac5ee
Merge branch 'theming' into ipad-landscape-support
3 years ago
Morgan Pretty
db54bf657e
Fixed remaining bugs
...
Split the date out of the VisibleMessageCell into it's own cell to clean up deletion/insertion animations
Fixed a layout issue with the Open Group
Fixed an issue where the QRCode tinting wasn't working on iOS 16
Implemented a swift version of an ObjC function
3 years ago
Morgan Pretty
0c09f2bfc5
Fixed a few more QA issues, added a minor feature
...
Updated the document download UI
Minor font tweaks to match settings more closely
Added profile data to the MessageRequestResponse
Fixed the broken tests
3 years ago
Morgan Pretty
93e12a3fcb
Cleaned out old strings
3 years ago
Morgan Pretty
6eeb0ec7ac
Fixed most of the styling issues raised during QA
...
Copy tweak
Added a toast when copying the sessionId or group URL (fixes to the toast UI as well)
Fixed the new conversation screen styling
Fixed the styling of the various attachment screens
Updated the buttons on the attachment screen to behave like the input view buttons
Removed the old OWSNavigationBar and OWSNavigationController (logic was buggy and not actually needed in most cases)
3 years ago
ryanzhao
c82e4ab11f
fix a localised string
3 years ago
ryanzhao
ce73cc7e98
fix home screen conversation cell UI
3 years ago
Morgan Pretty
37124c2185
Updated the alerts to use the custom styled ones
...
Removed some more unused code
Moved around some files to make them more reusable
3 years ago
Morgan Pretty
40109e0bea
Cleaned up the config-based table view controller to be more reusable
...
Updated the settings screens to have the "rounded group" styling
Added a "loading conversations" label to the Message Requests screen before the conversations load
Removed the legacy UserCell (replaced with the more reusable 'SessionCell')
Renamed a few things to make them more generic and reusable
3 years ago
ryanzhao
47d41ea64d
support landscape and autorotate for iPad
3 years ago
Morgan Pretty
f98e2a157e
Added rounding to the settings and updated the SettingVC to use the config approach
...
Removed some unused code
3 years ago
Morgan Pretty
8109a326cf
Merge remote-tracking branch 'upstream/dev' into feature/theming
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Closed Groups/NewClosedGroupVC.swift
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Conversations/Message Cells/CallMessageCell.swift
# Session/Conversations/Views & Modals/JoinOpenGroupModal.swift
# Session/Home/HomeVC.swift
# Session/Home/New Conversation/NewDMVC.swift
# Session/Home/NewConversationButtonSet.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/Open Groups/JoinOpenGroupVC.swift
# Session/Open Groups/OpenGroupSuggestionGrid.swift
# Session/Settings/SettingsVC.swift
# Session/Shared/BaseVC.swift
# Session/Shared/OWSQRCodeScanningViewController.m
# Session/Shared/ScanQRCodeWrapperVC.swift
# Session/Shared/UserCell.swift
# SessionMessagingKit/Configuration.swift
# SessionShareExtension/SAEScreenLockViewController.swift
# SessionUIKit/Style Guide/Gradients.swift
# SignalUtilitiesKit/Media Viewing & Editing/OWSViewController+ImageEditor.swift
# SignalUtilitiesKit/Screen Lock/ScreenLockViewController.m
3 years ago
Morgan Pretty
1045e79729
Merge remote-tracking branch 'upstream/dev' into menu-redesign
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
3 years ago
Morgan Pretty
f7fd15dae0
Finished removing usages to non-theme colour variables
...
Updated theming throughout
Fixed a couple of bugs with the media gallery
3 years ago
Morgan Pretty
7dc75af361
Fixed some bugs with disappearing messages
...
Fixed an issue where the DisappearingMessages job could incorrectly overwrite it's nextRunTimestamp
Fixed an issue where sent/self-send messages wouldn't correctly trigger the disappearing messages job
Fixed an issue where sending the mnemonic along with an attachment wasn't showing the warning prompt
Fixed an issue where the home screen wasn't updating on launch if the displayed messages were removed disappearing messages
Fixed a small UI glitch where the input field wouldn't immediately get cleared when sending a message (unfortunately there is a slight delay before the message appears still)
3 years ago
Morgan Pretty
1bc6b0bdba
Merge remote-tracking branch 'upstream/dev' into feature/theming
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/ConversationVC+Interaction.swift
# Session/Conversations/ConversationVC.swift
# Session/Conversations/ConversationViewModel.swift
# Session/Conversations/Message Cells/VisibleMessageCell.swift
# Session/Home/HomeVC.swift
# Session/Home/Message Requests/MessageRequestsViewController.swift
# Session/Media Viewing & Editing/MediaTileViewController.swift
# Session/Meta/AppDelegate.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/Onboarding/LandingVC.swift
# SessionMessagingKitTests/_TestUtilities/MockGeneralCache.swift
3 years ago
RyanZhao
570883e28a
Merge pull request #687 from RyanRory/badcall-fix
...
Voice & video call fix
3 years ago
RyanZhao
cfecc71163
Merge pull request #665 from RyanRory/add-silence-audio
...
Fix notification sound None not working
3 years ago
ryanzhao
65d615ef24
fix join community button title
3 years ago
ryanzhao
eeea448673
Merge branch 'dev' into quote-standardise
3 years ago
ryanzhao
b4d29c58c4
Merge branch 'dev' into menu-redesign
3 years ago