Commit Graph

4176 Commits

Author SHA1 Message Date
Jack Kavanagh
2cd79b35b3
Fix/fetch body (#6134)
* fix body, extract backoff

* fix two way commands

* add docs

* fix ai calls and errors
2023-07-11 15:58:06 +02:00
James Gatz
64fe218c2e
Environments data routing (#6127)
* update environments to use data routing

* upgrade react-router for json api in actions

* check for the proper route in the modal

* remove ?

* fix git url construction

* fix lint issues

* logs
2023-07-11 12:47:39 +02:00
Jack Kavanagh
da13df909a
Chore/fetch-cleaning (#6131)
* pass 1

* strip some layers

* another layer

* fix imports

* tidy

* some more

* fix copypasta

* remove redux listener

* use named properties for fetch

* move fetch over main

* remove test setup

* add test filter to workspace log
2023-07-11 10:24:22 +00:00
Jack Kavanagh
1e35cd66e9
Bump/tough-cookie (#6130)
* bump tough cookie

* lockfiles

* fix test
2023-07-11 07:28:22 +00:00
Jack Kavanagh
1d46100f01
Bump/linters (#6128)
* bump linters

* lockfiles

* sort imports

* auto fix import sort order

* fix lint errors

* markdown
2023-07-10 23:54:42 +02:00
Jack Kavanagh
45413d17c2
Bump/axios-1.4.0 (#6126)
* bump axios to latest

* lockfiles

* fix types

* fix type

* seriously
2023-07-10 15:14:00 +00:00
Jack Kavanagh
1d8fa4a339
move axios to main (#6118)
* move axios to main

* remove adapter override (old electron hack)

* add axios handler

* send only objects over the ipc

* don't forget the comma

* fix types

* fix proxy test

* fix smoke

* fix type

* fix axios __private
2023-07-10 14:13:17 +02:00
dependabot[bot]
985381cd95
Bump protobufjs and @grpc/proto-loader in /packages/insomnia-smoke-test (#6119)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) to 7.2.4 and updates ancestor dependency [@grpc/proto-loader](https://github.com/grpc/grpc-node). These dependencies need to be updated together.


Updates `protobufjs` from 6.11.3 to 7.2.4
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.3...protobufjs-v7.2.4)

Updates `@grpc/proto-loader` from 0.6.13 to 0.7.7
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/proto-loader@0.6.13...@grpc/proto-loader@0.7.7)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
- dependency-name: "@grpc/proto-loader"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 09:07:15 +02:00
Jack Kavanagh
018d7dee70
move things out of misc and move auth window to main (#6117)
* move things out of misc

* move misc to main

* rename file

* remove test
2023-07-07 22:57:45 +02:00
Jack Kavanagh
3fdafdc1e4
hotfix (#6116) 2023-07-07 21:45:23 +02:00
Jack Kavanagh
abfabd41cf
Chore/node-integration-continued (#6106)
* don't import electron

* add clipboard to preload

* remove datadir helper

* clean up helpers

* remove electron-helpers

* revert db path

* delete test

* more helpers

* fix tests

* fix tests

* lint

* fix inso
2023-07-07 21:30:12 +02:00
Jack Kavanagh
e8c9afb0c8
move analytics over ipc (#6110)
* move analytics over ipc

* fix types

* fix tests

* add console .log

* fix inso commands
2023-07-07 20:20:39 +02:00
James Gatz
93159075b1
fix initial cloning of git repo (#6115) 2023-07-07 13:21:51 +00:00
Jack Kavanagh
a5c7e431e8
add SEE routes (#6113) 2023-07-07 12:36:41 +00:00
Jack Kavanagh
b4c450f3e5
make user-agent optional (#6109)
* make user-agent optional

* suppress default

* fix test

* fix tests

* fix user agent tests

* remove import
2023-07-07 10:30:08 +00:00
Jack Kavanagh
9141d9a947
Feat/second-window (#6104)
* wip

* perhaps we dont need app/login

* fix lint

* store keypair in localstorage

* use localstorage

* can login to multiple windows

* remove console log

* rename window helper

* add file menu

* remove test
2023-07-07 10:18:16 +00:00
Jack Kavanagh
3576f6ae13
remove unused hook (#6112)
* remove unused

* fix lint
2023-07-07 08:19:57 +00:00
Jack Kavanagh
5ee0e38b60
fix (#6107) 2023-07-07 00:37:30 +02:00
Jack Kavanagh
76b6f0e44e
remove unreachable (#6105) 2023-07-06 22:57:23 +02:00
Jack Kavanagh
7729a2f892
Fix/debug-logs (#6103)
* add abi

* hide ai 500 error

* handle new URL exception
2023-07-06 13:55:04 +00:00
James Gatz
5b7f45e910
Universal Insomnia/Git Sync for all files (documents/collections) (#5945)
* share design documents and tests with insomnia sync

* share collection and documents with insomnia/git sync

* checkpoint

* redirect when cloning (pulling) a new remote project

* backend workspace card

* redirect logic

* local changes styles

* loading indicator

* fix sync button styles

* use interval to refetch git

* open the repo modal first before switching to git sync

* use gitRepositoryId from metadata

* fix sync option update

* cleanup fetcher check

* fixes

* cleanup pull-push

* undo logo change

* clean git-vcs

* use cloud icon for insomnia sync

* cleanup card

* more cleanup

* better return type for fetchfetcher

* update git tests

* fix tests

* fix some prerelease tests

* fix cloning without an api spec

* fix some more tests that expect a file to exist

* fix lint error
2023-07-05 16:51:55 +00:00
Jack Kavanagh
ba1f6e4190
fix import spec (#6097) 2023-07-05 16:13:36 +02:00
Jack Kavanagh
bd0aaf3717
concurrently can silent fail (#6099) 2023-07-05 16:06:57 +02:00
Filipe Freire
27bd68efde
chore: bump lerna v6 (#6096)
* chore: bump lerna v6

* edit
2023-07-05 13:22:52 +02:00
Jack Kavanagh
f8c8d93508
Bump/pre-update-modules (#6087)
* bump deps

* lockfiles

* revert oidc bump

* remove dep

* refresh lock files

* refresh insomnia app lock file

* fix test

* more lock files
2023-07-05 08:57:13 +00:00
Jack Kavanagh
c0e25d0490
Bump/electron-25 (#6081)
* bump

* lockfiles

* upgrade doc
2023-07-04 22:55:47 +02:00
insomnia-infra
6aa7cf1697
🚀 2023.4.0 (#6086)
* v3.18.0

* Bump app version to 2023.4.0 and lerna package versions

---------

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
2023-07-04 21:50:03 +02:00
Jack Kavanagh
a5cf1a5342 Merge branch 'release/2023.4.0-beta.0' into develop 2023-07-04 07:47:09 +00:00
Jack Kavanagh
a48d92ad30 Bump app version to 2023.4.0-beta.0 and lerna package versions 2023-07-03 16:51:25 +00:00
Jack Kavanagh
f7f13b327f v3.18.0-beta.0 2023-07-03 16:51:07 +00:00
Jack Kavanagh
52d92e32ff
fix: auto update 10s delay (#6083)
* add delay

* show backup message
2023-07-03 16:04:12 +00:00
Jack Kavanagh
4af532670c
improve in-app update experience (#6064)
* show backup status

* use preload

* clean up update code

* remove notifcation indirection

* cleanup app start event

* more cleaning

* remove confusing state and double ipc channels

* add update detection ocnsole log

* add error ux and tidy
2023-07-03 15:11:25 +00:00
Jack Kavanagh
d0240e38cb
fix: inso dereferencing/flattening $refs (#6080)
* wip

* manually revert 4872 disabling request validator circular refs

* clean up

* clean up
2023-07-03 14:21:25 +00:00
Jack Kavanagh
7221518bb3
fix: curl transform - allow header without value (#6069)
* allow header without value

* tidy

* fix test
2023-07-03 08:46:55 +00:00
Filipe Freire
3f6865eaf5
chore: change electron-builder mac notarize config (#6054)
* chore: change electron-builder mac notarize config

* add teamId

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-07-03 08:30:00 +00:00
Jack Kavanagh
ffbf2ee42f
Electron 23 upgrade (#5987)
* electron 23 bump

* lock files

* fix type
2023-06-29 18:02:02 +02:00
Jack Kavanagh
20b4556c85
upgrade pkg (#6001)
* include debug instructions

* remove pkg as a dependency

* fix doc

* add tslib to send-request to fix libcurl pkg bs

* bump pkg to 5.8.1

* remove not needed scripts
2023-06-29 17:25:46 +02:00
Jack Kavanagh
d9f70ecc18 Merge branch 'release/2023.3.0' into develop 2023-06-27 19:52:50 +00:00
Jack Kavanagh
eb0af2e2fe Bump app version to 2023.3.0 and lerna package versions 2023-06-27 18:51:40 +00:00
Jack Kavanagh
ca3191f4c3 v3.17.0 2023-06-27 18:51:25 +00:00
Jack Kavanagh
90b9516d55
make all migration functions non-async (#6043)
* make all migration functions non-async

* migrate is not a promise

* simplify scope migration

* remove apispec and fix test

* fix tests

* fix tests, for real this time

* removed api spec from collection

* default doc name to my-spec.yaml again

* fix apispec typing

* remove pointless generic

* fix type

* Create an api spec on first launch

* Remove flaky firstLaunch data creation

* fix test

* create apispec only when scope is deisgn

* oauth test left

* gitlab test

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-06-27 20:46:43 +02:00
James Gatz
36a5635bd5
Revert "exclude macos release (#6056)" (#6061)
This reverts commit 033b74871c.
2023-06-27 18:16:03 +00:00
Jack Kavanagh
d1106381ee
add support for multiple workspaces in one import file (#6044)
* many ws

* squashed import commits

* split import to project and workspace

* import logic

* fix the collection to design bug

* rename type

* fix tests

* tidy workspace loader

* multiple ws imports should always create new ws

* fall back to default project

* env var to bool

* fix tests

* fix app/import

* provide import context in title

* fix api spec import

* clean up

* ask about private envs everytime

* fix loading

* fix export private dialog
2023-06-27 15:43:51 +00:00
James Gatz
033b74871c
exclude macos release (#6056)
* exclude macos release

* more exclusion
2023-06-26 12:41:30 +00:00
Jack Kavanagh
1380b6b02f
O2K add deprecation warnings (#6029)
* add UI warning

* add CLI deprecation warning
2023-06-26 11:40:46 +00:00
James Gatz
e4612735c0
Add AI test generation (#6053)
* savez

* ai animation

* save

* fixes

* improvements to ux and loading states

* ux improvements

* delete unused file

* undo vscode settings changes

* add prod api url

* remove console

* fixes

* rename loading to generating

* remove extra case in ai settings

* generate a new folder for the generated requests

* fix icon

* fix unused import
2023-06-23 19:03:01 +02:00
Jack Kavanagh
b4857c7a13
workspace migration logs (#6038)
* workspace migration logs

* add try catches around all the migrations
2023-06-21 17:45:18 +02:00
Jack Kavanagh
63754de659
electron app auto update performs a backup after download (#6005)
* nix

* export all on update download complete

* fix missing websockets inclusions

* tidy up export function
2023-06-15 12:18:37 +00:00
Jack Kavanagh
4b0defdc26
cli flake timeout 20s (#6034) 2023-06-14 14:42:01 +00:00
Isa Farnik
bc1fef2b71
fix(ci): standardize release-script usage (#6033) 2023-06-14 09:14:20 +00:00