Commit Graph

17596 Commits (d4aaca929111a3a6290de2685a55d08e46704fb8)
 

Author SHA1 Message Date
ryanzhao d4aaca9291 fix build issues after merge 2 years ago
ryanzhao 31976048bd Merge branch 'feature/updated-user-config-handling' of https://github.com/mpretty-cyro/session-ios into disappearing-message-redesign 2 years ago
Morgan Pretty f13f75eedf Fixed some bad CI script commas 2 years ago
Morgan Pretty c86cc0ed9c CI tweaks and incremented build number
Added the XCBeautify pod (so the CI doesn't need to separately install something)
Updated the CI build script to use XCBeautify
Fixed some broken unit tests
2 years ago
Morgan Pretty 970efbc3be Merge remote-tracking branch 'origin/feature/ci' into feature/updated-user-config-handling 2 years ago
Morgan Pretty 6e32e759c5 Added missing commas in CI config file 2 years ago
Morgan Pretty 69ddb782a1 Attempting to cache the Pods folder to speed up the CI
Fixed a CocoaPods warning
2 years ago
Morgan Pretty 9bdae9dee8 Fixed a typo in the Ci config 2 years ago
Morgan Pretty f15f16be70 More CI tweaks
Updated the Podfile to use the CocoaPods CDN (hopefully much faster than the master spec repo)
Removed the custom derivedDataPath (seemed to break the Copy Frameworks step of CocoaPods)
2 years ago
Morgan Pretty b72bf42605 Updated the CI and fixed a couple of config bugs
Updated to the 1.0.0 release of libSession
Set the User Config feature flag to July 31st 10am AEST
Shifted quote thumbnail generation out of the DBWrite thread
Stopped the CurrentUserPoller from polling the user config namespaces if the feature flag is off
Fixed an issue where the scrollToBottom behaviour could be a little buggy when an optimistic update is replaced with the proper change
Fixed an issue where the 'attachmentsNotUploaded' error wouldn't result in a message entering an error state
Fixed a bug where sync messages with attachments weren't being sent
2 years ago
Ryan Zhao 0fc00ab527 Merge branch 'updated-user-config-handling' into disappearing-message-redesign 2 years ago
Morgan Pretty 2833cef5e4 Tweaks to test the static upload script 2 years ago
Morgan Pretty c7f6b5a94e Replaced the 'ZXingObjC' dependency with a native implementation for scanning QR Codes 2 years ago
Morgan Pretty f623db678e Attempt to work around a stupid CocoaPods restriction 2 years ago
Morgan Pretty f8b69cd03c Disabling XCPretty due to permission issue 2 years ago
Morgan Pretty 5bd0d5d640 Attempting multiline bash command for xcpretty 2 years ago
Morgan Pretty 3c81e3a487 Changed the submodule to be via HTTPS instead of SSH
Cleaned out some old, unused references from project files
2 years ago
Morgan Pretty 8de4a66865 Reverting last change 2 years ago
Morgan Pretty c8c70c448e Tweaks to the submodule command 2 years ago
Morgan Pretty 0464439e8d Fixed some formatting errors 2 years ago
Morgan Pretty 7b06329454 Fixed an incorrect bash command 2 years ago
Morgan Pretty 43b2aaf8bb Trying to progress on the CI builds
Reworked the way libSession-util builds to use a static library and be less hacky
Updated to the latest version of WebRTC-lib (no longer includes bitcode)
Removed the 'skip_web_rtc_re_rsync' patch as it's no longer an issue since the bitcode was removed so the framework is much smaller
2 years ago
Morgan Pretty 868b4cc24e [WIP] Started looking at creating the CI config file 2 years ago
Morgan Pretty 38420997b0 Fixed a couple of bugs and made some performance tweaks
Cleaned up some duplicate poller logic (avoid going back to the main queue)
Updated the code to remove a profile image if a user sends a message which doesn't have a profile image (ie. they've explicitly removed it)
Fixed an issue where some more logic could incorrectly run in the DBWrite queue
Fixed a bug where the OpenGroupPoller could stop polling when getting an error
Fixed a bug where messages which had the same timestamp wouldn't get correctly marked as read when scrolling under the right circumstances
2 years ago
ryanzhao dba114e813 add workaround for an issue on storage sever when getting single message's expiration 2 years ago
Morgan Pretty a5306f85b7 Added in a little defensive coding for config message processing
Updated the config 'pendingChanges' to use the readonly version of the conf (no use blocking access)
Added code to throw and log when the config processing exceeds 50000 loops (ie. infinite loop protection)
2 years ago
Morgan Pretty 0f52d358d4 Fixed an issue where return from background could hang
Stopped trying to run migrations if there aren't any to run (remove unneeded DBWrite thread use)
Shifted return from background migration running to a background thread to prevent hanging
Updated the slow write log to also output once the write completes
2 years ago
Morgan Pretty 6f4bdcdccb Moved some logic outside of DBWrite closures to prevent hangs
Updated the SessionApp.presentConversation function from using the DBWrite thread if it didn't need to
Updated the PagedDatabaseObserver to process database commits async on a serial queue to avoid holding up the DBWrite thread
Moved another Atomic mutation outside of a DBWrite closure
Refactored the PagedDatabaseObserver 'databaseDidCommit' logic to be much more straightforward
Tweaked a couple of flaky unit tests
2 years ago
ryanzhao 929e42d832 minor fix 2 years ago
Ryan Zhao b9b70b1e7f Merge branch 'updated-user-config-handling' into disappearing-message-redesign 2 years ago
Ryan Zhao c0073ea7de WIP: update expiration of sync messages 2 years ago
Morgan Pretty a7761697a9 More performance logging and some minor optimisations
Added code to throttle the 'markAsRead' logic when scrolling to 100ms
Added a launch counter so we will always get error logs on launch if the database is suspended
Updated the logging to also indicate whether it's the DBWrite queue
Moved a couple of Atomic mutations outside of DB write closure on the off chance they are blocking
2 years ago
Ryan Zhao 0150816aaa clean 2 years ago
Ryan Zhao 8e5e5ac7fb fix on get expiration job to resolve the race condition 2 years ago
Ryan Zhao f0d48670be fix a bunch of crash 2 years ago
Ryan Zhao 0b0371e769 Merge branch 'updated-user-config-handling' into disappearing-message-redesign 2 years ago
ryanzhao df7b47da64 make get expiration a job to fix race condtion 2 years ago
ryanzhao 6738af200f update expiration of sync visible messages 2 years ago
Morgan Pretty 0225f436bd Podfile tweaks to speed up sim builds, unit tests & minor bug fix
Added a patch to the Podfile to avoid rsync'ing and signing WebRTC-lib for simulator builds shaving off 10+ seconds of build time per target due to the sheer size of the WebRTC debug framework
Added some basic unit tests to validate the current search behaviour
Fixed some buggy search behaviours
2 years ago
Ryan Zhao 66e45199d5 handle already read disappearing messages 2 years ago
Morgan Pretty 3151aa8901 Fixed an issue where the users push token might never get unregistered 2 years ago
Ryan Zhao defd7e3cfe Merge branch 'updated-user-config-handling' into disappearing-message-redesign 2 years ago
Ryan Zhao 1f20403a26 WIP: race condition handling 2 years ago
Morgan Pretty f976d85c27 Fixed infinite loops introduced by the last change >_> 2 years ago
Morgan Pretty f45568644e Fixed a somehow reproducable crash
Fixed a crash when autoLoadNextPageIfNeeded was run after the table data was updated but before the tableView was reloaded resulting in a index out of bounds exception
2 years ago
Ryan Zhao ce02aa3f5a Merge branch 'updated-user-config-handling' into disappearing-message-redesign 2 years ago
Morgan Pretty 7b70f8d535 Increased build number 2 years ago
Morgan Pretty 30779bdf5b Removed an incorrect `AssertIsOnMainThread` 2 years ago
Ryan Zhao bc6099036b Merge branch 'updated-user-config-handling' into disappearing-message-redesign 2 years ago
Morgan Pretty eac17678fc Fixed a few path issues in the build script submodule validation logic 2 years ago