Commit Graph

668 Commits (5bcc124388181fa5bcbeeb3eb722426ff8b9507a)

Author SHA1 Message Date
ryanzhao cc17a952e0 delete real message and sync message together 3 years ago
Niels Andriesse 1b0a12d7c0 Don't unnecessarily unsubscribe from closed group PNs
We don't need to do this anymore as we now have the ability to ignore PNs in the notification service extension
3 years ago
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 3 years ago
Ryan Zhao 80bf62df90 fix nested transaction crash on setting notification identifier 3 years ago
Ryan Zhao 885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 3 years ago
Niels Andriesse e8d8377a04 Fix threading bug 3 years ago
Ryan Zhao 08360273e6 save server hash for message receive jobs 3 years ago
Ryan Zhao 050a2ec534 store server hash value for visible messages 3 years ago
Ryan Zhao c68350f3d8 store hash value for outgoing messages 3 years ago
Ryan Zhao e2a0578770 cancel local notifications for unsend requests 3 years ago
Ryan Zhao b827b9e1ba make it work for multi device 3 years ago
Ryan Zhao 94c1879263 fix unsend request receive handler 3 years ago
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 3 years ago
Ryan Zhao 83252650b1 unsend request handler 3 years ago
Ryan Zhao dff99cf0fc add unsend request proto 3 years ago
Ryan Zhao b31b9166ad Merge branch 'dev' of https://github.com/oxen-io/session-ios into fine-grained-notification-settings-2 3 years ago
Ryan Zhao 423feae426 add notify reply and clean 3 years ago
Niels Andriesse 8f29010e89 Poll for closed group messages more frequently 3 years ago
Niels Andriesse 483ed4792f Fix localization & clean 3 years ago
ryanzhao b0e03f5dfd update subtitle status in conversation screen instantly 3 years ago
ryanzhao f0d2826403 add thread flag for only notifying mentiongs 3 years ago
Niels Andriesse 8a29469eb5 Handle incorrect clock setting 3 years ago
Niels Andriesse 6bf25e28f7 Debug 3 years ago
Niels Andriesse 9d605c03f0 Debug 3 years ago
Niels Andriesse ca862096b4 Rename profilePictureEncryptionKey → profileEncryptionKey 3 years ago
Niels Andriesse 519ffa4405 Fully switch to the new contact API
This should improve performance significantly as it avoids many unnecessary sync transactions. It also makes the code more readable.
3 years ago
Niels Andriesse 44288c45e9 Fix auto scroll to bottom bug 3 years ago
ryanzhao 69dea75486 potentially fix the conversation stuck at unread 3 years ago
Niels Andriesse 1d1d63c979 Don't auto resubscribe to PNs for muted closed groups 3 years ago
Niels Andriesse 11df899db3 Don't use jobs for open group polling
It's not necessary because we can always get the messages again from the server, and it helps with performance
3 years ago
Niels Andriesse e84fc1aa04 Include destination info in error messages 3 years ago
Niels Andriesse aae11b1c28 Disable PNs for muted closed groups 3 years ago
Niels Andriesse ba60879343 Add support for new ban and delete all endpoint 3 years ago
Niels Andriesse e796f6bacd Don't retry message send jobs when rate limited 3 years ago
Niels Andriesse 2928a8f66c Don't unnecessarily retry downloads for expired attachments 3 years ago
Niels Andriesse 6bc9b21cde Fix handling of failed messages in open groups
Failures wouldn't show up because `recipientIdentifiers` was empty for open groups
3 years ago
Niels Andriesse f0295fb469 Fix crash 3 years ago
Niels Andriesse 356dc0cc4f Clean up indentation 3 years ago
Brice-W 2f0fe36905 add expiration timer to configuration message 3 years ago
Brice-W a840d61f4e delete obsolete code 3 years ago
Brice-W c1bd21c3f0 proto updated 3 years ago
Niels Andriesse 7bb7edd3c0 Further cleanup 3 years ago
Niels Andriesse b090227a2d Fix potential crash & apply code convention 3 years ago
Brice-W 1f9cd92bce set expiration timer for new group members 3 years ago
Brice-W 0b5c1a68ee proto update 3 years ago
nielsandriesse 1041f991fd Fix unnecessary map calls 3 years ago
Brice-W 546f91ce65 Merge branch 'dev' of https://github.com/oxen-io/session-ios into closed-group-fix 3 years ago
Brice-W 49c1de8387 clean 3 years ago
Brice-W dbcf19529b fix 3 years ago
Brice-W 9e790986f6 fix closed group corner cases 3 years ago
nielsandriesse 86c2c39425 Fix background polling crash 3 years ago
nielsandriesse e24fca7b37 Fix job duplication bug
This could cause attachments not to download on the receiving side, and potentially also cause duplicate push notifications to be sent
3 years ago
nielsandriesse f588b6b611 Fix incorrect protobuf value 3 years ago
nielsandriesse 0d9f5388da Prepare for OGS timestamp handling changes 3 years ago
nielsandriesse 1b4cfdb22f Add get Session version file server endpoint 3 years ago
nielsandriesse bf9d860214 Batch thread updates 3 years ago
nielsandriesse ff1d2d2f28 Remove (seemingly) unnecessary hack 3 years ago
nielsandriesse e72c6d4cbd Mark .noThread error as non-retryable 3 years ago
Niels Andriesse 601062c9ef Fix timeSinceLastOpen usage 3 years ago
Brice-W 51ba97827d open group polling limit implementation 3 years ago
Niels Andriesse aa3a18fa7e Don't notify for closed group control messages
This addresses an issue where:

