gristlabs_grist-core/app/server/lib
Dmitry S 1517dca644 (core) Implement DiscourseConnect to enable easy sign-in to community forum
Summary:
- Update cookie module, to support modern sameSite settings
- Add a new cookie, grist_sid_status with less-sensitive value, to let less-trusted subdomains know if user is signed in
- The new cookie is kept in-sync with the session cookie.
- For a user signed in once, allow auto-signin is appropriate.
- For a user signed in with multiple accounts, show a page to select which account to use.
- Move css stylings for rendering users to a separate module.

Test Plan: Added a test case with a simulated Discourse page to test redirects and account-selection page.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3047
2021-10-01 11:24:22 -04:00
..
ACLFormula.ts
ActionHistory.ts (core) do not look at content of recent actions when loading documents 2021-09-29 11:27:02 -04:00
ActionHistoryImpl.ts (core) do not look at content of recent actions when loading documents 2021-09-29 11:27:02 -04:00
ActionSummary.ts
ActiveDoc.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
ActiveDocImport.ts
AppEndpoint.ts
Authorizer.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
BrowserSession.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
checksumFile.ts
Client.ts
Comm.js
dbUtils.ts
DiscourseConnect.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
DocApi.ts
DocClients.ts
DocManager.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
DocPluginData.ts
DocPluginManager.ts
DocSession.ts
DocSnapshots.ts
DocStorage.ts
DocStorageManager.ts
docUtils.d.ts
docUtils.js
DocWorker.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
DocWorkerMap.ts
ExcelFormatter.ts
ExpandedQuery.ts
Export.ts
ExportCSV.ts
ExportXLSX.ts
expressWrap.ts
ExternalStorage.ts
extractOrg.ts
FileParserElement.ts
filterUtils.ts
FlexServer.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
GoogleAuth.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
GoogleExport.ts
GoogleImport.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
GranularAccess.ts
GristServer.ts (core) add a tool for deleting a user 2021-09-29 12:08:23 -04:00
gristSessions.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
guessExt.ts
HashUtil.ts
HostedMetadataManager.ts
HostedStorageManager.ts
IBilling.ts
IChecksumStore.ts
ICreate.ts
IDocStorageManager.ts
idUtils.ts
IElectionStore.ts
initialDocSql.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
INotifier.ts (core) add a tool for deleting a user 2021-09-29 12:08:23 -04:00
ISandbox.ts
IShell.ts
ITestingHooks-ti.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
ITestingHooks.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
log.ts
manifest.ts
MinimalLogin.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
NSandbox.ts
OnDemandActions.ts
PermissionInfo.ts
Permit.ts
places.ts
PluginEndpoint.ts
PluginManager.ts
reportTimeTaken.ts
requestUtils.ts
RowAccess.ts
SafePythonComponent.ts
SamlConfig.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
sandboxUtil.js
sendAppPage.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
ServerColumnGetters.ts
ServerLocale.ts
serverUtils.ts
Sessions.ts
Sharing.ts (core) do not look at content of recent actions when loading documents 2021-09-29 11:27:02 -04:00
shortDesc.ts
shutdown.js
SQLiteDB.ts
TableMetadataLoader.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
TagChecker.ts
TestingHooks.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
Throttle.ts
TimeQuery.ts
Triggers.ts
UnsafeNodeComponent.ts
uploads.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
WorkCoordinator.ts