Commit Graph

4984 Commits

Author SHA1 Message Date
Jack Kavanagh
6d58358fca
add mock method header (#7872)
* add header

* hit our own infra

* fix app test

* allow matching path with different method
2024-09-02 12:10:08 +02:00
Jack Kavanagh
d4bfeb31ec
shell.nix -> flake.nix (#7892)
* init

* lock file
2024-08-30 23:04:54 +02:00
Jack Kavanagh
ccf577b9df
Bump/electron-31 (#7884)
* bump required node version

* bump node-libcurl

* npm i

* update npmrc

* fix

* proper fix of package-lock

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-08-30 22:57:18 +02:00
Jack Kavanagh
e0bb21282e
check for open curl (#7889) 2024-08-29 15:20:24 +02:00
Jack Kavanagh
89c96205ca
tabs should rerender when changing mock (#7888) 2024-08-29 10:27:51 +02:00
Pavlos Koutoglou
d9ae81d734
feat: Add logic to redirect users based on their plan when creating a new organization (#7856)
* feat: Add logic to redirect users based on their plan when creating a new organization

* chore: Update organization creation alert message

* improvement after code-review

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-08-28 13:52:01 +00:00
Jack Kavanagh
2ffbecf192
only minify in prod (#7879) 2024-08-28 13:27:11 +00:00
Filipe Freire
1023718bb4 Merge branch 'release/10.0.0-beta.0' into develop 2024-08-28 12:28:57 +00:00
Filipe Freire
8afcfa0578 fix: windows split release-build version 2024-08-28 12:53:48 +01:00
Filipe Freire
e2791fb9c9 fix: windows split release-build version 2024-08-28 12:40:38 +01:00
George He
a18a43dcc4 Bump app version to 10.0.0-beta.0 2024-08-28 11:11:04 +00:00
George He
02027fe5e1
chore(runner): cleaning up runner-pr1 and resolve conflicts (#7878)
* feat: log request testing results and return them to the main renderer

* fix: lint error

* fix: install chai with unified version across packages

* chore: restore package-lock

* chore: restore package-lock

* feat(GUI): enable test results pane (#7737)

* feat: enable the test result pane

* test: bring back tests and cleanups

* chore: replace tabitem with tabpanel

* chore: useMemo for test result counts

* refactor: abstract RequestTestResultRows as a component

* chore: cleanup package lock

* chore: restore package lock

* feat: enable collection runner

* fix: cli test failed

* fix: lint error

* fix: race condition in canceling runner

* fix: runner is not canceled when there's an exception

* fix: lint error

* 1.fix after response iteration and eventname issue

* chore: disable the flaky test

---------

Co-authored-by: Kent Wang <kent.wang@konghq.com>
2024-08-28 19:07:14 +08:00
yaoweiprc
2743c87e76
Allow deleting default project in org and fix sync issue (#7881) 2024-08-28 16:06:40 +08:00
Marco Palladino
b2d69d3fda
Update README.md 2024-08-27 11:20:31 -04:00
Jack Kavanagh
02f5bf4d4d
inso cli scripting first pass (#7790)
* poc

* add header test

* fix lint

* fix types

* make require work

* low cost abstraction

* test insomnia.sendRequest

* remove execa

* split tests and improve docs

* dynamic import to fix build
2024-08-27 09:36:17 +00:00
yaoweiprc
838d820294
Revert "support for removing default org project (#7854)" (#7874)
This reverts commit b0193035b9.
2024-08-27 11:40:20 +08:00
Filipe Freire
e9a8b141a5
fix: handle login when opening org logged out [INS-4330] (#7865)
* fix: handle login when opening org logged out [INS-4330]

* do the redirect in organization.tsx to avoid initial login edge case errors

* undo
2024-08-23 11:38:28 +00:00
James Gatz
b51e49ec0b
update git sync dropdown and fix issue with moving to insomnia-sync (#7860) 2024-08-23 14:06:38 +03:00
Filipe Freire
1067afab4a
chore: split packaging for windows builds [INS-3983] (#7838)
* chore: split package for windows codesign [INS-3983]

* fix

* fix

* fix

* prepare for proper release-build pipeline

* tidy up
2024-08-23 08:40:36 +00:00
Hexxa
be8a04c95f
fix: persist cookies from response together with ones from after-response script (#7819)
* fix: cookies from response should also persisted together with after-response's cookie-jar

* fix: lint error
2024-08-23 06:16:28 +00:00
yaoweiprc
b0193035b9
support for removing default org project (#7854) 2024-08-23 11:36:16 +08:00
yaoweiprc
039a5bee76
import postman data dump at once (#7834) 2024-08-23 11:18:04 +08:00
Filipe Freire
d845102630
chore: bump electron to 30.4 [INS-4316] (#7852) 2024-08-22 14:33:06 +00:00
Filipe Freire
9b3a7f5836
fix: disable failure on npm audit [no-ticket] (#7862) 2024-08-22 14:18:05 +00:00
James Gatz
67d6149a8b
feat(Project View): UI improvements (#7850)
* update project view

* Update changed file indicator

* update e2e tests

* update dashboard test
2024-08-21 13:14:17 +03:00
Filipe Freire
b0fb6fb540
fix: test-util snippet to proper status code check [no-ticket] (#7844) 2024-08-20 10:20:24 +01:00
Kent Wang
9fdff449d1
1.try to fix smoke test flaky (#7840)
Add 1s timeout to ensure noProxy settings is applied for failed smoke test
2024-08-15 15:51:38 +08:00
Curry Yang
87f38d4aaa Merge branch 'release/9.3.4-beta.1' into develop 2024-08-14 10:29:51 +00:00
Curry Yang
e740253835 Bump app version to 9.3.4-beta.1 2024-08-14 08:23:56 +00:00
Kent Wang
7776cb4c43
Fix: GraphQL request export curl body issue and GraphQL payload delete issue[INS-4281] (#7831)
* Fix Graphql curl export variable body string issue
* Clear reqeust body text when user delete both query&variable payload in GraphQL editor
2024-08-14 16:15:02 +08:00
Curry Yang
7b8bfa2c5a
feat: show uncommit&unpush for status all projects (#7830) 2024-08-13 19:23:50 +08:00
James Gatz
c82412115c
update delete request shortcut (#7824) 2024-08-12 12:30:49 +02:00
Kent Wang
9fc1567bce
feat: Context menu for Nunjucks tag[INS-4273] (#7828)
* Initial check-in for tag context menu
* Remove useless codes
2024-08-12 17:49:16 +08:00
yaoweiprc
6a8d7cdda6
Preserve the original Authorization headers when importing [INS-4269] (#7827)
* Preserve the original Authorization headers when import

* update vitest snapshot

* modify unit tests to fullfill that preserving auth headers
2024-08-12 17:44:14 +08:00
Curry Yang
76976db4dc
feat: display uncommit&unpush change - [INS-4138] (#7816)
* feat: display uncommit

* modify workspaceMeta model

* git sync uncommit

* uncommit&unpush ui

* add dot for workspace card

* UI: replace icon color

* move workspace update operation to loader&action

* del log

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2024-08-12 17:00:24 +08:00
yaoweiprc
df5729d6ae
Import postman env in Insomnia project level [INS-4253] (#7821)
* Suport for importing environment from postman in Insomnia project level

* Update vitest snapshot

* Update vitest snapshot

* use ts enum

* remove change in smoke test
2024-08-12 16:12:27 +08:00
Curry Yang
22a9fd97c1 Merge branch 'release/9.3.4-beta.0' into develop 2024-08-09 10:02:57 +00:00
Curry Yang
c1bfa5cb73 Bump app version to 9.3.4-beta.0 2024-08-09 09:22:53 +00:00
Curry Yang
8f790bf962
feat(sync): support offline commit- [INS-4226] (#7811)
* feat(sync): support offline commit
2024-08-09 16:27:42 +08:00
Jack Kavanagh
9f24405b79
Remove styled-components (#7809)
* boolean seetting 1/33

* placeholder 2/33

* dropdown 3/33

* git repo clone 4/33

* git repo settings 5/33

* git repo setting form

* password viewer 6/33

* menu item 7/33

* menu section

* gitlab repo settings form

* empty state

* ws req pane

* event view

* disconnect button

* response headers

* most of item content

* menu

* action bar

* unstyled toast

* unstyled theme panel

* unstyled request-url-bar

* fix debug

* unstyled realtime-response-pane

* unstyled grpc-request-pane

* svg-icon unstyled

* trail-lines unstyled

* dropdown hint

* mock url bar

* theme button 1

* some of project empty state

* some of tabs

* most of import modal

* more of import modal

* a bit more import

* method dropdown

* item content

* proto file list

* docs

* project empty pane

* oops

* import modal

* eliminate dropdown button

* tabs without pseudo elements

* fix types

* remove styled-components

* themed button

* fix project empty state and clone test

* tailwind tabs

* fix mock send button

* fix tab border

* more tailwind fixes

* more tailwind

* fix type

* fix height github and gitlab modal

* send button

* history dropdown

* cookie-modal tabs

* mock-response-pane tabs

* mock-route tabs

* git-repo tabs

* repo-settings-modal tabs

* settings-modal tabs

* grpc-request-pane tabs

* grpc-response-pane tabs

* remove old tabs component

* fix e2e

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-08-07 14:28:26 +02:00
James Gatz
1e23d2b9dc
fix deleting the last item on the key-value pair not adding the empty pair (#7818) 2024-08-07 14:11:36 +02:00
yaoweiprc
633dec9637
Fix backslash in environment key freeze app [INS-4157] (#7763)
* fix: backslash at end of Environment JSON key freezes entire app (#7286)

* fix: backslash at end of Environment JSON key freezes entire app

* fix: backslash at end of Environment JSON key freezes entire app (#7286)

* fix: backslash at end of Environment JSON key freezes entire app (#7286)

* fix: backslash at end of Environment JSON key freezes entire app (#7286), remove duplicated file
2024-08-07 11:38:01 +08:00
Filipe Freire
0915d4d5e9
chore: hash userID on segment [INS-4260] (#7805)
* chore: hash userID on segment [INS-4260]

* only hash once
2024-08-06 08:52:46 +00:00
Kent Wang
4d5cd4d44f
Fix: Keep equal sign for empty query parameters[INS-4228] (#7802)
* 1.fix equal sign issue
2.Update related unit test

* 1.fix comment
2024-08-06 02:03:20 +00:00
Jack Kavanagh
977191c24e
fix cves and add CI check (#7806)
* fix cve

* npm audit fix

* fix xmldom cve

* add audit step to ci
2024-08-05 15:46:32 +00:00
Filipe Freire
e67a0b7c6a
chore: rm userId from sentry [INS-4260] (#7804) 2024-08-05 15:15:39 +00:00
Jack Kavanagh
54aed01b04
fixes lodash.set cve (#7801) 2024-08-05 16:19:30 +02:00
Curry Yang
7b751d398a
fix(ux): duplicate improvement (#7803) 2024-08-05 16:29:34 +08:00
Pranav Ithape
4d834f0304
Remove mask allowed copy and seeing credentials since we testing (#7789) 2024-08-02 22:17:17 +02:00
James Gatz
0ffd007254
use action to update selected items on sync staging modal (#7794) 2024-08-02 09:41:21 +00:00