Merge remote-tracking branch 'origin/ft_https' into dev

This commit is contained in:
proddy
2021-05-04 12:41:47 +02:00
52 changed files with 1262 additions and 454 deletions

View File

@@ -52,7 +52,7 @@ class EMSESPHelp extends Component {
<ImportExportIcon />
</ListItemAvatar>
<ListItemText>
To list your system settings <Link target="_blank" href={WebAPISystemSettings} color="primary">{'click here'}</Link>
To export your system settings <Link target="_blank" href={WebAPISystemSettings} color="primary">{'click here'}</Link>
</ListItemText>
</ListItem>
@@ -62,7 +62,7 @@ class EMSESPHelp extends Component {
<BugReportIcon />
</ListItemAvatar>
<ListItemText>
To create a report of the current EMS-ESP status <Link target="_blank" href={WebAPISystemInfo} color="primary">{'click here'}</Link>
To export the current status of EMS-ESP <Link target="_blank" href={WebAPISystemInfo} color="primary">{'click here'}</Link>
</ListItemText>
</ListItem>

View File

@@ -396,12 +396,12 @@ class EMSESPSettingsForm extends React.Component<EMSESPSettingsFormProps> {
<BlockFormControlLabel
control={
<Checkbox
checked={data.api_enabled}
onChange={handleValueChange("api_enabled")}
value="api_enabled"
checked={data.notoken_api}
onChange={handleValueChange("notoken_api")}
value="notoken_api"
/>
}
label="Enable API write commands"
label="Bypass Access Token authorization on API calls"
/>
<BlockFormControlLabel
control={

View File

@@ -16,7 +16,7 @@ export interface EMSESPSettings {
dallas_parasite: boolean;
led_gpio: number;
hide_led: boolean;
api_enabled: boolean;
notoken_api: boolean;
analog_enabled: boolean;
pbutton_gpio: number;
trace_raw: boolean;