1
0
mirror of https://github.com/gristlabs/grist-core.git synced 2024-10-27 20:44:07 +00:00
gristlabs_grist-core/app/client/ui
Paul Fitzpatrick 134ae99e9a (core) add gvisor-based sandboxing to core
Summary:
This adds support for gvisor sandboxing in core. When Grist is run outside of a container, regular gvisor can be used (if on linux), and will run in rootless mode. When Grist is run inside a container, docker's default policy is insufficient for running gvisor, so a fork of gvisor is used that has less defence-in-depth but can run without privileges.

Sandboxing is automatically turned on in the Grist core container. It is not turned on automatically when built from source, since it is operating-system dependent.

This diff may break a complex method of testing Grist with gvisor on macs that I may have been the only person using. If anyone complains I'll find time on a mac to fix it :)

This diff includes a small "easter egg" to force document loads, primarily intended for developer use.

Test Plan: existing tests pass; checked that core and saas docker builds function

Reviewers: alexmojaki

Reviewed By: alexmojaki

Subscribers: alexmojaki

Differential Revision: https://phab.getgrist.com/D3333
2022-03-24 17:04:49 -04:00
..
AccountPage.ts (core) Migrate to SRP and add change password dialog 2022-03-16 21:35:06 -07:00
AccountWidget.ts (core) make Grist easier to run with a single server 2022-03-05 13:30:45 -05:00
AddNewButton.ts
ApiKey.ts (core) Hide API key when it's not selected 2022-02-21 17:26:45 -08:00
App.css
App.ts (core) Shortcuts help page can be scrolled using a keyboard 2022-03-02 11:43:05 +01:00
AppHeader.ts (core) make Grist easier to run with a single server 2022-03-05 13:30:45 -05:00
AppUI.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
BillingForm.ts
BillingPage.ts
BillingPageCss.ts
BillingPlanManagers.ts
BottomBar.ts
buttons.ts
CellContextMenu.ts (core) Adds cell context menu 2022-02-07 15:46:17 +01:00
CodeHighlight.ts
ColumnFilterMenu.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
contextMenu.ts (core) Show default context menu on link 2022-02-18 10:09:36 +01:00
CustomSectionConfig.ts (core) Custom Widget column mapping feature. 2022-02-08 17:41:04 +01:00
CustomThemes.ts
DocHistory.ts
DocMenu.ts (core) Replace questionnaire for new users with a popup asking for just their primary use-case. 2022-01-14 10:16:11 -05:00
DocMenuCss.ts (core) New UI for raw data views 2022-03-12 13:51:48 +01:00
DocTour.ts (core) Use auto popup placement for DocTour on mobile 2021-12-16 16:06:15 +02:00
DocumentSettings.ts (core) add gvisor-based sandboxing to core 2022-03-24 17:04:49 -04:00
errorPages.ts (core) Add new Grist sign-up page 2022-02-14 10:32:47 -08:00
ExampleCard.ts
ExampleInfo.ts
FieldConfig.ts (core) Conditional formatting rules 2022-03-23 13:15:02 +01:00
FieldMenus.ts (core) Initial data tables page 2022-02-10 12:46:19 +02:00
FileDialog.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
FilterBar.ts (core) Allow filtering hidden columns 2021-11-22 10:26:08 -08:00
forms.ts
googleAuth.ts
GridOptions.ts
GridViewMenus.ts (core) Initial data tables page 2022-02-10 12:46:19 +02:00
HomeImports.ts
HomeIntro.ts
HomeLeftPane.ts
LeftPanelCommon.ts (core) Add button for removing doc tours 2022-01-05 08:19:46 -08:00
MakeCopyMenu.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
MenuToggle.ts
modals.ts
mouseDrag.ts
MultiSelector.ts
NotifyUI.ts (core) Update HelpScout beacon to work with embedded documentation articles. 2021-12-09 22:22:55 -05:00
OnBoardingPopups.ts (core) Fix bugs when both welcomeTour and docTour are available 2022-03-22 16:51:05 -04:00
PagePanels.ts
Pages.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
PageWidgetPicker.ts
PinnedDocs.ts
resizeHandle.ts
RightPanel.ts (core) Conditional formatting rules 2022-03-23 13:15:02 +01:00
RowContextMenu.ts (core) Adds cell context menu 2022-02-07 15:46:17 +01:00
selectBy.ts (core) Undo bug with summary table and raw data view 2022-03-24 20:03:33 +01:00
sendToDrive.ts
setupPage.ts (core) Enable MFA configuration (and add SMS) 2022-01-19 13:55:54 -08:00
shadowScroll.ts
ShareMenu.ts
SiteSwitcher.ts (core) make Grist easier to run with a single server 2022-03-05 13:30:45 -05:00
TemplateDocs.ts
Tools.ts (core) Fix bugs when both welcomeTour and docTour are available 2022-03-22 16:51:05 -04:00
tooltips.ts
TopBar.ts
TopBarCss.ts
transientInput.ts
transitions.ts
TreeViewComponent.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
TreeViewComponentCss.ts
TriggerFormulas.ts
UserImage.ts
UserItem.ts
UserManager.ts
ViewLayoutMenu.ts (core) Initial data tables page 2022-02-10 12:46:19 +02:00
viewport.ts
ViewSectionMenu.ts (core) Initial data tables page 2022-02-10 12:46:19 +02:00
VisibleFieldsConfig.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
WelcomePage.ts (core) Remove code for unused welcome flows 2022-02-28 13:21:28 -08:00
WelcomeQuestions.ts (core) Remove code for unused welcome flows 2022-02-28 13:21:28 -08:00
welcomeTour.ts (core) Fix bugs when both welcomeTour and docTour are available 2022-03-22 16:51:05 -04:00
widgetTypes.ts