Commit graph

168 commits

Author SHA1 Message Date
alexliebowitz
16122216bb Fix filenames for downloaded upgrades
Windows and Linux were incorrect
2017-03-24 03:21:12 -04:00
Alex Liebowitz
c086842972 Revert newest upgrade changes (need more work) 2017-03-22 07:21:48 -04:00
Alex Liebowitz
534ea2aa75 Light refactoring of upgrade process
- Use Node instead of lbrynet to get platform info
 - Factor out code that picks the download URI into its own function
 - Remove out-of-date code for checking old versions of MacOS
2017-03-22 07:17:53 -04:00
Alex Liebowitz
4958f9decf Make upgrade process better at killing old daemons
- Manually call xdg-open instead of using shell.openItem(), which
   doesn't reliably work from the main process
 - If there's a connection error or timeout when asking the daemon
   to close, fall back on force killing
2017-03-22 07:17:53 -04:00
Alex Grintsvayg
5322e935a7 minor 2017-03-17 18:23:29 -04:00
Alex Grintsvayg
20064ee558 some progress, but needs more work 2017-03-17 18:05:25 -04:00
Alex Liebowitz
3c2f3abe8e Real update system
- Now asks the daemon to close, even if it wasn't started by the same
   app
 - Improved UX during upgrade process (cancel buttons, final dialog
   where you approve the update, etc.)
 - Saves updates in temp directory, closes app and launches the installer
2017-03-17 13:15:07 -04:00
Alex Liebowitz
0b79e49452 Add context menu
Has Cut, Copy, Paste, and when in developer mode there's also Inspect Element
2017-03-17 07:53:34 -04:00
Alex Grintsvayg
9f30e007c0 open http links in external app (probably browser) 2017-03-15 19:12:52 -04:00
Alex Liebowitz
a2af284ccf Update Watch logic for new API wrapper
Also was using some keys that are no longer available from file_list -
fixed that
2017-03-14 12:35:39 -04:00
Alex Liebowitz
5a0dc0b5c2 Fix progress bars
Wasn't calling file_list with full_status to get total bytes (won't be
needed after lbrynet DB refactor is merged)
2017-03-14 12:15:24 -04:00
Alex Liebowitz
6a46ccc565 Change nOut to nout
Needed for compatibility with this lbrynet change:
https://github.com/lbryio/lbry/pull/513
2017-03-10 15:37:56 -05:00
Alex Liebowitz
a5feefe294 Use updated key name in file_list (was lbry_uri, now name) 2017-03-09 17:55:17 -05:00
Alex Liebowitz
3b428c394c Convert UI to use outpoints for unique IDs
This covers *almost* everything. There are a couple of places that
still use names or SD hashes because the APIs haven't been updated
yet.
2017-03-09 17:55:17 -05:00
Alex Liebowitz
cba3ec3091 Add unique ID to JSON-RPC requests 2017-03-09 17:54:46 -05:00
Alex Liebowitz
1567a2de0a Revamp API wrapper code
- Refactoring throughout JSON-RPC, lbrynet and Lighthouse logic
 - Move JSON-RPC stuff into its own module
 - Add ability to directly call API methods on the lbry and lighthouse
   modules, e.g. lbry.file_list({name: 'what'})
 - New-style API calls use promises instead of callbacks.
 - Converted some lbrynet calls and all Lighthouse calls to use the new
   style
2017-03-09 17:54:46 -05:00
Alex Grintsvayg
60ed5cce14 switch from lbry-web-ui to ui 2017-03-09 12:31:40 -05:00
Alex Grintsvayg
05d4a07312 Add 'ui/' from commit 'efc28c6644b7970403e3a11523cbf6e336eee52d'
git-subtree-dir: ui
git-subtree-mainline: 3886c7bf2c
git-subtree-split: efc28c6644
2017-03-09 12:11:46 -05:00