gristlabs_grist-core/app/common
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
..
ACLPermissions.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
ACLRuleCollection.ts
ActionBundle.ts
ActionDispatcher.ts
ActionGroup.ts (core) do not look at content of recent actions when loading documents 2021-09-29 11:27:02 -04:00
ActionRouter.ts
ActionSummary.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
ActiveDocAPI.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
ApiError.ts
arrayToString.ts
AsyncCreate.ts (core) add a python3 button 2021-09-16 10:06:04 -04:00
AsyncFlow.ts
BaseAPI.ts
BasketClientAPI.ts
BigInt.ts
BillingAPI.ts (core) add tests for site deletion 2021-09-14 10:03:18 -04:00
BinaryIndexedTree.js
BrowserSettings.ts (core) Simple localization support and currency selector. 2021-08-26 13:36:49 -07:00
ColumnFilterFunc.ts (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
ColumnGetters.ts
csvFormat.ts
declarations.d.ts (core) Extending default locale list 2021-09-24 15:10:13 +02:00
delay.ts
DisposableWithEvents.ts
DocActions.ts (core) Add /columns endpoint to DocApi 2021-08-17 23:20:52 +02:00
DocData.ts (core) Initial webhooks implementation 2021-09-23 14:35:39 +02:00
DocListAPI.ts (core) do not look at content of recent actions when loading documents 2021-09-29 11:27:02 -04:00
DocSnapshot.ts
DocumentSettings.ts (core) add a python3 button 2021-09-16 10:06:04 -04:00
emails.ts
EncActionBundle.ts
ErrorWithCode.ts
Features.ts
FilterState.ts (core) Download as CSV button on sections 2021-05-27 15:48:12 +02:00
Formula.ts
GranularAccessClause.ts (core) Add 'user' variable to trigger formulas 2021-07-15 15:18:32 -07:00
GristServerAPI.ts (core) Remove a bunch of dead code 2021-07-01 18:38:21 +02:00
gristTypes.ts (core) Suggest correct table when converting to RefList 2021-08-20 23:04:48 +02:00
gristUrls.ts (core) Implement DiscourseConnect to enable easy sign-in to community forum 2021-10-01 11:24:22 -04:00
gutil.ts (core) Extending default locale list 2021-09-24 15:10:13 +02:00
InactivityTimer.ts
KeyedMutex.ts
KeyedOps.ts
LocaleCodes.ts (core) Extending default locale list 2021-09-24 15:10:13 +02:00
Locales.ts (core) Extending default locale list 2021-09-24 15:10:13 +02:00
LoginSessionAPI.ts
LoginState.ts
marshal.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
MemBuffer.js
NumberFormat.ts (core) Simple localization support and currency selector. 2021-08-26 13:36:49 -07:00
orgNameUtils.ts (core) Subdomain can start from a number 2021-09-01 18:16:57 +02:00
parseDate.ts (core) Improve time-parsing for DateTime columns, which was unusable with some formats (e.g. tz-containing ones) 2021-09-21 10:02:59 -04:00
plugin.ts
PluginInstance.ts
Prefs.ts (core) Enable auto triggering of Welcome Tour, and various improvements. 2021-07-30 14:17:54 -04:00
RefCountMap.ts
resetOrg.ts
roles.ts
RowFilterFunc.ts (core) Download as CSV button on sections 2021-05-27 15:48:12 +02:00
schema.ts (core) open documents without blocking on data engine 2021-10-01 10:18:56 -04:00
sharing.ts
SortFunc.ts
StringUnion.ts
TableData.ts (core) Support 'new' row in anchor links. 2021-09-24 09:01:10 -04:00
TabularDiff.ts
tbind.ts
TestState.ts
timeFormat.ts
tpromisified.ts
tsconfig.json
tsvFormat.ts
UIRowId.ts (core) Support 'new' row in anchor links. 2021-09-24 09:01:10 -04:00
uploads.ts (core) Extending Google Drive integration scope 2021-10-01 10:47:12 +02:00
urlUtils.ts
UserAPI.ts (core) treat summary tables like formulas for access control purposes 2021-09-16 18:44:50 -04:00
UserConfig.ts (core) Remove REPL code 2021-07-20 15:17:03 +02:00
ValueFormatter.ts (core) Simple localization support and currency selector. 2021-08-26 13:36:49 -07:00