Commit graph

46 commits

Author SHA1 Message Date
Ryan Zhao
60e8da3bff Merge branch 'dev' into preformance-improvement 2022-03-08 11:08:45 +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
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
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
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
Niels Andriesse
713b781def Remove legacy notifications adaptee 2021-02-23 15:38:55 +11:00
nielsandriesse
a25276b5be Fix document picker appearance 2021-02-17 10:14:48 +11:00
Niels Andriesse
90e53e5cef Redesign conversation screen part 1 2021-02-09 15:14:18 +11:00
Niels Andriesse
be877bbeaf Improve onion request path loading efficiency 2021-01-27 16:14:35 +11:00
Niels Andriesse
59d071d9f5 Improve onion request path loading efficiency 2021-01-27 14:06:28 +11:00
Niels Andriesse
bbac6cc5ed Attempt to fix extensions 2021-01-25 10:28:33 +11:00
Niels Andriesse
5a3ed9163b Fix various warnings 2021-01-21 16:43:55 +11:00
nielsandriesse
a915c5ddaa Re-organize files 2021-01-12 11:05:52 +11:00
Niels Andriesse
7583661cca Implement auto-migration 2020-12-16 16:22:46 +11:00
Niels Andriesse
0864873d31 Clean 2020-12-14 15:18:45 +11:00
Niels Andriesse
2a4977d269 Implement Session protocol 2020-12-14 09:49:02 +11:00
Niels Andriesse
5b240da619 Add Session ID change notice 2020-12-07 16:27:29 +11:00
Niels Andriesse
438bbccdfa Fix background polling 2020-12-07 11:21:24 +11:00
nielsandriesse
7d207ddfb7 Organize files 2020-11-20 10:14:35 +11:00
Niels Andriesse
72b4c3edaf WIP 2020-11-19 15:24:09 +11:00
nielsandriesse
f36f447bec Ditch unused Signal code 2020-11-17 15:35:52 +11:00
nielsandriesse
1c0b32af3c Fix ECKeyPair usage 2020-11-12 10:41:45 +11:00
nielsandriesse
58e69aae9c Organize files 2020-11-12 08:48:41 +11:00