Commit Graph

4012 Commits

Author SHA1 Message Date
Jack Kavanagh
81d85af39c Bump app version to 2023.2.1 and lerna package versions 2023-05-15 14:27:18 +00:00
Jack Kavanagh
3c6cb084f9 v3.15.0 2023-05-15 14:27:04 +00:00
Filipe Freire
96b36d9c28
INS-2627: sanitize path-variable name regex capture for kong 3.x (#5958)
* INS-2627: sanitize path-variable name regex capture for kong 3.x

* add slugify, and extract function

* sanitize path param in plugins.ts
2023-05-15 13:57:39 +00:00
Jack Kavanagh
ea43bacfd2
show errors from the introspection (#5919)
* better error message

* remove log

* use narrower selector

* null check error
2023-05-15 09:06:53 +00:00
Filipe Freire
28f6e1803b
INS-2497: prevent git sync parse failure (#5954)
* INS-2497: prevent git sync parse failure

* fix import and add tests

* CR improvements
2023-05-15 09:03:59 +00:00
Filipe Freire
f5d6d529a5
Add drag and drop to 'Manage Environments' (#5940)
* wip: environments drag and drop with react-aria

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

* wip

* wip

* 1st working version

* wip

* working!

* wip

* rm outline

* type issues

* add redux hack

* set active

* refactor and rename

* add aria label to fix warning

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: jackkav <jackkav@gmail.com>
2023-05-09 14:13:57 +00:00
Filipe Freire
953ed0d80c
fix: #5922 logo is too large for MacOS (#5927) 2023-04-28 10:03:51 +00:00
Filipe Freire
e3c760d1c7 Merge branch 'release/2023.2.0' into develop 2023-04-26 15:07:23 +00:00
Jack Kavanagh
bc5b9c5a36 Bump app version to 2023.2.0 and lerna package versions 2023-04-26 10:15:01 +02:00
Jack Kavanagh
5e21213a8a v3.14.0 2023-04-26 10:15:01 +02:00
James Gatz
d73d7c3324
Return null from actions that return nothings (#5917)
* fix returning null

* return null from actions that return nothing
2023-04-25 15:51:30 +00:00
Jack Kavanagh
0e55e0682f
oops (#5916) 2023-04-25 14:49:05 +00:00
Filipe Freire
47a1cea2be
Add better support for binary data on WebSocket connections (#5897)
* add /binary data endpoint to smoke test server

* add function to deal with diff event.data types

* step 1

* step 2

* final step

* CR improvements

* update deps & fix type-check
2023-04-24 16:40:51 +00:00
Jack Kavanagh
12d027fc24
toggled Swagger UI representation in spec designer (#5895)
* show a button

* re-add swagger-ui-dist

* can toggle right pane
2023-04-24 16:20:18 +00:00
James Gatz
5d077d5544
Import from command (#5901)
* app-commands remove unused prop

* add default value to import modal and move app commands hook to root

* remove use-app-commands

* fix on close handler

* check the previous value to avoid clearing the fetcher

* update from type to remove weird states

* second pass at useEffect

* add useFetcher discussion

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-04-21 13:04:31 +00:00
Zhizhen He
9f64e6de65
fix typos (#5896)
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-04-21 10:32:30 +00:00
Filipe Freire
53db74ff6b
INS-2565: set coverage threshold to 35% min (#5903)
* INS-2565: set coverage threshold to 35% min

* improvement
2023-04-20 13:32:47 +00:00
Filipe Freire
53fe8865c8
chore: bump playwright to 1.32.3 (#5904) 2023-04-20 10:13:17 +00:00
James Gatz
48ab626938
Update the app loading indicator (#5900)
* update loading indicator

* sort orgs:projects to display them in the correct order

* update loading indicator
2023-04-19 11:19:06 +00:00
James Gatz
3913163fda
Feature/ins 2505 insomnia app improvements (#5894)
* style active items in the sidebar

* add sidebar style to test suite list

* redirect on the last opened organization route when switching orgs

* update navigation to work as going back to the previous open project
2023-04-18 08:53:08 +00:00
James Gatz
650897ac5c
guard against null requests in the history dropdown (#5890) 2023-04-13 09:54:10 +00:00
David Sandoz
76420c6748
Fix icon to follow Apple app icons best practices (#5867)
* Fix icon to follow macOS guidelines

Refs Kong/insomnia#2788

* Update icon with one created by the Insomnia team

Co-authored-by: Erick Rico <erick.rico@konghq.com>

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Erick Rico <erick.rico@konghq.com>
2023-04-03 10:38:54 +00:00
Filipe Freire
14ab7ff98f Merge branch 'release/2023.2.0-beta.1' into develop 2023-03-31 19:13:16 +00:00
gatzjames
afcc5d300e
git prerelease tests update 2023-03-31 20:21:12 +02:00
gatzjames
afff7b1da7
make unary selector more specific 2023-03-31 19:49:33 +02:00
gatzjames
4c7922a046
fix unit test selection 2023-03-31 19:06:46 +02:00
gatzjames
9565391291
use the first sub-environment on new workspace imports 2023-03-31 18:33:41 +02:00
Filipe Freire
17b7cab641 rm workaround on env editor test 2023-03-31 17:28:54 +01:00
Filipe Freire
cb1d3718e2 fix env editor tests 2023-03-31 17:09:31 +01:00
Filipe Freire
443dfc1535 fixes to prerelease smoke tests 2023-03-31 16:46:58 +01:00
Filipe Freire
59019f0fa1 Bump app version to 2023.2.0-beta.1 and lerna package versions 2023-03-31 11:20:12 +00:00
Filipe Freire
44b3f3748a v3.14.0-beta.1 2023-03-31 11:19:54 +00:00
Alexander Samsig
e2d672ab04
Change environment variables generated by OpenApi and Swagger importers to use underscore-dot syntax, instead of custom variable access. (#5807) 2023-03-31 10:54:45 +00:00
89ht
0d26ad6323
Support charset information on swagger2 data import (#5781) (#5812) 2023-03-31 10:53:37 +00:00
Nick Hackman
bed21be8af
cURL: Support all --data flags and fix parsing of key=value pairs (#5818)
* test(curl): data-urlencode support key=value pairs

Updates tests to support key=value pairs in urlencode

Issue: https://github.com/Kong/insomnia/issues/5696

* fix(curl): data-urlencode support key=value pairs

Splits out the logic to handle the cases for the --data-urlencode flag from cURL.

docs: https://curl.se/docs/manpage.html#--data-urlencode
Issue: https://github.com/Kong/insomnia/issues/5696

* feat(cURL): support all data flags

This refactors the current implementation for handling --data[suffix] flags from cURL supporting all possible formats outside of reading files into Insomnia.

docs: https://curl.se/docs/manpage.html

Issues: https://github.com/Kong/insomnia/issues/5696, https://github.com/Kong/insomnia/issues/5400

* test(cURL): support all data flags

Combines a lot of tests and covers all cases provided in the cURL man pages.

* style: lint
2023-03-31 10:53:32 +00:00
James Gatz
29acc92559
Improve import UX (#5869)
* add import routes and modal

* fix paths

* fix paths

* save

* remove import.ts

* ui

* save

* fix tests

* fix tests

* fix tests

* remove outdated test

* update import tests

* lint and ts fixes

* add section title and fix some style issues

* close modals on import success

* error handling for empty content

* fix api spec imports

* Simplify importResources function

Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>

* cleanup

* settings import button styles

* remove comment

* update tests

* comment for app-command imports

* fix test lint error

* update comments

* comment out app/import for now

---------

Co-authored-by: Filipe Freire <filipe.r.freire@gmail.com>
2023-03-31 10:53:22 +00:00
Filipe Freire
d3b917a15f
chore: Add merge-group on workflow dispatch (#5872) 2023-03-31 10:51:31 +00:00
James Gatz
5322001ab0
Fix scope filter on project view. (#5856)
* change empty scope to all and update selection mode

* don't allow empty selection
2023-03-21 15:06:39 +01:00
Dave Nicolson
55b5260aa4
Render webviews in UTF-8 (#5836) 2023-03-15 09:48:07 +00:00
Filipe Freire
707822e691 Merge branch 'release/2023.2.0-beta.0' into develop 2023-03-14 16:15:22 +00:00
Filipe Freire
dc7046f343 Bump app version to 2023.2.0-beta.0 and lerna package versions 2023-03-14 15:26:58 +00:00
Filipe Freire
ceeb05d6e6 v3.14.0-beta.0 2023-03-14 15:26:43 +00:00
James Gatz
83f96d5f6d
improve error handling for failed git fetch (#5844) 2023-03-14 15:19:16 +00:00
Filipe Freire
97a4d10048
INS-2434: basic Kong 3.x support on Inso CLI (#5827)
* INS-2434: Kong 3.x support on Inso CLI

* fix test

* Add basic support for kong 3.0 on Insomnia UI
2023-03-14 15:17:28 +00:00
Filipe Freire
39bec7f923 Merge branch 'release/2023.1.0' into develop 2023-03-09 15:40:51 +00:00
Filipe Freire
84963204b7 Bump app version to 2023.1.0 and lerna package versions 2023-03-09 14:30:06 +00:00
Filipe Freire
29825dec4a v3.13.0 2023-03-09 14:29:52 +00:00
Filipe Freire
f65e522293 Merge branch 'release/2023.1.0-beta.5' into develop 2023-03-03 16:56:25 +00:00
Filipe Freire
a12cc8b459 Bump app version to 2023.1.0-beta.5 and lerna package versions 2023-03-03 14:38:29 +00:00
Filipe Freire
f8e406ab84 v3.13.0-beta.5 2023-03-03 14:38:13 +00:00