Commit Graph

16695 Commits

Author SHA1 Message Date
Morgan Pretty f7fd15dae0 Finished removing usages to non-theme colour variables
Updated theming throughout
Fixed a couple of bugs with the media gallery
2022-09-20 16:06:01 +10:00
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
2022-09-15 14:22:11 +10:00
Morgan Pretty 851cc56c65 Fixed a couple of bugs with the emoji picker and context menu
Cleaned up the context menu appearance and the message timestamp appearing off screen issue
Fixed an issue with keyboard avoidance on the emoji picker
2022-09-15 13:56:32 +10:00
RyanZhao 570883e28a
Merge pull request #687 from RyanRory/badcall-fix
Voice & video call fix
2022-09-15 13:26:15 +10:00
RyanZhao 31b62e28a7
Merge pull request #685 from RyanRory/emoji-react-tweak-2
Emoji reacts tweaks
2022-09-15 13:25:54 +10:00
RyanZhao cfecc71163
Merge pull request #665 from RyanRory/add-silence-audio
Fix notification sound None not working
2022-09-15 13:25:44 +10:00
Morgan Pretty 7715c5ea09 Did some more styling and fixed a few UI bugs
Fixed a bug where the time label would no longer appear in the context menu
Fixed a bug where the tile label in the context menu could be clipped
Tweaked the context menu appearance animation to look less jumpy when at the edges of the screen
2022-09-14 18:32:23 +10:00
Morgan Pretty ab95841f6c
Merge pull request #690 from mpretty-cyro/fix/filter-unblinded-mentions
Updated open groups to filter the mentions list based on blinding
2022-09-14 16:14:05 +10:00
Morgan Pretty 88ad6483c1 Updated open groups to filter the mentions list based on blinding 2022-09-14 12:34:08 +10:00
RyanZhao 70e326f819
Merge pull request #656 from RyanRory/message-request-tweak
Message request Block & Decline behaviour changes
2022-09-14 12:25:28 +10:00
RyanZhao b0eaeedc7d
Merge pull request #647 from RyanRory/ui-media-message
Media message UI redesign
2022-09-14 12:21:46 +10:00
RyanZhao d0e32a8272
Merge pull request #646 from RyanRory/add-documents-section
Add documents section for all media page
2022-09-14 12:20:53 +10:00
Morgan Pretty fe14bb1b31 Fixed a couple of bugs and did some more theming
Started trying to add the unit tests that were in the settings refactor branch (need to be refactored due to the implementation changes)
Fixed a bug where the typing indicators wouldn't get cleaned up in some cases
2022-09-13 17:57:13 +10:00
ryanzhao c121f99b22 Merge branch 'dev' into add-silence-audio 2022-09-13 15:54:36 +10:00
ryanzhao d939f95b4f Merge branch 'dev' into message-request-tweak 2022-09-13 15:51:45 +10:00
ryanzhao e2e77f3e50 Merge branch 'dev' into ui-media-message 2022-09-13 15:32:37 +10:00
ryanzhao d840204bc2 Merge branch 'dev' into add-documents-section 2022-09-13 11:59:25 +10:00
Morgan Pretty 93c2f0f503 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)
2022-09-13 10:51:26 +10:00
Morgan Pretty c707a2f80c Started refactoring the conversation image picker screens
Fixed a bug where returning from the background on the conversation screen would result in the input view being hidden
Refactored the PhotoCollectionPickerViewController to use the SettingsTableViewController convention
Updated the SettingsTableViewModel to worked based on Combine instead of the DatabaseObservable so it's more reusable for non-db cases
2022-09-08 11:22:36 +10:00
Morgan Pretty face9da02b Fixed search performance, started styling in-conversaiton settings
Fixed a bug where the scroll to bottom button wasn't working
Fixed an issue where searching was running on the main thread (which could cause UI issues)
Updated the searching to interrupt the previous query when the search term changes
Updated the in-conversation settings to be use the new config-based approach (deleted the OWSConversationSettingsViewController)
2022-09-07 17:37:01 +10:00
ryanzhao 87c2bc3700 tweaks on the logic to suspend database when call is ended in background 2022-09-07 10:46:39 +10:00
ryanzhao 7c1d332763 move database suspending logic when handling calls in background after writeAsync 2022-09-06 12:16:58 +10:00
ryanzhao 9419f83f43 put back accidentally removed code 2022-09-06 12:09:21 +10:00
Ryan Zhao ccbf4e0945 clean 2022-09-05 17:14:56 +10:00
Ryan Zhao ae7895c18e fix a issue where the call info message won't be updated 2022-09-05 17:14:29 +10:00
Ryan Zhao d42088e37c fix an edge case where the isCallOngoing will always be true 2022-09-05 15:45:30 +10:00
Ryan Zhao 62d730ea30 fix call notification title and content 2022-09-05 15:44:42 +10:00
Ryan Zhao e3479107f3 feat: give more time for calls to connect 2022-09-05 13:31:25 +10:00
Ryan Zhao 31605672e2 fix call threading issues 2022-09-05 11:27:25 +10:00
Morgan Pretty b029728b6c Did some more theming, removed some files and fixed a couple of minor call issues
Applied theming logic to the ConversationTitleView, blocked banner
Removed a few redundant modals (replaced them with the "Confirmation Modal")
Removed some duplicate code
Fixed an issue where a synchronous start/stop behaviour was running on the main thread causing some UI blocking
Fixed an issue where the minimised call view could be covered by presenting view controllers
2022-09-02 17:32:13 +10:00
ryanzhao 80894bc198 suspend database when call is ended in background 2022-09-02 17:04:15 +10:00
ryanzhao a5ede8c6a2 fix a case when the app goes into background with an ongoing call 2022-09-02 16:59:50 +10:00
ryanzhao 3eb7a5c5d9 fix self-send reaction notification 2022-09-02 16:41:09 +10:00
ryanzhao 87577e9d4b resume database when there is a VoIP call notifcation 2022-09-02 16:37:48 +10:00
ryanzhao 3d0239d31b fix missed call notification content 2022-09-02 14:31:57 +10:00
ryanzhao afc862d1c1 resume ans suspend database properly in extensions 2022-09-02 13:43:16 +10:00
RyanZhao 57eccd1e80
Merge pull request #680 from RyanRory/emoji-react-tweak-1
Emoji react tweaks
2022-09-01 17:05:11 +10:00
Ryan Zhao 3cfee13768 minor refactor to prevent fake calls 2022-09-01 16:27:21 +10:00
Ryan Zhao 85fc22110f fix selected emoji not shown in the popup list 2022-09-01 15:09:02 +10:00
Ryan Zhao bd0614532e feat: add cancel button for emoji search bar 2022-09-01 11:40:34 +10:00
Ryan Zhao e5a46a993d update emoji names for searching 2022-09-01 11:23:50 +10:00
Ryan Zhao ed3dcf7634 add comments and minor refactor back to previous logic 2022-09-01 10:51:40 +10:00
ryanzhao e6e97684b4 fix 6 reactors case in user list 2022-08-31 17:50:16 +10:00
Morgan Pretty b47e5accd6 Updated some more message types and modals
Added a disabled state to the OutlineButton
Finished of the last bits for the BlockedContacts screen
Applied theming to the LinkPreview
Applied theming to the Call info message (and it's prompt)
Fixed a minor issue where showing the ContextMenu (via long press) could look odd due to the input field being dismissed
Swapped the LinkPreviewModal to use the standard ConfirmationModal
Removed a redundant closure from the ConfirmationModal
2022-08-31 17:44:44 +10:00
ryanzhao d5948c0142 fix a crash when remove reaction and there are exactly 6 reactors 2022-08-31 17:42:37 +10:00
ryanzhao 98cf10cfea fix crash on clicking on more reactors cell 2022-08-31 16:57:38 +10:00
ryanzhao 3e8abd1952 tweak: make seqNo optional 2022-08-31 16:38:25 +10:00
ryanzhao c2ffdc091c Merge branch 'dev' into emoji-react-tweak-1 2022-08-31 16:33:54 +10:00
Morgan Pretty aa9019e0b3
Merge pull request #684 from mpretty-cyro/fix/home-typing-indicator
Fixed a bug where the typing indicator wasn't working on the home screen
2022-08-31 14:52:00 +10:00
Morgan Pretty 1afdfa8bcb Fixed a bug where the typing indicator wasn't working on the home screen 2022-08-31 12:01:21 +10:00