Commit graph

4352 commits

Author SHA1 Message Date
Scott Nonnenberg
c2e0ec5636 Group Blocking: Allow group metadata messages from own devices 2018-09-17 12:18:18 -07:00
Scott Nonnenberg
9c399624cc Support for blocking groups on mobile, via group/blocked syncs 2018-09-14 16:25:43 -07:00
Scott Nonnenberg
cfe561b3eb v1.16.1-beta.1 2018-09-06 16:02:02 -07:00
Scott Nonnenberg
bae4cecd22 iOS theme: higher visibility for embedded contact text 2018-09-06 13:36:32 -07:00
Scott Nonnenberg
46dac94ab8 Pop toast on attempted attach if image attachment is too large 2018-09-05 17:48:43 -07:00
Scott Nonnenberg
8290146721 Show generic attachment for non-loading/too-large images/videos 2018-09-05 17:48:43 -07:00
Scott Nonnenberg
d0c4152d99 backup.js: Remove references to nonexistent i18n strings 2018-09-05 14:17:38 -07:00
Scott Nonnenberg
ea8e76d9de MessageView: Only re-render on change of key conversation fields 2018-09-05 14:17:38 -07:00
Scott Nonnenberg
0d6c3c0bce Introduce new languages to the product 2018-09-05 14:17:38 -07:00
Scott Nonnenberg
efefb7a488 Update localization strings 2018-09-05 14:17:38 -07:00
Scott Nonnenberg
8584a79352 Don't treat sends to a group with unregistered users as an error 2018-09-05 14:17:38 -07:00
vitya1
e3ddf280fe Link labels with checkboxes in settings pane (#2704) 2018-08-30 09:49:46 -07:00
Scott Nonnenberg
f3b6161c75 v1.16.0-beta.1 2018-08-29 11:01:23 -07:00
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.
2018-08-29 10:40:16 -07:00
Scott Nonnenberg
f59ec92fef Routine update to Electron v2.0.8 2018-08-28 13:54:03 -07:00
Scott Nonnenberg
57d13dad57 data/removeMessage: no need for additional model instantiation 2018-08-16 17:39:30 -07:00
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