Commit Graph

60 Commits (e540497724c703e7d4deee9aa3ecf6d016e0a5a3)

Author SHA1 Message Date
ryanzhao e540497724 update last hash persistence 3 years ago
Ryan Zhao 034f2ecc22 send messages with authentication 3 years ago
Ryan Zhao 0b0f0a3787 retrieve messages authenticated for 1-1 chats 3 years ago
Ryan Zhao 43ca54c0a0 refactor to use Atomic wrapper 3 years ago
RyanZhao 7cd0079b37
Merge pull request #599 from mpretty-cyro/fix/update-last-message-hash-after-registering-jobs
Fix - Update last message hash after registering jobs
3 years ago
Morgan Pretty b90904ebbd Updated the code to only update the last message hash once the MessageReceiveJobs have been created 3 years ago
Morgan Pretty 1492232224 Made some optimisations to open group deletion handling
Added a new OpenGroupServerIdLookup to make it easier to get a database id via an open group server id
Added a migration to generate the above data
Updated the handleCompactBody method to stop early if there are no messages to delete (would previously enumerate all interactions regardless)
Updated the handleCompactBody to fetch the mapping for the deleted message so we can avoid enumerating all interactions
3 years ago
Ryan Zhao 8652268557 add logs & fix PN 3 years ago
Ryan Zhao 7a677a1800 move pollers to one working queue to avoid race condition 3 years ago
ryanzhao cd97b9c3e8 minor fix on poller threading 3 years ago
ryanzhao b2ab984586 refactor on timer and polling threading 3 years ago
Ryan Zhao d21c5329e3 further improvements to move poller into background threads 3 years ago
Ryan Zhao 16c9b7793a move pollers to background threads 3 years ago
Ryan Zhao e8e120666b move message poller to back ground thread 3 years ago
Ryan Zhao 6c64d580b8 move open group polling to background thread 3 years ago
Ryan Zhao ce83de5c46 fix crash of dictionary.subscript.getter for closed groups 3 years ago
RyanZhao fbd30ca8e5
Merge pull request #500 from RyanRory/improvements
Improvements
4 years ago
ryanzhao d6d041a74f fix closed group threading issue 4 years ago
ryanzhao da335a8401 clean 4 years ago
ryanzhao 7a354fe220 potentially fix the closed group not receiving messages issue 4 years ago
Ryan Zhao 08360273e6 save server hash for message receive jobs 4 years ago
Niels Andriesse 8f29010e89 Poll for closed group messages more frequently 4 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
4 years ago
Niels Andriesse 601062c9ef Fix timeSinceLastOpen usage 4 years ago
Brice-W 51ba97827d open group polling limit implementation 4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
nielsandriesse 73eeff3ea1 Debug 4 years ago
nielsandriesse 17688a66e6 Make closed group polling variable rate 4 years ago
Niels Andriesse bd04775cbf Implement open group invitations UI 4 years ago
Niels Andriesse 7e60d3c218 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse ad801d4f33 Fix threading 4 years ago
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 4 years ago
nielsandriesse 964cb8b326 Fix new deletion method 4 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 4 years ago
Niels Andriesse fee6861847 Minor refactoring 4 years ago
Niels Andriesse c747acfc04 Fix compact poll deletion handling 4 years ago
Niels Andriesse 5021357661 Fix timestamp issue 4 years ago
Niels Andriesse 5a242ce4e8 Debug 4 years ago
Niels Andriesse 4774123ad4 Update V2 open group poller for compact polling 4 years ago
Niels Andriesse 516f815521 Debug 4 years ago
nielsandriesse e5764264b3 Debug 4 years ago
nielsandriesse 4c9728b4fe Update other APIs for V2 open groups 4 years ago
Niels Andriesse 82690259b2 Clean protobuf 4 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 4 years ago
nielsandriesse 268971af9a Update protobuf 4 years ago
nielsandriesse 5d74bf1cca Fix promise deallocations 4 years ago
Niels Andriesse afd7a5a3dc Fix open group message syncing 4 years ago
Niels Andriesse 18c646987a Implement banning 4 years ago
Niels Andriesse 3e5baca72d Fix open group message deletion 4 years ago
Niels Andriesse 40d199a90b Clean up SnodeAPI 4 years ago