Commit Graph

132 Commits

Author SHA1 Message Date
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
ec1310000d Audit deps 2019-05-04 15:13:47 -04: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
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
Gregory Schier
5ebc53fa13 Adjusted top-level deps 2018-12-11 18:44:34 -05:00
Gregory Schier
300615e155 Fix a few hotkey things 2018-11-30 01:16:59 -05:00
Joe Bauser
182acbef2b Support postman basic, digest, bearer, oauth, and aws auth (#1244)
Add support for importing 5 new authentication types from both
Postman v2.0 and v2.1 import formats.

- Basic Auth (Fixes #1235)
- Bearer Tokens (Fixes #1236)
- Digest Auth username and password (Fixes #1237)
- AWS IAMv4 Authentication (Fixes #1241)
- Oauth 1.0 and Oauth 2.0 (Fixes #1240)

Note: For Oauth2.0 this means setting authorization to Oauth2 but
generating a disabled config, since postman does not export anything we
can use to fill our config values.
2018-11-05 20:38:43 -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
2446ac800d Start storing timestamps on timeline entries (Related #618) 2018-10-11 13:12:31 -04:00
Gregory Schier
2ffb15ac1d Revert Lerna 2018-07-20 16:51:31 -04:00
Gregory Schier
0eed38aea3 Bump some deps 2018-07-16 08:52:10 -04:00
Gregory Schier
7707d8574d audit 2018-07-11 19:18:40 -04:00
Gregory Schier
65fc2ece89 Upgrade some deps 2018-07-11 19:07:20 -04:00
Gregory Schier
f08057a6b8 Better Prettier pre-commit 2018-06-25 16:10:12 -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
20ed159da8 Fix deps 2018-05-23 04:47:54 -04:00
Gregory Schier
dc3c1edc36 no longer minify 2018-05-23 04:32:43 -04:00
Gregory Schier
31cd964cb1 Fix max height of query editor 2018-05-23 02:54:52 -04: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
63ec162cb8 Fix tests and bump version 2018-05-04 15:07:12 -04:00
Gregory Schier
4bd9b166cf Change nunjucks preview box to <textarea> (Closes #904) 2018-04-26 12:22:08 -04:00
Gregory Schier
2a139ba009 Fix app refresh after change content-type (Fixes #884) 2018-04-22 12:55:43 -04:00
Gregory Schier
7dbbeaa8ab Fetch GraphQL schema more often 2018-04-20 19:06:16 -04:00
Gregory Schier
5cedf92f0e Fix deps 2018-02-14 16:35:03 +08:00
Gregory Schier
b3e4730718 Revert electron-builder to fix icon (Closes #741) 2018-02-14 01:04:39 +08:00
Gregory Schier
cfb88ef044 Bump versions 2018-01-17 16:30:38 +07:00
Gregory Schier
82621e8fb3 Fix for swagger2 importer 2018-01-17 12:18:10 +07:00
slawus
e987931805 Feature/swagger2 importer (#695)
* Added support for async importers

* Swagger importer v0.1 - supports import of workspace, environment and endpoints from swagger 2.0 specifications. Supports query params, headers and body. Mocks body of application/json endpoitns

* Refactor: added comments, removed function-in-function declarations

* Fixed import of yaml files. Added tests for both .json and .yaml
2018-01-16 14:02:12 +07:00
Gregory Schier
b2f60daac6 Version bumps 2017-12-22 23:21:34 +01:00
Gregory Schier
07ff9049e5 More libcurl fixes 2017-11-30 17:36:36 +00:00
Gregory Schier
5fb9274b39 Bump electron-builder deps 2017-11-30 12:55:01 +00:00
Gregory Schier
c079769a54 Bump electron-builder deps 2017-11-30 12:49:11 +00:00
Gregory Schier
eb57b5a6a3 Fix Netlify deploy 2017-11-26 21:20:48 +00:00
Gregory Schier
549ce23ce8
Merge All Repositories into Monorepo for easier maintenance (#629)
* All projects into monorepo

* Update CI

* More CI updates

* Extracted a bunch of things into packages

* Publish

 - insomnia-plugin-base64@1.0.1
 - insomnia-plugin-default-headers@1.0.2
 - insomnia-plugin-file@1.0.1
 - insomnia-plugin-hash@1.0.1
 - insomnia-plugin-now@1.0.1
 - insomnia-plugin-request@1.0.1
 - insomnia-plugin-response@1.0.1
 - insomnia-plugin-uuid@1.0.1
 - insomnia-cookies@0.0.2
 - insomnia-importers@1.5.2
 - insomnia-prettify@0.0.3
 - insomnia-url@0.0.2
 - insomnia-xpath@0.0.2

* A bunch of small fixes

* Improved build script

* Fixed

* Merge dangling files

* Usability refactor

* Handle duplicate plugin names
2017-11-26 20:45:40 +00:00
Gregory Schier
5603680cef
Simplified app launch logic (#626) 2017-11-24 01:39:53 +00:00
Gregory Schier
ba26ec3163
Repair envs and jars, and create missing ones (#616)
* Repair envs and jars, and create missing ones

* Hack to make tests work
2017-11-22 14:00:12 +00:00
Gregory Schier
e9b87686e1
Upgrade Electron Builder (#498)
* Upgrade electron-builder

* Fix optional dep

* Add another dep

* Fix travis

* Fix 7zip install

* Fix icons

* Minor fix

* Delete changelog

* Moved build scripts to JS

* Some adjustments

* Remove lines

* Add 7zip back

* Update scripts

* Small tweaks

* Fix electronbuilder config

* snap dependency

* Fix pkg

* Remove snapd dep

* Updated deps and lots of fixes

* Travis update

* Return package name

* Remove snap for now

* Remove portable

* Try fixing code signing

* Bump cache

* Disable automatic tests

* Fix windows artifacts

* package-lock for app/

* Try fix npm install

* Try again

* Some minor tweaks

* Preleases by default
2017-11-20 16:07:36 +00:00
Gregory Schier
7adf8591c1
Switch to Google Analytics API (#609)
* Almost working

* First working implementation

* Simplified analytics utils

* Fix tests
2017-11-18 22:47:54 +00:00
Gregory Schier
2547e57dad
Add new multipart response viewer (#590) 2017-11-13 01:18:27 +00:00
Gregory Schier
8a1296babc Update Insomnia importers (Closes #558) 2017-11-10 14:43:04 +01:00
Gregory Schier
76611dc50a Fix graphql dependencie problems (Fixes #577) 2017-11-08 14:59:28 +01:00
Gerry Tan
f67f220c6d Atlassian ASAP authentication support (https://s2sauth.bitbucket.io/) (#565) (#566) 2017-11-07 19:14:08 +01:00
Gregory Schier
2dc44f9d7e Added Token to OAuth 1.0 (Rel #197) 2017-11-06 21:44:55 +01:00
Roman Besolov
d3e8a05fc7 oAuth 1.0a Support (#571) 2017-11-06 20:26:31 +01:00
Gregory Schier
ecfce11d7b Minor UX improvements to HAR export 2017-11-01 13:40:24 +01:00
Gregory Schier
0c48d0027d Send first named query as operationName 2017-10-30 13:55:04 +01:00
Gregory Schier
0b0d8743f9 Update jsonpath 2017-10-17 11:45:31 +02:00
Gregory Schier
0d56b84c21 Rewrote broken PDF viewer 2017-10-12 19:58:49 +02:00
Gregory Schier
07cc38f003 Don't rely on Curl for multipart/form-data (#513)
* Playing around but nothing working

* Got it working!

* Move multipart logic to own file
2017-10-11 23:43:21 +02:00
Gregory Schier
904b369c46 Flow and robustness to tag editor (#511) 2017-10-10 16:46:32 +02:00
Gregory Schier
a51fe44f74 Upgrade Electron and React 2017-09-30 22:10:57 +02:00
Gregory Schier
a2517713c5 Autoselect active env in editor and update flow (#497) 2017-09-25 23:32:58 +02:00
Julien Giovaresco
2fcf98536f Implement Hawk Authentication (#446)
* Implement Hawk Authentication

* fix the missing label of inputs

* Fix PR reviews
2017-08-21 10:43:12 -07:00
Gregory Schier
5cf3960103 Bump libcurl again 2017-08-16 15:28:04 -07:00
Gregory Schier
24a826a680 Bump libcurl again 2017-08-16 14:58:14 -07:00
Gregory Schier
b84b3c1671 Some tweaks 2017-08-16 14:31:14 -07:00
Gregory Schier
a3df61fd85 Revert Webpack to 2.2.1 2017-08-16 10:41:15 -07:00
Gregory Schier
9b6cb3fb5d No more Git deps 2017-08-15 20:49:58 -07:00
Gregory Schier
89677305b1 Update dep 2017-08-15 18:17:42 -07:00
Gregory Schier
147e57817a Fix tests 2017-08-15 17:46:28 -07:00
Gregory Schier
852a6e6f14 Slower response refresh 2017-08-15 17:19:02 -07:00
Gregory Schier
b88f4741e4 Upgrade React and dependent libraries 2017-08-09 18:56:27 -07:00
Gregory Schier
f20be20f82 Upgrade to webpack 3 2017-08-08 11:23:08 -07:00
Gregory Schier
bc54f269a8 Download plugins as tar into own dirs (#388) 2017-08-01 09:58:08 -07:00
Gregory Schier
1228c14f3b Update insomnia-importers package (Fixes #378) 2017-07-26 09:48:07 -07:00
Gregory Schier
09e1944322 Update to custom httpsnippet fork (Closes #375) 2017-07-25 13:51:49 -07:00
Gregory Schier
98b23002a2 Better graphql autocomplete 2017-07-25 11:00:30 -07:00
Gregory Schier
1df3ba4531 GraphQL Body Type (#376)
* Initial GraphQL support

* Better error handling and formatting
2017-07-24 21:15:24 -07:00
Gregory Schier
d00f8d1953 Only load dev extensions in dev 2017-07-20 12:29:16 -07:00
Louis St-Amour
6a391268e5 Adding react and redux dev tools (#327)
* Adding react & redux dev tools

To dev builds, using electron-devtools-installer

* Corrected lint error

* Updating package-lock.
2017-07-20 12:09:07 -07:00
Gregory Schier
09c219fb6d More Plugin Hooks (#352)
* Playing around with pre-request hooks

* Added response hooks

* More flow types

* Flow types on wrapper.js

* Flow types on plugin folder

* Basic tests for plugin hooks

* Make DB initilize for all tests no matter what

* Touch
2017-07-19 18:55:40 -07:00
Gregory Schier
08438b6911 Add flow to project 2017-07-17 16:32:47 -07:00
Gregory Schier
512737fd96 Some minor updates to pdf viewing 2017-06-23 08:40:43 -07:00
Gregory Schier
2d08bfb9fb Update Electron 2017-06-19 14:57:24 -07:00
Gregory Schier
93b16cc107 Track request versions and restore with response (#305) 2017-06-12 14:49:46 -07:00
Gregory Schier
1d7090e36c Update insomnia-importers to support Postman descriptions 2017-06-08 11:17:58 -07:00
Gregory Schier
a900aed870 Update insomnia-importers 2017-06-08 11:02:34 -07:00
Gregory Schier
5d957ec149 Update node-libcurl (Fixes #293) 2017-06-07 17:28:23 -07:00
Gregory Schier
e7bc8bb860 UI/UX and tweaks to Markdown Descriptions (#279)
* Styles and editor done for requests

* Add description markdown to WOrkspace settings

* Show file icon beside request with description

* Add tracking
2017-06-01 15:58:09 -07:00
Valeria
eb94f430f0 Request description with markdown (#252)
* Updated Request & Request Group with a description field

* Button and Workspace description

* Merkdown request description text editor

* Removed useless button for now

* Fixed lock.json for npm@5

* PR #252 requested changes

* _handleValueChange->props

* Removed sanitize
2017-06-01 06:54:46 -07:00
Gregory Schier
70a9da1812 npm@5 in CI and package-lock.json 2017-05-26 11:57:24 -07:00