Commit graph

226 commits

Author SHA1 Message Date
Thomas Zarebczan 7a6e8ddabc fixes: recommended content + crashes 2019-09-03 13:35:48 -04:00
Sean Yesmunt 40a8074626 add application to media types 2019-08-31 00:03:11 -04:00
Sean Yesmunt 596a7ecee8 add image to media types 2019-08-30 09:56:03 -04:00
Thomas Zarebczan 48dd46a9a8 fix: byURL for channel 2019-08-29 19:09:52 -04:00
Thomas Zarebczan ea3e1824e8 revert: channel name without @
Will adjust on desktop side
2019-08-29 13:03:55 -04:00
Thomas Zarebczan 80d67a240b fix: canonical URL stuff
Added cross-env to support compiling on Windows
Channel name now returns the channel with @
updated remaining instances of claimid/contentname
removed unused function that relied on parseURI
2019-08-29 13:03:55 -04:00
jessop a9e2cc9183 prod bundle 2019-08-28 19:56:24 -04:00
jessop 5f97dc03fd querystring param 2019-08-28 13:20:27 -04:00
jessop e8c6efcea8 parseURI separates querystrings 2019-08-28 13:20:27 -04:00
Sean Yesmunt 3ebbb4470c fix typo 2019-08-28 10:55:50 -04:00
Sean Yesmunt b4e8cde4e3 buildURI changes - contentName => streamName 2019-08-27 19:59:04 -04:00
Sean Yesmunt 18ff574d0e fix typo 2019-08-27 19:14:19 -04:00
Akinwale Ariwodola 73f10d488d fix: myClaims undefined in some cases where isSupport is false 2019-08-23 09:10:07 +01:00
Sean Yesmunt 6da0697e3f
Merge pull request #187 from lbryio/canonical_url
use canonical_url for everything
2019-08-22 11:04:49 -04:00
Sean Yesmunt 22879b2880 updates 2019-08-22 11:03:13 -04:00
Sean Yesmunt f5289f9811 use canonical_url everywhere and update url parse/build functions to work with canonical_url's properly 2019-08-20 16:00:26 -04:00
Thomas Zarebczan 49479b4fd1 feat: 0.39 account balance basic API support
Support for the available balance. Doesn't include any of the new fields.
Enabled @flow support on wallet file, didn't fix other issues.
2019-08-19 01:18:31 -04:00
Sean Yesmunt 4f812db1c7
Merge pull request #185 from lbryio/mime
remove mime
2019-08-16 11:03:11 -04:00
Akinwale Ariwodola 91f0e2ab54
improve short format for balance credits >1K and >1M (#184) 2019-08-16 15:54:38 +01:00
Sean Yesmunt 22dc431ee0 remove mime 2019-08-16 01:16:04 -04:00
Sean Yesmunt d902e0e576
Merge pull request #178 from zxawry/supports-selectors
add selectors for total supports and claim supports
2019-08-16 00:25:32 -04:00
zxawry 197e55b639
yarn build 2019-08-15 07:13:50 +01:00
Sean Yesmunt 1af092ce2c
Merge pull request #183 from lbryio/sdk-balance-changes
update for 0.38.7 account_balance api changes
2019-08-14 23:47:39 -04:00
Sean Yesmunt 027c517ec6 update for 0.38.7 account_balance api changes 2019-08-14 23:47:04 -04:00
Sean Yesmunt 410af18533
Merge pull request #182 from lbryio/fix-streaming
fix: streaming + downloads
2019-08-14 22:25:59 -04:00
Sean Yesmunt 436e49f859
Merge pull request #181 from lbryio/fix-publish-bugs
Fix: publish bugs while editing
2019-08-14 22:25:29 -04:00
Thomas Zarebczan 6005fa245a fix: streaming + downloads
Allows you to download while streaming + re-download already streamed content if it was deleted or settings changed.
2019-08-14 18:22:50 -04:00
Thomas Zarebczan 1a3615cddb fix: publish bugs
Fixes files being passed on edit + tags not repopulating.
2019-08-14 14:47:57 -04:00
Sean Yesmunt 1bd625f0c6 actually check if something's been downloaded 2019-08-14 13:51:30 -04:00
Sean Yesmunt adbbd7e660 fix: loading selector after getting rid of urisLoading - missed this 2019-08-14 13:08:38 -04:00
Sean Yesmunt b3692b532f add makeSelectFilePartlyDownloaded selector 2019-08-14 12:52:24 -04:00
Sean Yesmunt 4e093983ea fix: add back lost code from bad rebase 2019-08-13 23:52:17 -04:00
Sean Yesmunt 58bbdb9a2e default 'value' to object for edits so we don't need to pass in an empty object if we just want to populate the name 2019-08-13 21:05:30 -04:00
Sean Yesmunt 05e70648e0
Merge pull request #176 from lbryio/range-request
Range request support for desktop
2019-08-13 13:33:58 -04:00
Sean Yesmunt 291b068642 use FETCH_FILE_INFO_XXX in favor of LOADING_URI_XXX 2019-08-13 13:33:32 -04:00
Akinwale Ariwodola e10986e8e5
Mobile updates (#179)
* return lowercase tag names for unfollowed tags
* fix: thumbnail url
* fix claim.meta.creation_timestamp check
* track if the last page reached was reached for claim_search queries
* fix CLAIM_SEARCH_FAILED reducer
2019-08-13 16:27:32 +01:00
Sean Yesmunt fe66fae040 remove purchasedStreamingUrls 2019-08-05 22:52:46 -04:00
jessop c27c6ba615 dont crash 2019-08-05 17:27:14 -04:00
Sean Yesmunt faf4402309 working? 2019-08-02 14:10:24 -04:00
jessop 8f12baa88f changes after review 2019-08-02 10:56:32 -04:00
jessop e25af99fb8 bundle 2019-08-01 20:57:27 -04:00
Sean Yesmunt 250f5003d9 fix typo 2019-07-31 15:14:51 -04:00
Sean Yesmunt 2c70556bdf use null over undefined 2019-07-31 15:03:56 -04:00
Sean Yesmunt b257431eae remove /g flag for uri regex 2019-07-30 12:15:29 -04:00
Sean Yesmunt c04f6806f7 fix export and url selector 2019-07-30 12:00:36 -04:00
Sean Yesmunt a1ae63d0b6 handle all options for claim_search cache queries 2019-07-30 11:48:45 -04:00
Sean Yesmunt 8910693fe1 fix typo 2019-07-29 14:48:44 -04:00
Sean Yesmunt 3e7b5d05c0 fix: invalid uri characters 2019-07-29 14:45:15 -04:00
Sean Yesmunt b87e2f92f3 cache claim search results by query 2019-07-29 14:45:15 -04:00
Sean Yesmunt 09ed2b5d18 bring in desktop publish changes 2019-07-29 14:42:28 -04:00
jessop 99f2e8e92f cleanup 2019-07-29 14:41:46 -04:00
jessop d1048ff835 adds notification callback to doCheckPendingPublishes 2019-07-29 14:41:46 -04:00
jessop 046bc18eef enables publish for desktop
adds reduxCallbacks for post publish actions

publish callback modal works

better callbacks

publish callbacks passed as params

cleanup
2019-07-29 14:41:46 -04:00
Sean Yesmunt cd23c12fb7
Merge pull request #165 from lbryio/multi-claim-search
support multiple simultaneous claim_search requests
2019-07-29 09:31:39 -04:00
Akinwale Ariwodola 67a654f606 handle null parameter for createNormalizedTagKey 2019-07-26 08:20:37 +01:00
Akinwale Ariwodola e3d12fb896 fix thumbnail url trim 2019-07-26 08:17:52 +01:00
Akinwale Ariwodola f56321a93f ensure that tag names in followedTags are always lowercase 2019-07-26 07:45:02 +01:00
Akinwale Ariwodola 4b1438af93 update makeSelectThumbnailForUrl 2019-07-26 07:34:16 +01:00
Akinwale Ariwodola 89a2db0613 fix tags key 2019-07-26 07:27:09 +01:00
Sean Yesmunt baf54ea00d remove '100' tag 2019-07-23 15:42:48 -04:00
Sean Yesmunt 8b5b9bca1e update default tags 2019-07-23 15:39:45 -04:00
Sean Yesmunt f2064868e8
Merge pull request #169 from lbryio/add-supports
feat: supports vs tips
2019-07-23 13:03:45 -04:00
Thomas Zarebczan 6e8c643f45 fix: wording 2019-07-23 12:57:49 -04:00
Thomas Zarebczan ee93a47f89 feat: supports vs tips
Adds additional boolean to tell if something is a support or not. Also, fixes snackbar. Removes uri which is not used.
2019-07-19 15:20:24 -04:00
jessop b07dfa172a add tags to doUpdateChannel 2019-07-18 12:45:37 -04:00
Akinwale Ariwodola d4e66b7613 fix append 2019-07-18 14:25:40 +01:00
Akinwale Ariwodola b2044499c5 implement append for multi claim_search calls 2019-07-16 10:15:51 +01:00
Akinwale Ariwodola dddb10687c add any_tags parameter to claim_search 2019-07-15 04:22:52 +01:00
Akinwale Ariwodola b59fdfa1d8 support multiple simultaneous claim_search requests 2019-07-15 03:44:02 +01:00
Sean Yesmunt eb3a7afc46 fix typo 2019-07-11 16:33:22 -04:00
Sean Yesmunt 87e01209f5 don't crash on bad uris 2019-07-11 15:00:45 -04:00
Sean Yesmunt 15e36688fb fix invalid uri to reject spaces 2019-07-11 14:21:22 -04:00
Sean Yesmunt 87fdb8084e remove 'amount' from doClaimSearch arguments 2019-07-10 23:13:34 -04:00
Sean Yesmunt 6ba6ba26f3 add 'tag' as search suggestion 2019-07-10 12:48:50 -04:00
Sean Yesmunt 0ff6364a40 fix sort for pending publishes 2019-07-09 01:58:31 -04:00
Sean Yesmunt 310e0f5bd6 update default suggested tags 2019-07-09 01:17:51 -04:00
Sean Yesmunt bb82aed61a fix typo 2019-07-08 14:29:07 -04:00
Sean Yesmunt 66225f02c8 add selector for short_url 2019-07-08 14:28:14 -04:00
Sean Yesmunt c83489e78e remove console.log 2019-07-05 13:35:17 -04:00
Akinwale Ariwodola 321b4e9d93 fix makeSelectDateForUri error on mobile 2019-07-03 10:53:12 +01:00
Sean Yesmunt 009ae8b8fa add tags back to redux 2019-07-02 16:33:57 -04:00
Sean Yesmunt 8bfef31386 jessop's commit - channel edit functionality 2019-07-02 13:02:53 -04:00
Sean Yesmunt 63ba459574 repond to pr feedback 2019-07-01 23:10:14 -04:00
Sean Yesmunt 1b9d540c67 don't throw error if bad url is passed 2019-07-01 23:10:14 -04:00
Sean Yesmunt a67f387498 fix search 2019-07-01 23:10:14 -04:00
Sean Yesmunt d127725045 default sort to newest content 2019-07-01 23:10:13 -04:00
Akinwale Ariwodola 99e08fc733
Publishing (#158)
* add actions, selectors and reducer for publishing
* add publish types
* support thumbnail uploads for mobile
* update publishSuccess value in reducer
2019-07-01 20:49:51 +01:00
Sean Yesmunt cd642e39a4 respond to PR comments 2019-06-26 19:13:29 -04:00
Jessop Breth 862ea67680 changes for comments 2019-06-26 18:48:18 -04:00
Sean Yesmunt 9b6912e51f run build 2019-06-25 02:37:31 -04:00
Sean Yesmunt ae2f720d1d allow apps to set their own default followed tags 2019-06-19 17:52:04 -04:00
Sean Yesmunt 82a5f242d0 add my publishes uri selector 2019-06-19 17:52:04 -04:00
Sean Yesmunt e8466bbeec remove trending in favor of lastClaimSearchUris 2019-06-19 17:52:04 -04:00
Sean Yesmunt 12f4c032b8 unfollow tag on delete 2019-06-19 17:52:04 -04:00
Sean Yesmunt 478251f900 sort followed tags alphabetically 2019-06-19 17:52:04 -04:00
Sean Yesmunt a22d0270d0 add tags 2019-06-19 17:52:04 -04:00
Sean Yesmunt f435dc4600 update build 2019-06-18 12:59:04 -04:00
Thomas Zarebczan c73ea00941 fix: controlling and channel claim count meta
Controlling means controlling claims, not channels. Added so we only return claims with valid signatures (safer for now, can add options to show invalid later). Also, the claim count in channel is in the signed channel meta object, not the high level one.
2019-06-11 12:22:44 -04:00
Sean Yesmunt 157711207b
Merge pull request #153 from lbryio/38
updates for sdk@38
2019-06-09 21:38:40 -04:00
Thomas Zarebczan 85c24ae37d fix: sorting param
It's claim.meta, not claim.value.meta.
2019-06-07 13:16:50 -04:00
Sean Yesmunt efaacdd26b
Merge pull request #125 from upsided/master
Allow unicode characters in claim names.
2019-06-07 11:35:02 -04:00
Thomas Zarebczan b419a1bfa9 fix: more 38 changes
Fixed resolving by signed_channel, order for claim search and timestamp to use release date / creation date (to match sorting). We'll probably want to show updated_date somewhere in advanced section eventually.

Needs some flow love
2019-06-06 17:37:36 -04:00
Thomas Zarebczan 5c8d3b4143 fix: crash on blank title 2019-06-06 12:02:43 -04:00
Sean Yesmunt 1b98a13082 changes for 38 2019-06-04 12:06:19 -04:00
Jessop Breth ed94218cdb adds headers and means to set them to Lbry 2019-06-03 12:57:09 -04:00
Thomas Zarebczan e883f81722 Fix export 2019-06-03 10:24:46 -04:00
Thomas Zarebczan b427ccfede fix unicode regex
Add /g option like before. Remove manual export. Actually use it in the isNameValid function.
2019-06-02 22:56:02 -04:00
Akinwale Ariwodola a01b919c72
remove the uri from the failed list if the user reattempts getting the same uri (#151)
* remove uri from failed purchase uris for a new purchase
* add doDeletePurchasedUri action
* add parseFloat for costInfo.cost
* add purhcaseUriErrorMessage and more failure handling
2019-05-27 14:59:21 +01:00
Thomas Zarebczan 6ce6a494e4 fix: claim search
to use channel uri instead of claim id (support for vanity resolution)

I did not test this locally - would need to bring it into an Android build. The --winning parameter is required so that only the winning channel's claims are returned.
2019-05-21 16:10:41 -04:00
Akinwale Ariwodola 1fe1f6a188
refactor doPurchaseUri (#149) 2019-05-21 20:18:07 +01:00
Akinwale Ariwodola 29c7a4b832
add account_set sdk call (#146) 2019-05-15 10:58:36 +01:00
Sean Yesmunt 02f6918238 store supports by outpoint in redux 2019-05-14 00:50:35 -04:00
Sean Yesmunt 231d51832a lbry.io => lbry.com 2019-05-10 13:29:51 -04:00
Sean Yesmunt c8126ab217 store user supports 2019-05-10 10:26:50 -04:00
Sean Yesmunt 3de93cc745
Merge pull request #137 from lbryio/search-fix
fix: remove mediaType when searching for files
2019-05-10 01:19:14 -04:00
Thomas Zarebczan 423123f1c1 add: nsfw
Also cleaned up some metadata
depth is no longer there, replaced by confirmations
added city
added featured to channel
removed email/homepage
2019-05-09 09:57:58 -04:00
Sean Yesmunt 32916b04e4
Merge pull request #140 from lbryio/flow
add generic metadata selector
2019-05-07 15:17:11 -04:00
Jessop Breth 2b94f516eb Uses timestamps for dates for Claims and Transactions 2019-05-07 14:06:50 -04:00
Sean Yesmunt d169b66b0e fix: remove mediaType when searching for files 2019-05-07 00:18:22 -04:00
Sean Yesmunt 459bea2257 add generic metadata selector 2019-05-06 13:57:07 -04:00
Sean Yesmunt faa9d13d60 add cover selector 2019-05-06 01:20:10 -04:00
Akinwale Ariwodola 4b3769fc2d
Claim search fix (#134)
* fix claim_search in doFetchClaimsByChannel
* remove dist/bundle.js
2019-04-29 15:29:24 +01:00
Sean Yesmunt 8629f10765 add selector for nsfw tags 2019-04-23 15:02:32 -04:00
Sean Yesmunt 5f0fd9e9a5 sdk 0.36.0 support and improve flow types 2019-04-23 13:22:14 -04:00
Akinwale Ariwodola af4410d0d7
updates for cross-device sync (#130)
* add sync methods
* add total balance for all wallet accounts
2019-04-18 08:56:16 +01:00
Shawn 01201e5be6 Fix missing import/exports and add rollup es build 2019-04-03 12:12:51 -05:00