Commit Graph

739 Commits

Author SHA1 Message Date
Gregory Schier
b2247e4344 Make documentation code scroll horizontally (Fixes #720) 2019-05-08 16:34:48 -04:00
Gregory Schier
46483fd23e Fix unnecessary navigation interception 2019-05-08 16:32:28 -04:00
Gregory Schier
5ac53aa3b1 Only force refresh header editor when changing body type (Closes #931) 2019-05-08 16:31:54 -04:00
Gregory Schier
0705efa55e Change default autocomplete delay from 700ms to 1200ms 2019-05-08 16:13:42 -04:00
Gregory Schier
2640b4ba48 Open all links in external browser (Fixes #1473) 2019-05-08 16:13:26 -04:00
Gregory Schier
e24ce7f7b4 Fix tests 2019-05-08 13:59:16 -04:00
Gregory Schier
0468980304 Fix drag-n-drop for empty folders (Closes #1486) 2019-05-08 13:51:46 -04:00
Gregory Schier
7c63132a85 Add new encoding type to template tag args 2019-05-08 13:36:55 -04:00
Gregory Schier
f48a6469aa Fix autocomplete value preview showing rendered HTML 2019-05-08 12:22:16 -04:00
Gregory Schier
f34a72f569 Fix sync menu jumping up 2019-05-07 14:28:00 -04:00
Gregory Schier
4d6f6d9541 Allow render failures for request descriptions (Fixes #1478) 2019-05-07 14:24:04 -04:00
Gregory Schier
b2ebeeea70 Fix dependencies 2019-05-07 11:48:03 -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
2482fd61fe Upgrade httpsnippet 2019-05-07 11:15:25 -04:00
Gregory Schier
9cde9a765c Some tweaks to request pinning 2019-05-07 11:10:13 -04:00
Opender Singh
c48daaea44 Support for pinned requests (#1471)
* Add pinning behavior

* add fa-thumb-tack

* Updated package-lock files

* Allow only top level request and request group to be pinned

* Prevent dnd for pinned request

* Efficiency change

* Reverted changes

* Revert changes to selectors.js

* Fixed pin and add thumbtack

* Changes

* Pin styling

* Fix overflow bug

* styling complete

* Remove additional style

* Updated package-lock.json

* Mergie

* Boolean to boolean

* allow nested requests to be pinned

* Remove unused arg

* Remove folder pinning functionality

* Remove comment

* Revert change to open tag on group

* Render separator with dsiplay: none so that sync menu is in correct place

* Don't reset parent id on request pin

* Remove extra checks

* Move pin filter to selectors to prevent duplicate childTree traversal

* Decouple pinned items from search results

* Hide pin on hover

* Pin keyboard shortcut via shift+ctrl+p

* Typo fix

* Update mac hotkey + activeRequest nullcheck

* Disable drag and drop only for items in the pinned list

* Filter to Find
2019-05-07 10:46:35 -04:00
Gregory Schier
d8066bc558 Add ability for plugins to add folder actions (#774) 2019-05-04 16:34:52 -04:00
Gregory Schier
b0beb232a8 Merge remote-tracking branch 'origin/develop' into develop 2019-05-03 10:53:23 -04:00
Gregory Schier
4b41c8c360 New render purpose for request/response hooks (Fixes #1341) 2019-05-03 10:53:18 -04:00
Rafael Renan Pacheco
fd9ebf335d Fix 405 HTTP status description (#1479)
The https://developer.mozilla.org/en-US/docs/Web/HTTP/Status page do say that the 405 should not be returned for GET and HEAD. But if you click on that 405 link it will open https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405 , and there there's nothing about mandatory methods.

On that page you will get the RFC link https://tools.ietf.org/html/rfc7231#section-6.5.5 , and again, there's nothing about mandatory methods.

The restful documentation also doesn't talk about mandatory methods for 405: https://restfulapi.net/http-status-codes/

Spring Framework (a well know framework for Java) has some configuration for the Spring Data Rest project that will result in GET requests returning 405.

Since the RFC should be the winner here, and the divergence between the mozilla's pages, I'm proposing this fix to remove the misleading description.
2019-05-03 10:18:26 -04:00
Gregory Schier
4e6f044b99 Fix session ID not being provided in some network calls 2019-05-02 11:25:30 -04:00
Gregory Schier
43f424c48c Also show "book" font styles (Closes #1407) 2019-04-29 23:11:06 -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
6bea0eed6c Version bump 2019-04-29 14:19:00 -04:00
Gregory Schier
3fea57328d Fix settings dialog help tooltips 2019-04-27 02:09:33 -07:00
Gregory Schier
69a4abb268 Add setting to show more data in timeline (Closes #1262) 2019-04-27 01:55:04 -07:00
Gregory Schier
dce5f320c3 Refactor settings and store timeline separately 2019-04-27 01:46:10 -07:00
Gregory Schier
a7c2fd01fc
Ability to resend Response Tag's dependent request (#1470) 2019-04-26 21:34:15 -07:00
Gregory Schier
d67bd50806 Strip non-breaking spaces in GraphQL mode (Fixes #1460, #1254) 2019-04-26 16:39:36 -07:00
Gregory Schier
e68b1b186c Handle non-200 cases when downloading responses (Fixes #1414) 2019-04-26 15:38:35 -07:00
Gregory Schier
9e7c2a7833 Plist entry for Mac dark mode (Ref #1366) 2019-04-26 14:50:40 -07:00
Gregory Schier
2b36f9ed39 Add missing hotkey to keyboard shortcuts dialog 2019-04-26 14:46:28 -07:00
Gregory Schier
34ffcfec3b
Added a request "quick create" hotkey and data migration to ensure (#1469)
new hotkeys are added to the database
2019-04-26 13:58:05 -07:00
Gregory Schier
5ab130fc0e Fix OAuth 1.0 form (Closes #1467) 2019-04-26 10:45:43 -07:00
Gregory Schier
d7ebe4928d
Replace font-manager with improved font-scanner module (fixes #1453) (#1463) 2019-04-25 23:29:47 -07:00
Gregory Schier
f0b8356b11 Prevent links from opening when selecting URL in response (Fixes #1232) 2019-04-25 22:58:42 -07:00
Gregory Schier
cfaf97b76d Show request delete hotkey in dropdown (Closes #1377) 2019-04-25 22:47:42 -07:00
Gregory Schier
6aac1355dd Switch back to main httpsnippet module 2019-04-25 21:44:53 -07:00
Gregory Schier
c2b4b373b9
Try importing Swagger even if validation fails (Fixes #1354) (#1462) 2019-04-25 21:27:01 -07:00
Gregory Schier
035f5fb075 Add setMethod method to request hook plugin API 2019-04-25 13:59:08 -07:00
Gregory Schier
4d5428590c Bump version number 2019-04-23 16:05:33 -07:00
Gregory Schier
6f98da7df8 Hide quit menu item on non-Mac (Closes #1446) 2019-04-23 15:38:53 -07:00
Gregory Schier
80df978cfe Improve selector performance with a lookup map (Closes #1450) 2019-04-23 15:36:06 -07:00
Gregory Schier
392684ad04 Fixed JSON exporting (Closes #1447) 2019-04-23 11:22:30 -07:00
Gregory Schier
d9c33417eb Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-04-23 10:55:06 -07:00
Gregory Schier
b3aa013b75 Fixed grant type switching bug (Closes #1449) 2019-04-23 10:52:50 -07:00
Opender Singh
a9e66f0d7b Move request to collapsed folder by opening on hover (#1442)
* Move request to collapsed folder by opening on hover

* only show open tag if group is collapsed

* height

* efficiency
2019-04-22 12:30:43 -07:00
Opender Singh
497a708cc7 Request url tooltip overflow (#1441)
* Fixed test for win32

* Allow for a wide tag + styling to allow breaking of an otherwise unbreakable string

* reverted test

* added package-lock.json files
2019-04-22 12:26:57 -07:00
Gregory Schier
7edde1bbe0 Revert electron-builder again 2019-04-19 16:29:35 -07:00
Gregory Schier
63e39d2ae0 Actually revert Electron 2019-04-19 16:17:33 -07:00
Gregory Schier
c00fed9784 Fix build 2019-04-19 15:56:50 -07:00
Gregory Schier
b6ea8e8719 Revert to Electron 3.x because electron-builder 2019-04-19 15:31:30 -07:00
Gregory Schier
1b8018452b Remove dark mode key from electron builder 2019-04-19 15:13:08 -07:00
Gregory Schier
87bc180855 Actually revert electron-builder 2019-04-19 15:02:45 -07:00
Gregory Schier
06cb2f7942 Revert electron-builder 2019-04-19 14:47:39 -07:00
Gregory Schier
cb92f16848 Upgrade electron-builder 2019-04-19 14:30:53 -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
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
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
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
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
6b8bb2515c Add optional ID for database buffering (for nested buffering) 2019-03-08 22:55:39 -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
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
Samir Nijenhuis
0bab48e3e5 Add authentication getter and setter to request context for plugins. 2019-02-27 20:43:31 +01:00
Gregory Schier
9d3e2f4424 Remove logs 2019-02-20 15:17:43 -05:00
Gregory Schier
0383aba6d3 Better GraphQL editor performance 2019-02-20 15:16:31 -05:00
Gregory Schier
70190b3dec Merge remote-tracking branch 'origin/develop' into develop 2019-02-20 13:12:02 -05:00
Gregory Schier
3aff970195 Add RPM build 2019-02-20 13:11:40 -05: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
Ricky Chandra
c77094600d Add clear active workspace's all responses (#1317) 2019-01-21 11:29:30 -05:00
Rafael Renan Pacheco
921a5d2b3c Option to configure autocomplete popup delay (#1323)
- Fixes #1032
2019-01-09 18:13:24 -05:00
Gregory Schier
6d9a9e0acd Fix OAuth 1.0 auth not updating 2018-12-19 22:56:03 -05:00
Gregory Schier
ccf0abe02d Bump version 2018-12-15 20:39:31 -05:00
Gregory Schier
19ab14e142 A bit better send button handling 2018-12-15 20:37:40 -05:00
Gregory Schier
5adf101d83 Don't send requests twice (Fixes #1307) 2018-12-15 20:34:42 -05: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
08ef6a80ed Bump version 2018-12-15 11:35:58 -05:00
Gregory Schier
776b3bd31e Small tweak 2018-12-15 00:18:19 -05:00
Gregory Schier
10a550cdb3 More dropdown positioning work 2018-12-15 00:01:16 -05:00
Gregory Schier
2006025ffe
Explicitly pass request when saving in React components (#1306)
* Started work on it

* Finish refactoring I think
2018-12-14 18:10:57 -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
d755a7ca01 Merge remote-tracking branch 'origin/develop' into develop 2018-12-14 13:07:09 -05:00
Gregory Schier
91a2d2dc93 Don't webpack insomnia-httpsnippet (Fixes #1304) 2018-12-14 13:06:49 -05:00
Ricky Chandra
48716d98c4 Refresh CodeMirror editor when focused, and remove duplicate listener (#1294)
* Refresh CodeMirror editor when focused, and remove duplicate listener

* Call refresh() instead of focus() to refresh CodeMirror
2018-12-13 17:46:58 -05:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
Gregory Schier
64a5e44528 Fix CodeMirror lint gutter not displaying (Closes #1279) 2018-12-12 11:27:22 -05:00
Gregory Schier
bd48e3ede1 Upgrade GraphQL dependencies (Might Fix #1261) 2018-12-12 11:02:54 -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
tostringtheory
e0881c64aa Highlight focused keyboard tab (#1299) (#1300)
* Apply styling to keyboard focused tabs

* Add tab-index to tabs so only their contents are focusable
2018-12-12 10:35:44 -05:00
Gregory Schier
931f01c447 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-12-11 18:44:58 -05:00
Gregory Schier
5ebc53fa13 Adjusted top-level deps 2018-12-11 18:44:34 -05:00
tostringtheory
19bd9c142c Related to #1220 - keyboard bindings/mnemonics (#1221)
* Add constant for platform specific mnemonic for menu shortcuts.

Modify top level menu elements with the shortcuts.

* Add global hotkey to show keyboard shortcuts

* Apply updates to mnemonics in menu bar allowing for alt-shortcuts

* Mod to color a :focus tab, for visibility when tabbing through controls

* Revert tabs style changes, focus F1 functionality for non-mac devices
2018-12-11 18:11:54 -05:00
Gregory Schier
959d2750f4 Refresh CodeMirror after GraphQL prettify (Fixes #896) 2018-12-11 17:47:28 -05:00
Gregory Schier
6f355bc7ba More reliable dropdown positioning (Fixes #1113) 2018-12-11 17:04:28 -05:00
Ricky Chandra
2b971aed1e Display all request groups names in tag editor drop down (#1293) 2018-12-10 12:18:38 -05:00
Ricky Chandra
f88d961748 Add clean deleted responses task on startup, and add tests (#1292)
* Add clean deleted responses task on startup, and add tests

* Bump version

* Add hookDatabaseInit() call to perform ops on DB startup

* Refactor clean responses function to fetch all from db instead of batching, move the call to db init hook, and refactor tests to use spyOn
2018-12-04 22:26:18 -05:00
Gregory Schier
8eb494dfe8 Add hookDatabaseInit() call to perform ops on DB startup 2018-12-03 13:43:43 -05:00
Gregory Schier
de03bba8fc Bump version 2018-11-30 02:04:08 -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
Gregory Schier
8b364bd8eb Bump version 2018-11-30 01:20:04 -05:00
Gregory Schier
2c601af8d1 Refresh code editor when variables uncovered 2018-11-30 01:18:52 -05:00
Gregory Schier
300615e155 Fix a few hotkey things 2018-11-30 01:16:59 -05:00
Ricky Chandra
3e21ee78d4 Add keyboard shortcut to focus on response viewer (#1265)
* Add keyboard shortcut to focus on response viewer

* Fix Flow violations
2018-11-30 00:52:07 -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
e3c4ad7e1a Fix GraphQL schema z-index (Fixes #1271) 2018-11-28 15:13:57 -05:00
Gregory Schier
d09772fbdd Change ligatures default to false 2018-11-28 12:44:43 -05:00
Gregory Schier
64eb6713c8 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-27 20:40:09 -05:00
Gregory Schier
6d14fdd81d More robust request moving (Fixes #1280) 2018-11-27 20:39:55 -05:00
Pythonidea
b483bc7d65 Update window-utils.js (#1267)
fix  about menu  shell : undefined
2018-11-19 17:38:50 -08:00
Ryan Plessner
2aca070e51 Add Hawk Ext feature (#1266) 2018-11-17 18:04:03 -08: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
Gregory Schier
0010bbacef Delete unused file 2018-11-07 16:53:50 -05:00
Gregory Schier
5abd3ed141 Resolve conflicts 2018-11-07 16:51:27 -05:00
Gregory Schier
551dab73e9 Tweak new update notification setting 2018-11-07 15:14:49 -05:00
Gregory Schier
47aef7f9c9 Build Linux on 14.04 again (except for Snap) 2018-11-06 12:27:38 -05:00
Gregory Schier
7ac74469a3 Fix tests 2018-11-06 09:04:53 -05:00
Gregory Schier
e9a16cb16d Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-06 08:54:12 -05:00
Gregory Schier
01196cf457 Fix Prompt plugin (Closes #1063) 2018-11-06 08:52:55 -05:00
nickhomme
4b1db7544e [Re-Submitted] Added support for file extension filtering as well as ability to select a directory to file picker dialog (#1131)
* Added file extensions filtering as well as ability to select directories to the file input picker.

* Removed redundant code using just one type 'file' and allowing the dev to pass in array of what types they want (file/directory)

* Fixed test
2018-11-05 22:48:24 -04:00
Gregory Schier
0aa842ca5f Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-05 21:48:12 -05:00
Gregory Schier
fa9ffdca24 Fix lint error 2018-11-05 21:48:00 -05: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
04bf4416cd Update jsonlint 2018-11-05 21:35:53 -05:00
Gregory Schier
dcf12d2a4f Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-05 21:31:18 -05:00
Gregory Schier
c0f363e272 Don't allow conversion between form-data and JSON (Closes #1151) 2018-11-05 21:31:02 -05:00
Gregory Schier
fc261aa1cd
Better control over schema fetching (#1249) 2018-11-05 22:10:09 -04:00
artywhite
010733f86d Issue 1210: Disable update notification (#1234) 2018-11-05 20:41:42 -04: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
0b62bd2deb Update insomnia-node-libcurl 2018-10-21 16:46:28 -04:00
Timothy Lim
2b3591f6e4 Fixes #922: Clear Content-Type when selecting 'No Body' (#1214)
* Clear Content-Type when selecting 'No Body'

* Remove CONTENT_TYPE_NO_BODY and simplify filter
2018-10-20 10:24:27 -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
Gregory Schier
60cde22292 Escape windows paths differently (Fixes #1217) 2018-10-17 16:25:15 -04:00
Gregory Schier
8038612f0e Added "Send and Download" option to advanced send menu (Closes #940) 2018-10-17 16:15:25 -04:00
Gregory Schier
a4517eb87e Prevent dropdown from being too small (Fixes #1113) 2018-10-17 15:37:12 -04:00
Gregory Schier
1b1c3f63d3 Updates to new font selection setting 2018-10-17 14:21:34 -04:00
Evans Y
955131472a * Implemented normal, monospace font selection and on-pff for font variant (#1213)
ligatures

* Make font-size and font-family based on CSS variables
2018-10-17 13:26:19 -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
KarthikSiddarth
6f7a6d820b Validate url (#1186)
* place validateURL module in insomnia-url package

* import validataeURL module and add it to the exports

* import validateURL and pass h.value to the function, if its a url, wrap with the link component or just leave as it is

* remove validateURL module from insomnia-url package

* delete import statment that imports validateURL module

* place validateURL function inside reponse-header-viewer

* require URL api from url module
2018-10-02 09:17:32 -04:00
Masov
018d75e705 Ordered workspace list (#1179)
* Ordered workspace list

* Remove workspace list order from settings

* Remove unused const
2018-09-30 15:43:50 -04:00
Joel Sánchez López
d9ef8b5593 EDN support (#1176)
* EDN support

* Move Clojure codemirror import

* Add package-lock.json
2018-09-30 15:25:44 -04:00
Masov
48dd56fe2b Allow to choose space as a indentation character (#1177) 2018-09-26 19:08:32 -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
a921c9c054 Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-09-08 15:01:54 -04:00
Gregory Schier
74c03e2da0 Fix XSS in variable autocomplete dropdown 2018-09-08 15:01:34 -04:00
garyking
3702d11d08 Uppercase URL (#1139)
It's an acronym.
2018-08-27 12:24:33 -04:00
Gregory Schier
4a3857ae7c Bump version 2018-08-16 00:35:00 -04:00
Gregory Schier
8d71eab78c
Ability to disable syncing of cookies and client certs (Closes (#1120) 2018-08-16 00:34:33 -04:00
Gregory Schier
0967ed4e25 Support version suffix in plugin install 2018-08-04 11:52:35 -07:00
Gregory Schier
c25bc82085 Bump version 2018-08-01 13:55:09 -07:00
Gregory Schier
21732c8aa9 Update some deps 2018-08-01 13:08:33 -07:00
Gregory Schier
7af8514e42 Fix AWS signature with content-type (Closes #1089) 2018-08-01 11:28:11 -07:00
Gregory Schier
ff32334296 Publish
- insomnia-app@1.0.40
 - insomnia-prettify@0.1.5
2018-08-01 11:09:33 -07:00
Gregory Schier
9e1af8952c Better JSON unicode handling (Fixes #1088) 2018-08-01 11:06:37 -07:00
Gregory Schier
40d6f610c4 Fix for recursive rendering 2018-07-25 16:58:01 -04:00
Gregory Schier
c5e6326cbf Publish
- insomnia-app@1.0.39
 - insomnia-prettify@0.1.4
2018-07-25 12:24:57 -04:00
Gregory Schier
e12ae8f932 Better GraphQL query highlighting 2018-07-25 12:24:47 -04:00
Gregory Schier
6acd591562 Only disable operations in GraphQL (Closes #1069) 2018-07-25 11:38:48 -04:00
Gregory Schier
ddafe5d938 Publish
- insomnia-plugin-core-themes@1.0.4
 - insomnia-app@1.0.38
2018-07-25 11:30:58 -04:00
Gregory Schier
acc759ba8c Theme fixes (Closes #1070, Closes #1061, Closes #1072) 2018-07-25 11:30:45 -04:00
Gregory Schier
ff9280e5da bump version 2018-07-24 12:25:49 -04:00
Gregory Schier
6ac11a8ce1 Publish
- insomnia-plugin-cookie-jar@1.0.2
 - insomnia-plugin-hash@1.0.5
 - insomnia-plugin-jsonpath@1.0.6
 - insomnia-app@1.0.37
2018-07-23 13:26:47 -04:00
Gregory Schier
af2a556add Syntax 2018-07-23 13:24:41 -04:00
Gregory Schier
f4d26d5cdc Publish
- insomnia-app@1.0.36
 - insomnia-libcurl@0.0.16
2018-07-20 18:31:37 -04:00
Gregory Schier
0f1375015b Publish
- insomnia-app@1.0.35
 - insomnia-libcurl@0.0.15
2018-07-20 18:15:17 -04:00
tippl
26498aeaec Add bottom bar env highlight color style (#1054)
* Add bottom bar env highlight color style

Had to add this one to the grid, because border appeared outside of the
viewport.

* Use box-sizing attribute instead

* Add more environment color highlight options

* Rename env highlight color styles
2018-07-20 15:05:15 -07:00
Gregory Schier
2074738a7a Publish
- insomnia-plugin-prompt@1.1.6
 - insomnia-app@1.0.34
 - insomnia-httpsnippet@1.16.12
 - insomnia-libcurl@0.0.14
2018-07-20 18:04:05 -04:00
Gregory Schier
2ffb15ac1d Revert Lerna 2018-07-20 16:51:31 -04:00
Gregory Schier
307c349fb2 Try different npm version 2018-07-20 16:10:59 -04:00
Gregory Schier
989102fa70 Another small theme styles tweak 2018-07-19 16:49:28 -04:00
Gregory Schier
9a9fe31fb7 Improved theme selection styles 2018-07-19 16:34:13 -04:00
Gregory Schier
a65dd6a37e Fix tag editor preview jumping 2018-07-19 16:16:06 -04:00
Gregory Schier
285e77dc8f Publish
- insomnia-plugin-jsonpath@1.0.5
 - insomnia-plugin-prompt@1.1.5
 - insomnia-app@1.0.33
2018-07-19 16:04:28 -04:00
Gregory Schier
22da044691 Publish
- insomnia-app@1.0.32
 - insomnia-libcurl@0.0.13
2018-07-18 19:15:23 -04:00
Gregory Schier
12117d3d26 Revert postinstall 2018-07-18 19:15:14 -04:00
Gregory Schier
85532e858a Fix deps maybe 2018-07-18 18:10:08 -04:00
Gregory Schier
f3bb21fd24 deps 2018-07-18 10:53:57 -04:00
Gregory Schier
3cd6a84273 Publish
- insomnia-app@1.0.31
 - insomnia-libcurl@0.0.12
2018-07-18 10:50:37 -04:00
Gregory Schier
d8bcc01b06 Add npm back to deps 2018-07-17 22:00:09 -04:00
Gregory Schier
cffbb61aac Bump version 2018-07-17 21:23:58 -04:00
Gregory Schier
2e1fda8b64 Theme tweaks 2018-07-17 20:48:10 -04:00
Gregory Schier
72da789f78 Support raw CSS for themes 2018-07-17 19:39:15 -04:00
Gregory Schier
5ad79f3bbc
JS themes and convert themes (#1047)
* JS themes and convert themes

* Publish

 - insomnia-plugin-core-themes@1.0.1
 - insomnia-app@1.0.28

* Publish

 - insomnia-plugin-core-themes@1.0.2
 - insomnia-app@1.0.29

* Publish

 - insomnia-plugin-core-themes@1.0.3
 - insomnia-app@1.0.30
2018-07-17 16:34:28 -07:00
Gregory Schier
c7dae0cdf3 Publish
- insomnia-app@1.0.27
 - insomnia-libcurl@0.0.10
2018-07-16 10:39:32 -04:00
Gregory Schier
ff79525fc4 Publish
- insomnia-app@1.0.26
 - insomnia-libcurl@0.0.9
2018-07-16 10:10:34 -04:00
Gregory Schier
c22355efbc Publish
- insomnia-app@1.0.25
 - insomnia-libcurl@0.0.8
2018-07-16 10:01:19 -04:00
Gregory Schier
fcc8e53765 tweak inactive form style 2018-07-16 09:58:03 -04:00
Gregory Schier
eb6fee088a Update dep 2018-07-16 09:54:31 -04:00
Gregory Schier
6ce95633b6 Break cache 2018-07-16 09:13:48 -04:00
Gregory Schier
d5bc716918 Charcode for webview (Fixes #1045) 2018-07-16 08:54:18 -04:00
Gregory Schier
794646f2ac Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-07-16 08:53:43 -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
Sean Washington
1a23dc2b4b First pass at one light/dark themes (#1044) 2018-07-15 19:12:46 -07:00
Gregory Schier
58873bfe38 Move electron rebuild to postinstall 2018-07-12 17:40:15 -04:00
Gregory Schier
431643ac31 try 2018-07-12 17:24:48 -04:00
tippl
f681d13331 Add bar color indicator for environments (#1042)
* Add bar color indicator for environments

* Fix according to code review
2018-07-12 13:38:51 -07: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
66637f33d4 Fix async tag error handling (Closes #1027) 2018-07-09 10:53:11 -04: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
Gregory Schier
99cf230720 Publish
- insomnia-app@1.0.22
 - insomnia-libcurl@0.0.5
2018-06-29 15:58:50 -04:00
Gregory Schier
8ef0b03d9f Add clear button to sidebar filter (Closes #989) 2018-06-29 14:50:08 -04:00
Gregory Schier
145d566a65 More precise environment cascading (Fixes #1020) 2018-06-29 12:29:46 -04:00
Gregory Schier
8a751883f8 Remove empty ruleset 2018-06-28 17:17:40 -04:00
Gregory Schier
17df94d4ec Add @flow comment to flow-typed files 2018-06-28 17:16:18 -04:00
Gregory Schier
7459e84759 Make themes free 2018-06-28 16:11:28 -04:00
Gregory Schier
f9ac47cdb1 Disable non-working GraphQL jump feature 2018-06-28 16:07:32 -04:00
Gregory Schier
5aaa350fc1
Add GraphQL popup reference on hover (#1019) 2018-06-28 13:05:45 -07:00
Gregory Schier
2787f93efa Comment 2018-06-27 23:49:40 -04:00
Gregory Schier
4b64c81222 Don't render GraphQL comments (Fixes #895) 2018-06-27 23:47:55 -04:00
Gregory Schier
07b4e02693 Show operationName and some tweaks 2018-06-27 22:49:24 -04:00
Gregory Schier
10fb8b19e3 Improvements to GraphQL query highlight system 2018-06-27 18:01:23 -04:00
Gregory Schier
59a6dd2781 Run Prettier 2018-06-27 15:33:02 -04:00
Walter Barbagallo
29d13ce096 Run GraphQL query based on cursor position. (#990)
* Run GraphQL query based on cursor position.

If there are multiple operations in the GraphQL query it automatically choose
which operation to run based on the cursor position.

* Highlight current operation

* Refactor. Prevent some query change issues.

If the current operation name gets deleted the new current operation
is set as fallback to the first operation name.
This refactor includes a `_documentAST` property on GraphQLEditor component,
so it is locally available (it avoids multiple graphql `parse` function calls).
Also a _queryEditor reference is added to the component.
2018-06-27 12:31:32 -07:00
Gregory Schier
2de3a4d0d0 Remove console log 2018-06-27 02:05:13 -04:00
Gregory Schier
16cc9bbc42 Refactor nunjucks tag update logic (Closes #1014) 2018-06-27 02:03:53 -04:00
Gregory Schier
b10316c9ab Fix weird nunjucks tag hover bug (Closes #1014) 2018-06-27 01:40:45 -04:00
Gregory Schier
e811444eac Fix tests 2018-06-27 01:29:37 -04:00
Gregory Schier
6126dce3c5 Fix plugin store API tests 2018-06-27 01:21:11 -04:00
Gregory Schier
74d28790ab Publish
- insomnia-plugin-request@1.0.10
 - insomnia-app@1.0.21
2018-06-27 01:17:47 -04:00
Gregory Schier
4bc5f1b789
Revampt fuzzy sort to be much more intuitive (#1012) 2018-06-26 22:13:48 -07:00
Gregory Schier
f921b5582e Publish
- insomnia-plugin-prompt@1.1.3
 - insomnia-app@1.0.20
2018-06-27 01:13:01 -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
8a8c4b3979 Prompt tag now only prompts once per request maximum 2018-06-27 00:58:34 -04:00
Gregory Schier
15e230c77a Fix tests 2018-06-26 17:26:51 -04:00
Gregory Schier
60f6a31a95 Add folder index to request tag (Closes #1011) 2018-06-26 17:26:44 -04:00
Gregory Schier
4fec7fd9e8 More restrictive fuzzy search (Closes #988) 2018-06-26 16:58:03 -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
f08057a6b8 Better Prettier pre-commit 2018-06-25 16:10:12 -04:00
Gregory Schier
14fb8a1585 Env now available when no active request (Fixes #1005) 2018-06-25 15:58:03 -04:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Gregory Schier
0ad7607ac3 Fix lint issue 2018-06-25 13:08:58 -04:00
Gregory Schier
2f68b88ca5 Remove random empty file 2018-06-25 13:02:09 -04:00
Gregory Schier
ec80e04c5f Add highlight color for hljs-keyword (Closes #999) 2018-06-25 12:57:09 -04:00
Gregory Schier
963339204b Some improvements to GraphQL variable autocomplete 2018-06-25 11:38:49 -04:00
Gregory Schier
05d93aab8f Fix lint errors 2018-06-18 17:15:15 -04:00
Gregory Schier
deb32c0736 CRUD hooks and purge response body on delete (Closes #799) 2018-06-18 17:13:56 -04:00
Roman Besolov
beef9b852a Closes #959 Fix "Copy Curl" to respect "encode url" option (#979)
* issue-959 Fix "Copy Curl" to respect "encode url" option

* issue-959 Fix tests

* issue-959 Fix review comments
2018-06-08 20:22:52 -07:00
Gregory Schier
b11f5a5c69
Plugin Storage API (#981)
* Add plugin storage API

* Add tests
2018-06-08 20:22:39 -07:00
Gregory Schier
1e72f5270a Drag handles on environment sidebar (Closes #982) 2018-06-08 23:18:44 -04:00
Gregory Schier
6519274a9d Publish
- insomnia-plugin-request@1.0.8
 - insomnia-app@1.0.18
 - insomnia-httpsnippet@1.16.8
2018-06-08 17:23:34 -04:00
Gregory Schier
3f9f89607b Ordered list styling for Markdown (Closes #977) 2018-06-08 17:05:48 -04:00
Gregory Schier
fe63c23298
Sortable environments working with react-sortable-hoc (#978) 2018-06-08 13:47:49 -07:00
Gregory Schier
1d238a9005 A few UI tweaks 2018-06-07 13:55:28 -04:00
Gregory Schier
5d0e307832
Add name and folder options to Request tag (#972)
* Add name and folder to request plugin

* Publish

 - insomnia-plugin-request@1.0.7
 - insomnia-app@1.0.17
2018-06-06 18:34:11 -07:00
Gregory Schier
c82e163841
Add ability to view introspection request/response timeline upon error (#970)
* Add ability to view introspection request/response timeline upon error

* Fix tests
2018-06-06 13:48:14 -07:00
Gerry Tan
3e77cd4a69 Atlassian ASAP auth: default additionalClaims to empty object if not provided. Closes #952. (#953) 2018-06-06 13:29:07 -07:00
Gregory Schier
6e5a42b194
Add setBody to response plugin API (#969) 2018-06-06 13:27:53 -07:00
Gregory Schier
28b7bd8a40 Add OperationName to introspection query (Closes #968) 2018-06-06 14:55:18 -04:00
Gregory Schier
cd4a983d5f Fix optional prop for Editable 2018-05-25 00:08:39 -04:00
Gregory Schier
bbf1a45bc9 Fix Flow error 2018-05-24 23:14:25 -04:00
Gregory Schier
0d63a6e7c1 Preserve editor undo when switching requests and don't allow undo initial value 2018-05-24 23:01:47 -04:00
Gregory Schier
020b8b301f Also send nonce for ID Token OAuth2 type 2018-05-24 22:55:19 -04:00
Gregory Schier
1a3ba52575 Bump version 2018-05-24 21:57:28 -04:00
Gregory Schier
03b088d53b Fix sidebar renaming (Closes #947) 2018-05-24 21:44:49 -04:00
Gregory Schier
e0d91fade3 Default new folders to expanded state 2018-05-24 21:40:36 -04:00
Gregory Schier
20ed159da8 Fix deps 2018-05-23 04:47:54 -04:00
Gregory Schier
dc3c1edc36 no longer minify 2018-05-23 04:32:43 -04:00
Gregory Schier
c93f6ffcec Update version 2018-05-23 03:10:57 -04:00
Gregory Schier
66bb89edc4 Tweak request switcher styles 2018-05-23 03:07:22 -04:00
Gregory Schier
0594126401 Bump versioN 2018-05-23 02:55:31 -04:00
Gregory Schier
31cd964cb1 Fix max height of query editor 2018-05-23 02:54:52 -04:00
Shawn Axsom
7ef37363bc UI for filter requests by folder, URI, method, query string (#864)
* Re-enable searching by url, request method

* Fuzzy matching UI for Quick Switch window

* Extract out a Highlight component for Quick Switch matching, and apply fuzzysort to all fuzzy matching to be consistent

* Highlighting of search results on the sidebar

* Move fuzzysort dependency into the insomnia-app package

* Move inline styling to LESS

* Update type returned by fuzzyMatch method

* Update unit tests, fix flow errors

* Updated tests reflecting changes in fuzzyMatch

* Fix lint error
2018-05-22 23:39:01 -07:00
Gregory Schier
a0b27cb384 Bump version 2018-05-23 00:55:51 -04:00
skang0601
8fdd22da3d Traversing further into scope directories (#914) 2018-05-22 21:49:08 -07:00