* Fix trailing whitespace in vcs
* Add logging to sync graphql queries
* Don't remotely create a sync project when opening the share dialog
* Fix pulling workspaces with a missing default branch
* Fix the sync merge modal
* Fix workspaces dissapearing when switching to an empty default branch
* 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
* 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
* 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
* 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
* 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
* Add description field for body entries #1673
Besides key and value the user can provide a description to the
according body entry to better keep track of them. This is useful when
testing an API with multiple different bodies.
* Make description field optional in all key value editors #1673
- Show description fields when any description exists
- Add toggle description option to gear icon menu
- Add optional description field in all key value editors
* Make placeholders lower case
* feat(curl): parse parameters from url string
* feat(curl): Remove trailing slash after import
* feat(curl): Add exception for failing test
* feat(curl): Parse params from url in curl importer
* Implement a GraphQLExplorer for visually browsing schemas
* Fix some type stuff and theme
* Adjust GraphQL explorer colors for fields to match Codemirror
* Explorer state not modified when showing docs from dropdown
* A few more small tweaks and fixes
* Got password reset form mostly done
* Hooked up the rest of the password-change code.
* Added a completion state
* Fix weird comment that got updated by accident
* Add json-order package
* Add propertyMap and sort properties boolean to model
* Keep property order
* Remove extra check
* Allow env editor in request group overrides to maintain order
* Add checkbox
* Order control added
* Use up to date json-order
* Rename
* Remove extra field
* Update separator
* Prevent unnecessary parse
* Move to regular dependency
* add to packedDeps
* Renames
* Remove extra code
* Removed extra state
* More fixes...
* add flowtypes for json-order
* typo
* Updated flowtypes
* Fixed?
* linting to remove unused import
* 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
* Fixed test for win32
* Allow for a wide tag + styling to allow breaking of an otherwise unbreakable string
* reverted test
* added package-lock.json files
* 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
* 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
* 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
* 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.
* 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
* place validateURL module in insomnia-url package
* import validataeURL module and add it to the exports
* import validateURL and pass h.value to the function, if its a url, wrap with the link component or just leave as it is
* remove validateURL module from insomnia-url package
* delete import statment that imports validateURL module
* place validateURL function inside reponse-header-viewer
* require URL api from url module
* Add bottom bar env highlight color style
Had to add this one to the grid, because border appeared outside of the
viewport.
* Use box-sizing attribute instead
* Add more environment color highlight options
* Rename env highlight color styles
* Run GraphQL query based on cursor position.
If there are multiple operations in the GraphQL query it automatically choose
which operation to run based on the cursor position.
* Highlight current operation
* Refactor. Prevent some query change issues.
If the current operation name gets deleted the new current operation
is set as fallback to the first operation name.
This refactor includes a `_documentAST` property on GraphQLEditor component,
so it is locally available (it avoids multiple graphql `parse` function calls).
Also a _queryEditor reference is added to the component.