Commit graph

558 commits

Author SHA1 Message Date
Alex Liebowitz
a2f7f150db Import MediaElement with <script> tag
Needed because MediaElement doesn't fully support ES6 modules yet
2017-01-03 18:10:03 -05:00
Job Evers‐Meltzer
6936d2f94e Merge pull request #120 from lbryio/fix-watch-page
fix LoadScreen import on watch page
2017-01-02 20:26:52 -06:00
Job Evers
e23cce81dc fix LoadScreen import on watch page 2017-01-02 20:21:23 -06:00
alexliebowitz
759a3ba185 Merge pull request #115 from lbryio/add-babel-polyfill
Add Babel Polyfill
2016-12-31 23:01:14 -05:00
Alex Liebowitz
3fd7cd62af Add Babel Polyfill
Fixes some IE bugs, plus gives us a few more ES2015 features.
2016-12-31 22:56:05 -05:00
alexliebowitz
cadb901209 Merge pull request #109 from lbryio/development
Merge development into master
2016-12-29 16:59:40 -05:00
alexliebowitz
eb18d47e8a Merge pull request #112 from lbryio/fix-lighthouse-logic
Add a missing param to an inner function in lbry.getCostInfoForName()
2016-12-29 04:59:02 -05:00
Alex Liebowitz
a03b021945 Add a missing param to an inner function in lbry.getCostInfoForName() 2016-12-29 04:10:36 -05:00
alexliebowitz
bf388474a7 Merge pull request #111 from lbryio/update-lighthouse-servers
Update Lighthouse servers
2016-12-28 21:17:42 -05:00
Alex Liebowitz
c672528a18 Update Lighthouse servers 2016-12-28 20:59:30 -05:00
Alex Liebowitz
5d3110a295 My Files: Add import for FormField
Needed for "Sort by" dropdown now that we're on ES6 modules
2016-12-28 20:49:33 -05:00
Alex Liebowitz
ac281105ad Add Sort option to My Files page 2016-12-28 20:49:33 -05:00
Alex Liebowitz
350bc6d847 Add sorting functions to MyFilesPage 2016-12-28 20:49:33 -05:00
alexliebowitz
a9ef9ea391 Merge pull request #77 from lbryio/my-files-refactor
Refactor My Files page (WIP)
2016-12-28 03:38:52 -05:00
Alex Liebowitz
83d59da827 Refactor My Files page
- Checking for file ownership is now done by making one call to
   lbry.getMyClaims() and saving a list of txids.
 - Broke out logic for Published and Downloaded pages
 - Published page now looks up the user's claims instead of files.
   This allows published streams to be listed even if the files don't
   exist on the user's machine; also, because it looks up file info by
   txid, you will no longer see a newer claim listed if you made a
   claim and it was overtaken.
2016-12-28 02:28:13 -05:00
Alex Liebowitz
d557c09f80 Add API stubs for getting info for individual files
- lbry.getFileInfoByName()
 - lbry.getFileInfoBySdHash()
 - lbry.getFileInfoByFilename()
2016-12-26 23:51:01 -05:00
Alex Liebowitz
8456b3d3b2 Add lbry.getMyClaims() 2016-12-26 23:51:01 -05:00
Alex Liebowitz
a642806a8d Add message for when no content is published
Before, it was showing the same message as the Downloaded page
2016-12-26 23:51:01 -05:00
alexliebowitz
59b31c1803 Merge pull request #108 from lbryio/update-download-watch-links
Update logic in Download and Watch links
2016-12-16 18:36:22 -05:00
alexliebowitz
29574a2a3d Merge pull request #107 from lbryio/webpack-travis
Update .travis.yml to use Webpack
2016-12-16 18:19:11 -05:00
Alex Liebowitz
643c884f56 Fix timeout check in DownloadLink
Was checking typeof streamInfo === 'object', and typeof null is
'object' (because why not?)

I think this was previously returning false for timeouts, and now
will only return null, so the "typeof" part may not be needed anymore.
2016-12-16 17:59:15 -05:00
Alex Liebowitz
7efbccbe83 Use new lbry.getCostInfoForName() in DownloadLink and WatchLink 2016-12-16 17:56:55 -05:00
Alex Liebowitz
500ea38792 Update .travis.yml to use Webpack 2016-12-16 16:26:14 -05:00
alexliebowitz
5dbadeb941 Merge pull request #106 from lbryio/new-lighthouse
Update Discover and Show pages to use new Lighthouse cost reporting
2016-12-14 13:27:46 -05:00
Alex Liebowitz
1cad30d188 Show: var -> const in DetailPage.render() 2016-12-14 13:27:07 -05:00
Alex Liebowitz
8b781694f2 Show: use new Lighthouse cost reporting 2016-12-14 13:24:58 -05:00
Alex Liebowitz
06de4534cd Show: rename some variables and props for clarity
- cost -> amount
 - available -> costIncludesData
 - claimInfo -> metadata (only in DetailPage for now)
