Commit Graph

3001 Commits (2311bd132877928911fdf18d85579b764b799de0)

Author SHA1 Message Date
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 6 years ago
Mikunj 0b87f13699 Added password dialog view. 6 years ago
Mikunj 26ba553e6a Added menu options to set, change and remove password. 6 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.
6 years ago
Mikunj 7a96b8446a Rename launcherView to passwordView. 6 years ago
Mikunj 6620244d03 Show main window on correct password; 6 years ago
Mikunj 65015063d2 Add css styling.
Added input and button.
6 years ago
Mikunj 6b9764e6c6 Added launcher view. 6 years ago
sachaaaaa 05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
Handle session reset, Loki style
6 years ago
sachaaaaa 12d69244e9
Update js/signal_protocol_store.js
Co-Authored-By: BeaudanBrown <beau@loki.network>
6 years ago
Beaudan 1e3886cca8 More consistent naming of key storage functions, moved some loki messenger only functions into new file 6 years ago
Beaudan Campbell-Brown 86e04b89e2 Update js/models/conversations.js
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
Mikunj Varsani 8afbb9b3e5 Update js/views/conversation_view.js
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
sachaaaaa e62c661ed9 Treat session reset success messages as incoming, handle failure differently 6 years ago
sachaaaaa 962c947605 Prevent "secure session reset succeeded" message from being cleaned up at startup 6 years ago
sachaaaaa f2e1b9b8de more missing awaits 6 years ago
sachaaaaa df80249cba fix missing awaits 6 years ago
sachaaaaa 4cc614269e add setter for session reset state 6 years ago
Beaudan Campbell-Brown 1dc621a917 Fix using FriendStatusEnum for session reset
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
sachaaaaa 7e612700f7 Handle session reset, Loki style 6 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 6 years ago
Beaudan eb7a0dbb3a Fix failing tests except for problematic spellcheck package 6 years ago
Mikunj 62c802445b Allow generating mnemonic for different languages. 6 years ago
Mikunj 8c78a78b41 Converted to dark theme. 6 years ago
Mikunj 85298012e4 Added generation of seed in registration. 6 years ago
Mikunj 89a19fd09b Added accordian style to registration view 6 years ago
sachaaaaa 4be6af569a
Merge pull request #69 from Mikunj/ui/header
Updated current profile display in UI
6 years ago
sachaaaaa 06ece60da8 Fix glitch in last message shown in conversation list 6 years ago
Mikunj 570a7f5bf8 Fix header not updating when editing nickname. 6 years ago
Mikunj 08f9101fec Hide new contact view unless we have no matches. 6 years ago
Mikunj 1cb09cad2a Add header options. 6 years ago
Mikunj 14ecbc3f35 Moved MainHeader into its own Backbone View. 6 years ago
Mikunj c6d1c8303e Added a validation to check if a pubkey is prefixed by 05. 6 years ago
Mikunj cb3599eea8 Removed IdentityKeyHeader. 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
sachaaaaa 5212edcee2
Merge pull request #68 from Mikunj/ui/profile-icons
Automatically generate profile icons
6 years ago
Mikunj c8db0e200d Fixed incorrect await. 6 years ago
Mikunj d60f147659 replaced jdenticon with identicon.js.
Cleanup any unused images.
6 years ago
Mikunj c10e81355d Moved profile name saving to account manager. 6 years ago
sachaaaaa b5cb582e94
Merge pull request #67 from sachaaaaa/log_level
More log level finetuning
6 years ago
Mikunj 06f79eb3fd Allow user to set display name when registering. 6 years ago
Mikunj 961eb53915 Auto-generate profile images on conversations. 6 years ago
sachaaaaa 8f22babfcc More log level finetuning 6 years ago
Mikunj d2c9def028 Fix code comment. 6 years ago
Mikunj cc0b74fe4a Don't show ourselves in the contact list. 6 years ago
Mikunj d6d71cb51e Show all contacts. 6 years ago
Mikunj 3eb193cca2 Added accordian 6 years ago
Mikunj fbc3832cfb Show friends in inbox. 6 years ago
Mikunj 62135a1810 Added a section below conversation list.
Fixed scrolling on conversations.
6 years ago
sachaaaaa f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
Added profile sharing and setting nicknames.
6 years ago
Scott Nonnenberg 313d08344a Request configuration sync on startup of new version 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
Mikunj 610a305e23 Added localised strings.
Only override name when editing profile.
6 years ago
Beaudan 35c89ea4d9 Big refactor, prekeybundle moved back to a content message 6 years ago
Mikunj f7e9af4e3a Reverse changes to contact.js 6 years ago
Mikunj b929b11f07 Override unused signal code.
minor fix.
6 years ago
Mikunj ac4e04912c Minor language fixes. 6 years ago
Mikunj 14ee7fec65 Moved and nicknames into conversations. 6 years ago
Mikunj 98c4b5d77b Added editing own nickname.
Fix dark theme support.
Fix notification titles.
6 years ago
Mikunj 449f44cc5a Added changing user nicknames. 6 years ago
Mikunj 6ce9d6a08c Added nickname dialog. 6 years ago
Mikunj cf24e42a0e Added storing nicknames. 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
Mikunj 0e6c14eb5c Added profile model. 6 years ago
Scott Nonnenberg a291834301 Dismiss typing indicator when ConversationView is not loaded 6 years ago
Scott Nonnenberg 70eed938d9 Store arrayBuffers in database for remote identity keys 6 years ago
Scott Nonnenberg 79a861a870 Typing Indicators 6 years ago
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 6 years ago
Scott Nonnenberg 447a217397 Bulletproof getNumberInfo against missing ourNumber 6 years ago
sachaaaaa 4309a10ebc
Merge pull request #60 from BeaudanBrown/develop-mode-settings
Removed some repetetive logs, developer mode settings
6 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 6 years ago
sachaaaaa 5c128e9d91 remove `isFriend` from conversation default 6 years ago
Beaudan f67c71bda1 Fixed comment typo 6 years ago
Beaudan b65d6a6d2c Refactor friend request status to use a state enum variable 6 years ago
sachaaaaa 05602b3281 Fix accessing $messageField before assignment 7 years ago
Mikunj d37b02421c Merge commit '96595a46d81b2d7361dfde213392e203b18ee279' into fix/prekey-saving 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
sachaaaaa 19b6698a24
Merge pull request #53 from BeaudanBrown/read-receipts
Read receipts setting
7 years ago
Beaudan bed9ce5be2 Added read receipt checkbox to the settings window which enables or disables the sending and receiving of read receipts 7 years ago
sachaaaaa dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
Friend request fixes
7 years ago
Mikunj f29a515fdf Fix up typos. 7 years ago
Mikunj 4fd709be35 Removed unused state. 7 years ago
Mikunj 50e8f65a7e updated doc. 7 years ago
Mikunj fb8b0e1d40 Auto accept friend request if we have both incoming and outgoing friend requests. 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 bd103e2ad2 Minor fixes. 7 years ago
sachaaaaa c9d6a11b1a
Merge pull request #49 from sachaaaaa/log_level
Use correct log level in development mode
7 years ago
Mikunj 628ec5fc76 Updated truncate length to 25. 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 7d8719f250 Fix incoming friend request messages being deleted.
Set pending outgoing friend requests to declined if we receive an incoming friend request.
Fix text input not blocking.
7 years ago
Mikunj dba6a36e83 removed old unused code. 7 years ago
Mikunj 110387508f UI fixes. 7 years ago
Mikunj 4ebdfab633 Update handling of new message logic. 7 years ago
Mikunj cf3e9716ed Update new conditions for friend accepted and key exchange complete in conversations model. 7 years ago
Mikunj 6689802513 Truncate text to 15 characters. 7 years ago
Mikunj a9c1f628a4 Switched to using html select. 7 years ago
Mikunj 5f4a44ba8c Remove returning models from block/unblock.
lint fixes.
7 years ago
Mikunj a3a7f4a621 Merge commit 'ef44a123ed4ada70489d78fde16a86c60ced34a8' into feature/blocking 7 years ago
Beaudan ff3cc7a315 Review changes 7 years ago
Mikunj 1bb608b55a Fixed minor issues. 7 years ago
Mikunj 04bf00d24f Missed semicolon 7 years ago
Beaudan 489ec8fc65 Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way
Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after

Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error

create unique index for contact prekeys (to allow using REPLACE)

Fixed lint stuff that merge brought back
7 years ago
Mikunj dbb92aa9c8 Added i18n messages. 7 years ago
Mikunj ba390e354b Added unblocking.
Added styling.

Trigger changes on both conversation and messages when we block/unblock.
7 years ago