Morgan Pretty
00f246a21e
Added group message requests, admin message deletion, fixed a few bugs
...
Added logic for Group Message Requests
Added a 'ManualResultJob' which allows for a way to add a dependency to a job which can be resolved separately from the job system (it's not persistent though)
Added the ability for admins to delete select messages from updated groups
Swapped 'save'/'saved' calls to be 'upsert'/'upserted' as that's the actual behaviour we expect (unique key based rather than primary key based)
Fixed a bug where the 'limitedReuse' 'drainBehaviour' could get stuck in an invalid state
Fixed a bug where job dependencies could swap queues which could theoretically result in deadlocks in some cases
2 years ago
Morgan Pretty
417060a676
Added functionality for a bunch of GroupUpdate messages
...
Added logic to trigger and handle destroyed groups
Added logic to trigger and handle handle supplementary key rotations (libSession implementation is WIP)
Added logic for 'remove user and their content'
Added the ability to associate a callback to any arbitrary job
Added data support for the group description value
Added logic to handle being kicked from a group
Added logs for failed GROUP_KEYS merges (already have for other config types)
Fixed an issue where the initial key generation didn't include the initial members
Fixed a crash which could occur when creating a conversation via handling a USER_GROUPS config
Fixed an issue where manually triggering the ConfigurationSyncJob might not ever get a callback
Updated to have the latest Protobuf tweaks
Removed recognition of the LegacyConfigurationMessage
2 years ago
Morgan Pretty
0df6501265
Pushing up my WIP changes from the last few days
...
Got a number of the GroupUpdate messages working properly
Updated the DisplayPictureDownloadJob to support OpenGroup room images
Updated the Poller to process messages by namespace (sorted) and added support for synchronous handling of messages
Reworked the ProfileManager to be a more reusable DisplayPictureManager
Cleaned up the conversion from milliseconds to TimeInterval (which is documented as seconds) for clarity
Fixed a read/write crash due to the SnodeAPI cache setup
Fixed an issue where dependencies could incorrectly overwrite each other when based on protocols
2 years ago
Morgan Pretty
a3ef1c92d3
Started adding logic for the GroupUpdate messages
2 years ago
Morgan Pretty
81d0072a43
Including the change to create an updated group instead of a legacy one
2 years ago
Morgan Pretty
4127d45122
Added more unit tests
...
Added the SnodeAPICache and a mock for it
Moved the current user poller into Dependencies
2 years ago
Morgan Pretty
67713ca498
Fixed a few bugs and resolved some TODOs
...
Added additional properties to the Group to simplify the code
Added the roleStatus to the GroupMember for future functionality
Fixed a bug where the input field might not appear if a group becomes valid while it's open
Fixed a bug where updated groups might not get their states loaded into memory under certain conditions
Removed some duplicate code
2 years ago
Morgan Pretty
8e04944af0
Fixes from cross-platform testing and general code changes
...
Fixed the incorrect Group Namespaces
Fixed an incorrect identity generation which could create invalid accounts
Fixed an issue where adding group members would remove admins incorrectly
Finished updating the SnodeAPI to use prepared requests
2 years ago
Morgan Pretty
5ac05a41ec
Merge remote-tracking branch 'RyanFork/disappearing-message-redesign' into feature/groups-rebuild
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/ConversationViewModel.swift
# Session/Conversations/Settings/ThreadDisappearingMessagesSettingsViewModel.swift
# Session/Conversations/Settings/ThreadSettingsViewModel.swift
# Session/Home/Message Requests/MessageRequestsViewController.swift
# Session/Home/Message Requests/MessageRequestsViewModel.swift
# Session/Meta/Translations/fil.lproj/Localizable.strings
# Session/Meta/Translations/hi.lproj/Localizable.strings
# Session/Meta/Translations/hr.lproj/Localizable.strings
# Session/Meta/Translations/nl.lproj/Localizable.strings
# Session/Meta/Translations/sl.lproj/Localizable.strings
# Session/Meta/Translations/sv-SE.lproj/Localizable.strings
# Session/Meta/Translations/th.lproj/Localizable.strings
# Session/Meta/Translations/vi.lproj/Localizable.strings
# Session/Meta/Translations/zh-TW.lproj/Localizable.strings
# Session/Settings/ConversationSettingsViewModel.swift
# Session/Settings/HelpViewModel.swift
# Session/Settings/NotificationContentViewModel.swift
# Session/Settings/NotificationSettingsViewModel.swift
# Session/Settings/NotificationSoundViewModel.swift
# Session/Settings/PrivacySettingsViewModel.swift
# Session/Settings/SettingsViewModel.swift
# Session/Shared/SessionTableViewController.swift
# SessionSnodeKit/Database/Models/SnodeReceivedMessageInfo.swift
# SessionTests/Settings/NotificationContentViewModelSpec.swift
# SessionUIKit/Components/TopBannerController.swift
# SessionUtilitiesKit/Configuration.swift
2 years ago
Morgan Pretty
a6931bb922
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Conversations/Settings/ThreadDisappearingMessagesSettingsViewModel.swift
# Session/Conversations/Settings/ThreadSettingsViewModel.swift
# Session/Shared/SessionTableViewController.swift
# Session/Shared/SessionTableViewModel.swift
# Session/Shared/Types/SessionTableSection.swift
# SessionTests/Conversations/Settings/ThreadDisappearingMessagesViewModelSpec.swift
# SessionUIKit/Components/SessionButton.swift
2 years ago
Morgan Pretty
89b38dc2f5
Merge pull request #928 from mpretty-cyro/fix/blocked-contacts-crash
...
Fixed a crash on the blocked contacts screen and refactoring
2 years ago
Morgan Pretty
638685a8cc
Merge pull request #925 from mpretty-cyro/fix/blank-display-name-handling
...
Fixed a bug where profiles with blank name values wouldn't fallback correctly
2 years ago
Morgan Pretty
e427e59544
Merge pull request #926 from mpretty-cyro/fix/rare-multi-threading-crash
...
Fixed a crash which could occur when scrolling conversation messages
2 years ago
Morgan Pretty
aec2aed81f
Merge pull request #927 from mpretty-cyro/fix/snode-info-deduping
...
Fixed an issue where the messages might not get reprocessed when they should
2 years ago
Morgan Pretty
4b9e15e5c1
Merge pull request #924 from mpretty-cyro/fix/theme-nav-issue
...
Fixed an issue where theme changes stopped updating nav styling
2 years ago
Morgan Pretty
b3eb78aaee
Fixed the broken tests
2 years ago
Morgan Pretty
b97c0955be
Copy tweak to better support localization
2 years ago
Morgan Pretty
f97170fdcd
Fixed a crash on the blocked contacts screen and refactoring
...
Refactored the SessionThreadViewModel to reduce boilerplate and clean up the interface a little
Refactored the MessageRequestsViewController to use the SessionTableViewController
Fixed a crash when returning from the background on the BlockedContactsViewModel
Fixed some minor lag on the NotificationSoundViewModel
Added an optional initial loading message to the SessionTableViewController
2 years ago
Morgan Pretty
02a98762b7
Merge remote-tracking branch 'origin/feature/drop-yap-database-support' into feature/groups-rebuild
...
# Conflicts:
# Session/Meta/Translations/es-ES.lproj/Localizable.strings
2 years ago
Morgan Pretty
56a282846d
Updated to the latest libSession
2 years ago
Morgan Pretty
75ba1edf73
Merge branch 'disappearing-message-redesign' into feature/drop-yap-database-support
2 years ago
Morgan Pretty
d1d2531ced
Fixed a minor layout issue and string linter tweaks
2 years ago
Morgan Pretty
085a1a59aa
Fixed an issue where the messages might not get reprocessed when they should
...
Dropped the auto-incrementing id from the SnodeReceivedMessageInfo
Changed the 'key, hash' from a uniqueKey to a primaryKey to allow "upsert" behaviours to work
2 years ago
Morgan Pretty
658240e549
Fixed a crash which could occur when scrolling conversation messages
2 years ago
Morgan Pretty
b47b98f2f8
Added DisplayPictureDownloadJob & use PreparedRequest in FileServerAPI
2 years ago
Morgan Pretty
819106b0f2
Fixed a bug where profiles with blank name values wouldn't fallback correctly
2 years ago
Morgan Pretty
32495f0a8a
Did some refactoring to better distinguish between publicKeys and sessionIds in the codebase
2 years ago
Morgan Pretty
3a9ada581d
Fixed an issue where theme changes stopped updating nav styling
2 years ago
Morgan Pretty
4093d812b5
Merge branch 'disappearing-message-redesign' into feature/drop-yap-database-support
2 years ago
Morgan Pretty
b20e533929
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
6d57523ede
Merge pull request #923 from mpretty-cyro/fix/apple-required-copy-change
...
Change the 'Grant Camera Access' copy to 'Continue' at Apple's request & Updated translations
2 years ago
Morgan Pretty
06f12a58b0
Change the 'Grant Camera Access' copy to 'Continue' at Apple's request
...
Updated translations again
2 years ago
Morgan Pretty
bdad2d8593
Merge remote-tracking branch 'origin/feature/drop-yap-database-support' into feature/groups-rebuild
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
2 years ago
Morgan Pretty
ddc643a0a1
Merge branch 'disappearing-message-redesign' into feature/drop-yap-database-support
2 years ago
Morgan Pretty
c6455ceb3a
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
abda057702
Merge remote-tracking branch 'origin/feature/drop-yap-database-support' into feature/groups-rebuild
...
# Conflicts:
# Scripts/LintLocalizableStrings.swift
# Session.xcodeproj/project.pbxproj
# Session/Calls/Views & Modals/IncomingCallBanner.swift
# Session/Meta/AppDelegate.swift
# Session/Onboarding/Onboarding.swift
# Session/Onboarding/SeedVC.swift
# SessionMessagingKit/Database/Migrations/_017_DisappearingMessagesConfiguration.swift
# SessionMessagingKit/Messages/Control Messages/LegacyConfigurationMessage.swift
# SessionMessagingKit/SessionUtil/Config Handling/SessionUtil+Shared.swift
# SessionMessagingKit/SessionUtil/SessionUtil.swift
# SessionUtilitiesKit/Database/Migrations/_003_YDBToGRDBMigration.swift
# SessionUtilitiesKit/Database/Storage.swift
# SessionUtilitiesKit/Database/Types/Migration.swift
# SessionUtilitiesKit/Database/Types/PagedDatabaseObserver.swift
# _SharedTestUtilities/SynchronousStorage.swift
2 years ago
Morgan Pretty
187902e48a
Merge pull request #861 from KeeJef/master
...
Update Session iOS screenshot
2 years ago
Morgan Pretty
ab40fcdedf
Merge branch 'disappearing-message-redesign' into feature/drop-yap-database-support
2 years ago
Morgan Pretty
992cc233c5
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
2 years ago
Morgan Pretty
c81616c145
Merge pull request #922 from mpretty-cyro/fix/string-linter-for-archives
...
Fixed an issue where string validation was failing on archive builds
2 years ago
Morgan Pretty
8346a2e610
Fixed an issue where string validation was failing on archive builds
2 years ago
Morgan Pretty
e43ec1db43
Removed another random deleted file reference from the pbxproj
2 years ago
Morgan Pretty
88fd134228
Removed some invalid references
2 years ago
Morgan Pretty
18b296bcd8
Merge branch 'disappearing-message-redesign' into feature/drop-yap-database-support
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Meta/AppDelegate.swift
# Session/Meta/Translations/de.lproj/Localizable.strings
# Session/Meta/Translations/es-ES.lproj/Localizable.strings
# Session/Meta/Translations/fi.lproj/Localizable.strings
# Session/Meta/Translations/fr.lproj/Localizable.strings
# Session/Meta/Translations/it.lproj/Localizable.strings
# Session/Meta/Translations/ja.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/sk.lproj/Localizable.strings
# Session/Meta/Translations/zh-CN.lproj/Localizable.strings
# Session/Meta/Translations/zh-TW.lproj/Localizable.strings
# SessionMessagingKit/Database/LegacyDatabase/SMKLegacy.swift
# SessionMessagingKit/Database/Migrations/_003_YDBToGRDBMigration.swift
# SessionMessagingKit/Messages/Control Messages/ConfigurationMessage.swift
# SessionSnodeKit/Database/LegacyDatabase/SSKLegacy.swift
# SessionSnodeKit/Database/Migrations/_003_YDBToGRDBMigration.swift
# SessionUtilitiesKit/Database/LegacyDatabase/SUKLegacy.swift
# SessionUtilitiesKit/Database/Migrations/_003_YDBToGRDBMigration.swift
2 years ago
Morgan Pretty
90cd3fb5e0
Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
...
# Conflicts:
# _SharedTestUtilities/MockJobRunner.swift
2 years ago
Morgan Pretty
bd64d182f8
Merge pull request #920 from mpretty-cyro/fix/blocked-contacts-issues
...
Fix contacts missing from blocked contact list issue
2 years ago
Morgan Pretty
ed33e1f2e2
Merge remote-tracking branch 'upstream/dev' into fix/blocked-contacts-issues
2 years ago
Morgan Pretty
2cff251e8d
Fixed a bug with the blocked contacts list
...
Fixed a bug where blocked contacts without profile information wouldn't be included in the blocked contacts list
Fixed broken test build issues
Increased build and version numbers
2 years ago
Morgan Pretty
74f32e9ea3
Merge pull request #919 from mpretty-cyro/fix/add-migration-tests
...
Add migration tests
2 years ago
Morgan Pretty
9dd2e896bb
Merge remote-tracking branch 'upstream/dev' into fix/add-migration-tests
...
# Conflicts:
# SessionMessagingKit/SessionUtil/SessionUtil.swift
2 years ago