Merge branch 'master' of github.com:plankanban/planka into feat_complex_filter

pull/707/head
Felipe Freitas 2 years ago
commit 43f7a5ff82

@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.25 version: 0.1.26
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using. # follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes. # It is recommended to use it with quotes.
appVersion: "1.16.3" appVersion: "1.16.4"
dependencies: dependencies:
- alias: postgresql - alias: postgresql

@ -1 +1 @@
REACT_APP_VERSION=1.16.3 REACT_APP_VERSION=1.16.4

@ -20,7 +20,7 @@ const mapStateToProps = (state) => {
isSubmittingUsingOidc, isSubmittingUsingOidc,
error, error,
withOidc: !!oidcConfig, withOidc: !!oidcConfig,
isOidcEnforced: oidcConfig && oidcConfig.isEnforced, isOidcEnforced: !!oidcConfig && oidcConfig.isEnforced,
}; };
}; };

4
package-lock.json generated

@ -1,12 +1,12 @@
{ {
"name": "planka", "name": "planka",
"version": "1.16.3", "version": "1.16.4",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "planka", "name": "planka",
"version": "1.16.3", "version": "1.16.4",
"hasInstallScript": true, "hasInstallScript": true,
"license": "AGPL-3.0", "license": "AGPL-3.0",
"dependencies": { "dependencies": {

@ -1,6 +1,6 @@
{ {
"name": "planka", "name": "planka",
"version": "1.16.3", "version": "1.16.4",
"private": true, "private": true,
"homepage": "https://plankanban.github.io/planka", "homepage": "https://plankanban.github.io/planka",
"repository": { "repository": {

@ -23,9 +23,9 @@ module.exports = {
from: sails.config.custom.smtpFrom, from: sails.config.custom.smtpFrom,
}); });
sails.log.info('Email sent: %s', info.messageId); sails.log.info(`Email sent: ${info.messageId}`);
} catch (error) { } catch (error) {
sails.log.error(error); // TODO: provide description text? sails.log.error(`Error sending email: ${error}`);
} }
}, },
}; };

@ -35,19 +35,19 @@ module.exports = {
body: JSON.stringify(body), body: JSON.stringify(body),
}); });
} catch (error) { } catch (error) {
sails.log.error(error); // TODO: provide description text? sails.log.error(`Error sending to Slack: ${error}`);
return; return;
} }
if (!response.ok) { if (!response.ok) {
sails.log.error('Error sending to Slack: %s', response.error); sails.log.error(`Error sending to Slack: ${response.error}`);
return; return;
} }
const responseJson = await response.json(); const responseJson = await response.json();
if (!responseJson.ok) { if (!responseJson.ok) {
sails.log.error('Error sending to Slack: %s', responseJson.error); sails.log.error(`Error sending to Slack: ${responseJson.error}`);
} }
}, },
}; };

Loading…
Cancel
Save