Commit graph

4290 commits

Author SHA1 Message Date
Alex Liebowitz
9532f8b29a Publish: improve state management of names
Save the new name as soon as it's entered instead of after resolution,
so that it's possible to publish before the results from resolve()
and claim_list_mine() come back.
2017-04-17 09:47:38 -04:00
Alex Liebowitz
d926967e49 Correct and simplify metadata processing in dummy pending publishes 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
9b4d8ec266 more show/purchase work 2017-04-17 09:47:38 -04:00
Alex Liebowitz
300264e364 Publish: add Terms of Service agreement field 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
280f98902c closer to real watch 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
3b29be467b turn off things 2017-04-17 09:47:38 -04:00
Alex Liebowitz
62db745c38 Publish: convert nsfw field to submit a boolean 2017-04-17 09:47:37 -04:00
Alex Liebowitz
83f43ab54f More improvements for better compatibility with new claim format
- Update Pending Files cache to match format more closely
 - Except null instead of string for pending publishes
2017-04-17 09:47:37 -04:00
Jeremy Kauffman
736d769fa6 minor fixes, cost cache 2017-04-17 09:47:37 -04:00
Jeremy Kauffman
e3222c853a fix merge 2017-04-17 09:47:37 -04:00
Jeremy Kauffman
c8c97e97ca update 2017-04-17 09:47:37 -04:00
Alex Liebowitz
dabedf38a1 Update and refactor pending publish caching system for channels 2017-04-17 09:46:51 -04:00
Alex Liebowitz
b9f0ed2f5b Refactor lbry.getCostInfo() 2017-04-17 09:46:51 -04:00
Alex Liebowitz
d3258d9de6 Convert lbry.getCostInfo() to use URIs 2017-04-17 09:46:51 -04:00
Alex Liebowitz
dce87e9079 Switch name check to URI check in lbry.getCostInfo() 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
b38998dc18 more fixes 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
a5d1695084 more tweaks and turn off auth 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
cb4af24cd7 more clean up and fixes 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
0313ba941a approaching acceptable 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
0ba69ff32b stashed cleanup 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
029b0b9c3a more 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
cbb3da2795 rebase fix 1 of n 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
ecf54f400b mostly garbage 2017-04-17 09:46:51 -04:00
Jeremy Kauffman
575db85477 so far 2017-04-17 09:46:51 -04:00
Alex Liebowitz
498618e39b More revisions to Welcome screen
- Eliminate intro page
 - Add "verify email" page
 - Move buttons into individual components
 - Claim reward (not handling reporting success/failure yet)
2017-04-17 09:46:51 -04:00
Alex Liebowitz
326d066353 Fixes to Email page
Still not actually working (doing it in the welcome screen right
now)
2017-04-17 09:46:51 -04:00
Alex Liebowitz
26aba5fb04 Random corrections and style fixes 2017-04-17 09:46:51 -04:00
Alex Liebowitz
e47f86bbfe Add mock for reward/new action 2017-04-17 09:46:51 -04:00
Alex Liebowitz
647eb80eef Add wrapper code for creating rewards
Calls the API and displays notices for success and errors
2017-04-17 09:46:51 -04:00
Alex Liebowitz
7b7e361bdd Add notification bar
Used for displaying global info (e.g. "you just got a reward.")
Can be displayed from anywhere in the app using events.
2017-04-17 09:46:51 -04:00
Alex Liebowitz
b975fab1bb Add email section to Welcome screen 2017-04-17 09:46:51 -04:00
Alex Liebowitz
70d2f7c823 Add auth to lbryio.js 2017-04-17 09:46:51 -04:00
Alex Liebowitz
1dbbf8fc01 Style tweaks 2017-04-17 09:46:51 -04:00
Alex Liebowitz
e0f05f43a6 Log requests and responses in lbryio module 2017-04-17 09:46:51 -04:00
Alex Liebowitz
7f8bf8a2e2 Add Welcome screen 2017-04-17 09:46:51 -04:00
Alex Liebowitz
3727e275c4 Update registration logic and move to app.js 2017-04-17 09:46:51 -04:00
Alex Liebowitz
5587d2f0f5 Convert Register page to Email page 2017-04-17 09:46:51 -04:00
Alex Liebowitz
8964398c2e Register page fixes 2017-04-17 09:46:51 -04:00
Alex Liebowitz
98b38855a2 Progress toward register page 2017-04-17 09:46:51 -04:00
Alex Liebowitz
b074242783 Quick cleanup in main.js
Friends don't let friends mix tabs and spaces
2017-04-17 09:46:51 -04:00
Alex Liebowitz
892607174a Reward: style and formatting tweaks 2017-04-17 09:46:51 -04:00
Alex Liebowitz
3749e0393a Reward: add error handling
Also adds Notice component
2017-04-17 09:46:51 -04:00
Alex Liebowitz
8299e229fd Improve lbry.io API code
- Send as form data
 - Handle errors better
