gristlabs_grist-core/app/client
Jonathan Perret 96b652fb52
Support HTTP long polling as an alternative to WebSockets (#859)
The motivation for supporting an alternative to WebSockets is that while all browsers supported by Grist offer native WebSocket support, some networking environments do not allow WebSocket traffic.

Engine.IO is used as the underlying implementation of HTTP long polling. The Grist client will first attempt a regular WebSocket connection, using the same protocol and endpoints as before, but fall back to long polling using Engine.IO if the WebSocket connection fails.

Include these changes:
- CORS websocket requests are now rejected as a stronger security measure. This shouldn’t affect anything in practice; but previously it could be possible to make unauthenticated websocket requests from another origin.
- GRIST_HOST variable no longer affects CORS responses (also should not affect anything in practice, as it wasn't serving a useful purpose)
2024-03-28 13:22:20 -04:00
..
aclui (core) Trim unapplicable permissions bits for column rules, both at parse time, and in UI 2024-03-06 09:46:33 -05:00
components Support HTTP long polling as an alternative to WebSockets (#859) 2024-03-28 13:22:20 -04:00
lib (core) Forms Improvements 2024-03-21 13:01:25 -04:00
models (core) Forms Improvements 2024-03-21 13:01:25 -04:00
ui (core) updates from grist-core 2024-03-25 09:45:23 -04:00
ui2018 (core) Forms Improvements 2024-03-21 13:01:25 -04:00
widgets (core) Forms Improvements 2024-03-21 13:01:25 -04:00
apiconsole.ts (core) Add dark mode CSS for Swagger UI 2024-03-05 08:45:21 -05:00
app.css (core) Polish tutorial popups 2023-04-20 12:20:03 -04:00
app.js (core) Improve API Console and link from Document Settings. 2024-01-29 10:08:19 -05:00
billingMain.ts (core) Refactor forms implementation 2024-02-22 08:44:25 -05:00
boot.ts make a /boot/GRIST_BOOT_KEY page for diagnosing configuration problems (#850) 2024-03-04 16:22:47 -05:00
browserCheck.ts (core) On mobile, only show a warning for older and unknown browsers rather than for all 2023-06-01 11:15:21 -04:00
declarations.d.ts (core) Reference and ReferenceList should trigger RightMenu to show up on Column tab and display reference toolitp, if it wasn't dismissed yet 2024-02-13 16:59:59 +01:00
DefaultHooks.ts add hooks for tweaking how downloads happen (for grist-static) (#665) 2023-09-09 14:50:32 -04:00
errorMain.ts (core) Refactor forms implementation 2024-02-22 08:44:25 -05:00
exposeModulesForTests.js (core) Improve API Console and link from Document Settings. 2024-01-29 10:08:19 -05:00
formMain.ts (core) Refactor forms implementation 2024-02-22 08:44:25 -05:00
Hooks.ts support other SQLite wrappers, and various hooks needed by grist-static (#516) 2023-05-23 15:17:28 -04:00
logo.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
tsconfig.json (core) Migrate to SRP and add change password dialog 2022-03-16 21:35:06 -07:00