Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ioppermann committed Sep 30, 2022
2 parents 7f1d2c7 + 7a8a04c commit 8a05218
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github_build/Build.restreamer-ui.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# RESTREAMER UI
RELEASE=1.3.0
RELEASE=1.4.0
NODE_IMAGE=node:18.9.0-alpine3.15
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Restreamer-UI

### v1.3.0 > v1.4.0

- Add email field for Let's Encrypt certification

Dependency:

- datarhei Core v16.10.1+

### v1.2.0 > v1.3.0

- Add low_delay option to processing (default: true)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "restreamer-ui",
"version": "1.3.0",
"version": "1.4.0",
"bundle": "restreamer-v2.3.0",
"private": false,
"license": "Apache-2.0",
Expand Down Expand Up @@ -92,4 +92,4 @@
"url-parse@1.5.3": "patch:url-parse@npm:1.5.3#.yarn/patches/url-parse-npm-1.5.3-225ab9cae7.patch",
"react-error-overlay": "6.0.9"
}
}
}
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { name, version, bundle } from '../package.json';

const Core = '^16.10.0';
const Core = '^16.10.1';
const FFmpeg = '^4.1.0 || ^5.0.0';
const UI = bundle ? bundle : name + ' v' + version;
const Version = version;
Expand Down
28 changes: 28 additions & 0 deletions src/views/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,18 @@ const configValues = {
return null;
},
},
'tls.email': {
tab: 'network',
set: (config, value) => {
config.tls.email = value;
},
unset: (config) => {
delete config.tls.email;
},
validate: (config) => {
return null;
},
},
'api.auth.enable': {
tab: 'auth',
set: (config, value) => {
Expand Down Expand Up @@ -1447,6 +1459,22 @@ export default function Settings(props) {
<Trans>Let's Encrypt requires one or more public domain names and an accessible port 80/TCP.</Trans>
</Typography>
</Grid>
<Grid item xs={12}>
<TextField
label={<Trans>Email</Trans>}
env={env('tls.email')}
disabled={env('tls.email') || !config.tls.auto}
value={config.tls.email}
onChange={handleChange('tls.email')}
/>
<ErrorBox configvalue="tls.email" messages={$tabs.network.messages} />
<Typography variant="caption">
<Trans>
Please enter your email address to signify agreement with the Let's Encrypt CA's terms of service and to be notified
in case of issues.
</Trans>
</Typography>
</Grid>
<Grid item xs={12}>
<Divider />
</Grid>
Expand Down

0 comments on commit 8a05218

Please sign in to comment.