• someone would create a closed group
• on other peoples' devices this control message would be received through a background poll or a push notification
• the received message timestamps table would be updated
• processing wouldn't be finished (during a background poll or while handling a push notification the system can cut you off at any time)
• some of the added users don't see the new closed group because when they open the app and get the control message from their swarm it's considered a duplicate and isn't processed again
3 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse 61dd768e5c Minor refactoring 3 years ago
Niels Andriesse 74ba177250
Merge pull request #411 from RyanRory/expiration-timer-fix
Fix Expiration Timer Issues
3 years ago
Niels Andriesse c84a942478 Fix push notification handling
This was crashing every time the extension started
3 years ago
Niels Andriesse 20e0103d2d Switch to dedicated server 3 years ago
nielsandriesse c36cf1a36d Hopefully fix closed group handling bug 3 years ago
Ryan ZHAO d7a7abc11e start expiration timer after attachments downloaded 3 years ago
Niels Andriesse cdf27a631a Fix profile picture handling 3 years ago
Niels Andriesse 38a7c93967 Fix profile picture handling 3 years ago
nielsandriesse 73eeff3ea1 Debug 3 years ago
nielsandriesse 17688a66e6 Make closed group polling variable rate 3 years ago
Niels Andriesse 16a01ccc00
Merge pull request #405 from oxen-io/open-group-invitations-2
Open Group Invitations
3 years ago
Ryan ZHAO 539b13d189 fix inconsistent voice message durations 3 years ago
Niels Andriesse e4d1925436 Show confirmation dialog 3 years ago
Niels Andriesse f3fef34259 Implement proto conversion 3 years ago
Niels Andriesse 0153e1cefd Update protos 3 years ago
Niels Andriesse e2715d1ee9 Implement sending logic 3 years ago
Niels Andriesse bd04775cbf Implement open group invitations UI 3 years ago
Niels Andriesse e3671291c5 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse f893acfe3b Make attachment padding consistent cross-platform 3 years ago
Niels Andriesse 7e60d3c218 Merge branch 'dev' into cleanup 3 years ago
Niels Andriesse ad801d4f33 Fix threading 3 years ago
nielsandriesse ed047ac512 More cleanup 3 years ago
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 3 years ago
nielsandriesse 964cb8b326 Fix new deletion method 3 years ago
nielsandriesse 47daf16d5c Merge branch 'dev' into deletion-handling 3 years ago
nielsandriesse 0c864454aa Remove duplicate message server ID tracking 3 years ago
nielsandriesse b3a6d90a1b Add missing strings 3 years ago
nielsandriesse a098ba7125 Remove unused code 3 years ago
nielsandriesse 8512691f2b Clean 3 years ago
nielsandriesse 05d688a6d3 Add missing enum case 3 years ago
nielsandriesse 955e3abdad Clean up group update handling 3 years ago
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 3 years ago
nielsandriesse 21acdfc835 Clean up thread model 3 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 3 years ago
Niels Andriesse f552d51423 Remove unused code 3 years ago
Niels Andriesse fee6861847 Minor refactoring 3 years ago
Niels Andriesse 3daa6e8de1 Fix deletion handling 3 years ago
Niels Andriesse d516aa7ecb Fix profile updating bug 3 years ago
Niels Andriesse 4eb7d19b3e Fix initial rooms fetch 3 years ago
Niels Andriesse c747acfc04 Fix compact poll deletion handling 3 years ago
nielsandriesse 95d3311fac Debug 3 years ago
nielsandriesse deb301e5b7 Update for OGS API changes 3 years ago
Niels Andriesse e9df213bfe Put feature flags in one place 3 years ago
Niels Andriesse f7613e09bf Convert remaining file server usages 3 years ago
Niels Andriesse 0ceb434215 Update AttachmentUploadJob for the V2 file server 3 years ago
Niels Andriesse 6b97f86c32 Update AttachmentDownloadJob for the V2 file server 3 years ago
Niels Andriesse 3e11c505e2 Create FileServerAPIV2 3 years ago
Niels Andriesse b516647125 Switch to production 3 years ago
Niels Andriesse b3f9824b91 Add documentation 3 years ago
Niels Andriesse bd895dbf29 Fix group member adding bug 3 years ago
Niels Andriesse 5021357661 Fix timestamp issue 3 years ago
Niels Andriesse cfb1d78d35 Fix compact polling auth token handling 3 years ago
Niels Andriesse f865bd8125 Enable V2 open groups 3 years ago
Niels Andriesse b85edbe900 Fix potentially duplicated requests 3 years ago
nielsandriesse accd838017 Merge branch 'dev' into snode-list-updating 3 years ago
Niels Andriesse 2f67073a5a Implement new snode pool updating method 3 years ago
Niels Andriesse 5a242ce4e8 Debug 3 years ago
Niels Andriesse fac376bf55 Use HTTP for default session open group server 3 years ago
Niels Andriesse edd9139fe0 Manually vacuum the DB every time the app is started 3 years ago
Niels Andriesse 709c0f1463 Add documentation 3 years ago
Niels Andriesse 4774123ad4 Update V2 open group poller for compact polling 3 years ago
Niels Andriesse 3ab7733b77 Merge branch 'closed-groups' into open-group-performance 3 years ago
Niels Andriesse 35bd22f542 Clean 3 years ago
Niels Andriesse 3f1358ac4d Debug 3 years ago
Ryan ZHAO d897952ce0 use sent timestamp instead of received timestamp for sorting and UI 3 years ago
Ryan ZHAO d360353c17 fix open group message sort id 3 years ago
Ryan ZHAO 7a593862c9 minor fix 3 years ago
Ryan ZHAO 72807c52b7 fix open group message timestamp 3 years ago
Niels Andriesse 2eab06cec9 Add compact poll endpoint 3 years ago
Niels Andriesse beabf0c9c0 Implement closed group logic changes 3 years ago
Niels Andriesse b30d6f9add Store V2 open group auth token promises per room 3 years ago
Niels Andriesse e5216ffe7c Add documentation 3 years ago
Niels Andriesse f6c7e2264d Add documentation 3 years ago
Niels Andriesse 5f37eddfa1 Show a loader while a group is updating 3 years ago
Niels Andriesse f2f5dcdfc2 Implement closed group logic changes 3 years ago
Niels Andriesse 2763ee0d1a Clean 3 years ago
Niels Andriesse 1a12487292 Clean 3 years ago
nielsandriesse a76c43973f Increase TTL & remove PoW 3 years ago
ryanzhao 1893ccac76 use TSIncomingMessage's serverTimastamp to make more sense 3 years ago
ryanzhao b501579917 clean 3 years ago
Ryan ZHAO fcc3c27779 fix unread message count bug 3 years ago
Niels Andriesse 49b989f529 Fix job ID uniqueness 3 years ago
Niels Andriesse e71eb45642 Fix success handler not being called 3 years ago
Niels Andriesse 209882fb3e Correctly handle multiple untrusted attachments 3 years ago
Niels Andriesse d3412be955 Merge branch 'dev' into deferred-attachment-downloads 3 years ago
Ryan ZHAO cf148fe845 handle access to selected photos & optimise the process of request photo library permission 3 years ago
Niels Andriesse b43f22945c Stop running contacts migration 3 years ago
Niels Andriesse aa68e91a4d Fix attachment download resumption 3 years ago
nielsandriesse 5ed5c02ad4 Debug 3 years ago
nielsandriesse a360fa7721 Merge branch 'dev' into deferred-attachment-downloads 3 years ago
nielsandriesse 330e4ce8ad Fix unnecessary V2 open group requests 3 years ago
Niels Andriesse edc4a7a71b Move files 3 years ago
Niels Andriesse 9da6b6c31f Add certificates 3 years ago
Niels Andriesse b334ad3446 Update for back-end changes 3 years ago
Niels Andriesse d4b745a322 Cache open group preview images 3 years ago
Niels Andriesse 2dab160599 Actually set open group images 3 years ago
Niels Andriesse c42a694ef6 Show group images 3 years ago
Niels Andriesse 50ab253576 Add group image endpoint 3 years ago
Niels Andriesse 1e9b1520e1 Fix auth token handling 3 years ago
Niels Andriesse e5b5f2cf07 Put V2 open groups behind a feature flag 3 years ago
Niels Andriesse 44783ddfef Update ConfigurationMessage for V2 open groups 3 years ago
Niels Andriesse 7558e0b32a Re-enable joining V1 open groups 3 years ago
Niels Andriesse 5504f74659 Show V2 open group member count 3 years ago
Niels Andriesse 46fb792c96 Fix file downloading 3 years ago
Niels Andriesse e50f4da63e Update AttachmentDownloadJob & AttachmentUploadJob for V2 open groups 3 years ago
Niels Andriesse fd7081ee94 Add TODOs 3 years ago
Niels Andriesse a9b44b36fe Validate message signatures 3 years ago
Niels Andriesse 10224350ea Handle token expiration 3 years ago
Niels Andriesse b4f7a925d9 Keep track of moderators 3 years ago
Niels Andriesse a7dd7e1bf0 Hook up suggestion grid 3 years ago
Niels Andriesse 053f581bb2 Fix accidental commit 3 years ago
Niels Andriesse 516f815521 Debug 3 years ago
Niels Andriesse e2814fb884 Implement open group suggestion grid 3 years ago
Niels Andriesse 6a8c717d7b Add get room info endpoint 3 years ago
nielsandriesse 717fe32a73 Fix build 3 years ago
nielsandriesse c6f4443eed Update more logic for V2 open groups 3 years ago
nielsandriesse e5764264b3 Debug 3 years ago
nielsandriesse 09b4b7d388 Update MessageSender for V2 open groups 3 years ago
nielsandriesse a36fa3f4f8 Debug 3 years ago
nielsandriesse 4c9728b4fe Update other APIs for V2 open groups 3 years ago
nielsandriesse a5f831fd6c Keep track of last message & last deletion server IDs 3 years ago
nielsandriesse 1d65f717b5 Add auth token handling 3 years ago
Niels Andriesse 34bbff1ab4 Implement OpenGroupAPIV2 3 years ago
Niels Andriesse 76e5515610 Quick fix missing username bug 3 years ago
Niels Andriesse 960e500acd Don't auto-download attachments from untrusted contacts 3 years ago
Niels Andriesse 54fc54e7b9 Minor refactoring 3 years ago
Niels Andriesse 8738829358 Fill in media saved notification implementation gaps 3 years ago
Niels Andriesse b4e94c3f93 Add comment 3 years ago
Niels Andriesse d9a81ecb11 Fix profile handling 3 years ago
Niels Andriesse 92304fa590 Clean & debug 3 years ago
Niels Andriesse b023b1be94 Fix profile updating issue 3 years ago
Niels Andriesse 0d5a932a50 Fix multi device display name updating issue 3 years ago
Niels Andriesse ea43d68c72 Fix multi device display name updating issue 3 years ago
nielsandriesse 81d091c43f Fail gracefully if the user doesn't have a name set 3 years ago
Niels Andriesse 52eaa8cdeb Disable data extraction notifications for now 3 years ago
Niels Andriesse b21163a421 Handle media saved notifications 3 years ago
Niels Andriesse 9d6d68d33e Handle screenshot notifications 3 years ago
Niels Andriesse 08015f570f Create DataExtractionNotificationInfoMessage 3 years ago
Niels Andriesse b1cd34c9b4 Create DataExtractionNotification 3 years ago
Niels Andriesse defb3a751b Update protobuf for data extraction notifications 3 years ago
Niels Andriesse 82690259b2 Clean protobuf 3 years ago
Niels Andriesse aaa0d736ed Fix desktop attachment compatibility 3 years ago
Niels Andriesse cf07fc1b1a Implement nicknames 3 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 3 years ago
Niels Andriesse 205ff8a660 Prepare for upcoming contact changes 3 years ago
Niels Andriesse c12593775c Fix potential padding issue 3 years ago
Niels Andriesse 73bbaf9ce7 Potentially fix attachment issue 3 years ago
Niels Andriesse ee0472e923 Minor refactoring 3 years ago
Niels Andriesse 92c1187ba4 Show closed group updates at the right place 3 years ago
Niels Andriesse c988a368bb Show empty threads after linking devices 3 years ago
nielsandriesse 2d6bf235d7 Sync expiration timer updates 3 years ago
nielsandriesse f488453140 Update configuration message for contacts 3 years ago
nielsandriesse 268971af9a Update protobuf 3 years ago
nielsandriesse 5d74bf1cca Fix promise deallocations 3 years ago
nielsandriesse afeabf0fe9 Potentially fix race condition 3 years ago
Niels Andriesse c5c6bf2624 Debug 3 years ago
Niels Andriesse 10e6d114a0 Sync profile updates 3 years ago
Niels Andriesse 1b9aa9aea2 Keep things backwards compatible 3 years ago
Niels Andriesse f6ced55003 Debug 3 years ago
Niels Andriesse 646910d115 Fix crash 3 years ago
Niels Andriesse e945a6779f Include profile in configuration sync message 3 years ago
Niels Andriesse d532badd09 Merge branch 'dev' into multi-device 3 years ago
Niels Andriesse 994ee82a89 WIP 3 years ago
nielsandriesse ac41400ede Implement conversation screen subtitle 3 years ago
nielsandriesse 810aa42f03 Finish link preview UI 3 years ago
Niels Andriesse e30ab4d29b Merge branch 'dev' into ui 3 years ago
Niels Andriesse 37c652c0d0 Make admins send latest closed group key pair when members are added 3 years ago
nielsandriesse 3f85544594 Finish replies UI 3 years ago
nielsandriesse 1924e01edc Merge branch 'multi-device' into ui 3 years ago
nielsandriesse dd56da7619 Merge branch 'closed-groups' into multi-device 3 years ago
nielsandriesse ece564988e Allow self-sending of closed group control messages 3 years ago
nielsandriesse 4803b96eb1 Only handle the first config sync message after restoration 3 years ago
nielsandriesse 65f397ccd1 Debug 3 years ago
Niels Andriesse 90e53e5cef Redesign conversation screen part 1 3 years ago
Niels Andriesse 1fda8e4249 Add encryption key pair request message 3 years ago
Niels Andriesse b721794a51 Fix closed group update handling from before it was created 3 years ago
Niels Andriesse a86f1d3bcf Handle case where admin left the group 3 years ago
Niels Andriesse 82cbf2ab41 Clean 3 years ago
Niels Andriesse 57f7bc88eb Fix leftover merge conflicts 3 years ago
Niels Andriesse 7acb6c9ac3 Merge branch 'dev' into multi-device 3 years ago
Niels Andriesse 54e902c848 Fix various warnings 3 years ago
Niels Andriesse 922aa17df7 Fix logs 3 years ago
Niels Andriesse 804377c5a4 Minor refactoring 3 years ago
Niels Andriesse 4e590da262 Fix incorrect timer update copy in closed groups 3 years ago
Niels Andriesse 21f72f8caf Make group updates more descriptive 3 years ago
Niels Andriesse fcb8e467d2 Add missing bit of logic 3 years ago
Niels Andriesse f84f94de60 Fix synced messages not being marked as sent 3 years ago
Niels Andriesse afd7a5a3dc Fix open group message syncing 3 years ago