Dimitri Mitropoulos
074d502b8b
removes analytics activity and create a modal ( #4310 )
2021-12-15 23:58:00 -05:00
Dimitri Mitropoulos
2edfdee345
removes onboarding activity and associated handling code ( #4307 )
2021-12-15 21:15:25 +00:00
Dimitri Mitropoulos
fa4cf3f7b7
componentize settings renderers ( #4266 )
2021-12-14 09:26:36 -05:00
Dimitri Mitropoulos
d5abff3199
renames keyboard events in line with project standard ( #4303 )
2021-12-13 14:23:56 +00:00
Opender Singh
9586ee749b
Allow users to configure what is shown on environment variable template tags ( #4277 )
...
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-13 07:45:08 +00:00
Vincenzo De Petris
833cdfb005
Handle request send hotkey for gRPC ( #4126 )
...
Co-authored-by: Vincenzo De Petris <vincenzodepetris@gmail.it>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-10 17:34:48 +00:00
Opender Singh
c020d10e9c
Update capitalization ( #4298 )
2021-12-10 09:03:55 -05:00
Opender Singh
e5b6f9034e
Merge branch 'release/2021.7.2' into develop
2021-12-10 10:55:05 +13:00
David Marby
cb42863868
Revert "Fix: disabled native modules in the renderer ( #4230 )"
...
This reverts commit 80e5161a20
.
2021-12-09 14:43:20 +01:00
Opender Singh
268e0282a1
Merge branch 'release/2021.7.1' into develop
2021-12-09 13:45:32 +13:00
Jack Kavanagh
b329c86005
fix cancel request button ( #4288 )
2021-12-09 13:02:33 +13:00
Opender Singh
4da3a75bf3
Merge branch 'release/2021.7.0-beta.0' into develop
2021-12-09 11:50:40 +13:00
Opender Singh
050a4d949e
cookie modal works again ( #4282 )
2021-12-08 16:11:04 +13:00
Dimitri Mitropoulos
c3e55ebbc3
adds more documentation to codemirror addon (and fixes type error) ( #4280 )
2021-12-07 15:39:40 -05:00
Filipe Freire
f513d59f69
Add gRPC Headers (INS-362) ( #3667 ) ( #4244 )
...
* Add gRPC Headers (INS-362) (#3667 )
* Add grpc headers support to client, server and bidi streams
* Fix failing grpc unit checks
* Improvements after CR for #4244
* Fix lint issues
* Fix grpc header overflow and failing tests
* Fix illegal characters in metadata key validation
* Fix common-headers naming and add unit checks
* Fix wrong import format
2021-12-06 10:12:18 +00:00
Opender Singh
80d5dd1ec3
Move Nunjucks rendering into React Context ( #4248 )
2021-12-04 09:08:28 +13:00
Jack Kavanagh
80e5161a20
Fix: disabled native modules in the renderer ( #4230 )
...
* fix non-context-aware imports
* extract _actuallySend to file
* extract CLI unit test function from renderer
* expose curl functions to the ipc renderer
* use curl through ipcRenderer
* feedback first pass make like grpc
* feedback second pass remove duplicate
* fix lint
2021-12-02 09:26:08 +00:00
Dimitri Mitropoulos
715f844fae
fixes hotkey ux (and ui bugs) ( #4045 )
2021-12-01 19:25:13 +00:00
Jack Kavanagh
77d2a5d6b2
remove SpecInfo type ( #4255 )
...
* remove SpecInfo
* Update packages/insomnia-app/app/ui/components/modals/generate-config-modal.tsx
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-11-29 17:28:25 +00:00
Sergiy
1d3cbd3816
fonts settings UI changed ( #4186 )
...
* fonts settings UI changed
* Update tooltip messaging
* removed fontsMono and font-scanner dependency
* remove font-scanner dep
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2021-11-25 10:26:29 +00:00
Opender Singh
f3c6ae19a5
Remove prop drilling to code-editor ( #4243 )
2021-11-25 04:26:08 +00:00
Falon Darville
fb957e3346
rm version divider from Collection dropdown ( #4239 )
2021-11-23 14:54:40 -08:00
Opender Singh
bf1a6f37bf
Update response history timing verbiage ( #4240 )
2021-11-23 12:43:45 +01:00
Dimitri Mitropoulos
a72afb60d5
reverts sort order callback behavior ( #4229 )
2021-11-19 13:48:24 +13:00
Jack Kavanagh
d4df5ea5f7
Extend config generator plugin API and modal to handle documentation links ( #4204 )
...
* first pass
* capitalise Swagger and OpenAPI in an error message
* use docs from plugin scope
* extract variables
* check only OpenAPI spec version
* feedback
* fix config mapping
* refactor _generate
* remove bool casts
* revert refactor
* consume docs link
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-11-18 10:54:19 +01:00
Dimitri Mitropoulos
962b71d1c1
adds hotkey support to graphql editor for prettifying ( #4222 )
2021-11-18 03:26:26 +00:00
James Gatz
0648989abf
fix(import): Importing from the projects view should respect the forc… ( #4058 )
2021-11-17 10:44:19 +01:00
Carlos Giraldo
23d17bcbb2
Add support for HTTP/V2PriorKnowledge ( #4194 )
2021-11-16 19:48:16 +00:00
Dimitri Mitropoulos
8598ed752c
fixes defaultTabBehavior for OneLineEditor ( #4215 )
2021-11-15 13:16:25 -05:00
Filipe Freire
42f8e0d349
fix : #4182 pull snapshot icon ( #4211 )
2021-11-11 12:52:34 +00:00
James Gatz
4c906ccae5
allow for an empty string as a workspace name in the header ( #4197 )
2021-11-10 15:11:04 +00:00
Giuseppe B
f1216cb564
[Feature] The proxy configuration values are now hidden by default ( #4036 )
...
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-11-10 09:29:53 -05:00
Dimitri Mitropoulos
8e21f26175
fix: consistently use index
( #4196 )
2021-11-10 06:11:31 +00:00
Dimitri Mitropoulos
f5230610e3
fixes CodeMirror opacity for disabled (or not) GraphQL body text ( #4188 )
2021-11-09 21:12:41 +00:00
Dimitri Mitropoulos
fd9fcf5031
fix: show JSON preview if content type is text/plain but body is valid json ( #4171 )
...
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-11-08 16:39:26 -05:00
Dimitri Mitropoulos
5c02273757
Reduce AppBar sizing and add Project Name to breadcrumbs ( #4159 )
2021-11-03 11:10:53 +13:00
James Gatz
0f134ea553
fix(workspace-card-dropdown): restore the use the get-workspace-name … ( #4150 )
2021-10-26 10:37:45 +13:00
Dimitri Mitropoulos
6f7da8f284
hides ad in account tab when disablePaidFeatureAds
is true
( #4137 )
2021-10-21 21:58:35 +13:00
Mika Andrianarijaona
a23e82dd6e
fix (style): set drag-sidebar z-index to 999 ( #4059 )
...
Co-authored-by: Mika Andrianarijaona <mikaoelitiana@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-18 01:14:11 +00:00
Dimitri Mitropoulos
cabaa7ebdf
removes analytics onboarding if incognito mode is (already) on ( #4115 )
2021-10-14 17:11:01 -04:00
Dimitri Mitropoulos
177d6adf38
Insomnia Config, controlled settings ( #4031 )
...
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-14 10:59:45 -04:00
Vincenzo De Petris
cbc1cfc8b8
Environments order ( #4048 )
2021-10-13 19:10:48 +00:00
Dimitri Mitropoulos
e793e6f166
unifies getting of workspace name in displayment ( #4060 )
2021-10-07 12:38:11 +00:00
Opender Singh
615287ccfc
Create single inso executable using pkg ( #4049 )
...
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-10-06 22:01:43 +00:00
Opender Singh
e704f796f8
Attach sync button and button from component library to themes properly ( #4070 )
2021-10-04 11:35:53 +02:00
Ismael Arias
d237b2c907
Implemented Prettier for GraphQL formatting ( #4022 )
...
* Implemented Prettier for GraphQL formatting (#3242 )
* package bump and linting
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-10-01 12:31:02 +02:00
James Gatz
fc32856e55
Use forwardRef for the Pane components ( #4053 )
...
* Use forwardRef for the Pane components
* Update packages/insomnia-app/app/ui/containers/app.tsx
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-29 09:44:28 +02:00
Dimitri Mitropoulos
d53ef39c9b
use named exports for all (remaining) react components ( #4050 )
2021-09-27 15:47:22 +02:00
Matthias Ramsauer
7a8510f89c
Add export as HAR format for single requests ( #2715 )
...
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-22 13:35:34 +00:00
Dimitri Mitropoulos
376700826e
fixes all react/prefer-stateless-function warnings ( #4019 )
2021-09-15 16:16:04 -04:00
Timothy Lim
58ce5ec39e
Allow Autocomplete to be properly registered as a Shortcut ( #2726 )
...
* Allow autocomplete to be registered
* On shortcut update refresh pane to enable shortcuts to register correctly
* Improve types and add explanation about keyname order
* bind code-editor to hotkeyregistry via redux so that it updates keymaps on change
* remove force refresh via key and convert to named export
* send hotkeyregistry in environment autocomplete options
* use autocomplete delay from settings
* Use Pick<T>
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-15 15:01:35 +02:00
John
7e7d235fec
Added nested keys check after root keys check for environment editor. ( #2685 )
...
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-10 19:25:32 +00:00
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
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
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
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
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
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
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
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
Opender Singh
be2c347cf1
Pull a project into the correct space ( #3873 )
...
* use selector and improve types
* Loading remote projects now requires a team id; it is no longer optional
* activate with workspace or workspace id
* extract helper
* normalize graphql return type for a remote project to include the team
* pull into the space as defined by the project team id, not by the active space. If the space doesn't exist, create it
* use helper
* make testing easier by putting the active space name as the first breadcrumb
* fix tests
* add the active space into the title
* refactor and add tests
* remove todo
2021-08-05 23:30:31 +00:00
James Gatz
e683a02b16
[feat] Sort Dashboard Cards ( #3850 )
...
* Add sort order for space items
* Add ability to sort dashboard cards
* Fix TS errors
* Fix lint errors
* Add sort options for modified time
* Move workspace-card to a new file and use redux global state for persistence
* Remove ordering from the space model
* Use currying for the workspace mapping function and clean up types
* Expand testcase for activespace initialization
* Fix lint errors
* Remove date defaults and check if modifedLocally is defined
* Fixup: Use global selector for space order
* Fixup: Decouple space order initialization from active space
* Fixup: Use named exports in SpaceSortDropdown and rename handler in WrapperHome
2021-08-05 20:38:58 +03:00
Giuseppe B
bae8195dfd
Fix for GraphQL - now autocomplete does not reset anymore ( #3468 )
2021-08-02 10:12:58 +00:00
Dimitri Mitropoulos
70d5797d94
use optional chaining ( #3867 )
2021-07-30 15:32:08 +12:00
Opender Singh
706b0f076a
Disable cert validation option while running tests in inso ( #3492 )
2021-07-30 03:10:19 +00:00
Dimitri Mitropoulos
5e00656807
adds jsx indentation rules ( #3860 )
2021-07-29 08:52:17 -07:00
Opender Singh
8b011d68cf
Types for DnD, reuse and connect sidebar components to redux ( #3853 )
2021-07-29 05:12:59 +00:00
Opender Singh
7397370f4b
Use activateWorkspace action to activate a workspace ( #3856 )
...
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-07-29 04:55:31 +00:00