Commit graph

447 commits

Author SHA1 Message Date
Akinwale Ariwodola
98723e0c3c change account_* sdk calls to wallet_* 2019-10-15 23:11:03 +01:00
Sean Yesmunt
0090f195eb fix: formatCredits on large numbers 2019-10-15 13:56:28 -04:00
Sean Yesmunt
6edcf747e1 always call callback if matching action is fired 2019-10-15 11:20:19 -04:00
Akinwale Ariwodola
c5aea33d82 add SHOW_URI_BAR_SUGGESTIONS setting constant 2019-10-15 13:03:07 +01:00
Sean Yesmunt
91848445aa
changes needed for preference sync (#219)
changes needed for preference sync
2019-10-15 00:16:39 -04:00
Sean Yesmunt
cd69946d4c add back default followed tags 2019-10-15 00:01:21 -04:00
Sean Yesmunt
48bc1e18f9 pass getState to calback too 2019-10-14 23:56:14 -04:00
Sean Yesmunt
2a9263c89d use middleware for preference setting 2019-10-14 23:35:38 -04:00
Sean Yesmunt
c763f35452
Merge pull request #216 from lbryio/apiPublishNew
returns channel create result for use outside lbry-redux
2019-10-14 15:09:34 -04:00
jessop
5aea83537a returns channel create result for use outside lbry-redux 2019-10-12 13:11:23 -04:00
Sean Yesmunt
e048b2aff3 fix for lbrytv: only pass account_id/wallet_id if they are passed into prefGet/prefSet 2019-10-11 13:28:05 -04:00
Akinwale Ariwodola
dff1ecb195 fix: formatCredits zero value 2019-10-11 17:42:06 +01:00
Sean Yesmunt
cb9e515226
shared user state with preferences_get and preferences_set (#211)
shared user state with preferences_get and preferences_set
2019-10-09 10:47:59 -04:00
Sean Yesmunt
b459b3937e fix flow errors 2019-10-08 15:03:09 -04:00
Sean Yesmunt
0a1c95a088 fix typo 2019-10-08 10:15:51 -04:00
Sean Yesmunt
22c601ab9b error on space characters in parseURI 2019-10-08 10:14:50 -04:00
Jeremy Kauffman
b0ffa82c09 add selectors for download queries 2019-10-03 17:14:35 -04:00
Sean Yesmunt
85fe532d69 add new channel to pending channels and fix format-credits 2019-10-03 15:38:02 -04:00
Sean Yesmunt
d770011057 reduce precision for larger numbers 2019-10-03 15:38:02 -04:00
Sean Yesmunt
b998637435 add commas to formatCredits 2019-10-03 15:38:02 -04:00
Sean Yesmunt
439407ab03 return a promise with doUpdateBalance 2019-10-02 16:20:48 -04:00
Akinwale Ariwodola
13ae65bd46 use shared key for saved user state 2019-10-02 10:27:09 +01:00
Thomas Zarebczan
664a41a19d feat: add blocking + fixes 2019-10-01 19:01:14 -04:00
Akinwale Ariwodola
f2d46c359a remove localCache argument. add version argument. 2019-10-01 15:49:38 +01:00
Akinwale Ariwodola
23bcde0539 shared user state with preferences_get and preferences_set 2019-09-30 22:52:41 +01:00
Sean Yesmunt
1c474adbeb
Merge pull request #207 from lbryio/mobile-publish-fix
add check before calling find
2019-09-26 23:26:06 -04:00
Akinwale Ariwodola
7ec72a737b add check before calling find 2019-09-26 23:56:55 +01:00
Sean Yesmunt
42bf926138
Merge pull request #206 from lbryio/paginationHellRebase
Pagination rebase
2019-09-26 11:18:08 -04:00
jessop
64383d5787 uri to url 2019-09-25 17:37:21 -04:00
jessop
41d1021833 off by 1 modifications 2019-09-25 17:23:30 -04:00
jessop
2cdc43b271 selectors for library and download pagination 2019-09-25 17:23:30 -04:00
jessop
f02c6b7a27 tx page size cleanup 2019-09-25 14:13:23 -04:00
jessop
66462144b2 transaction pagination selectors 2019-09-25 13:43:29 -04:00
Thomas Zarebczan
fe4ae1568e fix: totalBalance
whoops!
2019-09-25 01:37:02 -04:00
Thomas Zarebczan
45e585c9cf feat: granular balances
+ We were not using the total balances stuff I removed -that was an attempt by Akin at one point to work around the SDK cross account balance issue.
+ Decided to keep `balance` as is so we don't have to change it everywhere else...still makes sense I think.
2019-09-25 01:25:01 -04:00
Akinwale Ariwodola
3fdec3cb62 concatenate unique claims after fetching owned claims or channel list 2019-09-24 20:57:51 +01:00
Sean Yesmunt
01614094da remove unused constant 2019-09-23 11:13:08 -04:00
jessop
1127282ec1 youtube import actions 2019-09-23 11:12:53 -04:00
jessop
d837e72169 adds Lbry.address_list 2019-09-23 11:12:53 -04:00
jessop
3e1871e170 remove id 2019-09-23 11:12:53 -04:00
jessop
9fd930564e adds channelImport 2019-09-23 11:12:53 -04:00
Sean Yesmunt
6bd56492ad pr feedback 2019-09-23 10:22:14 -04:00
Sean Yesmunt
5ff2491e78 improvements 2019-09-23 10:22:14 -04:00
Sean Yesmunt
220b717fc1 fix default tags with sync 2019-09-23 10:22:14 -04:00
Sean Yesmunt
45031668f0 tags/subs sync 2019-09-23 10:22:14 -04:00
Sean Yesmunt
7954c1d5d0 onboarding updates 2019-09-23 10:20:14 -04:00
Sean Yesmunt
9d78fbb62d add selector for creatingchannel 2019-09-23 10:20:14 -04:00
Akinwale Ariwodola
123efacf4d
add optionalParams to doCreateChannel. Update myClaims after fetching channels (#195)
* add optionalParams to doCreateChannel. Update myClaims after fetching channels.
* merge with master. change coverUrl and thumbnailUrl.
* make optionalParams truly optional
2019-09-15 12:00:14 +01:00
Sean Yesmunt
2b3a5a5990 check if canonical_url exists (won't if channel is invalid) 2019-09-04 12:56:24 -04:00
Sean Yesmunt
a2ef019c69 canonical_url fixes 2019-09-04 11:57:48 -04:00
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
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
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
zxawry
836531d8a2
cleanup 2019-08-11 17:33:49 +01:00
zxawry
f0edb11ac1
export added selectors 2019-08-11 17:30:29 +01:00
zxawry
79e41150b9
add selector for claim supports 2019-08-11 17:29:56 +01:00
zxawry
d6ca449bd9
add selector for total supports 2019-08-11 17:29:21 +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
Thomas Zarebczan
9d71be9b1b [wip] range requests 2019-08-02 14:10:24 -04:00
jessop
8f12baa88f changes after review 2019-08-02 10:56:32 -04:00
jessop
d41a2a8a30 adds blocked channel count 2019-08-01 15:43:48 -04:00
jessop
8406e8c25e supports user channel block uri list 2019-08-01 15:43:03 -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
3266ebd933 delete unused navigation file 2019-07-30 12:04:04 -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
4c6147efcc add ChannelUpdateResponse type 2019-07-02 13:47:42 -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
Lex Berezhny
cfbf86e95d claim_search --valid_channel_signatures was renamed to --valid_channel_signature 2019-06-24 15:42:53 -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