diff --git a/README.md b/README.md index 1a90580a..6d6f43bb 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ For a closed, custom-hosted and branded example, check out https://lbry.theantim - `./lbrynet account_balance` gets your balance (initially 0.0) - `./lbrynet address_list` gets addresses you can use to recieve LBC - [FFmpeg](https://www.ffmpeg.org/download.html) +- [ImageMagick](https://packages.ubuntu.com/xenial/graphics/imagemagick) - Spee.ch (below) - pm2 (optional) process manager such as pm2 to run speech server.js - http proxy server e.g. caddy, nginx, or traefik, to forward 80/443 to speech port 3000 @@ -260,9 +261,11 @@ Spee.ch has a few types of URL formats that return different assets from the LBR - retrieve the controlling `LBRY` claim: - https://spee.ch/`claim` - https://spee.ch/`claim`.`ext` (serve) + - https://spee.ch/`claim`.`ext`&`querystring` (serve transformed) - retrieve a specific `LBRY` claim: - https://spee.ch/`claim_id`/`claim` - https://spee.ch/`claim_id`/`claim`.`ext` (serve) + - https://spee.ch/`claim_id`/`claim`.`ext`&`querystring` (serve transformed) - retrieve all contents for the controlling `LBRY` channel - https://spee.ch/`@channel` - a specific `LBRY` channel @@ -270,9 +273,15 @@ Spee.ch has a few types of URL formats that return different assets from the LBR - retrieve a specific claim within the controlling `LBRY` channel - https://spee.ch/`@channel`/`claim` - https://spee.ch/`@channel`/`claim`.`ext` (serve) + - https://spee.ch/`@channel`/`claim`.`ext`&`querystring` (serve) - retrieve a specific claim within a specific `LBRY` channel - https://spee.ch/`@channel`:`channel_id`/`claim` - https://spee.ch/`@channel`:`channel_id`/`claim`.`ext` (serve) + - https://spee.ch/`@channel`:`channel_id`/`claim`.`ext`&`querystring` (serve) +- `querystring` can include the following transformation values separated by `&` + - h=`number` (defines height) + - w=`number` (defines width) + - t=`crop` or `stretch` (defines transformation - missing implies constrained proportions) ### Dependencies diff --git a/changelog.md b/changelog.md new file mode 100644 index 00000000..e69de29b diff --git a/cli/defaults/siteConfig.json b/cli/defaults/siteConfig.json index b7ff5337..e8af29a7 100644 --- a/cli/defaults/siteConfig.json +++ b/cli/defaults/siteConfig.json @@ -49,6 +49,10 @@ } }, "serving": { + "dynamicFileSizing": { + "enabled": true, + "maxDimension": 2000 + }, "markdownSettings": { "skipHtmlMain": true, "escapeHtmlMain": true, @@ -83,10 +87,7 @@ "code", "html", "parsedHtml" - ], - "disallowedTypesMain": [], - "disallowedTypesDescriptions": ["image", "html"], - "disallowedTypesExample": ["image", "html"] + ] }, "customFileExtensions": { "application/x-troff-man": "man", diff --git a/client/scss/_select.scss b/client/scss/_select.scss index 382adf4c..b095c7b3 100644 --- a/client/scss/_select.scss +++ b/client/scss/_select.scss @@ -1,6 +1,7 @@ select { margin: 0; display: inline-block; - background: $base-color; + background: $background-color; border: 0; + color: $text-color; } diff --git a/client/src/components/ChannelSelectDropdown/index.jsx b/client/src/components/ChannelSelectDropdown/index.jsx index 2079c05c..ae4b1211 100644 --- a/client/src/components/ChannelSelectDropdown/index.jsx +++ b/client/src/components/ChannelSelectDropdown/index.jsx @@ -7,9 +7,6 @@ const ChannelSelectDropdown = ({ selectedChannel, handleSelection, loggedInChann id='channel-name-select' value={selectedChannel} onChange={handleSelection}> - { loggedInChannelName && ( - - )} diff --git a/client/src/components/PublishLicenseInput/index.jsx b/client/src/components/PublishLicenseInput/index.jsx index af827ec8..4ddf4f07 100644 --- a/client/src/components/PublishLicenseInput/index.jsx +++ b/client/src/components/PublishLicenseInput/index.jsx @@ -1,23 +1,28 @@ import React from 'react'; import RowLabeled from '@components/RowLabeled'; import Label from '@components/Label'; +import { LICENSES } from '@clientConstants/publish_license_urls'; -const PublishLicenseInput = ({ handleSelect }) => { +const PublishLicenseInput = ({ handleSelect, license }) => { return ( +