- Notifications
You must be signed in to change notification settings - Fork97
Comparing changes
Open a pull request
base repository:stackblitz/tutorialkit
Uh oh!
There was an error while loading.Please reload this page.
base:main
head repository:stackblitz/tutorialkit
Uh oh!
There was an error while loading.Please reload this page.
compare:ronith/hide-toggle-terminal-button
Uh oh!
There was an error while loading.Please reload this page.
- 8commits
- 3files changed
- 3contributors
Commits on Oct 13, 2024
feat(terminal): restrict default allowed commands to 'ls' and 'echo'
Change the default value of `terminal.allowCommands` from an empty array to `['ls', 'echo']`. This change prevents users from running all available commands by default in tutorials, enhancing security and focus. Lesson authors can still allow all commands by specifying `terminal.allowCommands: []` in the metadata.BREAKING CHANGE: The default value of `terminal.allowCommands` is now restricted to `['ls', 'echo']`. To allow all commands, explicitly set `terminal.allowCommands: []` in the metadata.Closes#302
Commits on Oct 31, 2024
test(terminal): update tests to align with default command behavior
adjust tests to expect ['ls', 'echo'] as default allowCommands when undefined, aligning tests with updated functionalitycloses#302
Commits on Nov 1, 2024
Commits on Nov 5, 2024
Update packages/runtime/src/webcontainer/terminal-config.spec.ts
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Update packages/runtime/src/webcontainer/terminal-config.ts
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Commits on Jan 15, 2025
feat(terminal): restrict default allowed commands to 'ls' and 'echo'
Change the default value of `terminal.allowCommands` from an empty array to `['ls', 'echo']`. This update enhances security and focus by limiting the commands available in tutorials by default.Lesson authors can still enable all commands by setting `terminal.allowCommands: []` explicitly in the metadata.BREAKING CHANGE: The default value of `terminal.allowCommands` is now restricted to `['ls', 'echo']`. To allow all commands, explicitly set `terminal.allowCommands: []` in the metadata.Closes#372
Commits on Jan 16, 2025
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff main...ronith/hide-toggle-terminal-button
Uh oh!
There was an error while loading.Please reload this page.