Commit Graph

749 Commits (37abdc6a4ef121a682d02f97317bd70e7c9f5926)

Author SHA1 Message Date
Mikunj 0491ceacf1 Added seed dialog.
Fixed issue where incorrect language was used to generate seed.
6 years ago
Beaudan 7782c58d14 Slight refactor of PoW file to make easier to test plus some tests for the PoW functionality 6 years ago
Beaudan be878f00a4 Updated names of some test functions. Added yarn commands to view output of different tests. Added a test and updated existing test to use more efficient asserts 6 years ago
Beaudan a676459229 Added test for returning the correct prekeybundle after creating a contact, updated the in memory store to reflect how sasha updated the actual store a while ago 6 years ago
Beaudan c93aff7ebe Setup grunt/yarn etc for loki tests plus wrote first 2 simple libloki-protocol tests 6 years ago
Mikunj 2715e79268 Fix conversation status not being reset upon conversation messages deletion.
Fix incoming friend request not replacing old friend requests.
Fixed incorrect function name.
6 years ago
sachaaaaa 05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
Handle session reset, Loki style
6 years ago
Beaudan 1e3886cca8 More consistent naming of key storage functions, moved some loki messenger only functions into new file 6 years ago
sachaaaaa 91f018da57 remove unused var 6 years ago
sachaaaaa f2e1b9b8de more missing awaits 6 years ago
sachaaaaa 933d7730db Remove superfluous commented out line 6 years ago
sachaaaaa 7e612700f7 Handle session reset, Loki style 6 years ago
Mikunj 62c802445b Allow generating mnemonic for different languages. 6 years ago
Mikunj 85298012e4 Added generation of seed in registration. 6 years ago
Beaudan 28fc5793a7 More explicit function names, shifted friend request sent logic to more sensible place 6 years ago
Beaudan 91a8a82e39 More PR suggestions, now recover from early exit before friend request is sent 6 years ago
Beaudan 2de01d0343 Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption 6 years ago
Beaudan 051e4dd22c XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable 6 years ago
Mikunj c10e81355d Moved profile name saving to account manager. 6 years ago
Mikunj 06f79eb3fd Allow user to set display name when registering. 6 years ago
sachaaaaa f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
Added profile sharing and setting nicknames.
6 years ago
Mikunj f596c8125a Only attach profile if name is set. 6 years ago
Mikunj 18d638fdbf Fix sending and receiving profile.
Don't delete profile after if we set the display name to empty.
6 years ago
Beaudan fa63ce5ade Review changes 6 years ago
Beaudan 35c89ea4d9 Big refactor, prekeybundle moved back to a content message 6 years ago
Mikunj 14ee7fec65 Moved and nicknames into conversations. 6 years ago
Mikunj aa57693fce Update profile if we get it through a message. 6 years ago
Mikunj 774c52a407 Added dynamic profile fetching in conversation.
Added setting profile when sending DataMessage.
6 years ago
Beaudan 7c92eeac30 Fixing cache clearing bug 7 years ago
sachaaaaa 4309a10ebc
Merge pull request #60 from BeaudanBrown/develop-mode-settings
Removed some repetetive logs, developer mode settings
7 years ago
sachaaaaa b03548637c Fix getKeysForNumber when staleDevices is not empty 7 years ago
Beaudan b515fc41e7 Removed some repetetive logs, made the polling time a variable and lower the polling time and PoW difficulty if we are in debug mode 7 years ago
Beaudan b65d6a6d2c Refactor friend request status to use a state enum variable 7 years ago
sachaaaaa 7e783639fd Fix inexistent enum value for Prekey Type 7 years ago
Mikunj 9fd822a7e3 Remove preKeys on friend request decline. 7 years ago
Mikunj 0dabce9e28 Remove preKeyBundle from message.
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
7 years ago
Mikunj 149da3374a Fix pkb not being saved on the first cipher message. 7 years ago
Mikunj 0404f42738 Merge commit 'dbdd52b4eb11ca71adcae547c931b5cfda1ada11' into fix/pkb-type 7 years ago
sachaaaaa dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
Friend request fixes
7 years ago
Mikunj 05f8a1c43a Handle pkb friend request accept. 7 years ago
Mikunj 4bb93e6e3c rename sendEmptyMessageWithPreKeys to sendFriendRequestAccepted. 7 years ago
Mikunj bd15f426f9 Attack a type to preKeyBundleMessage. 7 years ago
Mikunj f29a515fdf Fix up typos. 7 years ago
Mikunj 8a0b8e1f00 Store the state of the friend request inside the conversation. 7 years ago
Mikunj 484efd34a3 Added friend request message expiration. 7 years ago
Mikunj db1145c0ce Fix handling empty content. 7 years ago
sachaaaaa ccb5ff79d4 Use correct log level in development mode and use log.debug() for some of the reoccurring logs 7 years ago
Mikunj dba6a36e83 removed old unused code. 7 years ago
Mikunj 75219966a7 Fixed preKeyBundle decryption. 7 years ago
Mikunj b21a7197f7 Fix preKeyBundle not sending. 7 years ago