Commit graph

68 commits

Author SHA1 Message Date
ryanzhao
372e87e70f minor fix 2022-05-04 16:36:15 +10:00
ryanzhao
e540497724 update last hash persistence 2022-05-04 11:47:09 +10:00
ryanzhao
7d3df3a016 Merge branch 'bug-fixes-1.11.25' into voice-calls-2 2022-04-05 11:36:56 +10:00
Ryan Zhao
a22dc15249 fix closed group poller unwrapping crash in background 2022-04-04 13:31:56 +10:00
Ryan Zhao
36094eed7f Merge branch 'remove-unused-code' into voice-calls-2 2022-04-04 11:08:54 +10:00
Morgan Pretty
0842dbff1e Removed a bunch of unused code
Removed the legacy Theme code (replaced with SessionUIKit equivalents)
Removed the OWSOrphanDataCleaner (unused)
Removed the OWSReceiptType_Delivery from the OWSOutgoingReceiptManager (unused)
Removed the TSStorageKeys and TSStorageHeaders files (unused)
Removed the LKMessageIDCollection (unused - only had methods for deleting data from the collection)
Removed the OWSPrimaryStorageTrustedKeysCollection and OWSIdentityManager_QueuedVerificationStateSyncMessages (unused)
Removed collections and notifications from OWSProfileManager (unused)
2022-03-30 09:46:08 +11:00
Ryan Zhao
8b3d3fffb5 Merge branch 'dev' into voice-calls-2 2022-03-28 14:29:32 +11:00
Morgan Pretty
b90904ebbd Updated the code to only update the last message hash once the MessageReceiveJobs have been created 2022-03-22 14:09:47 +11:00
Ryan Zhao
a68ed28a7a Merge branch 'dev' into voice-calls-2 2022-03-09 11:33:18 +11:00
Ryan Zhao
5762445128 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-08 17:10:40 +11:00
Ryan Zhao
60e8da3bff Merge branch 'dev' into preformance-improvement 2022-03-08 11:08:45 +11:00
Ryan Zhao
bf6de99395 Merge branch 'dev' into ipad-support-1 2022-03-08 10:23:19 +11:00
Morgan Pretty
af543b980b Made a couple of changes to how the ConfigurationMessage is generated and handled
Stopped configuration messages from automatically creating threads for sync'ed contacts (now they will only be created if there are messages)
Updated the ConfigurationMessage to stop truncating the list of contacts but filter the full set (also update the logic to include previously approved contacts)
2022-03-07 10:22:46 +11:00
Ryan Zhao
88876138db Merge branch 'ipad-support-1' into voice-calls-2 2022-03-04 15:27:20 +11:00
Ryan Zhao
6a9a5b2752 fix session id label width 2022-03-03 14:31:18 +11:00
Ryan Zhao
2bfbf25c75 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-03 09:34:37 +11:00
Ryan Zhao
094fbfec2e improvements on sizes to make the UI look much better 2022-03-02 17:21:10 +11:00
Ryan Zhao
952a3d3414 minor fix for merging 2022-03-02 14:46:23 +11:00
Ryan Zhao
52407aec03 Merge branch 'ipad-support-1' into voice-calls-2 2022-03-02 14:31:31 +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
948cbe2c0b Updated a couple of comments 2022-02-22 15:52:30 +11:00
Morgan Pretty
582ff0997a Fixed a couple of crashes and added some mock data generation logic
Possibly fixed a crash due to a database deadlock
Fixed a crash when the first message requests gets added if there are no other threads
Added code to generate a bunch of random thread data (Needs some testing to ensure no data leaves the device)
2022-02-22 15:51:17 +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
27a4f20395 fix function name conflicts 2022-02-16 10:22:50 +11:00
Ryan Zhao
36444f9e4c minor fix 2022-02-09 15:30:47 +11:00
Ryan Zhao
657f91ccf9 fix mini call view (remote video view) rotation and dragging issue 2022-02-09 15:27:19 +11:00
Ryan Zhao
be1767a4ba clean 2022-02-08 14:14:33 +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
Ryan Zhao
ec9adfee7f remove populate cache on loading home page 2021-12-15 16:35:47 +11:00
Ryan Zhao
d3a2b456f1 handle permission request for voice and video calls 2021-11-18 10:39:50 +11:00
ryanzhao
17b15f2cd9 fix threading issue 2021-09-14 13:33:27 +10:00
ryanzhao
d10ad83d51 Improve date breaks between messages to be consistent with desktop 2021-09-02 14:18:01 +10:00
ryanzhao
dd2f8c7df9 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-04 09:08:10 +10:00
Ryan Zhao
36f592be4b clean 2021-08-03 14:26:59 +10:00
Ryan Zhao
7c82ede432 fix a minor mention issue that it won't show the name if there is no white space after a mention 2021-08-03 14:25:10 +10:00
Ryan Zhao
08360273e6 save server hash for message receive jobs 2021-08-02 15:39:10 +10:00
ryanzhao
354b7e0dc3 notify mentions as settings 2021-07-26 15:43:03 +10:00
Niels Andriesse
28ea914097 Show date break header by hour instead of by day
Also ditch relative timestamps in favor of absolute ones
2021-07-08 14:30:54 +10:00
Niels Andriesse
3fda8daec9 Merge branch 'dev' into cleanup 2021-05-20 16:25:59 +10:00
nielsandriesse
6760341a2e Add missing retry 2021-05-19 08:49:20 +10:00
nielsandriesse
c36cf1a36d Hopefully fix closed group handling bug 2021-05-19 08:42:58 +10:00
Niels Andriesse
7e60d3c218 Merge branch 'dev' into cleanup 2021-05-06 09:24:42 +10:00
nielsandriesse
438164110c Add comments 2021-05-05 15:27:31 +10:00
nielsandriesse
e1ad33e832 Clean 2021-05-05 14:22:29 +10:00
nielsandriesse
49f3b9f7db Rename contactIdentifier → contactSessionID 2021-05-05 10:00:39 +10:00
nielsandriesse
21acdfc835 Clean up thread model 2021-05-05 09:53:18 +10:00
Niels Andriesse
b73832438a Fix build 2021-04-19 14:47:45 +10:00
nielsandriesse
c6f4443eed Update more logic for V2 open groups 2021-03-24 14:36:26 +11:00
Niels Andriesse
54fc54e7b9 Minor refactoring 2021-03-05 09:18:45 +11:00
Niels Andriesse
dd0baf0d97 Unify contacts APIs 2021-03-01 09:36:18 +11:00