* add sign in with github
* fix authentication url not being reset
* Add error handling for graphql query results
* move desctructuring to function arguments
* remove unused input prop
* Respect INSOMNIA_DATA_PATH for electron data regardless of environment
* fix lint error and update uuid usage
Co-authored-by: David Marby <david@dmarby.se>
* bump node, electron, libcurl
* bump electron-builder
* stub performance, because inso imports react
* bump @types/node
* match up builder versions
* Disable consent prompts for oidc server
* bump electron and libcurl to latest
* waitForCookies for oauth tests
* Bump NodeJS to 16.13.0
* removes node 14 hack for BufferEncoding
* Replace oidc-provider html interaction pages with a simple html form
* make document cookie wait explicit
Co-authored-by: David Marby <david@dmarby.se>
* Move basic auth routes to a separate file
* Stop slowing requests down artificially
* Add initial oauth routes
* Mount oidc routes under /oidc
* Enable all forms of oauth that Insomnia supports
* Add oauth request collection fixture
* Update playwright config
* Use 127.0.0.1 instead of localhost
* simple oauth2 test
* Make the playwright extension work
* Move oauth tests to a separate file
* Test all oauth flows
* Mark test as slow
* Wait for load state for new pages
* Use locators consistently
* Add playwright to recommended extensions
* Add instructions for how to use the playwright extension
* update selectors and use fill
* Fix markdown lint
Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
* add /cookies endpoint to smoke test mock server
* add smoke test steps for /cookies endpoint
* Update packages/insomnia-smoke-test/tests/app.test.ts
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
* no default export (prepping for hooks)
* makes logic match other implementation
note that above in `componentDidUpdate` it uses `<= 0`, whereas here it uses `> 0` but then only checks for false.
Also, logically, there's no way to ever get `aria-hidden="true"` since it returns early so that entire attribute can just be removed.
* removes fake private class member syntax
this is moving to hooks anyway, but in the meantime...
* undoes calling identical code twice in a row...
* condenses class methods to prepare for hooks
* hooks refactor
fairly faithful to the original, this attempts to just refactor to hooks. this exposes, again, the fact that we're setting state within useEffect.
* removes 200 ms offset for response time
so that, now, you know, the time reported is the actual time.
* adds logging for response timer lage
* removes timer logging and `responseTime` prop after PR discussion
it's definitely fruitful, but the fix for the callstack exceeded is what needs to be the focus.
* removes shadowed variable per PR feedback
* reinstates and documents 200ms compensation
* add delay endpoint to example server
* Update packages/insomnia-app/app/ui/components/response-timer.tsx
Co-authored-by: Opender Singh <opender.singh@konghq.com>
* Add test
* WIP
* Passes
* Update
* Done
* Update
* Fix
* Remove id
* Works
* Run more tests
* Hmm
* await
* mostly works
* i sure hope this works in CI because it worked 40 times on my computer...
* add comments
* feat: replace tinyhttp with express and add basic auth route
* fix: response content-type header
* feat: works
* feat: this should work
* fix: slow down all requests
* fix: force refresh
* test: wait for timeline viewer to contain text after clicking it
* remove: delete oas3.yaml spec as it is redundant for now