Commit graph

220 commits

Author SHA1 Message Date
Jeremy Kauffman
f2d6bc3dcf fix search result uri building and empty array reduce warning 2017-04-20 19:26:29 -04:00
Jeremy Kauffman
a66a5edc67 Merge pull request #49 from lbryio/uri-improvements
Improve URI module
2017-04-19 14:11:44 -04:00
Alex Liebowitz
ca6d55da21 Add special support for building channel claims in lbryuri module
Extends lbryuri.build() and lbryuri.parse() to support special
keys, contentName and channelName. These put the right values in the
"name" and "path" position for both anonymous claims and channel
content claims, which lets us write code that can deal with either type
without special logic.
2017-04-19 14:06:29 -04:00
Jeremy Kauffman
395a48980d world's worst loading screen was truly the worst 2017-04-18 17:02:21 -04:00
Jeremy Kauffman
b30bfd9f61 auth fix and partial other auth fix 2017-04-18 15:45:15 -04:00
Alex Liebowitz
7a4e9ad656 Rename uri module and its functions 2017-04-18 15:14:56 -04:00
Alex Liebowitz
3ac31df63f Discover: update search to use new format from Lighthouse 2017-04-17 19:13:20 -04:00
Alex Liebowitz
cf1107050d Show: prevent prompt for purchase if user already has a copy 2017-04-17 17:20:25 -04:00
Alex Liebowitz
bbab1f064a Show: don't display price if file is already downloaded 2017-04-17 17:20:25 -04:00
Alex Liebowitz
94b60beebc Update download notice modal to include price 2017-04-17 17:20:24 -04:00
Jeremy Kauffman
c252c757b0 minor changes 2017-04-17 16:45:51 -04:00
Jeremy Kauffman
e9c8abd307 rewards flow changes 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
8d67d36ad9 views, rewards, fixes for no api, other fixes 2017-04-17 09:47:38 -04:00
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
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
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
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
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
1dbbf8fc01 Style tweaks 2017-04-17 09:46:51 -04:00
Alex Liebowitz
7f8bf8a2e2 Add Welcome screen 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
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
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 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
c49d229eef Publish: name resolution bugfixes 2017-04-11 00:12:34 -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 Grintsvayg
5ce9319b07 switch to get_unused_address whe loading wallet page 2017-04-10 18:02:22 -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
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 Grintsvayg
d1314ccee1 renamed config value 2017-03-29 11:07:29 -04:00
Jeremy Kauffman
2a0cf1d6db Merge branch 'master' into fast_pages 2017-03-27 09:46:47 -04:00
Jeremy Kauffman
dc13de7160 make page changes fast 2017-03-26 14:30:18 -04:00
Alex Grintsvayg
2a7a36db15 no faultstring in jsonrpc 2 2017-03-25 10:22:02 -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
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
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
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