Commit Graph

1178 Commits

Author SHA1 Message Date
Mike Ellan
f1539e2b40
On create nav to new (#3174) 2021-03-10 11:55:45 +13:00
Opender Singh
19d5a28e9e
Fix saving of number preferences (#3165) 2021-03-10 10:50:35 +13:00
Opender Singh
dc150ff015
Better handling of .DS_Store files during migration (#3164) 2021-03-10 10:45:59 +13:00
Opender Singh
2d5a78687e chore: bump version 2021-03-09 17:34:03 +13:00
Opender Singh
3a16a9daca lib@2.2.30 2021-03-05 08:56:48 +13:00
David Marby
460ab0168f Bump the version 2021-03-04 19:59:56 +01:00
Opender Singh
2c9bffd84c
Rename Workspace verbiage (#3145) 2021-03-04 19:09:34 +01:00
Opender Singh
d68509e81d
chore: update documentation links (#3144) 2021-03-04 14:33:46 +01:00
Opender Singh
23c05c4bb9
Pluralize document count label (#3143) 2021-03-04 11:51:38 +13:00
Dimitri Mitropoulos
c28aad3d8e
fix for sparse array in diff (#3142)
* fix for sparse array in diff

* updates test
2021-03-03 17:27:04 -05:00
Opender Singh
a7784d4160
Fix & add smoke tests (#3136)
* chore: refactor

* chore: fix one test

* chore: fix all tests

* chore: fix all existing tests

* chore: add prompting tests

* chore: ignore flaky test for now
2021-03-04 09:00:56 +13:00
David Marby
4dd6fc476a Bump version 2021-03-03 19:55:56 +01:00
Opender Singh
da3305cb42
Validate migration directories exist (#3137) 2021-03-03 19:43:17 +01:00
SaintAPI
f1dbd4fdd3
fix: only change environment on fresh import (#2979)
Co-authored-by: SaintAPI <comfygangsta@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-03 10:22:12 -08:00
SaintAPI
a2bc704f80
Differential (Additive/Removal) patching when switching between design / debug (#3124)
* fix(import) do differential patching for design activity imports

This patch adds differential patching for imports that occur during the switching between
design and debug tabs inside of Designer. As reported through #2971, and others, this patch
favors existing data over imported data, values that exist already on the document will remain
unchanged, only new values (including array based values) will be added / removed.

This also includes a bypass feature for urls, currently these options are not exposed through
the interface but could be. This feature is an object to allow for future properties for
preference-based patching.

- Adds `options.enableDiffBasedPatching` and `options.enableDiffDeep` to `importRaw` for backwards compat.
- Adds `options.bypassDiffProps.url` for url bypassing and use an object for future items.
- Adds `diffPatchObj` based on differential patching for objects (works with arrays as well).

Future ideas:

- `hasBeenModifiedByUser` property map object to allow changing properties that haven't been touched by the user with options.

fixes: #2971, #2882, #3038, #2442

* adds some basic tests

- also adds jest (which was (mistakenly) not there before)
- does not call `.hasOwnProperty` directly, per https://eslint.org/docs/rules/no-prototype-builtins (which, we will add more formally at a later date)

* don't special-case workspaces

this ensures the behavior of the initial PR is more preserved

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-03-03 12:57:09 -05:00
Mike Ellan
4e09e684d2
Migration flow stylistic updates (#3132) 2021-03-03 15:43:37 +13:00
Opender Singh
847bb58aec fix: add back app to the build context 2021-03-03 11:41:23 +13:00
Opender Singh
5ba91ceb21 lib@2.2.29 2021-03-03 11:12:19 +13:00
Opender Singh
8de837bc05 Bump version 2021-03-03 11:09:25 +13:00
Opender Singh
049964bb9b
Prompt for import as collection or document (#3130)
* feat: add prompt and update import logic

* feat: update usages and plugin api

* chore: WIP

* chore: convert to options

* chore: don't create workspace model until needed

* chore: add OR condition

* chore: add workspace name and don't change scope

* feat: prompt with appropriate name

* chore: rename

* chore: rename type

* chore: update signature

* chore: properly type the import functions

* feat: don't activate the workspace after importing

* chore: show loading on homepage

* fix: typo

* chore: fix tests and rename

* Update packages/insomnia-app/app/common/__tests__/import.test.js

Co-authored-by: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2021-03-03 10:16:48 +13:00
Dimitri Mitropoulos
4b993a7762
style updates for core theme (#3134)
[INS-452]
2021-03-02 11:14:19 -05:00
Opender Singh
edd447f38e
Add migration analytics events (#3123) 2021-03-02 12:13:51 +13:00
Opender Singh
00084b65f9
Update workspace or api spec name as appropriate (#3122) 2021-03-02 10:32:32 +13:00
David Marby
f445034738
Portable windows builds (#3125)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-02-28 15:54:18 +01:00
David Marby
e1812efdb3
Add initial segment events (#3121) 2021-02-26 20:57:19 +01:00
Opender Singh
6f3d2666f8
Add option to disable migrating workspaces (#3108) 2021-02-26 12:01:46 +13:00
Tharun Rajendran
3b81808e1d
show inline reveal password option for auth (#2974)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-26 11:14:11 +13:00
Forrest
ff1c70f437
Set a minimum value for fontSize setting (#3042)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-26 10:48:23 +13:00
David Marby
1b718165d7
Update the website links (#3120) 2021-02-26 10:33:38 +13:00
Opender Singh
b8f76deff9
Add plugin bundle to default config (#3092) 2021-02-26 10:10:21 +13:00
Opender Singh
eac7eb3535
Handle unsupported activity values (#3116)
Co-authored-by: David Marby <david@dmarby.se>
2021-02-26 09:55:07 +13:00
Opender Singh
f654f49dfb
Onboarding flow ent to end tests and automatic screenshots on failure (#3106)
Co-authored-by: David Marby <david@dmarby.se>
2021-02-26 09:39:59 +13:00
Opender Singh
5e31295174
Update onboarding flow (#3101) 2021-02-26 09:13:37 +13:00
Opender Singh
958ba79256
fix: remove button nesting (#3100) 2021-02-23 09:16:56 +13:00
David Marby
4064e85781
Bump the axios version (#3082) 2021-02-16 16:45:21 +01:00
Opender Singh
fdff07a81e
Update pull and create dropdown styling (#3080) 2021-02-16 17:07:26 +13:00
Opender Singh
07b4a1a527
Move config generators into workspace dropdown (#3079) 2021-02-16 15:16:45 +13:00
Opender Singh
554af8974b
Move share button and put settings on all pages (#3076) 2021-02-12 15:20:35 +13:00
Opender Singh
8e7c85c5ff
Add pull dropdown to homepage (#3074) 2021-02-12 14:52:43 +13:00
Opender Singh
cf24515d48
Migration verbiage changes (#3073) 2021-02-12 09:18:34 +13:00
Opender Singh
b6247b8b4e
Update layout of the homepage (#3069) 2021-02-11 12:37:10 +13:00
Opender Singh
ba19f3c999
fix: should only open as design document if scope is designer (#3068) 2021-02-11 09:39:20 +13:00
Opender Singh
29fed74346
Data migration workflow from Designer to Core (#3051) 2021-02-10 08:55:30 +13:00
David Marby
09e910df57
Stop automatically appending .git to git repository URLs (#3054) 2021-02-09 09:17:47 +01:00
Gerry Tan
021b9f5810
Strips newlines when parsing GraphQL curl command (#2888)
Co-authored-by: Eric Reynolds <reynolek@gmail.com>
2021-02-09 14:00:53 +13:00
David Marby
5d7ebe84d5
Update the account URLs (#3047) 2021-02-05 11:58:28 +01:00
Giuseppe B
c06b504a12
Updating webpack configuration for development (#3043)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-04 10:29:15 +13:00
Opender Singh
4f062dbb28
Remove more designer and APP_ID code (#3040) 2021-02-03 20:07:11 +13:00
Opender Singh
26fb78ab99
Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
Giuseppe B
c4babfc129
Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
Opender Singh
99b75213e0
Add migration for workspace scope and apply defaults (#3031) 2021-02-02 16:02:17 +13:00
David Marby
1e9868152c
Generate the bundled ssl trust store at compile time (#3030) 2021-01-28 11:46: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
Fabriece Sumuni
7d89bc5b20
feat: remember the last used import Uri (#3018)
* feat: remember the last used import Uri

* refactor: move setItem call to importExport
2021-01-28 09:59:39 +13:00
David Marby
68949619fe
Remove legacy sync (#3028) 2021-01-27 13:01:53 +01:00
Josh Soref
b4862d8270
Log in (#3021)
* grammar: Log In/Log Into

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* grammar: Sign Up

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-01-26 19:36:47 +13:00
Opender Singh
c2e458ca1f
Add folder and file icons to proto files list (#3023) 2021-01-26 10:14:24 +13:00
Opender Singh
1fe337dd2d
Sync & Export support for ProtoDirectory (#3014) 2021-01-25 16:27:36 +13:00
Opender Singh
42ab4e4465
Multi proto file support (#3006) 2021-01-25 15:50:53 +13:00
Opender Singh
32faadeb8c
Fix sizing in vertical layout while design preview is hidden (#3008) 2021-01-22 10:18:58 +13:00
Opender Singh
3c07c86c2f
Fix designer linting notice table visibility (#3007) 2021-01-22 09:24:02 +13:00
Opender Singh
ad2e06018e
Add YAML linting and extend accepted yaml content types (#3001) 2021-01-18 17:56:53 +13:00
Opender Singh
f3ba3491f9
fix: close hint dropdown when changing active request (#2957) 2021-01-15 16:52:15 +13:00
Nijiko Yonskai
fba78881db
Add support for request action plugins (#2678)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-01-15 11:11:10 +13:00
Forrest
6d5b8dd154
Add a button to clear oauth2 from the auth options (#2953)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-19 17:34:10 +13:00
Kim S. Ly
e54f4e0324
GraphQL Explorer - Make text selectable (#2954)
Co-authored-by: Kim S. Ly <lykims@users.noreply.github.com>
2020-12-18 08:57:58 +13:00
Opender Singh
f27cd5f630
Support template tags with gRPC (#2926) 2020-12-18 00:38:21 +13:00
dependabot[bot]
357b8f05f8
Bump highlight.js from 9.18.1 to 10.4.1 in /packages/insomnia-app (#2910)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 11:24:18 +13:00
Antoine
171dae5746
Setting same sidebar item sorting for the Edit tag request dropdown (#2777) 2020-12-17 11:03:51 +13:00
Julien Giovaresco
c5b0529363
Create a new cookie with expires initialized with the MAX_DATE (#2908)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-16 00:19:40 +13:00
dependabot[bot]
dd2017d8b8
Bump ini from 1.3.5 to 1.3.8 (#2940) 2020-12-15 05:22:01 +00: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
98d2cf90c7 Merge window-shim fix 2020-12-08 11:32:18 +13:00
Opender Singh
e4450405ca lib@2.2.27 2020-12-08 10:55:36 +13:00
Opender Singh
e04abf524a feat: add shim for window 2020-12-08 09:36:13 +13:00
David Marby
af0c23d175 Bump app versions to 2020.5.2 2020-12-07 11:36:17 +01:00
David Marby
a2cf11b23b Merge branch 'release/2020.5.1' into develop 2020-12-04 13:34:24 +01:00
Opender Singh
edf80a8e16 chore: bump versions to 2020.5.1 2020-12-04 11:44:33 +13:00
Opender Singh
ecaabd2276 fix: pkce auth is not selectable 2020-12-04 10:34:53 +13:00
David Marby
27320ad04a Merge branch 'release/2020.5' into develop 2020-12-02 15:35:53 +01:00
Opender Singh
dc526d845d
fix: remove request id validation (#2885) 2020-12-02 09:29:30 +13:00
cobwebsonsale
c50bc1f965
Add sort options for sidebar rows (#2738)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-01 13:37:57 +13:00
Giuseppe B
9270fd9f4a
Yarn warnings wrongly treated as errors (#2861)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-01 12:38:06 +13:00
Julien Giovaresco
dfc89a3111
Allow prompt values to be clear + add actions to template tag plugin API (#2736)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-12-01 12:15:17 +13:00
Opender Singh
1bdd8137da
feat: add loading state to git sync staging modal (#2879) 2020-12-01 11:52:23 +13:00
Opender Singh
f5a0e9eb7c lib@2.2.26 2020-11-26 16:12:14 +13:00
Opender Singh
1a2d2a5a87 chore: bump versions to 2020.5 2020-11-26 16:05:15 +13:00
Opender Singh
2233827a26
fix: check for truthy before sending a message over IPC for gRPC (#2869) 2020-11-26 08:18:42 +13:00
Forrest
c9173d39c6
Hide the active workspace when moving a folder (#2853)
* Hide the active workspace when moving a folder (#2849)

* Change workspace to activeWorkspace for clarity

* Use map instead of flatMap for consistency
2020-11-26 08:17:56 +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
Giuseppe B
e5a73190ee
Fix for random UI crash (#2840)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-24 17:40:36 +13:00
Julien Giovaresco
6d259a4e73
Fix Copy as CURL with Multipart (#2740)
The issue was located in the `exportHar` function. It was not handled `file` param correctly.
For this type of file, the `value` attribute is empty, therefore we should take instead the `fileName`

Closes #2282
2020-11-24 14:33:16 +13:00
Opender Singh
4a9235f10f
Add GrpcRequest and ProtoFile as accepted models for git sync (#2846) 2020-11-24 14:31:09 +13:00
Opender Singh
9b1d5ae657
Remove form-control styles from gRPC url bar (#2863) 2020-11-24 14:17:57 +13:00
Mike Ellan
c71eefd0ee
gRPC URL bar spacing in Designer (#2859) 2020-11-24 12:39:27 +13:00
Opender Singh
ad21c515e2
Remove hinting and hide copy/move buttons (#2852) 2020-11-24 12:16:23 +13:00
Johan Hammar
07f9fa676e
Remove redundant help menu item (#2797)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-19 13:52:34 +13:00
Tom Prats
b1259dd5af
Adds sorting to GQL Documentation Browser (#2732)
Co-authored-by: David Marby <david@dmarby.se>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-19 13:34:24 +13:00
Jasmine Wang
bbbf12799e
Add resizing for Design Preview and Testing Results panes (#2712) 2020-11-19 13:13:24 +13:00
Opender Singh
f1add8e010 chore: bump versions 2020-11-18 21:59:13 +13:00
Opender Singh
0ccc8db39b
Update proto-files-modal.js 2020-11-18 21:57:55 +13:00
Opender Singh
24a28dcda8 deps: fix node-libcurl to 2.2.0 2020-11-18 11:23:35 +13:00
Opender Singh
3960a57cad chore: bump versions 2020-11-18 11:23:35 +13:00
Mike Ellan
ec8f72c09b
Show scrollbar when horizontal tab list exceeds available width. (#2844) 2020-11-18 11:22:26 +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
ccd270a9fb
gRPC with Insomnia export format V4 (#2830)
* feat: initial commit to export grpc entities

* feat: grpc requests and protofiles in v4 export format

* test(export): add grpc requests and protofiles in export tests

* test(models): add isProtoFile tests
2020-11-14 12:31:18 +13:00
Opender Singh
8f8acf83f2
Allow changing the protofile for a request (#2828) 2020-11-13 12:03:36 +13:00
Mike Ellan
74ba36609d
Updating base font sizes to fix previous merged PR (#2824) 2020-11-12 08:36:32 -05:00
David Marby
8e057eedc3
Fix version control beta merge conflicts where objects have been deleted (#2790) 2020-11-12 13:40:19 +01: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
Mike Ellan
7a8b1b4953
Add protofile modal design integration (#2820)
* Add proto file modal design integration
2020-11-10 16:30:16 -05:00
Opender Singh
d18ba8e6d8
Support for gRPC Unary and Client streaming (#2809) 2020-11-10 13:30:27 +13:00
David Marby
17ea1b1812
Add the ability to delete synced workspaces from the API (#2795) 2020-11-09 23:56:13 +01:00
Mike Ellan
450b8353f9
Introduce stub UI for gRPC request and response panes (#2817) 2020-11-09 14:36:35 +13:00
Opender Singh
175834efa9
Unsafe deletion of a protofile (#2798) 2020-11-03 13:30:43 +13:00
Opender Singh
e6bdbf27ea
Extract foundational components from request and response panes (#2799) 2020-11-03 11:09:45 +13:00
Opender Singh
dd86bd3369
Add support for gRPC request actions (#2794) 2020-11-02 13:55:22 +13:00
Opender Singh
e77fe3248d
Remove unrelated items from request actions and request settings (#2793) 2020-10-29 12:00:29 +13:00
Opender Singh
5f1c1bb747
Allow sidebar to show grpc requests (#2786) 2020-10-29 11:44:37 +13:00
Opender Singh
d1e1da53e5
Save a GrpcRequest after protofile selection (#2785) 2020-10-29 11:23:07 +13:00
Opender Singh
33ef367f3f
fix: hide gRPC from url bar method dropdown for HTTP requests (#2792) 2020-10-29 08:45:20 +13:00
Opender Singh
edb0a8561d
Add GrpcRequest and GrpcRequestMeta database models (#2784) 2020-10-28 13:05:54 +13:00
Julien Giovaresco
5852d27d3f
Fix color picker display when updating an environment color (#2711)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-27 20:02:49 +13:00
Antoine
a511ea5ed9
Adding deprecated warning icon/message in graphQL docs (#2749)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-27 14:24:21 +13:00
David Marby
b78508d54a Bump versions to 2020.4.2 2020-10-26 20:46:49 +01:00
David Marby
543dc2df99
Use the correct notification icon for Core (#2772) 2020-10-23 21:19:20 +02:00
Opender Singh
65a333cac3
Fetch workspace protofiles from redux instead of refreshing after every action (#2764) 2020-10-23 11:27:46 +13:00
Opender Singh
f2737ff706
Allow for renaming of a protofile (#2763) 2020-10-23 11:06:37 +13:00
Opender Singh
b2bf1146f9
Add file selector to upload a .proto file (#2757) 2020-10-23 10:48:00 +13:00
Mike Ellan
c081fd2003
Insomnia core & designer app iconography (#2766)
App window logo updates and fix.
2020-10-22 16:43:00 -04:00
David Marby
1817872f31
Fix fetching notifications (#2765) 2020-10-22 21:35:42 +02:00
Opender Singh
c73092e294
Modal prompt to select protofile (#2756) 2020-10-23 08:14:46 +13:00
Opender Singh
bd4ed35dab
Add gRPC as a new request method (#2755) 2020-10-22 10:26:09 +13:00
Opender Singh
cc71660c96
Create protofile database model & unit tests (#2754) 2020-10-22 10:02:43 +13:00
David Marby
edcfcf5cef
Beta sync fixes (#2753)
* Fix trailing whitespace in vcs

* Add logging to sync graphql queries

* Don't remotely create a sync project when opening the share dialog

* Fix pulling workspaces with a missing default branch

* Fix the sync merge modal

* Fix workspaces dissapearing when switching to an empty default branch
2020-10-21 12:42:36 +02:00
Martin Pastore
52de6d819d
fix: resize all texts when font size change on preferences (#2710)
* fix: resize all texts when font size change on preferences

* fix: add missing rem conversion

Co-authored-by: Mike Ellan <52717970+sonicyeti@users.noreply.github.com>
2020-10-20 17:22:26 -04:00
Jasmine Wang
d544d754ca
Removing unused / redundant styles (#2752) 2020-10-20 16:50:57 -04:00
Emanuele Concas
29ff23343b
Add Show App Logs Folder to help (#2728)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-21 00:01:47 +13:00
Ben Scholzen
294777b0ed
Add PKCE support (#2652)
* Add PKCE support

* Fix failing unit test and add new test for PKCE

* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js

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

* Update packages/insomnia-app/app/network/o-auth-2/grant-authorization-code.js

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

* Fix prettier report

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-20 20:58:16 +13:00
Julien Giovaresco
d201cd1807
Rename button label of the Save and Download action save dialog (#2727)
The label was `Send and Save`, it is confusing because actually the request was already sent.
2020-10-20 20:36:04 +13:00
Julien Giovaresco
ceead25167
Fix infinite request spinner when cancelling "Send and Download" (#2721)
We were hiding the spinner at the end of the _handleSendAndDownloadRequestWithEnvironment method. However, we
were exiting early we the user cancel the save dialog (L672).

To prevent that, I've moved the code in a finally block, therefore we make sure that the spinner will be hidden

Closes #2718
2020-10-20 19:45:48 +13:00
Antoine
27d5881684
Reloading GraphQL docs on schema reload (#2747) 2020-10-20 17:35:53 +13:00
David Marby
b0b7613f26
Fix sync issues when switching between workspaces (#2724) 2020-10-15 23:42:16 +02:00
David Marby
4fc8b21827
Add file logging (#2716) 2020-10-13 18:05:41 +02:00
Timothy Lim
a9e22075fb
Prevent newlines for singleline Code editor (#2704)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-13 18:46:25 +13:00
Isaac Moore
81ad8ba2c8
Change bulk header editor setting verbiage (#2717)
This change is to be consistent with #2713.
2020-10-13 16:15:51 +13:00