Commit Graph

857 Commits (021d05d0b3b4aa678eb0b5b7abc7734720281365)

Author SHA1 Message Date
Morgan Pretty 9491b4a97b Fixed a crash and config issue
• Fixed a bad memory crash which could occur when returning from the background
• Fixed an issue where config messages were incorrectly getting double wrapped in protobuf wrappers
2 months ago
Morgan Pretty 99abcdebf6 Removed some unneeded code and fixed a couple of bugs
• Removed the 'runOnceTransient' behaviour (no longer have jobs that run before the user exists)
• Removed the session id from the message snippet in the conversation list
• Fixed an issue where the SyncPushTokensJob might not run because the paths hadn't been built yet
2 months ago
Morgan Pretty 5ee15bbc3f Moved a bunch of networking logic into libSession
• Moved the snode cache and path building into libSession (deleted associated logic)
• Moved reachability detection into libSession (remove Reachability dependency)
• Fixed a couple of crashes with using libQuic requests
• Fixed a bug where the MessageRequestFooterView would show buttons on outgoing message requests
2 months ago
Morgan Pretty 8d99f64f56 Fixed a few more bugs
• Fixed an issue where the message status wouldn't update to the failed state if the MessageSendJob timed-out
• Fixed an issue where network issues could result in a backlog of TypingIndicator messages that failed to send (don't bother retrying them)
• Fixed an issue where concurrent jobs might not retry correctly if other jobs don't complete or the retry was triggered from the wrong queue
• Fixed an issue where the input view could disappear in some cases
3 months ago
Morgan Pretty 352f6d7337 Fixed a number of bugs found while testing the internal build
• Reworked the keyboard avoidance in ConversationVC to fix some bugs and simplify the behaviour
• Moved the message request footer UI into it's own view
• Fixed an issue where paths wouldn't get built for a new isntall
• Fixed an issue where a couple of LibSession+Networking errors weren't getting logged correctly
• Fixed a log that could be thrown incorrect for a unique constraint failure
• Fixed an annoying startup warning due to thread priorities
3 months ago
Morgan Pretty a3188ebea4 Fixed a number of bugs found in the internal release
• Moved the 'getSwarm' behaviour into a distinct job to prevent duplicate API calls
• Updated to the latest libSession (fix libQuic crash)
• Updated the JobRunner to support the `runOnceTransient` behaviour and be able to run transient jobs in the app extensions
• Reworked the extension file logging to be written directly to the file in a single operation rather than line-by-line via the logger
• Fixed a bug where community invites has the wrong author
• Fixed a bug where the title on the disappearing messages settings screen was clipping vertically
• Fixed a bug where tapping on the disappearing messages setting subtitle could incorrectly appear in read-only state for admins
• Fixed a log which contained notification content
• Tweaks to extension logging logic
3 months ago
Morgan Pretty c6c2881338 Reworked the libSession network to be instance based
• Fixed an issue where the DisappearingMessagesJob was getting run for every individual message process instead of just once after processing all messages from a poll
• Tweaked the polling logic to split the user, groups and community pollers into separate queues
• Tweaked the logic to restart the open group poller immediately after joining a community (to avoid an edge-case where there could be a long delay before the initial poll is made)
• Tweaked the logic for checking if PNs are susceptible to failure to only dispatch to the main thread once
• Cleaned up some warnings
• Updated the app versioning to be at the project level instead of target level
• Added the ability to define a unique hash for a job for deduplication
3 months ago
Morgan Pretty 8c467dc511 Merge remote-tracking branch 'origin/fix/sync-message-issues' into feature/lib-quic-integration
# Conflicts:
#	.drone.jsonnet
#	SessionSnodeKit/Networking/SnodeAPI.swift
#	SessionSnodeKit/Types/OnionRequestAPIError.swift
#	SessionSnodeKit/Types/SnodeAPIError.swift
3 months ago
Morgan Pretty c065abc584 Cleaned up a bunch of warnings, renamed a couple of folders 3 months ago
Morgan Pretty 4818a6d074 Merge remote-tracking branch 'origin/dev' into feature/lib-quic-integration
# Conflicts:
#	Podfile.lock
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Session-Info.plist
3 months ago
Morgan Pretty 686768f8b2 Fixed a few bugs with sync messages
Fixed an issue where sync messages were failing to send if the message wasn't disappearing
Fixed an issue where the 'Failed to Sync' statuses wouldn't be shown
Updated the MessageSenderError, SnodeAPIError and OnionRequestAPIError to actually output our error strings when included in strings
Updated the tryFlatMapWithRandomSnode function to include context of the last error thrown
Cleaned up the 'isSyncMessage' logic
3 months ago
Morgan Pretty 7eb7eda74e [WIP] Cleaned up interface, error handling and redundant code 3 months ago
Morgan Pretty 1ee4c29a16 [WIP] Pulling in a bunch of changes around request management 3 months ago
Morgan Pretty 756e256d9a Moving libSession into SessionUtilitiesKit to expose it to other targets 4 months ago
Ryan ZHAO 6dc5d3031b Merge branch 'dev' into message-detail-screen 4 months ago
Ryan ZHAO f5afdae646 Merge branch 'dev' into message-detail-screen 4 months ago
Morgan Pretty e1bb6de7d6 Merge remote-tracking branch 'upstream/dev' into feature/drop-yap-database-support
# Conflicts:
#	Podfile.lock
#	SessionMessagingKit/Database/Migrations/_003_YDBToGRDBMigration.swift
4 months ago
Ryan ZHAO bd0a25bbe9 fix an issue that a disappearing messages control message will be removed by a race condition 4 months ago
Ryan ZHAO b4f01db37e extend expire timer update message TTL to be default 14 days 4 months ago
Ryan ZHAO ce1eee2018 fix an issue where disappearing messages settings in groups won't be synced on new linked devices 4 months ago
Ryan ZHAO 2eac3d79f2 fix an issue where after creating a group, the group will have a DaS-1D default setting 4 months ago
Ryan ZHAO 31b0d008e6 clean 5 months ago
Ryan ZHAO fdae955288 fix data extraction message DaR 5 months ago
Ryan ZHAO b2360d8e1a fix an issue where DaR messages are read on linked devices won't have correct expiration start time 5 months ago
Morgan Pretty 84492be016 Fixed build issues, removed invalid unit tests and missing copy 5 months ago
Morgan Pretty 661720a988 Merge remote-tracking branch 'upstream/dev' into disappearing-message-redesign
# Conflicts:
#	Session.xcodeproj/project.pbxproj
#	Session/Meta/Translations/ar.lproj/Localizable.strings
#	Session/Meta/Translations/be.lproj/Localizable.strings
#	Session/Meta/Translations/bg.lproj/Localizable.strings
#	Session/Meta/Translations/bn.lproj/Localizable.strings
#	Session/Meta/Translations/cs.lproj/Localizable.strings
#	Session/Meta/Translations/da.lproj/Localizable.strings
#	Session/Meta/Translations/de.lproj/Localizable.strings
#	Session/Meta/Translations/el.lproj/Localizable.strings
#	Session/Meta/Translations/en.lproj/Localizable.strings
#	Session/Meta/Translations/eo.lproj/Localizable.strings
#	Session/Meta/Translations/es-ES.lproj/Localizable.strings
#	Session/Meta/Translations/fa.lproj/Localizable.strings
#	Session/Meta/Translations/fi.lproj/Localizable.strings
#	Session/Meta/Translations/fil.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/hu.lproj/Localizable.strings
#	Session/Meta/Translations/id.lproj/Localizable.strings
#	Session/Meta/Translations/it.lproj/Localizable.strings
#	Session/Meta/Translations/ja.lproj/Localizable.strings
#	Session/Meta/Translations/ko.lproj/Localizable.strings
#	Session/Meta/Translations/ku.lproj/Localizable.strings
#	Session/Meta/Translations/lt.lproj/Localizable.strings
#	Session/Meta/Translations/lv.lproj/Localizable.strings
#	Session/Meta/Translations/ne-NP.lproj/Localizable.strings
#	Session/Meta/Translations/nl.lproj/Localizable.strings
#	Session/Meta/Translations/no.lproj/Localizable.strings
#	Session/Meta/Translations/pl.lproj/Localizable.strings
#	Session/Meta/Translations/pt-BR.lproj/Localizable.strings
#	Session/Meta/Translations/pt-PT.lproj/Localizable.strings
#	Session/Meta/Translations/ro.lproj/Localizable.strings
#	Session/Meta/Translations/ru.lproj/Localizable.strings
#	Session/Meta/Translations/si-LK.lproj/Localizable.strings
#	Session/Meta/Translations/sk.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/tr.lproj/Localizable.strings
#	Session/Meta/Translations/uk.lproj/Localizable.strings
#	Session/Meta/Translations/vi.lproj/Localizable.strings
#	Session/Meta/Translations/zh-CN.lproj/Localizable.strings
#	Session/Meta/Translations/zh-TW.lproj/Localizable.strings
#	SessionMessagingKit/Configuration.swift
#	SessionUtilitiesKit/Database/Storage.swift
5 months ago
Ryan ZHAO 43e2983f49 fix call messages and data extraction messages with their expiration info and refactor 6 months ago
Ryan ZHAO 1c6232e4d7 minor refactor 6 months ago
Morgan Pretty a563cddba8 Added a timeout for the MessageSendJob and additional logging 6 months ago
Ryan ZHAO 4c0c1cda1a Do not process outdated expiration update messages 6 months ago
Ryan ZHAO c473c6cb23 fix an issue where disappearing messages config in legacy group was not updated 6 months ago
Ryan ZHAO 87309ccba1 fix an issue where note to self may show expiration update control messages which should be removed already. 6 months ago
Morgan Pretty cbcdb9b37f Refactored AppContext and AppRediness to Swift 6 months ago
Ryan ZHAO 084586e6ba change call messages and data extraction notification to be DaR if needed 7 months ago
Ryan ZHAO 9231f57636 minor fix 7 months ago
Ryan ZHAO 04d734ef87 use local disappearing messages setting for call messages and data extraction notifications 7 months ago
Ryan ZHAO 10d1c64c29 remove outdated client banner when receiving a message from new version 7 months ago
Ryan ZHAO ff691529c4 Do NOT expire control messages in groups 7 months ago
Ryan ZHAO e38fb400ea refactor on the way that attaching disappearing messages config to messages 7 months ago
Ryan ZHAO 9fc5f8fa68 WIP: refactoring the way of applying disappearing messages settings 7 months ago
Ryan ZHAO c9df2a73e7 bring back false deleted logic 7 months ago
Ryan ZHAO 79eafa7df8 fix logic error for message ttl 7 months ago
Ryan ZHAO 7693e53183 minor refactor and fix expiration update message for control messages 7 months ago
Ryan ZHAO 42f2440067 fix disappearing messages update control messages for legacy groups and linked devices 7 months ago
Ryan ZHAO 74efe8cc72 fix an issue for legacy groups disappearing message update control message 7 months ago
Ryan ZHAO 490cde57ce fix disappearing messages update control messages for legacy groups 7 months ago
Ryan ZHAO 4ec1d730cd remove previous logic for expiring control messages indicating disappearing messages turned off 7 months ago
Ryan ZHAO 5d2a307d5e WIP: update copies and implement following setting 7 months ago
Ryan ZHAO e8ec91ba8b keep disappearing message update control message for legacy mode 8 months ago
Ryan ZHAO adf1a76acc fix outdated client version check 8 months ago