* Don't clear oAuth2 session on restart
Offer button to user where it can be cleared without restart
* PR improvements
* remove accidental newline
* PR improvements 2
* cleanup
* capitalize insomnia
* Fix hard-coded path in electron mock
* Disable failfast strategy
* Remove path mocking, as it is no longer needed becasuse CI runs on all OSs, and it causes issues with database initialization for unit testing
* Update
* Update packages/insomnia-app/app/sync/git/__tests__/mem-plugin.test.js
Co-authored-by: David Marby <david@dmarby.se>
* Update packages/insomnia-app/app/sync/git/__tests__/mem-plugin.test.js
Co-authored-by: David Marby <david@dmarby.se>
Co-authored-by: David Marby <david@dmarby.se>
* Adding list group component with stubbed badge & list item
* Cleaning up stories, error padding tweak
* Results list item padding fix
* Review feedback and component provisioning
Shift to functional components
Abstract both list and list item away for re-use
Roll unit test result specific styling into UT source
Roll supporting UI over including badges > extend SC for flavors
Shift timestamp to render the value, JSX handling formatting
* Renaming UT specific badges
* List group and unit test wrapper component updates
- Pulled unit test results list item into SB
- All unique aspects of UT results are bundled in the IC which extend base item
- Cleansed UT wrapper of inline components
- Setting up list group and list group item base for middle area
* Abstrating badges, timestamp and updating unit test wrapper
* Update packages/insomnia-components/components/list-group/unit-test-result-badge.js
Co-authored-by: Opender Singh <opender94@gmail.com>
* Update packages/insomnia-components/components/list-group/unit-test-result-item.js
Co-authored-by: Opender Singh <opender94@gmail.com>
* Dep cleanup, PR feedback
Co-authored-by: Opender Singh <opender94@gmail.com>
* Replace textarea with code editor
* Add raw-editor class and props to make style consistent
* Merge raw-editor style into general.less
Co-authored-by: Li Hu <li.hu@onedegree.hk>
Co-authored-by: Opender Singh <opender94@gmail.com>
* Upgrade Electron to 8, bump Node version, fix font-manager
* Specify nodeIntegration as true
* Get <webview> working again
* Get <webview> working again
* Electron 9.0
* Escape parens in plugin install exec path (newer Electron added them)
* Bump versions for first alpha
* Electron 9.1
* Convert all Electron APIs that switched from callback to Promise
* Fix send-and-download feature
* Remove user-agent override hack for OAuth 2 login window
* Bump alpha version
* Fix issue regarding chokidar
* Add package-lock.json
* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents
* Fix source maps
* Read .nvmrc in GitHub actions
* Address remaining PR feedback
* Use Designer release env for Core
* Bump version
* Add signing requirements for new cert (attempt #1)
* Fix config
* Fix release script
* Fix whitelist cert
* Try updating cert checksum again
* Remove darkModeSupport option
* Revert version bump
* Upgrade Electron to 8, bump Node version, fix font-manager
* Specify nodeIntegration as true
* Get <webview> working again
* Get <webview> working again
* Electron 9.0
* Escape parens in plugin install exec path (newer Electron added them)
* Bump versions for first alpha
* Electron 9.1
* Convert all Electron APIs that switched from callback to Promise
* Fix send-and-download feature
* Remove user-agent override hack for OAuth 2 login window
* Bump alpha version
* Fix issue regarding chokidar
* Add package-lock.json
* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents
* Fix source maps
* Read .nvmrc in GitHub actions
* Address remaining PR feedback
* 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>
* 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
* 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
* 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
* 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>
* deps: bump node-libcurl to latest prerelease version
* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild
* Minor tweaks
* package locks
* Bump version
* Switch to font-manager and fix fsevents rimraf
* Try generating npmrc inside build/
* Try uninstall of fsevents instead
* Bump
* Try npm env vars
* Extra .npmrc
* Try npm env vars in all CI
* Fix insomnia-cookies dependencies
* Fix typo
* Loosen nvmrc version
* Remove npm uninstalls
* Build outside of Docker
* Remove Docker, build all on GH Actions
* Bump Core version
* Disable Snapcraft for now
* Bump
* Disable snap for Designer too
* Update product name for Core
* Update test.yml
* Remove Travis file
* Make userData folder explicit and add Curl types
* Remove old Kong icon
* Remove curl.js adapter
* Revert productName
* Fix release date
* Try remove windows build tools from CI
* Add comment about Snap deploys
* Remove the pane border on Windows (no longer necessary)
Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
* Initial commit
* WIP
* Fix lint
* Fix tests
* Add test for workspace migration
* Rename title to use fileName instead of workspace name for designer
* Linting
* Expose more request body for plugins
Support the following api for plugins:
- get/set the content type of the request;
- get/add/set the form parameters of the reuqest body;
adding file form item will be ignored if the mime type is not
multipath form.
- get/set the uploaded filename of the request;
setting uploading file name will be ignored if the mime type is not
octet stream.
* Add some test cases
* Add simple request body api for plugins
* Mark (get|set)BodyText() as deprecated
* New dialog() method to show generic dialogs from Plugins
* Clarified deprecated api method
* Body now required in dialog()
* Made options arg optional too
* Fix tests
* allow checkboxes input fields in prompt dialog
* return booleans as strings from prompt
* align label with checkbox for boolean prompt
* set css classes based on html input type
* add support for live display names in template tags
* add setting to (de)activate live display names in template tags
* Revert "add setting to (de)activate live display names in template tags"
This reverts commit 8cd70b87b5.
* remove liveDisplayName from the Prompt plugin
* use liveDisplayName over 1st arg if it's an enum
* Add breaking test
* Remove preferential ordering of tags over variables in nunjucks
* Remove preferential ordering of tags over variables in nunjucks
* simplify nunjucks sort
* Add breaking test for incorrect order
* Update json-order and consume
* Refine test with dataPropertyOrder
* Tests
* add note
* Add to test
* Missed the await