Commit Graph

971 Commits

Author SHA1 Message Date
Timothy Lim
6b20648b5b
Show Client Certificate paths (#2714)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-10 17:53:25 +00:00
Dimitri Mitropoulos
02c65a852d
implements sort order for projects (#3953)
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-09-09 21:42:57 +00:00
Julien Giovaresco
d4da3ad9d4
Unescape xml links before opening it (#2725)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-09 15:02:42 +00:00
Timothy Lim
614957c2b2
Fix tag editor preview issue due to blackslash (#2708)
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2021-09-09 10:42:04 -04:00
Isaac Moore
cb17482c76
Improve visibilty of the drag pane when viewed vertically (#2713)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-09 07:30:06 +00:00
Julien Giovaresco
4cbd5fa816
Fix select all with large response (#2694)
* Refactor to keep in state info about large & huge response

This commit adds 2 properties in the ResponseViewer state:
* largeResponse which will be true when a response body weight more that LARGE_RESPONSE_MB
* hugeResponse which will be true when a response body weight more that HUGE_RESPONSE_MB

* Prevent select-all during response focus hotkey handler on large response

* Add a CopyButton in raw & source response viewer

* Revert "Add a CopyButton in raw & source response viewer"

This reverts commit e094be21

* Add a Copy raw response action in Preview dropdown

This action allows the user to copy the raw response directly in the clipboard.
It is a useful shortcut to copy huge response where select-all might freeze the application.

* fix import

* Fix build

* remove empty line

Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-09-09 13:35:01 +12:00
Eiman
972770731c
Add a keyboard shortcut for beautify request body (#2733) 2021-09-08 14:46:03 -04:00
James Gatz
381cf74a19
Improve codemirror typings (#3993)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-08 15:38:07 +00:00
Opender Singh
cf2387bbcd
Fix raw response viewer line padding (#4013) 2021-09-08 12:33:06 +00:00
Opender Singh
d6ea92e46d
Don't encode if string is empty in the tag editor (#4012) 2021-09-08 11:50:44 +00:00
Sarah Ridge
68f1beaedd
Fix Swagger UI colors for better Accessibility (#3887)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-08 03:49:35 +00:00
Mike Clifford
fec22b782f
Add space between words in concatenated sentence (#4009) 2021-09-07 11:48:24 +00:00
Opender Singh
0aa35489db
Update response headers viewer to FC (#3999) 2021-09-05 12:30:01 +00:00
Dimitri Mitropoulos
893c946553
fixes querystring updating regression (#3995)
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2021-09-03 14:25:32 -04:00
Dimitri Mitropoulos
e3484ced8f
fixes nunjucks-tag pointer (#3992) 2021-09-03 15:19:34 +00:00
Dimitri Mitropoulos
854ada3ff1
fixes styling regression for autocomplete (#3991) 2021-09-03 14:54:45 +00:00
Dimitri Mitropoulos
03f9d95b52
removes hardcoded import names (#3935) 2021-09-02 14:46:27 +00:00
Jack Kavanagh
de435660f7
fix(autocomplete) undefined tag values (#3983)
* fix(autocomplete) undefined tag values

* Update packages/insomnia-app/app/ui/components/codemirror/extensions/autocomplete.ts

love it!

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>

* fix(autocomplete) move nullish coalesing to edge

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-02 04:52:23 +00:00
schrodingersket
ccac337c4f
Optionally disable certificate validation for OAuth2 auth windows (#3894)
Co-authored-by: Jonathan Thompson <jonathan.thompson@nimbusnine.co>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-01 21:08:44 +00:00
Dimitri Mitropoulos
25520154a5
Minor Electon-related cleanup (#3957)
* adds (now available) electron types

* MenuItemConstructorOptions.selector module augmentation

* updates note on allowRendererProcessReuse with more up-to-date info

* separates and formats comments that were intended to be separate

if you check out the commit where these were created, for some reason the comment for the `loadURL` line was put under the line of interest, and over time the space between the comment blocks was removed - making it look like the last line of the comment is related to the same thing (it, apparently, is not).

* use createRef for ResponseWebView
2021-09-01 20:48:05 +00:00
Timothy Lim
6ca2bf7b1b
Prevent GraphQL non breaking space (#2770)
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-01 16:17:15 -04:00
Jason Blalock
8db87df17c
[Feature/Plugin API] Add clipboard wrapper methods to context app (#3977)
Co-authored-by: Jason Blalock <jasonblalock@users.noreply.github.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-09-01 17:40:11 +00:00
Opender Singh
7ffc391428
add eslint rules for semi colons (#3989)
* add rules for semi colons

* run lint fix

* remove invalid eslint disable
2021-09-01 10:50:26 -04:00
Jack Kavanagh
a6e52d97aa
fix(tag-editor) cast to boolean (#3982)
* fix(tag-editor) cast to boolean

* Update packages/insomnia-app/app/ui/components/templating/tag-editor.tsx

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-08-31 19:57:17 +00:00
Timothy Lim
84fc8f38a7
Request History: Set dropdown value to the response instead of null (#2735)
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-31 06:21:02 +00:00
Opender Singh
c8926d75ae
Don't resolve plugin prompt promise until modal has closed, to avoid a race condition (#3970)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-08-31 04:52:01 +00:00
Dimitri Mitropoulos
9353a6fb00
fixes "Hide menu bar" setting (#3961)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-08-31 16:31:08 +12:00
David Marby
665abdcedc
Skip migrating collections that has a missing remote project instead of cancelling the migration (#3973) 2021-08-30 18:18:21 +02:00
Opender Singh
39eb725a55
🧹 Remove axios, use generics for send-request in insomnia-testing (#3949) 2021-08-27 04:02:59 +00:00
Hademumel
7135114768
add search for graphQL schemas (#3388)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-26 05:43:56 +00:00
Dimitri Mitropoulos
7f7b9f5614
renames base project to default project in code and copy (#3939)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-25 12:51:40 +12:00
Opender Singh
774a8dc792
Space -> Project rename & update code-references (#3928) 2021-08-20 11:12:36 -04:00
Dimitri Mitropoulos
6e5f051902
Space Sync Error improvement (#3923) 2021-08-20 07:49:56 -04:00
Dimitri Mitropoulos
f3bfbf76aa
removes usage of deprecated graphql constant (#3926)
see: https://github.com/graphql/graphql-js/pull/2124/files
2021-08-18 16:38:38 -04:00
James Gatz
0ef92797cd
remove extra symbol (#3921) 2021-08-17 15:42:44 +02:00
Opender Singh
afbbb0eaa3
Update mock implementation and move the segment event enum (#3913) 2021-08-12 22:35:43 +00:00
James Gatz
9b7dbe5011
Display the settings modal for remote spaces and update the copy for … (#3885)
* Display the settings modal for remote spaces and update the copy for deleting a remote space

* Improve confirmation dialog copy

* Replace baseSpace check with spaceHasSettings

* Use the strings constant for the space word copy

* Use the strings constant for the space word copy in the modal
2021-08-12 20:14:48 +00:00
Opender Singh
5a50b19595
Introduce segment event enum (#3904)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-08-12 19:37:33 +00:00
James Gatz
82629046e9
Use markdown-preview__content classname in the compiled html container (#3910) 2021-08-12 20:56:23 +02:00
James Gatz
d3738df992
Fix footer subtext alignment in modals (#3908) 2021-08-12 16:52:30 +02:00
Opender Singh
63fd9bc3a5
Add segment metrics for plugin data context (#3903) 2021-08-12 03:04:48 +00:00
Opender Singh
18e7f49b43
Lint rules for equivalence and arrow func spacing (#3897) 2021-08-12 01:25:34 +00:00
James Gatz
632b8020f7
Display a checkmark for the selected sort option in the SpaceSortDropdown (#3896)
* Display a checkmark for the selected sort option in the SpaceSortDropdown

* Update packages/insomnia-app/app/ui/components/dropdowns/space-sort-dropdown.tsx

Co-authored-by: Opender Singh <opender94@gmail.com>

* Move the placement hacks for the dropdown icon and tooltip into a separate file

* Fix lint errors

Co-authored-by: Opender Singh <opender94@gmail.com>
2021-08-11 14:23:29 +03:00
Opender Singh
251287062d
Use useAsync (#3888) 2021-08-10 23:57:13 +00:00
Opender Singh
6a1abbf3db
Migrate collections into their remote space (#3876)
* initial implementation

* take vcs as a parameter (so it's easier to mock and test)

* update console log and exit early if not logged in

* add unit tests for migration

* add async filter and replace vcs find by root document

* lint fix

* fix memory driver and add test for hasProjectForRootDocument

* setup check on interval

* move migration logic and interval from main process to render process, because session state and a VCS instance dont work in the main process yet

* update test

* replace constructor with static class creator

* replace interval with login logout hook

* remove effect helpers

* empty commit to trigger CI
2021-08-10 23:35:05 +00:00
James Gatz
7cb1cbef0d
Prevent opening new windows in the app (#3874)
* Force auxclick (middle-click) events to be handled as click events

* Prevent opening new windows

* Formatting: Remove parentheses from arrow fn
2021-08-10 12:28:12 +03:00
Paul Johnson
366a54f630
Allow optional specification of Origin header for Auth Code flow + PKCE (#3783)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-09 22:30:32 +00:00
Dimitri Mitropoulos
8478fbc27f
adds descriptors to ordering labels (#3892) 2021-08-09 15:34:46 -04:00
Opender Singh
f48cef02bd
Update some ESLint rules (#3883) 2021-08-08 05:08:56 +00:00
Opender Singh
853cefca75
React ESLint rules (#3884) 2021-08-07 08:03:56 +00:00