Commit Graph

3060 Commits (1a211e8df82f8edf4fd708f28d2b044d62639e22)

Author SHA1 Message Date
Mikunj efe95a70bc Fix review issues. 6 years ago
Mikunj 3c07d99a89 Fix variable names.
Fix module export to be more consistent.
6 years ago
Mikunj ddbbb1a6f0 Refactor fetch. 6 years ago
Beaudan 6ba7fb20b8 Fixed UI blocking when creating conversation, more review comments 6 years ago
Beaudan e735b3ca41 Review comments, moved swarmNodes database stuff to just be in data.js 6 years ago
Beaudan 4207d2d26b Removed accidental commented out line 6 years ago
Beaudan 9ff96a0250 Fixed tests and moved friend request status enum to new friends file 6 years ago
Beaudan 38ff70e2ec Fixed some little redundant stuff in the message and snode api 6 years ago
Beaudan d002d76d9f Fix unneccesary logic and copy paste trash 6 years ago
Beaudan 2bae6b5eed Removed online broadcast message type, changed ttl logic a little, add p2p address and port to the window object when recieve message 6 years ago
Beaudan 07076c27ae Moved friend status to window, added start of p2p api stuff 6 years ago
Beaudan b417edfc9b Added new protos for online broadcast messages, added db hits for getting friends, local server now instantiated on the window, now sending online broadcast messages when the local server starts 6 years ago
sachaaaaa 8f165da43d Fix sending loop that cycles indefinitely when offline 6 years ago
Beaudan f2acde219a Review suggestion 6 years ago
Beaudan f6d167eda1 Split logic for getting swarm nodes from db, getting from lokinet and saving to db. Now tracking successfulRequests when making queries on top of the completedNodes list 6 years ago
Scott Nonnenberg 1533fcc807 Fail over to all numbers in retry if errors don't have numbers 6 years ago
Scott Nonnenberg 92c071e083 Use the proper method for pulling attachments off disk for retry 6 years ago
Scott Nonnenberg c936859d09 Fix rendering bug with verified state in updateVerified() 6 years ago
Beaudan 9ece4e1fd8 Review comments 6 years ago
Beaudan dde63a552f Fix bug with replayable errors, fix bug with set representation of swarmNodes not being handled properly 6 years ago
Beaudan c83661ce3f Added DNS resolution error for when lokinet isn't working, now keeping track of the nodes that have been queried and not trying them again 6 years ago
Beaudan 561d60cfd5 Sending messages now in a while loop like retrieving messages, added a failureCount and only delete node urls if they fail 3 times 6 years ago
Scott Nonnenberg 374b9db493 Ensure that dialog pops up when permissions denied for voice note 6 years ago
Scott Nonnenberg 813924685e Link Previews 6 years ago
Scott Nonnenberg 0eb4760349 Show contact name on 'send anyway' dialog instead of $name$
Partial fix for #1914
6 years ago
Mikunj ac59e1249f Added db resetting.
Use built in signal warning view.
6 years ago
Mikunj e544cd4c88 Added confirmation dialog. 6 years ago
Beaudan Campbell-Brown dcfc97713b
Merge pull request #150 from sachaaaaa/display_nickname_on_friend_accept
Send profile along with friend request accept message
6 years ago
sachaaaaa adfb4ab371 work with session reset 6 years ago
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 6 years ago
Scott Nonnenberg 0ba25ff8d5 Multiple images can now be selected in file chooser and drag/drop 6 years ago
Mikunj e08a63d078 Merge development into lint 6 years ago
Mikunj f92e8485f8 Merge development into lint
Added gitattributes
6 years ago
Scott Nonnenberg 1e4b562922 Multiple images can now be selected in file chooser and drag/drop 6 years ago
Beaudan badaf40ca8 bit of readability and catching error (but just silencing for now) 6 years ago
Beaudan bdbdf15469 Added timeouts for requests so they don't for ages. Changed swarmNodes to be a set to work property with merge, now removing contact swarmNodes if they timeout 6 years ago
Beaudan 24553e29e7 Made swarm requests ACTUALLY not wait for them all to finish and stop saving swarmNodes as DB column 6 years ago
Beaudan 7b1799c418 Big ol' hunk o' chunk. Now using random.snode to populate swarm lists, now making multiple requests from said lists and they are processed as they complete rather than waiting for all to resolve 6 years ago
Beaudan f09f0f5721 Moved replenishSwarm into libloki-protocol and attached to the window 6 years ago
Beaudan 37ba762312 First stuff for contacting specific nodes for each contact. Hard coded to hit the same bootstrap node for now plus doesn't handle unreachable nodes/errors well yet 6 years ago
Beaudan Campbell-Brown ea1d007b4f
Merge pull request #136 from Mikunj/tests
Tests
6 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Beaudan Campbell-Brown c1dfd400f5
Merge pull request #131 from Mikunj/ttl-setting
Added TTL to settings.
6 years ago
Beaudan Campbell-Brown 1b681bdc98
Merge pull request #137 from Mikunj/fix/friend-display
Fix contact display
6 years ago
Mikunj Varsani f527e2a2ff
Update js/notifications.js 6 years ago
Mikunj 1f10a73e4f Updated strings. 6 years ago
Mikunj b8aa60b95d Added loki icon. 6 years ago
Mikunj feb8af476a Refactored BlockedNumberController. 6 years ago
Scott Nonnenberg 74bbdb88a5 Lint fixes 6 years ago
Scott Nonnenberg 16a821645f Preserve scroll position on toggle emoji panel, add attachment 6 years ago
Scott Nonnenberg 0de54e125c Improve caption editor usability, new 'add attachment' affordance 6 years ago
Scott Nonnenberg ac1a6d197a Enable sending multiple images in one message 6 years ago
Mikunj e69999a790 Fix condition order. 6 years ago
Mikunj 7341471ce7 Fix up notification. 6 years ago
Mikunj 78c5962ff0 Fixed contact not being added after friend request is accepted. 6 years ago
Scott Nonnenberg 7db7a3ad44 Preserve scroll position when adding/removing staged quote 6 years ago
Mikunj 7aad9417c7 Added blocked number controller tests 6 years ago
Mikunj faeb319c58 Added profile model test. 6 years ago
Scott Nonnenberg b08c10a547 FileInputView: Event on attachment change to hide/show microphone 6 years ago
Scott Nonnenberg 43e5d16020 Support for web socket communication with no signaling key 6 years ago
Mikunj 924c51d5c7 Removed min and max clamping in code.
This should be done UI and Server side instead.
6 years ago
Mikunj 24455fc8b7 Updated TTL to use slider. 6 years ago
Mikunj 235dbb2176 Added display of message ttl in settings.
Fixed setting message ttl.
6 years ago
Mikunj 87113b6cc1 Added message ttl setting storage 6 years ago
sachaaaaa 61c4447ab0
Merge pull request #126 from Mikunj/friend-request-notification
Fix notification display after friend request is accepted.
6 years ago
Mikunj 4d1f4fcb4f Moved loki_protocol_store.js into libloki/storage.js 6 years ago
Mikunj a12ed61cc1 Fix notification display after friend request is accepted. 6 years ago
Mikunj 070d18b514 Updated function calls. 6 years ago
sachaaaaa 5eb0bc51a4
Merge pull request #119 from sachaaaaa/pow-metrics
PoW statistical measurements
6 years ago
sachaaaaa 8c01bea913 variables name consistency and remove superfluous initialisation 6 years ago
Scott Nonnenberg b816638dea Fix some of the notification avatar colors 6 years ago
Scott Nonnenberg dc9f9dabfd Ensure that caption is shown even for single-image message 6 years ago
Scott Nonnenberg c0be4718fc Update delivered_to for outgoing with earlier delivery receipts 6 years ago
Scott Nonnenberg f9ea7be61f Reintroduce single attachment limit 6 years ago
Scott Nonnenberg 985b1d6aa6 New staged attachments UI, multiple image attachments per message 6 years ago
Scott Nonnenberg e4babdaef0 Updates to backup infrastructure 6 years ago
Scott Nonnenberg 47f834cf5c Encrypt device name on account create, on first launch if needed 6 years ago
Herohtar a21d63e450 Make notification initials consistent with everything else (#3006)
Make notification initials consistent with Avatar component
6 years ago
Herohtar 0b60af1c84 Don't compare a numeric value with a string when using the identity operator (#2989)
Fix comparison for emoji injection at cursor location
6 years ago
sachaaaaa e3138f8fde add yarn pow-metrics 6 years ago
Mikunj cbb62f4a71 Added tsx files to grunt watch.
Fixed minor bug in conversation view.
6 years ago
Mikunj a0b814bf7c limit max message length to 2000 characters.
Set task time limit to 3 minutes.
6 years ago
Mikunj 3690f4acda Added timeout argument to WorkerInterface. 6 years ago
Mikunj 6bcb259919 Added PoW error. 6 years ago
sachaaaaa 27674513ba
Merge branch 'development' into signal-v1.19 6 years ago
Mikunj a2f12ca18e Added option to copy conversation public key. 6 years ago
Mikunj 654b0dac84 Merge signal-master. 6 years ago
Beaudan 6113f13d3a Rip the worker logic out of message_receiver and add the functionality for it to work with pow. Fix pow tests to work with those changes 6 years ago
Mikunj f98fe910d5 Fix friend request retry not working. 6 years ago
Mikunj f92cc6cbd4 Added menu option to view seed. 6 years ago
Mikunj 0491ceacf1 Added seed dialog.
Fixed issue where incorrect language was used to generate seed.
6 years ago
Scott Nonnenberg 3851bf351f Throttle typing events, fix profile logging, fix group typing 6 years ago
sachaaaaa a1255dd31e
Merge pull request #77 from Mikunj/password-protection
Password protection
6 years ago
sachaaaaa bcc81e41e4
Merge pull request #81 from Mikunj/ui/unread-icon
Added unread indicator in conversation section.
6 years ago
sachaaaaa 4a2c618803
Update js/views/inbox_view.js
Co-Authored-By: Mikunj <Mikunj@users.noreply.github.com>
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
Mikunj 0cfabb5ffa Added unread indicator in conversations sections. 6 years ago
Mikunj 9e995bde6c Review fixes.
Updated tests.
6 years ago
sachaaaaa d8f4d1f313 Fixes to get production build working 7 years ago
Mikunj 0b87f13699 Added password dialog view. 7 years ago
Mikunj 26ba553e6a Added menu options to set, change and remove password. 7 years ago
Mikunj f53bec38a5 Added password inputs on registration screen.
Fix case where db is deleted but password hash still remains which causes user to never register.
Allow password to have symbols and other characters.
Added more tests.

Moved passHash from config into the sqlite db.
We can do this because we assume if sql failed to initialise then the key provided was wrong and thus we can show the user the password page.
7 years ago
Mikunj 7a96b8446a Rename launcherView to passwordView. 7 years ago
Mikunj 6620244d03 Show main window on correct password; 7 years ago
Mikunj 65015063d2 Add css styling.
Added input and button.
7 years ago
Mikunj 6b9764e6c6 Added launcher view. 7 years ago
sachaaaaa 05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
Handle session reset, Loki style
7 years ago
sachaaaaa 12d69244e9
Update js/signal_protocol_store.js
Co-Authored-By: BeaudanBrown <beau@loki.network>
7 years ago
Beaudan 1e3886cca8 More consistent naming of key storage functions, moved some loki messenger only functions into new file 7 years ago
Beaudan Campbell-Brown 86e04b89e2 Update js/models/conversations.js
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
7 years ago
Mikunj Varsani 8afbb9b3e5 Update js/views/conversation_view.js
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
7 years ago
sachaaaaa e62c661ed9 Treat session reset success messages as incoming, handle failure differently 7 years ago
sachaaaaa 962c947605 Prevent "secure session reset succeeded" message from being cleaned up at startup 7 years ago
sachaaaaa f2e1b9b8de more missing awaits 7 years ago
sachaaaaa df80249cba fix missing awaits 7 years ago
sachaaaaa 4cc614269e add setter for session reset state 7 years ago
Beaudan Campbell-Brown 1dc621a917 Fix using FriendStatusEnum for session reset
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
7 years ago
sachaaaaa 7e612700f7 Handle session reset, Loki style 7 years ago
Beaudan 13db2d666f Fixed test again after rebase, reworked some logic in the conversation validateNumber function to correctly reflect what libsignal thinks is valid 7 years ago
Beaudan eb7a0dbb3a Fix failing tests except for problematic spellcheck package 7 years ago
Mikunj 62c802445b Allow generating mnemonic for different languages. 7 years ago
Mikunj 8c78a78b41 Converted to dark theme. 7 years ago
Mikunj 85298012e4 Added generation of seed in registration. 7 years ago
Mikunj 89a19fd09b Added accordian style to registration view 7 years ago
sachaaaaa 4be6af569a
Merge pull request #69 from Mikunj/ui/header
Updated current profile display in UI
7 years ago
sachaaaaa 06ece60da8 Fix glitch in last message shown in conversation list 7 years ago
Mikunj 570a7f5bf8 Fix header not updating when editing nickname. 7 years ago
Mikunj 08f9101fec Hide new contact view unless we have no matches. 7 years ago
Mikunj 1cb09cad2a Add header options. 7 years ago
Mikunj 14ecbc3f35 Moved MainHeader into its own Backbone View. 7 years ago
Mikunj c6d1c8303e Added a validation to check if a pubkey is prefixed by 05. 7 years ago
Mikunj cb3599eea8 Removed IdentityKeyHeader. 7 years ago
Beaudan 28fc5793a7 More explicit function names, shifted friend request sent logic to more sensible place 7 years ago
Beaudan 91a8a82e39 More PR suggestions, now recover from early exit before friend request is sent 7 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 7 years ago
Beaudan 051e4dd22c XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable 7 years ago
sachaaaaa 5212edcee2
Merge pull request #68 from Mikunj/ui/profile-icons
Automatically generate profile icons
7 years ago
Mikunj c8db0e200d Fixed incorrect await. 7 years ago
Mikunj d60f147659 replaced jdenticon with identicon.js.
Cleanup any unused images.
7 years ago
Mikunj c10e81355d Moved profile name saving to account manager. 7 years ago
sachaaaaa b5cb582e94
Merge pull request #67 from sachaaaaa/log_level
More log level finetuning
7 years ago
Mikunj 06f79eb3fd Allow user to set display name when registering. 7 years ago
Mikunj 961eb53915 Auto-generate profile images on conversations. 7 years ago
sachaaaaa 8f22babfcc More log level finetuning 7 years ago
Mikunj d2c9def028 Fix code comment. 7 years ago
Mikunj cc0b74fe4a Don't show ourselves in the contact list. 7 years ago
Mikunj d6d71cb51e Show all contacts. 7 years ago
Mikunj 3eb193cca2 Added accordian 7 years ago
Mikunj fbc3832cfb Show friends in inbox. 7 years ago
Mikunj 62135a1810 Added a section below conversation list.
Fixed scrolling on conversations.
7 years ago