Commit Graph

2407 Commits

Author SHA1 Message Date
Opender Singh
5fb1caf941
Improve codemirror fold marker theme (#2406) 2020-07-14 15:24:55 +12:00
Opender Singh
0c13f1598e
Github actions inso readme (#2374) 2020-07-14 11:45:49 +12:00
Stuart Innes
2d41dad701
Update CODE_OF_CONDUCT.md (#2343)
Small grammatical correction
2020-07-14 11:32:54 +12:00
Jinay Jain
d52fc75ab9
Fix #2376: remove extra "to" in error (#2402) 2020-07-14 11:27:54 +12:00
Gregory Schier
938cb9ad54
Fix autocomplete and make the code a bit better (#2394) 2020-07-10 14:11:23 -07:00
Gregory Schier
5e8f1ee13e Bump versions 2020-07-10 14:07:50 -07:00
Mike Ellan
1e9767ad35
Revert "2377 paste issue fix (#2386)" (#2389)
This reverts commit 60cb5fb9dd.
2020-07-10 15:00:38 -04:00
Mike Ellan
fad1b671dc
Version bump (#2388)
* updated lock file

* Version bump
2020-07-10 14:43:18 -04:00
Mike Ellan
fb7cc34e8d
Revert "Support toggling of auto beautify in editor. (#2305)" (#2387)
This reverts commit 19b29023d5.
2020-07-10 14:36:07 -04:00
Mike Ellan
60cb5fb9dd
2377 paste issue fix (#2386)
* updated lock file

* Fix for C&P related CodeMirror and input value relay
2020-07-10 13:28:36 -04:00
Gregory Schier
4e56d2c26d
Release for 2020.3 (#2356)
* Bump verions

* Remove enableUnitTestingBeta setting (#2358)

* Bump versions
2020-07-09 14:59:22 -07:00
Opender Singh
618f1dd27e lib@2.2.18 2020-07-09 14:12:47 +12:00
Opender Singh
7d49e58fb8
Tidy up inso readme (#2363) 2020-07-09 11:45:54 +12:00
Opender Singh
b571ba5755 lib@2.2.17 2020-07-09 08:52:19 +12:00
Opender Singh
4ab57c6bec Add License and Repository to readme. 2020-07-09 08:51:44 +12:00
Opender Singh
dfcccc8d09 lib@2.2.16 2020-07-09 08:34:34 +12:00
Opender Singh
f84e635112
Inso readme (#2360)
* Add command readme

* Add to readme

* add demo

* Update README.md

* Readme

* Readme

* Readme

* Readme

* Update README.md

* Update README.md
2020-07-09 07:59:35 +12:00
Opender Singh
0aa12f83df lib@2.2.15 2020-07-08 08:55:56 +12:00
Opender Singh
27f006bc46
Prompt for test suite from CLI (#2338)
* Add unit tests to git-repo fixture

* Add to nedb fixture

* Can read suites and tests from git repo and nedb

* Prompt for test suite

* Prompt for env

* sub envs

* Add noenv to env prompt

* Add --ci flag to disable prompts

* Hook up --keep-file

* WIP

* WIP

* WIP

* Update

* Fix unit tests

* Update webpack config

* Fix

* fix

* Package lock

* Disable console.log when running unit tests

* no-log wrap

* Console log test

* Console log test

* Tests

* Add tests for cli

* Update

* WIP

* More tests

* fix

* Prompt test suite tests

* env prompt tests

* Update

* Update

* Extract workspace model

* Extract apiSpec model

* Extract unitTestSuite model

* Extract environment model

* Move types and prompts

* Rename
2020-07-08 08:17:02 +12:00
Opender Singh
96cfe7ea45
Get app data dir from process.env, update webpack (#2352) 2020-07-07 12:31:48 +12:00
Opender Singh
a35664d4dd
Stub console log during db initialization (#2351) 2020-07-07 10:59:56 +12:00
Opender Singh
dcd182caf1
Add unit tests to cli db fixtures (#2350) 2020-07-07 10:44:01 +12:00
Gregory Schier
8d6e797465 Version bump 2020-07-02 12:43:00 -07:00
Gregory Schier
b7c11e468a Only insomnia-app tests for pre-release 2020-07-02 12:42:42 -07:00
Erik Plaggenmars
19b29023d5
Support toggling of auto beautify in editor. (#2305)
* Updated code editor to support toggling of beautify in editor.

Added a button to toggle beautify. When toggled text is 'beautified' immediately and when text is pasted into the editor or when the editor is blurred.

Removed _prettify method because it is no longer used.

* Changed toggle of auto beautify to dropdown selection.

The toggle has been replaced by a dropdown selection, the text in the beautify button will change accordingly. In manual mode, the button can still be clicked.

* Updated label of the beautify button.

* Changed caret up to cog icon + minor change to button label

* Changed cog icon to wrench icon.

Co-authored-by: Mike Ellan <52717970+sonicyeti@users.noreply.github.com>
2020-07-02 10:57:58 -04:00
Opender Singh
c21fd21444 Fix workflows 2020-07-02 12:08:17 +12:00
Opender Singh
2dc1c145fc lib@2.2.14 2020-07-02 12:00:27 +12:00
Opender Singh
24630e1873 Fix github workflow 2020-07-02 11:52:49 +12:00
Opender Singh
1b5315fe55 lib@2.2.13 2020-07-02 11:39:48 +12:00
Opender Singh
e1d8f4d0e0 Mark insomnia-send-request as not private 2020-07-02 11:39:06 +12:00
Opender Singh
8459c85780 bump app version for alpha 3 2020-07-02 11:31:22 +12:00
Opender Singh
9af2054ccf lib@2.2.12 2020-07-02 11:29:00 +12:00
Opender Singh
b99228d080 Rename insomnia-cli to insomnia-inso 2020-07-02 11:28:05 +12:00
Opender Singh
d91e6735a7 lib@2.2.11 2020-07-02 11:19:48 +12:00
Gregory Schier
eae0d8d433
Unit test improvements (#2337)
* Start working on insomnia-testing package to generate Mocha code

* Moved some things around

* Integration tests and ability to run multiple files

* Fix integration tests

* Rename runSuite to runMochaTests

* Add types for test results

* Fix lint errors

* Play with Chia assertions

* insomnia and chai globals, plus a bunch of improvements

* Stub chai and axios Flow types

* Ability to reference requests by ID

* Fix chai flow-typed location

* Address PR comments (small tweaks)

* Basic UI going

* Lots and lots and lots

* Pretty-much done with the unit test UI

* Minor CSS tweak

* Activity bar triple toggle and more

* Minor tweak

* Unit Test and Suite deletion

* Bump Designer version

* Fix eslint stuff

* Fix insomnia-testing tests

* Fix tests

* lib@2.2.9

* Remove tests tab from response pane

* Hook up Insomnia networking

* Fix linting

* Bump version for alpha

* Remove extra ActivityToggleSwitch

* Remove unused import

* Add test:pre-release script that excludes CLI tests

* Less repetition

* Clean some things up

* Tweaks after self-cr

* Undo request ID tag

* Swap out switch for new activity toggle component

* Extra check

* Remove dead code

* Delete dead test

* Oops, revert example code

* PR feedback

* Unit test UI tweaks

* More PR comment addresses

* Change test name
2020-07-01 15:57:42 -07:00
Gregory Schier
3883dc6feb
POC for Unit Test UI (#2315)
* Start working on insomnia-testing package to generate Mocha code

* Moved some things around

* Integration tests and ability to run multiple files

* Fix integration tests

* Rename runSuite to runMochaTests

* Add types for test results

* Fix lint errors

* Play with Chia assertions

* insomnia and chai globals, plus a bunch of improvements

* Stub chai and axios Flow types

* Ability to reference requests by ID

* Fix chai flow-typed location

* Address PR comments (small tweaks)

* Basic UI going

* Lots and lots and lots

* Pretty-much done with the unit test UI

* Minor CSS tweak

* Activity bar triple toggle and more

* Minor tweak

* Unit Test and Suite deletion

* Bump Designer version

* Fix eslint stuff

* Fix insomnia-testing tests

* Fix tests

* lib@2.2.9

* Remove tests tab from response pane

* Hook up Insomnia networking

* Fix linting

* Bump version for alpha

* Remove extra ActivityToggleSwitch

* Remove unused import

* Add test:pre-release script that excludes CLI tests

* Less repetition

* Clean some things up

* Tweaks after self-cr

* Undo request ID tag

* Swap out switch for new activity toggle component

* Extra check

* Remove dead code

* Delete dead test

* Oops, revert example code

* PR feedback

* More PR comment addresses
2020-07-01 14:17:14 -07:00
Gregory Schier
48348e04c1
Swap out switch for new activity toggle component (#2335)
* Swap out switch for new activity toggle component

* Extra check

* Remove some more theme stuff

* Some PR feedback
2020-06-30 16:54:56 -07:00
Gregory Schier
984d6051ab
Rename emptyValue to blankValue (#2336) 2020-06-30 16:52:56 -07:00
Gregory Schier
bab945a6a1
Alternate send request callback for app to use (#2334) 2020-06-30 15:40:15 -07:00
Gregory Schier
9440bfe098
Add support for snippets in autocomplete (#2333)
* Add support for snippets in autocomplete

* Add snippet styling

* Use correct font color
2020-06-30 15:37:06 -07:00
Gregory Schier
f2060da23e Fix for when request is null 2020-06-30 15:32:58 -07:00
Gregory Schier
b0d0dd9359 Merge branch 'develop' of github.com:Kong/insomnia into develop 2020-06-30 14:01:45 -07:00
Gregory Schier
05b2e7d345 Fix devtools hotkey 2020-06-30 14:00:58 -07:00
Gregory Schier
487047f843
Add test:pre-release script that excludes CLI tests (#2332)
* Add test:pre-release script that excludes CLI tests

* Less repetition
2020-06-30 13:54:38 -07:00
Jody Heavener
9f68e36eb4
Default to rendered request URL when name is not present (#2230)
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-07-01 08:53:01 +12:00
Gregory Schier
45861b6393
POC to get Insomnia networking available outside of app (#2329)
* Hacked insomnia lib package to get Insomnia's networking in tests

* Some small tweaks

* Got it mostly working

* Tweak

* Fix

* Fix pkg

* Fix some things

* Add comment

* Comment out log

* Some tweaks after doing a self code review

* Fix test

* Update app name for `insomnia-send-request`

* Update package-lock

* Update package-locks

* Fix tests

* Add gitignore

* Fix tests hopefully

* Fix accidental dep deletions

* Fix tests again

* Mock for all tests

* Update tests again

* Don't compile for Electron for tests

* Update release scripts to disable tests
2020-06-30 12:36:15 -07:00
Opender Singh
7fb2b06942
Prompt for API Spec and support NeDB database (#2330) 2020-06-30 18:27:21 +12:00
Opender Singh
7d3660c8f0
CLI linting + exit codes (#2318) 2020-06-30 12:00:33 +12:00
Opender Singh
85860ce031
Add unit testing to CLI, configurable Mocha reporter (#2311) 2020-06-30 09:54:12 +12:00
Nicholas Raphael
d4c475fa57
Feature: Show Dev Tools with hotkeys (#2309)
* add key combinations for dev tools hotkey

* add Dev Tools accelerator to View menu remove from Develop menu

* remove changes from hotkey.js

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-06-29 11:48:53 -07:00