Commit Graph

56 Commits

Author SHA1 Message Date
Gregory Schier
c2b4b373b9
Try importing Swagger even if validation fails (Fixes #1354) (#1462) 2019-04-25 21:27:01 -07:00
Gregory Schier
cb92f16848 Upgrade electron-builder 2019-04-19 14:30:53 -07:00
Gregory Schier
9c27b675e0 Ensure dependency properties 2019-04-19 13:26:21 -07:00
Gregory Schier
74d5de69a1 Publish
- insomnia-app@1.1.2
 - insomnia-cookies@0.0.15
 - insomnia-httpsnippet@1.16.21
 - insomnia-importers@2.0.16
 - insomnia-libcurl@0.0.26
 - insomnia-prettify@0.1.10
 - insomnia-url@0.1.9
 - insomnia-xpath@1.0.12
 - insomnia-plugin-base64@1.0.9
 - insomnia-plugin-cookie-jar@1.0.11
 - insomnia-plugin-core-themes@1.0.8
 - insomnia-plugin-default-headers@1.1.10
 - insomnia-plugin-file@1.0.10
 - insomnia-plugin-hash@1.0.10
 - insomnia-plugin-jsonpath@1.0.15
 - insomnia-plugin-now@1.0.14
 - insomnia-plugin-os@1.0.16
 - insomnia-plugin-prompt@1.1.12
 - insomnia-plugin-request@1.0.21
 - insomnia-plugin-response@1.0.19
 - insomnia-plugin-uuid@1.0.13
2019-04-18 15:47:32 -07:00
Gregory Schier
300ede1ff9 Merge branch 'develop' of github.com:getinsomnia/insomnia into pull/1396 2019-04-18 10:23:15 -07:00
Gregory Schier
9208505bd9 Choose between YAML and JSON during export 2019-04-17 21:21:29 -07:00
Gregory Schier
272c2d4004 package-lock 2019-04-17 20:52:05 -07:00
Behrooz Shabani
86860e455b making exports git friendly (#1409)
As YAML supports multi line content, each line of requests' body will
appear in separate line when exported. Hence, making the exports git
friendly.
2019-04-17 20:50:23 -07:00
Gregory Schier
0a616fba6b
Version Control (beta) (#1439)
* VCS proof of concept underway!

* Stuff

* Some things

* Replace deprecated Electron makeSingleInstance

* Rename `window` variables so not to be confused with window object

* Don't unnecessarily update request when URL does not change

* Regenerate package-lock

* Fix tests + ESLint

* Publish

 - insomnia-app@1.0.49
 - insomnia-cookies@0.0.12
 - insomnia-httpsnippet@1.16.18
 - insomnia-importers@2.0.13
 - insomnia-libcurl@0.0.23
 - insomnia-prettify@0.1.7
 - insomnia-url@0.1.6
 - insomnia-xpath@1.0.9
 - insomnia-plugin-base64@1.0.6
 - insomnia-plugin-cookie-jar@1.0.8
 - insomnia-plugin-core-themes@1.0.5
 - insomnia-plugin-default-headers@1.1.9
 - insomnia-plugin-file@1.0.7
 - insomnia-plugin-hash@1.0.7
 - insomnia-plugin-jsonpath@1.0.12
 - insomnia-plugin-now@1.0.11
 - insomnia-plugin-os@1.0.13
 - insomnia-plugin-prompt@1.1.9
 - insomnia-plugin-request@1.0.18
 - insomnia-plugin-response@1.0.16
 - insomnia-plugin-uuid@1.0.10

* Broken but w/e

* Some tweaks

* Big refactor. Create local snapshots and push done

* POC merging and a lot of improvements

* Lots of work done on initial UI/UX

* Fix old tests

* Atomic writes and size-based batches

* Update StageEntry definition once again to be better

* Factor out GraphQL query logic

* Merge algorithm, history modal, other minor things

* Fix test

* Merge, checkout, revert w/ user changes now work

* Force UI to refresh when switching branches changes active request

* Rough draft pull() and some cleanup

* E2EE stuff and some refactoring

* Add ability to share project with team and fixed tests

* VCS now created in root component and better remote project handling

* Remove unused definition

* Publish

 - insomnia-account@0.0.2
 - insomnia-app@1.1.1
 - insomnia-cookies@0.0.14
 - insomnia-httpsnippet@1.16.20
 - insomnia-importers@2.0.15
 - insomnia-libcurl@0.0.25
 - insomnia-prettify@0.1.9
 - insomnia-sync@0.0.2
 - insomnia-url@0.1.8
 - insomnia-xpath@1.0.11
 - insomnia-plugin-base64@1.0.8
 - insomnia-plugin-cookie-jar@1.0.10
 - insomnia-plugin-core-themes@1.0.7
 - insomnia-plugin-file@1.0.9
 - insomnia-plugin-hash@1.0.9
 - insomnia-plugin-jsonpath@1.0.14
 - insomnia-plugin-now@1.0.13
 - insomnia-plugin-os@1.0.15
 - insomnia-plugin-prompt@1.1.11
 - insomnia-plugin-request@1.0.20
 - insomnia-plugin-response@1.0.18
 - insomnia-plugin-uuid@1.0.12

* Move some deps around

* Fix Flow errors

* Update package.json

* Fix eslint errors

* Fix tests

* Update deps

* bootstrap insomnia-sync

* TRy fixing appveyor

* Try something else

* Bump lerna

* try powershell

*  Try again

* Fix imports

* Fixed errors

* sync types refactor

* Show remote projects in workspace dropdown

* Improved pulling of non-local workspaces

* Loading indicators and some tweaks

* Clean up sync staging modal

* Some sync improvements:

- No longer store stage
- Upgrade Electron
- Sync UI/UX improvements

* Fix snyc tests

* Upgraded deps and hot loader tweaks (it's broken for some reason)

* Fix tests

* Branches dialog, network refactoring, some tweaks

* Fixed merging when other branch is empty

* A bunch of small fixes from real testing

* Fixed pull merge logic

* Fix tests

* Some bug fixes

* A few small tweaks

* Conflict resolution and other improvements

* Fix tests

* Add revert changes

* Deal with duplicate projects per workspace

* Some tweaks and accessibility improvements

* Tooltip accessibility

* Fix API endpoint

* Fix tests

* Remove jest dep from insomnia-importers
2019-04-17 17:50:03 -07:00
Joshua May
67db01dd5e OpenAPI v3 importer (#1430)
* Added swagger3 placeholder asset

* Added jest as project dependency, tests are running

* Empty test, but it's green now

* swagger3 -> openapi3

* Updated swagger-parser, tests still green

* Refactor: extract unthrowableParseJson to utils

* All of the parsers should be running, duh

* Oh, duh, that's how we update major versions in npm

* Our first openapi3 test is green

* Two green tests

* Three green tests

* Snapshotting a (mostly) green tree, minus some necessary change from swagger2

* Green tests!
2019-04-17 17:16:03 -07:00
Sertaç Özercan
086f338182 add darkModeSupport (#1366) 2019-03-11 17:54:32 -04:00
Gregory Schier
efdb30a8a5 Publish
- insomnia-app@1.1.0
 - insomnia-cookies@0.0.13
 - insomnia-httpsnippet@1.16.19
 - insomnia-importers@2.0.14
 - insomnia-libcurl@0.0.24
 - insomnia-prettify@0.1.8
 - insomnia-url@0.1.7
 - insomnia-xpath@1.0.10
 - insomnia-plugin-base64@1.0.7
 - insomnia-plugin-cookie-jar@1.0.9
 - insomnia-plugin-core-themes@1.0.6
 - insomnia-plugin-file@1.0.8
 - insomnia-plugin-hash@1.0.8
 - insomnia-plugin-jsonpath@1.0.13
 - insomnia-plugin-now@1.0.12
 - insomnia-plugin-os@1.0.14
 - insomnia-plugin-prompt@1.1.10
 - insomnia-plugin-request@1.0.19
 - insomnia-plugin-response@1.0.17
 - insomnia-plugin-uuid@1.0.11
2018-12-15 11:51:48 -05:00
Gregory Schier
dba7e614e5 Publish
- insomnia-app@1.0.49
 - insomnia-cookies@0.0.12
 - insomnia-httpsnippet@1.16.18
 - insomnia-importers@2.0.13
 - insomnia-libcurl@0.0.23
 - insomnia-prettify@0.1.7
 - insomnia-url@0.1.6
 - insomnia-xpath@1.0.9
 - insomnia-plugin-base64@1.0.6
 - insomnia-plugin-cookie-jar@1.0.8
 - insomnia-plugin-core-themes@1.0.5
 - insomnia-plugin-file@1.0.7
 - insomnia-plugin-hash@1.0.7
 - insomnia-plugin-jsonpath@1.0.12
 - insomnia-plugin-now@1.0.11
 - insomnia-plugin-os@1.0.13
 - insomnia-plugin-prompt@1.1.9
 - insomnia-plugin-request@1.0.18
 - insomnia-plugin-response@1.0.16
 - insomnia-plugin-uuid@1.0.10
2018-12-15 11:51:21 -05:00
Gregory Schier
10a550cdb3 More dropdown positioning work 2018-12-15 00:01:16 -05:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
Gregory Schier
76f8d416a0 Publish
- insomnia-app@1.0.48
 - insomnia-importers@2.0.12
 - insomnia-plugin-request@1.0.17
2018-12-12 10:37:29 -05:00
Timothy Lim
7bdd40892d Fix undefined id causing improper import (#1302)
Fix undefined id causing improper import
2018-12-12 10:29:10 -05:00
Gregory Schier
42f1d7cb9d Publish
- insomnia-app@1.0.47
 - insomnia-httpsnippet@1.16.17
 - insomnia-importers@2.0.11
 - insomnia-plugin-cookie-jar@1.0.7
 - insomnia-plugin-jsonpath@1.0.11
 - insomnia-plugin-response@1.0.15
2018-11-30 01:33:05 -05:00
dhruv944
2c49563014 Postman collection variables and variable uncovering (#1274)
* fixed #1172

Collection variable added to folder environment

* modified code implementation #1172

* refactored code

* feature implemented #754

Code implemented to show the sorce of variable

* #1155 fixed

* code restructuring

* fixed #773

Added hotkey alt+u which swaps variable name with value and vice versa.
2018-11-30 00:50:30 -05:00
Gregory Schier
d0652a5b91 Publish
- insomnia-app@1.0.46
 - insomnia-cookies@0.0.11
 - insomnia-httpsnippet@1.16.16
 - insomnia-importers@2.0.10
 - insomnia-libcurl@0.0.22
 - insomnia-prettify@0.1.6
 - insomnia-url@0.1.5
 - insomnia-xpath@1.0.8
 - insomnia-plugin-base64@1.0.5
 - insomnia-plugin-cookie-jar@1.0.6
 - insomnia-plugin-default-headers@1.1.8
 - insomnia-plugin-file@1.0.6
 - insomnia-plugin-hash@1.0.6
 - insomnia-plugin-jsonpath@1.0.10
 - insomnia-plugin-now@1.0.10
 - insomnia-plugin-os@1.0.12
 - insomnia-plugin-prompt@1.1.8
 - insomnia-plugin-request@1.0.16
 - insomnia-plugin-response@1.0.14
 - insomnia-plugin-uuid@1.0.9
2018-11-08 10:55:27 -05:00
Joe Bauser
182acbef2b Support postman basic, digest, bearer, oauth, and aws auth (#1244)
Add support for importing 5 new authentication types from both
Postman v2.0 and v2.1 import formats.

- Basic Auth (Fixes #1235)
- Bearer Tokens (Fixes #1236)
- Digest Auth username and password (Fixes #1237)
- AWS IAMv4 Authentication (Fixes #1241)
- Oauth 1.0 and Oauth 2.0 (Fixes #1240)

Note: For Oauth2.0 this means setting authorization to Oauth2 but
generating a disabled config, since postman does not export anything we
can use to fill our config values.
2018-11-05 20:38:43 -04:00
Gregory Schier
dcfa960be1 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-05 19:36:11 -05:00
Gregory Schier
fa6242bf07 Handle dollar sign curl imports (Fixes #1245) 2018-11-05 19:35:59 -05:00
Joe Bauser
65a08a2163 Fixes #682: Support postman import schema v2.1.0 (#1233) 2018-10-27 00:37:58 -04:00
Gregory Schier
605cb90753
Update Electron and node-libcurl (#1215)
* A bunch of things

* Publish

 - insomnia-app@1.0.41
 - insomnia-cookies@0.0.8
 - insomnia-httpsnippet@1.16.13
 - insomnia-importers@2.0.7
 - insomnia-libcurl@0.0.17
 - insomnia-url@0.1.4
 - insomnia-xpath@1.0.5
 - insomnia-plugin-cookie-jar@1.0.3
 - insomnia-plugin-jsonpath@1.0.7
 - insomnia-plugin-now@1.0.7
 - insomnia-plugin-os@1.0.9
 - insomnia-plugin-prompt@1.1.7
 - insomnia-plugin-request@1.0.13
 - insomnia-plugin-response@1.0.11
 - insomnia-plugin-uuid@1.0.6

* Package deps

* Remove fsevents again

* Appveyor node verison

* Remove unused dep

* Try something

* Try another thing

* NPM audit

* Yet again

* Fix test

* Fix test

* Remove npm dep

* Fix webview

* Fix React sortable and bump version

* Comment out broken test for now

* Publish

 - insomnia-app@1.0.42
 - insomnia-cookies@0.0.9
 - insomnia-httpsnippet@1.16.14
 - insomnia-importers@2.0.8
 - insomnia-libcurl@0.0.18
 - insomnia-xpath@1.0.6
 - insomnia-plugin-cookie-jar@1.0.4
 - insomnia-plugin-file@1.0.5
 - insomnia-plugin-jsonpath@1.0.8
 - insomnia-plugin-now@1.0.8
 - insomnia-plugin-os@1.0.10
 - insomnia-plugin-request@1.0.14
 - insomnia-plugin-response@1.0.12
 - insomnia-plugin-uuid@1.0.7

* Remove deprecated Electron Builder config options

* Try some more

* Publish

 - insomnia-app@1.0.43
 - insomnia-libcurl@0.0.19

* Bump

* Publish

 - insomnia-app@1.0.44
 - insomnia-libcurl@0.0.20

* Hopefully fix windows builds

* DEBUG on travis

* Hopefully fix dependency issues

* Undo package-lock copy

* Debug

* More debugging

* Another check

* Fix debug check

* Try just build

* Extra logging

* Escape windows paths differently (Fixes #1217)

* Try packing more deps

* Publish

 - insomnia-app@1.0.45
 - insomnia-cookies@0.0.10
 - insomnia-httpsnippet@1.16.15
 - insomnia-importers@2.0.9
 - insomnia-libcurl@0.0.21
 - insomnia-xpath@1.0.7
 - insomnia-plugin-cookie-jar@1.0.5
 - insomnia-plugin-jsonpath@1.0.9
 - insomnia-plugin-now@1.0.9
 - insomnia-plugin-os@1.0.11
 - insomnia-plugin-request@1.0.15
 - insomnia-plugin-response@1.0.13
 - insomnia-plugin-uuid@1.0.8

* Adjust some deps

* Zip build dir into release files

* More debug info

* Undo travis tar debug

* Downgrade electron-builder to 20.19

* Downgrade electron-builder to last working version

* Try electron-builder 20.20.4

* Change bundled deps

* Add electron-builder-lib back
2018-10-19 22:11:58 -04:00
Timothy Lim
ebd3761241 Support Swagger tags (#1211) 2018-10-17 14:52:54 -04:00
Gregory Schier
99de4725fa prettier entire project 2018-10-17 12:42:33 -04:00
Matthias Ramsauer
971a2b49aa filter "parameters method" (#1197) 2018-10-17 11:50:05 -04:00
Gregory Schier
2446ac800d Start storing timestamps on timeline entries (Related #618) 2018-10-11 13:12:31 -04:00
Atvaark
d3c002410b Preserve HAR entry comment during import (#1198)
This will fix an HAR export/import issue where names are lost.
Fixes #1153
2018-10-03 17:33:12 -04:00
Gregory Schier
512b048e4c Publish
- insomnia-plugin-cookie-jar@1.0.1
 - insomnia-plugin-jsonpath@1.0.4
 - insomnia-plugin-now@1.0.6
 - insomnia-plugin-os@1.0.8
 - insomnia-plugin-request@1.0.12
 - insomnia-plugin-response@1.0.10
 - insomnia-plugin-uuid@1.0.5
 - insomnia-app@1.0.24
 - insomnia-cookies@0.0.7
 - insomnia-httpsnippet@1.16.11
 - insomnia-importers@2.0.6
 - insomnia-libcurl@0.0.7
 - insomnia-xpath@1.0.4
2018-07-16 08:52:26 -04:00
Gregory Schier
0eed38aea3 Bump some deps 2018-07-16 08:52:10 -04:00
Gregory Schier
4d24bc1d59 Hopefully fix build errors for Node 10 2018-07-12 14:47:21 -04:00
Gregory Schier
f3ef11dfa0 Publish
- insomnia-plugin-jsonpath@1.0.3
 - insomnia-plugin-os@1.0.7
 - insomnia-plugin-prompt@1.1.4
 - insomnia-plugin-request@1.0.11
 - insomnia-plugin-response@1.0.9
 - insomnia-app@1.0.23
 - insomnia-cookies@0.0.6
 - insomnia-httpsnippet@1.16.10
 - insomnia-importers@2.0.5
 - insomnia-libcurl@0.0.6
 - insomnia-xpath@1.0.3
2018-07-11 19:07:40 -04:00
Gregory Schier
65fc2ece89 Upgrade some deps 2018-07-11 19:07:20 -04:00
Gregory Schier
1ebfdc4dee Publish
- insomnia-plugin-base64@1.0.4
 - insomnia-plugin-default-headers@1.1.7
 - insomnia-plugin-file@1.0.4
 - insomnia-plugin-hash@1.0.4
 - insomnia-plugin-jsonpath@1.0.2
 - insomnia-plugin-now@1.0.5
 - insomnia-plugin-os@1.0.6
 - insomnia-plugin-prompt@1.1.2
 - insomnia-plugin-request@1.0.9
 - insomnia-plugin-response@1.0.8
 - insomnia-plugin-uuid@1.0.4
 - insomnia-app@1.0.19
 - insomnia-cookies@0.0.5
 - insomnia-httpsnippet@1.16.9
 - insomnia-importers@2.0.4
 - insomnia-libcurl@0.0.4
 - insomnia-prettify@0.1.3
 - insomnia-url@0.1.3
 - insomnia-xpath@1.0.2
2018-06-27 00:59:43 -04:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Gregory Schier
7bdaa82f38 Publish
- insomnia-app@1.0.16
 - insomnia-importers@2.0.3
2018-05-04 14:42:15 -04:00
Ville Skyttä
36e4f3aca6 Add Swagger to import format lists (#863) 2018-04-15 07:06:44 -04:00
Claudio Bley
28a0b7dc17 Fix parameter replacement in swagger importer (#861)
The regex was greedily matching any character which causes problems with
multiple path parameters in a route and it was only replacing once:

input: `/api/v1/{channel}/items/{id}`
output: `/api/v1/{{ channel}/items/{id }}`
2018-04-13 08:18:30 -04:00
Gregory Schier
727a214353 Publish
- insomnia-plugin-default-headers@1.1.6
 - insomnia-plugin-os@1.0.5
 - insomnia-plugin-prompt@1.0.8
 - insomnia-plugin-request@1.0.6
 - insomnia-plugin-response@1.0.7
 - insomnia-app@1.0.13
 - insomnia-importers@2.0.1
 - insomnia-xpath@1.0.1
2018-01-17 17:01:48 +07:00
Gregory Schier
bf97f94825 Fix Swagger 2 parameter types 2018-01-17 16:53:30 +07:00
Gregory Schier
cfb88ef044 Bump versions 2018-01-17 16:30:38 +07:00
Gregory Schier
82621e8fb3 Fix for swagger2 importer 2018-01-17 12:18:10 +07:00
slawus
e987931805 Feature/swagger2 importer (#695)
* Added support for async importers

* Swagger importer v0.1 - supports import of workspace, environment and endpoints from swagger 2.0 specifications. Supports query params, headers and body. Mocks body of application/json endpoitns

* Refactor: added comments, removed function-in-function declarations

* Fixed import of yaml files. Added tests for both .json and .yaml
2018-01-16 14:02:12 +07:00
Florian Benz
39afc40813 Target is Insomnia v3 now and list Postman v2.0 because only v2.0 and not v2.1 is supported (#707) 2018-01-16 13:09:40 +07:00
slawus
71ed57143e Added support for async importers (#694) 2018-01-16 12:51:28 +07:00
Gregory Schier
afcc72e3cf Publish
- insomnia-app@1.0.2
 - insomnia-importers@1.5.6
2017-11-27 17:22:03 +00:00
Gregory Schier
1cc7e64ade Handle Postman url object format 2017-11-27 17:21:08 +00:00
Gregory Schier
3217b8677d Fixed render context inheritance (Fixes #631) 2017-11-27 15:52:35 +00:00