Scott Nonnenberg
02fbea96c0
Move base64 conversions off of the main thread
2018-08-16 17:39:30 -07:00
Scott Nonnenberg
911bc63c67
Move all arrayBuffer<->base64 functions to be async
2018-08-16 17:01:32 -07:00
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.
2018-08-16 17:01:32 -07:00
Scott Nonnenberg
006700f9a2
Properly style countdown icon in iOS light/dark themes
2018-08-16 16:55:55 -07:00
Scott Nonnenberg
ffd40d41fe
Update strings for 'fa' language
2018-08-16 16:55:55 -07:00
Scott Nonnenberg
37f3054976
Both UI timer and database timer will remove expired message
2018-08-15 17:45:24 -07:00
Scott Nonnenberg
9f920aa35b
Re-enable orphaned attachment cleanup
2018-08-15 17:45:24 -07:00
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.
2018-08-15 17:00:32 -07:00
Scott Nonnenberg
b3d56276a8
Conversations now better take advantage of wide screens
2018-08-15 17:00:32 -07:00
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
2018-08-15 14:58:55 -07:00
Scott Nonnenberg
a247ffe5cf
When iOS device has been linked, use iOS color scheme
2018-08-15 11:22:45 -07:00
Scott Nonnenberg
0eb2c958a5
Handle contact: don't exit early if timer is 'invalid'
2018-08-15 11:20:53 -07:00
Scott Nonnenberg
621883a0ce
Disable drag and drop if it's not a file attachment
2018-08-15 11:17:52 -07:00
Scott Nonnenberg
fba8e8d479
Add logging to help diagnose protocol handler false positives
2018-08-14 13:06:59 -07:00
Scott Nonnenberg
816228fde0
v1.15.4-beta.1
2018-08-10 15:02:43 -07:00
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
2018-08-10 13:13:25 -07:00
Scott Nonnenberg
516a729a45
Additional logging for sql commands in debug mode
2018-08-10 13:13:25 -07:00
Scott Nonnenberg
7983300f4a
Use base64 strings for incoming message cache instead of binary
2018-08-10 13:13:25 -07:00
Scott Nonnenberg
9eefc0c29b
SettingsView: Fix logging
2018-08-10 12:18:48 -07:00
Scott Nonnenberg
8c8475076b
Data layer: return null if id not in database, not empty model
2018-08-09 16:09:41 -07:00
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
2018-08-09 10:11:12 -07:00
Scott Nonnenberg
85ab4e567f
Let server know that we failed to process message on cache error
2018-08-09 10:11:12 -07:00
Scott Nonnenberg
e086d521f1
Increase the timeout for database updates
2018-08-09 10:11:12 -07:00
Scott Nonnenberg
04e8ebb270
Style scrollbar
2018-08-09 10:11:12 -07:00
Scott Nonnenberg
d3629e53b3
Ensure that scroll down button is always on top of conversation
2018-08-08 09:40:28 -07:00
Scott Nonnenberg
ae6876a153
Ensure that error in handleDataMessage is treated as error
2018-08-08 09:40:12 -07:00
Scott Nonnenberg
61429090ff
v1.15.3-beta.1
2018-08-07 19:01:26 -07:00
Scott Nonnenberg
727925a266
Clean up old messages, better handle errors from sending
2018-08-07 18:29:33 -07:00
Scott Nonnenberg
bf63c7cc13
Ensure that safety number change banner is on top of messages
2018-08-07 17:43:48 -07:00
Scott Nonnenberg
9accf63fdb
Ensure that the metadata overlay is on top of all overlays
2018-08-07 17:43:48 -07:00
Scott Nonnenberg
a771546ee8
v1.15.2-beta.1
2018-08-07 08:30:18 -07:00
Scott Nonnenberg
52ee6abf52
Provide needed function to migration process
...
And disable attachment cleanup for now
2018-08-07 08:30:18 -07:00
Scott Nonnenberg
f926a08aa8
v1.15.1-beta.1
2018-08-06 18:37:23 -07:00
Scott Nonnenberg
e2e575210f
Fix lint issue in _modules.scss
2018-08-06 18:22:30 -07:00
Scott Nonnenberg
6e193456f9
Eliminate orphaned external message files on startup
...
Attachments, visual attachment thumbnails, video attachment screenshots
Quote thumbnails
Contact avatars
2018-08-06 18:08:10 -07:00
Scott Nonnenberg
44dec45995
Ensure that all messages in cache are migrated properly
2018-08-06 18:08:10 -07:00
Scott Nonnenberg
9ff80469a5
In partially-successful group send, don't start expire timer
2018-08-06 18:08:10 -07:00
Scott Nonnenberg
9ed1ee90f8
Move expiring message time earlier if read sync has earlier time
2018-08-06 18:08:10 -07:00
Scott Nonnenberg
a01db40e27
Ensure that a SQL command timeout results in an error
2018-08-06 18:08:10 -07:00
Scott Nonnenberg
4b3ddef955
Allow for 'error' status on incoming messages not just outgoing
2018-08-06 18:08:10 -07:00
Scott Nonnenberg
1d18c5686d
Fix problems with transparency on some macOS computers
2018-08-06 18:08:10 -07:00
Scott Nonnenberg
59f955ff30
On error handling cached message, show error then delete
2018-08-06 18:08:10 -07:00
sha-265
381cb06be8
Fix text alignment for RTL messages ( #2597 )
2018-08-03 09:26:36 -07:00
Scott Nonnenberg
185c05ceba
v1.15.0-beta.10
2018-08-02 22:39:22 -07:00
Scott Nonnenberg
8180417611
Update conversation first on timer change to eliminate flicker
2018-08-02 22:31:27 -07:00
Scott Nonnenberg
22613c8cc4
Set disappearing check timer reliably - on all message saves
2018-08-02 22:31:27 -07:00
Scott Nonnenberg
9dd756f96a
v1.15.0-beta.9
2018-08-02 19:24:37 -07:00
Scott Nonnenberg
e13f431456
Build libcrypto.a on Ubuntu 14.04 for maximum compatibility
2018-08-02 19:12:18 -07:00
Scott Nonnenberg
fe84e92359
node-sqlcipher update: always build, statically link openssl
2018-08-02 17:32:51 -07:00
Scott Nonnenberg
c56ea55e36
Fix duplicate message detection
2018-08-02 17:32:51 -07:00