Commit Graph

55 Commits

Author SHA1 Message Date
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
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
Ernest Rekel
fab8b56ab0 Prevent modal closing for vim editor by stopping event propagation (#1429) 2019-04-13 17:38:51 -04: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
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
Gregory Schier
776b3bd31e Small tweak 2018-12-15 00:18:19 -05:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -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
8eb494dfe8 Add hookDatabaseInit() call to perform ops on DB startup 2018-12-03 13:43:43 -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
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
99de4725fa prettier entire project 2018-10-17 12:42:33 -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
Gregory Schier
74c03e2da0 Fix XSS in variable autocomplete dropdown 2018-09-08 15:01:34 -04:00
Gregory Schier
40d6f610c4 Fix for recursive rendering 2018-07-25 16:58:01 -04:00
Gregory Schier
145d566a65 More precise environment cascading (Fixes #1020) 2018-06-29 12:29:46 -04: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
e811444eac Fix tests 2018-06-27 01:29:37 -04:00
Gregory Schier
4bc5f1b789
Revampt fuzzy sort to be much more intuitive (#1012) 2018-06-26 22:13:48 -07:00
Gregory Schier
15e230c77a Fix tests 2018-06-26 17:26:51 -04:00
Gregory Schier
4fec7fd9e8 More restrictive fuzzy search (Closes #988) 2018-06-26 16:58:03 -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
2f68b88ca5 Remove random empty file 2018-06-25 13:02:09 -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
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
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
f918e647c0 Remove analytics 2018-05-23 00:28:25 -04:00
Gregory Schier
a03b1546bf Fix autocomplete hotkey in settings (Fixes #872) 2018-04-25 13:52:13 -04:00
Gregory Schier
b0ff54d050 Updated eslint, flow, and fixed errors 2018-04-19 15:54:19 -04:00
Gregory Schier
c9402c58d0 Upgrade flow 2018-03-29 13:59:32 -04:00
Shawn Axsom
bee9973839 Filter requests by folder, URI, method, query string (#797)
* Quick Switch matching for Request URL and Method

Previously only Request Name was searched for in Quick Switch window.
This adds support for searching Request URL and Method as well.
A fuzzyMatchAll function has been added to be able to search different
fields in any
order, space delimited.

* Include request parameters in searchable fields

* Allow searching requests by folder paths

* More descriptive placeholder for Quick Switch modal search input

* Update sidebar filter to match Quick Switch, allowing URL and Query String matching

* More descriptive placeholder for sidebar search

* Unit tests for fuzzyMatch and fuzzyMatchAll

* More unit tests for fuzzyMatch and fuzzyMatchAll

* minor refactorings
2018-03-28 16:57:05 -04:00
Gregory Schier
dc0695de23 Add get/set/has/remove parameter fns to plugin API 2018-03-28 16:48:58 -04:00
Gregory Schier
d5b75c7d32 Curl generation query params bug (Fixes #810) 2018-03-26 13:50:43 -07:00
Gregory Schier
87ccc34bad Setting for Curl's PATH_AS_IS flag (Closes #823) 2018-03-26 10:43:42 -07:00
Gregory Schier
f2466b5d7e Apply request hooks to har export (Closes #749) 2018-03-08 22:59:23 +13:00
Gregory Schier
1c69e3a1b4 Fix tests 2018-03-06 16:45:40 +13:00
Gregory Schier
d9aceff789 Fix type issue 2018-03-06 16:15:09 +13:00
Gregory Schier
e57bc871f2 Better host header handling for AWS auth (Closes #740) 2018-02-08 17:09:13 +08:00
slawus
71ed57143e Added support for async importers (#694) 2018-01-16 12:51:28 +07:00
Gregory Schier
aba3c8ed86
Prompt Template Tag and Plugin arg validation (#673)
* Plugin arg validation, prompt tag, and some changes needed

* Version bumps
2017-12-21 06:01:51 -08:00
Gregory Schier
22c02e5d03 More accurate HTTP status messages (Closes #660) 2017-12-18 19:10:34 +01:00