Commit graph

16539 commits

Author SHA1 Message Date
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
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
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
Morgan Pretty 7f5b7ef703 Updated the conversation creation screens 2022-08-26 16:23:39 +10:00
Morgan Pretty c82ee0c44b Finished off the updated settings sections and fixed a couple of bugs
Added the Blocked contacts screen
Added a setting to control whether concurrent audio messages should auto-play
Finished updating the settings screens
Fixed an issue where items that should be removed from the PagedDatabaseObserver due to filter logic weren't getting removed in some cases
2022-08-26 14:09:41 +10:00
Morgan Pretty a1e88329db Merge branch 'dev' into feature/theming
# Conflicts:
#	Podfile.lock
#	Session.xcodeproj/project.pbxproj
#	Session/Conversations/Message Cells/VisibleMessageCell.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/Notifications/AppNotifications.swift
#	SessionMessagingKit/Shared Models/MessageViewModel.swift
#	SessionMessagingKit/Shared Models/SessionThreadViewModel.swift
#	SignalUtilitiesKit/Profile Pictures/ProfilePictureView.swift
2022-08-26 13:24:42 +10:00
Morgan Pretty a0e43875e7
Merge pull request #674 from mpretty-cyro/fix/data-extraction-timestamp
Fixed a bug where the "DataExtractionNotification" messages weren't correctly setting their tmestamps
2022-08-25 15:03:05 +10:00
Morgan Pretty 64189b0bf0
Merge pull request #673 from mpretty-cyro/fix/various-bugs
Fixed a few bugs
2022-08-25 15:02:50 +10:00
Morgan Pretty 39bd03e6fa
Merge pull request #670 from mpretty-cyro/fix/use-default-notification-audio
Fixed a bug where the "default" notification sound wouldn't be used in the foreground
2022-08-25 15:02:36 +10:00
Morgan Pretty 84ccb63b35 Fixed a bug where the "DataExtractionNotification" messages weren't correctly setting their tmestamps 2022-08-25 14:16:59 +10:00
Morgan Pretty f0c27db52f Merge branch 'dev' into fix/use-default-notification-audio 2022-08-25 12:57:54 +10:00
Morgan Pretty c73bb43c56 Fixed a few bugs
Fixed a bug where open group message deletion wasn't thread-specific
Fixed a bug where the user couldn't delete pending/failed messages being sent to an open group
Fixed a bug where deleting content from "related" tables wouldn't correctly trigger an update within the PagedDatabaseObserver
Fixed a bug where a user that was an admin/mod of one open group would incorrectly appear to be an admin/mod of all open groups
2022-08-25 12:55:41 +10:00
Morgan Pretty 823006a892 Updated the colours to source from direct theme values (instead of individual)
Removed an unused notification
Refactored the PrivacySettingsViewController
Refactored the ScreenLock code to Swift
Fixed an issue where the match dark/light setting wasn't getting applied on launch
Update the modal styling for the various settings modals
2022-08-24 17:33:10 +10:00
RyanZhao 6d94866110
Merge pull request #638 from RyanRory/emoji-reacts
Emoji reacts
2022-08-23 12:25:43 +10:00
ryanzhao 851ad6c4c9 minor refactor 2022-08-23 12:25:23 +10:00
ryanzhao 014e8620c4 bump up version & build number 2022-08-23 12:17:23 +10:00
ryanzhao af7d58b90e Merge branch 'dev' into emoji-reacts 2022-08-23 11:58:45 +10:00
RyanZhao f11375952a
Merge pull request #669 from mpretty-cyro/fix/various-bugs-and-optimisations
A few bugs fixes and some optimisations
2022-08-23 11:57:57 +10:00
Morgan Pretty 6a32fbaf83 Fixed a bug where the "default" notification sound wouldn't be used in the foreground 2022-08-23 09:02:56 +10:00
Ryan Zhao 838623171d tweak: always left align emoji reacts 2022-08-22 16:33:25 +10:00
Ryan Zhao c7c92f747c Merge branch 'various-bugs-and-optimisations' into emoji-reacts 2022-08-22 11:30:06 +10:00
Morgan Pretty 7097853d58 A few bugs fixes and some optimisations
Fixed a bug where notifications could incorrectly appear for messages in the current thread
Fixed a bug where swiping left/right on images in the MediaDetailViewController could load images from other threads
Fixed a bug where the unread count wouldn't appear correctly when opening a conversation
Fixed a bug where the unread count on the conversation cell could get truncated
Fixed a bug where notifications weren't working correctly when the app is in the foreground
Fixed a bug where we weren't clearing the 'received X new messages' count when in the foreground
Fixed a bug where outgoing messages could get marked as read in a very specific case
Updated the "group notification" logic to only apply to Open Groups (and always doing it rather than just in the background)
Added a placeholder person icon when you have a closed group with a single member
Added a couple of indexes to improve the HomeVC database query performance (reduce launch time by ~15% in some cases)
Added a background task to give message sending the chance to complete when sending the app to the background
Removed an unneeded query from the HomeViewModel init (reduce launch time by ~10% in some cases)
Optimised one of the queries used to load the data needed for the conversation screen
2022-08-19 16:58:47 +10:00
ryanzhao 3944fe52c1 feat: show unsupported emoji 2022-08-19 10:10:07 +10:00
Ryan Zhao 43b6f0b649 WIP: unsupported emojis 2022-08-18 17:11:08 +10:00
Ryan Zhao 651373234a feat: add capability check for open group emoji reacts 2022-08-18 16:13:20 +10:00
Ryan Zhao f7a4c92d38 Merge branch 'dev' into emoji-reacts 2022-08-18 14:38:01 +10:00
Ryan Zhao 7ca48e9c7b tweak: fix clear all action for open group moderators 2022-08-18 14:37:33 +10:00
Morgan Pretty fc949a9882
Merge pull request #667 from mpretty-cyro/fix/migration-error
Fixed an issue where the 2.0.2 migration broke the original DB migration
2022-08-18 14:21:01 +10:00
Morgan Pretty f2f2083d92 Version number increases 2022-08-18 14:20:44 +10:00
Morgan Pretty d116ac0ebe Fixed an issue where the 2.0.2 migration broke the original _003_ migration 2022-08-18 13:38:02 +10:00
Ryan Zhao 36801e4876 feat: disable emoji reacts for message requests 2022-08-18 11:16:01 +10:00
Ryan Zhao 094c64bb6a tweak: fix context menu screen layout 2022-08-18 10:44:07 +10:00
ryanzhao 95cd516bce tweak: if current user reacts then their username should appear as ‘You’ 2022-08-17 17:01:57 +10:00
ryanzhao 0a9856d49a tweak: fix reaction notifications 2022-08-17 16:41:01 +10:00
ryanzhao 78d8e939f1 tweak: fix search emoji 2022-08-17 15:08:49 +10:00
ryanzhao c26e6f7e9e Merge branch 'dev' into emoji-reacts 2022-08-17 11:00:06 +10:00
Morgan Pretty c8bcd8fb33
Merge pull request #664 from mpretty-cyro/fix/notification-sounds-not-working
Fixed a bug where the notification sound "preview" playing wasn't working
2022-08-17 10:57:09 +10:00
Morgan Pretty 20d63d106c Updated the app settings screens
Updated the MessageRequestViewModel to have the same page size as the HomeViewModel
Fixed a couple minor UI discrepancies
Refactored the old app settings child screens to be configuration based and all in Swift
2022-08-17 10:51:14 +10:00
ryanzhao 93e2e295bc tweak: update default emojis 2022-08-17 10:15:24 +10:00
ryanzhao 131cb9170b Merge branch 'dev' into emoji-reacts 2022-08-17 10:10:27 +10:00
Morgan Pretty 362986e73a Fixed a bug where the notification sound "preview" playing wasn't working 2022-08-17 10:02:23 +10:00
Morgan Pretty b53ad0c5ed
Merge pull request #657 from mpretty-cyro/fix/use-yyimageview-only-when-needed
Only use YYImage for Gif/WebP images
2022-08-16 14:01:07 +10:00
Morgan Pretty d0177c3cee
Merge pull request #662 from mpretty-cyro/fix/hidden-mods-admins-not-recognised
Fixed an issue where hidden mods/admins wouldn't be properly recognised
2022-08-16 14:00:53 +10:00
Morgan Pretty 3ab8bdec77 Fixed an issue where hidden mods/admins wouldn't be properly recognised
Added an isHidden flag to the GroupMember
Reset the OpenGroup 'infoUpdates' value to force a re-fetch of the data and fix users affected by this bug
Fixed the broken unit tests
2022-08-16 13:56:40 +10:00
Morgan Pretty 6c5d138bd6
Merge pull request #661 from mpretty-cyro/fix/deleted-messages-read-state
Fixed a bug where deleted incoming messages could incorrectly be counted as unread
2022-08-16 12:39:11 +10:00
Morgan Pretty 9f4d1a678a Fixed a bug where deleted incoming messages could incorrectly be counted as unread 2022-08-16 11:44:11 +10:00
Morgan Pretty 06dce5708d
Merge pull request #658 from mpretty-cyro/fix/open-group-polling-deletions
Fixed an issue where the open group seqNo wasn't updated for deletions
2022-08-15 16:11:38 +10:00
Morgan Pretty 0ce96976bf Fixed an issue where the open group seqNo wasn't updated for deletions 2022-08-15 16:04:07 +10:00
Morgan Pretty 6d6d45b283 Updated the ProfilePictureView to only use YYImage for Gif and WebP images
Added support for animated OpenGroup images
2022-08-15 10:35:52 +10:00
Morgan Pretty eca075f717
Merge pull request #653 from mpretty-cyro/version-increase
Increased the version and build numbers
2022-08-13 10:31:11 +10:00