Commit graph

551 commits

Author SHA1 Message Date
Alex Liebowitz
f93ff2c1d7 Merge branch 'master' into development 2017-02-20 01:14:57 -05:00
Alex Liebowitz
a114f81543 Merge branch 'master' into development 2017-02-20 01:09:35 -05:00
Alex Liebowitz
1f4ec440df Fix error in FileTile when metadata is unavailable 2017-02-19 18:47:40 -05:00
Alex Liebowitz
bb26b5372a If get_availability gives an error, treat the stream as unavailable 2017-02-19 18:47:37 -05:00
Alex Grintsvayg
fbb11d78c7 Revert "Revert "Use get_availability to determine stream availability""
This reverts commit 24e43ba42e.

Ok, that wasn't it.
2017-02-18 09:59:13 -05:00
Alex Grintsvayg
24e43ba42e Revert "Use get_availability to determine stream availability"
This reverts commit c209c1f84f.

This commit may have broken downloading/watching by never showing the download button.
Let's see if reverting it fixes the issue. --grin
2017-02-18 09:53:05 -05:00
Alex Liebowitz
c209c1f84f Use get_availability to determine stream availability
More info than peer_count, and now has built-in timeout
2017-02-17 17:54:45 -05:00
Alex Liebowitz
c9a171ae28 Update how Publish page polls for file appearing in file manager
Formerly polled the full list of files; now looks up the specific file
by name.
2017-02-17 15:45:52 -05:00
Jeremy Kauffman
5099fe3ab2 use remote api to fetch featured names 2017-02-16 13:30:57 -05:00
Alex Liebowitz
38fdcd1e1b Watch: correct status check logic 2017-02-16 01:01:38 -05:00
Alex Liebowitz
ee44ce5001 Watch: correct status check logic 2017-02-16 00:19:10 -05:00
Alex Liebowitz
f070baf914 Watch: correct status check to look for "stopped" instead of "paused" 2017-02-15 17:24:30 -05:00
Alex Liebowitz
77830d1fb2 Change Watch page to recognize "stopped" status as playable 2017-02-15 17:19:47 -05:00
Alex Liebowitz
5292b069eb Change Watch page to recognize "paused" status as playable 2017-02-15 16:46:16 -05:00
Alex Liebowitz
c8754e4351 Round up line heights in TruncatedText (workaround for Clamp.js bug)
Clamp.js doesn't handle fractional-pixel line heights reliably. It
always rounds down the line height when calculating the target height
for the element, and you end up with one less line than you asked for.
2017-02-09 19:14:06 -05:00
Alex Liebowitz
e6f473e275 Switch to maintained fork of clamp.js 2017-02-09 19:11:25 -05:00
reillysmith
b1c320264e Update discover.js 2017-02-03 09:11:36 -08:00
Alex Liebowitz
ac5a588490 Referral: Fix ARIA label on "lookup failed" modal 2017-02-01 04:27:36 -05:00
Alex Liebowitz
fc6cd35025 Claim Code: fix missing space in confirm modal 2017-02-01 04:16:32 -05:00
Alex Liebowitz
deb67e6556 Don't time out on Publish page
lbry.getFileInfoWhenListed() now only times out if a timeout callback
is provided.
2017-02-01 04:11:16 -05:00
Alex Liebowitz
4f9e1a7c46 Fix display of LBRY URIs in FileTile 2017-02-01 03:43:19 -05:00
Alex Liebowitz
e7209aa19a Remove debug logic in load_screen.js
There were some !s in there that were only for debugging
2017-01-31 13:45:36 -05:00
Alex Liebowitz
810b94fa77 Add Cancel link when loading screen is lagging 2017-01-31 02:17:53 -05:00
Alex Liebowitz
34d04255de Convert load screens to use CSS 2017-01-31 02:06:53 -05:00
Jeremy Kauffman
e97a81e7d5 Merge pull request #148 from lbryio/published-file-tile-fixes
Fix bugs in display of published files
2017-01-30 12:26:39 -05:00
Alex Liebowitz
c3220bcb99 Update Show page to use new FileActions component 2017-01-30 03:46:37 -05:00
Alex Liebowitz
042c093666 Don't show "file not available" message if user has the file 2017-01-30 03:24:58 -05:00
Alex Liebowitz
eba0ac6842 Indicate files pending confirmation in FileTile 2017-01-30 03:24:57 -05:00
alexliebowitz
fe62548637 Merge pull request #146 from lbryio/fix-text-link-styles
Fix styling of normal text links
2017-01-26 02:41:40 -05:00
Alex Liebowitz
7ac9c599de Publish: fix detection of the user's own claim on a name 2017-01-25 00:43:01 -05:00
Alex Liebowitz
376bbed97c Fix styling of normal text links
Due to recent changes, they were appearing as text buttons
2017-01-24 22:39:36 -05:00
Alex Liebowitz
423d4fa47b Don't show error message if price for a file can't be retrieved
On search results pages, stream_cost_estimate is called on every
result. If there's some problem in the daemon that affects all calls
to stream_cost_estimate, this can lead to 25 error boxes. Better to
just suppress the error and not display a price.

