David Marby
13a45ff621
Fix the ca certs import ( #3404 )
2021-05-20 10:16:55 +12:00
Dimitri Mitropoulos
2dc4299e39
fix node-libcurl imports ( #3384 )
...
* fix node-libcurl imports
* removes unnecessary function wrapper
and anyway, `number` is not the correct type (which is what motivated this change in the first place), `CurlFeature` is.
* updates type for setOpt
see https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgOIBs4GcvIN4BQyxyWwAXhAFzIDkWAtnOurcgD50MQAmwArgzadamKAHMItANwEAvgQKhIsRCgDCAe00BrYCkIlkYAJ4AHanSz9xcKMLoIAFpoSbMkdU+BmZ8xQD0AcjK0PBIyJoAbtDomnA8WErgYWrIAIIIYMCaIPhEJBBwYACMABSaZtm5NLQAssDoOrQANMjimDg0GNhYAJQ0UZrAPLJGRaUVVTkgtVq6+lityG4LlvN6EAPIQyOyCgRuIFhgyIjVsxlZM8gAvPnjxeWVF208xXB9+MhByGZQmgARugIAwaKYLCFcCBNKdQDBoFBeGcQDxkABJZBOOAxZAw5AAdzgJmMmmM5hQwFOsKc0AJwCwEAKRmIRyw7ggADo4uIyrRzjNORMSss8JFprk3h9kHI+syZf5DrkTshhQB1KBwMwWKA0TIXADatGFtAAundkFNXsh3mBPncAHzfX7-IEgsHkyEMvGwkIgBFQJFouCojFYnEofFEklgMkQynUsC0qD0xnytkc7maXnGp6i8XW21wGV9MaFJ4arU6q0zKV20uKgi-JHifhiZAwfgga65SIxKBxBJJTvdi6q4oAJhrNToDSayw6vW6nX6g2GowII57eQmU5eMzm2k2Szaq02NA2+m2uw3W7Hu+nIDr9rFLoBwNB4IpUJ9cP9iOREM0UxbFcSjYlSU9BNIiTOkGRQMpvQAAxDEwkOMWlIhAdASX3XIAH5iHSZAuxuBkQFoU43EDCAslVKlk05OUjAzEEsxzFs2zsDsu23fM8KfG1pVlRU2VOXdK21aAvwsTQYHHMAJwtR9ny+W4nVfYJXQ-D14x-GE-wDIMUWA8MwLJaNIL0qkYOTVMmRY5VMx5Pld2QSSdVoBtHkUlShPrfZAmCWDGUJTQoB0NpsFVAAPCwsl4KgmyCFLUrS9KMsyrKUoIAVciFJ4+TnZo2jFMhKFqRhmFYEtZHVTUpKgIrGhK75yssegmBYNhZTqydmvnUrSAoDqqu62qCAkhrq3qFr83ayqupq3rFDykACsmWhLwgE9vnjWpnFcdxiggLwfB6uV6qraA+W23axX2xwXDcDxTu8XwS0m-qtqPRZ80e2hDpek6zo+kSpuupqfrWe6oIO57js8d6LqCjCdpQAAqHgyQMjGwoiqLcAgOLaMgHgkuyymqepoJkuQAABMAsAAWmJ+KwFZwNwuQQEEg7YAoBVOxW24cBcu3DbymhzZ-opeGjte0GUd+RmWbZ0nOYBKAeb5mABaFiRBAgMWrsa27fqkIaAaBxG3vOz6VaZ1mSayTXud5tE9cF05haNk3vu22WLHl4GkftkTHbVl2OcRd3df1n3DdFsAvsUjybul-Qg46m3FeRz66dV532bd7WPdIWjcmDJPjZTtbJfNmHs5D23meccO5Uj4uNdjsu+cZI5q5F2vU5KdOobu5unoVk62-ziPgiL9XXd7nW0QHquzhr-3fMznap8BhHXrnjvC6d5eY65vv18r0NfeT1OJ3HxvjwP3PZ-bsG5SAA
to see why `any` is required, for now (at least)
* updates the getBodyBuffer parse calls now that the types are working
* return to prior approach, this time with a warning
2021-05-17 09:59:43 -04:00
Dimitri Mitropoulos
5f4c19da35
[TypeScript] Phase 1 & 2 ( #3370 )
...
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00
Sayooj Sojen
351afde43f
Expose identity token for oauth2 ( #3211 )
2021-04-05 13:03:34 -04:00
David Marby
e1812efdb3
Add initial segment events ( #3121 )
2021-02-26 20:57:19 +01:00
David Marby
1e9868152c
Generate the bundled ssl trust store at compile time ( #3030 )
2021-01-28 11:46:19 +01:00
Opender Singh
b135a2c637
Prevent deletes and validate proto files when uploading a directory ( #3024 )
2021-01-28 11:00:43 +13:00
Opender Singh
42ab4e4465
Multi proto file support ( #3006 )
2021-01-25 15:50:53 +13:00
Opender Singh
f27cd5f630
Support template tags with gRPC ( #2926 )
2020-12-18 00:38:21 +13:00
David Marby
cad2ebc932
Merge branch 'release/2020.5.2' into develop
2020-12-09 19:40:16 +01:00
David Marby
5bedc0ffad
Add additional metrics to the notification call ( #2921 )
2020-12-09 17:39:53 +01:00
Opender Singh
27987201ad
gRPC URL bar improvements - streaming type & package groups ( #2883 )
2020-12-09 17:42:50 +13:00
Opender Singh
ef2fc3baec
Validate protofile during upload ( #2864 )
...
* feat(insomnia-components): add async-button
* feat: show error if parsing protofile fails during upload/add
* chore: flow is poop
* feat: use try-finally
2020-11-25 10:02:28 +13:00
Opender Singh
0b58a748af
Support for server and bidi streaming ( #2814 )
2020-11-17 11:59:02 +13:00
Opender Singh
5c1885a540
Support reuploading a proto file ( #2832 )
2020-11-17 11:01:50 +13:00
Opender Singh
8f8acf83f2
Allow changing the protofile for a request ( #2828 )
2020-11-13 12:03:36 +13:00
Opender Singh
6f3c41659f
Add TLS/SSL support ( #2827 )
2020-11-12 12:42:52 +13:00
Opender Singh
f858b6625d
gRPC state management ( #2813 )
2020-11-12 11:44:03 +13:00
Opender Singh
d18ba8e6d8
Support for gRPC Unary and Client streaming ( #2809 )
2020-11-10 13:30:27 +13:00
Ben Scholzen
294777b0ed
Add PKCE support ( #2652 )
...
* Add PKCE support
* Fix failing unit test and add new test for PKCE
* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js
Co-authored-by: Opender Singh <opender94@gmail.com>
* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js
Co-authored-by: Opender Singh <opender94@gmail.com>
* Fix prettier report
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-20 20:58:16 +13:00
karolineKarkoschDrKlein
984881c0cb
Don't clear oAuth2 session on restart ( #2701 )
...
* Don't clear oAuth2 session on restart
Offer button to user where it can be cleared without restart
* PR improvements
* remove accidental newline
* PR improvements 2
* cleanup
* capitalize insomnia
2020-10-10 09:33:21 +13:00
Selamanse
03d83a8f52
Cancel the active request instead of the most recent request ( #2696 )
...
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-09 06:17:37 +13:00
Julien Giovaresco
64c7b429aa
Expose network context to requestHook & responseHook scopes ( #2662 )
...
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-29 15:10:51 +13:00
Julien Giovaresco
9d4390de2f
Introduce a checkbox in Basic Auth form to choose ISO-8859-1 encoding for credentials. ( #2642 )
...
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-25 08:58:28 +12:00
Joe Flint
f10b36d335
Handle server-side OAuth2 redirects to non-existent protocols ( #2557 )
...
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-09-15 17:01:57 +12:00
Gregory Schier
93c91ebdbe
Upgrade Electron ( #2403 )
...
* Upgrade Electron to 8, bump Node version, fix font-manager
* Specify nodeIntegration as true
* Get <webview> working again
* Get <webview> working again
* Electron 9.0
* Escape parens in plugin install exec path (newer Electron added them)
* Bump versions for first alpha
* Electron 9.1
* Convert all Electron APIs that switched from callback to Promise
* Fix send-and-download feature
* Remove user-agent override hack for OAuth 2 login window
* Bump alpha version
* Fix issue regarding chokidar
* Add package-lock.json
* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents
* Fix source maps
* Read .nvmrc in GitHub actions
* Address remaining PR feedback
2020-07-27 22:18:26 -07:00
Gregory Schier
45861b6393
POC to get Insomnia networking available outside of app ( #2329 )
...
* Hacked insomnia lib package to get Insomnia's networking in tests
* Some small tweaks
* Got it mostly working
* Tweak
* Fix
* Fix pkg
* Fix some things
* Add comment
* Comment out log
* Some tweaks after doing a self code review
* Fix test
* Update app name for `insomnia-send-request`
* Update package-lock
* Update package-locks
* Fix tests
* Add gitignore
* Fix tests hopefully
* Fix accidental dep deletions
* Fix tests again
* Mock for all tests
* Update tests again
* Don't compile for Electron for tests
* Update release scripts to disable tests
2020-06-30 12:36:15 -07:00
Gregory Schier
53c21fba37
Add ability to specify HTTP version ( #2276 )
...
* Add ability to specify HTTP version (Closes #2245 )
* Fix default HTTP version
* Format w/ Prettier
2020-06-10 11:15:56 -07:00
Gregory Schier
4387381fd1
Upgrade node-libcurl ( #2223 )
...
* deps: bump node-libcurl to latest prerelease version
* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild
* Minor tweaks
* package locks
* Bump version
* Switch to font-manager and fix fsevents rimraf
* Try generating npmrc inside build/
* Try uninstall of fsevents instead
* Bump
* Try npm env vars
* Extra .npmrc
* Try npm env vars in all CI
* Fix insomnia-cookies dependencies
* Fix typo
* Loosen nvmrc version
* Remove npm uninstalls
* Build outside of Docker
* Remove Docker, build all on GH Actions
* Bump Core version
* Disable Snapcraft for now
* Bump
* Disable snap for Designer too
* Update product name for Core
* Update test.yml
* Remove Travis file
* Make userData folder explicit and add Curl types
* Remove old Kong icon
* Remove curl.js adapter
* Revert productName
* Fix release date
* Try remove windows build tools from CI
* Add comment about Snap deploys
* Remove the pane border on Windows (no longer necessary)
Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
2020-05-28 10:09:51 -07:00
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier ( #2166 )
2020-05-15 10:54:07 +12:00
Gregory Schier
58fed78d06
Flatten insomnia-libcurl package ( #2081 )
...
* Remove unnecessary insomnia-libcurl package to flatter installation dirs
* Remove empty test folder
* Fix inlc mock
2020-04-29 12:59:46 -07:00
Gregory Schier
c6a7c4d682
Initial designer merge
2020-04-26 13:33:39 -07:00
Gregory Schier
7bc219422e
Update Babel and ESLint and fix all related errors ( #2032 )
...
* Update Babel and ESLint and fix all related errors
* Update babel-jest
2020-04-09 10:32:19 -07:00
Gregory Schier
e35b54a533
Fix Content-Type: true on multiline forms ( Fixes #1920 )
2020-02-11 14:32:43 -05:00
Gregory Schier
4033f0d3b7
Fix tests
2020-02-11 14:24:52 -05:00
Gregory Schier
de2fc0ba42
Scope responses to active environment ( #1905 )
...
* Scope responses to active environment
* Update response history to support scoped envs
2020-01-22 14:23:19 -05:00
Gregory Schier
6200c9e8c7
Add workspace action plugins and expose context.data helpers ( #1901 )
2020-01-20 13:07:07 -05:00
Gregory Schier
986c02914c
Add option to include OAuth 1.0 body hash ( Closes #1854 )
2019-12-18 16:49:39 -05:00
Gregory Schier
851e142136
Rename getinsomnia > kong
2019-12-17 12:16:08 -05:00
Gregory Schier
f4790965e3
Catch errors when reading multipart files ( Fixes #1665 )
2019-12-13 18:54:34 -05:00
Gregory Schier
dbd7cbe059
Fix Flow error
2019-12-12 16:06:21 -05:00
Gregory Schier
ac75e3b8cc
Add ability for no OAuth 2 Authorization prefix ( Closes #1087 )
2019-12-12 15:57:39 -05:00
Gregory Schier
6efe7d17ca
Only set OAuth user-agent for GitHub ( Fixes #1816 )
2019-11-28 13:27:31 -05:00
Henning Verbeek
be171407bf
Adds a contentType header to body parts of multipart/form-data payload ( #1813 )
...
It uses the `multiline` parameter as chosen by the user.
2019-11-27 09:59:04 -05:00
Gregory Schier
60c623f0a4
Force newer user-agent for OAuth 2.0 login flow ( Fixes #1774 )
2019-11-26 15:41:27 -05:00
Gregory Schier
bb0b5df096
Fix key-value-editor jumping
2019-11-25 17:48:30 -05:00
Duncan Brown
83be4a9714
Add audience and resource field for OAuth2 Authorization Code grant ( #1768 )
...
* add audience to grant authorization code
* add resource to grant authorization code
* fixed audience and resource for code grant
2019-11-22 12:48:34 -05:00
Nilay Majorwar
ad278ea01a
[Feature] Added request-specific followRedirects setting ( #1737 )
...
* Added request-specific follow redirect setting
* Added hint text to follow redirects setting
2019-10-31 12:02:03 -04:00
Adam Lavin
c88eb129b9
Fetch new access tokens if refreshing token returns "invalid_grant" ( #1729 )
2019-10-31 11:58:58 -04:00
Gregory Schier
1817534025
Merge branch 'master' of github.com:getinsomnia/insomnia into develop
2019-10-07 11:55:23 -07:00