Commit Graph

494 Commits

Author SHA1 Message Date
Nilay Majorwar
157ccac2f8 Added display support for X-Http-Method-Override (#1744) 2019-10-31 12:46:48 -04:00
Nilay Majorwar
ad278ea01a [Feature] Added request-specific followRedirects setting (#1737)
* Added request-specific follow redirect setting

* Added hint text to follow redirects setting
2019-10-31 12:02:03 -04:00
Adam Lavin
c88eb129b9 Fetch new access tokens if refreshing token returns "invalid_grant" (#1729) 2019-10-31 11:58:58 -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
61b4c6e78d Dropdown children now work with React.Fragment 2019-10-30 12:30:34 -04:00
Gregory Schier
8110caa4ff Small tweak to build scripts 2019-10-30 10:24:32 -04:00
Gregory Schier
e1d3f15311 Better entities initialization 2019-10-30 10:24:14 -04:00
Gregory Schier
46373fda2e Try fix CI 2019-10-08 16:46:17 -07:00
Gregory Schier
0c53522f46 Add Apple Notarization 2019-10-08 16:31:32 -07:00
Gregory Schier
384c65bd37 Reset window bounds if not within bounds of any display (Closes #1702) 2019-10-07 12:37:38 -07:00
Gregory Schier
f5978b22f9 Fix tab key in code editor (Closes #1703) 2019-10-07 12:26:28 -07:00
Gregory Schier
edf94643c1 Re-detect operationName when editing GQL query (Fixes #1708) 2019-10-07 12:17:34 -07:00
Gregory Schier
1817534025 Merge branch 'master' of github.com:getinsomnia/insomnia into develop 2019-10-07 11:55:23 -07:00
Malachi Willey
552ca2ad69 No longer override in GraphQL editor on initialization (#1701) 2019-10-07 11:54:46 -07:00
Malachi Willey
607b219afa Correct typo on import dialog (#1696) 2019-10-07 11:52:00 -07:00
Alex Hîncu
16a00cf70b Add request name in the hover tooltip (#1705) 2019-10-07 11:44:16 -07:00
Alex Hîncu
8a290784aa Add ability to duplicate environments (#1706) 2019-10-07 11:43:34 -07:00
v1ktor
9909f8e907 Escape yarn paths (#1699) 2019-10-07 11:37:42 -07:00
v1ktor
e1c185ced2 Escape dirs in the yarn cmd (#1688) 2019-09-30 13:13:03 -07:00
Ranjan Purbey
e14237a555 Fix transparent line-numbers background (#1690) 2019-09-30 13:11:15 -07:00
Gregory Schier
bdb09f9eea Send app property with notification request 2019-09-30 11:44:04 -07:00
Gregory Schier
c27140648a Send app ID to auto-update server 2019-09-18 12:07:09 -07:00
Gregory Schier
945ff0e631 Unify build config in one place 2019-09-17 17:02:42 -07:00
CodyDWJones
d2d29bd1e1 Add Audience parameter for Resource Owner Password Credentials (#1677) 2019-09-17 11:59:59 -07:00
Gregory Schier
32a45ac8bf Consider min x/y when clamping initial window (Fixes #1255) 2019-08-21 10:43:54 -07:00
Gregory Schier
30b54ee3d3 Base64 encode JSONPath template tag 2019-08-20 17:24:18 -07:00
Gregory Schier
57bf6c2df2 Always show GraphQL introspection errors (Fixes #1643) 2019-08-20 11:24:53 -07:00
Gregory Schier
d4a4efc515 Tweak keysource alg for more robust recursion 2019-08-16 14:19:25 -07:00
Gabrz
5e53c82972 [Bug Fix 1288] "Undefined" for nested variables (#1637)
* Update nunjucks-tags.js

(Fixes bug #1288) Extract parent from nunjucks tag when it is a nested property nested. The parent is then used to fetch the keyContext

* Revert "Update nunjucks-tags.js"

This reverts commit 4d4da99de3.

* Update render.js

Added function that recursively gets the keys. So they will show the correct parent location in the nunjuck tooltip.

* Rework after review from gschier

A few little changes after review of the initial change.

* Added keySource for Arrays

Added loop to store Key and Source when item is an Array.
2019-08-16 13:54:01 -07:00
Gregory Schier
e965de17f9 Still show nunjucks tag label when render error present 2019-08-15 14:53:27 -07:00
Gregory Schier
899926450a Fix tests 2019-08-15 14:06:55 -07:00
Gregory Schier
3e2311e4e1 Make OpenAPI importer generate deterministic IDs 2019-08-15 12:56:32 -07:00
Gabrz
34a55477a7 Changed type determination 2019-08-13 17:31:02 +02:00
Gregory Schier
257685ca47 Ask user on import whether they want to use current workspace 2019-08-12 17:15:44 -04:00
Gregory Schier
26dc5233cc GraphQL explorer now uses font color from theme 2019-08-12 16:54:45 -04:00
Gregory Schier
7c5dc005ae GraphQL explorer now uses font color from theme 2019-08-12 16:50:41 -04:00
Gabrz
e4137d83d2 Update render.js
(Feature Request #1580) Merge Environment nested objects instead of overwrite them
2019-08-11 11:12:48 +02:00
Gregory Schier
5ce2825ea9 Fix Codemirror state restore in wrong place 2019-08-09 16:45:44 -04:00
Gregory Schier
972477d2d4 Fix for Swagger and OpenAPI importers using wrong workspace key 2019-08-09 16:45:25 -04:00
Gregory Schier
baedfd2aef Remove ability to prettify YAML (doesn't need it) 2019-08-09 13:10:20 -04:00
Gregory Schier
3f02e84d4c Add YAML name to beautify button 2019-08-09 12:54:49 -04:00
Gregory Schier
05b2f0ba10 Add support for YAML content type 2019-08-09 12:52:43 -04:00
Gregory Schier
2c1130e691 Always indent YAML with spaces instead of tabs since tabs are not valid 2019-08-09 12:42:10 -04:00
Gregory Schier
60b429b71d Remove unnecessary check for editor indenting 2019-08-09 12:37:13 -04:00
Gregory Schier
b30f8a9e77 Add extra "editor" scope for plugin themes 2019-08-09 12:15:29 -04:00
Gregory Schier
99964821d5 Convert Promise to async/await and make sidebar dragging more robust. 2019-08-09 11:09:48 -04:00
Gregory Schier
09861f54b2 Fix JSONPath dependency issue (Closes #1624) 2019-08-07 12:18:14 -04:00
Gregory Schier
a3ab2acfd4 Fix change password logic 2019-08-07 11:08:25 -04:00
Opender Singh
4bfb6eb200 Add back View > Toggle Sidebar item (#1548)
* Add View > Toggle Sidebar item back

* Remove from _globalKeyMap to prevent double toggle

* Remove sidebar toggle hotkeys
2019-08-05 14:38:19 -04:00
Gregory Schier
45d0a498cd Convert promise to async/await 2019-08-05 14:33:07 -04:00
Gregory Schier
554db6243b Merge branch 'develop' of github.com:getinsomnia/insomnia into pull/1584 2019-08-05 14:28:03 -04:00
Gregory Schier
9f90410a0b Merge branch 'pull/1597' into develop 2019-08-05 14:13:11 -04:00
Gregory Schier
685c522886 Improve logic around saving last value in Prompt tag 2019-08-05 14:12:56 -04:00
Gregory Schier
8fda24ae47 Small sidebar refactor and moved ESLint to top level 2019-08-02 15:01:01 -04:00
Gregory Schier
bb5eaaa871
GraphQL Docs Explorer (#1616)
* Implement a GraphQLExplorer for visually browsing schemas

* Fix some type stuff and theme

* Adjust GraphQL explorer colors for fields to match Codemirror

* Explorer state not modified when showing docs from dropdown

* A few more small tweaks and fixes
2019-07-31 11:05:43 -04:00
Gregory Schier
8d9352aaec Revert entity loading to use model.all() (Fixes #1582) 2019-07-02 15:42:00 -04:00
Brendan O'Leary
f836913e28 Fix race condition on setting request body and headers 2019-07-02 09:31:44 -04:00
Nathan Thomas
a7ac4c1549 Update HTTP Status Code Descriptions (#1554)
* Update error messages in 400 range

* Revert phrasing of code 415

* Remove yarn lock from repo for PR

* Update status code 101 for flow and phrasing
2019-06-10 15:19:19 -04:00
Gregory Schier
c31f71b188 Fix extraneous import 2019-06-07 11:33:10 -04:00
Gregory Schier
cdca249ab8 Extra check for sync dropdown 2019-06-07 11:25:21 -04:00
Gregory Schier
8ce49bfb49 Response history now shows correct request methods (Fixes #1552) 2019-06-07 11:25:02 -04:00
Uday K
5a26fe171e Move request group instead of copying (#1543) 2019-06-03 14:49:28 -04:00
Opender Singh
5d82a5ec95 Download path settings per request (#1544)
* Remove from state

* Download path to meta

* Finished?

* Fixed!

* Remove props from ResponsePane
2019-06-03 14:45:22 -04:00
Gregory Schier
4fdb99a5ef Add sync beta button in sync menu 2019-05-29 16:53:55 -04:00
Gregory Schier
a70eb2bee4 Merge remote-tracking branch 'origin/develop' into develop 2019-05-29 16:43:15 -04:00
Gregory Schier
a5fcc62679 Add Linux icons back (Closes #1513) 2019-05-29 16:43:11 -04:00
Gregory Schier
68ae6934cb
Add ability to change password (#1532)
* Got password reset form mostly done

* Hooked up the rest of the password-change code.

* Added a completion state

* Fix weird comment that got updated by accident
2019-05-29 16:38:16 -04:00
Gregory Schier
13292448c9 Fix environment editing and drag colors (Closes #1530) 2019-05-29 16:37:39 -04:00
Opender Singh
24a2e75fa3 Preserve property order in environment editor (#1497)
* Add json-order package

* Add propertyMap and sort properties boolean to model

* Keep property order

* Remove extra check

* Allow env editor in request group overrides to maintain order

* Add checkbox

* Order control added

* Use up to date json-order

* Rename

* Remove extra field

* Update separator

* Prevent unnecessary parse

* Move to regular dependency

* add to packedDeps

* Renames

* Remove extra code

* Removed extra state

* More fixes...

* add flowtypes for json-order

* typo

* Updated flowtypes

* Fixed?

* linting to remove unused import
2019-05-29 16:10:48 -04:00
Gregory Schier
eb793f6886 Fixed file selection not showing all files when no filter specified 2019-05-28 17:36:25 -04:00
Gregory Schier
52519a5737 Dialogs now show properly in plugins (Fixes #1520) 2019-05-23 18:02:52 -04:00
Gregory Schier
a7ceb25ac7 Wider code blocks on Markdown content (Closes #1519) 2019-05-23 11:31:40 -04:00
Gregory Schier
8bb2f818c8 Fixes for recent request switcher (Closes #1512) 2019-05-21 14:41:03 -04:00
Gregory Schier
b6889d199e Fix squirrel startup logic 2019-05-15 18:34:12 -04:00
Gregory Schier
a83596299a
Fix Response Tag infinite recursion (#1502)
* Improvements to Response tag recursion and rendering (Fixes #1500)

* Add tests for response tag dependency sending
2019-05-15 16:01:36 -04:00
Gregory Schier
ec60e2128e Refactor Squirrel startup code 2019-05-10 15:20:07 -04:00
Gregory Schier
499302f329 Don't show never active requests in recent switcher 2019-05-10 15:19:47 -04:00
Gregory Schier
b70018a9aa Fix squirrel startup check 2019-05-10 12:30:20 -04:00
Gregory Schier
7c77d9d2e6 Inline electron-squirrel-startup (Fixes #44)
Now the desktop icon will only be created on installation, not on
update.
2019-05-10 12:25:50 -04:00
Gregory Schier
ca38f215bf Improvements to sync project creation 2019-05-10 12:02:38 -04:00
Gregory Schier
b5fddf0809 Add open delay to recent request dialog 2019-05-10 10:42:08 -04:00
Gregory Schier
afe3f31a69 Fix folder order being reversed in request switcher 2019-05-10 00:08:35 -04:00
Gregory Schier
cc159d7090 Fix request switcher active index when only workspaces match 2019-05-10 00:05:27 -04:00
Gregory Schier
b46d14a71c Add reference to create a run button 2019-05-09 22:46:50 -04:00
Gregory Schier
f634a64672 NeDB more frequent compaction and higher corruption threshold (#1104) 2019-05-09 22:11:12 -04:00
Gregory Schier
d29db04b33 Keep OAuth 2.0 refresh token if a new one is not returned (Fixes #1492) 2019-05-09 21:44:22 -04:00
Gregory Schier
5068cee2cd
Feature/recent requests switcher (#1491)
* Add recent requests hotkey and sort requests by most recent in switcher

* Fix a bunch of Flow errors
2019-05-09 21:18:34 -04:00
Gregory Schier
17f3c1491b Print timestamp at the start of response Timeline 2019-05-09 13:38:36 -04:00
Gregory Schier
bba03d0eab Show when response was sent (Closes #1488) 2019-05-09 13:03:39 -04:00
Gregory Schier
db48aafa6e Updated icon 2019-05-08 17:12:10 -04:00
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