Beaudan
415d0858e8
Allow spaces in password
6 years ago
sachaaaaa
a1255dd31e
Merge pull request #77 from Mikunj/password-protection
...
Password protection
6 years ago
Mikunj
e1aba93aea
Merge signal 1.18.1 changes.
6 years ago
Beaudan Campbell-Brown
1303603db9
Apply suggestions from code review
...
Co-Authored-By: Mikunj <Mikunj@users.noreply.github.com>
6 years ago
Mikunj
9e995bde6c
Review fixes.
...
Updated tests.
6 years ago
Mikunj
0b87f13699
Added password dialog view.
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
6b9764e6c6
Added launcher view.
6 years ago
Mikunj
08f9101fec
Hide new contact view unless we have no matches.
6 years ago
Beaudan
051e4dd22c
XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable
6 years ago
Mikunj
75bbf374f5
Default icon background to transparent.
6 years ago
Mikunj
d60f147659
replaced jdenticon with identicon.js.
...
Cleanup any unused images.
6 years ago
Mikunj
d75dee4fef
Fix up new line.
6 years ago
Mikunj
961eb53915
Auto-generate profile images on conversations.
6 years ago
sachaaaaa
248c9fb4e9
Ensure the contact prekey returned is always the latest available
6 years ago
Scott Nonnenberg
bde1462159
Change sessions.id to a TEXT field to prevent type coercion
6 years ago
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
6 years ago
Mikunj
9fd822a7e3
Remove preKeys on friend request decline.
6 years ago
Beaudan
ff3cc7a315
Review changes
6 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
6 years ago
Mikunj
34f43088ff
Fix incoming messages being deleted on startup.
7 years ago
Mikunj
4148628e70
Remove any unsent messages when app is started.
7 years ago
Mikunj
33ee45b819
Cleaned up SQL for getMessagesByConversation.
7 years ago
Mikunj
1150f0f915
Allow fetching conversation messages by a specific type.
7 years ago
Mikunj
d5154bef73
Move version 7 schema to version 6.
7 years ago
Mikunj
e678d84d7e
Oops forgot semi colons
7 years ago
Mikunj
abe7170b4e
Added sql deletion of contact pre keys and contact signed pre keys
7 years ago
Mikunj
98185fa6fd
Added sql migration.
7 years ago
Mikunj
77602e3dbb
Moved contactPreKey and contactSignedPreKey to sql.
7 years ago
Mikunj
525007f944
Added fetching preKey by recipient.
7 years ago
Mikunj
f589fdac5c
Merge signal changes into branch.
7 years ago
Scott Nonnenberg
fb670ad6b9
Remove IndexedDB files after removing IndexedDB database
7 years ago
Scott Nonnenberg
9f647f00d8
A couple fixes for the data layer, legacy message upgrade/migrate
7 years ago
Scott Nonnenberg
f11dd18536
Be resilient to malformed ephemeral.json
7 years ago
Scott Nonnenberg
1755e0adfd
Move all remaining stores to SQLCipher
7 years ago
Scott Nonnenberg
a7d78c0e9b
Sealed Sender support
...
https://signal.org/blog/sealed-sender/
7 years ago
Scott Nonnenberg
2cfbfe477a
Better handle large numbers of messages in cache on startup
7 years ago
Scott Nonnenberg
cd60bdd08a
Move conversations to SQLCipher
7 years ago
Scott Nonnenberg
48d937b66a
Follow symlinks on target file path as well as user/config paths
7 years ago
Scott Nonnenberg
998c35dcb3
Split configuration into low and high traffic files
...
Also, we're now handling config ourselves instead of using
electron-config and config dependencies.
7 years ago
Scott Nonnenberg
496ebf2a47
Store SQLCipher decryption key in separate file
...
First, we write the key a whole lot less. We write it on creation, then
never again.
Second, it's in a file we control very closely. Instead of blindly
regenerating the key if the target file generates an error on read,
we block startup unless the error is 'ENOENT' - the file isn't there
at all.
This still allows for the key.txt file to be deleted or corrupted
somehow, but it should be a lot less common than the high-traffic
config.json used for window location and media permissions.
7 years ago
Scott Nonnenberg
9f920aa35b
Re-enable orphaned attachment cleanup
7 years ago
Scott Nonnenberg
a247ffe5cf
When iOS device has been linked, use iOS color scheme
7 years ago
Scott Nonnenberg
fba8e8d479
Add logging to help diagnose protocol handler false positives
7 years ago
Scott Nonnenberg
c88df69094
New SQL indices and query tweaks to eliminate table scans
...
Also: New logging on client side to track performance of db queries
7 years ago
Scott Nonnenberg
727925a266
Clean up old messages, better handle errors from sending
7 years ago
Scott Nonnenberg
6e193456f9
Eliminate orphaned external message files on startup
...
Attachments, visual attachment thumbnails, video attachment screenshots
Quote thumbnails
Contact avatars
7 years ago
Scott Nonnenberg
c56ea55e36
Fix duplicate message detection
7 years ago