2017-04-17 09:46:51 -04:00
Alex Liebowitz
c374a59af8 Add access token and wallet address to GitHub reward 2017-04-17 09:46:50 -04:00
Alex Liebowitz
6cc2892399 More progress on Rewards
* Add wrapper for lbry.io API
 * View and basic logic for GitHub reward (not working yet)
2017-04-17 09:46:50 -04:00
Alex Liebowitz
c5d4941535 Basic views for reward and reward list pages 2017-04-17 09:46:50 -04:00
Alex Grintsvayg
64387a5215 Bump version: 0.9.2rc24 → 0.10.0rc1 2017-04-13 13:15:26 -04:00
Alex Grintsvayg
37f66d9144 Bump version: 0.9.2rc23 → 0.9.2rc24 2017-04-12 18:51:06 -04:00
Jack Robison
690d3eb487 Bump version: 0.9.2rc22 → 0.9.2rc23 2017-04-12 18:13:26 -04:00
Alex Grintsvayg
e6b208ebb4 Bump version: 0.9.2rc21 → 0.9.2rc22 2017-04-12 15:23:09 -04:00
Alex Grintsvayg
1d10068393 Bump version: 0.9.2rc20 → 0.9.2rc21 2017-04-12 12:25:56 -04:00
Alex Grintsvayg
a8242bf7b2 Bump version: 0.9.2rc19 → 0.9.2rc20 2017-04-12 11:46:04 -04:00
Alex Grintsvayg
7e1ca07073 Bump version: 0.9.2rc18 → 0.9.2rc19 2017-04-12 11:05:11 -04:00
Jack Robison
8dca65f135 Bump version: 0.9.2rc17 → 0.9.2rc18 2017-04-11 19:31:05 -04:00
Jack Robison
7c2a60798c Bump version: 0.9.2rc16 → 0.9.2rc17 2017-04-11 19:31:01 -04:00
Jack Robison
60e3f3d12b Bump version: 0.9.2rc15 → 0.9.2rc16 2017-04-11 19:30:52 -04:00
Alex Liebowitz
a7050303c2 My Files: pass signing info into file tiles 2017-04-11 00:21:08 -04:00
Alex Liebowitz
d7644c0394 My Files: include channel names in URIs 2017-04-11 00:15:50 -04:00
Alex Liebowitz
5577b436d3 Use resolve API method on splash screen 2017-04-11 00:14:52 -04:00
Alex Liebowitz
c49d229eef Publish: name resolution bugfixes 2017-04-11 00:12:34 -04:00
Alex Liebowitz
f64ad6e169 Fix merging error in FileActions 2017-04-10 22:42:20 -04:00
Alex Liebowitz
7e8fdf625f Style fixes and cleanup
- Remove a couple of unused files from lbry.js
 - Couple of style fixes
