* fix: some external modules are missing
* chore: update @types/tv4
* chore: use map instead of switch-case statement
* test(scripting): check using external libs in the critical test suite
* fix: persist script's changes on environment and baseEnvironment
* fix: avoid persisting effect when no environment is activated
* fix: comparing mutated env with baseEnvironment
* Update packages/insomnia/src/ui/routes/request.tsx
---------
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
* add empty organization view and handle no active project in the code
* Update packages/insomnia/src/ui/components/settings/import-export.tsx
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
---------
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
* ignore .node files
* add header count
* add status bar
* copy in full url
* placeholder and language
* validate url
* validate path
* fix possible dupe route bug
* clean up language
* layout
* fix submit
* error messages
* fix test
* replace custom sidebar with resizable-panels
* set direction when reading the media query for the first time
* handle toggle-sidebar command and keyboard shortcut
* Remove unused constants and refactor keyboard shortcuts hook
* 1200 to 880
* fix env e2e test
* feat: add fallback for searching a proper client certificate for a host
* chore: add test case
* chore: add more test case
---------
Co-authored-by: Hexxa <hexxa@outlook.com>
* feat: move script sdk to one workspace and update importing paths
* test: add jest config for enabling tests
* fix: failed to build package because of missing .node loader
* feat: add tick to enabled pre-request tab and remove beta
* fix: reorg and add snippets
* chore: format
* fix: replace ticks with green dots
* chore: algin texts and icons to the vertically middle
* change text content
* extract mock server settings modal
* get current plan
* pass server url
* align add and update styling
* upsell on update modal
* fix type check
* fix placeholder
* fix mockbin url
* feat: Show proper error when environment variables are not valued
* fix: modify text
* feat: modify param name
* fix: del useless code
* update common modal
* fix: variable missing error message style
* fix: cut the begining off the text before parsing out the missing variable
* fix: del useless code
* fix: change test name
* feat: rename to VariableMissingErrorModal
* fix: try to make sendRequest compatible with the existing behavior by adding await
* fix: add _index for making method behavior (such as upsert) consistent with existing ones
* Issue #7221: Pressing enter/return while text is selected in the request URL bar causes the selected text to be deleted
- Fixed 'paste' handling code which was causing text replacement logic to run when text had merely been selected but not actually changed
Issue #7029: Unable to see full collection names
- Added title (hover tooltip) for name label on collection card
* add title to workspace dropdown
* Update packages/insomnia/src/ui/components/codemirror/one-line-editor.tsx
---------
Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
* Added new feature flags (cloudSync and localVault)
* Change project dropdown and added storage
* Added new error message when user change to cloud sync
* Get the organization storage rule
* Use storage rule to enable creation options
* Change url
* Fix issue with disable option
* Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Default project update
* Added restriction to actions
* Checked organization storage in the workspace level
* Added in the cache organization data the storage
* Pass new options into create new action
* Check if the project has synced or not
* Update session ID in organization.tsx
* Remove unused Tooltip and TooltipTrigger components
* Add tooltip and tooltip trigger to project dropdown
* make similar
* expose only a bool
* only check permission
* change expression
* project level message
* clean up
* made consistent
* remove extra storage checks
* reenable sync dropdown in order to sync before making local
* fix
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* Fix local state updates for GraphQL Query Variables
* Fix typo in comment
* Fix local state updates for GraphQL Query Variables
* Fix typo in comment
* Assert params are strings before checking length property
---------
Co-authored-by: Hexxa <hexxa@outlook.com>
* add user model
* update app to use the user model instead of localstorage
* rm top level await
* move env session in async code
* isLoggedIn to user data
* rename to user-session
* migrate from localstorage and cleanup
* fix private key
* add comment for env variable
* rm console log
* fix: restart the hidden window if it is down
* fix: lint error
* fix: smoke test error because of restarting hidden window
* fix: the hidden window is not started after packaged, so sending request is always timeout
* fix: restart the hidden window when it is stuck
* fix: make createWindow and createHiddenWindow signatures and behaviour aligned
* flatten conditions
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* feat: enable manipulation on insomnia.request
* feat: enable manipulate proxy, certificate and auth through insomnia.request
Changes:
- chore: revert changes on test
- fix: allow user to update active request certs and proxy through insomnia.request
- feat: hook settings to insomnia.request and cleanups
- test: add a test for proxy and certificate manipulation
- fix: lint error
- fix: problems after rebasing
- fix: revamp auth transforming functions
- fix: type checking
- test: add a unit test for auth transforming
* chore: move auth manipulation changes to another PR
* fix: missing OAuth2AuthOption and lint error
* fix: add back UT for auth transforming
* fix: incorrect merging
* fix: lint error
* chore: remove no-proposed comparison
* fix: use predefined requests for test instead of reusing one
* fix: remove waiting
* test: refactor smoke tests to use predefined request if possible
* diff view
* wip
* fully works
* stage items per workspace
* Add indicators for the type of change
* cleanup code
* clean up ui
* fix type issue
* rm todo
* fix snapshot issue and update tests
* 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>