gristlabs_grist-core/app
Jakub Serafin 440d5b935a (core) Proxy Agent moved to the separate file, Triggers are using proxy now to perform fetch
Summary:
- Webhooks form Triggers.ts should now use proxy if it's configured
- Proxy handling code separated to ProxyAgent.ts
- Tests for ProxyAgent
- Integration/API Tests for using Proxy in webhooks
- a bit of refactor - proxy test uses mostly the same codebase as DocApi.ts, but because last one if over 4000 lines long, I've put it into separated file, and extract some common parts (there is some duplicates tho)
- some cleanup in files that I've touched

Test Plan:
Manual test to check if proxy is used on the staging env

Automatic test checking if (fake) proxy was called

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D3860
2023-05-08 11:54:09 +02:00
..
client (core) Remove a defunct URL constant and a product flavor. 2023-05-05 18:28:04 -04:00
common (core) Remove a defunct URL constant and a product flavor. 2023-05-05 18:28:04 -04:00
gen-server (core) Fix owner view access to snapshots 2023-04-17 00:16:59 -04:00
plugin Use relative imports only in plugin folder (#328) 2022-10-26 10:41:38 -04:00
server (core) Proxy Agent moved to the separate file, Triggers are using proxy now to perform fetch 2023-05-08 11:54:09 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00