Commit Graph

18805 Commits (35758b29462d618313c8382d7160cb82a144700e)
 

Author SHA1 Message Date
Ryan ZHAO b0ab84a86d fix group control messages 8 months ago
Ryan ZHAO 1b73f74fb7 add timeout error modal for clearing data from network 8 months ago
Ryan ZHAO 3a509d942e update translation files 8 months ago
Ryan ZHAO 6f5d452b35 fix group leaving modal to respect group admins 8 months ago
Ryan ZHAO d21a0815fa add constants 8 months ago
Morgan Pretty 533afa2af0 Tweaked the static upload script to ignore the branch name for tags 8 months ago
Ryan ZHAO a98c213b78 fix disappearing messages strings 8 months ago
Ryan ZHAO 630e20fc69 Merge branch 'dev' into standardised-strings 8 months ago
Ryan ZHAO 4e8859250e bump up version number to 2.8.0 8 months ago
Morgan Pretty 645e24a573 Fixed an issue where legacy group push notifications weren't working 8 months ago
Morgan Pretty d38e620e8e Fixed a regression when updating config messages
Doing a config push was working via `Atomic.wrappedValue` instead of `Atomic.mutate` - we need to use `Atomic.mutate` in this case because we want to block other threads from modifying the config while we are doing a push (otherwise it can crash due to data changing while generating the push payload)
8 months ago
Morgan Pretty 31e5719318 Updated libSession (tweaks to some usages of 'wrap_exceptions') 8 months ago
Morgan Pretty 1396652698 Refactored the DSL for interacting with C structs
There were a few logs related to bad memory access within libSession and the `toLibSession` convention which we'd originally setup made me nervous as C-friendly objects would be allocated in Swift and then assigned to C struct properties but I'm not sure how the memory would actually behave in this case.

This updated approach unfortunately involves a bunch of duplicate code within 'TypeConversion+Utilities' (and some horrible type aliases for tuples) but as a result we now have compile-time safe 'get' and 'set' functions for any C struct which conforms to `CAccessible` and `CMutable`. The other nice benefit about this change is that the new `set` functions copy memory across into the C structs so we can have more confidence that the memory ownership has shifted to the libSession side of things.
8 months ago
Ryan ZHAO ea48f1b40d fix strings 8 months ago
Ryan ZHAO 544c680b6b update translation file 8 months ago
Ryan ZHAO f861241b95 fix more strings 8 months ago
Morgan Pretty f7626939e6 Fixed a crash which could occur when taking a photo via the app failed 8 months ago
Morgan Pretty 09a14358ee Updated to the latest GRDB (use pre-built framework to cut ~30 sec from build time) 8 months ago
Ryan ZHAO 367104c835 fix on strings 8 months ago
Ryan ZHAO 318d5beaab fix time formatting 8 months ago
Ryan ZHAO 9b676a8083 remove unused block/unblock toast 8 months ago
Ryan ZHAO 263844daba fix unblock modal 8 months ago
Ryan ZHAO f7bc296225 fix group/community leave message 8 months ago
Ryan ZHAO 5b637c7b77 fix an issue where plural strings have other dynamic values 8 months ago
Ryan ZHAO 02a4dc9e8c Merge branch 'standardised-strings' of https://github.com/RyanRory/loki-messenger-ios into standardised-strings 8 months ago
Ryan ZHAO 6e6c5d9a19 show control message on main device when accepting message request 8 months ago
Morgan Pretty f07d0ba189
Merge pull request #1016 from mpretty-cyro/fix/deadlock-rework
Reworked deadlock handling, fixed a few other issues
8 months ago
Morgan Pretty ddd36b96a2 Reworked deadlock handling, fixed a few other issues
• Fixed an issue where the background task to finish sending messages may not have sent the sync message or the main message after and upload
• Fixed an issue where the SessionBackgroundTask was incorrectly reporting a failure to be created
• Fixed an incorrect modal action colour
• Fixed a crash when creating legacy groups
• Updated the code so that we take charge of resolving the deadlock issue instead of relying on GRDB to do it
• Updated the logic to timeout the SessionBackgroundTask with 5 seconds of background time remaining (to ensure we have enough time to suspend the network & database)
8 months ago
Morgan Pretty 9f9d3d4455 Fixed a regression where deleting data from network gave a false-failure 8 months ago
Morgan Pretty 597f94a954 Fixed an issue where you could answer calls without having the mic permission 8 months ago
Morgan Pretty e1aedb36da Fixed a few bugs found when testing strings
• Fixed an issue where creating a legacy group could be blocked by the legacy PN subscription failing (was part of the synchronous request)
• Fixed an issue where the code would incorrectly use profile data from incoming messages sent from the current user to update it's profile info
• Fixed an issue where saving media would fail silently if the user had rejected the OS permission
• Refactored a little code around profile changes to make things more readable
8 months ago
Ryan ZHAO 7acd299858 fix unblock modals 8 months ago
Ryan ZHAO b39845f265 fix strings 8 months ago
Morgan Pretty 3a1f086d0c Reworked deadlock handling, fixed a few other issues
• Fixed an issue where the background task to finish sending messages may not have sent the sync message or the main message after and upload
• Fixed an issue where the SessionBackgroundTask was incorrectly reporting a failure to be created
• Fixed an incorrect modal action colour
• Fixed a crash when creating legacy groups
• Updated the code so that we take charge of resolving the deadlock issue instead of relying on GRDB to do it
• Updated the logic to timeout the SessionBackgroundTask with 5 seconds of background time remaining (to ensure we have enough time to suspend the network & database)
8 months ago
Morgan Pretty 9eca118d85 Correctly show the 'uploading' state, removed unused function 8 months ago
Ryan ZHAO 3dc0ed255c fix text got cut off unexpectedly in modals 8 months ago
Ryan ZHAO 3ae766d07f fix some strings 8 months ago
Ryan ZHAO 7dcc1ba992 fix UI issue when there is an error or no results for a gif search 8 months ago
Ryan ZHAO 30ec5a1b0d bump up build number 8 months ago
Ryan ZHAO f9ce8da846 fix a crash when creating groups by fixing libsession 8 months ago
Ryan ZHAO 36c6696ea8 update version number 8 months ago
Ryan ZHAO a749f8d656 further fix on scrollable modal 8 months ago
Ryan ZHAO 37f142f1eb fix an UI issue for confirmation model 8 months ago
Ryan ZHAO ce8c6bd971 fix a clear data modal 8 months ago
Ryan ZHAO 39efcc4d2b bump up version and build number 8 months ago
Ryan ZHAO 22a353112b minor fix on how we render the <span> tag 8 months ago
Ryan ZHAO 70f8d45a39 fix a bunch of strings 8 months ago
Ryan ZHAO 080ab386ad change gif to constants 8 months ago
Ryan ZHAO c4ebdd6d3d fix some strings 8 months ago
Ryan ZHAO d31036f60c clean errors 8 months ago