Commit Graph

735 Commits

Author SHA1 Message Date
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
Corey Gouker
6fe838eef7 Set macOS icon to png for correct icon.icns build (#1707) 2019-10-07 11:51:04 -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
Gregory Schier
cab9475de9 Remove package linking from release 2019-10-02 08:19:23 -07:00
Gregory Schier
eed5672948 Bump package locks 2019-10-02 08:01:58 -07:00
Gregory Schier
ebb8bb531d Version bump 2019-09-30 17:58:07 -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
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
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
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
Gregory Schier
1a80b3131a Bump app version 2019-08-06 12:05:05 -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
d3d788eb06 Fix zprint-clj version 2019-08-02 15:37:25 -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
dependabot[bot]
465f7247f6 Bump lodash from 4.17.11 to 4.17.14 (#1599)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 16:18:25 -07: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
67bd8570f6 Dep updates 2019-06-07 12:02:02 -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
c5cdf15fe6 Publish
- insomnia-app@1.1.7
 - insomnia-importers@2.0.19
2019-05-29 23:08:11 -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
097596e1a4 Merge remote-tracking branch 'origin/develop' into develop 2019-05-21 14:41:10 -04:00
Gregory Schier
8bb2f818c8 Fixes for recent request switcher (Closes #1512) 2019-05-21 14:41:03 -04:00
Nathan Banks
639d0cc33b Add iconUrl to electronbuilder so it populates in Control Panel and Windows Settings properly (#1514) 2019-05-21 12:35:12 -04:00
Gregory Schier
b6889d199e Fix squirrel startup logic 2019-05-15 18:34:12 -04:00
Gregory Schier
92641f872a Bump version 2019-05-15 17:30:38 -04:00
Gregory Schier
33714a75a0 Publish
- insomnia-app@1.1.6
 - insomnia-plugin-cookie-jar@1.0.14
 - insomnia-plugin-jsonpath@1.0.17
 - insomnia-plugin-response@1.0.23
2019-05-15 17:29:27 -04:00
Gregory Schier
1d167cbed2 Bump version 2019-05-15 16:01:49 -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
20ef8015c5 Publish
- insomnia-app@1.1.5
 - insomnia-plugin-cookie-jar@1.0.13
 - insomnia-plugin-prompt@1.1.14
 - insomnia-plugin-request@1.0.23
 - insomnia-plugin-response@1.0.22
2019-05-10 09:53:47 -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
4a50ad1496 Upgrade yarn-standalone.js (#1202) 2019-05-09 13:45:26 -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
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