Commit Graph

95 Commits

Author SHA1 Message Date
Gregory Schier
ac75e3b8cc Add ability for no OAuth 2 Authorization prefix (Closes #1087) 2019-12-12 15:57:39 -05:00
Gregory Schier
08d57747ba v2.1.1 2019-12-12 15:40:12 -05:00
Gregory Schier
533caa4663 Update email address 2019-12-12 15:39:41 -05:00
Gregory Schier
114a78cf27 v2.1.0 2019-12-12 15:32:59 -05:00
Gregory Schier
3def41113d Fix WSDL importer fixtures 2019-12-11 12:13:26 -05:00
Tomasz Dłuski
705876ace9 [Feature] Wsdl Importer with sample xml (#1675)
* new(importer): wsdl first version (without body)

* add(tests): wsdl importer - adds simple test

fixes addition test

adds comments + place to generate body

* working converter

* adds apiconnect-wsdl npm package

* resets package.json dependencies

* adds lodash and apiconnect-wsdl into importers project
2019-12-11 12:02:08 -05:00
Gregory Schier
5d00b89dce Publish
- insomnia-app@1.1.15
 - insomnia-cookies@0.0.22
 - insomnia-importers@2.0.26
 - insomnia-libcurl@0.0.33
 - insomnia-xpath@1.0.19
 - insomnia-plugin-cookie-jar@1.0.20
 - insomnia-plugin-jsonpath@1.0.23
 - insomnia-plugin-now@1.0.21
 - insomnia-plugin-os@1.0.23
 - insomnia-plugin-request@1.0.29
 - insomnia-plugin-response@1.0.29
 - insomnia-plugin-uuid@1.0.20
2019-12-04 11:57:27 -05:00
Gregory Schier
81ef50cc6b Less-strict URL parsing in openapi3 importer (Fixes #1782) 2019-12-04 11:56:22 -05:00
Gregory Schier
18d011b810 package-lock 2019-11-27 11:03:26 -05:00
Gregory Schier
abe274796a Publish
- insomnia-app@1.1.13
 - insomnia-importers@2.0.25
2019-11-22 14:00:18 -05:00
Gregory Schier
ede671a057 Fix Swagger2 tests 2019-11-22 13:59:06 -05:00
Gregory Schier
7310fa3697 Publish
- insomnia-app@1.1.12
 - insomnia-cookies@0.0.21
 - insomnia-importers@2.0.24
 - insomnia-libcurl@0.0.32
 - insomnia-prettify@0.1.14
 - insomnia-url@0.1.13
 - insomnia-xpath@1.0.18
 - insomnia-plugin-base64@1.0.13
 - insomnia-plugin-cookie-jar@1.0.19
 - insomnia-plugin-core-themes@1.0.12
 - insomnia-plugin-default-headers@1.1.14
 - insomnia-plugin-file@1.0.14
 - insomnia-plugin-hash@1.0.14
 - insomnia-plugin-jsonpath@1.0.22
 - insomnia-plugin-now@1.0.20
 - insomnia-plugin-os@1.0.22
 - insomnia-plugin-prompt@1.1.18
 - insomnia-plugin-request@1.0.28
 - insomnia-plugin-response@1.0.28
 - insomnia-plugin-uuid@1.0.19
2019-11-22 13:41:27 -05:00
Matthias Ramsauer
b59759d54f [Feature] [SwaggerV2] Create Folders from implicit defined tags (#1723)
* Create Folders from implicit defined tags

* Update fixtures to reflect swagger2 importer changes
2019-11-22 13:17:17 -05:00
Gregory Schier
be94772382 Fixed swagger2 importer tests 2019-11-22 13:13:36 -05:00
Matthias Ramsauer
65cd4b0146 [Feature] [SwaggerV2] Import Documentation and Authentification (#1724)
* [Feature] [SwaggerV2] Import Documentation and Authentification
Partially implements #1698
Fixes #1007

* Update fixtures to reflect swagger2 importer changes
2019-11-22 13:06:15 -05:00
Matthias Ramsauer
ab990d7a40 [Feature] [SwaggerV2] Body Parameter affect content-type header and implement formData type (#1722)
* Body Parameter affect content-type header and implement formData type

* Enable Tests and update swagger2 fixtures
2019-11-22 12:36:33 -05:00
Gregory Schier
0933337c1e Bump versions 2019-11-22 11:15:46 -05:00
Gregory Schier
f325aef9ff Publish
- insomnia-app@1.1.11
 - insomnia-cookies@0.0.20
 - insomnia-importers@2.0.23
 - insomnia-libcurl@0.0.31
 - insomnia-xpath@1.0.17
 - insomnia-plugin-cookie-jar@1.0.18
 - insomnia-plugin-jsonpath@1.0.21
 - insomnia-plugin-now@1.0.19
 - insomnia-plugin-os@1.0.21
 - insomnia-plugin-request@1.0.27
 - insomnia-plugin-response@1.0.27
 - insomnia-plugin-uuid@1.0.18
2019-11-22 11:05:46 -05:00
Gregory Schier
a492dc6312 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-11-22 10:58:20 -05:00
Gregory Schier
af3a4f0553 OpenAPI spec check for empty properties on import 2019-11-22 10:57:33 -05:00
kliques
58eb3eaeb7 feature: clipboard feature (#1776)
- add import from clipboard
2019-11-22 10:46:54 -05:00
Elias Meire
414e35ea11 [Feature] [OpenAPI] Support OpenAPI 3 securitySchemes (#1725)
* feat(openapi): Fix parseDocument return type

* feat(openapi): Add support for apiKey and http security
Add support for apiKey and http security in OpenAPI 3 parser

* feat(openapi): Add env variables for OpenAPI security

* feat(openapi): Restore fixture tests, add skip option for failing test

* feat(openapi): Add/adapt test fixtures

* feat(openapi): Improve Cookie formatting

* Empty commit; trigger CI

* feat(openapi): Add type basic to auth
2019-11-01 10:30:44 -04:00
Elias Meire
e8cefefa57 [Feature] [cURL] Parse query parameters from url in importer (#1726)
* feat(curl): parse parameters from url string

* feat(curl): Remove trailing slash after import

* feat(curl): Add exception for failing test

* feat(curl): Parse params from url in curl importer
2019-10-31 11:42:42 -04:00
Gregory Schier
8ce877eb73 Publish
- insomnia-app@1.1.10
 - insomnia-cookies@0.0.19
 - insomnia-importers@2.0.22
 - insomnia-libcurl@0.0.30
 - insomnia-prettify@0.1.13
 - insomnia-url@0.1.12
 - insomnia-xpath@1.0.16
 - insomnia-plugin-base64@1.0.12
 - insomnia-plugin-cookie-jar@1.0.17
 - insomnia-plugin-core-themes@1.0.11
 - insomnia-plugin-default-headers@1.1.13
 - insomnia-plugin-file@1.0.13
 - insomnia-plugin-hash@1.0.13
 - insomnia-plugin-jsonpath@1.0.20
 - insomnia-plugin-now@1.0.18
 - insomnia-plugin-os@1.0.20
 - insomnia-plugin-prompt@1.1.17
 - insomnia-plugin-request@1.0.26
 - insomnia-plugin-response@1.0.26
 - insomnia-plugin-uuid@1.0.17
2019-10-07 13:48:48 -07:00
Gregory Schier
76f5d8da1a Only handle supported Curl args during import (Fixes #1697) 2019-10-07 13:45:05 -07:00
Gregory Schier
eed5672948 Bump package locks 2019-10-02 08:01:58 -07:00
Gregory Schier
400f15a348 Publish
- insomnia-app@1.1.9
 - insomnia-cookies@0.0.18
 - insomnia-importers@2.0.21
 - insomnia-libcurl@0.0.29
 - insomnia-prettify@0.1.12
 - insomnia-url@0.1.11
 - insomnia-xpath@1.0.15
 - insomnia-plugin-base64@1.0.11
 - insomnia-plugin-cookie-jar@1.0.16
 - insomnia-plugin-core-themes@1.0.10
 - insomnia-plugin-default-headers@1.1.12
 - insomnia-plugin-file@1.0.12
 - insomnia-plugin-hash@1.0.12
 - insomnia-plugin-jsonpath@1.0.19
 - insomnia-plugin-now@1.0.17
 - insomnia-plugin-os@1.0.19
 - insomnia-plugin-prompt@1.1.16
 - insomnia-plugin-request@1.0.25
 - insomnia-plugin-response@1.0.25
 - insomnia-plugin-uuid@1.0.16
2019-09-19 13:57:27 -07:00
Gregory Schier
3e2311e4e1 Make OpenAPI importer generate deterministic IDs 2019-08-15 12:56:32 -07:00
Gregory Schier
972477d2d4 Fix for Swagger and OpenAPI importers using wrong workspace key 2019-08-09 16:45:25 -04:00
Gregory Schier
1ed09bf9b7 Publish
- insomnia-app@1.1.8
 - insomnia-cookies@0.0.17
 - insomnia-importers@2.0.20
 - insomnia-libcurl@0.0.28
 - insomnia-xpath@1.0.14
 - insomnia-plugin-cookie-jar@1.0.15
 - insomnia-plugin-jsonpath@1.0.18
 - insomnia-plugin-now@1.0.16
 - insomnia-plugin-os@1.0.18
 - insomnia-plugin-prompt@1.1.15
 - insomnia-plugin-request@1.0.24
 - insomnia-plugin-response@1.0.24
 - insomnia-plugin-uuid@1.0.15
2019-08-06 12:05:21 -04:00
Marc Easen - Amplience
3e1ac1f68e feat(oas3 readonly): ignore fields marked as readOnly when generating request bodies (#1618) 2019-08-05 11:35:48 -04:00
Gregory Schier
8fda24ae47 Small sidebar refactor and moved ESLint to top level 2019-08-02 15:01:01 -04:00
Forrest Ye
a4f56ffe7d [fix] do not assume object param type has properties (#1570) 2019-06-24 16:20:01 -04:00
Gregory Schier
67bd8570f6 Dep updates 2019-06-07 12:02:02 -04:00
Gregory Schier
c5cdf15fe6 Publish
- insomnia-app@1.1.7
 - insomnia-importers@2.0.19
2019-05-29 23:08:11 -04:00
Raphaël Medaer
5175515e99 Try importing OpenAPI3 even if validation fails (Fixes #1354) (#1515)
This is a port of fixes did for Swagger in c2b4b37.
2019-05-29 15:21:45 -04:00
Gregory Schier
87651b3bc6 Publish
- insomnia-app@1.1.4
 - insomnia-importers@2.0.18
 - insomnia-plugin-response@1.0.21
2019-05-07 11:15:40 -04:00
Gregory Schier
e3d5dc59a3 Better missing factory error message for OpenAPI (#1481) 2019-05-07 10:41:13 -04:00
Gregory Schier
0d333b008b Publish
- insomnia-app@1.1.3
 - insomnia-cookies@0.0.16
 - insomnia-importers@2.0.17
 - insomnia-libcurl@0.0.27
 - insomnia-prettify@0.1.11
 - insomnia-url@0.1.10
 - insomnia-xpath@1.0.13
 - insomnia-plugin-base64@1.0.10
 - insomnia-plugin-cookie-jar@1.0.12
 - insomnia-plugin-core-themes@1.0.9
 - insomnia-plugin-default-headers@1.1.11
 - insomnia-plugin-file@1.0.11
 - insomnia-plugin-hash@1.0.11
 - insomnia-plugin-jsonpath@1.0.16
 - insomnia-plugin-now@1.0.15
 - insomnia-plugin-os@1.0.17
 - insomnia-plugin-prompt@1.1.13
 - insomnia-plugin-request@1.0.22
 - insomnia-plugin-response@1.0.20
 - insomnia-plugin-uuid@1.0.14
2019-04-29 14:45:29 -04:00
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