Commit Graph

1979 Commits

Author SHA1 Message Date
Gregory Schier
9c27b675e0 Ensure dependency properties 2019-04-19 13:26:21 -07:00
Gregory Schier
cb975f8489 Added a bunch of logging to vcs operations 2019-04-19 11:28:19 -07:00
Gregory Schier
6a3ccdd08e List modified keys in staging dialog 2019-04-19 11:10:56 -07:00
Gregory Schier
c663f2b1f2 Some more minor tweaks and improvements 2019-04-18 17:39:01 -07:00
Gregory Schier
29e93565f7 Fix tests 2019-04-18 16:24:41 -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
17efc27e7c Some minor updates to sync beta 2019-04-18 15:47:11 -07:00
Gregory Schier
7c18b629de Mask preview for masked prompt tag (Closes #1412) 2019-04-18 14:01:27 -07:00
Gregory Schier
c99ee30f46 Add setUrl to request plugin context 2019-04-18 11:39:08 -07:00
Gregory Schier
f6622a89ea Merge branch 'develop' of github.com:getinsomnia/insomnia into pull/1393 2019-04-18 11:37:27 -07:00
Gregory Schier
7f17494520 Fix Vim escape blocke 2019-04-18 11:34:48 -07:00
Gregory Schier
a33fb6b9fa Fix tests 2019-04-18 11:13:12 -07:00
Gregory Schier
4c31c5575f Simplify export flow 2019-04-18 10:33:53 -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
58653525b8 Show request method in response history dropdown 2019-04-17 22:01:27 -07:00
Gregory Schier
a472443b0c Configurable response history length 2019-04-17 21:58:09 -07:00
Andrew Razumovsky
e145ca8146 Option to configure number of saved responses to history (#1378) 2019-04-17 21:29:42 -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
918625015a Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-04-17 20:49:39 -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
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
Gregory Schier
2e25cf22cd Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-04-17 16:10:27 -07:00
Gregory Schier
8ee1dc8fe7 High contrast theme 2019-04-17 16:10:18 -07:00
senoctar
aee70d8545 Fix issue #1202. Lenient error handling for Yarn output. Check if out… (#1425)
* Fix issue #1202. Lenient error handling for Yarn output. Check if output is OK even if exit error code is non-zero.

* Add comments for electron exit code workaround.
2019-04-13 17:39:30 -04:00
Ernest Rekel
fab8b56ab0 Prevent modal closing for vim editor by stopping event propagation (#1429) 2019-04-13 17:38:51 -04:00
Samir Nijenhuis
6717135861 Rename setAuthentication to setAuthenticationParameter 2019-04-04 09:55:32 +02:00
Adam Gauthier
0333244d33 Fix typo Paramter -> Parameter in plugin-request (#1422) 2019-03-30 20:47:14 -04:00
Peter Major
b6b02eb737 Add support for Base64url encoding (#1348) (#1349) 2019-03-13 13:07:52 -04:00
Ricky Chandra
93e8d70531 feat: Add keyboard shortcuts editor in settings 2019-03-13 00:11:02 +07:00
Ricky Chandra
bb8b48adc3 New data models for hotkeys and store the key bindings in settings (#1314)
* New data models for hotkeys and store the key bindings in settings

* Merge win and linux key bindings, remove generic key combinations, and add documents
2019-03-12 12:38:30 -04:00
Ricky Chandra
683ac86f4f refactor: refactor exportWorkspacesHAR() and exportWorkspacesJSON(), and fix affected tests 2019-03-12 23:37:05 +07:00
Ángel Paredes
7fe101ba9b Fetch JS snippet (#1343)
* Add test for fetch snippet

* Add fetch snippet

* Fix jQuery doc comment
2019-03-11 18:20:38 -04:00
Sertaç Özercan
086f338182 add darkModeSupport (#1366) 2019-03-11 17:54:32 -04: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
Gregory Schier
b4275474c1 Merge remote-tracking branch 'origin/develop' into develop 2019-03-08 22:55:51 -05:00
Gregory Schier
6b8bb2515c Add optional ID for database buffering (for nested buffering) 2019-03-08 22:55:39 -05:00
Gregory Schier
25fd1c7944
Add Regex plugin to README 2019-03-07 16:40:37 -05:00
Ricky Chandra
10265edd02 test: Add tests for export requests functions 2019-03-05 18:48:33 +07:00
Ricky Chandra
63150be087 feat: Add functions to export requests and refactor existing export functions 2019-03-05 18:48:31 +07:00
Ricky Chandra
43dfcc81ea feat: Create export folders and requests tree 2019-03-05 18:47:38 +07:00
Ricky Chandra
e1bdf662de feat: Init export requests modal 2019-03-02 13:39:37 +07:00
Gregory Schier
ede06c0274 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-02-28 12:33:37 -05:00
Gregory Schier
6309d51b14 Fix Timeline selection weirdness and remove GraphQL debouncing 2019-02-28 12:33:29 -05:00
Samir Nijenhuis
77321f5fa2 Refactor setter method 2019-02-28 11:50:30 +01:00
Samir Nijenhuis
2dd8bd93cd Add tests for authentication getter & setter. Refactor the setter method 2019-02-28 11:49:18 +01:00
Gregory Schier
d7cef51b89
Update README.md 2019-02-27 22:50:08 -05:00
Samir Nijenhuis
0bab48e3e5 Add authentication getter and setter to request context for plugins. 2019-02-27 20:43:31 +01:00