lbry-desktop/ui/component
infiinte-persistence 4c57cdd99f Block mature content when accessed directly from URL
## Issue:
Fixes 4549 `Mature content + navigating to URLs directly`
_If a user navigates to mature content directly, we currently show the page even if mature content setting is not enabled. With our recent mature content verification setting, we should hide the page until the user turns it on - we can prompt directly on the file page._

## Changes:
1. Show basic info of the claim like URL and Title, so that user knows which page is being blocked.
2. Initially, I had 2 "boxes" -- one for the title and another for the message. It felt a bit messy, so `FileTitle` was augmented to house everything in one box.
2020-07-24 16:59:02 -04:00
..
abandonedChannelPreview bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
app add comments behind a flag 2020-07-23 11:03:00 -04:00
autoplayCountdown Pause 'Autoplay': cleanup 2020-06-25 00:23:47 -04:00
blockButton bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
button remove unused styles and add title fallback 2020-07-02 13:01:31 -04:00
cardVerify add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
channelAbout new channel creating and editing 2020-07-01 22:01:48 -04:00
channelContent Fix channel file-search not available in mobile 2020-07-20 10:37:10 -04:00
channelCreate old channel create default bid 2020-07-03 10:27:01 -04:00
channelDiscussion clean up side navigation 2020-01-03 14:25:00 -05:00
channelEdit amount part deux 2020-07-03 11:03:29 -04:00
channelForm add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
channelSelector remove unnecessary div wraper 2020-05-08 14:16:40 -04:00
channelThumbnail add comments behind a flag 2020-07-23 11:03:00 -04:00
channelTitle improve empty states 2020-03-19 12:12:19 -04:00
claimAbandonButton style pass for channel edit 2020-07-01 22:04:23 -04:00
claimEffectiveAmount fix typo 2020-02-12 11:00:17 -05:00
claimInsufficientCredits Correct link to buy page 2020-06-29 09:47:26 -04:00
claimLink add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
claimList Inf-scroll: Change region to 'main' to ignore long tag/following list. 2020-07-02 10:37:31 -04:00
claimListDiscover bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
claimPreview bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
claimPreviewSubtitle track reflecting files after publish 2020-05-08 14:13:56 -04:00
claimPreviewTile bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
claimPreviewTitle cleanup 2020-03-19 12:12:19 -04:00
claimRepostAuthor basic display of reposts in app 2020-01-31 12:50:19 -05:00
claimSupportButton add supports to 'top' page 2020-02-12 15:34:59 -05:00
claimTags purchases page, cleanup on pages with <ClaimList /> 2020-05-11 12:31:22 -04:00
claimTilesDiscover bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
claimUri bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
comment allow blocking channels from comment 2020-07-20 14:48:25 -04:00
commentCreate fix import statement 2020-07-15 12:33:20 -04:00
commentsList bring in comment code from lbry-redux 2020-06-23 16:01:20 -04:00
common add comments behind a flag 2020-07-23 11:03:00 -04:00
copyableText bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
creatorAnalytics tip/support marriage 2020-06-15 10:50:01 -04:00
dateTime remove 'show both' date option in DateTime 2020-07-09 14:49:36 -04:00
doodle refactor lbrytv web server 2019-11-11 13:27:29 -05:00
emailCollection add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
embedPlayButton improve first time play experience for paid content in blog posts 2020-05-25 13:29:38 -04:00
embedTextArea add id to iframe for easier embed styling 2020-07-15 23:33:14 -04:00
errorBoundary new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
expandable remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
externalLink remove LBRY_INC_DOMAINS list 2019-12-03 13:25:17 -05:00
fileActions Revert the Links Modal; we'll augment the Share Modal to include the download link. 2020-07-07 09:29:05 -04:00
fileAuthor better naming of things 2020-01-30 17:26:08 -05:00
fileDescription add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
fileDetails add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
fileDownloadLink fix download link on desktop 2020-06-08 16:26:49 -04:00
fileDrop Support drag-and-drop file publishing (#4170) 2020-05-25 10:27:36 -04:00
filePrice Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
fileProperties Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
fileRender simplify floating player controls 2020-07-23 11:16:32 -04:00
fileRenderDownload Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
fileRenderFloating simplify floating player controls 2020-07-23 11:16:32 -04:00
fileRenderInitiator add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
fileRenderInline add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
fileSubtitle adds tip unlock modal to file page 2020-04-02 08:54:43 -04:00
fileThumbnail force https thumbs or handle img src error 2020-06-08 09:42:19 -04:00
fileTitle Block mature content when accessed directly from URL 2020-07-24 16:59:02 -04:00
fileType add file icons to ClaimPreview 2020-01-29 11:22:35 -05:00
fileValues add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
fileViewCount Made uniform display of text views 2020-06-09 09:26:41 -04:00
fileViewerEmbeddedTitle moar improvements 2020-05-26 14:42:44 -04:00
formFieldPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header add comments behind a flag 2020-07-23 11:03:00 -04:00
hiddenNsfwClaims fix empty state when mature content is hidden 2019-12-14 02:28:47 -05:00
i18nMessage Fix <i18nMessage> not localizing the message. 2020-05-25 10:18:08 -04:00
IframeReact File downloads and refactoring (#3918) 2020-04-01 14:43:50 -04:00
invited add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
inviteList add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
inviteNew add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
navigationButton Allow double-clicking in header to maximize the app. 2020-05-17 21:26:30 -07:00
navigationHistory remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
navigationHistoryItem cleanup css 2019-12-10 10:08:14 -05:00
navigationHistoryRecent refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notification add comments behind a flag 2020-07-23 11:03:00 -04:00
notificationHeaderButton add comments behind a flag 2020-07-23 11:03:00 -04:00
page new channel creating and editing 2020-07-01 22:01:48 -04:00
previewLink add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
privacyAgreement add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
publishAdditionalOptions comment out lbry-first code 2020-07-13 10:03:00 -04:00
publishFile Fix 'transcoding' checkbox state when switching file types. 2020-07-20 09:57:59 -04:00
publishForm cleanup - broken? 2020-07-08 14:23:43 -04:00
publishFormErrors new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
publishName Add claim-overwrite prevention. 2020-06-22 15:21:42 -04:00
publishPending track reflecting files after publish 2020-05-08 14:13:56 -04:00
publishPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
publishText Set "Description" field limit to 5000 characters. 2020-06-15 10:53:17 -04:00
recommendedContent add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardAuthIntro add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardLink add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardListClaimed add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardSummary add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardTile Delete unused or duplicate strings. 2020-06-22 10:27:55 -04:00
rewardTotal add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
router add comments behind a flag 2020-07-23 11:03:00 -04:00
searchOptions blocks mature content from search when appropriate 2020-01-31 15:10:35 -05:00
selectAsset better handle channel thumbnail upload and remove spee.ch text 2020-07-22 12:26:31 -04:00
selectChannel New Channel: Fix incorrect GUI configuration at entry 2020-07-20 11:36:36 -04:00
selectThumbnail better handle channel thumbnail upload and remove spee.ch text 2020-07-22 12:26:31 -04:00
settingAccountPassword Add 'Forgot Password' button when changing passwords in the Settings Page. 2020-07-08 14:36:04 -04:00
settingAutoLaunch Patch for "7839bbf2: Fix language-change not applied to all components immediately" 2020-07-06 09:52:16 -04:00
settingLanguage proper default languages 2019-11-13 09:53:01 -05:00
settingWalletServer Made strings from settingWalletServer translatable 2020-06-09 09:24:32 -04:00
shareButton bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
sideNavigation Library => Purchased on web 2020-07-23 11:16:32 -04:00
snackBar bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
socialShare ShareModal: Change "..." icon to "Links" 2020-07-07 09:29:05 -04:00
spinner cleanup css 2019-12-10 10:08:14 -05:00
splash Fix unresolved translations in the Splash Screen. 2020-06-29 09:52:05 -04:00
subscribeButton bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
subscribeMarkAsRead refactor lbrytv web server 2019-11-11 13:27:29 -05:00
supportsLiquidate Remove unnecessary variables and strings for translation. 2020-06-01 10:29:16 -04:00
syncPassword add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
syncToggle Patch for "7839bbf2: Fix language-change not applied to all components immediately" 2020-07-06 09:52:16 -04:00
tag overhaul tags 2020-03-06 17:15:51 -05:00
tagsSearch don't allow lbry-first tag to be added manually 2020-07-08 14:23:43 -04:00
tagsSelect adds tip unlock modal to file page 2020-04-02 08:54:43 -04:00
theme refactor lbrytv web server 2019-11-11 13:27:29 -05:00
transactionListTable add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
txoList fix typo 2020-07-02 11:39:12 -04:00
uriIndicator add FileProperties to ClaimPreviewTile 2020-01-29 11:22:35 -05:00
userChannelFollowIntro specify first run follow in config 2020-07-20 13:59:46 -04:00
userEmail add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userEmailNew Normalize email place holder value 2020-07-07 09:31:08 -04:00
userEmailReturning disable submit button while login is pending 2020-07-09 14:49:36 -04:00
userEmailVerify add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userFirstChannel add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userPasswordReset UserPasswordReset: Handle 'Cancel' and 'X' for the direct entry scenario. 2020-07-08 14:36:04 -04:00
userPasswordSet add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userPhoneNew add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userPhoneVerify add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userSignIn add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userSignInPassword disable submit button while login is pending 2020-07-09 14:49:36 -04:00
userSignOutButton add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userSignUp add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userTagFollowIntro new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
userVerify add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
videoDuration refactor lbrytv web server 2019-11-11 13:27:29 -05:00
viewers Video: Consolidate showTapButton() into a single call since the functionality is mutually exclusive. 2020-07-15 16:10:10 -04:00
walletAddress remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
walletBackup found more strings 2020-04-27 09:53:12 -04:00
walletBalance add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
walletSend improve support/tip for 0 balance and own claims 2020-06-15 10:50:01 -04:00
walletSendTip TipModal: Move "Buy More" next to price selection. 2020-07-09 13:04:18 -04:00
webUploadList remove extra div 2020-05-28 10:47:27 -04:00
wunderbar simplify wunderbar copy 2020-07-23 11:16:32 -04:00
youtubeBadge Restore and fix "comment out youtube badge on file page to fix mobile style" 2020-07-20 10:48:32 -04:00
youtubeTransferStatus style pass for channel edit 2020-07-01 22:04:23 -04:00
yrbl remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00