2017-04-10 21:55:35 -04:00
Alex Liebowitz
326493c0b7 Publish: use new discover() RPC method 2017-04-10 21:55:35 -04:00
Alex Liebowitz
562f7dd399 Update Watch page for channels 2017-04-10 21:55:35 -04:00
Alex Liebowitz
a80b2da5c2 Update Show page for channels 2017-04-10 21:55:34 -04:00
Alex Liebowitz
f8e3eff378 Update My Files for channel compatibility 2017-04-10 21:55:34 -04:00
Alex Liebowitz
3b72938b74 Refactor file tiles to be compatible with channels 2017-04-10 21:55:34 -04:00
Alex Liebowitz
af32951d1f Add uri.normalizeLbryUri() 2017-04-10 21:51:57 -04:00
Alex Liebowitz
839e629362 Fix bid position and claim sequence regexes 2017-04-10 21:51:57 -04:00
Alex Grintsvayg
5ce9319b07 switch to get_unused_address whe loading wallet page 2017-04-10 18:02:22 -04:00
Jack Robison
bb6a297606 Bump version: 0.9.2rc14 → 0.9.2rc15 2017-04-10 14:36:21 -04:00
Alex Grintsvayg
096659bc90 fix availability call 2017-04-10 13:19:11 -04:00
Jack Robison
7327b03c7f Bump version: 0.9.2rc13 → 0.9.2rc14 2017-04-10 11:13:13 -04:00
Jack Robison
79bfeadd18 Bump version: 0.9.2rc12 → 0.9.2rc13 2017-04-10 10:05:46 -04:00
alexliebowitz
3edd8d837c Merge pull request #34 from lbryio/channels
Channels, round 2
2017-04-10 04:10:05 -04:00
Alex Liebowitz
797f9eafdc Publish: Add rudimentary error handling when creating new channels 2017-04-10 04:09:01 -04:00
Alex Liebowitz
6c68eb5e2b Publish: Add length check for new channel names 2017-04-10 04:08:43 -04:00
Alex Liebowitz
a9cb0abcc6 Publish: Rename "None" new channel option to "Anonymous" 2017-04-10 04:07:48 -04:00
Alex Liebowitz
b599e5343c Publish: wait for new channel to appear before updating list 2017-04-10 04:06:15 -04:00
Jack Robison
1963556566 Bump version: 0.9.2rc11 → 0.9.2rc12 2017-04-09 21:54:19 -04:00
Jack Robison
857cd174ed Bump version: 0.9.2rc10 → 0.9.2rc11 2017-04-09 17:56:41 -04:00
Jack Robison
b921e71b9e Bump version: 0.9.2rc9 → 0.9.2rc10 2017-04-09 00:04:08 -04:00
Alex Grintsvayg
85a81d753b Bump version: 0.9.2rc8 → 0.9.2rc9 2017-04-08 19:24:24 -04:00
Alex Liebowitz
f91653ff2d Publish: add ability to choose and create channels 2017-04-08 08:37:27 -04:00
Alex Liebowitz
461f5f95d9 Add new channel auth status indicator to file tiles 2017-04-08 08:37:27 -04:00
Alex Liebowitz
3e2b675e7b Add channel indicator component 2017-04-08 08:37:27 -04:00
Alex Liebowitz
af6981c164 Add functions for building and parsing new-style URIs 2017-04-08 08:37:03 -04:00
Alex Grintsvayg
3c380d380d Bump version: 0.9.2rc7 → 0.9.2rc8 2017-04-06 19:14:19 -04:00
Alex Grintsvayg
e4e20f4b1b Bump version: 0.9.2rc6 → 0.9.2rc7 2017-04-06 18:55:07 -04:00
Alex Grintsvayg
32f54f18c8 Bump version: 0.9.2rc5 → 0.9.2rc6 2017-04-06 18:39:50 -04:00
Alex Grintsvayg
33dbd94402 Bump version: 0.9.2rc4 → 0.9.2rc5 2017-04-06 18:16:47 -04:00
Alex Grintsvayg
8ac55020bf Bump version: 0.9.2rc3 → 0.9.2rc4 2017-04-06 17:50:40 -04:00
Alex Grintsvayg
122e5ccc16 Bump version: 0.9.2rc2 → 0.9.2rc3 2017-03-29 11:10:57 -04:00
Alex Grintsvayg
d1314ccee1 renamed config value 2017-03-29 11:07:29 -04:00
alexliebowitz
b3aa61cf47 Merge pull request #14 from lbryio/publish-cache
Make publishes appear immediately in My Files
2017-03-28 02:26:45 -04:00
Jeremy Kauffman
2a0cf1d6db Merge branch 'master' into fast_pages 2017-03-27 09:46:47 -04:00
Alex Liebowitz
b8f1447b7e Don't display Downloading bar on published files
We handled this just fine until recently; not sure where the regression
happened.
2017-03-27 03:10:02 -04:00
Alex Liebowitz
e523906901 Make publishes appear immediately in My Files
Uses a client side cache to simulate entries in the file manager and
claims list.

