Morgan Pretty
8344ed5d81
Fixed the unit tests broken by the merge
...
Added the ability to mock the GeneralCache data
Added a couple additional tests to validate some updated OpenGroupManager code
3 years ago
Morgan Pretty
5ca227434b
Merge branch 'dev' into feature/session-id-blinding-part-2
...
# Conflicts:
# Session.xcodeproj/project.pbxproj
# Session/Utilities/BackgroundPoller.swift
# SessionMessagingKit/Database/Storage+OpenGroups.swift
# SessionMessagingKit/Messages/Control Messages/ConfigurationMessage+Convenience.swift
# SessionMessagingKit/Open Groups/OpenGroupAPIV2.swift
# SessionMessagingKit/Open Groups/OpenGroupManagerV2.swift
# SessionMessagingKit/Sending & Receiving/MessageSender.swift
# SessionMessagingKit/Sending & Receiving/Pollers/OpenGroupPollerV2.swift
# SessionMessagingKit/Sending & Receiving/Pollers/Poller.swift
# SessionMessagingKit/Storage.swift
# SessionMessagingKit/Utilities/General.swift
# SessionSnodeKit/SnodeAPI.swift
# SessionUtilitiesKit/General/Atomic.swift
3 years ago
Morgan Pretty
1214005c59
Updated the cachedEncodedPublicKey to be Atomic
...
Added the Atomic wrapper for thread safe variables
3 years ago
Morgan Pretty
ff480a37d5
Added more unit tests for the OpenGroupManager
...
Added the ability to mock the identity manager (ie. return a mock key for the users key)
Swapped the Test Nonce16 & Nonce24 classes for Mock ones
Fixed an issue where the ContactUtilities call from the OpenGroupManager wasn't injecting the dependencies
Added unit tests for the handleDirectMessages and isUserModetatorOrAdmin methods
3 years ago
Morgan Pretty
2e10ccf99d
Updated the code to cache the retrieval of the user public key
3 years ago
Niels Andriesse
905b829de2
Refresh snode pool at least once a day
4 years ago