Commit Graph

4984 Commits

Author SHA1 Message Date
Curry Yang
0a32015cc9
Update CHANGELOG.md (#7725) 2024-07-16 13:17:17 +01:00
Curry Yang
95045d3a83 Merge branch 'release/9.3.3-beta.1' into develop 2024-07-16 11:23:33 +00:00
Curry Yang
f7a6436c07 Bump app version to 9.3.3-beta.1 2024-07-16 10:23:23 +00:00
Pavlos Koutoglou
f92d78a1ae
fix: Use SSE for storage control updates (#7661)
* chore: Add sync-storage-rule fetcher for StorageRuleChanged event

* chore: Update error message for restricted project creation

* chore: Add organization storage rule and sync storage rule routes

* chore: Add syncStorageRule function for syncing organization storage rule

* chore: Add sync-storage-rule fetcher for StorageRuleChanged event

* chore: Remove console.log statement in project route file

* chore: Cache organization storage rule in syncStorageRule function

* chore: Update project dropdown to show storage restriction message

* chore: Refactor organization storage loader to handle cached response with empty object

* chore: Update project route to handle create new project error

* chore: Removed promise all

* chore: Update organization storage loader to use in-memory cache for storage rules

* chore: Update project route to handle create new project error

* chore: Update organization storage loader to use organizationId as key in in-memory cache

* chore: Update organization storage loader to use organizationId as key in in-memory cache

* chore: Update project dropdown to show storage restriction message

* chore: Add validation for project type selection in ProjectDropdown component

* chore: Add validation for project type selection in ProjectDropdown component

* chore: Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Removed unused dependencies

* Change useEffect

* Refactor organization storage loader to return storagePromise instead of storage

* fix: del await in the loader

* chore: Add validation for project type selection in ProjectDropdown component

---------

Co-authored-by: Curry Yang <1019yanglu@gmail.com>
2024-07-16 10:15:19 +00:00
Filipe Freire
c026e51271
chore: bump electron 30.0 to 30.2 (#7714) 2024-07-16 09:12:17 +00:00
Hexxa
be2426ae82
fix: clean up sdk types (#7721) 2024-07-16 10:50:36 +02:00
Curry Yang
9d99080dde
feat: add async task indicator [INS-4106] (#7522)
* sync status indicator

* rename path
2024-07-16 10:37:29 +08:00
Curry Yang
46e2a796ce
perf: change org performance improvement [INS-3968] (#7582)
* perf: change org improvement

* add comments

* fix: can't see project after switch to a new organization

---------

Co-authored-by: Hexxa <hexxa@outlook.com>
2024-07-16 10:17:36 +08:00
Curry Yang
afb861b310
perf: return deferred data in permission loader (#7635) 2024-07-15 18:25:53 +08:00
Jack Kavanagh
570c1c0055
verbatim syntax (#7718) 2024-07-15 11:44:21 +02:00
Jack Kavanagh
e711bffda7
refactor: flatten and reduce tsconfigs (#7716)
* add

* use es2020

* improve verify

* minify jest conf

* organise tsconfig

* tweaks

* remove tsconfig.build.json

* add inso structure notes

* fix lint

* remove tsc step

* add notes
2024-07-15 11:31:12 +02:00
Curry Yang
a50757f6bf
fix: migrate loader redirect (#7426) 2024-07-12 14:00:13 +02:00
Filipe Freire
c9ba5ec237
feat: add test utils on scripting snippets [INS-4141] (#7692) 2024-07-12 13:59:36 +02:00
Filipe Freire
03637fc09b
chore: mv prerelease tests into smoke [INS-4132] (#7705) 2024-07-12 13:55:55 +02:00
Jack Kavanagh
3349fe56ea
Clean up outdate jest and tsconfigs (#7712)
* inso

* insomnia

* testing

* sdk

* remove base and eslint configs

* fix lock
2024-07-12 13:55:22 +02:00
Anuj Biyani
99351b9cba
show deprecation warnings on graphql arguments (#7364) 2024-07-12 11:35:13 +00:00
Brandon
2e3c2dbb69
Trim Bearer Authentication Strings (#7279)
* Test getBearerAuthHeader()

* Trim Bearer Authentication Strings

Addresses https://github.com/Kong/insomnia/issues/6020
2024-07-12 11:20:47 +00:00
James Gatz
6e432ad09e
feat(Request pane): Add indicators for body and auth in the request pane tabs (#7697)
* Add indicators for body and auth in the request pane tabs

* fix auth indicator
2024-07-12 10:56:13 +00:00
Jack Kavanagh
5a370a7174
conditional rendering (#7704) 2024-07-12 12:44:23 +02:00
Curry Yang
895d45f51e
fix: refresh storage rule when org change (#7707) 2024-07-12 06:46:47 +00:00
Curry Yang
ec337bcdb4
fix: ui improvement when return deferred data in loader (#7681)
* fix: ui improvement when switch project
2024-07-12 03:32:28 +00:00
Hexxa
9854b72e78
fix: typo in style name (#7701)
* fix: typo in style name

* fix: lint
2024-07-11 10:00:01 +00:00
James Gatz
da41075f46
Allow exporting all data from settings on login view (#7702) 2024-07-11 10:54:44 +02:00
James Gatz
0027958051
navigate to the base environment when deleting an env (#7695) 2024-07-11 10:31:28 +02:00
James Gatz
abca682d4f
always enable md preview (#7694) 2024-07-11 10:31:04 +02:00
Filipe Freire
39a2f375c8
chore: add smoke test for git-sync [INS-4132] (#7682)
* chore: add prerelease test for git-sync [INS-4132]

* Update git-sync.test.ts

* mv to smoke
2024-07-10 11:48:26 +02:00
Jack Kavanagh
03581544cf
split test job into app and cli (#7685)
* split

* add build sr

* adjust timeouts

* fix test

* fix timeout

* typo
2024-07-10 10:18:12 +02:00
Hexxa
2d98338047
chore: make the overlay darker in displaying request timings (#7691) 2024-07-10 10:17:12 +02:00
Jack Kavanagh
8bf08a3674
force (#7690) 2024-07-10 10:15:55 +02:00
Curry Yang
e798634e42
chore: enable sentry tracing (#7688)
* chore: enable sentry tracing

* add comment

* change to 10 percent

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-07-10 10:14:10 +02:00
Filipe Freire
1f34acd09d
fix: changelog [no-ticket] (#7677) 2024-07-10 03:10:02 +00:00
Novsochetra
91b6297d51
chore: duplicate / for import insomnia-sdk/src/objects/(interfaces.ts,request.ts) (#7686) 2024-07-10 10:40:27 +08:00
Jack Kavanagh
d02a20438f
feat: inso parent folder auth (#7676)
* add logic

* test folder inheritance

* use crypto guid
2024-07-09 21:41:39 +02:00
Jack Kavanagh
8c729ecae7
inso fifth pass (#7601)
* extract lint and export logic

* add test and update doc

* some thoughts

* add test each

* notes

* comments

* add more cases

* improve types, flatten send request

* collection runner poc

* verbose

* flatten

* add bail

* stabilise pathing

* add test

* fix type check

* improve testing experience

* fix tests

* tidy up package.json

* tidy up package and test.yml

* remove old smoke test

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-07-09 13:06:55 +01:00
Filipe Freire
76a33eac5e
fix: default user-agent for oauth2 [7672] (#7675)
* fix: default user-agent for oauth2 [7672]

* fix
2024-07-08 10:32:38 +00:00
Curry Yang
c12492bc23
Update CHANGELOG.md 2024-07-08 18:02:48 +08:00
Curry Yang
d7e61b4fc5 Merge branch 'release/9.3.3-beta.0' into develop 2024-07-08 09:48:41 +00:00
Curry Yang
d7743395a8 Bump app version to 9.3.3-beta.0 2024-07-08 08:21:13 +00:00
Curry Yang
deacf1513f
perf: App start improvement [INS-3957] (#7492)
* wip: gen whole route in initialEntry

* async tasks

* add params

* add comments

* refactor

* fix await

* feddback

* return string type

* perf: return deferredData in project loader

* clean code

* modify var name

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-07-08 16:16:50 +08:00
James Gatz
5e6f22fa73 Merge branch 'release/9.3.2' into develop 2024-07-04 15:11:55 +00:00
James Gatz
30a4e7075f Bump app version to 9.3.2 2024-07-04 13:12:37 +00:00
James Gatz
8c66a9b3c2
feat(Proxy Settings): Improve Proxy experience (#7664)
* Improve check for updates button

* Create a new settings tab for Proxy settings

* display the status bar on the auth views and update indicator for when proxy is on

* update e2e
2024-07-04 13:08:27 +00:00
Hexxa
f5886d3908
fix: generating curl command returns <getTime> error (#7648)
* fix: generating curl command returns <getTime> error

* fix: improve transforming

* test: clean up sdk cookie and add transforming tests

* chore: add comments
2024-07-04 03:28:34 +00:00
Curry Yang
b6c9bb9d46
bump: @sentry/electron (#7561)
* bump: @sentry/electron

* bump: @sentry/electron

* sentry config user

* resolve conflict
2024-07-04 03:08:55 +00:00
James Gatz
2ccc2326ab Merge branch 'release/9.3.2-beta.0' into develop 2024-07-03 16:21:39 +00:00
James Gatz
dd54fba4d7 Bump app version to 9.3.2-beta.0 2024-07-03 15:53:59 +00:00
Jack Kavanagh
779ef5b353
default to current (#7655) 2024-07-03 17:51:20 +02:00
James Gatz
e4b0a6325f
Fix stale state updates on key-value editor (#7654) 2024-07-03 14:27:22 +00:00
Filipe Freire
9fea3a1894
feat: setting to toggle insomnia user-agent [INS-4107] (#7640)
* feat: disable appversion user agent option [INS-4107]

* tidy up suppress logic

* fix

* fix
2024-07-03 16:08:51 +02:00
Hexxa
5f65c0bcbf
fix: importing collection with invalid keys returns error (#7563)
* fix: importing collection with invalid keys returns error

* Update packages/insomnia/src/utils/importers/convert.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* refactor: fix lint and logical problems

* fix: incorrect renaming

* test: refactor and add some tests

* Update packages/insomnia/src/utils/importers/convert.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* Update packages/insomnia/src/utils/importers/convert.test.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* Update packages/insomnia/src/utils/importers/convert.test.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* Update packages/insomnia/src/utils/importers/convert.test.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* Update packages/insomnia/src/utils/importers/convert.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* Update packages/insomnia/src/utils/importers/convert.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* fix: lint error

* fix: ci failure

* use JSON stringify to walk through the object

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-03 20:45:46 +08:00