Also adds new utility functions for using Local Storage.
2017-03-27 03:10:02 -04:00
Alex Liebowitz
a0903e6b4f Style tweaks 2017-03-27 01:44:13 -04:00
Jeremy Kauffman
dc13de7160 make page changes fast 2017-03-26 14:30:18 -04:00
Alex Grintsvayg
e19c16c1ce Bump version: 0.9.2rc1 → 0.9.2rc2 2017-03-25 10:29:07 -04:00
Alex Liebowitz
dead2bdeb3 Add Mac and Windows installer launching
Also starts a detached process so the window doesn't get held open
(many GUI apps launch the interface in a new process, so xdg-open
returns immediately, but it's not guaranteed).
2017-03-25 10:26:50 -04:00
Alex Liebowitz
71e8d42b27 Minor style fixes and tweaks 2017-03-25 10:24:34 -04:00
Alex Liebowitz
052eef5f81 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-25 10:24:34 -04:00
Alex Liebowitz
f51b720e05 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-25 10:24:34 -04:00
Alex Grintsvayg
2a7a36db15 no faultstring in jsonrpc 2 2017-03-25 10:22:02 -04:00
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
7d32c8e98f Bump version: 0.9.1 → 0.9.2rc1 2017-03-21 17:12:29 -04:00
Alex Grintsvayg
3ffaf8db4b Bump version: 0.9.1rc6 → 0.9.1 2017-03-17 18:24:20 -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 Grintsvayg
06f77936a3 Bump version: 0.9.1rc5 → 0.9.1rc6 2017-03-17 13:11:38 -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
b8d48d6e03 Bump version: 0.9.1rc4 → 0.9.1rc5 2017-03-16 17:56:25 -04:00
Jeremy Kauffman
aeaf09af6c Merge pull request #15 from lbryio/external_links
open http links in external app (probably browser)
2017-03-16 10:00:46 -04:00
Alex Grintsvayg
ccfaf6af03 Bump version: 0.9.1rc3 → 0.9.1rc4 2017-03-15 21:53:37 -04:00
Alex Grintsvayg
0ee255ec18 Bump version: 0.9.1rc2 → 0.9.1rc3 2017-03-15 21:26:08 -04:00
Alex Grintsvayg
55cf3d5dc7 Bump version: 0.9.1rc1 → 0.9.1rc2 2017-03-15 19:59:59 -04:00
Alex Grintsvayg
9f30e007c0 open http links in external app (probably browser) 2017-03-15 19:12:52 -04:00
Alex Grintsvayg
08c66556a4 Bump version: 0.9.0 → 0.9.1rc1 2017-03-15 12:34:32 -04:00
Alex Grintsvayg
6aea51ea9e Revert "Bump version: 0.9.0 → 0.9.1rc1"
This reverts commit ba09f47ea1.
2017-03-15 12:32:58 -04:00
Alex Grintsvayg
ba09f47ea1 Bump version: 0.9.0 → 0.9.1rc1 2017-03-15 12:30:52 -04:00
Alex Grintsvayg
4e8ab78e4d Revert "Bump version: 0.9.0 → 0.9.001"
This reverts commit 7bb6909493.
2017-03-15 11:31:18 -04:00
Alex Grintsvayg
7bb6909493 Bump version: 0.9.0 → 0.9.001 2017-03-15 11:19:07 -04:00
Alex Grintsvayg
edcdd43b0e sync app and ui versions 2017-03-15 11:14:58 -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 Grintsvayg
07701d03bd update package author/email 2017-03-13 14:12:56 -04:00
Jeremy Kauffman
a427f974b5 remove obsolete info 2017-03-13 11:44:15 -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