Commit Graph

4850 Commits (341c5e4ed84e11cfa68b5235453ae44283e2b244)
 

Author SHA1 Message Date
sachaaaaa c1d6e6113f ValidateNumber now accepts pubkeys instead of phone numbers. This allows starting a conversation with a pubkey. 7 years ago
sachaaaaa b043a469a2 Change regex that filters potentially valid contacts in search bar to match a pub key 7 years ago
sachaaaaa 1866aed432 Accomodate for upcoming signature in websocket connection header 7 years ago
sachaaaaa 536908b1c4 Temporarily prevent re-connecting when socket is disconnected 7 years ago
sachaaaaa 187424f84a Change HTTP header from X-Signal-Agent to X-Loki-Messenger-Agent. 7 years ago
sachaaaaa 4f3b036fee Skip decrypting messages coming from websocket (no client-server encryption) 7 years ago
Scott Nonnenberg 57d13dad57 data/removeMessage: no need for additional model instantiation 7 years ago
Scott Nonnenberg 02fbea96c0 Move base64 conversions off of the main thread 7 years ago
Scott Nonnenberg 911bc63c67 Move all arrayBuffer<->base64 functions to be async 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 006700f9a2 Properly style countdown icon in iOS light/dark themes 7 years ago
Scott Nonnenberg ffd40d41fe Update strings for 'fa' language 7 years ago
jcktm f8d0910b16
Merge pull request #1 from sachaaaaa/bypass_sms_registration
Bypass SMS verification
7 years ago
sachaaaaa 516f0a9916 Replace phone number with pubkey as identity. Remove unused keys and skip sending keys to server. (#2) 7 years ago
sachaaaaa 9638639045 Bypass SMS verification 7 years ago
Scott Nonnenberg 37f3054976 Both UI timer and database timer will remove expired message 7 years ago
Scott Nonnenberg 9f920aa35b Re-enable orphaned attachment cleanup 7 years ago
Scott Nonnenberg 52aae1245b v1.15.5 7 years ago
Scott Nonnenberg cb62cb958a Merge branch 'development' 7 years ago
Scott Nonnenberg 15751f3521 MessageReceiver.queueAllCached: Give event loop a rest
We don't want to queue multiple hundreds of messages at once, so we
let the event loop catch up every 20 messages queued.
7 years ago
Scott Nonnenberg b3d56276a8 Conversations now better take advantage of wide screens 7 years ago
Scott Nonnenberg fedfbed304 Copy quoted message contents into quote on receipt
Also:
  - visually distinguish any reference we couldn't verify on receipt
  - show toast on quote click if we can't scroll to message
  - toast visuals redesigned to match rest of app
7 years ago
Scott Nonnenberg a247ffe5cf When iOS device has been linked, use iOS color scheme 7 years ago
Scott Nonnenberg 0eb2c958a5 Handle contact: don't exit early if timer is 'invalid' 7 years ago
Scott Nonnenberg 621883a0ce Disable drag and drop if it's not a file attachment 7 years ago
Scott Nonnenberg fba8e8d479 Add logging to help diagnose protocol handler false positives 7 years ago
Scott Nonnenberg d61e959f5c v1.15.4 7 years ago
Scott Nonnenberg 64553d3295 Merge tag 'v1.15.4-beta.1' 7 years ago
Scott Nonnenberg 816228fde0 v1.15.4-beta.1 7 years ago
Scott Nonnenberg 3c49e59d6b Remove some extraneous code in main.js
Attempted settings save on close may be a problem
Had multiple handlers for media-permissions events
7 years ago
Scott Nonnenberg 516a729a45 Additional logging for sql commands in debug mode 7 years ago
Scott Nonnenberg 7983300f4a Use base64 strings for incoming message cache instead of binary 7 years ago
Scott Nonnenberg 9eefc0c29b SettingsView: Fix logging 7 years ago
Scott Nonnenberg 8c8475076b Data layer: return null if id not in database, not empty model 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 85ab4e567f Let server know that we failed to process message on cache error 7 years ago
Scott Nonnenberg e086d521f1 Increase the timeout for database updates 7 years ago
Scott Nonnenberg 04e8ebb270 Style scrollbar 7 years ago
Scott Nonnenberg d3629e53b3 Ensure that scroll down button is always on top of conversation 7 years ago
Scott Nonnenberg ae6876a153 Ensure that error in handleDataMessage is treated as error 7 years ago
Scott Nonnenberg bf805652d8 v1.15.3 7 years ago
Scott Nonnenberg f63a6734ed Merge tag 'v1.15.3-beta.1' 7 years ago
Scott Nonnenberg 61429090ff v1.15.3-beta.1 7 years ago
Scott Nonnenberg 727925a266 Clean up old messages, better handle errors from sending 7 years ago
Scott Nonnenberg bf63c7cc13 Ensure that safety number change banner is on top of messages 7 years ago
Scott Nonnenberg 9accf63fdb Ensure that the metadata overlay is on top of all overlays 7 years ago
Scott Nonnenberg 5c8b211db0 v1.15.2 7 years ago
Scott Nonnenberg b4e98f8d8a Merge tag 'v1.15.2-beta.1' 7 years ago
Scott Nonnenberg a771546ee8 v1.15.2-beta.1 7 years ago
Scott Nonnenberg 52ee6abf52 Provide needed function to migration process
And disable attachment cleanup for now
7 years ago