Commit Graph

29 Commits

Author SHA1 Message Date
David Marby
cb42863868 Revert "Fix: disabled native modules in the renderer (#4230)"
This reverts commit 80e5161a20.
2021-12-09 14:43:20 +01: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
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
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
Opender Singh
afbbb0eaa3
Update mock implementation and move the segment event enum (#3913) 2021-08-12 22:35:43 +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
Opender Singh
7abde2a017
Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
Dimitri Mitropoulos
0178533e52
Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
Dimitri Mitropoulos
9f3705a8a8
adds eslint rule for requiring default case statements (#3779) 2021-07-01 20:47:10 +00:00
Dimitri Mitropoulos
b5fe435710
have and use guards for all models (#3480) 2021-06-16 14:19:00 -05:00
Opender Singh
d7b630f17b
Add formatting ESLint rules (#3425)
* add rules

* run lint:fix

* quick manual fix for lint errors

* indent fix

* add jsx prop multiline

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-05-27 14:00:32 -04:00
Akhil Sasidharan
0b38c68c1f
fix: insomnia open dialog for proto directory can't select directories (#3348)
* fix: insomnia open dialog for proto directory can't select directories

* uses a named export for selectFileOrFolder

(also, removes original js file from rebase)

* clears error by leveraging exhaustiveness check

* fixes bug: the `name` field is actually for a file filter

see the referenced pull request.

As for the `extensions: ['*']`, there's no reason I can see to include a filter and then tell the filter to then accept everything.

* update selectFileOrFolder mocks

* use switch (for exhaustiveness checking) and type selectedFormat

* removes unnecessary filters from _save_ dialog

from the docs:
> The filters specifies an array of file types that can be displayed

As suspected, this is not needed.  A user is free to save it wherever they want.

* adds extension to saved file

not sure why this was missing before, but it appears to have been a bug

* formatting updates

best to "ignore whitespace" for this commit.  I did this with the hope of using the `ThunkAction` type from `redux-thunk`, but once I got them all looking good and started adding the type I quickly learned there's quite a bit more work to do in this area before we can have such a thing.  I therefore opted to just call it a day at that and take the (no-op) formatting changes and typings.

* removes remaining name filters from save dialogs

same reason as the 2nd to prior commit - they cause the bug

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-26 10:24:21 -04:00
Josh Soref
9006babd38
fix spelling (#2976) 2021-05-25 12:16:43 -04:00
Dimitri Mitropoulos
6e073c8a38
use same array-type rule, project-wide (#3395) 2021-05-19 08:32:18 +12:00
Dimitri Mitropoulos
5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00
David Marby
e1812efdb3
Add initial segment events (#3121) 2021-02-26 20:57:19 +01:00
Opender Singh
b135a2c637
Prevent deletes and validate proto files when uploading a directory (#3024) 2021-01-28 11:00:43 +13:00
Opender Singh
42ab4e4465
Multi proto file support (#3006) 2021-01-25 15:50:53 +13:00
Opender Singh
f27cd5f630
Support template tags with gRPC (#2926) 2020-12-18 00:38:21 +13:00
David Marby
cad2ebc932 Merge branch 'release/2020.5.2' into develop 2020-12-09 19:40:16 +01:00
David Marby
5bedc0ffad
Add additional metrics to the notification call (#2921) 2020-12-09 17:39:53 +01:00
Opender Singh
27987201ad
gRPC URL bar improvements - streaming type & package groups (#2883) 2020-12-09 17:42:50 +13:00
Opender Singh
ef2fc3baec
Validate protofile during upload (#2864)
* feat(insomnia-components): add async-button

* feat: show error if parsing protofile fails during upload/add

* chore: flow is poop

* feat: use try-finally
2020-11-25 10:02:28 +13:00
Opender Singh
0b58a748af
Support for server and bidi streaming (#2814) 2020-11-17 11:59:02 +13:00
Opender Singh
5c1885a540
Support reuploading a proto file (#2832) 2020-11-17 11:01:50 +13:00
Opender Singh
8f8acf83f2
Allow changing the protofile for a request (#2828) 2020-11-13 12:03:36 +13:00
Opender Singh
6f3c41659f
Add TLS/SSL support (#2827) 2020-11-12 12:42:52 +13:00
Opender Singh
f858b6625d
gRPC state management (#2813) 2020-11-12 11:44:03 +13:00
Opender Singh
d18ba8e6d8
Support for gRPC Unary and Client streaming (#2809) 2020-11-10 13:30:27 +13:00