Commit Graph

19186 Commits (04b3a64f6bf96335df0ac34a54a997ee9abfa065)
 

Author SHA1 Message Date
Morgan Pretty 04b3a64f6b Updated LibSession to be sourced via Swift Package Manager
• Using a pre-built version of libSession as a SPM dependency for default builds
• Added a new scheme which will try to build libSession from source (update the `LIB_SESSION_SOURCE_DIR` User-Defined build setting to change the location - currently set to '${SRC_ROOT}/../LibSession-Util')
• Removed the libSession submodule
1 month ago
Morgan Pretty c5086981b9 Fixed build number 1 month ago
Morgan Pretty 42ba212d1a
Merge pull request #321 from mpretty-cyro/feature/groups-rebuild
Groups Rebuild
1 month ago
Morgan Pretty 312846e694 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 1 month ago
Morgan Pretty 14ec056e4a Reset the feature flags and added the release timestamps 1 month ago
Morgan Pretty 115f7a55d6
Merge pull request #375 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
1 month ago
ThomasSession 527ea2757e [Automated] Update translations from Crowdin 1 month ago
Morgan Pretty cba6729618 Bumped build number 1 month ago
Morgan Pretty 78f5adeb6d Updated to libSession v1.2.1 1 month ago
Morgan Pretty a049d87b11 Fixed a few bugs which came up during testing
• Added a 'requireAllRequestsSucceed' flag to the ConfigurationSyncJob (so it'll report a failure if any individual request fails)
• Fixed an issue where a number of 'response' types weren't encoding correctly (only impacted unit tests)
• Fixed an issue where the logger wasn't correctly respecting the log level settings
• Fixed an issue where the path status indicator wouldn't default to unknown
• Fixed an issue where the generic database error didn't replace the 'app_name' variable
• Fixed an issue where notification content might not be shown correctly
• Fixed an issue where a group could be partially created due to one of it's configs failing to be stored (we now consider that a failure so the user can try again)
• Fixed an issue where processing a config message in the BackgroundPoller could result in attempting to fetch from communities after the process completed
• Fixed a crash where a database query could incorrectly be interrupted after it completed if both happened at just the right time
• Fixed broken unit tests
1 month ago
Morgan Pretty 04714deaa5 Updated to the target Lucide version we want (0.473.0) 2 months ago
Morgan Pretty 22f3974968 Fixed a couple of issues found during internal testing
• Fixed an issue where leaving a group from the settings screen would just sit there until you successfully left
• Fixed an issue where admin display pictures didn't have the crown icon in the conversation screen
2 months ago
Morgan Pretty 6a144633d2 Drop '.decryptionFailed' PNs for unknown or no auth groups 2 months ago
Morgan Pretty 8a60eee626 Fixed a crash when tapping on the attachment camera button 2 months ago
Morgan Pretty 828b25254a Fixed a silly message variant bug, unit test env var tweaks
• Added an env variable to enable the debug disappearing message durations
• Moved the 'processUnitTestEnvVariablesIfNeeded' function into a separate file and added some docs (so we can just look at that file to see what is supported)
• Fixed an issue where the deleted message artifact variant had incorrectly gotten it's value changed (too late to change it back so need a migration)
2 months ago
Morgan Pretty 25f3e836ef Debug dis message durations on for tests, uregister PNs on clear acct
• Turned on debug disappearing message settings by default for tests
• Unregister from PNs when clearing the account
2 months ago
Morgan Pretty 3974723615 Increased build number 2 months ago
Morgan Pretty 5f73b3ee86 Updated to libSession 1.2.0 2 months ago
Morgan Pretty 1db4933390 Alternate approach to selecting a simulator 2 months ago
Morgan Pretty 95bc5b4e0a Added back dynamic runtime selection (apparently we need both) 2 months ago
Morgan Pretty 371afc6d3c Fixed a missing trailing apostrophe 2 months ago
Morgan Pretty 2902e268ed Dynamically select device type instead of runtime 2 months ago
Morgan Pretty fc70f13e30 CI fixes 2 months ago
Morgan Pretty a50989a341 A couple more notification tweaks, latest libSession (breaking change)
• Updated to the latest libSession (with the updated GroupKeys padding)
• Updated the fallback push notification content to include the group name
• Tweaked the logic so when we get a notification with no content from a config namespace, it won't show the fallback notification
2 months ago
Morgan Pretty 74c9f3ddb8 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 2 months ago
Morgan Pretty e81b111a2b
Merge pull request #374 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
2 months ago
Morgan Pretty 4399a5a5bb Fixed a few issues that came up when testing
• Attempt to fix an issue where the CI couldn't find a test simulator because it didn't exist (now try to grab the latest)
• Refactored the notification service extension logging to be more helpful and allow for better tracking
• Fixed a minor layout issue on devices with a home button
• Fixed an issue where display pictures could be given the wrong file extension because we were assuming jpeg
• Fixed an issue where disabling the "Auto dark-mode" setting may not correctly trigger a theme update
• Fixed an issue where returning to the settings screen from a child screen would result in the screen jumping
• Fixed an issue where migrating the community display picture would fail
• Fixed an issue where failing to decrypt a config message push notification would incorrectly result in the fallback notification being shown
2 months ago
mpretty-cyro 6f32b1c911 [Automated] Update translations from Crowdin 2 months ago
Morgan Pretty 9cda4d03cb Increased build number 2 months ago
Morgan Pretty ad821dcbf1 Fixed some string issues
• Updated the string linter logic to error when incorrect parameter names are given (or missed)
• Updated the code based on the latest string changes
• Fixed an issue where the string linter wasn't working
2 months ago
Morgan Pretty d1fea5d7c2 Merge remote-tracking branch 'upstream/dev' into feature/groups-rebuild 2 months ago
Morgan Pretty 8db12faedb
Merge pull request #371 from session-foundation/feature/update-crowdin-translations
[Automated] Update translations from Crowdin
2 months ago
Morgan Pretty d91af1b5b6 Fixed a few bugs
• Updated to the latest libSession
• Fixed some warnings
• Fixed a compilation issue on non-debug builds
• Fixed an issue with the dev settings data importer when ignoring hidden files from old exports (wouldn't move the inputStream forward correctly resulting in a crash)
• Fixed an issue where the swarm poller wasn't included synchronously processed messages in it's publisher output
2 months ago
Morgan Pretty 811528bfd5
Merge pull request #21 from mpretty-cyro/fix/refactor-migrations
Refactored the migrations to avoid an anti-pattern
2 months ago
Morgan Pretty 28c06d0e2b Removed more unused code, tweak to speed up test compilation 2 months ago
mpretty-cyro 5653688cbf [Automated] Update translations from Crowdin 2 months ago
Morgan Pretty d22c2cccf1 Fixed a few migration issues found when testing 2 months ago
Morgan Pretty bdbfe6c28e Refactored the remaining DB queries to avoid using type-based queries 2 months ago
Morgan Pretty 647919efde Started working on refactoring the migrations to avoid an anti-pattern 2 months ago
Morgan Pretty 1f3f7ba7c6 Fixed QA issues
• Refactored the 'performOperation' function to have cleaner control flow and resolve another EXC_BAD_ACCESS edge case
• Updated the code to allow legacy groups to be unpinned after they are deprecated
• Fixed an issue where the default state of the global search screen wouldn't be populated if you had a contact with no SessionThread record
• Fixed an issue with display picture placeholder generation
• Fixed an issue where the edit group screen would show the group display picture back to front
2 months ago
Morgan Pretty 70ef1c451c Updated to the latest LibSession with groupPubKey validation 2 months ago
Morgan Pretty 823409709c Added timestamp verification logic and fixed a couple of QA issues
• Updated the code to set and check the 'sigTimestamp' value in order to validate the envelope.timestamp when possible
• Disabled the delete/select buttons on the attachment screens in legacy groups once deprecated
• Disabled the ability to remove reactions from the reaction list in legacy groups once deprecated
• Fixed an issue where the "expired groups" banner could incorrectly appear after creating a new group
• Fixed an issue where the ConfigSyncJob wouldn't report it's failure immediately
2 months ago
Morgan Pretty 35972d176a Fixed broken message sending for TestFlight build
• Fixed broken unit tests
• Fixed some incorrect logic for validating a message
2 months ago
Morgan Pretty c99ee90ca6 Fixed a QA issue, a couple edge-cases and cleaned up some logic
• Added the "expired group" banner for when the first poll of an updated group doesn't retrieve config messages
• Removed a redundant base64 encode/decode
• Removed messy extra message validation function
• Fixed an edge-case where a member granted supplemental access to the group could end up incorrectly kicked under the right conditions
• Fixed an issue where the copy for deleting a deprecated legacy group wasn't accurate
2 months ago
Morgan Pretty 3f3d4dde26 Fixed a number of issues found during general testing
• Added a 'forceSlowDatabaseQueries' dev setting to help track down main thread database queries
• Updated the unit tests to use a NoopNetworkCache by default when running unit tests
• Updated the custom debug sync query timer to poll more frequently for the first few iterations
• Fixed the broken unit tests
• Fixed the bad memory issue again (wasn't properly fixed...)
• Fixed an issue where the keyboard wouldn't reappear after deleting a message
• Fixed an issue where the toast shown after deleting a message could do a weird appearance animation
• Fixed an issue where legacy group invites were incorrectly still being handled once legacy groups were deprecated
• Fixed an issue where control messages could incorrectly leave a deletion artifact when triggering "delete before now"
• Fixed an issue where the typing indicator logic could run on the main thread (was also overly complex)
• Fixed an issue where we were clearing the incoming typing indicator too quickly (5s vs 15s like other platforms)
• Fixed an issue where the GroupPoller could incorrectly wait for longer than it should between polls if a message was deleted (there will be a better approach we should use in the future when we have an `active_at` flag for the conversation)
2 months ago
Morgan Pretty 8bb51968f0 Fixed some issues found during debugging & QA issues
• Added code to schedule any missing recurring jobs (so we no longer need to worry that the jobs have been lost or the migrations that added them ran correctly in their final state)
• Added the 'FailedGroupInvitesAndPromotionsJob' to flag invites/promotions which weren't sent before the app closed as failed
• Updated to the latest libweb
• Updated to the latest libSession
• Updated the config sync job to delay marking itself as failed if the network is not connected (it'll now observer the network status and trigger the failure callback when reconnected, which will result in another sync attempt shortly after - this will prevent a disabled network from building up the failure count excessively causing sync delays)
• Fixed a bad memory race condition which could occur with the new `Storage.performOperation` logic
2 months ago
Morgan Pretty 44b1d69551 Fixed a number of issues found during testing, and some QA issues
• Updated the SyncPushTokensJob to wait for a bit for paths to build before failing
• Updated the PushNotification service to be selectable via the dev settings
• Updated the database timeout code to be a little more developer friendly
• Updated the code to stop blocked contacts from appearing in the main conversation list
• Removed the invalid "push-testnet" push server
• Removed the logic to configure the APNS push service based on the service network (was incorrect)
• Removed the 'Int' raw type constraint for the 'FeatureOption'
• Fixed an issue where the initial conversation query for groups would fail due to an invalid join
• Fixed an issue where the initial conversation query wouldn't include the 'markedUnread' flag (meaning the conversation wouldn't correctly get marked as read)
• Fixed a rare bad memory crash
• Fixed an issue where the modal wouldn't be dismissed after updating the group display name
• Fixed an issue where the "Recreate Group" button was the wrong height
2 months ago
Morgan Pretty 245623b4c6 QA fixes and scope changes discussed today
• Removed the blocking loading indicators from a number of group actions
• Refactored the group promotions failure toast logic to match the invites failure toast logic
• Updated the actions which are allowed on messages in legacy groups once deprecated
• Updated to the latest libSession (minor PR feedback tweaks)
• Fixed a few build warnings
• Fixed a layout issue on the All Media screen
• Fixed an issue where the keyboard avoidance wouldn't be updated on the conversation screen if you went to a child screen and returned
• Fixed a couple of places where handling 'GROUP_MEMBER' changes could result in hitting the infinite loop guards so the changes wouldn't be reflected correctly
2 months ago
Morgan Pretty cfb02f42d3 Fixed an issue where we tried to delete protected files after import 2 months ago
Morgan Pretty c414e1b5fc Fixed build issues from the merge 2 months ago