Compare commits

..
6 Commits
Author SHA1 Message Date
Jeremy Kauffman 733b667275 tutorial copy edits 2019-10-17 17:48:59 -04:00
Julie Sigwart 20ebf24a44 various copy edits 2019-10-16 09:56:18 -07:00
Thomas Zarebczan c9cfc8baa3 finish publish tutorial 2019-10-15 14:48:42 -04:00
Thomas Zarebczan b26ee5df30 wip2 2019-10-11 10:14:03 -04:00
Thomas Zarebczan bf25e7ebae WIP publish 2019-10-10 15:14:33 -04:00
Thomas Zarebczan e82da29618 Tutorials 2019-10-01 15:01:20 -04:00
33 changed files with 242 additions and 518 deletions

No files matched your search

-2
View File
@@ -2,8 +2,6 @@
name: Julie Sigwart
role: Community Manager
email: Julie@lbry.com
twitter: jsigwart
github: jsigwart
---
Julie brings a unique background including a long history of software development, is a cartoonist, and is also a First Amendment champion. In 1988, the Hustler v. Falwell ruling was a major event in free speech history and has been a major influence for her. As an editorial cartoonist, she appreciates the gravity of that ruling to protect free speech, including speech that may be unpopular. In the early 2000’s, she founded Take Back the Media, a website dedicated to calling out mainstream news media for bias, omissions, and factual inaccuracies. Aside from receiving death threats (another consequence associated with free speech), Julie and Take Back The Media were sued in a SLAPP (Strategic Lawsuit Against Public Participation designed to chill free speech) for publishing contested information involving Michael Savage, Roy Masters, and Talk Radio Network. Ultimately, the lawsuit was withdrawn by the plaintiff, but it set Julie on a course to assist others who have been targeted in SLAPP suits attempting to shut down their free speech.
-42
View File
@@ -1,42 +0,0 @@
---
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
@@ -1,9 +0,0 @@
---
title: Has LBRY received any secret government subpoenas? Does LBRY have a warrant canary?
category: other
---
Unfortunately, the nature of _secret_ subpoenas means they have to be kept secret. Fortuantely, LBRY maintains a warrant canary, viewable at:
[https://lbry.com/canary](https://lbry.com/canary)
For more on warrant canaries and how they work, check out this [Wikipedia article](https://en.wikipedia.org/wiki/Warrant_canary).
+25
View File
@@ -0,0 +1,25 @@
---
title: Claiming LBRY Rewards
category: tutorial
order: 1
---
Did you know you can earn LBC through the LBRY Rewards program just for watching sweet content and doing other simple actions? If not, today is your lucky day.
![rewards](https://spee.ch/9/rewards-tutorial01.png)
_On the left, navigating to Rewards in LBRY Desktop and lbry.tv. On the right, navigating to Rewards on LBRY Android._
You can find the rewards section under the Account menu > Rewards. On Android, click or slide out the menu, and then select Rewards. [Click here to navigate directly to your app](https://open.lbry.com/?rewards).
In addition to the one time rewards, we have a daily reward for watching content you love on LBRY - so make sure to check back often to keep earning!
LBC rewards can be used to buy content on the LBRY network, to support your favorite creators, or to publish yourself. Tipping creators also helps creators become discovered on LBRY by boosting their relevance in results.
![rewardssample](https://spee.ch/e/rewards-sample.png)
You may need to complete account verification to participate in the rewards program. See our [Rewards](https://lbry.com/faq/rewards) for more information and details about what rewards are available.
### More Tutorials
If you’d like to learn more about how to get the most out of LBRY, check out our [other tutorials](https://lbry.com/faq?category=tutorial) or [Frequently Asked Questions](https://lbry.com/faq).
+2 -4
View File
@@ -19,9 +19,7 @@ If you don't have LBRY yet, download it [here](/get).
2. Under the `Publish` section, click `Choose File`.
3. On your local machine, select the content you wish to upload to LBRY. For video content, LBRY works best with MP4 files in H264/AAC format which support proper streaming. Besides videos, other popular formats supported are MP3s, text documents like markdown (md)/HTML, PDF, CSV, and comic books (cbr, cbz). In the future, the in app player may support additional formats.
Other file types can also be uploaded, but won't be streamable via the LBRY app directly. They can be opened externally for viewing.
3. On your local machine, select the content you wish to upload to LBRY. LBRY accepts any HTML5 format for video streaming; the full list can be found [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats). This means a web-optimized MP4 file is the best format. Other file types can also be uploaded, but won't be streamable via the LBRY app.
4. Enter a `Title` and `Description` for your content. Click on advanced Editor if you will like to add some markdown text otherwise leave it as default and put your title and description.
@@ -121,7 +119,7 @@ In the future, we will add more of these types of statistics to LBRY.
### My video doesn't stream in the app, what's wrong?
The in-app video player's streaming capability works best with the H264/AAC format, typically in a MP4 container but others like M4V will also work. Other non-streaming video types like AVI/WMV/MOV file formats are not supported by the in-app player, but they can be shared/downloaded and will play outside of the app.
The in-app video player's streaming capabilities are limited to MP4 files which are web-optimized (metadata is contained at the front of the file). If it's not web-optimized, the MP4 file will still play in the app, but the entire file will need to be downloaded first. AVI/WMV/MOV file formats are also not supported by the in-app player. They can be shared/downloaded but will need to be played externally.
### I shared my URL, but others can't download it. What's going on?
-9
View File
@@ -1,9 +0,0 @@
---
title: How do I remove my account?
category: troubleshooting
order: 5
---
Account deletion is a manual process at this time. If you'd to proceed with account removal, please [email us at hello@lbry.com](mailto:hello@lbry.com). You can then uninstall your LBRY application. Any LBC and downloaded content you may have had will persist on your device, see our [directories FAQ](https://lbry.com/faq/lbry-directories) to find these locations.
Please note: If you have earned Rewards on your email address, we'll put your email into a dormant state and you'll never hear from us (all other data deleted). Otherwise, it will be completely removed.
-71
View File
@@ -1,71 +0,0 @@
---
title: How does LBRY handle privacy? What data does LBRY collect?
category: LBRY 101
order: 5
---
LBRY takes privacy seriously and carefully considers the data it collects.
Our official privacy policy is viewable at https://lbry.com/privacypolicy. This FAQ article attempts to explain our policy in plain English, but should not be considered an official policy document.
LBRY collects data for a variety of reasons, including but not limited to:
- debugging and improving the protocol
- understanding how our users interact with our applications
- preventing fraud in our reward programs
- providing statistics to content creators
We promise to keep any collected data safe and to never share personal, private information with anyone outside of LBRY Inc.
Users can also [choose to use LBRY anonymously](#anonymous) however some features, like [LBRY Rewards](https://lbry.com/faq/rewards), will not be available.
Additionally, even when not sending data to us, using LBRY typically involves participation in the peer-to-peer LBRY network and certain information like your IP address is likely to be exposed regardless. See [below](#p2p) for more information.
### What type of data is collected and where?
As a first time user of LBRY applications, you have the option of providing an email address to create a LBRY account. This allows for a richer user experience by enabling services such as [LBRY Rewards](https://lbry.com/faq/rewards), email notifications, and account synchronization (i.e. subscriptions and user preferences) across multiple devices/platforms. If you do not provide an email, any data collected cannot be associated with your identity, but may still be tied back to other system information like IP addresses.
See below tables for a break-down of the types of data collected and associated applications.
Scope of Data | Depends on| Optional | Visibility | Details
:------------ |:------------ |:------------ |:------------ |:------------ |
Email addresses | | Yes, if email provided | LBRY | Used to create and authenticate a LBRY account
User preferences | Email | Yes, if email provided | LBRY | Subscriptions, tags, blocked channels, and application settings
System information | | Yes, if Share Diagnostic Data enabled | LBRY | Operating system, application/SDK versions, and unique install identifier
Identity verification | Email | Yes, if going through manual approval | LBRY | Phone number, credit card fingerprint (Stripe), and 3rd party services identifiers (i.e. YouTube, GitHub)
Google Analytics | | Yes, if Share Diagnostic Data enabled | LBRY | User behavior and interactions within the applications are tracked anonymously. This is not linked to a LBRY account.
Content access analytics | Email | Yes, if email provided | LBRY | Content views used for Rewards and internal analytics
IP addresses | | No, use VPN to protect | Everyone | Any access to LBRY services are logged to prevent abuse and comply with legal requirements
Blockchain metadata | Email | Yes, if email provided | LBRY| Wallet addresses and transactions related to Rewards are logged to prevent abuse and comply with tax requirements (above $600 yearly threshold)
Blockchain transactions | | No, don’t create transactions | Everyone | Any actions taken that use LBRY credits and create a permanent transaction on the blockchain. Not linked to any Account/User data.
Scope of Data | LBRY Desktop App | LBRY.tv (Web) | LBRY Android App | LBRY SDK |
:------------ |:------------ |:------------ | :-------------| :-------------|
Email addresses | yes | yes | yes | no |
User preferences | yes | yes | yes | no |
System information | yes | no | yes | yes |
Identity verification | yes | yes | yes | no |
Google Analytics | opt-out | yes | yes | no |
Content access analytics | yes | yes | yes | yes |
IP addresses | yes | yes | yes | opt-out |
Blockchain metadata | yes | yes | yes | no |
Blockchain transactions | yes | yes | yes | yes |
### What’s the difference between account data and cryptocurrency wallets?
Each installable LBRY application also contains a cryptocurrency wallet which is stored locally on the respective device. The wallet allows you to store LBRY Credits and use them to [transact (spend, publish, purchase, and tip) on the network](https://lbry.com/faq/transaction-types). The private information, which is required to perform these actions, is under the sole control of the user.
LBRY does provide a wallet syncing and backup mechanism to allow seamless access across multiple devices. The backup service ensures that a wallet can be retrieved by the user through their LBRY account in case they lose access to their local copy. Any storage and exchange of wallet data has end to end encryption, and the user can also provide an additional encryption password if desired.
### How do I use LBRY anonymously? {#anonymous}
To use LBRY in a fully anonymous way, we recommend the LBRY Desktop application. To disable tracking features, you’ll want to disable the `Share Diagnostic Data` option from the Settings page (cog in the top right of the app). Also, you’ll want to skip providing an email and use a Virtual Private Network (VPN) to protect your IP address. This will still allow you use blockchain related features like retrieving content data, publishing, purchasing, tipping, and other transactions. Depending on VPN features and network configuration, hosting data currently may not be possible but we are looking into techniques to allow this in the future.
### Where is the account and analytics data stored?
LBRY stores collected data on its own secured databases and ensures only authorized employees have access to this data. Google Analytics data is anonymized and protected by Google.
### What information is shared with others in the network? {#p2p}
Similarly to other peer to peer protocols like BitTorrent, users in the network share messages (i.e. announcing content availability) and create direct connections to exchange data (i.e. downloads / uploads). While LBRY does not collect this information, other participants of the network can observe and collect the information.
### Can I use a VPN to use and access LBRY?
Yes, a VPN can be used with all LBRY services. Major features will work without any problems, but VPN users may not be eligible for [LBRY Rewards](https://lbry.com/faq/rewards) in order to prevent abuse.
### Is any additional data collected if I participate in the YouTube Sync program?
When authenticating into the [YouTube Sync program](https://lbry.com/youtube), you provide proof of channel ownership that allows us to link your YouTube channel to a LBRY account. Information about your account is stored and kept by LBRY, Inc.
+42
View File
@@ -0,0 +1,42 @@
---
title: Publishing Quickstart
category: tutorial
order: 3
---
Publishing to LBRY allows anyone else in the world to access your content. You can publish any type of digital file to LBRY. Publishing requires a small amount of LBC, but almost all of this is returned if you decide to later unpublish. We'll cover that later. For now, get those [cat videos](https://beta.lbry.tv/cats:cb) ready!
This tutorial is meant to provide a quick overview. Our [Publishing FAQ](/faq/how-to-publish) covers publishing in even more detail.
We'll start with publishing on LBRY Desktop and lbry.tv. Scroll down or [click here](#android) for Android instructions.
### Publishing on Desktop and lbry.tv
1. Click the **Publish** option from the Account drop down. You can also click **New Publish** from the Publishes page (right hand side).
1. Select the file you want to publish by clicking **Choose File**. ![1](https://spee.ch/a/publish-1.png)
1. Fill in details for the content you are uploading, including the title, tags, and description.
1. For your video thumbnail, you can upload a thumbnail image or take one directly from your video. ![2](https://spee.ch/7/publish-2.png)
1. For the channel section, you can choose to publish anonymously, select an existing channel, or create a new one.
![3](https://spee.ch/3/publish-3.png)
1. Set a price for your content, if desired.
1. Adjust the auto-suggested lbry:// URL and bid, if desired. ([learn more](/faq/naming) about how this works)
1. Click **Publish** to submit your upload to the LBRY network! Please leave your app open so that the file can be properly seeded to the network.
Congratulations on publishing your first piece of content! Have any questions? Please see our [detailed Publishing FAQ](/faq/how-to-publish).
### Publishing on Android
1. Select the **New Publish** option from the left hand menu.
1. Select from: record a new video, snap a photo, select a file manually, or click an item from the recent videos/GIFs list.
1. Fill in details for the content you are uploading, including the title, tags, and description.
1. For the channel section, you can choose to publish anonymously, select an existing channel, or create a new one.
1. You can adjust the auto-suggested lbry:// URL and bid as needed ([learn more](/faq/naming) and have the option of setting a price for your content.
1. Set a price for your content, if desired.
1. Adjust the auto-suggested lbry:// URL and bid, if desired. ([learn more](/faq/naming) about how this works)
1. click **Publish** to submit your upload to the LBRY network!
Congratulations on publishing your first piece of content! Have any questions? Please see our [detailed Android FAQ](/faq/android-basics).
![Android](https://spee.ch/9/android-publish-1.png)
### More Tutorials
If you’d like to learn more about how to get the most out of LBRY, check out our [other tutorials](https://lbry.com/faq?category=tutorial) or [Frequently Asked Questions](https://lbry.com/faq).
+5 -4
View File
@@ -7,11 +7,11 @@ To provide a rich user experience and to [distribute](/faq/credit-policy) LBRY C
![rewardslist](https://spee.ch/@clem:0/rewardslist.png)
### Rewards Approval requirements
### Rewards Approval Requirements
In order to be eligible for LBRY Rewards, users must have an approved account via [phone number](/faq/phone) or [credit card](/faq/identity-requirements) (there's also a manual approval method on [Discord](https://chat.lbry.com)). If users choose not to become approved for rewards, LBRY works with full functionality, but they will not be able to earn any free credits from LBRY. **Rewards will only be granted on a 1 account per household basis and LBRY reserves the right to revoke Rewards privileges on any account if abuse is suspected or if VPN/shared connections are used.**
### List of the current LBRY Rewards
### List of Current LBRY Rewards
| Reward | Amount | Description |
--- | --- | ---
| **Your First Nickel** | 6 LBC | A one-time welcome gift for learning the basics of the application & wallet. Including the purchase of paid content.
@@ -32,12 +32,13 @@ Rewards are added to your LBC wallet balance as they are completed. All the rewa
If you are new to Publishing, check out [our guide](/faq/how-to-publish).
### Custom reward codes {#reward-code}
### Custom Reward Codes {#reward-code}
Custom reward codes can be claimed via the [Rewards](https://open.lbry.com/?rewards) page in the LBRY app. You may have been given a reward code via email, social media or you stumbled upon it somewhere - whichever way, you can claim it for LBC today! It's simple, just hit `Enter Code`, type it in and press `Redeem`.
![rewards](https://spee.ch/@clem:0/custom-code.png)
### Having Trouble?
If you have any questions or problems with receiving the Rewards, feel free to [reach out to us](/faq/support).
+32
View File
@@ -0,0 +1,32 @@
---
title: Searching for Content
category: tutorial
order: 2
---
Searching for content on the LBRY Desktop and Android apps is easy. We'll start with lbry.tv and Desktop first, then cover [Android below](#android).
### Searching on Desktop and lbry.tv
Click your cursor into the top bar, and enter a search term. Typically, you'll see at least 3 items at the top:
1. **Search** - Default if enter is clicked. This is your typical search option, will return all results matching it.
2. **Exact URL** - Select this to navigate directly to the content published at `lbry://comics`
3. **Tag** - Select this to navigate to the tag page to browse all content tagged `comics`
![desktop-search](https://spee.ch/a/search-term.png)
After performing a search, you'll have access to additional filter to help narrow down the results.
- Filtering to _files_ will return content published according to the selected file types.
- Filtering to _channels_ will return only channel results.
![filters](https://spee.ch/c/search-filters.png)
### Searching on Android {#android}
Select the top bar and begin typing. Once you pause or click enter, the search results will appear. Currently there are no filtering options on this platform.
![android](https://spee.ch/3/Search-android)
### More Tutorials
If you’d like to learn more about how to get the most out of LBRY, check out our [other tutorials](https://lbry.com/faq?category=tutorial) or [Frequently Asked Questions](https://lbry.com/faq).
-16
View File
@@ -1,16 +0,0 @@
---
title: How do view and subscriber counts work?
category: publisher
order: 4
---
Some LBRY applications provide view and subscriber counts, like LBRY Desktop/Web.
![views](https://spee.ch/6/views.png)
How these numbers work is more complicated than it might appear. As a decentralized protocol, there is no single node or computer that can observe all user activity on the LBRY network.
Instead, view and subscriber counts are currently provided by LBRY, Inc., not the protocol itself. We aggregate data from users that participate in our rewards program and/or opt-in to sharing analytics data to provide these counts.
Currently, users who opt-out of analytics (more on how to use [LBRY anonymously here](https://lbry.com/faq/privacy-and-data#anonymous)) are not counted in view or subscriber figures.
In the future, LBRY will look to improve the accuracy of this feature as well as by adding it to the protocol itself (for example, by allowing wallet servers to share aggregated statistics and allowing subscriptions to occur via a special transaction).
@@ -1,24 +0,0 @@
---
author: brinck-slattery
title: 'LBRY Butterfly Flits Onto The Scene'
date: '2019-09-26 08:00:00'
cover: 'Butterfly.jpg'
category: news
---
# LBRY Butterfly is LIVE in the Google Play store!
![](https://spee.ch/6/Butterfly-gif.gif)
## The first in a series of updates that will be rolling out over the next few months, Butterfly has some amazing features that you've all been asking for, and a few you haven't!
Wondering what's in the box?
* **A new channel page.** This page will help publishers manage their content.
* **Thumbnail selection for published content.**
* **Universal Publishing.** You can publish ANY kind of file form your mobile device.
* **USD Pricing.** To allow creators to give people purchasing their content a better idea of what they're spending in dollars.
* **Synchronized tags and subscriptions across devices.** We're still overhauling the whole LBRY ecosystem, but when universal log-in is ready, our Android app will be too!
* **LBRY SDK 0.40.1** for improved stability and performance.
* **And much, much more!**
## On top of all that, you can now earn DAILY REWARDS just for watching your favorite stuff on LBRY!
And as a gift to our biggest fans, we've included a special reward code for the first 100 users to get to it! Enter **android-b-919** in your app to get the reward.
So open your app now to upgrade - and if you haven’t installed it yet, what are you waiting for? [Click here to get it now](https://play.google.com/store/apps/details?id=io.lbry.browser&hl=en_US), or open your app to upgrade!
-176
View File
@@ -1,176 +0,0 @@
---
author: julie-sigwart
title: 'September 2019 LBRY Community Report'
date: '2019-09-26 13:00:00'
cover: 'leaves.jpg'
category: community-update
---
# Welcome to the September 2019 LBRY Community update!
If you aren’t part of our Discord community yet, [join us](https://chat.lbry.com) anytime and say hello! Our community allows LBRYians to interact with the team directly and for us to engage users and grow the LBRY platform. If you don't already, follow us on [Twitter](https://twitter.com/lbryio), [Facebook](https://facebook.com/lbryio), [Reddit](https://www.reddit.com/r/lbry), and [Telegram](https://t.me/lbryofficial).
## In This Update: {#updates}
* [What's new at LBRY?](#news)
* [LBRY.tv is nearly here](#web)
* [LBRY Android Butterfly Released](#android)
* [New Daily Rewards!](#rewards)
* [Hacktoberfest](#hacktoberfest)
* [We're looking to create new hives!](#new)
* [Hive Updates](#hives)
* [LBRY App in More Languages](#i18n)
* [Community Block Explorer](#explorer)
* [Yummy Dessert!](#dessert)
### What's New at LBRY? {#news}
#### LBRY Desktop, Android, and Web App Software
Since our last update, progress has been made on a number of our Roadmap items, including:
* Software app for Android, desktop, and the web. the app team shipped our next named release, 0.35, under codename Franklin as well as a few patches. Franklin enhances the app experience with a brand new videojs-based video player.
* Other new features in Franklin include:
- The ability to continue watching videos in pop out mode
- Support of range requests (streaming)
- The ability to block channels app-wide
![franklin](https://spee.ch/9/35.gif)
#### Video Player and Download Settings
The new video player fixes a number of bugs and includes new features like volume control, ability to play more video codecs, and you can also skip anywhere in the video instantly.
Did you say you don't want to download every video? We heard your feedback! There are two new settings for saving hosted content and files. Users who wish to disable either or both can do so.
![download](https://spee.ch/9/download-settings.png)
#### LBRY.tv {#web}
Over the last few months, we’ve been running a view-only pilot of [beta.lbry.tv](https://beta.lbry.tv), meaning you can view free content, but many of the other features like wallets, rewards, and publishing have been disabled.
We also added some tags so when you share a LBRY file on social media such as Twitter or Facebook, you will see a preview and description of the actual content instead of a generic LBRY image.
![metadata](https://spee.ch/c/tv-metadata.png)
#### LBRY for Android {#android}
Announcing the release of Butterfly! Since our last update, the Android app has been playing catchup with the Desktop app’s discovery features - this includes the ability to follow tags and explore tags, create channels, and publish (and edit!) content. We’re also excited that some of the more profound performance problems with the Android app have been resolved. The publish process now includes automatic uploading of thumbnails, and you can also tag your content, create a channel, select a URL, and adjust your default LBC bid.
All of the [details of the latest release are here.](https://lbry.com/news/butterfly-flits-onto-the-scene)
#### New Daily Rewards! {#rewards}
Weekly rewards tied to the LBRYCast email have gone away, but now you can earn even more LBC with the new daily watch rewards! Each day you watch a video, you'll receive a random award of between 1 and 100 LBC. Enjoy!
### Hacktoberfest is Here! {#hacktoberfest}
As an Open Source company, LBRY is excited to participate in Hacktoberfest again this year! Submit Pull Requests to our Github project repos to earn a brand new limited-edition collectible LBRY Hacktoberfest t-shirt and other swag.
The details will be [posted here](https://lbry.com/hacktoberfest) as they are available, including requirements to earn swag and other activities we'll be hosting in October.
![Hacktoberfest is Here](https://spee.ch/@lbrynews:0/hacktoberfest1.jpg)
### We're recruiting for existing and new hives! {#new}
The LBRY Swarm is a community program to promote awareness, use, and development of the LBRY protocol and network. We believe in empowering people across the globe to be able to promote and monetize their content and regain control from corporate-controlled centralized platforms.
We need your help to grow the Swarm program. There are a number of potential hive focus areas, and we're interested in new hives or for existing hives to curate content in these areas:
* Fine Art
* Photography
* Fan Art (think DeviantArt)
* Science topics
* Craft How-tos
* Life Hacks/How-tos
* News
* Free Speech
* Activism
* Environment
* Arabic
* French
* Gaming
If you’re interested in finding out more about the Swarm program, how to start a hive, or join one, [please check out this link.](https://docs.google.com/forms/d/e/1FAIpQLSfDabPptaLx7TI7DeT_dAOZgeulSRD1A-VnYYypbuc_r4wlhA/viewform?usp=sf_link)
We have a new Discord home for the Swarm, and you [can join here and ask us questions about the program or find an interesting hive!](https://invite.lbry.org)
### Selected Hive Updates {#hives}
#### Open Source LBRY
Open Source LBRY has been focused on uploading all of Project Gutenberg to LBRY. There are a total of over 60,000 books in the project, and you can see works from [Project Gutenberg channel here.](lbry://@Gutenberg#a)
![Project Gutenberg](https://spee.ch/@lbrynews:0/ProjectGutemberglogosvg.png)
#### LBRY India - Blockchain Youth at LPU
LBRY India hive attended this event, and Clement was featured and spoke about LBRY as an emerging blockchain technology and the opportunities for young adults to get involved! We're excited to see Clement's involvement as Blockchain Youth develops into its own organization.
![Clement at Blockchain Youthh](https://spee.ch/@lbrynews:0/clement-lpu.jpeg")
_Clement tells the audience about LBRY and blockchain opportunities_
![A big audience](https://spee.ch/@lbrynews:0/audience1.jpeg)
_There was a fantastic turnout for the event_
![LBRY Supporter](https://spee.ch/@lbrynews:0/speaker.jpg)
_A LBRY user talks about how she uses LBRY to host her content_
#### LBRY.social
This hive has been working on many different objectives, including a weblog. Here is an [excellent case study](https://lbry.social/blog/using-lbry-well/) they've written about Turkish creator Efe Aydal and his success on the LBRY platform.
Dr. Brendon Brewer has been working with Mark Firth to create a visualization of LBRY statistics. Take a look here to see their progress: https://lbry.social/lbrynomics/
[Brendon Brewer LBRYnomics](https://www.brendonbrewer.com/lbrynomics/)
#### China Hive
The China Hive is attending the Blockchain World Forum Conference, October 24-25 in Shenzhen, through a grant from the LBRY fund. The website for [the conference is here.](http://sz.thebwf.com/)
#### New LBRY Uganda Hive!
We're excited to have our first hive in Africa!
Our Uganda community held their first LBRY meetup. We love to see LBRY, open source, and blockchain technologies spread worldwide.
![LBRY Uganda](https://spee.ch/@lbrynews:0/uganda.jpg)
![LBRY Uganda](https://spee.ch/@lbrynews:0/lbryuganda.jpg)
LBRY Uganda has even created special t-shirts for their members.
![LBRY Uganda](https://spee.ch/@lbrynews:0/lbry-uganda.jpg)
#### Noob Team Hive
Noob Team Hive is always coming up with imaginative ideas! Most recently, they created an activity easy enough for any skill level to participate. They love our LBRY mascot, Yerbil the Gerbil, and have created fan art variations:
![Noob Team Yerbil Cartoons](https://spee.ch/@lbrynews:0/noob-yerbils.png)
### LBRY App Language Translations {#i18n}
We have internationalized the LBRY App! We have added new languages like Bahasa Indonesia, Polish and German, and we will soon have many others. If you're interested in adding a language or helping translate please contact [Julie.](mailto:julie@lbry.com)
### Community Block Explorer {#explorer}
A community member by the name of [Alessandro Spallina](https://github.com/AlessandroSpallina) became interested in the LBRY ecosystem and wanted to implement a more modern and fully featured block explorer that exposes important metrics of the LBRY blockchain.
You can check out his [GitHub issue](https://github.com/lbryio/block-explorer/issues/67) outlining what he plans on developing or you can go straight to the explorer prototype at [lbryexplorer.tech](https://lbryexplorer.tech/) to give it a shot.
He’d appreciate any feedback on the GitHub issue and current prototype - you can leave a comment on GitHub or reach out on [Discord](https://chat.lbry.com) #dev channel by tagging @SK3LA.
![New Block Explorer](https://spee.ch/@lbrynews:0/newexplorer.png)
### Since you've read this far here's your dessert! 🍦 {#dessert}
We appreciate your attention and now we have a little dessert for you. Enter `lbry-ice-cream` in the desktop app and get a few sprinkles of LBCs!
## Want to Develop on the LBRY Ecosystem?
All of our code is open source and available on [GitHub](https://github.com/lbryio). Are you a developer and want to find out more? Check out our [contributing guide](https://lbry.tech/contribute) and our [LBRY App specific contributing document](https://github.com/lbryio/lbry-app/blob/master/CONTRIBUTING.md). Make sure you have turned on the Developer option in your email preferences (see app overview page), or sign up at [lbry.tech](https://lbry.tech). We also have a [LBRY Discourse Forum](https://discourse.lbry.io) where developers can interact with the team and ask questions across all our different projects.
If you aren’t part of our Discord community yet, [join us](https://chat.lbry.com) anytime and say hello!
[Back to **Community Updates**](#updates)
Thanks for supporting LBRY - stay tuned for more news and updates! And if you haven’t downloaded the [LBRY app](https://lbry.com/get?auto=1) yet, what are you waiting for?
+1 -1
View File
@@ -173,7 +173,7 @@ class Controller
return static::redirect('/' . strtolower($slug), 301);
}
if (View::exists('page/' . $slug)) {
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/' . $slug, []];
} else {
return NavActions::execute404();
+1 -8
View File
@@ -16,18 +16,11 @@ class Session
{
ini_set('session.cookie_secure', IS_PRODUCTION); // send cookie over ssl only
ini_set('session.cookie_httponly', true); // no js access to cookies
session_start();
/*
* session_start automatically adds headers because lolphp, let's remove them and handle it ourselves
*/
header_remove('cache-control');
header_remove('pragma');
header_remove('expires');
if (!static::get('secure_and_httponly_set')) {
session_regenerate_id(); // ensure that old cookies get new settings
session_regenerate_id(); // ensure that old cookies get new settings
}
static::set('secure_and_httponly_set', true);
@@ -36,19 +36,16 @@ class AcquisitionActions extends Actions
public static function executeVerify(string $token)
{
Response::disableHttpCache();
return ['acquisition/verify', ['token' => $token]];
}
public static function executeAutoVerify()
{
Response::disableHttpCache();
return ['acquisition/auto-verify'];
}
public static function executeYoutubeToken()
{
Response::disableHttpCache();
$channelName = Request::encodeStringFromUser($_POST['desired_lbry_channel_name']);
$immediateSync = (boolean)$_POST['immediate_sync'];
@@ -68,7 +65,6 @@ class AcquisitionActions extends Actions
public static function executeYoutubeStatus(string $token)
{
Response::disableHttpCache();
$data = LBRY::statusYoutube($token);
if (!$data['success']) {
+11 -10
View File
@@ -28,27 +28,27 @@ class ContentActions extends Actions
public static function executeHome(): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/home'];
}
//
public static function executeOrg(): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/org'];
}
public static function executeTv(): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
return ['page/tv'];
}
//
public static function executeNews(string $slug = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
if (!$slug || $slug == static::SLUG_RSS) {
$posts = array_filter(
@@ -90,7 +90,7 @@ class ContentActions extends Actions
public static function executeFaq(string $slug = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
if (!$slug) {
$allPosts = Post::find(static::VIEW_FOLDER_FAQ, Post::SORT_ORD_ASC);
@@ -98,6 +98,7 @@ class ContentActions extends Actions
$allCategories = [
'LBRY 101' => 'Intro to LBRY',
'getstarted' => 'Getting Started',
'tutorial' => 'LBRY Tutorials',
'publisher' => 'Publishers and Creators',
'troubleshooting' => 'Help and Troubleshooting',
'powerusers' => 'LBRY for Power Users',
@@ -139,7 +140,7 @@ class ContentActions extends Actions
public static function executeCreditReports(string $year = null, string $month = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
$posts = Post::find(static::VIEW_FOLDER_CREDIT_REPORTS);
@@ -150,7 +151,7 @@ class ContentActions extends Actions
public static function executeCreditReport(string $year = null, string $quarter = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
try {
$post = Post::load(static::SLUG_CREDIT_REPORTS . '/' . $year . '-Q' . $quarter);
@@ -172,7 +173,7 @@ class ContentActions extends Actions
public static function executeBounty(string $slug = null): array
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
@@ -276,7 +277,7 @@ class ContentActions extends Actions
//
// $zip->close();
//
// Response::enablePublicImmutableCache();
// Response::enableHttpCache();
// Response::setDownloadHttpHeaders($zipFileName, 'application/zip', filesize($zipPath));
//
// return ['internal/zip', [
@@ -320,7 +321,7 @@ class ContentActions extends Actions
}
public static function executePostCategoryFilter(string $category)
{
Response::enablePublicImmutableCache();
Response::enableHttpCache();
$filter_post = [];
+39 -15
View File
@@ -51,7 +51,6 @@ class MailActions extends Actions
public static function executeUnsubscribe(string $email)
{
Response::disableHttpCache();
$decodedEmail = Encoding::base64DecodeUrlsafe(urldecode($email));
if (!$decodedEmail) {
return ['mail/unsubscribe', ['error' => 'Invalid unsubscribe link']];
@@ -63,7 +62,6 @@ class MailActions extends Actions
public static function editEmailSettings(string $token)
{
Response::disableHttpCache();
list($status, $headers, $response) = LBRY::emailStatus($token);
if ($status == 403) {
//Catch 403 to return elegant error message.
@@ -80,19 +78,45 @@ class MailActions extends Actions
public static function prepareSettingsFormPartial(array $vars)
{
$tags = LBRY::listTags($vars['token']);
$tagMetadata = [];
$specialDisplayNames = [
'ios' => 'iOS'
return $vars + [
'tagMetadata' => [
'3d-printing' => [
'label' => '3D Printing',
'description' => 'Receive updates, tips, and new content suggestions related to 3D Printing.'
],
'android' => [
'label' => 'Android',
'description' => 'Be an Android beta tester, earn LBC, and receive notification when the app goes live!'
],
'college' => [
'label' => 'University',
'description' => 'LBRY has special programs and opportunities for people in school.'
],
'creator' => [
'label' => 'Creator',
'description' => 'Get the most out of the stuff you create with tips and feedback from LBRY.'
],
'consumer' => [
'label' => 'Content Lover',
'description' => 'Learn how to get the most out of LBRY as someone who just wants to find cool stuff.'
],
'developer' => [
'label' => 'Developer',
'description' => 'Receive technical updates and other news intended for those who are familiar with software engineering.'
],
'ios' => [
'label' => 'iPhone',
'description' => 'Be an iOS alpha tester, earn LBC, and receive notification when the app goes live!'
],
'reward' => [
'label' => 'Rewards',
'description' => 'Receive emails about the latest rewards that are available to LBRY users.'
],
'subscription' => [
'label' => 'Subscriptions',
'description' => 'Stay up to date on the latest content from your favorite creators.'
],
]
];
foreach($tags as $tag) {
if ($tag['is_user_addable']) {
$tagMetadata[$tag['name']] = [
'label' => $specialDisplayNames[$tag['name']] ?? ucwords(str_replace(['-', '_'], ' ', $tag['name'])),
'description' => $tag['description']
];
}
}
return $vars + ['tagMetadata' => $tagMetadata];
}
}
+2 -10
View File
@@ -29,18 +29,10 @@ class i18nActions extends Actions
throw new Exception('Please set Config::TRANSIFEX_API_KEY in your configuration.');
}
$usecache = !Request::getParam('nocache');
$json = Transifex::getTranslationResourceFile($project, $resource, $language, $usecache);
if (!$json) {
return NavActions::execute404();
}
$json = Transifex::getTranslationResourceFile($project, $resource, $language);
Response::setHeader(Response::HEADER_CROSS_ORIGIN, "*");
if ($usecache) {
Response::enablePublicMutableCache(md5(json_encode($json)));
}
Response::setHeader(Response::HEADER_ETAG, md5($json));
return View::renderJson($json);
}
-1
View File
@@ -112,7 +112,6 @@
/feedback: /learn
/press-kit.zip: /press-kit
/news/tag/events: /roadmap
/privacy: /privacypolicy
# /publish: /youtube
# Images
+18 -21
View File
@@ -3,8 +3,6 @@
class LBRY
{
const DEFAULT_TIMEOUT = 10;
public static function getApiUrl($endpoint)
{
if (!strlen(Config::get(Config::LBRY_API_SERVER)) > 0) {
@@ -23,40 +21,39 @@ class LBRY
return $response['data']['lbc_usd'] ?? 0;
}
public static function listTags($authToken)
{
$response = Curl::get(static::getApiUrl('/tag/list'), ['auth_token' => $authToken], ['json_response' => true]);
return $response['data'] ?? [];
}
public static function subscribe($email, $tag = null)
{
return Curl::post(static::getApiUrl('/list/subscribe'), array_filter([
'email' => $email,
'tag' => $tag,
]), ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
]), ['json_response' => true]);
}
public static function editEmailSettings($token, $email, $isPrimary =null, $isEnabled = null)
{
return Curl::post(static::getApiUrl('/user_email/edit'), ['auth_token' => $token], ['email' => $email], ['is_primary' => $isPrimary], ['is_enabled' => $isEnabled]);
}
public static function emailStatus($token)
{
list($status, $headers, $body) = Curl::doCurl(
Curl::POST,
static::getApiUrl('/user_email/status'),
['auth_token' => $token],
['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]
);
list($status, $headers, $body) = Curl::doCurl(Curl::POST, static::getApiUrl('/user_email/status'), ['auth_token' => $token], ['json_response' => true]);
return array($status,$headers,$body);
}
public static function applyTags($type, $token, $tags)
{
return Curl::post(static::getApiUrl('/user_tag/edit'), ['auth_token' => $token], [$type => $tags]);
}
public static function unsubscribe($email)
{
return Curl::post(static::getApiUrl('/user/unsubscribe'), ['email' => $email], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::post(static::getApiUrl('/user/unsubscribe'), ['email' => $email], ['json_response' => true]);
}
public static function connectYoutube($channel_name, $immediateSync = false)
{
// Uncomment next line for production and comment other return
return Curl::post(static::getApiUrl('/yt/new'), [ 'desired_lbry_channel_name' => $channel_name, 'immediate_sync' => $immediateSync, 'type' => 'sync' ], [ 'json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT ]);
return Curl::post(static::getApiUrl('/yt/new'), [ 'desired_lbry_channel_name' => $channel_name, 'immediate_sync' => $immediateSync, 'type' => 'sync' ], [ 'json_response' => true ]);
// Uncomment next line for development and comment other return (this also requires the testnet API)
// return Curl::post(static::getApiUrl('/yt/new'), [
@@ -72,12 +69,12 @@ class LBRY
// Check the sync status
public static function statusYoutube($status_token)
{
return Curl::get(static::getApiUrl('/yt/status'), ['status_token' => $status_token], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::get(static::getApiUrl('/yt/status'), ['status_token' => $status_token], ['json_response' => true]);
}
public static function youtubeReward()
{
return CurlWithCache::post(static::getApiUrl('/yt/rewards'), [], ['cache' => 3600, 'json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return CurlWithCache::post(static::getApiUrl('/yt/rewards'), [], ['cache' => 3600, 'json_response' => true]);
}
public static function editYouTube($status_token, $channel_name, $email, $sync_consent)
@@ -100,13 +97,13 @@ class LBRY
$postParams['new_preferred_channel'] = $channel_name;
}
return Curl::post(static::getApiUrl("/yt/update"), $postParams, ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::post(static::getApiUrl("/yt/update"), $postParams, ['json_response' => true]);
}
public static function logWebVisitor($site, $visitorID, $IPAddress)
{
if (IS_PRODUCTION) {
return Curl::post(static::getApiUrl("/visitor/new"), ['site' => $site, 'visitor_id' => $visitorID, 'ip_address' => $IPAddress], ['json_response' => true, 'timeout' => static::DEFAULT_TIMEOUT]);
return Curl::post(static::getApiUrl("/visitor/new"), ['site' => $site, 'visitor_id' => $visitorID, 'ip_address' => $IPAddress], ['json_response' => true]);
}
}
}
+2 -2
View File
@@ -7,12 +7,12 @@ class Transifex
return (boolean)Config::get(Config::TRANSIFEX_API_KEY);
}
public static function getTranslationResourceFile($project, $resource, $language, $cache = true)
public static function getTranslationResourceFile($project, $resource, $language)
{
$url = "https://www.transifex.com/api/2/project/$project/resource/$resource/translation/$language?file=1";
return json_decode(CurlWithCache::get($url, [], [
'password' => 'api:' . Config::get(Config::TRANSIFEX_API_KEY),
'cache' => $cache ? 1000 * 60 * 60 * 8 : false
'cache' => 1000 * 60 * 60 * 8
]), true);
}
}
+31 -30
View File
@@ -6,6 +6,7 @@ class Response
const HEADER_LOCATION = 'Location';
const HEADER_CACHE_CONTROL = 'Cache-Control';
const HEADER_LAST_MODIFIED = 'Last-Modified';
const HEADER_ETAG = 'Etag';
const HEADER_CONTENT_TYPE = 'Content-Type';
@@ -25,12 +26,11 @@ class Response
],
'css' => ['/css/all.css']
];
protected static $headers = [
'Cache-Control' => 'private, no-cache'
];
protected static $headers = [];
protected static $headersSent = false;
protected static $content = '';
protected static $contentSent = false;
protected static $isHeadersOnly = false;
protected static $gzipResponseContent = true;
protected static $metaImages = [];
protected static $facebookAnalyticsType = "PageView";
@@ -144,21 +144,8 @@ class Response
public static function send()
{
$status = static::getHeader(static::HEADER_STATUS);
$sendContent = true;
if ((!$status || $status === 200) &&
static::getHeader(static::HEADER_ETAG) &&
Request::getHttpHeader('If-None-Match', null) === static::getHeader(static::HEADER_ETAG)
) {
static::setHeader(static::HEADER_STATUS, 304);
$sendContent = false;
}
static::sendHeaders();
if ($sendContent) {
static::sendContent();
}
static::sendContent();
}
public static function setContent(string $content)
@@ -177,11 +164,18 @@ class Response
throw new LogicException('Content has already been sent. It cannot be sent twice');
}
echo static::$content;
if (!static::$isHeadersOnly) {
echo static::$content;
}
static::$contentSent = true;
}
public static function setIsHeadersOnly(bool $isHeadersOnly = true)
{
static::$isHeadersOnly = $isHeadersOnly;
}
public static function setDownloadHttpHeaders($name, $type = null, $size = null, $noSniff = true)
{
static::setBinaryHttpHeaders($type, $size, $noSniff);
@@ -198,23 +192,30 @@ class Response
]));
}
//public immutable cache = hard-caching (no server checks) until time limit passes
public static function enablePublicImmutableCache(int $seconds = 300)
public static function enableHttpCache(int $seconds = 300)
{
static::setHeader(static::HEADER_CACHE_CONTROL, 'public, max-age=' . $seconds);
static::addCacheControlHeader('max-age', $seconds);
static::setHeader('Pragma', 'public');
}
//public mutable cache = soft-caching (requires at least one round trip for headers) as long as etag identifier matches
public static function enablePublicMutableCache(string $etag)
public static function addCacheControlHeader(string $name, $value = null)
{
static::setHeader(static::HEADER_CACHE_CONTROL, 'public');
static::setHeader(static::HEADER_ETAG, $etag);
}
$cacheControl = static::getHeader(static::HEADER_CACHE_CONTROL);
$currentHeaders = [];
if ($cacheControl) {
foreach (preg_split('/\s*,\s*/', $cacheControl) as $tmp) {
$tmp = explode('=', $tmp);
$currentHeaders[$tmp[0]] = $tmp[1] ?? null;
}
}
$currentHeaders[strtr(strtolower($name), '_', '-')] = $value;
//always reload and re-execute this resource, disable any local or intermediary caching
public static function disableHttpCache()
{
static::setHeader(static::HEADER_CACHE_CONTROL, 'private, no-cache, no-store');
$headers = [];
foreach ($currentHeaders as $key => $currentVal) {
$headers[] = $key . ($currentVal !== null ? '=' . $currentVal : '');
}
static::setHeader(static::HEADER_CACHE_CONTROL, implode(', ', $headers));
}
public static function setHeader($name, $value)
+2 -1
View File
@@ -54,7 +54,8 @@
<p hidden id="lbry_error" class="error-block">YouTube channel name is either not valid (only letters, numbers and - allowed, no spaces) or your input is blank</p>
<h2>Connect with your fans while earning rewards</h2>
<h2>Connect with your fans while earning money and rewards</h2>
<form id="youtube_claim" method="post" action="/youtube/token">
<p hidden id="sync-status" class="sync-status"></p>
+1 -2
View File
@@ -58,7 +58,6 @@
<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 ?>" />
@@ -71,7 +70,7 @@
<meta name="twitter:app:id:googleplay" content="io.lbry.browser"/>
<meta name="twitter:app:url:googleplay" content="https://play.google.com/store/apps/details?id=io.lbry.browser"/>
<?php else: ?>
<meta name="twitter:card" content="summary_large_image">
<meta name=”twitter:card” content=”summary_large_image”>
<?php endif ?>
+21 -27
View File
@@ -11,55 +11,49 @@
<div class="notice notice-error spacer1"><?php echo $error ?></div>
<?php else: ?>
<form id="<?php echo $formId ?>" novalidate style="display: none">
<section class="email-section">
<div style="min-height: 33px"> <?php //hack fix to prevent jumping ?>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
</div>
<section class="email-section" style="position: relative;">
<h4><?php echo count($emails) > 1 ? 'Receiving Addresses' : 'Do You Want To Receive Mail?' ?></h4>
<?php if (count($emails) > 1): ?>
<div class="meta spacer-half">Uncheck all boxes if you want to receive no future messages.</div>
<?php endif ?>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
<?php $emailIndex = 0 ?>
<?php foreach ($emails as $email => $enabled): ?>
<?php $emailId = 'email_' . (++$emailIndex) ?>
<checkbox-element>
<input id="<?php echo $emailId ?>" name="<?php echo $emailId ?>" type="checkbox"<?php echo $enabled ? " checked" : "" ?> value="<?php echo urlencode($email) ?>"/>
<label for="<?php echo $emailId ?>"><?php echo count($emails) > 1 ? $email : __('Yes') . ' (' . $email . ')' ?></label>
<label for="<?php echo $emailId ?>"><?php echo $email ?></label>
<checkbox-toggle/>
</checkbox-element>
<?php endforeach ?>
</section>
<section class="tag-section spacer1">
<div style="min-height: 33px"> <?php //hack fix to prevent jumping ?>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
</div>
<section class="tag-section spacer1" style="position: relative;">
<h4>Fine-tune your Mail</h4>
<div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>
<?php $tagIndex = 0 ?>
<?php foreach ($tags as $tag => $enabled): ?>
<?php if (!isset($tagMetadata[$tag])) continue; ?>
<?php if (!isset($tagMetadata[$tag])) {
continue;
} //fix/kill this?>
<?php $tagId = 'tag_' . (++$tagIndex) ?>
<div>
<checkbox-element>
<input id="<?php echo $tagId ?>" name="<?php echo $tagId ?>" type="checkbox"<?php echo $enabled ? " checked" : "" ?> value="<?php echo urlencode($tag) ?>"/>
<label for="<?php echo $tagId ?>">
<?php echo isset($tagMetadata[$tag]['label']) ? $tagMetadata[$tag]['label'] : $tag ?>
<?php if (isset($tagMetadata[$tag]['description'])): ?>
<span class="meta">&middot; <?php echo $tagMetadata[$tag]['description'] ?></span>
<?php endif ?>
</label>
<checkbox-toggle/>
</checkbox-element>
</div>
<checkbox-element>
<input id="<?php echo $tagId ?>" name="<?php echo $tagId ?>" type="checkbox"<?php echo $enabled ? " checked" : "" ?> value="<?php echo urlencode($tag) ?>"/>
<label for="<?php echo $tagId ?>">
<?php echo isset($tagMetadata[$tag]['label']) ? $tagMetadata[$tag]['label'] : $tag ?>
<?php if (isset($tagMetadata[$tag]['description'])): ?>
<span class="meta">&middot; <?php echo $tagMetadata[$tag]['description'] ?></small>
<?php endif ?>
</label>
<checkbox-toggle/>
</checkbox-element>
<?php endforeach ?>
<?php if ($tagIndex === 0): ?>
<div class="notice notice-error"><?php echo __('Something went wrong. Please email help@lbry.com') ?></div>
<?php endif ?>
</section>
</form>
<?php endif ?>
-16
View File
@@ -1,16 +0,0 @@
<?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>
+2 -3
View File
@@ -83,8 +83,7 @@
<p>Occasionally, at our discretion, we may include or offer third-party products or services on our website. These third-party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites.</p>
<p><strong>Google</strong></p>
<p> As part of LBRY Creator Verification, we will only use read-only access to verify the ownership of YouTube channels and will not transfer this data to others unless doing so is necessary to comply with applicable law, or as part of a merger, acquisition, or sale of assets.<p>
<p>Google's advertising requirements can be summed up by Google's Advertising Principles. They are put in place to provide a positive experience for users. <code>https://support.google.com/adwordspolicy/answer/1316548?hl=en</code></p>
<p>We use Google AdSense Advertising on our website.</p>
@@ -212,7 +211,7 @@
<p>
</blockquote>
<small>Last edited on 2019-19-09</small>
<small>Last edited on 2018-04-28</small>
<br/><br/><br/>
</div>
</section>
+1 -1
View File
@@ -25,7 +25,7 @@
<h2>Technical</h2>
</div>
<?php foreach (['jack-robison', 'lex-berezhny', 'akinwale-ariwodola', 'antoniyshumanov', 'andrey', 'sean-yesmunt', 'niko-storni', 'mark-beamer'] as $bioSlug): ?>
<?php foreach (['jack-robison', 'lex-berezhny', 'akinwale-ariwodola', 'antoniyshumanov', 'andrey', 'sean-yesmunt', 'niko-storni', 'paul-webb', 'mark-beamer'] as $bioSlug): ?>
<?php echo View::render('content/_bio', ['person' => $bioSlug]) ?>
<?php endforeach ?>
</section>
-9
View File
@@ -1,12 +1,3 @@
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-7620985872686147",
enable_page_level_ads: true
});
</script>
</head>
<main class="soon">
<section>
<h1><strong>lbry.tv</strong> is coming soon</h1>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

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