Also switched to the new name for the daemon method (get_cost_est ->
stream_cost_estimate)
2017-01-24 19:29:47 -05:00
Alex Liebowitz
0af15751f7 Fix typo in "file unavailable" message
Missing period
2017-01-23 23:52:07 -05:00
Alex Liebowitz
f3a501cf14 Add temporary timeout for blob peer list lookups
Returns an empty array for the peer list if the API call takes more
than 6 seconds. If the lookup takes that long, there are almost never
never any peers.
2017-01-23 23:50:15 -05:00
Alex Liebowitz
3c339492a0 Use new API method name in lbry.getPeersForBlobHash() 2017-01-23 23:41:38 -05:00
Alex Liebowitz
13886f4156 Fix padding issue with download progress bar
Label was not wrapped in span, so the wrong styles were applying
2017-01-23 23:06:32 -05:00
Alex Liebowitz
ef393ca360 Simplify content wrapping logic in Link 2017-01-23 19:22:25 -05:00
Alex Liebowitz
b2fd38a1c8 Reduce padding around text buttons
After moving the padding to the content of buttons, we ended up with
extra padding around text buttons that wasn't there before. The
"Download" bar doesn't look great with no padding at all, but it needs
to match the text buttons so the text doesn't jump to the right when
it switches from "Download" (text button) to "Connecting" (progress bar).

So we pad both text buttons and progress bars just a little bit, less
than a standard button but enough that progress bars look OK.
2017-01-23 18:58:31 -05:00
Jeremy Kauffman
44412437ce unavailable content cleanup 2017-01-21 16:31:41 -05:00
Alex Liebowitz
e5b4aaf175 Revamp "file not available" message
- Don't fade out tile
 - Display message in place of buttons with an option to bypass the
   message
 - Factor out message into its own FileUnavailableMessage component
2017-01-21 01:52:35 -05:00
Alex Liebowitz
42517587ee Add FileUnavailableMessage component 2017-01-21 01:48:30 -05:00
Alex Liebowitz
3e33b5a2e8 Pass sdHash into FileTile on Discover page 2017-01-20 23:59:07 -05:00
Alex Liebowitz
9b68f71199 Always use local availability checks (not Lighthouse) 2017-01-20 23:55:49 -05:00
Alex Liebowitz
78176e6b0a In FileTile, show a message when a file is unavailable 2017-01-20 11:44:08 -05:00
Alex Liebowitz
9a421941fe Move styles for ToolTip and ToolTipLink into CSS 2017-01-20 11:38:23 -05:00
Alex Liebowitz
87e6713262 Make unavailable content visible by default 2017-01-20 08:54:36 -05:00
Alex Liebowitz
1c19537883 Clean up prop passing from FileTile to FileTileStream 2017-01-20 08:49:47 -05:00
Alex Liebowitz
9d0aa0d8da Add setting to hide unavailable content 2017-01-19 05:05:57 -05:00
Job Evers-Meltzer
2aa10261d9 Improve startup checking
Before this fix, if the daemon wasn't accepting connections
the UI would get an error and then be stuck on the loading screen.

We now check if the daemon is accepting connections first, and then
check for the status.
2017-01-18 09:30:46 -06:00
Job Evers-Meltzer
f1b2d0d62d ensure that content_type exists 2017-01-17 21:57:16 -06:00