2016-12-14 13:24:58 -05:00
Alex Liebowitz
34a7d41dc7 Make search result tiles use new Lighthouse cost reporting
Featured/Community Content and regular search results now calculate
cost the same way, so instead of calculating the cost in the outer
component we now do it inside <SearchResultRow /> itself.
2016-12-14 13:24:58 -05:00
Alex Liebowitz
d9a4442cc3 Add lbry.getCostInfoForName() 2016-12-14 13:24:58 -05:00
Alex Liebowitz
d59c5c2a1c Add lbry.getSizeForName() 2016-12-14 13:24:58 -05:00
Alex Liebowitz
0b58ae6e6e Add error and connection failure callbacks to Lighthouse methods 2016-12-14 13:24:58 -05:00
Alex Liebowitz
6963d877df Break lbry.getCostEstimate() into 2 separate functions
lbrynet now supports getting the total cost if you provide the "size"
param, so we break this into two functions: lbry.getKeyFee() and
lbry.getTotalCost()
2016-12-14 13:24:58 -05:00
Alex Liebowitz
97496c33da Make cost prop optional in <SearchResultRow /> 2016-12-13 13:16:59 -05:00
alexliebowitz
a98c410403 Merge pull request #105 from lbryio/my-files-no-lighthouse
My Files page: during publication, check for availability directly from peers instead of with Lighthouse
2016-12-13 13:15:33 -05:00
Alex Liebowitz
177fa2cfa2 Move file availability check interval to class member 2016-12-13 13:14:42 -05:00
Alex Liebowitz
100dac0629 My Files: monitor file availability using lbry.getPeersForBlobHash()
Also reduce the checking rate to once every 5 minutes to avoid
slamming your peers with availability checks
2016-12-13 13:13:29 -05:00
alexliebowitz
c7f85046c2 Merge pull request #100 from lbryio/tweak_upgrade_msg
Tweak upgrade message
2016-12-13 13:03:56 -05:00
Alex Liebowitz
7ca6017986 Add lbry.getPeersForBlobHash() 2016-12-09 03:11:25 -05:00
alexliebowitz
3058f6714c Merge pull request #104 from lbryio/my-files-page-fix-imports
Fix imports on My Files page
2016-12-09 02:51:20 -05:00
Alex Liebowitz
a6825c4269 Fix imports on My Files page 2016-12-09 02:50:25 -05:00
alexliebowitz
325e930e2c Merge pull request #103 from lbryio/show-page-fix-imports
Fix imports on Show page
2016-12-09 02:12:47 -05:00
Alex Liebowitz
7b98f5b9a9 Show: fix imports 2016-12-09 02:10:59 -05:00
alexliebowitz
c296f0c708 Merge pull request #102 from lbryio/lighthouse-namespacing-fix
lbry.lighthouse.search() -> lighthouse.search() in two files
2016-12-07 15:16:20 -05:00
Alex Liebowitz
78ed1b9dcd lbry.lighthouse.search() -> lighthouse.search() in two files 2016-12-07 15:14:53 -05:00
alexliebowitz
4d4cad0158 Merge pull request #101 from lbryio/remove-console-logs
Remove a couple of stray console.log() calls
2016-12-07 13:20:08 -05:00
Alex Liebowitz
0458d58a08 Remove a couple of stray console.log() calls 2016-12-07 13:19:24 -05:00
alexliebowitz
a4303fe1ad Merge pull request #93 from lbryio/build-with-webpack
Convert to ES6 Modules
2016-12-07 13:00:38 -05:00
Alex Liebowitz
1295b7e1b9 Hard code web UI address in certain links to make testing servers work 2016-12-06 15:09:49 -05:00
Job Evers
494168474f Small tweak so that hot-reloading works.
The middleware server servers the bundle from memory
so it needs to know where to put it.
2016-12-06 14:28:10 -05:00
Job Evers
c32ab1ac65 bug fixes found while linting 2016-12-06 14:28:10 -05:00