Compare commits

..
71 Commits
Author SHA1 Message Date
Thomas Zarebczan 5246059b93 Update account-sync.md 2019-10-04 15:32:40 -04:00
Thomas Zarebczan ac46949bb5 troubleshooting 2019-10-04 13:21:33 -04:00
Thomas Zarebczan f447be0c5a Update account-sync.md 2019-10-03 12:51:15 -04:00
Thomas Zarebczan b5d40c8165 mention encryption disabled 2019-10-03 12:49:37 -04:00
Thomas Zarebczan 94a285e468 spelling + fixes 2019-10-02 22:01:48 -04:00
Thomas Zarebczan 8853a9620f WIP account + balance syncing 2019-10-02 21:03:57 -04:00
Thomas Zarebczan 94e1402b7a views FAQ 2019-09-30 15:37:50 -04:00
Thomas Zarebczan 14eb953d72 add anchor 2019-09-30 15:35:05 -04:00
Jeremy Kauffman 2dbfb53492 allow refreshing of transifex cache 2019-09-30 14:46:30 -04:00
Thomas Zarebczan 6295825f81 remove account FAQ 2019-09-30 11:36:01 -04:00
Julie Sigwart 5659461d96 Merge pull request #1129 from ykris45/patch-17
Update julie-sigwart.md
2019-09-28 22:44:10 -07:00
YULIUS KURNIAWAN KRISTIANTO deee6623a0 Update julie-sigwart.md
add github and twitter
2019-09-28 02:59:30 +07:00
YULIUS KURNIAWAN KRISTIANTO 5a26a43eb9 Update 221-comm-report-2019-09.md (#1127) 2019-09-27 09:45:06 -04:00
Julie Sigwart 519ca5eb26 Changes per Tom
Added blog, removed account info blurb
2019-09-26 21:32:06 -07:00
Julie Sigwart 2f7aa6dc2d Update 221-comm-report-2019-09.md 2019-09-26 18:20:15 -07:00
Julie Sigwart 6a87546d8d Update 221-comm-report-2019-09.md 2019-09-26 18:18:56 -07:00
Julie Sigwart 141b20ad5d Rename 221-comm-report-2019-09 to 221-comm-report-2019-09.md 2019-09-26 17:49:27 -07:00
Julie Sigwart cde8adc715 Create 221-comm-report-2019-09 2019-09-26 17:31:03 -07:00
Julie Sigwart 9fa46b2536 Add files via upload 2019-09-26 17:28:29 -07:00
Julie Sigwart b126d8579a Rename hactoberfest.php to hacktoberfest.php 2019-09-26 12:38:11 -07:00
Julie Sigwart 91659a77b6 Create hactoberfest.php 2019-09-26 12:37:39 -07:00
YULIUS KURNIAWAN KRISTIANTO 085fe86189 fix codes (#1126) 2019-09-26 13:06:33 -04:00
Brinck Slattery bb2279ba08 Update 220-Butterfly-flits-onto-the-scene.md 2019-09-26 10:56:48 -04:00
Brinck Slattery cc293e19bf Create 220-Butterfly-flits-onto-the-scene.md 2019-09-26 10:55:41 -04:00
Brinck Slattery 90174c793f Add files via upload 2019-09-26 10:42:30 -04:00
Thomas Zarebczan 27f2910f7f Privacy faq (#1125)
* Create privacy-and-data.md
2019-09-26 10:39:04 -04:00
Niko Storni 6733cea0a2 re-add immediate sync 2019-09-26 15:57:38 +02:00
Brinck Slattery 4853adb114 Update team.php 2019-09-24 15:36:07 -04:00
Josh Finer af55e553ac Update tv.php 2019-09-24 15:35:33 -04:00
Jeremy Kauffman c90459b406 add privacy policy redirect 2019-09-24 14:45:08 -04:00
Jeremy Kauffman 16936bc759 no more hard-coded tag descriptions 2019-09-24 14:18:34 -04:00
Jeremy Kauffman 970ec88e26 increase timeout on calls to api.lbry.com 2019-09-24 14:11:38 -04:00
Jeremy Kauffman 1f277c22e2 add warrant canary faq 2019-09-24 13:40:51 -04:00
Jeremy Kauffman 192a2e11a8 Merge branch 'master' of github.com:lbryio/lbry.io 2019-09-24 13:32:58 -04:00
Thomas Zarebczan 9420247ed0 update types 2019-09-24 10:31:33 -04:00
Jeremy Kauffman 86aa85aeac add twitter title 2019-09-24 10:18:05 -04:00
Jeremy Kauffman ad4e25db21 404 when translation resource is missing 2019-09-23 18:41:44 -04:00
Jeremy Kauffman f95856f198 nth try is the charm 2019-09-23 17:13:54 -04:00
Jeremy Kauffman 5238e52575 caching cleanup 2019-09-22 10:06:46 -04:00
Jeremy Kauffman 00fa2329ee fix etag on i18n files 2019-09-22 08:55:19 -04:00
Thomas Zarebczan a5c6c4da2b remove disabled notice 2019-09-20 17:17:38 -04:00
Niko Storni 076962dae1 one more yt change 2019-09-20 01:22:10 +02:00
Thomas Zarebczan d387e259d7 add YouTube data policy 2019-09-19 19:21:05 -04:00
Niko Storni cd3f0e1190 prepare for google verification 2019-09-20 01:08:10 +02:00
Jeremy Kauffman 5898f6c838 add disabled notice to lbry.com 2019-09-19 16:18:59 -04:00
Jeremy Kauffman 4a3fabf2fd minor metadata cleanup 2019-09-19 12:48:37 -04:00
Jeremy Kauffman fecc4d1308 fix notice 2019-09-19 12:30:37 -04:00
Jeremy Kauffman ec9825a856 restore pr, adjust notices 2019-09-19 12:14:15 -04:00
Jeremy Kauffman d7f62b1b24 Revert "pull tag data from api.lbry.com (#1097)"
This reverts commit 5e73137d7e.
2019-09-18 14:51:57 -04:00
AlessandroSpallina d3af4a1729 fix typo (#1119) 2019-09-18 11:53:27 -04:00
Jeremy Kauffman 5e73137d7e pull tag data from api.lbry.com (#1097) 2019-09-18 11:37:26 -04:00
Thomas Zarebczan 1a82b1f19f fix date 2019-09-17 15:25:17 -04:00
Thomas Zarebczan 2346f7e0c6 Update exchanges.md 2019-09-17 09:04:37 -04:00
Thomas Zarebczan 2fd620ff50 add anchor, fix checkboxes 2019-09-16 14:15:23 -04:00
jessopb 1464fb94a6 Update youtube.md 2019-09-16 12:40:44 -04:00
Thomas Zarebczan f4d6908b2c add link to top 2019-09-16 11:20:38 -04:00
Thomas Zarebczan 1fd49428a6 heading size 2019-09-13 18:47:57 -04:00
Thomas Zarebczan 8f696da5b5 add anchor 2019-09-13 18:47:06 -04:00
Thomas Zarebczan cc4e21f381 Update host-content.md 2019-09-13 17:48:06 -04:00
Alex Grintsvayg e0e4eb7104 newest snapshot first 2019-09-13 17:02:54 -04:00
Alex Grintsvayg 7a42856d32 add snapshot redirect 2019-09-13 15:07:46 -04:00
Thomas Zarebczan fbbba49d24 Update rewards.md 2019-09-13 09:05:57 -04:00
Jeremy Kauffman 6bbb8c426b fix typo 2019-09-12 18:02:55 -04:00
Jeremy Kauffman c2546a6f81 fix typo 2019-09-12 17:59:09 -04:00
Jeremy Kauffman 9a070c7b3f cache i18n strings 2019-09-12 17:48:28 -04:00
Niko 1bc15aad39 fix port typo 2019-09-12 23:44:21 +02:00
Jeremy Kauffman e453bca309 allow i18n file loading from any origin 2019-09-12 17:41:40 -04:00
Jeremy Kauffman b2184866f2 add multiple twitter card types 2019-09-12 12:55:24 -04:00
Jeremy Kauffman aec94f6380 add twitter:image metadata 2019-09-12 12:47:48 -04:00
Thomas Zarebczan 40748f7726 capitalization 2019-09-11 17:17:34 -04:00
Thomas Zarebczan 34277316c7 remove bounty FAQ, redirects (#1117)
* archive bounty faq

will re-direct, check if we have a faq leading to lbry.tech/contribute

* Update how-to-get-lbry-command-line.md

* Update permanent.yaml
2019-09-11 15:58:08 -04:00
40 changed files with 605 additions and 192 deletions

No files matched your search

+2
View File
@@ -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.
+42
View File
@@ -0,0 +1,42 @@
---
title: LBRY Account and Wallet Syncing
category: getstarted
order: 3
---
Users expect consistent experiences across devices and sessions. This includes everything from account preferences to subscriptions to account balances. In the land of central servers, this is straightforward, but in blockchain land, it is tricky. This article explains how we provide this functionality, various options in using it, and it's limitations.
### How It Works
1. Every user, whether on desktop, android, or lbry.tv, has a single wallet file. This file stores your private keys (like a password) that controls your channels and account balances. The keys in this file are the only way to move or spend LBC or publish to your channel.
1. On an ongoing basis, your account preferences and other settings are written to your wallet file.
1. If you create an account with LBRY Inc and turn on account sync, your wallet file will be copied to and from a LBRY, Inc. server each time you login and at regular intervals.
1. Each time this happens, your preferences, channels, subscriptions, and other data will be updated on the new device.
1. If your wallet file has a password on it, LBRY, Inc. cannot see into your wallet or do anything with it, including reset your password.
### Using Wallet Sync
#### Sync Limitations
As of writing, enrolling in wallet sync is not possible if:
- You had a balance prior to October 2019
- You have a balance on multiple separate devices or installs
Additionally, if you sign out of your account and accrue a balance, but then want to enable sync again, this will not work.
We expect these limitations to be removed in subsequent releases. If the above applies to you and you really want to use it immediately, you can follow [these steps](#bypass).
#### Desktop
1. If running the desktop app for the first time, you will be prompted during the first-run process to opt-in.
1. If you want to opt-in later, click your balance and you will see the option on your wallet page.
#### Android
1. If running the Android app for the first time, you will be prompted during the first-run process to opt-in.
1. If you want to opt-in later, click your balance or navigate to the Wallet area and you will see the option to turn this on.
#### LBRY.tv
Syncing is automatically on for lbry.tv users and cannot be disabled. After all, what good would lbry.tv be if you could no longer use it once you signed out! If you have balances on other devices, these will not be reflected at this time.
### Bypassing Limitations {#bypass}
If the above limitations apply to you, you are technically competent, and you do not want to wait, you can use sync today by taking the following steps:
1. Shut down any running LBRY apps or wallet clients.
1. Rename your [current default_wallet file](/faq/lbry-directories) to anything other than default_wallet.
1. Launch LBRY again and sign out. Then sign back in.
Note that this will leave you with an extra wallet file containing your channels and balance, which you will have to unify.
### I'm Having Trouble
If you have any trouble using or enrolling in account sync, check out this [FAQ article](/faq/how-to-report-bugs) on how to report this to us.
+9
View File
@@ -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).
+2 -2
View File
@@ -7,7 +7,7 @@ We are listed on several exchanges. You can buy or sell LBRY Credits at one of t
### Traditional Exchanges
- [Bittrex](https://bittrex.com/Market/Index?MarketName=BTC-LBC)
- [Poloniex](https://poloniex.com/exchange#btc_lbc)
- [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/)
+3
View File
@@ -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.**
+7 -5
View File
@@ -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.
+4 -2
View File
@@ -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?
+9
View File
@@ -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.
+71
View File
@@ -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.
+2 -2
View File
@@ -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**.
![rewardslist](https://spee.ch/@clem:0/rewardslist.png)
@@ -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).
+2 -2
View File
@@ -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.
+16
View File
@@ -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.
![views](https://spee.ch/6/views.png)
How these numbers work is more complicated than it might appear. As a decentralized protocol, there is no single node or computer that can observe all user activity on the LBRY network.
Instead, view and subscriber counts are currently provided by LBRY, Inc., not the protocol itself. We aggregate data from users that participate in our rewards program and/or opt-in to sharing analytics data to provide these counts.
Currently, users who opt-out of analytics (more on how to use [LBRY anonymously here](https://lbry.com/faq/privacy-and-data#anonymous)) are not counted in view or subscriber figures.
In the future, LBRY will look to improve the accuracy of this feature as well as by adding it to the protocol itself (for example, by allowing wallet servers to share aggregated statistics and allowing subscriptions to occur via a special transaction).
+8 -1
View File
@@ -42,9 +42,16 @@ You can delete this channel and any content you published using the transactions
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)
### What's the difference between Sync and Transfer?
### What's the difference between Sync and 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.
Feature | Sync | Transfer |
:------------ | :-------------| :-------------|
Your Youtube publishes will be synced | yes | yes |
You have access to content and channel LBC from tips | no | yes |
Your content shows up in the app under your Publishes | no | yes |
You are responsible for keeping your wallet safe | no | yes |
You can use the app to publish to the channel | no | yes |
If you're having any trouble with the sync process or receiving your credits, please contact [help@lbry.com](mailto:help@lbry.com).
@@ -1,7 +1,7 @@
---
author: brinck-slattery
title: 'The Birth Of Entertainment'
date: '2020-11-17 14:00:00'
date: '2018-01-17 15:30:00'
cover: 'muses.jpg'
category: content
---
+18 -18
View File
@@ -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.
![explorer](https://spee.ch/f/explorer-new.png)
@@ -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!
![](https://spee.ch/6/Butterfly-gif.gif)
## The first in a series of updates that will be rolling out over the next few months, Butterfly has some amazing features that you've all been asking for, and a few you haven't!
Wondering what's in the box?
* **A new channel page.** This page will help publishers manage their content.
* **Thumbnail selection for published content.**
* **Universal Publishing.** You can publish ANY kind of file form your mobile device.
* **USD Pricing.** To allow creators to give people purchasing their content a better idea of what they're spending in dollars.
* **Synchronized tags and subscriptions across devices.** We're still overhauling the whole LBRY ecosystem, but when universal log-in is ready, our Android app will be too!
* **LBRY SDK 0.40.1** for improved stability and performance.
* **And much, much more!**
## On top of all that, you can now earn DAILY REWARDS just for watching your favorite stuff on LBRY!
And as a gift to our biggest fans, we've included a special reward code for the first 100 users to get to it! Enter **android-b-919** in your app to get the reward.
So open your app now to upgrade - and if you haven’t installed it yet, what are you waiting for? [Click here to get it now](https://play.google.com/store/apps/details?id=io.lbry.browser&hl=en_US), or open your app to upgrade!
+176
View File
@@ -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
![franklin](https://spee.ch/9/35.gif)
#### Video Player and Download Settings
The new video player fixes a number of bugs and includes new features like volume control, ability to play more video codecs, and you can also skip anywhere in the video instantly.
Did you say you don't want to download every video? We heard your feedback! There are two new settings for saving hosted content and files. Users who wish to disable either or both can do so.
![download](https://spee.ch/9/download-settings.png)
#### LBRY.tv {#web}
Over the last few months, we’ve been running a view-only pilot of [beta.lbry.tv](https://beta.lbry.tv), meaning you can view free content, but many of the other features like wallets, rewards, and publishing have been disabled.
We also added some tags so when you share a LBRY file on social media such as Twitter or Facebook, you will see a preview and description of the actual content instead of a generic LBRY image.
![metadata](https://spee.ch/c/tv-metadata.png)
#### LBRY for Android {#android}
Announcing the release of Butterfly! Since our last update, the Android app has been playing catchup with the Desktop app’s discovery features - this includes the ability to follow tags and explore tags, create channels, and publish (and edit!) content. We’re also excited that some of the more profound performance problems with the Android app have been resolved. The publish process now includes automatic uploading of thumbnails, and you can also tag your content, create a channel, select a URL, and adjust your default LBC bid.
All of the [details of the latest release are here.](https://lbry.com/news/butterfly-flits-onto-the-scene)
#### New Daily Rewards! {#rewards}
Weekly rewards tied to the LBRYCast email have gone away, but now you can earn even more LBC with the new daily watch rewards! Each day you watch a video, you'll receive a random award of between 1 and 100 LBC. Enjoy!
### Hacktoberfest is Here! {#hacktoberfest}
As an Open Source company, LBRY is excited to participate in Hacktoberfest again this year! Submit Pull Requests to our Github project repos to earn a brand new limited-edition collectible LBRY Hacktoberfest t-shirt and other swag.
The details will be [posted here](https://lbry.com/hacktoberfest) as they are available, including requirements to earn swag and other activities we'll be hosting in October.
![Hacktoberfest is Here](https://spee.ch/@lbrynews:0/hacktoberfest1.jpg)
### We're recruiting for existing and new hives! {#new}
The LBRY Swarm is a community program to promote awareness, use, and development of the LBRY protocol and network. We believe in empowering people across the globe to be able to promote and monetize their content and regain control from corporate-controlled centralized platforms.
We need your help to grow the Swarm program. There are a number of potential hive focus areas, and we're interested in new hives or for existing hives to curate content in these areas:
* Fine Art
* Photography
* Fan Art (think DeviantArt)
* Science topics
* Craft How-tos
* Life Hacks/How-tos
* News
* Free Speech
* Activism
* Environment
* Arabic
* French
* Gaming
If you’re interested in finding out more about the Swarm program, how to start a hive, or join one, [please check out this link.](https://docs.google.com/forms/d/e/1FAIpQLSfDabPptaLx7TI7DeT_dAOZgeulSRD1A-VnYYypbuc_r4wlhA/viewform?usp=sf_link)
We have a new Discord home for the Swarm, and you [can join here and ask us questions about the program or find an interesting hive!](https://invite.lbry.org)
### Selected Hive Updates {#hives}
#### Open Source LBRY
Open Source LBRY has been focused on uploading all of Project Gutenberg to LBRY. There are a total of over 60,000 books in the project, and you can see works from [Project Gutenberg channel here.](lbry://@Gutenberg#a)
![Project Gutenberg](https://spee.ch/@lbrynews:0/ProjectGutemberglogosvg.png)
#### LBRY India - Blockchain Youth at LPU
LBRY India hive attended this event, and Clement was featured and spoke about LBRY as an emerging blockchain technology and the opportunities for young adults to get involved! We're excited to see Clement's involvement as Blockchain Youth develops into its own organization.
![Clement at Blockchain Youthh](https://spee.ch/@lbrynews:0/clement-lpu.jpeg")
_Clement tells the audience about LBRY and blockchain opportunities_
![A big audience](https://spee.ch/@lbrynews:0/audience1.jpeg)
_There was a fantastic turnout for the event_
![LBRY Supporter](https://spee.ch/@lbrynews:0/speaker.jpg)
_A LBRY user talks about how she uses LBRY to host her content_
#### LBRY.social
This hive has been working on many different objectives, including a weblog. Here is an [excellent case study](https://lbry.social/blog/using-lbry-well/) they've written about Turkish creator Efe Aydal and his success on the LBRY platform.
Dr. Brendon Brewer has been working with Mark Firth to create a visualization of LBRY statistics. Take a look here to see their progress: https://lbry.social/lbrynomics/
[Brendon Brewer LBRYnomics](https://www.brendonbrewer.com/lbrynomics/)
#### China Hive
The China Hive is attending the Blockchain World Forum Conference, October 24-25 in Shenzhen, through a grant from the LBRY fund. The website for [the conference is here.](http://sz.thebwf.com/)
#### New LBRY Uganda Hive!
We're excited to have our first hive in Africa!
Our Uganda community held their first LBRY meetup. We love to see LBRY, open source, and blockchain technologies spread worldwide.
![LBRY Uganda](https://spee.ch/@lbrynews:0/uganda.jpg)
![LBRY Uganda](https://spee.ch/@lbrynews:0/lbryuganda.jpg)
LBRY Uganda has even created special t-shirts for their members.
![LBRY Uganda](https://spee.ch/@lbrynews:0/lbry-uganda.jpg)
#### Noob Team Hive
Noob Team Hive is always coming up with imaginative ideas! Most recently, they created an activity easy enough for any skill level to participate. They love our LBRY mascot, Yerbil the Gerbil, and have created fan art variations:
![Noob Team Yerbil Cartoons](https://spee.ch/@lbrynews:0/noob-yerbils.png)
### LBRY App Language Translations {#i18n}
We have internationalized the LBRY App! We have added new languages like Bahasa Indonesia, Polish and German, and we will soon have many others. If you're interested in adding a language or helping translate please contact [Julie.](mailto:julie@lbry.com)
### Community Block Explorer {#explorer}
A community member by the name of [Alessandro Spallina](https://github.com/AlessandroSpallina) became interested in the LBRY ecosystem and wanted to implement a more modern and fully featured block explorer that exposes important metrics of the LBRY blockchain.
You can check out his [GitHub issue](https://github.com/lbryio/block-explorer/issues/67) outlining what he plans on developing or you can go straight to the explorer prototype at [lbryexplorer.tech](https://lbryexplorer.tech/) to give it a shot.
He’d appreciate any feedback on the GitHub issue and current prototype - you can leave a comment on GitHub or reach out on [Discord](https://chat.lbry.com) #dev channel by tagging @SK3LA.
![New Block Explorer](https://spee.ch/@lbrynews:0/newexplorer.png)
### Since you've read this far here's your dessert! 🍦 {#dessert}
We appreciate your attention and now we have a little dessert for you. Enter `lbry-ice-cream` in the desktop app and get a few sprinkles of LBCs!
## Want to Develop on the LBRY Ecosystem?
All of our code is open source and available on [GitHub](https://github.com/lbryio). Are you a developer and want to find out more? Check out our [contributing guide](https://lbry.tech/contribute) and our [LBRY App specific contributing document](https://github.com/lbryio/lbry-app/blob/master/CONTRIBUTING.md). Make sure you have turned on the Developer option in your email preferences (see app overview page), or sign up at [lbry.tech](https://lbry.tech). We also have a [LBRY Discourse Forum](https://discourse.lbry.io) where developers can interact with the team and ask questions across all our different projects.
If you aren’t part of our Discord community yet, [join us](https://chat.lbry.com) anytime and say hello!
[Back to **Community Updates**](#updates)
Thanks for supporting LBRY - stay tuned for more news and updates! And if you haven’t downloaded the [LBRY app](https://lbry.com/get?auto=1) yet, what are you waiting for?
+3 -1
View File
@@ -143,6 +143,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 +173,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();
+8 -1
View File
@@ -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']) {
+10 -10
View File
@@ -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("http://$bucketName/" . array_keys($bucket)[0], 302);
}
/*
* this is a quick fix to add android, prob not proper design
*/
+15 -39
View File
@@ -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];
}
}
+15 -2
View File
@@ -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);
}
}
+1
View File
@@ -112,6 +112,7 @@
/feedback: /learn
/press-kit.zip: /press-kit
/news/tag/events: /roadmap
/privacy: /privacypolicy
# /publish: /youtube
# Images
+21 -18
View File
@@ -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]);
}
}
}
+2 -2
View File
@@ -7,12 +7,12 @@ class Transifex
return (boolean)Config::get(Config::TRANSIFEX_API_KEY);
}
public static function getTranslationResourceFile($project, $resource, $language)
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);
}
}
+2 -2
View File
@@ -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"
];
+31 -37
View File
@@ -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)
+1 -2
View File
@@ -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>
+1 -1
View File
@@ -6,7 +6,7 @@
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--center-hero">
<h1>
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[5]]) ?>
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[4]]) ?>
</h1>
</div>
</section>
+22 -16
View File
@@ -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,43 @@
<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 ?>"/>
<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 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"/>
+27 -21
View File
@@ -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">&middot; <?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">&middot; <?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 ?>
+16
View File
@@ -0,0 +1,16 @@
<?php Response::setMetaDescription('LBRY Celebrates Hacktoberfest all During October') ?>
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--center-hero">
<h1>Hacktoberfest is Coming!</h1>
</div>
</section>
<section>
<div class="inner-wrap">
<p><img alt="hacktoberfest1" src="https://spee.ch/@lbrynews:0/hacktoberfest1.jpeg" /></p>
<p>As an Open Source company, LBRY is excited to participate again in this year's Hactoberfest! Check back soon for information on how you can contribute, the cool swag we're giving out, and an activity schedule.</p>
</div>
</section>
</main>
+3 -2
View File
@@ -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>
+1 -1
View File
@@ -25,7 +25,7 @@
<h2>Technical</h2>
</div>
<?php foreach (['jack-robison', 'lex-berezhny', 'akinwale-ariwodola', 'antoniyshumanov', 'andrey', 'sean-yesmunt', 'niko-storni', '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>
+9
View File
@@ -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

-4
View File
@@ -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;