Commit graph

447 commits

Author SHA1 Message Date
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
3ab2eeb8bd
Merge pull request #154 from lbryio/038-fixes
fix: controlling and channel claim count meta
2019-06-17 15:37:06 -04:00
zxawry
8fba180923
set correct suggestion type for lbry URIs 2019-06-12 15:30:08 +01: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
Sean Yesmunt
50d1b166f5 simplify claims resolve reducer 2019-06-09 21:25:55 -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
Upsided
bd26d7ba44 Allow unicode characters in claim names.
See https://spec.lbry.com/#urls
2019-05-31 18:29:31 -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
727d367020
Merge pull request #136 from lbryio/removeBlockShowForDates
Uses timestamps for dates for Claims and Transactions
2019-05-07 00:19:27 -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
Jessop Breth
ee2f209391 Uses timestamps for dates for Claims and Transactions 2019-05-06 12:33:11 -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
Sean Yesmunt
13d0cf01be remove references to desktop app navigation state 2019-03-27 16:18:10 -04:00
Akinwale Ariwodola
1f211d183d
Search tweak (#123)
* fallback to selectSearchValue in the selectSearchQuery selector
2019-03-27 08:01:15 +01:00
Akinwale Ariwodola
0d4079f370
add action, reducer and selector for saving media position (#120) 2019-03-20 14:54:36 +01:00
Sean Yesmunt
d37d1e7bf5
Merge pull request #121 from lbryio/error
Handle error objects from lbryweb
2019-03-18 10:59:25 -04:00
Thomas Zarebczan
9353604225
allow multisig addresses
multisig addresses begin with an r - https://explorer.lbry.io/address/rH9eJbSrWoBUtkXA3hvkrysbG8T2CHGKMm
2019-03-17 18:30:17 -04:00
Sean Yesmunt
2a7e05940f handle error objects from lbryweb 2019-03-15 12:16:33 -04:00
Sean Yesmunt
71dda66575 remove refs to api.lbry.io 2019-03-10 22:03:28 -04:00
Sean Yesmunt
406e1970b9 lbryweb support 2019-02-22 02:02:20 -05:00
Akinwale Ariwodola
76d8bbef96
add current page value to the state for channel pages (#116) 2019-02-19 02:30:10 +01:00
Akinwale Ariwodola
e07ab27b13
fixes for mobile errors (#115) 2019-02-18 21:50:40 +01:00
Sean Yesmunt
2b725cb317 feat: add support for search filters 2019-02-18 11:24:18 -05:00
Thomas Zarebczan
ec1d5bd41a maint: support 0.31 SDK (#113)
* maint: support 0.31 SDK

resolve param changed from uri/uris, to urls.

* feat: stop daemon sdk call

* fix: ffffffffff webpack bug

https://github.com/nulogy/design-system/pull/132
2019-02-18 09:11:32 -05:00
Sean Yesmunt
b937a5d595 update: more options for resolving 2019-01-30 02:34:59 -05:00
Sean Yesmunt
d62c5eb5a6 quick add: custom search api 2019-01-29 11:44:10 -05:00
Sean Yesmunt
2ff9f70a3d update: add new selector for first item in list of related content 2019-01-28 14:38:28 -05:00
Sean Yesmunt
93686ae625
Merge pull request #108 from lbryio/search-suggestions
debounce search suggestion call
2019-01-24 12:23:41 -05:00
Sean Yesmunt
4c99832e79 change: debounce search suggestion call 2019-01-19 14:25:03 -05:00
Sean Yesmunt
a22f828411 change: utxo_release before transaction_list 2019-01-14 13:09:47 -05:00
Sean Yesmunt
820b6eeadf fix: show fee on + balance_delta tx's 2018-12-07 13:12:01 -05:00
Sean Yesmunt
7087586ad4 fix: correctly show fees on tx's with no balance_delta or value (updates) 2018-12-06 00:32:42 -05:00
Sean Yesmunt
b79eb17d42
Merge pull request #105 from lbryio/balance
convert balance to number before saving
2018-12-05 10:59:03 -05:00
Sean Yesmunt
e6db47b432 convert balance to number before saving 2018-12-02 23:30:29 -05:00
Sean Yesmunt
0d2ab79b9e add missing action 2018-11-29 00:56:14 -05:00
Sean Yesmunt
df8e8c6b44
Merge pull request #93 from lbryio/notifications
Notifications v2 (part 1)
2018-11-20 11:01:36 -05:00
Sean Yesmunt
169089a2b0
Merge pull request #103 from lbryio/related
search for exact url when filtering related results
2018-11-20 10:59:47 -05:00
Sean Yesmunt
30af6b5483 search for exact url when filtering related results 2018-11-14 12:41:50 -05:00
Sean Yesmunt
bf83ec3dd8
Merge pull request #102 from lbryio/claim_list_mine-fix
add claim to claimsByUri after claim_list_mine
2018-11-13 19:52:28 -05:00
Sean Yesmunt
99025a35a4 event => notification 2018-11-12 19:20:52 -05:00
Sean Yesmunt
b295a7db57 use new notification state 2018-11-12 13:01:14 -05:00
Sean Yesmunt
d6f7ac731d add claim to claimsByUri after claim_list_mine 2018-11-08 16:49:58 -05:00
Sean Yesmunt
e3e8a881d2 fix creditsToString function for small decimals 2018-11-08 15:53:09 -05:00
Sean Yesmunt
baf6948305 fetch transactions after abandoning 2018-11-08 11:22:08 -05:00
Sean Yesmunt
e89d1646ef dont' return time for pending claim 2018-11-08 11:20:10 -05:00
Sean Yesmunt
6f1e3b054f estimate claim date with block height 2018-11-07 10:55:44 -05:00
Jessop Breth
7e61501202 modifies totalpages selector to take pageSize 2018-11-02 22:05:22 -04:00
Sean Yesmunt
0e13dd1972 delete claim from byId while it's in pending status 2018-11-02 01:40:55 -04:00
Sean Yesmunt
b803e13de5
Merge pull request #95 from lbryio/rc-fixes
Fix: always show correct order for tx list
2018-10-31 12:31:37 -04:00
Sean Yesmunt
67a37c5b22 fix: check for sucessful abaondon and add toast on success 2018-10-30 16:59:55 -04:00
Sean Yesmunt
08f5ad0f03 fix: make sure pending transactions are always displayed first 2018-10-30 16:31:47 -04:00
Akinwale Ariwodola
03eb586b30 use parseFloat for the amount argument 2018-10-28 18:22:00 +01:00
Sean Yesmunt
a16815c255 add default value 2018-10-26 18:40:53 -04:00
Sean Yesmunt
9818000e3d adjust prettier options and prevent looping twice 2018-10-26 14:08:05 -04:00
Sean Yesmunt
eec073b25c updates for lbrynet30 2018-10-26 13:06:35 -04:00
Sean Yesmunt
ecd1ab156f
Merge pull request #90 from jessopb/fixChannel
Removes unnecessary sort selectors
2018-10-26 00:30:05 -04:00
Jessop Breth
99bc6a48db removes unnec. sort selectors 2018-10-25 23:43:16 -04:00
Jessop Breth
605b797fa9 removes obsolete pending_claim regex match 2018-10-25 18:07:42 -04:00
Sean Yesmunt
03aea43da5
Merge pull request #87 from jessopb/fileListSort
modifications for persisting fileList sort
2018-10-23 12:56:31 -04:00
Akinwale Ariwodola
997027fae2
Merge pull request #86 from lbryio/download-canceled
add download canceled to the file_info reducer
2018-10-23 15:53:54 +01:00
Jessop Breth
f020483566 modifications to persist fileList sort 2018-10-22 23:31:57 -04:00
Akinwale Ariwodola
22519cfc42 add download canceled to the file_info reducer 2018-10-22 13:04:37 +01:00
Sean Yesmunt
41f2bfa8ae add makeSelectChannelForClaimUri to get channels from uris 2018-10-18 13:47:13 -04:00
Jessop Breth
31fccdbd10 adds ALL to transaction types 2018-10-18 01:17:08 -04:00
Jessop Breth
5bae193157 adds persist for downloadlist, publishlist sort and txList filter 2018-10-17 14:24:02 -04:00
Sean Yesmunt
c079b108c3 add reward code modal 2018-09-25 19:53:38 -04:00
Jessop Breth
217649ec02 adds SOCIAL_SHARE 2018-09-06 19:32:07 -04:00
Sean Yesmunt
4ea932cec6 use encodeURIComponent for search query 2018-09-05 14:09:18 -04:00
Sean Yesmunt
2a75b61796 remove selectNavLinks from lbry-redux 2018-09-04 13:25:29 -04:00
Travis Eden
409aaadf50 remove unused media and video actions 2018-09-04 13:24:45 -04:00
Travis Eden
d14fa2e248 type fixes 2018-09-04 13:24:44 -04:00
Travis Eden
64623ad30a add user_history page 2018-09-04 13:24:44 -04:00
Travis Eden
c50c2c0f83 add history action types 2018-09-04 13:24:44 -04:00
Travis Eden
f8a579b582 add SET_CONTENT_POSITION action type 2018-09-04 13:24:44 -04:00
Akinwale Ariwodola
5ae249213b move rewards-related code to lbryinc 2018-09-04 04:40:43 +01:00
Sean Yesmunt
eae0d134d9 encode # on search 2018-08-27 23:15:23 -04:00
Sean Yesmunt
b7ad41acba fix: strip out related content properly on vanity uris 2018-08-26 22:43:25 -04:00
Sean Yesmunt
ccda4117ee
Merge pull request #70 from lbryio/trim-search
trim "/" from search query
2018-08-24 11:09:11 -04:00
Akinwale Ariwodola
f85653e140
add wallet_unused_address call required for rewards (#71) 2018-08-24 12:22:00 +01:00
Sean Yesmunt
c897c721b0 trim '/' from search query 2018-08-22 16:02:20 -04:00
Sean Yesmunt
31f7afa8a3
Merge pull request #67 from lbryio/autcomplete
Move search suggestion logic to selector
2018-08-19 21:34:05 -04:00
Akinwale Ariwodola
a9f0f2849f add USER_EMAIL_VERIFY_SET action type 2018-08-16 12:20:58 +01:00
Akinwale Ariwodola
96346f0e98 add blob_delete and blob_list daemon calls 2018-08-15 20:58:25 +01:00
Sean Yesmunt
f760f59dde handle new daemon status response 2018-08-15 14:17:38 -04:00
Sean Yesmunt
dc6f19bb7d add search suggestions selector 2018-08-14 23:57:35 -04:00
Shawn K
8794a775bf
Merge pull request #65 from lbryio/background-search
add isBackgroundSearch param to doSearch function
2018-08-10 08:13:22 -05:00
Aliyev Doniyor
7b614e7751 Added new action type CLEAR_UPGRADE_TIMER 2018-08-07 19:04:25 +05:00
Sean Yesmunt
0973368513 add isBackgroundSearch param to doSearch function 2018-08-07 01:37:18 -04:00
Sean Yesmunt
03c3354c12 add selector for recommended-content 2018-08-01 23:31:51 -04:00
Shawn Khameneh
b4fffe863d
Merge pull request #59 from lbryio/redux-encryption-flow
Add encryption flow to redux
2018-07-24 20:50:34 -05:00
Shawn
7a91c7d883 Add flow types and fix windows flow issues 2018-07-24 20:05:31 -05:00
Sean Yesmunt
e0909b0864
Merge pull request #57 from lbryio/fileinfo-errors
add error handling for file info
2018-07-19 09:56:42 -04:00
Sean Yesmunt
303b726a3a
Merge pull request #60 from lbryio/save-channels-claims-by-uri
save channel claim data to claimsByUri
2018-07-19 09:10:56 -04:00
Travis Eden
ee70170e30 save channel claim data to claimsByUri 2018-07-18 15:13:50 -04:00
Shawn Khameneh
9bf654d007 Add result selectors to main export 2018-07-18 14:46:37 -04:00
Shawn Khameneh
166afc4ff8 Add missing failure constants 2018-07-18 14:37:14 -04:00
Shawn Khameneh
acbb4d247b Make adjustments 2018-07-18 14:10:32 -04:00
Shawn Khameneh
188ff62724 Merge remote-tracking branch 'origin/master' into redux-encryption-flow 2018-07-18 14:09:52 -04:00
Shawn Khameneh
378f0513bf Add encryption flow to redux 2018-07-17 22:55:40 -04:00
Travis Eden
7883c92704 define transaction type constants 2018-07-17 13:00:04 -04:00
Travis Eden
334f276795 add error handling for file info 2018-07-13 12:14:26 -04:00
Thomas Zarebczan
177ef2c191
lbry-app > lbry-desktop 2018-07-12 16:42:08 -04:00
Sean Yesmunt
818af46ab0
Merge pull request #52 from lbryio/abandon-filter
label abandon(ed) claims
2018-07-11 22:50:42 -04:00
Sean Yesmunt
f466a5aa7f add selectors for nsfw claim count 2018-07-10 19:15:39 -04:00
Travis Eden
e33302dc83 label abandoned claims 2018-07-10 18:05:43 -04:00
Baltazar Gomez
6a21ea7d72
use file extension for media detection 2018-07-05 12:20:41 -06:00
Baltazar Gomez
6eba5f8823
update lbry.getMediaType function logic 2018-07-04 17:06:13 -06:00
Thomas Zarebczan
71bee85361
update tip message 2018-06-19 13:33:16 -04:00
Sean Yesmunt
269e913bba
Merge pull request #49 from lbryio/markb_search
added size and from values for query and as input to dosearch.
2018-06-18 20:11:42 -04:00
Mark Beamer Jr
6b6a7021bb added size and from values for query and as input to dosearch. 2018-06-17 22:29:54 -04:00
Graydon
5cf243b28b
Big typo fix
"recieve"
2018-06-16 17:45:41 -05:00
Sean Yesmunt
1739929ecf fix typo 2018-06-14 16:22:16 -04:00
Sean Yesmunt
98a05ae2fb change name of thumbnail statuses 2018-06-14 16:18:35 -04:00
Sean Yesmunt
7759bc6e8c
Merge pull request #43 from lbryio/thumbnail-upload
Thumbnail upload type
2018-06-07 23:37:47 -04:00
Akinwale Ariwodola
543af2fcee
add methods related to fetching trending content (#44) 2018-06-06 01:24:01 +01:00
Sean Yesmunt
2a3beabe09 add confirm thumbnail modal type 2018-06-05 00:13:06 -04:00
Sean Yesmunt
0239589369
Merge pull request #41 from btzr-io/patch-4
Add 3D-file support for getMediaType function
2018-06-04 23:16:43 -04:00
Sean Yesmunt
02e47f922e
Merge pull request #42 from lbryio/search-page
update search query/activity when navigating
2018-06-04 16:37:46 -04:00
Travis Eden
afca976ff9 handle HISTORY_NAVIGATE based on if url is /search 2018-06-04 11:51:44 -04:00
Travis Eden
5783efbde1 add thumbnail upload statuses 2018-06-04 09:01:14 -04:00
Travis Eden
135543199f remove notification props 2018-06-04 09:01:14 -04:00
Baltazar Gomez
6d78689fa6
add 3D-file support for getMediaType function 2018-06-03 21:25:50 -06:00
Sean Yesmunt
79280fdabf
Revert "do not reset search query on HISTORY_NAVIGATE" 2018-06-01 11:17:25 -04:00
Sean Yesmunt
b97c50d6e3
Merge pull request #37 from lbryio/notification-props
remove notification props
2018-06-01 11:09:37 -04:00
Travis Eden
3a59c27308 stop de/restructuring notificationProps; add path as valid prop 2018-05-31 11:20:18 -04:00
Thomas Zarebczan
0ce174c2ef
Fix share link
Pass correct
2018-05-31 01:58:25 -04:00
Sean Yesmunt
0c6bffccc3
Merge pull request #27 from dan1d/share-link-uri
Add function to convert an URI to  an url that can be shared and opened with lbry-app
2018-05-30 10:19:15 -04:00
Sean Yesmunt
af39e09f67
Merge pull request #31 from lbryio/search-page
do not reset search query on HISTORY_NAVIGATE
2018-05-29 22:47:26 -04:00
Sean Yesmunt
8db54c08dd
Merge pull request #35 from dan1d/add-confirmation-modal
Add confirm transaction modal.
2018-05-29 21:28:23 -04:00
Sean Yesmunt
b8d5f1c8be
Merge pull request #32 from lbryio/search
filter search suggestions so the search query isn't suggested twice
2018-05-29 15:58:04 -04:00
Daniel Dominguez
2cfef2fc53 Add confirm transaction modal. 2018-05-28 17:05:22 -03:00
Akinwale Ariwodola
2a33c5302f expose search types 2018-05-27 21:30:07 +01:00
akinwale
8cbeed7929
Merge pull request #33 from lbryio/claims-by-channel
Added claim actions. Added claim_list_by_channel call to lbry.js
2018-05-25 15:57:41 +01:00
Akinwale Ariwodola
6e0b1934d4 Added claim actions. Added claim_list_by_channel call to lbry.js 2018-05-25 12:34:12 +01:00
Sean Yesmunt
ec5d3d3fda filter search suggestions so the search query isn't suggested twice 2018-05-25 01:18:57 -04:00
Travis Eden
17ecf7f91c do not reset search query on HISTORY_NAVIGATE 2018-05-24 16:21:18 -04:00
Daniel Dominguez
878d9b758a Refactor/delete useless code on convertToShareLink function. 2018-05-23 15:17:26 -03:00
Thomas Zarebczan
f7de82daab
include channel updates in claim data
Was fixed before in lbry-app, but lost during redux migration
Allows for selection of updated channels in the publish screen channel dropdown
2018-05-23 01:15:56 -04:00
Sean Yesmunt
487570a3a7 update nav links 2018-05-21 22:07:53 -04:00
Daniel Dominguez
2f51f79730 Add function to convert an URI to an url that can be shared and opened with lbry-app. 2018-05-21 14:20:22 -03:00
Sean Yesmunt
30c18725d8
Merge pull request #26 from lbryio/channel-list
use CLAIM_LIST instead of CLAIM_LIST_MINE
2018-05-16 10:52:37 -04:00
Sean Yesmunt
67bd079779
Merge pull request #25 from lbryio/autocomplete
handle lbry uris in autocomplete results
2018-05-16 10:52:23 -04:00
Sean Yesmunt
fec4612867 use CLAIM_LIST instead of CLAIM_LIST_MINE 2018-05-15 23:26:31 -04:00
Sean Yesmunt
95124ff521 handle lbry uris in autocomplete results 2018-05-15 23:10:06 -04:00
Sean Yesmunt
4e757cb9a2 allow ability to track if search input is in focused 2018-05-15 00:18:25 -04:00
Travis Eden
c5f8cc1bdf handle doSendSupport error like complete 2018-05-14 12:05:12 -04:00
Baltazar Gomez
77d43d25b5
add modal-type for external links 2018-05-10 15:11:51 -06:00
Travis Eden
da09e8411b mark support transaction as completed 2018-05-09 16:37:33 -04:00
Daniel Dominguez
269878042b Update modal types constants and export them to use on lbry-app. 2018-05-05 16:21:13 -03:00
Akinwale Ariwodola
fbf3531fc3 added transaction_list call 2018-05-02 07:34:11 +01:00
Akinwale Ariwodola
b5e777ef91 Added wallet_* calls to lbry.js with some refactoring 2018-05-02 01:09:00 +01:00
Sean Yesmunt
3d06d1474e
Merge pull request #14 from lbryio/send-fix
fix: send credits
2018-04-25 17:47:16 -04:00
Sean Yesmunt
230f33a504 fix: send credits 2018-04-25 17:37:43 -04:00
Sean Yesmunt
93b3573ff4
Merge pull request #7 from ProfessorDey/patch-1
Simplify Media Identification Function
2018-04-25 12:40:13 -04:00
Sean Yesmunt
c04d64ad30 fix: close search modal when navigating 2018-04-25 11:19:36 -04:00
Sean Yesmunt
915799d945
Merge pull request #12 from lbryio/blacklist-content
Add ability to blacklist content
2018-04-25 11:08:09 -04:00
Sean Yesmunt
526122074e add blacklist content redux 2018-04-24 14:14:47 -04:00
akinwale
06cfc1c88c
Merge pull request #9 from lbryio/lbry-version
Added version call to lbry.js
2018-04-24 16:15:51 +01:00
Sean Yesmunt
8e1560076e
Merge pull request #11 from lbryio/isNameValid
fix: add isNameValid to global exports
2018-04-23 22:29:47 -04:00
Sean Yesmunt
71fbcfda80 fix: add isNameValid to global exports 2018-04-23 22:27:53 -04:00
akinwale
fa21fe153c
Mobile settings constants added (#10)
* BACKGROUND_PLAY_ENABLED and FOREGROUND_NOTIFICATION_ENABLED mobile settings constants added
2018-04-23 21:01:44 +01:00
Akinwale Ariwodola
bdf7639bb2 Added version call to lbry.js since proxy polyfill still doesn't work properly 2018-04-21 21:40:54 +01:00
Igor Gassmann
38b239ddb6 Merge branch 'master' into cleanup 2018-04-21 12:43:43 -04:00
Sean Yesmunt
b786f1cfb7 remove modal/snack constants 2018-04-19 14:59:08 -04:00
Sean Yesmunt
c278824b3d update doNotify and add doHideNotification 2018-04-19 14:55:37 -04:00
ProfessorDey
40ae42c5f6
Simplify Media Identification Function
Rebased from LBRY/lbry-app PR# 1304 with corrections requested by Codacy (Though may still complain regarding spacing).

This just makes the code for finding documents a lot easier. the regex patterns and the media type are converted into keypairs, [regex, mediatype] which is then reduced to a single value, which will either be the original filename if there are no matching extensions, or the mediatype. So long as the mediatype does not contain an extension at the end of the string, this system should work far more simply.

This will also allow for easier addition of new extensions to the function, so long as they all follow the same pattern for the regex:
^ = Start of string
.+ = 1 or more characters of any type
. = A literal dot
(a|b|c) = A list of ORed extensions within a capture group '( )'
$ = End of string, so it is certain this is the actual extension of the filename

Won't be hard to add things like Archives, Executables, etc with just a single extra line now.
2018-04-19 17:59:24 +00:00
Sean Yesmunt
006963322e fix: check that claim exists before checking value 2018-04-05 11:45:17 -04:00
Igor Gassmann
c7d65ad378 fix: linting errors 2018-04-05 11:27:29 -04:00
akinwale
6418b5a9f2
Common components refactor (#1) 2018-04-05 03:57:29 +01:00
Akinwale Ariwodola
57e5b4a086 added lbryapi.js and removed electron-specific code from lbry.js 2018-01-15 19:06:44 +01:00
Akinwale Ariwodola
e127e3c38d updated index for cost_info reducer 2018-01-11 13:12:37 +01:00
Akinwale Ariwodola
cf9b0cfdaf Initial commit 2018-01-11 12:54:20 +01:00