Commit Graph

271 Commits

Author SHA1 Message Date
Gregory Schier
5adf101d83 Don't send requests twice (Fixes #1307) 2018-12-15 20:34:42 -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
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
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
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
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
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
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