Commit graph

1095 commits

Author SHA1 Message Date
Ryan Zhao
b8463585fa fix UI collapse issue when keyboard showing up on small screen devices in join open group vc 2022-03-11 13:18:21 +11:00
Ryan Zhao
02c816cd52 Merge branch 'dev' into ipad-support-1 2022-03-11 10:09:21 +11:00
Ryan Zhao
a31fb7f957 Merge branch 'dev' into voice-calls-2 2022-03-11 09:35:51 +11:00
RyanZhao
99da263a50
Merge pull request #579 from mpretty-cyro/fix/message-request-crash
Fix message request bugs
2022-03-10 17:04:12 +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
ec12ca769d Merge branch 'dev' into voice-calls-2 2022-03-10 15:16:54 +11:00
Ryan Zhao
195a91ac8b fix potential crash for nested transaction 2022-03-10 15:16:40 +11:00
Ryan Zhao
f489e78deb Merge branch 'dev' into voice-calls-2 2022-03-10 15:12:42 +11:00
RyanZhao
20f99df0be
Merge pull request #577 from RyanRory/bug-fix-1-11-22
Bug fix 1.11.22
2022-03-10 14:53:06 +11:00
Morgan Pretty
3e380ede4e A couple of message request fixes
Added an error state to the OpenGroupSuggestionGrid
Fixed a bug where the settings button wouldn't appear for the sender of a message request once approved
2022-03-10 14:33:20 +11:00
Ryan Zhao
eb4c90b0d4 fix global search results cell UI for groups without member 2022-03-10 10:41:21 +11:00
Ryan Zhao
1e6c21a7ba Merge branch 'ipad-support-1' into voice-calls-2 2022-03-09 13:48:31 +11:00
Ryan Zhao
273b799d16 fix iPad multitasking issue 2022-03-09 13:48:19 +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
eae8e91735 Merge branch 'dev' into preformance-improvement 2022-03-08 14:03:55 +11:00
Ryan Zhao
d3342094a4 Merge branch 'dev' into ipad-support-1 2022-03-08 14:03:37 +11:00
Ryan Zhao
b1fb202eab mark current user as approved in message request migration 2022-03-08 13:55:34 +11:00
Ryan Zhao
9a04c7a4fe mark current user as approved on preregistering 2022-03-08 13:17:01 +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
79c1cb08b6 minor UI adjustment 2022-03-04 15:28:16 +11:00
Ryan Zhao
88876138db Merge branch 'ipad-support-1' into voice-calls-2 2022-03-04 15:27:20 +11:00
Ryan Zhao
4edb666580 UI minor adjustment to modals 2022-03-04 15:23:02 +11:00
Ryan Zhao
6a9a5b2752 fix session id label width 2022-03-03 14:31:18 +11:00
Ryan Zhao
23508fb936 fix bottom margin & copy/share button width 2022-03-03 14:12:32 +11:00
Ryan Zhao
c08b1617c2 slim the button width again 2022-03-03 13:35:27 +11:00
Ryan Zhao
e8f996306d show call permission required modal when calls are nor enabled 2022-03-03 13:25:53 +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
9b075efe0c Merge branch 'dev' into ipad-support-1 2022-03-02 11:32:45 +11:00
Ryan Zhao
1fb4952f5e Merge branch 'dev' into preformance-improvement 2022-03-02 11:31:53 +11:00
Ryan Zhao
e243fb8817 fix unread message request count issues 2022-03-02 11:31:33 +11:00
Ryan Zhao
daf0705d42 Merge branch 'dev' into preformance-improvement 2022-03-02 10:53:42 +11:00
Ryan Zhao
167d68870a show conversation settings button after approving message requests 2022-03-02 10:50:15 +11:00
Morgan Pretty
bdaae2b347 Moved the copy for the message request approval error into Localizable.strings 2022-03-02 10:06:46 +11:00
Morgan Pretty
1b3f6c0ca6 Minor tweaks to the message request banner on the HomeVC
Fixed the unread message counting for message requests
Updated the message request banner to indicate the number of message requests with an unread message
Updated the message request banner to automatically disappear if the user has no unread message requests
Renamed a variable for ReadReceipt management to make it a bit more self-documenting (it looked like it would trigger a read receipt to be sent regardless of the setting)
2022-03-01 17:25:53 +11:00
Ryan Zhao
da66b1af2c fix swiping back for approved message request conversation 2022-03-01 16:51:16 +11:00
Ryan Zhao
e014fe0367 prevent the message bubble not being wide enough to show the corner radius for very short message 2022-03-01 16:49:59 +11:00
Morgan Pretty
9251d98bde Added a loading state when approving a message request
Removed the 'presentTimer' logic from the 'ModalActivityIndicatorViewController' (the delay looked buggy, if it does have "blipping" issues then we can fix those separately)
2022-03-01 16:48:47 +11:00
Morgan Pretty
f0f4128db2 Fixed an issue where the MessageRequestResponse could fail to send but would be flagged locally as approved 2022-03-01 15:26:14 +11:00
Ryan Zhao
279892e83b fix some scrolling to bottom and button issue 2022-03-01 14:03:10 +11:00
Ryan Zhao
04d25577f4 Merge branch 'dev' into ipad-support-1 2022-03-01 13:26:41 +11:00
Ryan Zhao
821bd4cadb fix visible message bubble round corner issue 2022-03-01 11:46:29 +11:00
Ryan Zhao
02cc97a238 Change Session title in dark mode to white 2022-03-01 11:34:23 +11:00
Ryan Zhao
78e2c4f55c minor refactor in search bar & message request vc 2022-03-01 11:21:07 +11:00
Ryan Zhao
ccae9141ff rollback to fix an odd scrolling issue 2022-03-01 10:45:34 +11:00
Ryan Zhao
7e92391740 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-03-01 10:30:51 +11:00
Morgan Pretty
110c7bb01a Addressed PR comments
Moved the 'backBarButtonItem' into the BaseVC (and removed it for being duplicated in various view controllers)
Removed a redundant line of code
2022-03-01 10:25:54 +11:00
Morgan Pretty
e6b941ea8a Fixed a number of tweaks and bugs with message requests
Removed the "Back" text from the back buttons
Removed the inset on the 'Path' settings button so the text remains horizontally centered
Hid the settings button from message request threads
Fixed an issue where the back button would remain visible in a conversation when the search field was visible
Fixed an issue where the tintColor of the conversation search field didn't match the global search field
Fixed an issue where sending an attachment response to a message request wouldn't approve the message request
Updated the size and positioning of the message request 'Clear All' button to match the DM 'Next' button
Updated the message request 'Clear All' button to start visible (so it's visible during the push animation) since that's the most likely state it'll be in
Updated the 'Message Requests' cell to use the pinned background colour
Updated the fallback for contact thread names to be a middle-truncated string (4 characters either side)
2022-02-28 17:23:34 +11:00
Ryan Zhao
27e7c25197 fix scroll to bottom crash 2022-02-28 16:35:28 +11:00
Ryan Zhao
629d952944 clean 2022-02-28 16:08:36 +11:00
Ryan Zhao
885ab66550 minor improvements on scroll to bottom 2022-02-28 16:02:28 +11:00
Ryan Zhao
ec40922cb4 reduce initial loading on conversation screen 2022-02-28 15:27:00 +11:00
Ryan Zhao
2ae0ae40d4 minor improvements to reduce the database read on UI thread 2022-02-28 15:22:38 +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
Ryan Zhao
c0615fe11d Merge branch 'dev' of https://github.com/oxen-io/session-ios into ipad-support-1 2022-02-25 13:43:49 +11:00
Morgan Pretty
028ba0c77a Merge branch 'dev' into feature/message-requests
# Conflicts:
#	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
2022-02-25 12:48:38 +11:00
Ryan Zhao
66567ba9f5 clean 2022-02-25 11:50:56 +11:00
Ryan Zhao
c85e3ef86b clean up unused code 2022-02-25 10:57:02 +11:00
Morgan Pretty
819d5a39e1 Disabled the disappearing message settings for the recipient of a message request as well 2022-02-24 16:29:06 +11:00
Ryan Zhao
b32a8cbab2 fix alert vc for iPad 2022-02-24 16:02:24 +11:00
Ryan Zhao
a8c7f517eb clean 2022-02-24 15:39:07 +11:00
Ryan Zhao
24d8122d78 fix sharing UI for iPad 2022-02-24 15:35:35 +11:00
Ryan Zhao
348331d9ab fix present view controller UI issue for iPad 2022-02-24 14:03:50 +11:00
Ryan Zhao
9ff369fbd0 fix settings screen presentation on iPad 2022-02-24 13:19:16 +11:00
Ryan Zhao
efab374e7f refactor on session search bar decoration 2022-02-24 13:16:50 +11:00
Ryan Zhao
ab0714af00 fix search bar cancel button for iPad 2022-02-24 12:03:46 +11:00
Ryan Zhao
97bf861809 Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-24 09:53:31 +11:00
RyanZhao
164201de4f
Merge pull request #563 from RyanRory/fix-swiping-to-reply
Fix swiping to reply
2022-02-24 09:53:02 +11:00
Ryan Zhao
d61f36211d bump up to show 500 global search results for all cases 2022-02-24 09:43:21 +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
ryanzhao
d27faf551b reduce unnecessary database read 2022-02-23 15:49:19 +11:00
Morgan Pretty
e1cc9cde0e Added labels to the NewConversationButtonSet (part 2) 2022-02-22 16:59:33 +11:00
Morgan Pretty
30cbe77366 Added labels to the NewConversationButtonSet 2022-02-22 16:59:10 +11:00
Morgan Pretty
2d6dad67eb Added back another missing localised string 2022-02-22 16:08:07 +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
6f1a8fcdc5 Fixed a bug where the most recent message couldn't be interacted with due to message request UI changes 2022-02-22 11:42:11 +11:00
Ryan Zhao
e428333b7b minor update to reduce database read on ui thread 2022-02-21 16:58:42 +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
a86310b0f5 improve global search performance 2022-02-21 13:20:34 +11:00
Morgan Pretty
dfbee2a520 Removed the single message restriction from message requests (still text only) 2022-02-21 10:10:32 +11:00
Morgan Pretty
3639a21bc8 Fixed bugs raised by QA
Added some missing localised strings
Prevented 'Read' and 'Typing' indicators from functioning on Message Requests
Prevented link previews on the first message of a message request
Added a confirmation alert when trying to clear all message requests
Added a confirmation alert when trying to delete a message request
Added an empty state to the MessageRequestsViewController
Updated the back behaviour of the ConversationVC to behave more nicely with approving/declining message requests
Updated the OWSBlockingManager to also update the stored contacts 'isBlocked' flag to match
2022-02-17 16:29:14 +11:00
Ryan Zhao
a8fd6d9d18 fix home screen not reloading when coming into foreground 2022-02-17 15:31:27 +11:00
Ryan Zhao
cc1b1e8c51 poll for open groups in NSE 2022-02-17 14:55:32 +11:00
Morgan Pretty
999d4a1082 Merge branch 'dev' into feature/message-requests
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2022-02-17 11:52:23 +11:00
Morgan Pretty
d490cf7d19 Fixed an issue where only the first sync config message would be processed 2022-02-17 11:45:59 +11:00
Ryan Zhao
37edce9a09 remove duplicated PN register/unregister 2022-02-16 14:43:41 +11:00
Ryan Zhao
3c9cfa9d2e Merge branch 'dev' of https://github.com/oxen-io/session-ios into preformance-improvement 2022-02-16 13:20:00 +11:00
Ryan Zhao
529bc58d05 fix swiping to reply for very short messages 2022-02-16 13:17:56 +11:00
RyanZhao
d221a5bef9
Merge pull request #558 from mpretty-cyro/feature/pdf-preview
Added code to allow previewing PDF attachments within the app
2022-02-16 11:20:33 +11:00
Ryan Zhao
27a4f20395 fix function name conflicts 2022-02-16 10:22:50 +11:00
Ryan Zhao
c32cc4d649 Merge branch 'feature/pdf-preview' of https://github.com/mpretty-cyro/session-ios into voice-calls-2 2022-02-16 09:38:52 +11:00
Ryan Zhao
52886f2e16 Merge branch 'dev' of https://github.com/oxen-io/session-ios into voice-calls-2 2022-02-16 09:37:58 +11:00
Ryan Zhao
3fb7babecb clean 2022-02-15 13:59:01 +11:00
Ryan Zhao
7333d50825 rotate button if needed 2022-02-15 10:12:12 +11:00
Morgan Pretty
051f03f4b4 PR comments and a few missed use cases
Disabled the attachments and voice message buttons for the first message
Disabled the Disappearing Messages flag for the until the conversation is approved
Fixed a bug where the recipient of a message request could incorrectly get the 'pending approval' state
Refactored some standard auto layout code to use the custom extension code
2022-02-14 17:49:08 +11:00
Ryan Zhao
132254ee97 message bubble corner fix for link preview & open group invitation 2022-02-14 16:50:58 +11:00
Ryan Zhao
63e0a5285c minor refactor to prevent dead lock 2022-02-14 16:34:22 +11:00
Ryan Zhao
7d00897907 minor clean up 2022-02-14 11:21:32 +11:00
Morgan Pretty
1b820c48c6 Added support for Microsoft Word, Excel & Powerpoint previews 2022-02-14 10:02:33 +11:00
Morgan Pretty
161a90ad28 Updated the code to show the document interaction controller for text files as well 2022-02-14 09:54:17 +11:00
Morgan Pretty
6009c30805 Removed a resolved todo and fixed some variable naming 2022-02-11 17:17:09 +11:00
Morgan Pretty
140cc97829 Fixed a couple of bugs with the share extension
Fixed a bug where sharing a text file was resulting in the entire contents being put into the message input field
Fixed a bug where sharing from within the app where the app was in dark mode but the device was in light mode would result in buggy UI
2022-02-11 13:05:10 +11:00
Morgan Pretty
bdf2b825ad Updated the code to disable input for unapproved conversations after sending the first message 2022-02-11 11:26:04 +11:00
Ryan Zhao
f7af8141c0 fix CallKit failed to report new incoming calls in focus mode 2022-02-11 10:59:23 +11:00
Morgan Pretty
ad9282a7b9 Removed 'publicKey' from the MessageRequestResponse and updated logic to use 'message.sender' isntead 2022-02-11 10:47:27 +11:00
Ryan Zhao
54493e56ef minor fix on top & bottom margin 2022-02-09 15:42:36 +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
Ryan Zhao
65d78533c9 add comments 2022-02-08 13:43:53 +11:00
Ryan Zhao
80b18f0715 fix local video view weird rotation behaviour 2022-02-08 13:35:17 +11:00
Ryan Zhao
e563353842 improve video scale 2022-02-08 12:08:01 +11:00
Ryan Zhao
782dd20ddd implement screen rotation for video calls 2022-02-08 11:04:18 +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
185b2d2a97 Merge branch 'dev' into feature/pdf-preview
# Conflicts:
#	Session/Conversations/ConversationVC+Interaction.swift
2022-02-04 11:51:51 +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
Ryan Zhao
e543f86c8b Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-03 11:02:19 +11:00
Morgan Pretty
16ab4be537 Merge branch 'dev' into feature/pdf-preview 2022-02-03 08:33:58 +11:00
Morgan Pretty
4d62ddbd77 Merge branch 'dev' into fix/safari-sharing
# Conflicts:
#	Podfile.lock
2022-02-03 08:32:17 +11:00
Morgan Pretty
7f479bbca4 Merge branch 'dev' into feature/message-requests 2022-02-02 17:00:40 +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
ebb7507728 Merge branch 'dev' of https://github.com/oxen-io/session-ios into 1.11.21 2022-02-02 13:33:25 +11:00
Ryan Zhao
166fbff26c improve selected message animation for global search 2022-02-02 11:32:37 +11:00
Morgan Pretty
bee36423da Fixed a couple of issue with sharing large attachments
Added back localized attachment error messages
Fixed an issue where sending an attachment could fail and the screen would be dismissed before the user had a chance to read the error
2022-02-01 14:55:03 +11:00
Morgan Pretty
b85c113da6 Added code to preview PDF attachments 2022-01-28 16:24:18 +11:00
Ryan Zhao
c81e0e517d fix ui issue after making unread message count 4 digits 2022-01-28 15:03:19 +11:00
Ryan Zhao
99022006da Make the unread message count 4 digits instead of 2 2022-01-28 14:21:54 +11:00
Ryan Zhao
2c7dfe6a37 fix conversation screen scrolling to bottom issue 2022-01-28 14:10:35 +11:00
Ryan Zhao
70a562344c minor issue fix 2022-01-28 14:09:57 +11:00
Ryan Zhao
8ed77435d8 update translation 2022-01-28 14:08:43 +11:00
Ryan Zhao
d96d7468a4 fix read more button colour 2022-01-28 14:04:41 +11:00
Ryan Zhao
6ae84d3e37 update outgoing message text colour in light mode 2022-01-28 13:45:27 +11:00
Ryan Zhao
d642d8a4ed improve image message ratio 2022-01-28 13:14:57 +11:00
Ryan Zhao
bcc5da75b6 minor fix on debug mode to prevent crashing 2022-01-28 13:14:02 +11:00
Ryan Zhao
16f6d49cec add note to self to the default global search screen with empty search text 2022-01-28 09:59:05 +11:00
Ryan Zhao
124d908686 add author for group messages 2022-01-27 16:39:22 +11:00
Ryan Zhao
be1fb789e8 hide recent search results behind the flag 2022-01-27 15:32:19 +11:00
Ryan Zhao
e4b0ca9ebc fix not to self 2022-01-27 15:29:10 +11:00
Ryan Zhao
d329740bd4 add clear for recent search results 2022-01-27 14:56:59 +11:00
Ryan Zhao
85c4b3d745 show recent search result as default for global search screen 2022-01-27 14:19:07 +11:00
Ryan Zhao
a2db4a8330 add comments 2022-01-25 16:55:48 +11:00
Ryan Zhao
79fc9459a4 clean 2022-01-25 16:54:21 +11:00
Ryan Zhao
837b2ac157 fix a typo 2022-01-25 16:47:50 +11:00
Ryan Zhao
78af18413f show at most 500 search results 2022-01-25 16:43:03 +11:00
Ryan Zhao
d583422c73 add some comments 2022-01-25 16:31:30 +11:00
Ryan Zhao
20a3b6ee26 move path button into setttings 2022-01-25 15:56:23 +11:00
Ryan Zhao
2a229bd663 minor fix 2022-01-25 15:25:48 +11:00
Ryan Zhao
68ec1654e8 rebuild global search UI 2022-01-25 15:04:11 +11:00
Ryan Zhao
e718cee611 WIP: rebuild global search UI 2022-01-25 09:46:22 +11:00
Ryan Zhao
3cc6a6b7c4 add comments 2022-01-24 11:55:37 +11:00
Ryan Zhao
0ddb4f355a minor improvements on dismissing the keyboard 2022-01-24 11:43:32 +11:00
Ryan Zhao
42903d835d search for name and nickname 2022-01-20 16:21:32 +11:00
Ryan Zhao
8be5768ad2 snippet for group members 2022-01-20 15:33:31 +11:00
Ryan Zhao
037d70b185 handle seed view reminder and search bar 2022-01-20 12:13:25 +11:00
Ryan Zhao
715c9eff98 clean 2022-01-20 10:58:43 +11:00
Ryan Zhao
c1c5678056 implement animation for selected search result message flickering 2022-01-20 10:48:01 +11:00
Ryan Zhao
675dde9b1e improve unhighlighted text colour and contrast 2022-01-19 11:25:20 +11:00
Ryan Zhao
af7dd3e82f highlight Note to Self 2022-01-19 10:59:49 +11:00
Ryan Zhao
5c112064da UI improvements on contact search results 2022-01-19 10:54:00 +11:00
Ryan Zhao
994a2e9c89 hide cancel button when the keyboard is hidden 2022-01-18 15:28:54 +11:00
Ryan Zhao
aeabaea0ca fix no search results shown accidentally 2022-01-18 15:11:39 +11:00
Ryan Zhao
9d9a3f92cb minor UI fix 2022-01-18 14:04:10 +11:00
Ryan Zhao
3a626ed80a fix a deadlock issue 2022-01-18 13:35:53 +11:00
ryanzhao
10abbb0552 search result view UI 2022-01-17 16:56:51 +11:00
ryanzhao
fed1218538 WIP: global search UI 2022-01-14 16:41:36 +11:00
Morgan Pretty
3b07be4eed Fixed a couple of crashes
Fixed an issue where sharing form Safari without adding comments would result in an invalid message getting sent.
Fixed a crash when sharing plain text from safari.
Fixed a crash when localising 'OK' (key and value can't be the same when using the new extension).
2022-01-13 16:37:23 +11:00
Morgan Pretty
f02f53fc49 Added code to show a HTTP LinkPreview error
Added code to indicate the app won't load LinkPreviews for HTTP urls.
Updated the title & subtitle layout to better handle LinkPreview errors.
Missed an Objective C change in the last commit.
2022-01-13 16:08:23 +11:00
ryanzhao
9ec749285f minor clean 2022-01-13 11:45:05 +11:00
ryanzhao
75fe1e2b00 minor improvements 2022-01-13 11:44:37 +11:00
ryanzhao
0a23065fb1 change home screen title to SESSION 2022-01-13 11:41:21 +11:00
Morgan Pretty
67ad965859 Link Preview error state and UI standardisation
Added a couple of error states for Link Preview loading.
Standardised the UI creation code style.
Removed some debug and redundant code.
2022-01-13 10:05:42 +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
7ee76bf9ca minor fix on debug mode to prevent crashing 2022-01-06 11:09:08 +11:00
Ryan Zhao
b4b6b24530 update translation 2022-01-06 10:12:54 +11:00
Ryan Zhao
29cd6fb312 fix minor issues 2022-01-06 10:08:59 +11:00
Ryan Zhao
fb99bc6abd minor refactor on the local video view to make it draggable 2021-12-21 14:36:50 +11:00
Ryan Zhao
2ee4b0119d improve image message ratio 2021-12-20 15:23:31 +11:00
Ryan Zhao
67fdea13bd fix conversation screen scrolling to bottom issue 2021-12-20 12:24:42 +11:00
Ryan Zhao
aea90988c5 Merge branch 'dev' into preformance-improvement 2021-12-17 10:34:46 +11:00
Ryan Zhao
53f75ff69b Merge branch 'dev' into voice-calls-2 2021-12-17 10:34:27 +11:00
Ryan Zhao
5e9695d234 disable typing indicators and read receipts by default 2021-12-16 16:22:44 +11:00
Ryan Zhao
e62877baca Merge branch 'dev' into voice-calls-2 2021-12-16 14:46:38 +11:00
RyanZhao
9521098afa
Merge pull request #537 from RyanRory/open-group-spam-prevention
Do not show user details to prevent spam
2021-12-16 13:17:12 +11:00
Ryan Zhao
ec9adfee7f remove populate cache on loading home page 2021-12-15 16:35:47 +11:00
Ryan Zhao
9e373dc3d1 do not show copy session id option when long press messages in open groups 2021-12-15 16:32:45 +11:00
Ryan Zhao
0dcb8f81ca Merge branch 'dev' into voice-calls-2 2021-12-15 10:33:46 +11:00
RyanZhao
69352efa32
Merge pull request #539 from RyanRory/nickname-for-anonymous
Set nickname to a person that never talked to
2021-12-14 16:14:36 +11:00
RyanZhao
3a4e9b9e24
Merge pull request #538 from RyanRory/video-progress-bar
Fix on video progress bar UI
2021-12-14 16:14:20 +11:00
RyanZhao
1558309805
Merge pull request #536 from RyanRory/copy-paste-image
Copy / paste images directly
2021-12-14 16:14:09 +11:00
RyanZhao
523f18ec87
Merge pull request #534 from RyanRory/hd-avatar
HD Profile Picture
2021-12-14 16:13:42 +11:00
Ryan Zhao
c5635a39dd set nickname to a person that never talked to 2021-12-14 15:51:17 +11:00
Ryan Zhao
5803eae134 clean 2021-12-14 15:12:48 +11:00
Ryan Zhao
36985f6fa7 operation panel UI fix 2021-12-14 14:34:59 +11:00