Compare commits

..
Author SHA1 Message Date
jessopb e9f5db7edb Update youtube.md 2019-09-16 12:38:31 -04:00
43 changed files with 193 additions and 759 deletions

No files matched your search

+1 -2
View File
@@ -12,7 +12,6 @@
"erusev/parsedown": "^1.6",
"erusev/parsedown-extra": "^0.7.1",
"pelago/emogrifier": "^2.0",
"mustangostang/spyc": "^0.6.2",
"paquettg/php-html-parser": "^2.1"
"mustangostang/spyc": "^0.6.2"
}
}
Generated
+1 -97
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "f15420a8ce3f7350d05c6ac92f3e54b0",
"content-hash": "4df89eeabf27a1fde648e75d29109826",
"packages": [
{
"name": "erusev/parsedown",
@@ -198,102 +198,6 @@
],
"time": "2017-02-24T16:06:33+00:00"
},
{
"name": "paquettg/php-html-parser",
"version": "2.1.0",
"source": {
"type": "git",
"url": "https://github.com/paquettg/php-html-parser.git",
"reference": "d1000936350fed2cb6c54058890d2d19c5ccba4f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paquettg/php-html-parser/zipball/d1000936350fed2cb6c54058890d2d19c5ccba4f",
"reference": "d1000936350fed2cb6c54058890d2d19c5ccba4f",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"paquettg/string-encode": "~1.0.0",
"php": ">=7.1"
},
"require-dev": {
"mockery/mockery": "^1.2",
"php-coveralls/php-coveralls": "^2.1",
"phpunit/phpunit": "^7.5.1"
},
"type": "library",
"autoload": {
"psr-4": {
"PHPHtmlParser\\": "src/PHPHtmlParser"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Gilles Paquette",
"email": "paquettg@gmail.com",
"homepage": "http://gillespaquette.ca"
}
],
"description": "An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.",
"homepage": "https://github.com/paquettg/php-html-parser",
"keywords": [
"dom",
"html",
"parser"
],
"time": "2019-08-18T18:27:45+00:00"
},
{
"name": "paquettg/string-encode",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/paquettg/string-encoder.git",
"reference": "a8708e9fac9d5ddfc8fc2aac6004e2cd05d80fee"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paquettg/string-encoder/zipball/a8708e9fac9d5ddfc8fc2aac6004e2cd05d80fee",
"reference": "a8708e9fac9d5ddfc8fc2aac6004e2cd05d80fee",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.5.1"
},
"type": "library",
"autoload": {
"psr-0": {
"stringEncode": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Gilles Paquette",
"email": "paquettg@gmail.com",
"homepage": "http://gillespaquette.ca"
}
],
"description": "Facilitating the process of altering string encoding in PHP.",
"homepage": "https://github.com/paquettg/string-encoder",
"keywords": [
"charset",
"encoding",
"string"
],
"time": "2018-12-21T02:25:09+00:00"
},
{
"name": "pelago/emogrifier",
"version": "v2.2.0",
-2
View File
@@ -2,8 +2,6 @@
name: Julie Sigwart
role: Community Manager
email: Julie@lbry.com
twitter: jsigwart
github: jsigwart
---
Julie brings a unique background including a long history of software development, is a cartoonist, and is also a First Amendment champion. In 1988, the Hustler v. Falwell ruling was a major event in free speech history and has been a major influence for her. As an editorial cartoonist, she appreciates the gravity of that ruling to protect free speech, including speech that may be unpopular. In the early 2000’s, she founded Take Back the Media, a website dedicated to calling out mainstream news media for bias, omissions, and factual inaccuracies. Aside from receiving death threats (another consequence associated with free speech), Julie and Take Back The Media were sued in a SLAPP (Strategic Lawsuit Against Public Participation designed to chill free speech) for publishing contested information involving Michael Savage, Roy Masters, and Talk Radio Network. Ultimately, the lawsuit was withdrawn by the plaintiff, but it set Julie on a course to assist others who have been targeted in SLAPP suits attempting to shut down their free speech.
-9
View File
@@ -1,9 +0,0 @@
---
title: Has LBRY received any secret government subpoenas? Does LBRY have a warrant canary?
category: other
---
Unfortunately, the nature of _secret_ subpoenas means they have to be kept secret. Fortuantely, LBRY maintains a warrant canary, viewable at:
[https://lbry.com/canary](https://lbry.com/canary)
For more on warrant canaries and how they work, check out this [Wikipedia article](https://en.wikipedia.org/wiki/Warrant_canary).
+2 -2
View File
@@ -7,7 +7,7 @@ We are listed on several exchanges. You can buy or sell LBRY Credits at one of t
### Traditional Exchanges
- [Bittrex](https://bittrex.com/Market/Index?MarketName=BTC-LBC)
- [Poloniex](https://poloniex.com/exchange#btc_lbc) (Currently in maintenance, working with Poloniex team to fix)
- [Poloniex](https://poloniex.com/exchange#btc_lbc)
- [Upbit](https://upbit.com/exchange?code=CRIX.UPBIT.BTC-LBC)
- [Instant Bitex](https://instantbitex.com)
- [Coinspot](https://www.coinspot.com.au/buy/lbc)
@@ -15,7 +15,7 @@ We are listed on several exchanges. You can buy or sell LBRY Credits at one of t
### Instant Exchanges
- [Shapeshift](https://shapeshift.io) (Currently unavailable, ShapeShift working on it. Requires free membership account now)
- [Changelly](https://changelly.com/exchange/BTC/LBC/1) (Currently unavailable)
- [Changelly](https://changelly.com/exchange/BTC/LBC/1)
- [ChangeNow](https://changenow.io/exchange?amount=1&from=btc&to=lbc)
- [Simple Swap](https://simpleswap.io)
- [Stealthex](https://stealthex.io/)
+2 -4
View File
@@ -19,9 +19,7 @@ If you don't have LBRY yet, download it [here](/get).
2. Under the `Publish` section, click `Choose File`.
3. On your local machine, select the content you wish to upload to LBRY. For video content, LBRY works best with MP4 files in H264/AAC format which support proper streaming. Besides videos, other popular formats supported are MP3s, text documents like markdown (md)/HTML, PDF, CSV, and comic books (cbr, cbz). In the future, the in app player may support additional formats.
Other file types can also be uploaded, but won't be streamable via the LBRY app directly. They can be opened externally for viewing.
3. On your local machine, select the content you wish to upload to LBRY. LBRY accepts any HTML5 format for video streaming; the full list can be found [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats). This means a web-optimized MP4 file is the best format. Other file types can also be uploaded, but won't be streamable via the LBRY app.
4. Enter a `Title` and `Description` for your content. Click on advanced Editor if you will like to add some markdown text otherwise leave it as default and put your title and description.
@@ -121,7 +119,7 @@ In the future, we will add more of these types of statistics to LBRY.
### My video doesn't stream in the app, what's wrong?
The in-app video player's streaming capability works best with the H264/AAC format, typically in a MP4 container but others like M4V will also work. Other non-streaming video types like AVI/WMV/MOV file formats are not supported by the in-app player, but they can be shared/downloaded and will play outside of the app.
The in-app video player's streaming capabilities are limited to MP4 files which are web-optimized (metadata is contained at the front of the file). If it's not web-optimized, the MP4 file will still play in the app, but the entire file will need to be downloaded first. AVI/WMV/MOV file formats are also not supported by the in-app player. They can be shared/downloaded but will need to be played externally.
### I shared my URL, but others can't download it. What's going on?
-9
View File
@@ -1,9 +0,0 @@
---
title: How do I remove my account?
category: troubleshooting
order: 5
---
Account deletion is a manual process at this time. If you'd to proceed with account removal, please [email us at hello@lbry.com](mailto:hello@lbry.com). You can then uninstall your LBRY application. Any LBC and downloaded content you may have had will persist on your device, see our [directories FAQ](https://lbry.com/faq/lbry-directories) to find these locations.
Please note: If you have earned Rewards on your email address, we'll put your email into a dormant state and you'll never hear from us (all other data deleted). Otherwise, it will be completely removed.
-71
View File
@@ -1,71 +0,0 @@
---
title: How does LBRY handle privacy? What data does LBRY collect?
category: LBRY 101
order: 5
---
LBRY takes privacy seriously and carefully considers the data it collects.
Our official privacy policy is viewable at https://lbry.com/privacypolicy. This FAQ article attempts to explain our policy in plain English, but should not be considered an official policy document.
LBRY collects data for a variety of reasons, including but not limited to:
- debugging and improving the protocol
- understanding how our users interact with our applications
- preventing fraud in our reward programs
- providing statistics to content creators
We promise to keep any collected data safe and to never share personal, private information with anyone outside of LBRY Inc.
Users can also [choose to use LBRY anonymously](#anonymous) however some features, like [LBRY Rewards](https://lbry.com/faq/rewards), will not be available.
Additionally, even when not sending data to us, using LBRY typically involves participation in the peer-to-peer LBRY network and certain information like your IP address is likely to be exposed regardless. See [below](#p2p) for more information.
### What type of data is collected and where?
As a first time user of LBRY applications, you have the option of providing an email address to create a LBRY account. This allows for a richer user experience by enabling services such as [LBRY Rewards](https://lbry.com/faq/rewards), email notifications, and account synchronization (i.e. subscriptions and user preferences) across multiple devices/platforms. If you do not provide an email, any data collected cannot be associated with your identity, but may still be tied back to other system information like IP addresses.
See below tables for a break-down of the types of data collected and associated applications.
Scope of Data | Depends on| Optional | Visibility | Details
:------------ |:------------ |:------------ |:------------ |:------------ |
Email addresses | | Yes, if email provided | LBRY | Used to create and authenticate a LBRY account
User preferences | Email | Yes, if email provided | LBRY | Subscriptions, tags, blocked channels, and application settings
System information | | Yes, if Share Diagnostic Data enabled | LBRY | Operating system, application/SDK versions, and unique install identifier
Identity verification | Email | Yes, if going through manual approval | LBRY | Phone number, credit card fingerprint (Stripe), and 3rd party services identifiers (i.e. YouTube, GitHub)
Google Analytics | | Yes, if Share Diagnostic Data enabled | LBRY | User behavior and interactions within the applications are tracked anonymously. This is not linked to a LBRY account.
Content access analytics | Email | Yes, if email provided | LBRY | Content views used for Rewards and internal analytics
IP addresses | | No, use VPN to protect | Everyone | Any access to LBRY services are logged to prevent abuse and comply with legal requirements
Blockchain metadata | Email | Yes, if email provided | LBRY| Wallet addresses and transactions related to Rewards are logged to prevent abuse and comply with tax requirements (above $600 yearly threshold)
Blockchain transactions | | No, don’t create transactions | Everyone | Any actions taken that use LBRY credits and create a permanent transaction on the blockchain. Not linked to any Account/User data.
Scope of Data | LBRY Desktop App | LBRY.tv (Web) | LBRY Android App | LBRY SDK |
:------------ |:------------ |:------------ | :-------------| :-------------|
Email addresses | yes | yes | yes | no |
User preferences | yes | yes | yes | no |
System information | yes | no | yes | yes |
Identity verification | yes | yes | yes | no |
Google Analytics | opt-out | yes | yes | no |
Content access analytics | yes | yes | yes | yes |
IP addresses | yes | yes | yes | opt-out |
Blockchain metadata | yes | yes | yes | no |
Blockchain transactions | yes | yes | yes | yes |
### What’s the difference between account data and cryptocurrency wallets?
Each installable LBRY application also contains a cryptocurrency wallet which is stored locally on the respective device. The wallet allows you to store LBRY Credits and use them to [transact (spend, publish, purchase, and tip) on the network](https://lbry.com/faq/transaction-types). The private information, which is required to perform these actions, is under the sole control of the user.
LBRY does provide a wallet syncing and backup mechanism to allow seamless access across multiple devices. The backup service ensures that a wallet can be retrieved by the user through their LBRY account in case they lose access to their local copy. Any storage and exchange of wallet data has end to end encryption, and the user can also provide an additional encryption password if desired.
### How do I use LBRY anonymously? {#anonymous}
To use LBRY in a fully anonymous way, we recommend the LBRY Desktop application. To disable tracking features, you’ll want to disable the `Share Diagnostic Data` option from the Settings page (cog in the top right of the app). Also, you’ll want to skip providing an email and use a Virtual Private Network (VPN) to protect your IP address. This will still allow you use blockchain related features like retrieving content data, publishing, purchasing, tipping, and other transactions. Depending on VPN features and network configuration, hosting data currently may not be possible but we are looking into techniques to allow this in the future.
### Where is the account and analytics data stored?
LBRY stores collected data on its own secured databases and ensures only authorized employees have access to this data. Google Analytics data is anonymized and protected by Google.
### What information is shared with others in the network? {#p2p}
Similarly to other peer to peer protocols like BitTorrent, users in the network share messages (i.e. announcing content availability) and create direct connections to exchange data (i.e. downloads / uploads). While LBRY does not collect this information, other participants of the network can observe and collect the information.
### Can I use a VPN to use and access LBRY?
Yes, a VPN can be used with all LBRY services. Major features will work without any problems, but VPN users may not be eligible for [LBRY Rewards](https://lbry.com/faq/rewards) in order to prevent abuse.
### Is any additional data collected if I participate in the YouTube Sync program?
When authenticating into the [YouTube Sync program](https://lbry.com/youtube), you provide proof of channel ownership that allows us to link your YouTube channel to a LBRY account. Information about your account is stored and kept by LBRY, Inc.
-16
View File
@@ -1,16 +0,0 @@
---
title: How do view and subscriber counts work?
category: publisher
order: 4
---
Some LBRY applications provide view and subscriber counts, like LBRY Desktop/Web.
![views](https://spee.ch/6/views.png)
How these numbers work is more complicated than it might appear. As a decentralized protocol, there is no single node or computer that can observe all user activity on the LBRY network.
Instead, view and subscriber counts are currently provided by LBRY, Inc., not the protocol itself. We aggregate data from users that participate in our rewards program and/or opt-in to sharing analytics data to provide these counts.
Currently, users who opt-out of analytics (more on how to use [LBRY anonymously here](https://lbry.com/faq/privacy-and-data#anonymous)) are not counted in view or subscriber figures.
In the future, LBRY will look to improve the accuracy of this feature as well as by adding it to the protocol itself (for example, by allowing wallet servers to share aggregated statistics and allowing subscriptions to occur via a special transaction).
+32 -66
View File
@@ -1,91 +1,57 @@
---
title: What is the LBRY YouTube Program?
title: What is YouTube Sync?
category: publisher
order: 4
---
LBRY offers an easy way for YouTubers to republish their content to the LBRY network, engage with LBRY users, and earn LBC. This program is available to new and existing LBRY users - installing or using our platform is not a prerequisite to syncing your channel. LBRY provides a one-click sync process that gathers your channel and video metadata (i.e. covers, thumbnails, etc), creates a channel for you on LBRY, and publishes your videos to it.
***Service Announcement: We're close to having an automated transfer process where creators will claim their channels with the Desktop app. If you'd like to request a manual transfer sooner, please see https://lbry.com/claim-wallet***
To sync your existing YouTube channel to LBRY and learn more about the program, use [lbry.com/youtube](/youtube).
LBRY offers an easy way for YouTubers to sync their content to the LBRY network, engage with LBRY users, and earn LBC. This is intended for content creators that aren't quite ready to make the switch over to using the LBRY app at this time, and want us to keep their YouTube channel updated on LBRY. Not all channels qualify for the YouTube sync / rewards program, but users can always [upload the content themselves](https://lbry.com/faq/how-to-publish) through the LBRY app instead.
### What are the Steps?
To sync your existing channel to LBRY and learn more about the program, use the [LBRY.com YouTube Sync page](/youtube).
There are three main steps to this program:
***IMPORTANT NOTICES: You won't see your content in the LBRY app under `Publishes` nor have control of the channel until LBRY transfers control of the synced content to you. We're actively working on an automated process for this which will be ready by the end of September (we missed our original Summer estimate due unforeseen bugs). You can request at manual process at https://lbry.com/claim-wallet which requires some technical knowledge. Your content will be accessible through the LBRY Desktop app and [LBRY.tv](https://beta.lbry.tv) (see the links in your sync email). You are able to claim your Sync Reward immeadiately if you qualify (min 1K subs).**
1. *[Enroll](#enroll)* - Provide authorization for us to begin syncing. After this step, you can begin claiming [rewards](#reward) (if eligible).
**If you want to experiment with publishing manually in the LBRY app, you can create a test channel under a different name. If you create one with the same name, there will be duplicates and we won't be merging them. You can delete the content/claim you created locally using the trash can icons on the transactions page. Thank you for your patience and understanding!**
2. *Sync* - During this step, we perform magic behind the scenes. It can take up to several days and [some sync limitations apply](#limits).
### Authenticating with your YouTube Account and Sync Details
Authenticating your YouTube channel and other information puts your content into a queue to be automatically mirrored on the LBRY network. This serves as an alternative to re-publishing your entire channel by yourself. The content, its title and description, as well as thumbnails and other metadata, will sync to your channel name. When it is done, you will receive a notice from LBRY indicating your channel is available to view.
3. *[Transfer](#transfer)* - Claim ownership of your new LBRY channel. This requires receiving your LBRY wallet, so that you and only you are in control. More [below](#claim).
There is a size limit per video of 2GB. There is a total count limit of your most recent 1,000 videos. What this means, if that isn't clear, is that your most recent 1,000 videos that are smaller than (or equal to) 2GB in size will be synced to LBRY. **Content that's marked as potential copyright violations by YouTube also will not be synced**
#### Enrolling {#enroll}
When you sync your channel, you are also eligible to receive LBRY Credits in our Partner Program based on your subscriber count. Receiving these credits is subject to a one-year agreement. The exact agreement you make when you sync can be seen [here](/faq/youtube-terms). The current rewards for syncing can be seen on the [sync page](/youtube).
To enroll, visit [lbry.com/youtube](/youtube).
The sync process stores your wallet in a secure location, as you may not have the LBRY app installed already. If you have over 100K subs and are comfortable with [swapping out wallet files](/faq/how-to-backup-wallet), we can work with you to transfer your synced wallet as part of a manual process. Typically, we recommend waiting until we have an automated solution for transferring this data to you via the app. Please reach out to [help@lbry.com](mailto:help@lbry.com) if you have any questions about this process.
The enrollment page will validate that you own your channel and that you agree to the terms of the LBRY YouTube program. After enrolling, we collect information about your channel (title, description, etc.) and put your content into a queue to be automatically published to the LBRY network. This means you don't have to do anything to have your entire channel backed up and permanently available via LBRY.
### How to Receive Your LBRY Credits for Syncing
When the process is complete, you will receive a notice from LBRY indicating your channel is available to view.
You can do this once your channel has been synced.
![status](https://spee.ch/2/sync-status.png)
- Download the LBRY App from [/get](https://lbry.com/get)
- Run the LBRY App
- Make sure the email saved in the application matches the email address on your [Sync Status Page](/youtube/status) - you can update this and make sure to verify via the email you receive (the email may not update but it will link together)
- Click on the **Rewards** option from under Account in the sidebar.
- Scroll to the "YouTube Reward" tile and click Get XXXX LBC.
- If you met a particular subscriber threshold (minimum 1K subs, 10 videos, and recent content), you should receive the appropriate amount of credits.
Note that as soon as you enroll, you are eligible to receive LBRY Credits based on the terms of our program. The current rewards for participating can be seen on the [program page](/youtube). The exact agreement you make when you enroll can be seen [here](/faq/youtube-terms).
### I created a channel and/or published on my LBRY app, what do I do now?
#### Claiming Rewards {#reward}
You can delete this channel and any content you published using the transactions page and trash can icons. Unless you plan to experiment with a different channel name in the meantime, please be patient until the channel is transferred to you (see above notice for timing information).
As soon as you've enrolled, you can claim your rewards.
### How do I Publish using my Channel?
1) Download, install and run the LBRY App from [lbry.com](https://lbry.com/get).
2) Make sure the email saved in the application matches the email address on your [YouTube status page](/youtube/status). If it doesn't, please update it and be sure to verify it via the email you receive.
3) Navigate to the _Rewards_ section of the app by clicking your balance in the top right.
4) Scroll to the "YouTube Reward" tile and click Get XXXX LBC to receive the appropriate amount of credits. If your account is under review, please check back later.
You won't see your content in the LBRY app under `Publishes` nor have control of the channel until LBRY transfers control of the synced content to you. We're actively working on an automated process for this which will be ready by the end of the northern hemisphere summer. However, your content will be accessible through the LBRY Desktop app and [LBRY.tv](https://beta.lbry.tv) (see the links in your sync email). If you have over 50K subscribers and want to do this via a manual process, see the [wallet claim page](https://lbry.com/claim-wallet)
#### Wallet Transfer {#transfer}
### What's the difference between Sync and Transfer?
Your _wallet_ is a special file that contains the secret keys (like a password) to your account.
When a channel is synced, it means the content has been mirrored to LBRY and available on the network for anyone to view. YouTubers will get an email once this is completed. The transfer process is described in the important notice above, which is the final step of sending the channel and content to the YouTuber's wallet so they can publish/control the content. This last step is still being actively developed and we'll let you know via email once the content is ready to be transferred. Until then, you won't see the channel/content in your Publishes section, nor be able to publish as that channel outside of the YouTube sync process.
**It is important that you have a [backup of your wallet](faq/how-to-backup-wallet) after the transfer process is initiated.** New users will have the option of doing so when they first sign into LBRY (Sync Balance setting when entering email).
The wallet transfer step ensures you have full control of your content and channel. After completing this step, LBRY will not be able to access your funds or modify your channel/account, outside of a permission we retain to continue publishing.
Currently, content transfer is available in the LBRY Desktop application. Once the channel and content is transferred, you'll be able to publish, comment, and edit existing content in the LBRY app.
If you are signing into the LBRY app for the first time, you'll be presented with an option to claim your channel. If the channel is still queued, you'll be able to claim it from the Channels page (right hand side above Publishes) after its synced. Existing app users can also claim their channels via the Channels page. If you created any channels or published content locally before initiating this step, see the [cleanup section](#cleanup).
![claim](https://spee.ch/2/sync-faq-2.png)
#### What's the exact difference between Enrolling and Transfer? {#transfer}
When you _enroll_, it means the content has been mirrored to LBRY and available on the network for anyone to view. You will get an email once this begins and once this is completed. The _transfer_ process is the final step that gives you actual and permanent control over your account (though LBRY will continue publishing content uploaded to YouTube directly to your account after transfer, retaining a permission to do this and only this).
Feature | Enroll | Transfer |
Feature | Sync | Transfer |
:------------ | :-------------| :-------------|
Your Youtube publishes will be synced | yes | yes |
You can claim LBC rewards | yes | yes |
You can use the app to publish to the channel and your content shows in the app | no | yes |
You can receive LBC from tips and content payments | no | yes |
You are responsible for keeping your wallet safe | no | yes |
Your Youtube publishes will be synced | :heavy_check_mark: | :heavy_check_mark: |
You have access to content and channel LBC from tips | :x: | :heavy_check_mark: |
Your content shows up in the app under your Publishes | :x: | :heavy_check_mark: |
You are responsible for keeping your wallet safe | :x: | :heavy_check_mark: |
You can use the app to publish to the channel | :x: | :heavy_check_mark: |
### Limitations {#limits}
- There is a size limit per video of 2GB.
- There is a total count limit of your most recent 1,000 videos.
Your most recent 1,000 videos that are 2GB or smaller in size will be synced to LBRY.
Private or unlisted videos will not be published, but everything else will.
### What happens if I created a channel and/or published on my LBRY app before transfer? {#cleanup}
If you created a channel with the same name as your YouTube channel, it is recommended you delete your locally created channel, which can be done before or after the channel transfer process. If you published any content locally, you can edit the content and use your newly transferred channel to include it, or you can simply delete the locally published content as well. Unless you plan to experiment with a different channel name in the meantime, please be patient until the channel is tranferred to you.
To delete the original channel, you'll need to navigate to the Wallet page (click on your balance in the top right). Next, click "Full History" and find the original channel you created. You may need to paginate in order to find it. Make sure it is the right channel to delete by clicking on the name from the history page first. Then use the trash can icon to remove it.
You can do the same for any content you published locally. The other option is to edit the content and select your newly tranferred channel. This will make the content appear under this channel.
### Why can't I Sync my Channel?
Not all channels may qualify for the program, but users can always [upload the content themselves](https://lbry.com/faq/how-to-publish) through a LBRY app instead. Eligibility is based on a careful determined criteria to keep spam and abuse out, but everyone else is intended to be eligible. If you were rejected and think this was an error, please [contact us](mailto:hello@lbry.com).
### Help Me
If you have questions this article did not cover, or are having any trouble with the enrollment process, transfer process, or staying calm and happy under the unrelenting pressure that is modern society, please contact [help@lbry.com](mailto:help@lbry.com).
If you're having any trouble with the sync process or receiving your credits, please contact [help@lbry.com](mailto:help@lbry.com).
@@ -1,7 +1,7 @@
---
author: brinck-slattery
title: 'The Birth Of Entertainment'
date: '2018-01-17 15:30:00'
date: '2020-11-17 14:00:00'
cover: 'muses.jpg'
category: content
---
@@ -6,8 +6,6 @@ cover: 'Hacktoberfest.jpg'
category: users
---
_(For CURRENT\_YEAR's Hacktoberfest announcement, please visit [lbry.com/hacktoberfest](https://lbry.com/hacktoberfest))_
The leaves are starting to fall, and that means it's time for Hackoberfest! Thanks to [DigitalOcean's hard work](https://hacktoberfest.digitalocean.com), newbies and seasoned open source developers alike have a unique opportunity to solve new and challenging problems and bugs all through the month of October (and earn [some recognition and a free t-shirt](https://hacktoberfest.digitalocean.com/details) in the process).
Open source is (literally) part of our DNA here at LBRY, and we're always happy when we get an opportunity to support our fellow open source projects. Throughout the month of October, our developers will be hosting informational sessions, meetups, and coding projects to introduce other programmers to the world of open source software and start making contributions immediately.
+1 -1
View File
@@ -164,7 +164,7 @@ The SDK team was responsible for exposing the necessary tools to export and upda
The result is pretty fascinating and closes the last loop in the sync process: YouTube creators can click a single button in the app, immediately gain access to publish new content via their channel, and their wallet will soon be populated with all their content and channel claims, including all their tips being re-supported on their channel. We’re all super excited for this one!
### Community Block Explorer {#explorer}
A community member by the name of [Alessandro Spallina](https://github.com/AlessandroSpallina) became interested in the LBRY ecosystem and wanted to implement a more modern and fully featured block explorer that exposes important metrics of the LBRY blockchain. You can check out his [GitHub issue](https://github.com/lbryio/block-explorer/issues/67) outlining what he plans on developing or you can go straight to the explorer prototype at [lbryexplorer.tech](https://lbryexplorer.tech/) to give it a shot We’d appreciate any feedback on the GitHub issue and current prototype - you can leave a comment on GitHub or reach out on [Discord](https://chat.lbry.com) #dev channel by tagging @SK3LA.
A community member by the name of [Allesandro Spallina](https://github.com/AlessandroSpallina) became interested in the LBRY ecosystem and wanted to implement a more modern and fully featured block explorer that exposes important metrics of the LBRY blockchain. You can check out his [GitHub issue](https://github.com/lbryio/block-explorer/issues/67) outlining what he plans on developing or you can go straight to the explorer prototype at [lbryexplorer.tech](https://lbryexplorer.tech/) to give it a shot We’d appreciate any feedback on the GitHub issue and current prototype - you can leave a comment on GitHub or reach out on [Discord](https://chat.lbry.com) #dev channel by tagging @SK3LA.
![explorer](https://spee.ch/f/explorer-new.png)
@@ -1,24 +0,0 @@
---
author: brinck-slattery
title: 'LBRY Butterfly Flits Onto The Scene'
date: '2019-09-26 08:00:00'
cover: 'Butterfly.jpg'
category: news
---
# LBRY Butterfly is LIVE in the Google Play store!
![](https://spee.ch/6/Butterfly-gif.gif)
## The first in a series of updates that will be rolling out over the next few months, Butterfly has some amazing features that you've all been asking for, and a few you haven't!
Wondering what's in the box?
* **A new channel page.** This page will help publishers manage their content.
* **Thumbnail selection for published content.**
* **Universal Publishing.** You can publish ANY kind of file form your mobile device.
* **USD Pricing.** To allow creators to give people purchasing their content a better idea of what they're spending in dollars.
* **Synchronized tags and subscriptions across devices.** We're still overhauling the whole LBRY ecosystem, but when universal log-in is ready, our Android app will be too!
* **LBRY SDK 0.40.1** for improved stability and performance.
* **And much, much more!**
## On top of all that, you can now earn DAILY REWARDS just for watching your favorite stuff on LBRY!
And as a gift to our biggest fans, we've included a special reward code for the first 100 users to get to it! Enter **android-b-919** in your app to get the reward.
So open your app now to upgrade - and if you haven’t installed it yet, what are you waiting for? [Click here to get it now](https://play.google.com/store/apps/details?id=io.lbry.browser&hl=en_US), or open your app to upgrade!
-176
View File
@@ -1,176 +0,0 @@
---
author: julie-sigwart
title: 'September 2019 LBRY Community Report'
date: '2019-09-26 13:00:00'
cover: 'leaves.jpg'
category: community-update
---
# Welcome to the September 2019 LBRY Community update!
If you aren’t part of our Discord community yet, [join us](https://chat.lbry.com) anytime and say hello! Our community allows LBRYians to interact with the team directly and for us to engage users and grow the LBRY platform. If you don't already, follow us on [Twitter](https://twitter.com/lbryio), [Facebook](https://facebook.com/lbryio), [Reddit](https://www.reddit.com/r/lbry), and [Telegram](https://t.me/lbryofficial).
## In This Update: {#updates}
* [What's new at LBRY?](#news)
* [LBRY.tv is nearly here](#web)
* [LBRY Android Butterfly Released](#android)
* [New Daily Rewards!](#rewards)
* [Hacktoberfest](#hacktoberfest)
* [We're looking to create new hives!](#new)
* [Hive Updates](#hives)
* [LBRY App in More Languages](#i18n)
* [Community Block Explorer](#explorer)
* [Yummy Dessert!](#dessert)
### What's New at LBRY? {#news}
#### LBRY Desktop, Android, and Web App Software
Since our last update, progress has been made on a number of our Roadmap items, including:
* Software app for Android, desktop, and the web. the app team shipped our next named release, 0.35, under codename Franklin as well as a few patches. Franklin enhances the app experience with a brand new videojs-based video player.
* Other new features in Franklin include:
- The ability to continue watching videos in pop out mode
- Support of range requests (streaming)
- The ability to block channels app-wide
![franklin](https://spee.ch/9/35.gif)
#### Video Player and Download Settings
The new video player fixes a number of bugs and includes new features like volume control, ability to play more video codecs, and you can also skip anywhere in the video instantly.
Did you say you don't want to download every video? We heard your feedback! There are two new settings for saving hosted content and files. Users who wish to disable either or both can do so.
![download](https://spee.ch/9/download-settings.png)
#### LBRY.tv {#web}
Over the last few months, we’ve been running a view-only pilot of [beta.lbry.tv](https://beta.lbry.tv), meaning you can view free content, but many of the other features like wallets, rewards, and publishing have been disabled.
We also added some tags so when you share a LBRY file on social media such as Twitter or Facebook, you will see a preview and description of the actual content instead of a generic LBRY image.
![metadata](https://spee.ch/c/tv-metadata.png)
#### LBRY for Android {#android}
Announcing the release of Butterfly! Since our last update, the Android app has been playing catchup with the Desktop app’s discovery features - this includes the ability to follow tags and explore tags, create channels, and publish (and edit!) content. We’re also excited that some of the more profound performance problems with the Android app have been resolved. The publish process now includes automatic uploading of thumbnails, and you can also tag your content, create a channel, select a URL, and adjust your default LBC bid.
All of the [details of the latest release are here.](https://lbry.com/news/butterfly-flits-onto-the-scene)
#### New Daily Rewards! {#rewards}
Weekly rewards tied to the LBRYCast email have gone away, but now you can earn even more LBC with the new daily watch rewards! Each day you watch a video, you'll receive a random award of between 1 and 100 LBC. Enjoy!
### Hacktoberfest is Here! {#hacktoberfest}
As an Open Source company, LBRY is excited to participate in Hacktoberfest again this year! Submit Pull Requests to our Github project repos to earn a brand new limited-edition collectible LBRY Hacktoberfest t-shirt and other swag.
The details will be [posted here](https://lbry.com/hacktoberfest) as they are available, including requirements to earn swag and other activities we'll be hosting in October.
![Hacktoberfest is Here](https://spee.ch/@lbrynews:0/hacktoberfest1.jpg)
### We're recruiting for existing and new hives! {#new}
The LBRY Swarm is a community program to promote awareness, use, and development of the LBRY protocol and network. We believe in empowering people across the globe to be able to promote and monetize their content and regain control from corporate-controlled centralized platforms.
We need your help to grow the Swarm program. There are a number of potential hive focus areas, and we're interested in new hives or for existing hives to curate content in these areas:
* Fine Art
* Photography
* Fan Art (think DeviantArt)
* Science topics
* Craft How-tos
* Life Hacks/How-tos
* News
* Free Speech
* Activism
* Environment
* Arabic
* French
* Gaming
If you’re interested in finding out more about the Swarm program, how to start a hive, or join one, [please check out this link.](https://docs.google.com/forms/d/e/1FAIpQLSfDabPptaLx7TI7DeT_dAOZgeulSRD1A-VnYYypbuc_r4wlhA/viewform?usp=sf_link)
We have a new Discord home for the Swarm, and you [can join here and ask us questions about the program or find an interesting hive!](https://invite.lbry.org)
### Selected Hive Updates {#hives}
#### Open Source LBRY
Open Source LBRY has been focused on uploading all of Project Gutenberg to LBRY. There are a total of over 60,000 books in the project, and you can see works from [Project Gutenberg channel here.](lbry://@Gutenberg#a)
![Project Gutenberg](https://spee.ch/@lbrynews:0/ProjectGutemberglogosvg.png)
#### LBRY India - Blockchain Youth at LPU
LBRY India hive attended this event, and Clement was featured and spoke about LBRY as an emerging blockchain technology and the opportunities for young adults to get involved! We're excited to see Clement's involvement as Blockchain Youth develops into its own organization.
![Clement at Blockchain Youthh](https://spee.ch/@lbrynews:0/clement-lpu.jpeg")
_Clement tells the audience about LBRY and blockchain opportunities_
![A big audience](https://spee.ch/@lbrynews:0/audience1.jpeg)
_There was a fantastic turnout for the event_
![LBRY Supporter](https://spee.ch/@lbrynews:0/speaker.jpg)
_A LBRY user talks about how she uses LBRY to host her content_
#### LBRY.social
This hive has been working on many different objectives, including a weblog. Here is an [excellent case study](https://lbry.social/blog/using-lbry-well/) they've written about Turkish creator Efe Aydal and his success on the LBRY platform.
Dr. Brendon Brewer has been working with Mark Firth to create a visualization of LBRY statistics. Take a look here to see their progress: https://lbry.social/lbrynomics/
[Brendon Brewer LBRYnomics](https://www.brendonbrewer.com/lbrynomics/)
#### China Hive
The China Hive is attending the Blockchain World Forum Conference, October 24-25 in Shenzhen, through a grant from the LBRY fund. The website for [the conference is here.](http://sz.thebwf.com/)
#### New LBRY Uganda Hive!
We're excited to have our first hive in Africa!
Our Uganda community held their first LBRY meetup. We love to see LBRY, open source, and blockchain technologies spread worldwide.
![LBRY Uganda](https://spee.ch/@lbrynews:0/uganda.jpg)
![LBRY Uganda](https://spee.ch/@lbrynews:0/lbryuganda.jpg)
LBRY Uganda has even created special t-shirts for their members.
![LBRY Uganda](https://spee.ch/@lbrynews:0/lbry-uganda.jpg)
#### Noob Team Hive
Noob Team Hive is always coming up with imaginative ideas! Most recently, they created an activity easy enough for any skill level to participate. They love our LBRY mascot, Yerbil the Gerbil, and have created fan art variations:
![Noob Team Yerbil Cartoons](https://spee.ch/@lbrynews:0/noob-yerbils.png)
### LBRY App Language Translations {#i18n}
We have internationalized the LBRY App! We have added new languages like Bahasa Indonesia, Polish and German, and we will soon have many others. If you're interested in adding a language or helping translate please contact [Julie.](mailto:julie@lbry.com)
### Community Block Explorer {#explorer}
A community member by the name of [Alessandro Spallina](https://github.com/AlessandroSpallina) became interested in the LBRY ecosystem and wanted to implement a more modern and fully featured block explorer that exposes important metrics of the LBRY blockchain.
You can check out his [GitHub issue](https://github.com/lbryio/block-explorer/issues/67) outlining what he plans on developing or you can go straight to the explorer prototype at [lbryexplorer.tech](https://lbryexplorer.tech/) to give it a shot.
He’d appreciate any feedback on the GitHub issue and current prototype - you can leave a comment on GitHub or reach out on [Discord](https://chat.lbry.com) #dev channel by tagging @SK3LA.
![New Block Explorer](https://spee.ch/@lbrynews:0/newexplorer.png)
### Since you've read this far here's your dessert! 🍦 {#dessert}
We appreciate your attention and now we have a little dessert for you. Enter `lbry-ice-cream` in the desktop app and get a few sprinkles of LBCs!
## Want to Develop on the LBRY Ecosystem?
All of our code is open source and available on [GitHub](https://github.com/lbryio). Are you a developer and want to find out more? Check out our [contributing guide](https://lbry.tech/contribute) and our [LBRY App specific contributing document](https://github.com/lbryio/lbry-app/blob/master/CONTRIBUTING.md). Make sure you have turned on the Developer option in your email preferences (see app overview page), or sign up at [lbry.tech](https://lbry.tech). We also have a [LBRY Discourse Forum](https://discourse.lbry.io) where developers can interact with the team and ask questions across all our different projects.
If you aren’t part of our Discord community yet, [join us](https://chat.lbry.com) anytime and say hello!
[Back to **Community Updates**](#updates)
Thanks for supporting LBRY - stay tuned for more news and updates! And if you haven’t downloaded the [LBRY app](https://lbry.com/get?auto=1) yet, what are you waiting for?
-74
View File
@@ -1,74 +0,0 @@
---
author: jeremy-kauffman
title: 'Hacktoberfest 2019!'
date: '2019-10-01 11:37:00'
cover: 'Hacktoberfest.jpg'
og: 'https://spee.ch/@lbryblog:e/hacktoberfest2019.png'
category: developers
---
It's fall and...
*Hoot hoot!*
Do you hear that? Is it an owl?
Actually, it’s people expressing their excitement about this year’s Hacktoberfest!
Every October, LBRY and many other open-source companies make a special effort to welcome new contributors. Throughout the month, we’ll be guiding new contributors, hosting information sessions and events, and giving out some sweet swag and rewards to those who participate.
![LBRY 2019 Hacktoberfest Logo](https://spee.ch/@lbryblog:e/hacktoberfest2019.png)
## How To Participate
If you’re a developer that is comfortable working in Python, C++, JavaScript, or HTML/CSS, there’s plenty to be done from big to small.
If you are a capable reader (and if you’re a developer, we cannot recommend this skill strongly enough), our [contributor’s guide](https://lbry.tech/contribute) outlines existing LBRY repos, languages, and how to get started.
For Hacktoberfest specifically, we’ve focused on making sure there are newcomer-friendly issues for the following repos:
| Repo | Language | Description | Hacktoberfest Issues
--- | --- | --- | ---
| [lbrycrd](https://github.com/lbryio/lbrycrd) | C++ | The LBRY blockchain daemon. | [Issues](https://github.com/lbryio/lbrycrd/issues?q=is%3Aopen+is%3Aissue+label%3Ahacktoberfest)
| [lbry-sdk](https://github.com/lbryio/lbry-sdk) | Python | The SDK used by most LBRY apps, includes SPV wallet, data network, and more. | [Issues](https://github.com/lbryio/lbry-sdk/issues?q=is%3Aopen+is%3Aissue+label%3Ahacktoberfest)
| [lbry-desktop](https://github.com/lbryio/lbry-desktop) | JavaScript (React) | The official desktop client and soon-to-be lbry.tv frontend. | [Issues](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3Ahacktoberfest)
| [lbry-android](https://github.com/lbryio/lbry-android) | JavaScript (React) | The official Android browser. | [Issues](https://github.com/lbryio/lbry-android/issues?q=is%3Aopen+is%3Aissue+label%3Ahacktoberfest)
All of the above repos have user-friendly READMEs to get up and running because around here we’ve got [standards](https://lbry.tech/resources/repository-standards). And if you’re looking for some personal help, you can [join our chat](https://chat.lbry.com/), post on [our forum](http://forum.lbry.tech/), or join a [live session](#events).
Note: the chat link goes to LBRY’s main public chat. Post a message in binary* to let everyone know you are a developer and you will be whisked away to secret lairs.
*You don’t have to do this and as far as I know no one ever has, but it would presumably work.
## Swagtoberfest and Token Giveaways
Anyone who makes any contribution at all, even a one line typo fix, will receive a LBRY sticker.
Anyone who contributes anything of any substance* will receive a sticker, LBRY t-shirt, and more.
And as always, anyone who contributes will receive LBC as [appreciation](https://lbry.com/faq/appreciation).
Additionally, this month only, every contributor, new or returning, will receive a 10,000 LBC bonus for their first PR of this month.
T-shirts and stickers will be the above Hacktoberfest image.
*We’re going to be very inclusive as counting PRs as substantive, but due to some people making drive-by PRs to earn shirts, we’ve introduced this additional qualifier.
## <a name="events"></a>Events
This year, we’ll be hosting several live video sessions.
If you want to live help with screen sharing and extended demos, you can join these sessions during the hours listed. A LBRY developer will be there, waiting, lurking, and just when you least expect it… will answer your questions politely and promptly.
Video sessions will happen on the following dates and times:
- Thursday, October 3rd, 18:00-22:00 UTC
- Sunday, October 13th, 15:00-19:00 UTC
- Tuesday, October 22nd, 20:00-24:00 UTC
For all sessions, visit [lbry.com/doitlive](https://lbry.com/doitlive). This link may not function until shortly before each event.
## Developer Credits Program
New developers with valid GitHub accounts can receive 100 LBC for testing and getting started. You can claim that [here](https://lbry.tech/developer-program).
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

+3 -6
View File
@@ -32,11 +32,8 @@ class Controller
unset($viewParameters[View::LAYOUT_PARAMS]);
$content = View::render($viewTemplate, $viewParameters + ['fullPage' => true]);
if ($layout) {
$content = View::render('layout/basic', ['content' => $content] + $layoutParams);
}
$content = View::safeExternalLinks($content, Request::getHost());
Response::setContent($content);
Response::setContent($layout ? View::render('layout/basic', ['content' => $content] + $layoutParams) : $content);
}
Response::setDefaultSecurityHeaders();
@@ -176,7 +173,7 @@ class Controller
return static::redirect('/' . strtolower($slug), 301);
}
if (View::exists('page/' . $slug)) {
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/' . $slug, []];
} else {
return NavActions::execute404();
+1 -8
View File
@@ -16,18 +16,11 @@ class Session
{
ini_set('session.cookie_secure', IS_PRODUCTION); // send cookie over ssl only
ini_set('session.cookie_httponly', true); // no js access to cookies
session_start();
/*
* session_start automatically adds headers because lolphp, let's remove them and handle it ourselves
*/
header_remove('cache-control');
header_remove('pragma');
header_remove('expires');
if (!static::get('secure_and_httponly_set')) {
session_regenerate_id(); // ensure that old cookies get new settings
session_regenerate_id(); // ensure that old cookies get new settings
}
static::set('secure_and_httponly_set', true);
@@ -36,19 +36,16 @@ class AcquisitionActions extends Actions
public static function executeVerify(string $token)
{
Response::disableHttpCache();
return ['acquisition/verify', ['token' => $token]];
}
public static function executeAutoVerify()
{
Response::disableHttpCache();
return ['acquisition/auto-verify'];
}
public static function executeYoutubeToken()
{
Response::disableHttpCache();
$channelName = Request::encodeStringFromUser($_POST['desired_lbry_channel_name']);
$immediateSync = (boolean)$_POST['immediate_sync'];
@@ -68,7 +65,6 @@ class AcquisitionActions extends Actions
public static function executeYoutubeStatus(string $token)
{
Response::disableHttpCache();
$data = LBRY::statusYoutube($token);
if (!$data['success']) {
+10 -10
View File
@@ -28,27 +28,27 @@ class ContentActions extends Actions
public static function executeHome(): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/home'];
}
//
public static function executeOrg(): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/org'];
}
public static function executeTv(): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/tv'];
}
//
public static function executeNews(string $slug = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
if (!$slug || $slug == static::SLUG_RSS) {
$posts = array_filter(
@@ -90,7 +90,7 @@ class ContentActions extends Actions
public static function executeFaq(string $slug = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
if (!$slug) {
$allPosts = Post::find(static::VIEW_FOLDER_FAQ, Post::SORT_ORD_ASC);
@@ -139,7 +139,7 @@ class ContentActions extends Actions
public static function executeCreditReports(string $year = null, string $month = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
$posts = Post::find(static::VIEW_FOLDER_CREDIT_REPORTS);
@@ -150,7 +150,7 @@ class ContentActions extends Actions
public static function executeCreditReport(string $year = null, string $quarter = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
try {
$post = Post::load(static::SLUG_CREDIT_REPORTS . '/' . $year . '-Q' . $quarter);
@@ -172,7 +172,7 @@ class ContentActions extends Actions
public static function executeBounty(string $slug = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
@@ -276,7 +276,7 @@ class ContentActions extends Actions
//
// $zip->close();
//
// Response::enablePublicImmutableCache();
// Response::enableHttpCache();
// Response::setDownloadHttpHeaders($zipFileName, 'application/zip', filesize($zipPath));
//
// return ['internal/zip', [
@@ -320,7 +320,7 @@ class ContentActions extends Actions
}
public static function executePostCategoryFilter(string $category)
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
$filter_post = [];
+1 -1
View File
@@ -30,7 +30,7 @@ class DownloadActions extends Actions
krsort($bucket);
return Controller::redirect("https://$bucketName/" . array_keys($bucket)[0], 302);
return Controller::redirect("http://$bucketName/" . array_keys($bucket)[0], 302);
}
/*
* this is a quick fix to add android, prob not proper design
+39 -15
View File
@@ -51,7 +51,6 @@ class MailActions extends Actions
public static function executeUnsubscribe(string $email)
{
Response::disableHttpCache();
$decodedEmail = Encoding::base64DecodeUrlsafe(urldecode($email));
if (!$decodedEmail) {
return ['mail/unsubscribe', ['error' => 'Invalid unsubscribe link']];
@@ -63,7 +62,6 @@ class MailActions extends Actions
public static function editEmailSettings(string $token)
{
Response::disableHttpCache();
list($status, $headers, $response) = LBRY::emailStatus($token);
if ($status == 403) {
//Catch 403 to return elegant error message.
@@ -80,19 +78,45 @@ class MailActions extends Actions
public static function prepareSettingsFormPartial(array $vars)
{
$tags = LBRY::listTags($vars['token']);
$tagMetadata = [];
$specialDisplayNames = [
'ios' => 'iOS'
return $vars + [
'tagMetadata' => [
'3d-printing' => [
'label' => '3D Printing',
'description' => 'Receive updates, tips, and new content suggestions related to 3D Printing.'
],
'android' => [
'label' => 'Android',
'description' => 'Be an Android beta tester, earn LBC, and receive notification when the app goes live!'
],
'college' => [
'label' => 'University',
'description' => 'LBRY has special programs and opportunities for people in school.'
],
'creator' => [
'label' => 'Creator',
'description' => 'Get the most out of the stuff you create with tips and feedback from LBRY.'
],
'consumer' => [
'label' => 'Content Lover',
'description' => 'Learn how to get the most out of LBRY as someone who just wants to find cool stuff.'
],
'developer' => [
'label' => 'Developer',
'description' => 'Receive technical updates and other news intended for those who are familiar with software engineering.'
],
'ios' => [
'label' => 'iPhone',
'description' => 'Be an iOS alpha tester, earn LBC, and receive notification when the app goes live!'
],
'reward' => [
'label' => 'Rewards',
'description' => 'Receive emails about the latest rewards that are available to LBRY users.'
],
'subscription' => [
'label' => 'Subscriptions',
'description' => 'Stay up to date on the latest content from your favorite creators.'
],
]
];
foreach($tags as $tag) {
if ($tag['is_user_addable']) {
$tagMetadata[$tag['name']] = [
'label' => $specialDisplayNames[$tag['name']] ?? ucwords(str_replace(['-', '_'], ' ', $tag['name'])),
'description' => $tag['description']
];
}
}
return $vars + ['tagMetadata' => $tagMetadata];
}
}
+2 -10
View File
@@ -29,18 +29,10 @@ class i18nActions extends Actions
throw new Exception('Please set Config::TRANSIFEX_API_KEY in your configuration.');
}
$usecache = !Request::getParam('nocache');
$json = Transifex::getTranslationResourceFile($project, $resource, $language, $usecache);
if (!$json) {
return NavActions::execute404();
}
$json = Transifex::getTranslationResourceFile($project, $resource, $language);
Response::setHeader(Response::HEADER_CROSS_ORIGIN, "*");
if ($usecache) {
Response::enablePublicMutableCache(md5(json_encode($json)));
}
Response::setHeader(Response::HEADER_ETAG, md5($json));
return View::renderJson($json);
}
-2
View File
@@ -55,7 +55,6 @@
/nothing-here: /news
/There: /news
/youtube/cdSSo: /news
/news/hacktoberfest: /hacktoberfest
/news/$1.2b-market-cap-we-dont-care: /news/1.2b-market-cap-we-dont-care
/news/boom: /news/boombust
/news/tag/freedom-of-information: /news/crypto-freedom
@@ -113,7 +112,6 @@
/feedback: /learn
/press-kit.zip: /press-kit
/news/tag/events: /roadmap
/privacy: /privacypolicy
# /publish: /youtube
# Images
-1
View File
@@ -5,7 +5,6 @@
/swarm: https://docs.google.com/document/d/1W4chXeUvF4I9T3lVyyeZ-N1SUuyoMrp_QH_ITA9BrZ4/edit#
/deck.pdf: "https://www.dropbox.com/s/0xj4vgucsbi8rtv/lbry-deck.pdf?dl=1"
/LBRY-deck.pdf: "https://www.dropbox.com/s/0xj4vgucsbi8rtv/lbry-deck.pdf?dl=1"
/hacktoberfest: /news/hacktoberfest-2019
/security: /faq/security
/youtubers: "https://traction.lbry.io/public/question/8dfc23e2-71e7-44cb-9740-0aec18d1da73"
/support: /faq/support
+18 -21
View File
@@ -3,8 +3,6 @@
class LBRY
{
const DEFAULT_TIMEOUT = 10;
public static function getApiUrl($endpoint)
{
if (!strlen(Config::get(Config::LBRY_API_SERVER)) > 0) {
@@ -23,40 +21,39 @@ class LBRY
return $response['data']['lbc_usd'] ?? 0;
}
public static function listTags($authToken)
{
$response = Curl::get(static::getApiUrl('/tag/list'), ['auth_token' => $authToken], ['json_response' => true]);
return $response['data'] ?? [];
}
public static function subscribe($email, $tag = null)
{
return Curl::post(static::getApiUrl('/list/subscribe'), array_filter([
'email' => $email,
'tag' => $tag,
]), ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
]), ['json_response' => true]);
}
public static function editEmailSettings($token, $email, $isPrimary =null, $isEnabled = null)
{
return Curl::post(static::getApiUrl('/user_email/edit'), ['auth_token' => $token], ['email' => $email], ['is_primary' => $isPrimary], ['is_enabled' => $isEnabled]);
}
public static function emailStatus($token)
{
list($status, $headers, $body) = Curl::doCurl(
Curl::POST,
static::getApiUrl('/user_email/status'),
['auth_token' => $token],
['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]
);
list($status, $headers, $body) = Curl::doCurl(Curl::POST, static::getApiUrl('/user_email/status'), ['auth_token' => $token], ['json_response' => true]);
return array($status,$headers,$body);
}
public static function applyTags($type, $token, $tags)
{
return Curl::post(static::getApiUrl('/user_tag/edit'), ['auth_token' => $token], [$type => $tags]);
}
public static function unsubscribe($email)
{
return Curl::post(static::getApiUrl('/user/unsubscribe'), ['email' => $email], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::post(static::getApiUrl('/user/unsubscribe'), ['email' => $email], ['json_response' => true]);
}
public static function connectYoutube($channel_name, $immediateSync = false)
{
// Uncomment next line for production and comment other return
return Curl::post(static::getApiUrl('/yt/new'), [ 'desired_lbry_channel_name' => $channel_name, 'immediate_sync' => $immediateSync, 'type' => 'sync' ], [ 'json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT ]);
return Curl::post(static::getApiUrl('/yt/new'), [ 'desired_lbry_channel_name' => $channel_name, 'immediate_sync' => $immediateSync, 'type' => 'sync' ], [ 'json_response' => true ]);
// Uncomment next line for development and comment other return (this also requires the testnet API)
// return Curl::post(static::getApiUrl('/yt/new'), [
@@ -72,12 +69,12 @@ class LBRY
// Check the sync status
public static function statusYoutube($status_token)
{
return Curl::get(static::getApiUrl('/yt/status'), ['status_token' => $status_token], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::get(static::getApiUrl('/yt/status'), ['status_token' => $status_token], ['json_response' => true]);
}
public static function youtubeReward()
{
return CurlWithCache::post(static::getApiUrl('/yt/rewards'), [], ['cache' => 3600, 'json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return CurlWithCache::post(static::getApiUrl('/yt/rewards'), [], ['cache' => 3600, 'json_response' => true]);
}
public static function editYouTube($status_token, $channel_name, $email, $sync_consent)
@@ -100,13 +97,13 @@ class LBRY
$postParams['new_preferred_channel'] = $channel_name;
}
return Curl::post(static::getApiUrl("/yt/update"), $postParams, ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::post(static::getApiUrl("/yt/update"), $postParams, ['json_response' => true]);
}
public static function logWebVisitor($site, $visitorID, $IPAddress)
{
if (IS_PRODUCTION) {
return Curl::post(static::getApiUrl("/visitor/new"), ['site' => $site, 'visitor_id' => $visitorID, 'ip_address' => $IPAddress], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::post(static::getApiUrl("/visitor/new"), ['site' => $site, 'visitor_id' => $visitorID, 'ip_address' => $IPAddress], ['json_response' => true]);
}
}
}
+2 -2
View File
@@ -7,12 +7,12 @@ class Transifex
return (boolean)Config::get(Config::TRANSIFEX_API_KEY);
}
public static function getTranslationResourceFile($project, $resource, $language, $cache = true)
public static function getTranslationResourceFile($project, $resource, $language)
{
$url = "https://www.transifex.com/api/2/project/$project/resource/$resource/translation/$language?file=1";
return json_decode(CurlWithCache::get($url, [], [
'password' => 'api:' . Config::get(Config::TRANSIFEX_API_KEY),
'cache' => $cache ? 1000 * 60 * 60 * 8 : false
'cache' => 1000 * 60 * 60 * 8
]), true);
}
}
+2 -2
View File
@@ -20,7 +20,7 @@ class OS
'Android',
'icon-android',
false,
"Android",
false,
"<span class='icon-android icon-fw'></span> Android"
];
@@ -30,7 +30,7 @@ class OS
'iOS',
'icon-mobile',
false,
"iOS",
false,
"<span class='icon-ios icon-fw'></span> iOS"
];
+1 -6
View File
@@ -309,11 +309,6 @@ class Post
{
$urls = [];
$metadata = $this->getMetadata();
if (isset($metadata['og']) && $metadata['og']) {
$urls[] = $metadata['og'];
}
$cover = $this->getCover();
if ($cover) {
$urls[] = 'https://' . Request::getHost() . '/img/blog-covers/' . $cover;
@@ -326,7 +321,7 @@ class Post
$urls = array_merge($urls, $matches[1]);
}
return array_unique($urls);
return $urls;
}
protected function markdownToText($markdown)
+34 -33
View File
@@ -6,6 +6,7 @@ class Response
const HEADER_LOCATION = 'Location';
const HEADER_CACHE_CONTROL = 'Cache-Control';
const HEADER_LAST_MODIFIED = 'Last-Modified';
const HEADER_ETAG = 'Etag';
const HEADER_CONTENT_TYPE = 'Content-Type';
@@ -25,12 +26,11 @@ class Response
],
'css' => ['/css/all.css']
];
protected static $headers = [
'Cache-Control' => 'private, no-cache'
];
protected static $headers = [];
protected static $headersSent = false;
protected static $content = '';
protected static $contentSent = false;
protected static $isHeadersOnly = false;
protected static $gzipResponseContent = true;
protected static $metaImages = [];
protected static $facebookAnalyticsType = "PageView";
@@ -71,7 +71,7 @@ class Response
public static function getMetaTitle()
{
return trim(static::$metaTitle);
return static::$metaTitle;
}
public static function guessMetaTitle($content)
@@ -82,11 +82,11 @@ class Response
if ($headerValue == '1' || !$title) {
$title = $titleMatches[2][$matchIndex];
if ($headerValue == '1') {
return trim($title);
return $title;
}
}
}
return trim($title);
return $title;
}
public static function getJsCalls()
@@ -144,21 +144,8 @@ class Response
public static function send()
{
$status = static::getHeader(static::HEADER_STATUS);
$sendContent = true;
if ((!$status || $status === 200) &&
static::getHeader(static::HEADER_ETAG) &&
Request::getHttpHeader('If-None-Match', null) === static::getHeader(static::HEADER_ETAG)
) {
static::setHeader(static::HEADER_STATUS, 304);
$sendContent = false;
}
static::sendHeaders();
if ($sendContent) {
static::sendContent();
}
static::sendContent();
}
public static function setContent(string $content)
@@ -177,11 +164,18 @@ class Response
throw new LogicException('Content has already been sent. It cannot be sent twice');
}
echo static::$content;
if (!static::$isHeadersOnly) {
echo static::$content;
}
static::$contentSent = true;
}
public static function setIsHeadersOnly(bool $isHeadersOnly = true)
{
static::$isHeadersOnly = $isHeadersOnly;
}
public static function setDownloadHttpHeaders($name, $type = null, $size = null, $noSniff = true)
{
static::setBinaryHttpHeaders($type, $size, $noSniff);
@@ -198,23 +192,30 @@ class Response
]));
}
//public immutable cache = hard-caching (no server checks) until time limit passes
public static function enablePublicImmutableCache(int $seconds = 300)
public static function enableHttpCache(int $seconds = 300)
{
static::setHeader(static::HEADER_CACHE_CONTROL, 'public, max-age=' . $seconds);
static::addCacheControlHeader('max-age', $seconds);
static::setHeader('Pragma', 'public');
}
//public mutable cache = soft-caching (requires at least one round trip for headers) as long as etag identifier matches
public static function enablePublicMutableCache(string $etag)
public static function addCacheControlHeader(string $name, $value = null)
{
static::setHeader(static::HEADER_CACHE_CONTROL, 'public');
static::setHeader(static::HEADER_ETAG, $etag);
}
$cacheControl = static::getHeader(static::HEADER_CACHE_CONTROL);
$currentHeaders = [];
if ($cacheControl) {
foreach (preg_split('/\s*,\s*/', $cacheControl) as $tmp) {
$tmp = explode('=', $tmp);
$currentHeaders[$tmp[0]] = $tmp[1] ?? null;
}
}
$currentHeaders[strtr(strtolower($name), '_', '-')] = $value;
//always reload and re-execute this resource, disable any local or intermediary caching
public static function disableHttpCache()
{
static::setHeader(static::HEADER_CACHE_CONTROL, 'private, no-cache, no-store');
$headers = [];
foreach ($currentHeaders as $key => $currentVal) {
$headers[] = $key . ($currentVal !== null ? '=' . $currentVal : '');
}
static::setHeader(static::HEADER_CACHE_CONTROL, implode(', ', $headers));
}
public static function setHeader($name, $value)
-30
View File
@@ -176,34 +176,4 @@ class View
Response::setHeader(Response::HEADER_CONTENT_TYPE, 'application/json');
return ['internal/json', ['json' => $data, '_no_layout' => true]];
}
public static function safeExternalLinks(string $html, string $domain): string
{
//temporarily disable this as it is breaking JS
return $html;
$dom = new PHPHtmlParser\Dom();
$dom->load($html, ['cleanupInput' => false, 'removeDoubleSpace' => false, 'removeSmartyScripts' => false]);
foreach ($dom->find('body a') as $link) {
if ($link->getAttribute('href') && static::isLinkExternal($link->getAttribute('href'), $domain)) {
$link->setAttribute('rel', "noopener noreferrer");
}
}
return $dom->root->outerHtml();
}
public static function isLinkExternal(string $url, string $domain): bool
{
$components = parse_url(strtolower($url));
$domain = strtolower($domain);
return $url
&&
!empty($components['host']) // relative urls are not external
&&
$components['host'] !== $domain
&&
mb_substr($components['host'], -mb_strlen('.' . $domain)) !== '.' . $domain;
}
}
+2 -1
View File
@@ -54,7 +54,8 @@
<p hidden id="lbry_error" class="error-block">YouTube channel name is either not valid (only letters, numbers and - allowed, no spaces) or your input is blank</p>
<h2>Connect with your fans while earning rewards</h2>
<h2>Connect with your fans while earning money and rewards</h2>
<form id="youtube_claim" method="post" action="/youtube/token">
<p hidden id="sync-status" class="sync-status"></p>
+3 -4
View File
@@ -8,7 +8,6 @@
<?php $statusData = $status_token['data'] ?>
<?php $isSyncAgreed = in_array($statusData['status'], ["failed", "finalized", "pendingemail", "queued", "synced", "syncing"]) ?>
<?php $isRewardClaimed = $statusData['redeemed_reward'] > 0 ?>
<?php $isTransferred = $statusData['transferred'] ?>
<?php if (IS_PRODUCTION): ?>
<?php js_start() ?>
@@ -58,8 +57,8 @@
<li class="<?php echo $isRewardClaimed && $isSyncAgreed ? "" : "disabled" ?>">
<span><?php echo $isRewardClaimed ? "✓" : "·" ?></span>
<p>Transfer your content and redeem Rewards</p>
<p <?php echo ($isSyncAgreed === true && ($isRewardClaimed === false || $isTransferred === false)) ? "" : "hidden" ?>>(<a href="/get">Download the app</a> and <a href="/faq/youtube">follow these instructions</a>)</p>
<p>Claim your credits</p>
<p <?php echo ($isRewardClaimed === false && $isSyncAgreed === true) ? "" : "hidden" ?>>(to get your credits, <a href="/get">download the app</a> and <a href="/faq/youtube">follow these instructions</a>)</p>
</li>
</ul>
@@ -197,7 +196,7 @@
<br/><br/>
<p>Once your content is synced on LBRY, we can transfer control directly to your LBRY account. Please see the <a href="/faq/youtube" title="YouTube FAQ">YouTube FAQ</a> for more details.</p>
<p>If you have an existing LBRY wallet please <a href="/claim-wallet" title="YouTube Sync Transfer Request">fill out this form</a>. This is still a manual process.</p>
</div>
</section>
</main>
+1 -1
View File
@@ -6,7 +6,7 @@
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--center-hero">
<h1>
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[4]]) ?>
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[5]]) ?>
</h1>
</div>
</section>
+6 -6
View File
@@ -6,7 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi"/>
<?php $title = Response::getMetaTitle() ?: Response::guessMetaTitle($content) ?>
<?php $images = Response::getMetaImages() ?>
<?php $title = $title ?
$title . (strpos($title, 'LBRY') === false ? ' - LBRY' : '') :
'LBRY' ?>
@@ -41,8 +40,10 @@
<?php endif ?>
<meta property="og:description" content="<?php echo Response::getMetaDescription() ?>"/>
<?php foreach ($images as $image): ?>
<?php foreach (Response::getMetaImages() as $image): ?>
<meta property="og:image" content="<?php echo $image ?>"/>
<meta property="og:image:height" content="1125"/>
<meta property="og:image:width" content="2000"/>
<?php endforeach ?>
<meta property="og:site_name" content="LBRY"/>
<meta property="og:title" content="<?php echo $title ?>"/>
@@ -56,9 +57,8 @@
<meta name="twitter:site" content="@lbryio"/>
<meta name="twitter:creator" content="@lbryio"/>
<meta name="twitter:description" content="<?php echo Response::getMetaDescription() ?>"/>
<meta name="twitter:title" content="<?php echo $title ?>" />
<?php if ($images): ?>
<?php $url = reset($images) ?>
<?php if (Response::getMetaImages()): ?>
<?php $url = reset(Response::getMetaImages()) ?>
<meta name="twitter:image" content="<?php echo $url ?>" />
<?php endif ?>
@@ -69,7 +69,7 @@
<meta name="twitter:app:id:googleplay" content="io.lbry.browser"/>
<meta name="twitter:app:url:googleplay" content="https://play.google.com/store/apps/details?id=io.lbry.browser"/>
<?php else: ?>
<meta name="twitter:card" content="summary_large_image">
<meta name=”twitter:card” content=”summary_large_image”>
<?php endif ?>
+21 -27
View File
@@ -11,55 +11,49 @@
<div class="notice notice-error spacer1"><?php echo $error ?></div>
<?php else: ?>
<form id="<?php echo $formId ?>" novalidate style="display: none">
<section class="email-section">
<div style="min-height: 33px"> <?php //hack fix to prevent jumping ?>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
</div>
<section class="email-section" style="position: relative;">
<h4><?php echo count($emails) > 1 ? 'Receiving Addresses' : 'Do You Want To Receive Mail?' ?></h4>
<?php if (count($emails) > 1): ?>
<div class="meta spacer-half">Uncheck all boxes if you want to receive no future messages.</div>
<?php endif ?>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
<?php $emailIndex = 0 ?>
<?php foreach ($emails as $email => $enabled): ?>
<?php $emailId = 'email_' . (++$emailIndex) ?>
<checkbox-element>
<input id="<?php echo $emailId ?>" name="<?php echo $emailId ?>" type="checkbox"<?php echo $enabled ? " checked" : "" ?> value="<?php echo urlencode($email) ?>"/>
<label for="<?php echo $emailId ?>"><?php echo count($emails) > 1 ? $email : __('Yes') . ' (' . $email . ')' ?></label>
<label for="<?php echo $emailId ?>"><?php echo $email ?></label>
<checkbox-toggle/>
</checkbox-element>
<?php endforeach ?>
</section>
<section class="tag-section spacer1">
<div style="min-height: 33px"> <?php //hack fix to prevent jumping ?>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
</div>
<section class="tag-section spacer1" style="position: relative;">
<h4>Fine-tune your Mail</h4>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
<?php $tagIndex = 0 ?>
<?php foreach ($tags as $tag => $enabled): ?>
<?php if (!isset($tagMetadata[$tag])) continue; ?>
<?php if (!isset($tagMetadata[$tag])) {
continue;
} //fix/kill this?>
<?php $tagId = 'tag_' . (++$tagIndex) ?>
<div>
<checkbox-element>
<input id="<?php echo $tagId ?>" name="<?php echo $tagId ?>" type="checkbox"<?php echo $enabled ? " checked" : "" ?> value="<?php echo urlencode($tag) ?>"/>
<label for="<?php echo $tagId ?>">
<?php echo isset($tagMetadata[$tag]['label']) ? $tagMetadata[$tag]['label'] : $tag ?>
<?php if (isset($tagMetadata[$tag]['description'])): ?>
<span class="meta">&middot; <?php echo $tagMetadata[$tag]['description'] ?></span>
<?php endif ?>
</label>
<checkbox-toggle/>
</checkbox-element>
</div>
<checkbox-element>
<input id="<?php echo $tagId ?>" name="<?php echo $tagId ?>" type="checkbox"<?php echo $enabled ? " checked" : "" ?> value="<?php echo urlencode($tag) ?>"/>
<label for="<?php echo $tagId ?>">
<?php echo isset($tagMetadata[$tag]['label']) ? $tagMetadata[$tag]['label'] : $tag ?>
<?php if (isset($tagMetadata[$tag]['description'])): ?>
<span class="meta">&middot; <?php echo $tagMetadata[$tag]['description'] ?></small>
<?php endif ?>
</label>
<checkbox-toggle/>
</checkbox-element>
<?php endforeach ?>
<?php if ($tagIndex === 0): ?>
<div class="notice notice-error"><?php echo __('Something went wrong. Please email help@lbry.com') ?></div>
<?php endif ?>
</section>
</form>
<?php endif ?>
+2 -3
View File
@@ -83,8 +83,7 @@
<p>Occasionally, at our discretion, we may include or offer third-party products or services on our website. These third-party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites.</p>
<p><strong>Google</strong></p>
<p> As part of LBRY Creator Verification, we will only use read-only access to verify the ownership of YouTube channels and will not transfer this data to others unless doing so is necessary to comply with applicable law, or as part of a merger, acquisition, or sale of assets.<p>
<p>Google's advertising requirements can be summed up by Google's Advertising Principles. They are put in place to provide a positive experience for users. <code>https://support.google.com/adwordspolicy/answer/1316548?hl=en</code></p>
<p>We use Google AdSense Advertising on our website.</p>
@@ -212,7 +211,7 @@
<p>
</blockquote>
<small>Last edited on 2019-19-09</small>
<small>Last edited on 2018-04-28</small>
<br/><br/><br/>
</div>
</section>
+1 -1
View File
@@ -25,7 +25,7 @@
<h2>Technical</h2>
</div>
<?php foreach (['jack-robison', 'lex-berezhny', 'akinwale-ariwodola', 'antoniyshumanov', 'andrey', 'sean-yesmunt', 'niko-storni', 'mark-beamer'] as $bioSlug): ?>
<?php foreach (['jack-robison', 'lex-berezhny', 'akinwale-ariwodola', 'antoniyshumanov', 'andrey', 'sean-yesmunt', 'niko-storni', 'paul-webb', 'mark-beamer'] as $bioSlug): ?>
<?php echo View::render('content/_bio', ['person' => $bioSlug]) ?>
<?php endforeach ?>
</section>
-9
View File
@@ -1,12 +1,3 @@
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-7620985872686147",
enable_page_level_ads: true
});
</script>
</head>
<main class="soon">
<section>
<h1><strong>lbry.tv</strong> is coming soon</h1>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

+4
View File
@@ -9,9 +9,13 @@
}
.notice {
top: -0.5rem; right: 0;
border: 1px solid var(--lbry-gray-1);
font-size: 0.8rem;
// margin-bottom: 0.5rem;
padding: 0.5rem 0.75rem;
position: absolute;
[href] {
text-decoration: underline;