Commit graph

70 commits

Author SHA1 Message Date
ryanzhao
7ae982a328 Fix notifications don't respect the call disabled settings 2022-04-06 15:11:26 +10:00
Ryan Zhao
49d6a64194 Merge branch 'remove-OWSBlockingManager' into voice-calls-2 2022-03-31 11:09:09 +11:00
Morgan Pretty
5bb3bd7bc1 Cleaned up some config sync logic and allowed migrations to trigger them
Updated the migrations so they can specify whether a configuration sync is required
Moved the config sync logic into a MessageSender extension (makes far more sense than AppDelegate)
Fixed a bug where the ShareVC was triggering the 'versionMigrationsDidComplete' twice
Removed a couple of imports for files that had been deleted
2022-03-24 10:03:51 +11:00
Ryan Zhao
37614fe3d8 Merge branch 'dev' into voice-calls-2 2022-03-21 14:21:51 +11:00
RyanZhao
9e020948d6
Merge pull request #594 from RyanRory/bug-fixes-1.11.23
Bug fixes for 1.11.22
2022-03-21 14:11:42 +11:00
Ryan Zhao
8652268557 add logs & fix PN 2022-03-21 13:55:51 +11:00
Morgan Pretty
2e10ccf99d Updated the code to cache the retrieval of the user public key 2022-03-15 16:06:53 +11:00
Ryan Zhao
a31fb7f957 Merge branch 'dev' into voice-calls-2 2022-03-11 09:35:51 +11:00
Morgan Pretty
c2e13f02bc Fixed a crash which could occur while processing message request notifications due to not using a DB transaction 2022-03-10 16:50:48 +11:00
Ryan Zhao
f489e78deb Merge branch 'dev' into voice-calls-2 2022-03-10 15:12:42 +11:00
Ryan Zhao
05e2457f8b fix message request notification title 2022-03-10 10:42:08 +11:00
Ryan Zhao
a68ed28a7a Merge branch 'dev' into voice-calls-2 2022-03-09 11:33:18 +11:00
Ryan Zhao
52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-02 14:31:31 +11:00
Ryan Zhao
f7bfeb6e6d fix typo 2022-03-02 09:42:13 +11:00
Ryan Zhao
936fbd27c2 fix message request notification 2022-02-25 15:18:27 +11:00
Ryan Zhao
f22672ccd7 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-25 14:58:20 +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
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
Ryan Zhao
cc1b1e8c51 poll for open groups in NSE 2022-02-17 14:55:32 +11:00
Ryan Zhao
7f8c952c66 fix notification badge 2022-02-16 16:18:49 +11:00
Ryan Zhao
f21d142a6c remove useless cache populating in NSE 2022-02-16 13:52:58 +11:00
Ryan Zhao
7d00897907 minor clean up 2022-02-14 11:21:32 +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
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
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
f1adc9d91d fix incorrect incoming call issue 2021-12-20 12:25:05 +11:00
Ryan Zhao
cab8b5e6d9 insert call missed message in NSE 2021-12-08 17:12:17 +11:00
Ryan Zhao
63d85a481f fix PN for incoming call on lower than iOS 14.5 2021-11-29 16:50:06 +11:00
ryanzhao
336c694b52 refactoring on showing call ip exposure 2021-11-11 12:12:12 +11:00
ryanzhao
446ef838f0 minor fix 2021-11-09 16:12:08 +11:00
ryanzhao
a1aa45ae10 trace call timestamp from NSE 2021-11-09 16:07:34 +11:00
ryanzhao
86aced218a minor fix for CallKit PN 2021-11-08 17:02:47 +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
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
5553d4e068 fix default PN content 2021-10-15 10:02:00 +11:00
ryanzhao
9690ce1a9e prevent self-send message PN 2021-10-15 09:27:45 +11:00
ryanzhao
3de81ef2a0 imporvements 2021-10-14 16:01:50 +11:00
ryanzhao
c1e5511ed4 WIP: background vibrate & refresh tasks 2021-10-12 16:43:30 +11:00
ryanzhao
57a04f4ff5 show incoming call notification 2021-10-11 15:23:19 +11:00
ryanzhao
340d2abc05 cancel notification if there is an outgoing message coming in 2021-09-17 11:26:26 +10:00
ryanzhao
96f9948781 fix self-send closed group messages won't show 2021-09-15 10:02:07 +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
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
b7289e72a3 add accessibility to attachment buttons 2021-08-25 12:18:06 +10:00
Niels Andriesse
45042a1acf Fix typos 2021-08-10 11:17:04 +10:00