Skip to content

Commit

Permalink
Merge branch 'main' into ICU-11332-upgrade-auth-addon-to-ember-4-12
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Anderson authored Oct 11, 2023
2 parents 728b074 + aee55cb commit cb54476
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 54 deletions.
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@
},
"resolutions": {
"request": "^2.88.0",
"ansi-html": "^0.0.8",
"shell-quote": "^1.7.3",
"hawk": "^9.0.1",
"async": "^2.6.4",
"terser": "^5.14.2",
"jpeg-js": "^0.4.4",
"loader-utils": "^2.0.4",
"**/ember-electron/**/minimatch": "^3.0.5",
"**/babel-core/json5": "^2.2.2",
Expand All @@ -74,7 +68,10 @@
"**/jsprim/json-schema": "^0.4.0",
"**/ember-cli/markdown-it-terminal/markdown-it": "^12.3.2",
"**/ember-cli-mirage/@embroider/macros": "^1.0.0",
"**/ember-electron/**/got": "^11.8.6"
"**/ember-electron/**/got": "^11.8.6",
"**/ember-cli/**/ansi-html": "^0.0.9",
"**/ember-cli/testem/fireworm/async": "^2.6.4",
"**/desktop/@doyensec/electronegativity/winston/async": "^2.6.4"
},
"config": {
"commitizen": {
Expand Down
5 changes: 3 additions & 2 deletions ui/admin/tests/e2e/tests/delete-resources.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ test('Verify resources can be deleted', async ({ page }) => {
}
});

test('Verify enterprise resources can be deleted @enterprise', async ({ page }) => {
test('Verify enterprise resources can be deleted @enterprise', async ({
page,
}) => {
let orgId;
try {
orgId = await createNewOrgCli();
Expand All @@ -207,4 +209,3 @@ test('Verify enterprise resources can be deleted @enterprise', async ({ page })
await deleteOrgCli(orgId);
}
});

15 changes: 15 additions & 0 deletions ui/desktop/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,44 @@

Canonical reference for changes, improvements, and bugfixes for Boundary Desktop.

## v1.7.0 [CLI 0.14.0] (2023.10.10)

### New

- Upgrade CLI to v0.14.0 ([PR](https://github.com/hashicorp/boundary-ui/pull/1923))
- Update Connection workflow ([PR](https://github.com/hashicorp/boundary-ui/pull/1919))
- Add Embedded Terminal ([PR](https://github.com/hashicorp/boundary-ui/pull/1884))


## v1.6.0 [CLI 0.13.0] (2023.06.12)

### New

- Upgrade CLI to v0.13.0 ([PR](https://github.com/hashicorp/boundary-ui/pull/1712))
- Display external names when listing dynamic hosts ([PR](https://github.com/hashicorp/boundary-ui/pull/1664))
- Add support for LDAP authentication ([PR](https://github.com/hashicorp/boundary-ui/pull/1645))

### Bug Fixes

- Optimized API Queries ([PR](https://github.com/hashicorp/boundary-ui/pull/1707))


## v1.5.1 [CLI 0.12.0] (2023.02.13)

### New

- Upgrade CLI to v0.12.0 ([PR](https://github.com/hashicorp/boundary-ui/pull/1625))

### Bug Fixes

- Fix raw API output not displaying until clicked ([PR](https://github.com/hashicorp/boundary-ui/pull/1354))
- Fix complex secrets not displaying correctly ([PR](https://github.com/hashicorp/boundary-ui/pull/1551))


## v1.5.0 [CLI 0.11.0] (2022.09.27)

### New

- Add syntax highlighting when viewing raw API output for credentials ([PR](https://github.com/hashicorp/boundary-ui/pull/1271))


Expand All @@ -45,6 +59,7 @@ Canonical reference for changes, improvements, and bugfixes for Boundary Desktop
- Display auth method names in auth form ([PR](https://github.com/hashicorp/boundary-ui/pull/1113))

### Bug Fixes

- Unavailable controller url should result in a friendlier error workflow ([PR](https://github.com/hashicorp/boundary-ui/pull/1107))
- fix target connection details overlay to show credential sources ([PR](https://github.com/hashicorp/boundary-ui/pull/1146))

Expand Down
2 changes: 1 addition & 1 deletion ui/desktop/electron-app/config/cli/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.0
0.14.0
1 change: 1 addition & 0 deletions ui/desktop/electron-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"node-html-parser": "^5.3.3",
"node-pty": "^1.0.0",
"semver": "^7.5.3",
"shell-env": "^3.0.1",
"shell-quote": "^1.7.3",
"tree-kill": "^1.2.2"
},
Expand Down
5 changes: 5 additions & 0 deletions ui/desktop/electron-app/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const sessionManager = require('./services/session-manager.js');
const menu = require('./config/menu.js');
const appUpdater = require('./helpers/app-updater.js');
const { isMac, isLinux } = require('./helpers/platform.js');
const fixPath = require('./utils/fixPath');
const isDev = require('electron-is-dev');

// Register the custom file protocol
Expand All @@ -48,6 +49,10 @@ protocol.registerSchemesAsPrivileged([
},
]);

// This is to correctly set the process.env.PATH as electron does not
// correctly inherit the path variable in production
fixPath();

const createWindow = (partition, closeWindowCB) => {
/**
* Enable electron OS window frame/chrome for MacOS only.
Expand Down
22 changes: 22 additions & 0 deletions ui/desktop/electron-app/src/utils/fixPath.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const { isWindows } = require('../helpers/platform.js');
const shellEnv = require('shell-env');

// Utility function to help correctly set the PATH variable on unix systems
// Inspired by https://github.com/sindresorhus/fix-path
const fixPath = () => {
if (isWindows()) {
return;
}

const { PATH } = shellEnv.sync();
process.env.PATH =
PATH ||
[
'./node_modules/.bin',
'/.nodebrew/current/bin',
'/usr/local/bin',
process.env.PATH,
].join(':');
};

module.exports = fixPath;
26 changes: 26 additions & 0 deletions ui/desktop/electron-app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,11 @@ ansi-escapes@^4.3.0:
dependencies:
type-fest "^0.21.3"

ansi-regex@^4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed"
integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==

ansi-regex@^5.0.0, ansi-regex@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
Expand Down Expand Up @@ -988,6 +993,11 @@ decompress@^4.2.1:
pify "^2.3.0"
strip-dirs "^2.0.0"

default-shell@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/default-shell/-/default-shell-1.0.1.tgz#752304bddc6174f49eb29cb988feea0b8813c8bc"
integrity sha512-/Os8tTMPSriNHCsVj3VLjMZblIl1sIg8EXz3qg7C5K+y9calfTA/qzlfPvCQ+LEgLWmtZ9wCnzE1w+S6TPPFyQ==

defaults@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d"
Expand Down Expand Up @@ -3027,6 +3037,15 @@ shebang-regex@^3.0.0:
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==

shell-env@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/shell-env/-/shell-env-3.0.1.tgz#515a62f6cbd5e139365be2535745e8e53438ce77"
integrity sha512-b09fpMipAQ9ObwvIeKoQFLDXcEcCpYUUZanlad4OYQscw2I49C/u97OPQg9jWYo36bRDn62fbe07oWYqovIvKA==
dependencies:
default-shell "^1.0.1"
execa "^1.0.0"
strip-ansi "^5.2.0"

shell-quote@^1.7.3:
version "1.7.3"
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.3.tgz#aa40edac170445b9a431e17bb62c0b881b9c4123"
Expand Down Expand Up @@ -3191,6 +3210,13 @@ string_decoder@~1.1.1:
dependencies:
ansi-regex "^5.0.1"

strip-ansi@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
dependencies:
ansi-regex "^4.1.0"

strip-ansi@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532"
Expand Down
61 changes: 17 additions & 44 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4398,32 +4398,6 @@
resolved "https://registry.yarnpkg.com/@handlebars/parser/-/parser-2.0.0.tgz#5e8b7298f31ff8f7b260e6b7363c7e9ceed7d9c5"
integrity sha512-EP9uEDZv/L5Qh9IWuMUGJRfwhXJ4h1dqKTT4/3+tY0eu7sPis7xh23j61SYUnNF4vqCQvvUXpDo9Bh/+q1zASA==

"@hapi/b64@5.x.x":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@hapi/b64/-/b64-5.0.0.tgz#b8210cbd72f4774985e78569b77e97498d24277d"
integrity sha512-ngu0tSEmrezoiIaNGG6rRvKOUkUuDdf4XTPnONHGYfSGRmDqPZX5oJL6HAdKTo1UQHECbdB4OzhWrfgVppjHUw==
dependencies:
"@hapi/hoek" "9.x.x"

"@hapi/boom@9.x.x":
version "9.1.4"
resolved "https://registry.yarnpkg.com/@hapi/boom/-/boom-9.1.4.tgz#1f9dad367c6a7da9f8def24b4a986fc5a7bd9db6"
integrity sha512-Ls1oH8jaN1vNsqcaHVYJrKmgMcKsC1wcp8bujvXrHaAqD2iDYq3HoOwsxwo09Cuda5R5nC0o0IxlrlTuvPuzSw==
dependencies:
"@hapi/hoek" "9.x.x"

"@hapi/cryptiles@5.x.x":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@hapi/cryptiles/-/cryptiles-5.1.0.tgz#655de4cbbc052c947f696148c83b187fc2be8f43"
integrity sha512-fo9+d1Ba5/FIoMySfMqPBR/7Pa29J2RsiPrl7bkwo5W5o+AN1dAYQRi4SPrPwwVxVGKjgLOEWrsvt1BonJSfLA==
dependencies:
"@hapi/boom" "9.x.x"

"@hapi/hoek@9.x.x":
version "9.3.0"
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==

"@hashicorp/design-system-components@^2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@hashicorp/design-system-components/-/design-system-components-2.11.0.tgz#d7b77a484f9c4a316d33921e76dd00dd8bbcfdf0"
Expand Down Expand Up @@ -6009,10 +5983,10 @@ ansi-escapes@^4.2.1, ansi-escapes@^4.3.0:
dependencies:
type-fest "^0.21.3"

ansi-html@^0.0.7, ansi-html@^0.0.8:
version "0.0.8"
resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.8.tgz#e969db193b12bcdfa6727b29ffd8882dc13cc501"
integrity sha512-QROYz1I1Kj+8bTYgx0IlMBpRSCIU+7GjbE0oH+KF7QKc+qSF8YAlIutN59Db17tXN70Ono9upT9Ht0iG93W7ug==
ansi-html@^0.0.7, ansi-html@^0.0.9:
version "0.0.9"
resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.9.tgz#6512d02342ae2cc68131952644a129cb734cd3f0"
integrity sha512-ozbS3LuenHVxNRh/wdnN16QapUHzauqSomAl1jwwJRRsGwFwtj644lIhxfWu0Fy0acCij2+AEgHvjscq3dlVXg==

ansi-regex@^2.0.0:
version "2.1.1"
Expand Down Expand Up @@ -13660,16 +13634,6 @@ hastscript@^6.0.0:
property-information "^5.0.0"
space-separated-tokens "^1.0.0"

hawk@^9.0.1:
version "9.0.1"
resolved "https://registry.yarnpkg.com/hawk/-/hawk-9.0.1.tgz#0be51769103e76fe97a97ae7fa356c313bb93160"
integrity sha512-H2E+5ATFEXmorgVzYl3NzG3PCo2e+euYrHDnRpLLdOtJrQHGRXrJT9/joWnrkHCtzDZkaNoLXg/+TsSkD06eNg==
dependencies:
"@hapi/b64" "5.x.x"
"@hapi/boom" "9.x.x"
"@hapi/cryptiles" "5.x.x"
"@hapi/hoek" "9.x.x"

heimdalljs-fs-monitor@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/heimdalljs-fs-monitor/-/heimdalljs-fs-monitor-1.1.1.tgz#bb4021007e88484202402cdf594e3962d70dc4f4"
Expand Down Expand Up @@ -15136,7 +15100,7 @@ jest@^27.4.7:
import-local "^3.0.2"
jest-cli "^27.4.7"

jpeg-js@^0.4.2, jpeg-js@^0.4.4:
jpeg-js@^0.4.2:
version "0.4.4"
resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.4.4.tgz#a9f1c6f1f9f0fa80cdb3484ed9635054d28936aa"
integrity sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==
Expand Down Expand Up @@ -19697,7 +19661,7 @@ shebang-regex@^3.0.0:
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==

shell-quote@^1.6.1, shell-quote@^1.7.3, shell-quote@^1.8.1:
shell-quote@^1.6.1, shell-quote@^1.8.1:
version "1.8.1"
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680"
integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==
Expand Down Expand Up @@ -19978,7 +19942,7 @@ source-map-support@^0.5.13:
buffer-from "^1.0.0"
source-map "^0.6.0"

source-map-support@^0.5.6, source-map-support@~0.5.20:
source-map-support@^0.5.6, source-map-support@~0.5.12, source-map-support@~0.5.20:
version "0.5.21"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==
Expand Down Expand Up @@ -20889,7 +20853,16 @@ terser-webpack-plugin@^5.3.7:
serialize-javascript "^6.0.1"
terser "^5.16.8"

terser@^4.1.2, terser@^5.14.2, terser@^5.16.8, terser@^5.3.0, terser@^5.7.2:
terser@^4.1.2:
version "4.8.1"
resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.1.tgz#a00e5634562de2239fd404c649051bf6fc21144f"
integrity sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==
dependencies:
commander "^2.20.0"
source-map "~0.6.1"
source-map-support "~0.5.12"

terser@^5.16.8, terser@^5.3.0, terser@^5.7.2:
version "5.21.0"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.21.0.tgz#d2b27e92b5e56650bc83b6defa00a110f0b124b2"
integrity sha512-WtnFKrxu9kaoXuiZFSGrcAvvBqAdmKx0SFNmVNYdJamMu9yyN3I/QF0FbH4QcqJQ+y1CJnzxGIKH0cSj+FGYRw==
Expand Down

0 comments on commit cb54476

Please sign in to comment.