* keyboard shortcut: show doc/collection settings
* add environment switch keybinding and modals on test and design view
* remove unused request switch
* chore: enable Headers in pre-request scripting
* feat: add Variables and VariableList to the collection
* feat(hidden-window): enable url and UrlMatchPattern in pre-request scripting
---------
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
* chore: enable Headers in pre-request scripting
* feat: add Variables and VariableList to the collection
---------
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
* use fs/promises and uuid instead of math.random
* Update packages/insomnia/src/sync/store/drivers/file-system-driver.ts
* Update packages/insomnia/src/sync/store/drivers/file-system-driver.ts
---------
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
* feat(hidden-window): enable baseEnvironment in the pre-request scripting
* fix: input empty selected environment data to avoid incorrect environment manipulation and overriding
* test: add a test for folder environments overriding
* fix: smoke tests failed because of env overriding
* feat(hidden-window): enable the insomnia object with the environment api
* fix: tests and lint errors
* fix: app building is flaky
* fix: fallback to the original environment instead of an invalid id
* chore: improve comment and remove unused code
* bump to v5 and fix
* change bundler back to node
* add fsevents to external?
* hacks
* note
* revert resolutions
* move gsap and nunjucks to front end code that is bundled by vite
---------
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
* works
* add preload
* promise api
* tidy
* create hash works
* return errors from worker
* basic wiring
* remove preload
* move build output to folder
* async execution
* add simple context object
* smoke test
* fix types
* fix unit tests
* remove createHash remote function
* tidy
* naming
* fix test
* add errors to preview and timeline
* basic require support
* fix types
* fix warning
* can get logs
* fix console.log patch
* logs
* fix test
* remove log
* skip mock test
* fix test
* fix types
* can write to timeline
* add watcher
* improved dx
* can console.log in the script
* simplify
* enable contextIsolation
* fix types
* use vite for hidden window build and dev
* fix type
* rename
* move pre request test to critical
* fix typo
* close ports
* unskip test
* fix: request settings for scratchpad leading to welcome screen
* fix: added missing dependencies and semicolon
* use existing fn to check for scratchpad
---------
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
* Bump app version to 8.6.1
* feat(unit-tests): Unit test reordering (#7020)
* re-orderable test suites
* re-orderable tests
* fix ts
* Use db methods for sorting
* sort suites and unit tests in inso
* fix suite rename
* Fixes https://github.com/Kong/insomnia/issues/7011 (#7012)
* Fixes https://github.com/Kong/insomnia/issues/7009 (#7010)
* chore: edit changelog process [INS-3456] (#7001)
* fix(workspace): Add default name for when creating a workspace (#7046)
* Add default name for when creating a design/collection
* workspace update and creation
* fix filter history keys not being valid selectors (#7040)
* remove invalid wide css prop (#7041)
* feat(environment): update environments icons (#7050)
* update environments icons
* fix workspace name
* fix one line editor being scrollable (#7059)
* change 8.0 to 8 (#7061)
* Cleanup page containers and add hint container in the page (#7060)
* feat(pane-tabs): Consistent styles for tabs (#7062)
* response/request pane tab counts
* tab dropdown colors
* fix updates to db leading to errors in loader fetchers (#7033)
* feat(command-palette): add button to open the command palette (#7064)
* add button for quick search
* update button styles in project
* make it look good with gh stars
* fix ts issue
* changelog
---------
Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Jeroen Van den Berghe <vandenberghe.jeroen@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
* fall back hidden request
* redirect after add new route
* add session id
* remove custom HAR types
* remove any type hack
* fix tests
* fix tests
* fix test
* add mock server export
* clean console
* test request clean up
* list routes on imports
---------
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
* project ui changes
* project ui changes
* create mock server model
* model mock server similarly to design doc
* use spec modelling and nav
* layout pass
* rename requestbin to mock-route
* sidebar ui pass
* load mock server
* add url bar
* can navigate to headers
* Refactor mock server and mock route creation and
retrieval
* route crud
* sidebar layout
* add delete guuard
* patch route
* Add mock response tab to request pane
* wire up mock servers in requests
* Update mock server and route selection in
RequestPane
* make it work without internet
* can create bin
* pass body and headers to bin
* can fetch logs but cant see em
* split out response pane for hmr
* basic table
* extract mock url bar
* add header tab
* made a dumb cache
* url bar pass
* send request and create response
* wire up timeline
* wire up preview
* timeline useeffect
* move to action
* fix types
* empty states
* rebase updating aria
* use har type
* can edit bins
* cookie support
* wire up status
* status text
* magic status text
* ui
* always use put rather than create bin
* add url to mock route
* scroll bar
* add content types
* validation
* fix flake
* improve logs
* fix outlet warning
* fix send to mock endpoint
* switch table to grid
* handle errors
* rotate log
* create mockbin on open if needed
* add full url ux
* reverse log order
* binId from store
* remove http method
* rename prefix
* use server Id for bin id
* fix copy
* show log har
* fix url bar
* fix button padding
* tailwind
* method select
* remove default status text
* full tailwind
* fix breadcrumb
* default to json
* move copy to end, remove save
* error msg
* only patch when needed
* fix ws colors
* fix command palette
* add isMock helper
* revert local storage mechanism
* fix redirect
* fix ignore upsert
* extract to constant
* ui test
* hide actions from mock-server
* fix code editor onBlur
* lift update to route
* refactor to return only errors
* add url to mock server model
* select mock ui pass
* can modify url in settings
* use server url from db if selected
* hide url option
* fix lint error
* extract to file
* remove binResponse
* can sync
* move things around
* rename name path sync
* fix type check
* capture kvp onBlur
* fix error message
* basic mock test
* wire up mock patcher and navigate
* rename component
* remove url prop of route
* fix lint
* fix test
* temporary skip e2e test
* fix constant url
* fix migration
* remove console logs
* rename function
* only create a single hidden request
---------
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
* add path parameters to the request/ws-request model
* render path params
* show path params on the ui
* fix rendering of params
* cleanup params ui in ws
* cleanup request model
* add empty state info
* update styles
* certificate-styles
* fix tests
* cleanup code
* fix e2e tests
* Add command palette for quick switching between requests and workspaces
* truncate text
* small style update
* add smoke test for command-palette
* fix shortcut for different platforms
* wait for request to switch
* fix(ssl): verify host on macos [INS-3424]
Always verify host on macos even when `Validate certificates` is disabled.
* Update packages/insomnia/src/main/network/libcurl-promise.ts
---------
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
* add warning in project for due payments of organization
* update styles
* use the billing info to display the due payment warning
* add fallback for billing response
* add comment
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* Initial automatic migration
Co-authored-by: Mark Kim <marckong@users.noreply.github.com>
* add continue statement
* add untracked workspaces ui in the data tab
* fix moving a project
* fix sentry hack
---------
Co-authored-by: Mark Kim <marckong@users.noreply.github.com>
Co-authored-by: Mark Kim <mark.kim@konghq.com>
* fix(tls): Use the system CA certificates to verify https servers by default
* remove CurlSslOpt.NativeCa until we can prove it
* add CurlSslOpt.NativeCa back and fix test errors
* client cert ui
* first pass
* use import to avoid url onChange timing issue
* re order test
* use 4001 port, refresh certs
* move test to critical
* expose cacert create over maain