Commit Graph

89 Commits

Author SHA1 Message Date
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
Gregory Schier
945ff0e631 Unify build config in one place 2019-09-17 17:02:42 -07:00
CodyDWJones
d2d29bd1e1 Add Audience parameter for Resource Owner Password Credentials (#1677) 2019-09-17 11:59:59 -07:00
Gregory Schier
a83596299a
Fix Response Tag infinite recursion (#1502)
* Improvements to Response tag recursion and rendering (Fixes #1500)

* Add tests for response tag dependency sending
2019-05-15 16:01:36 -04:00
Gregory Schier
d29db04b33 Keep OAuth 2.0 refresh token if a new one is not returned (Fixes #1492) 2019-05-09 21:44:22 -04:00
Gregory Schier
17f3c1491b Print timestamp at the start of response Timeline 2019-05-09 13:38:36 -04:00
Gregory Schier
d8066bc558 Add ability for plugins to add folder actions (#774) 2019-05-04 16:34:52 -04:00
Gregory Schier
4b41c8c360 New render purpose for request/response hooks (Fixes #1341) 2019-05-03 10:53:18 -04:00
Gregory Schier
dce5f320c3 Refactor settings and store timeline separately 2019-04-27 01:46:10 -07:00
Gregory Schier
300ede1ff9 Merge branch 'develop' of github.com:getinsomnia/insomnia into pull/1396 2019-04-18 10:23:15 -07:00
Dario Nieuwenhuis
6b24456835 Add support for extracting id_token from oauth2 implicit flow redirect. (#1408) 2019-04-17 18:14:40 -07:00
Ryan Plessner
d22e05ac34 Add ability to optionally use Hawk payload validation. (#1339)
* Add ability to optionally use Hawk payload validation.

* Simplify signature of 'getAuthHeader'
2019-03-11 17:52:48 -04:00
Rafael Renan Pacheco
8112f5d625 Fetch new access and refresh tokens when refresh fails (#1338)
* Fetch new access and refresh tokens when refresh fails

* Fix typo
2019-01-21 11:38:44 -05:00
Gregory Schier
eee0bfe023 Fix tests 2018-12-14 13:34:48 -05:00
Gregory Schier
5825327c27 Ensure TIMEOUT_MS is positive (Fixes #1264) 2018-12-14 13:26:10 -05:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
Ryan Plessner
2aca070e51 Add Hawk Ext feature (#1266) 2018-11-17 18:04:03 -08:00
Daniel O'Loughlin
37ccd12af4 Closes 1225 (#1230)
* Updated all references to use the getDataDirectory function from misc so that an environment variable can be set for the data directory.

* Did some minor code formatting cleanup

* Got rid of some unused vars

* More unused var cleanup
2018-11-05 22:39:50 -04:00
Gregory Schier
99de4725fa prettier entire project 2018-10-17 12:42:33 -04:00
Gregory Schier
2446ac800d Start storing timestamps on timeline entries (Related #618) 2018-10-11 13:12:31 -04:00
Devin Carr
9413481b2e Add resource param to client credential oauth grant. (#1174)
Addresses #716
2018-09-26 19:03:40 -04:00
Gregory Schier
7af8514e42 Fix AWS signature with content-type (Closes #1089) 2018-08-01 11:28:11 -07:00
Gregory Schier
26e9b646bd
Add ability to debug OAuth 2.0 token fetch responses (#1024)
* Show OAuth 2.0 responses when failed

* Implemented for the rest of the grant types
2018-07-01 13:18:18 -07:00
Gregory Schier
ebbb8d5247 Handle missing content-type header with AWS auth (Fixes #910) 2018-06-30 15:55:36 -04:00
Drew Delianides
3b58c994f8 add audience param to implicit oauth grant closes #1008 (#1009) 2018-06-26 08:31:37 -07:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Gregory Schier
b11f5a5c69
Plugin Storage API (#981)
* Add plugin storage API

* Add tests
2018-06-08 20:22:39 -07:00