Commit Graph

345 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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