Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0940c6784f | ||
|
|
2530d21d9d | ||
|
|
c2e46bb10b | ||
|
|
77328449a1 | ||
|
|
60351d6a16 | ||
|
|
266d830831 | ||
|
|
80270c2e50 | ||
|
|
23ffee8dbd | ||
|
|
6485d78a04 | ||
|
|
66f0c08ec8 | ||
|
|
b181563aba | ||
|
|
4840f17f05 | ||
|
|
ed8fec9c4d | ||
|
|
f039ddf660 | ||
|
|
94e1402b7a | ||
|
|
14eb953d72 | ||
|
|
2dbfb53492 | ||
|
|
6295825f81 | ||
|
|
5659461d96 | ||
|
|
deee6623a0 | ||
|
|
5a26a43eb9 | ||
|
|
519ca5eb26 | ||
|
|
2f7aa6dc2d | ||
|
|
6a87546d8d | ||
|
|
141b20ad5d | ||
|
|
cde8adc715 | ||
|
|
9fa46b2536 | ||
|
|
b126d8579a | ||
|
|
91659a77b6 | ||
|
|
085fe86189 | ||
|
|
bb2279ba08 | ||
|
|
cc293e19bf | ||
|
|
90174c793f | ||
|
|
27f2910f7f | ||
|
|
6733cea0a2 | ||
|
|
4853adb114 | ||
|
|
af55e553ac | ||
|
|
c90459b406 | ||
|
|
16936bc759 | ||
|
|
970ec88e26 | ||
|
|
1f277c22e2 | ||
|
|
192a2e11a8 | ||
|
|
9420247ed0 | ||
|
|
86aa85aeac | ||
|
|
ad4e25db21 | ||
|
|
f95856f198 | ||
|
|
5238e52575 | ||
|
|
00fa2329ee | ||
|
|
a5c6c4da2b | ||
|
|
076962dae1 | ||
|
|
d387e259d7 | ||
|
|
cd3f0e1190 | ||
|
|
5898f6c838 | ||
|
|
4a3fabf2fd | ||
|
|
fecc4d1308 | ||
|
|
ec9825a856 | ||
|
|
d7f62b1b24 | ||
|
|
d3af4a1729 | ||
|
|
5e73137d7e | ||
|
|
1a82b1f19f | ||
|
|
2346f7e0c6 | ||
|
|
2fd620ff50 | ||
|
|
1464fb94a6 | ||
|
|
f4d6908b2c | ||
|
|
1fd49428a6 | ||
|
|
8f696da5b5 | ||
|
|
cc4e21f381 | ||
|
|
e0e4eb7104 | ||
|
|
7a42856d32 | ||
|
|
fbbba49d24 | ||
|
|
6bbb8c426b | ||
|
|
c2546a6f81 | ||
|
|
9a070c7b3f | ||
|
|
1bc15aad39 | ||
|
|
e453bca309 | ||
|
|
b2184866f2 | ||
|
|
aec94f6380 | ||
|
|
40748f7726 | ||
|
|
34277316c7 |
No files matched your search
+2
-1
@@ -12,6 +12,7 @@
|
||||
"erusev/parsedown": "^1.6",
|
||||
"erusev/parsedown-extra": "^0.7.1",
|
||||
"pelago/emogrifier": "^2.0",
|
||||
"mustangostang/spyc": "^0.6.2"
|
||||
"mustangostang/spyc": "^0.6.2",
|
||||
"paquettg/php-html-parser": "^2.1"
|
||||
}
|
||||
}
|
||||
Generated
+97
-1
@@ -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": "4df89eeabf27a1fde648e75d29109826",
|
||||
"content-hash": "f15420a8ce3f7350d05c6ac92f3e54b0",
|
||||
"packages": [
|
||||
{
|
||||
"name": "erusev/parsedown",
|
||||
@@ -198,6 +198,102 @@
|
||||
],
|
||||
"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,6 +2,8 @@
|
||||
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.
|
||||
|
||||
File renamed without changes.
@@ -0,0 +1,9 @@
|
||||
---
|
||||
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).
|
||||
@@ -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)
|
||||
- [Poloniex](https://poloniex.com/exchange#btc_lbc) (Currently in maintenance, working with Poloniex team to fix)
|
||||
- [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)
|
||||
- [Changelly](https://changelly.com/exchange/BTC/LBC/1) (Currently unavailable)
|
||||
- [ChangeNow](https://changenow.io/exchange?amount=1&from=btc&to=lbc)
|
||||
- [Simple Swap](https://simpleswap.io)
|
||||
- [Stealthex](https://stealthex.io/)
|
||||
|
||||
@@ -9,4 +9,7 @@ While the LBRY app is running, it communicates to the network whatever content y
|
||||
|
||||
Think of it like how torrents or any other peer-to-peer (P2P) service works. First, you download a file from the host(s) that have made it available via seeding. When the download has finished, you become a host in the network (seeder) that other people can download from.
|
||||
|
||||
### Deleting hosted content
|
||||
You can delete files from the blob folder directly, or you can also delete them from the My LBRY section of the App - both will get rid of the hosted content and you'll lose the ability to seed it anymore.
|
||||
|
||||
**Please note: Hosting fees are currently disabled on the network as we're currently working on a better way to implement the fee structure.**
|
||||
@@ -5,6 +5,8 @@ category: troubleshooting
|
||||
|
||||
In certain cases, we may ask you to send us your log file(s). The current log file is titled `lbrynet.log` (or just `lbrynet` if you have file extensions hidden) and is archived each time the files reaches 2MB. Older log files are copied to `lbrynet.log.<#>`. Typically only the lbrynet.log file is required, but we may ask for the others depending on the situation. Since each Operating System has its own set of working directories, use the below guide in order to locate the log file(s).
|
||||
|
||||
[Find my logs without opening the app](#manual)
|
||||
|
||||
**lbrynet.log files may contain your IP address. While sharing this is not inherently dangerous, if you desire maximum privacy, please mask it before posting to public websites.**
|
||||
|
||||
### Find Logs via the LBRY App
|
||||
@@ -16,24 +18,24 @@ The folder will be highlighted, so just double click to open and here you will s
|
||||
### Sending log files from Android
|
||||
Navigate to the **About** page and use the **Send Logs** button at the bottom. You can email them to [help@lbry.com](mailto:help@lbry.com)
|
||||
|
||||
### Find Logs Manually
|
||||
## Windows
|
||||
### Find Logs Manually {#manual}
|
||||
#### Windows
|
||||
1. Open File Explorer (Keyboard shortcut: Windows Key + E).
|
||||
2. Type `%localappdata%\lbry\lbrynet` (or `%appdata%\lbrynet` if you originally installed v0.14 or earlier) into the address bar and click Enter.
|
||||
3. Here you will see the `lbrynet.log` file and any archives.
|
||||
|
||||
## MacOS
|
||||
#### MacOS
|
||||
1. Open Finder.
|
||||
2. Click Go in the top menu and choose "Go To Folder".
|
||||
3. Type "~/Library/Application Support/LBRY" and then click go.
|
||||
4. Here you will see the `lbrynet.log` file and any archives.
|
||||
|
||||
## Ubuntu / Linux *(Exact steps may differ slightly)*
|
||||
#### Ubuntu / Linux *(Exact steps may differ slightly)*
|
||||
1. Navigate to your home directory. Ensure hidden files and folders are shown if using a graphical file explorer.
|
||||
2. Navigate to the `.local/share/lbry/lbrynet` folder (or `~/.lbrynet` if you originally installed v0.14 or earlier).
|
||||
3. Here you will see the `lbrynet.log` file and any archives.
|
||||
|
||||
## Android *(Exact steps may differ slightly)*
|
||||
#### Android *(Exact steps may differ slightly)*
|
||||
1. Launch your favorite file explorer.
|
||||
2. Navigate to `Internal storage\android\data\io.lbry.browser->files\lbrynet`.
|
||||
3. Here you will see the `lbrynet.log` file and any archives.
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: How do I get LBRY for development?
|
||||
title: How do I install LBRY for development and contributing?
|
||||
category: powerusers
|
||||
---
|
||||
|
||||
|
||||
@@ -19,7 +19,9 @@ 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. 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.
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
@@ -119,7 +121,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 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.
|
||||
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.
|
||||
|
||||
### I shared my URL, but others can't download it. What's going on?
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
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.
|
||||
@@ -0,0 +1,71 @@
|
||||
---
|
||||
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.
|
||||
@@ -3,7 +3,7 @@ title: What are LBRY Rewards?
|
||||
category: getstarted
|
||||
---
|
||||
|
||||
To provide a rich user experience and to [distribute](/faq/credit-policy) LBRY Credits (LBC) into the hands of new and returning users, LBRY created a Rewards system where credits are earned by completing tasks throughout the application. Rewards are given to promote application testing, learning certain in-app skills, building the LBRY economy through purchasing and publishing content, and as a small "thank you" gift for being part of a revolutionary digital media platform. For qualified users, Rewards are issued automatically by the LBRY app into each users' [LBRY wallet](/faq/how-to-backup-wallet). **Note: There is a limit of 3 Reward redemptions per day**.
|
||||
To provide a rich user experience and to [distribute](/faq/credit-policy) LBRY Credits (LBC) into the hands of new and returning users, LBRY created a Rewards system where credits are earned by completing tasks throughout the application. Rewards are given to promote application testing, learning certain in-app skills, building the LBRY economy through purchasing and publishing content, and as a small "thank you" gift for being part of a revolutionary digital media platform. For qualified users, Rewards are issued automatically by the LBRY app into each users' [LBRY wallet](/faq/how-to-backup-wallet). **Note: There is a limit of 5 Reward redemptions per day**.
|
||||
|
||||

|
||||
|
||||
@@ -18,9 +18,9 @@ In order to be eligible for LBRY Rewards, users must have an approved account vi
|
||||
| **Go for a Stream** | 4 LBC | Rewarded for streaming your very first video on LBRY.
|
||||
| **Channel Surfing** | 6 LBC | A one-time reward for creating a channel on LBRY via the Publish screen.
|
||||
| **First Publish** | 10 LBC | A one-time reward for publishing your first piece of content to LBRY
|
||||
| **Daily View** | 1- 100 LBC | A random daily reward from 1 to 100 LBC, resets every 24 hours!
|
||||
| **Many Views** | 2- ???? LBC | A multi-level reward for watching videos on LBRY. See descriptions in-app for levels/details!
|
||||
| **Sub Sandwich** | 1 -2 LBC | A multi-level reward for subscribing to channels.
|
||||
| **Weekly LBRYCast** | 10 LBC | A weekly award for checking out featured content on LBRY. This content is marked with the red rocket logo and will be announced via email, recurring weekly.
|
||||
| **Welcome Back** | 6 LBC | Return to the LBRY app 24-48 hours following your first use of the app. This reward will self-destruct after that time span.
|
||||
| **Android in Beta** | 20 LBC | Limited time reward for early Android Beta testers.
|
||||
| **Upgrade** | 10 LBC | Rewarded each time the LBRY app updates versions (i.e. 0.27 to 0.28).
|
||||
|
||||
@@ -12,9 +12,9 @@ Another common cause of this issue is the lack of access to UDP port 4444. LBRY
|
||||
|
||||
1. Shutdown LBRY and lbrynet-daemon (check running processes using Task Manager on Windows or Activity Monitor on Mac OS.)
|
||||
2. Go to your [lbrynet folder](/faq/lbry-directories).
|
||||
3. If you have a `daemon_settings.yml` file, add this line to it at the end (44444 is an example, can be changed): `dht_node_port: 44444`.
|
||||
3. If you have a `daemon_settings.yml` file, add this line to it at the end (4444 is an example, can be changed): `dht_node_port: 4444`.
|
||||
4. If you don't have the `daemon_settings.yml` file, you can create one or download/copy [this sample](https://goo.gl/a5uJq5) into the `lbrynet` folder.
|
||||
5. Start LBRY and try to download a couple of items from the homepage. Be patient, if it doesn't work, leave the page and try again or a different video.
|
||||
6. Depending on your network, you may need UDP port 44444 (the new port you just set up) forwarded. Also, for file sharing to work properly, you may need TCP port 3333 open/forwarded. This can be verified by using a [port checker tool](http://www.canyouseeme.org) on port 3333. Port 44444 will fail since it's UDP.
|
||||
6. Depending on your network, you may need UDP port 4444 (the new port you just set up) forwarded. Also, for file sharing to work properly, you may need TCP port 3333 open/forwarded. This can be verified by using a [port checker tool](http://www.canyouseeme.org) on port 3333. Port 4444 will fail since it's UDP.
|
||||
|
||||
If you continue to experience issues streaming/downloading content after completing the above steps, please [reach out to us](/faq/how-to-report-bugs) for additional support.
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
title: How do view and subscriber counts work?
|
||||
category: publisher
|
||||
order: 4
|
||||
---
|
||||
Some LBRY applications provide view and subscriber counts, like LBRY Desktop/Web.
|
||||
|
||||

|
||||
|
||||
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).
|
||||
+67
-26
@@ -1,50 +1,91 @@
|
||||
---
|
||||
title: What is YouTube Sync?
|
||||
title: What is the LBRY YouTube Program?
|
||||
category: publisher
|
||||
order: 4
|
||||
---
|
||||
|
||||
***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***
|
||||
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.
|
||||
|
||||
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.
|
||||
To sync your existing YouTube channel to LBRY and learn more about the program, use [lbry.com/youtube](/youtube).
|
||||
|
||||
To sync your existing channel to LBRY and learn more about the program, use the [LBRY.com YouTube Sync page](/youtube).
|
||||
### What are the Steps?
|
||||
|
||||
***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).**
|
||||
There are three main steps to this program:
|
||||
|
||||
**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!**
|
||||
1. *[Enroll](#enroll)* - Provide authorization for us to begin syncing. After this step, you can begin claiming [rewards](#reward) (if eligible).
|
||||
|
||||
### 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.
|
||||
2. *Sync* - During this step, we perform magic behind the scenes. It can take up to several days and [some sync limitations apply](#limits).
|
||||
|
||||
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**
|
||||
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).
|
||||
|
||||
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).
|
||||
#### Enrolling {#enroll}
|
||||
|
||||
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.
|
||||
To enroll, visit [lbry.com/youtube](/youtube).
|
||||
|
||||
### How to Receive Your LBRY Credits for Syncing
|
||||
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.
|
||||
|
||||
You can do this once your channel has been synced.
|
||||
When the process is complete, you will receive a notice from LBRY indicating your channel is available to view.
|
||||
|
||||
- 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.
|
||||

|
||||
|
||||
### I created a channel and/or published on my LBRY app, what do I do now?
|
||||
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).
|
||||
|
||||
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).
|
||||
#### Claiming Rewards {#reward}
|
||||
|
||||
### How do I Publish using my Channel?
|
||||
As soon as you've enrolled, you can claim your rewards.
|
||||
|
||||
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)
|
||||
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.
|
||||
|
||||
### What's the difference between Sync and Transfer?
|
||||
#### Wallet Transfer {#transfer}
|
||||
|
||||
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.
|
||||
Your _wallet_ is a special file that contains the secret keys (like a password) to your account.
|
||||
|
||||
**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).
|
||||
|
||||
If you're having any trouble with the sync process or receiving your credits, please contact [help@lbry.com](mailto:help@lbry.com).
|
||||
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).
|
||||
|
||||

|
||||
|
||||
#### 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 |
|
||||
:------------ | :-------------| :-------------|
|
||||
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 |
|
||||
|
||||
### 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).
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
author: brinck-slattery
|
||||
title: 'The Birth Of Entertainment'
|
||||
date: '2020-11-17 14:00:00'
|
||||
date: '2018-01-17 15:30:00'
|
||||
cover: 'muses.jpg'
|
||||
category: content
|
||||
---
|
||||
|
||||
@@ -6,6 +6,8 @@ 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.
|
||||
+18
-18
@@ -12,7 +12,7 @@ To read previous updates, please visit our [Development and Community Update arc
|
||||
If you want to see a condensed view of what we have completed recently and what’s planned for LBRY, check out our [Roadmap](https://lbry.io/roadmap).
|
||||
|
||||
First off, let’s start with some GitHub stats across all our repos (some of which are internal only to LBRY) since our last update about 40 days ago:
|
||||
36 repos were updated. 617 issues were created, 146 were closed. 18 pull requests were merged. 30 GitHub users outside of LBRY made code contributions, including:
|
||||
36 repos were updated. 617 issues and pull requests were created, 146 were closed. 18 pull requests were merged. 30 GitHub users outside of LBRY made code contributions, including:
|
||||
- [AlessandroSpallina](https://github.com/AlessandroSpallina)
|
||||
- [Borewit](https://github.com/Borewit)
|
||||
- [btzr-io](https://github.com/btzr-io)
|
||||
@@ -42,22 +42,22 @@ Thanks to everyone who took time out of their busy days to help LBRY out!
|
||||
Since our last development update, the app team shipped our next named release, 0.35, under codename [Franklin](https://lbry.com/news/franklin-is-minted) as well as a few patches. Franklin enhances the app experience with a brand new [videojs-based](https://github.com/videojs/video.js) 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
|
||||
- The ability to continue watching videos in pop out mode
|
||||
- Support of range requests (streaming)
|
||||
- The ability to block channels app-wide
|
||||
|
||||
The patch releases included some new features:
|
||||
- all new features added to the SDK between version 0.38.5 and 0.40, including improved wallet sync behavior, download speeds, and overall connectivity ([more details below](#summary-sdk))
|
||||
- tipping on channel pages (which gets sent to the channel claim, as opposed to content claims on file pages)
|
||||
- ability to set the time period for dark mode
|
||||
- improvements to the display of URLs (now has the [canonical URL](https://lbry.tech/glossary#canonical-url) which uses both channel and claim short IDs)
|
||||
- support for a new daily watch reward that went live on September 10th (replacing the weekly LBRYCast)
|
||||
- All new features added to the SDK between version 0.38.5 and 0.40, including improved wallet sync behavior, download speeds, and overall connectivity ([more details below](#summary-sdk))
|
||||
- Tipping on channel pages (which gets sent to the channel claim, as opposed to content claims on file pages)
|
||||
- Ability to set the time period for dark mode
|
||||
- Improvements to the display of URLs (now has the [canonical URL](https://lbry.tech/glossary#canonical-url) which uses both channel and claim short IDs)
|
||||
- Support for a new daily watch reward that went live on September 10th (replacing the weekly LBRYCast)
|
||||
|
||||
The patches fixed many bugs, including:
|
||||
- issues with bid amounts required on the publish page (did not show vanity URL bids),
|
||||
- auto-downloading subscription content
|
||||
- search bar focus getting stuck
|
||||
- disabling autoplay on paid content
|
||||
- Issues with bid amounts required on the publish page (did not show vanity URL bids),
|
||||
- Auto-downloading subscription content
|
||||
- Search bar focus getting stuck
|
||||
- Disabling autoplay on paid content
|
||||
- DMCA blocking to include entire channels
|
||||
|
||||
We also updated our digital certificate for Windows builds which is an annual maintenance task. We'll explore a better solution for this down the road.
|
||||
@@ -81,11 +81,11 @@ Another area that continues to get attention is internationalization. You may ha
|
||||
On the SDK side of the house, we’ve shipped versions 0.39, with patches, and 0.40.0 with a recent patch. You can review all the changelogs on our [GitHub releases page](https://github.com/lbryio/lbry-sdk/releases).
|
||||
|
||||
The main features include:
|
||||
- treating multiple accounts inside a wallet to effectively be treated as one (missing a few API calls, to be completed soon)
|
||||
- Treating multiple accounts inside a wallet to effectively be treated as one (missing a few API calls, to be completed soon)
|
||||
- ability to connect and synchronize transactions with multiple wallet servers (see screenshot below) which improves wallet sync speed and paves the way to interfacing with community wallet servers
|
||||
- wallet server monitoring tools to include session information / logging of troublesome claim search queries
|
||||
- a key value store which will be the final location of synced LBRY data.
|
||||
- added a new function for comments that allows channel owners to moderate comments by hiding them (to be implemented in the app in the next few months)
|
||||
- Wallet server monitoring tools to include session information / logging of troublesome claim search queries
|
||||
- A key value store which will be the final location of synced LBRY data.
|
||||
- Added a new function for comments that allows channel owners to moderate comments by hiding them (to be implemented in the app in the next few months)
|
||||
|
||||
On SDK startup, we now ping all the wallet servers and select the best main one to connect to based on the peer’s location. The ability to connect/sync with multiple servers proved to be more troublesome than expected, we experienced and fixed reconnection issues which should be resolved with the [0.40.1 patch](https://github.com/lbryio/lbry-sdk/releases/tag/v0.40.1).
|
||||
|
||||
@@ -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 [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.
|
||||
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.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
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!
|
||||

|
||||
## 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!
|
||||
@@ -0,0 +1,176 @@
|
||||
---
|
||||
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
|
||||
|
||||

|
||||
|
||||
#### 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.
|
||||
|
||||

|
||||
|
||||
#### 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.
|
||||
|
||||

|
||||
|
||||
#### 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.
|
||||
|
||||

|
||||
|
||||
### 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)
|
||||
|
||||

|
||||
|
||||
#### 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 tells the audience about LBRY and blockchain opportunities_
|
||||
|
||||

|
||||
_There was a fantastic turnout for the event_
|
||||
|
||||

|
||||
_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 has even created special t-shirts for their members.
|
||||
|
||||

|
||||
|
||||
#### 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:
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||
|
||||
### 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?
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
---
|
||||
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.
|
||||
|
||||

|
||||
|
||||
## 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.
|
Before Width: | Height: | Size: 1.2 MiB |
@@ -32,8 +32,11 @@ class Controller
|
||||
unset($viewParameters[View::LAYOUT_PARAMS]);
|
||||
|
||||
$content = View::render($viewTemplate, $viewParameters + ['fullPage' => true]);
|
||||
|
||||
Response::setContent($layout ? View::render('layout/basic', ['content' => $content] + $layoutParams) : $content);
|
||||
if ($layout) {
|
||||
$content = View::render('layout/basic', ['content' => $content] + $layoutParams);
|
||||
}
|
||||
$content = View::safeExternalLinks($content, Request::getHost());
|
||||
Response::setContent($content);
|
||||
}
|
||||
|
||||
Response::setDefaultSecurityHeaders();
|
||||
@@ -143,6 +146,8 @@ class Controller
|
||||
|
||||
$router->post('/i18n/set-culture', 'i18nActions::setCulture');
|
||||
|
||||
$router->get('/snapshot/{type}', 'DownloadActions::executeDownloadSnapshot');
|
||||
|
||||
$permanentRedirectsPath = ROOT_DIR . '/data/redirect/permanent.yaml';
|
||||
$tempRedirectsPath = ROOT_DIR . '/data/redirect/temporary.yaml';
|
||||
|
||||
@@ -171,7 +176,7 @@ class Controller
|
||||
return static::redirect('/' . strtolower($slug), 301);
|
||||
}
|
||||
if (View::exists('page/' . $slug)) {
|
||||
Response::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
return ['page/' . $slug, []];
|
||||
} else {
|
||||
return NavActions::execute404();
|
||||
|
||||
@@ -16,11 +16,18 @@ 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,16 +36,19 @@ 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'];
|
||||
|
||||
@@ -65,6 +68,7 @@ class AcquisitionActions extends Actions
|
||||
|
||||
public static function executeYoutubeStatus(string $token)
|
||||
{
|
||||
Response::disableHttpCache();
|
||||
$data = LBRY::statusYoutube($token);
|
||||
|
||||
if (!$data['success']) {
|
||||
|
||||
@@ -28,27 +28,27 @@ class ContentActions extends Actions
|
||||
|
||||
public static function executeHome(): array
|
||||
{
|
||||
Response::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
return ['page/home'];
|
||||
}
|
||||
|
||||
//
|
||||
public static function executeOrg(): array
|
||||
{
|
||||
Response::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
return ['page/org'];
|
||||
}
|
||||
|
||||
public static function executeTv(): array
|
||||
{
|
||||
Response::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
return ['page/tv'];
|
||||
}
|
||||
//
|
||||
|
||||
public static function executeNews(string $slug = null): array
|
||||
{
|
||||
Response::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
|
||||
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::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
|
||||
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::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
|
||||
$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::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
|
||||
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::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
|
||||
|
||||
|
||||
@@ -276,7 +276,7 @@ class ContentActions extends Actions
|
||||
//
|
||||
// $zip->close();
|
||||
//
|
||||
// Response::enableHttpCache();
|
||||
// Response::enablePublicImmutableCache();
|
||||
// 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::enableHttpCache();
|
||||
Response::enablePublicImmutableCache();
|
||||
|
||||
$filter_post = [];
|
||||
|
||||
|
||||
@@ -15,6 +15,23 @@ class DownloadActions extends Actions
|
||||
return Controller::redirect(GitHub::getRepoReleaseUrl($repo, OS::getOsForExtension($ext), $allowPrerelease) ?: '/get', 302);
|
||||
}
|
||||
|
||||
public static function executeDownloadSnapshot(string $type)
|
||||
{
|
||||
if (!in_array($type, ['blockchain', 'wallet'])) {
|
||||
return ['page/404'];
|
||||
}
|
||||
|
||||
$bucketName = "snapshots.lbry.com";
|
||||
$bucket = S3::getBucket($bucketName, "$type/");
|
||||
|
||||
if (!count($bucket)) {
|
||||
return ['page/404'];
|
||||
}
|
||||
|
||||
krsort($bucket);
|
||||
|
||||
return Controller::redirect("https://$bucketName/" . array_keys($bucket)[0], 302);
|
||||
}
|
||||
/*
|
||||
* this is a quick fix to add android, prob not proper design
|
||||
*/
|
||||
|
||||
@@ -51,6 +51,7 @@ 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']];
|
||||
@@ -62,6 +63,7 @@ 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.
|
||||
@@ -78,45 +80,19 @@ class MailActions extends Actions
|
||||
|
||||
public static function prepareSettingsFormPartial(array $vars)
|
||||
{
|
||||
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.'
|
||||
],
|
||||
]
|
||||
$tags = LBRY::listTags($vars['token']);
|
||||
$tagMetadata = [];
|
||||
$specialDisplayNames = [
|
||||
'ios' => 'iOS'
|
||||
];
|
||||
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];
|
||||
}
|
||||
}
|
||||
@@ -26,9 +26,22 @@ class i18nActions extends Actions
|
||||
public static function executeServeTranslationFile(string $project, string $resource, string $language)
|
||||
{
|
||||
if (!Transifex::isConfigured()) {
|
||||
throw new Exception('Please set Config::TRANSIFEX_API_KEY in your configuration.');
|
||||
throw new Exception('Please set Config::TRANSIFEX_API_KEY in your configuration.');
|
||||
}
|
||||
|
||||
return View::renderJson(Transifex::getTranslationResourceFile($project, $resource, $language));
|
||||
$usecache = !Request::getParam('nocache');
|
||||
$json = Transifex::getTranslationResourceFile($project, $resource, $language, $usecache);
|
||||
|
||||
if (!$json) {
|
||||
return NavActions::execute404();
|
||||
}
|
||||
|
||||
Response::setHeader(Response::HEADER_CROSS_ORIGIN, "*");
|
||||
|
||||
if ($usecache) {
|
||||
Response::enablePublicMutableCache(md5(json_encode($json)));
|
||||
}
|
||||
|
||||
return View::renderJson($json);
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,7 @@
|
||||
/faq/claimtrie-implementation: https://lbry.tech/resources/lbry-claimtrie
|
||||
/faq/proof-algorithm: https://lbry.tech/resources/pow
|
||||
/faq/regtest-setup-guide: https://lbry.tech/resources/regtest-setup
|
||||
/faq/bounty https://lbry.com/faq/how-to-get-lbry-command-line
|
||||
|
||||
# FAQ
|
||||
/faq/tips: /faq/appreciation
|
||||
@@ -54,6 +55,7 @@
|
||||
/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
|
||||
@@ -111,6 +113,7 @@
|
||||
/feedback: /learn
|
||||
/press-kit.zip: /press-kit
|
||||
/news/tag/events: /roadmap
|
||||
/privacy: /privacypolicy
|
||||
# /publish: /youtube
|
||||
|
||||
# Images
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
/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
|
||||
|
||||
Vendored
+21
-18
@@ -3,6 +3,8 @@
|
||||
|
||||
class LBRY
|
||||
{
|
||||
const DEFAULT_TIMEOUT = 10;
|
||||
|
||||
public static function getApiUrl($endpoint)
|
||||
{
|
||||
if (!strlen(Config::get(Config::LBRY_API_SERVER)) > 0) {
|
||||
@@ -21,39 +23,40 @@ 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]);
|
||||
}
|
||||
|
||||
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]);
|
||||
]), ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
|
||||
}
|
||||
|
||||
public static function emailStatus($token)
|
||||
{
|
||||
list($status, $headers, $body) = Curl::doCurl(Curl::POST, static::getApiUrl('/user_email/status'), ['auth_token' => $token], ['json_response' => true]);
|
||||
list($status, $headers, $body) = Curl::doCurl(
|
||||
Curl::POST,
|
||||
static::getApiUrl('/user_email/status'),
|
||||
['auth_token' => $token],
|
||||
['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]
|
||||
);
|
||||
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]);
|
||||
return Curl::post(static::getApiUrl('/user/unsubscribe'), ['email' => $email], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
|
||||
}
|
||||
|
||||
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 ]);
|
||||
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 ]);
|
||||
|
||||
// Uncomment next line for development and comment other return (this also requires the testnet API)
|
||||
// return Curl::post(static::getApiUrl('/yt/new'), [
|
||||
@@ -69,12 +72,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]);
|
||||
return Curl::get(static::getApiUrl('/yt/status'), ['status_token' => $status_token], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
|
||||
}
|
||||
|
||||
public static function youtubeReward()
|
||||
{
|
||||
return CurlWithCache::post(static::getApiUrl('/yt/rewards'), [], ['cache' => 3600, 'json_response' => true]);
|
||||
return CurlWithCache::post(static::getApiUrl('/yt/rewards'), [], ['cache' => 3600, 'json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
|
||||
}
|
||||
|
||||
public static function editYouTube($status_token, $channel_name, $email, $sync_consent)
|
||||
@@ -97,13 +100,13 @@ class LBRY
|
||||
$postParams['new_preferred_channel'] = $channel_name;
|
||||
}
|
||||
|
||||
return Curl::post(static::getApiUrl("/yt/update"), $postParams, ['json_response' => true]);
|
||||
return Curl::post(static::getApiUrl("/yt/update"), $postParams, ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
|
||||
}
|
||||
|
||||
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]);
|
||||
return Curl::post(static::getApiUrl("/visitor/new"), ['site' => $site, 'visitor_id' => $visitorID, 'ip_address' => $IPAddress], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+2
-2
@@ -7,12 +7,12 @@ class Transifex
|
||||
return (boolean)Config::get(Config::TRANSIFEX_API_KEY);
|
||||
}
|
||||
|
||||
public static function getTranslationResourceFile($project, $resource, $language)
|
||||
public static function getTranslationResourceFile($project, $resource, $language, $cache = true)
|
||||
{
|
||||
$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' => 1000 * 60 * 60 * 8
|
||||
'cache' => $cache ? 1000 * 60 * 60 * 8 : false
|
||||
]), true);
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,7 @@ class OS
|
||||
'Android',
|
||||
'icon-android',
|
||||
false,
|
||||
false,
|
||||
"Android",
|
||||
"<span class='icon-android icon-fw'></span> Android"
|
||||
];
|
||||
|
||||
@@ -30,7 +30,7 @@ class OS
|
||||
'iOS',
|
||||
'icon-mobile',
|
||||
false,
|
||||
false,
|
||||
"iOS",
|
||||
"<span class='icon-ios icon-fw'></span> iOS"
|
||||
];
|
||||
|
||||
|
||||
@@ -309,6 +309,11 @@ 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;
|
||||
@@ -321,7 +326,7 @@ class Post
|
||||
$urls = array_merge($urls, $matches[1]);
|
||||
}
|
||||
|
||||
return $urls;
|
||||
return array_unique($urls);
|
||||
}
|
||||
|
||||
protected function markdownToText($markdown)
|
||||
|
||||
+31
-37
@@ -6,7 +6,6 @@ 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';
|
||||
@@ -26,11 +25,12 @@ class Response
|
||||
],
|
||||
'css' => ['/css/all.css']
|
||||
];
|
||||
protected static $headers = [];
|
||||
protected static $headers = [
|
||||
'Cache-Control' => 'private, no-cache'
|
||||
];
|
||||
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 static::$metaTitle;
|
||||
return trim(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 $title;
|
||||
return trim($title);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $title;
|
||||
return trim($title);
|
||||
}
|
||||
|
||||
public static function getJsCalls()
|
||||
@@ -144,8 +144,21 @@ 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();
|
||||
static::sendContent();
|
||||
|
||||
if ($sendContent) {
|
||||
static::sendContent();
|
||||
}
|
||||
}
|
||||
|
||||
public static function setContent(string $content)
|
||||
@@ -164,18 +177,11 @@ class Response
|
||||
throw new LogicException('Content has already been sent. It cannot be sent twice');
|
||||
}
|
||||
|
||||
if (!static::$isHeadersOnly) {
|
||||
echo static::$content;
|
||||
}
|
||||
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);
|
||||
@@ -192,35 +198,23 @@ class Response
|
||||
]));
|
||||
}
|
||||
|
||||
public static function setContentEtag()
|
||||
//public immutable cache = hard-caching (no server checks) until time limit passes
|
||||
public static function enablePublicImmutableCache(int $seconds = 300)
|
||||
{
|
||||
static::setHeader(static::HEADER_ETAG, md5(static::getContent()));
|
||||
static::setHeader(static::HEADER_CACHE_CONTROL, 'public, max-age=' . $seconds);
|
||||
}
|
||||
|
||||
public static function enableHttpCache(int $seconds = 300)
|
||||
//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)
|
||||
{
|
||||
static::addCacheControlHeader('max-age', $seconds);
|
||||
static::setHeader('Pragma', 'public');
|
||||
static::setHeader(static::HEADER_CACHE_CONTROL, 'public');
|
||||
static::setHeader(static::HEADER_ETAG, $etag);
|
||||
}
|
||||
|
||||
public static function addCacheControlHeader(string $name, $value = null)
|
||||
//always reload and re-execute this resource, disable any local or intermediary caching
|
||||
public static function disableHttpCache()
|
||||
{
|
||||
$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;
|
||||
|
||||
$headers = [];
|
||||
foreach ($currentHeaders as $key => $currentVal) {
|
||||
$headers[] = $key . ($currentVal !== null ? '=' . $currentVal : '');
|
||||
}
|
||||
|
||||
static::setHeader(static::HEADER_CACHE_CONTROL, implode(', ', $headers));
|
||||
static::setHeader(static::HEADER_CACHE_CONTROL, 'private, no-cache, no-store');
|
||||
}
|
||||
|
||||
public static function setHeader($name, $value)
|
||||
|
||||
@@ -176,4 +176,34 @@ 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;
|
||||
}
|
||||
}
|
||||
@@ -54,8 +54,7 @@
|
||||
|
||||
<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 money and rewards</h2>
|
||||
|
||||
<h2>Connect with your fans while earning rewards</h2>
|
||||
<form id="youtube_claim" method="post" action="/youtube/token">
|
||||
<p hidden id="sync-status" class="sync-status"></p>
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<?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() ?>
|
||||
@@ -57,8 +58,8 @@
|
||||
|
||||
<li class="<?php echo $isRewardClaimed && $isSyncAgreed ? "" : "disabled" ?>">
|
||||
<span><?php echo $isRewardClaimed ? "✓" : "·" ?></span>
|
||||
<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>
|
||||
<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>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -196,7 +197,7 @@
|
||||
|
||||
<br/><br/>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
@@ -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)[5]]) ?>
|
||||
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[4]]) ?>
|
||||
</h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<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' ?>
|
||||
@@ -39,38 +40,41 @@
|
||||
<link rel="alternate" type="application/rss+xml" title="LBRY News" href="<?php echo ContentActions::URL_NEWS . '/' . ContentActions::SLUG_RSS ?>"/>
|
||||
<?php endif ?>
|
||||
|
||||
<meta property="og:description" content="<?php echo Response::getMetaDescription() ?>"/>
|
||||
<?php foreach ($images as $image): ?>
|
||||
<meta property="og:image" content="<?php echo $image ?>"/>
|
||||
<?php endforeach ?>
|
||||
<meta property="og:site_name" content="LBRY"/>
|
||||
<meta property="og:title" content="<?php echo $title ?>"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
|
||||
<meta name="description" content="<?php echo Response::getMetaDescription() ?>"/>
|
||||
<meta name="msapplication-TileColor" content="#155B4A"/>
|
||||
<meta name="msapplication-TileImage" content="/img/fav/mstile-144x144.png"/>
|
||||
<meta name="theme-color" content="#155B4A"/>
|
||||
|
||||
<meta name="twitter:card" content="app"/>
|
||||
<meta name="twitter:site" content="@LBRYio"/>
|
||||
<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) ?>
|
||||
<meta name="twitter:image" content="<?php echo $url ?>" />
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($_SERVER['REQUEST_URI'] === '/' || $_SERVER['REQUEST_URI'] === '/android' || $_SERVER['REQUEST_URI'] === '/get'): ?>
|
||||
<?php if (in_array($_SERVER['REQUEST_URI'], ['/', '/android', '/get'])): ?>
|
||||
<meta name="twitter:card" content="app"/>
|
||||
<meta name="twitter:app:country" content="US"/>
|
||||
<meta name="twitter:app:name:googleplay" content="LBRY beta"/>
|
||||
<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">
|
||||
<?php endif ?>
|
||||
|
||||
<!-- Twitter Card data -->
|
||||
<meta name="twitter:site" content="@lbryio">
|
||||
<meta name="twitter:creator" content="@lbryio">
|
||||
|
||||
<meta property="fb:app_id" content="1673146449633983"/>
|
||||
|
||||
<!-- Open Graph data -->
|
||||
<meta property="og:description" content="<?php echo Response::getMetaDescription() ?>"/>
|
||||
<?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 ?>"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<base target="_parent"/>
|
||||
|
||||
@@ -11,49 +11,55 @@
|
||||
<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" style="position: relative;">
|
||||
<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>
|
||||
<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 $email ?></label>
|
||||
<label for="<?php echo $emailId ?>"><?php echo count($emails) > 1 ? $email : __('Yes') . ' (' . $email . ')' ?></label>
|
||||
<checkbox-toggle/>
|
||||
</checkbox-element>
|
||||
<?php endforeach ?>
|
||||
</section>
|
||||
|
||||
<section class="tag-section spacer1" style="position: relative;">
|
||||
<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>
|
||||
<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;
|
||||
} //fix/kill this?>
|
||||
<?php if (!isset($tagMetadata[$tag])) continue; ?>
|
||||
<?php $tagId = 'tag_' . (++$tagIndex) ?>
|
||||
<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">· <?php echo $tagMetadata[$tag]['description'] ?></small>
|
||||
<?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">· <?php echo $tagMetadata[$tag]['description'] ?></span>
|
||||
<?php endif ?>
|
||||
</label>
|
||||
<checkbox-toggle/>
|
||||
</checkbox-element>
|
||||
</div>
|
||||
<?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 ?>
|
||||
@@ -83,7 +83,8 @@
|
||||
<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>
|
||||
@@ -211,7 +212,7 @@
|
||||
<p>
|
||||
</blockquote>
|
||||
|
||||
<small>Last edited on 2018-04-28</small>
|
||||
<small>Last edited on 2019-19-09</small>
|
||||
<br/><br/><br/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<h2>Technical</h2>
|
||||
</div>
|
||||
|
||||
<?php foreach (['jack-robison', 'lex-berezhny', 'akinwale-ariwodola', 'antoniyshumanov', 'andrey', 'sean-yesmunt', 'niko-storni', 'paul-webb', 'mark-beamer'] as $bioSlug): ?>
|
||||
<?php foreach (['jack-robison', 'lex-berezhny', 'akinwale-ariwodola', 'antoniyshumanov', 'andrey', 'sean-yesmunt', 'niko-storni', 'mark-beamer'] as $bioSlug): ?>
|
||||
<?php echo View::render('content/_bio', ['person' => $bioSlug]) ?>
|
||||
<?php endforeach ?>
|
||||
</section>
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
<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.
|
After Width: | Height: | Size: 177 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
@@ -9,13 +9,9 @@
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
Reference in new issue
Block a user