Commit Graph

2458 Commits

Author SHA1 Message Date
Opender Singh
5ecb69a8e5
Expose styled-components on the window object for UI plugins (#2528) 2020-08-21 06:44:08 +12:00
Opender Singh
d7594e6fce
Remove assignee from feature request template (#2532) 2020-08-20 22:11:25 +12:00
Seanghay
827783ee94
Bump up httpsnippet to 1.22.0 for Kotlin and Axios code generation support (#2526) 2020-08-20 16:17:52 +12:00
Opender Singh
c5d36a5223 lib@2.2.21 2020-08-18 11:07:08 +12:00
Opender Singh
eed0b6c833
Fix insomnia-components version to 2.2.19 for kong portal plugin (#2522) 2020-08-18 09:34:17 +12:00
Opender Singh
653c546883
Add bitbucket cloud docs, add documentation tooltip to git settings modal header (#2518) 2020-08-18 08:57:21 +12:00
Opender Singh
c24d3138a7
Convert radio button group to be a fully controlled component (#2520) 2020-08-18 08:45:43 +12:00
Opender Singh
be90615025
Don't try to render swaggerui if the preview is hidden (#2519) 2020-08-18 08:42:10 +12:00
Opender Singh
4059633533
Add node forge to insomnia-send-request (#2523) 2020-08-18 08:41:47 +12:00
Bartolomej Kozorog
d9fe05b230
Add tooltip with docs for git authentication key generation 2020-08-16 12:40:38 +12:00
Opender Singh
2b74221549
Add preinstall step to check node version (#2507) 2020-08-13 09:12:31 +12:00
Opender Singh
61b27ae3c4
Add release date to about menu (#2505) 2020-08-13 08:59:30 +12:00
Raphaël Barbazza
48783e5063
fix: made radio-button-group a controlled component (#2499)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-12 14:02:21 -04:00
Opender Singh
b26ce1cfdb Create an alias for styled-components in Webpack for development 2020-08-12 13:51:37 +12:00
Opender Singh
1e424fc083 Package styled-components 2020-08-11 16:57:35 +12:00
Opender Singh
17d31eeb50 lib@2.2.20 2020-08-11 12:29:05 +12:00
Opender Singh
ad91b46b40 Bump versions for beta release 2020-08-11 11:46:59 +12:00
moumni
fa314e5deb
Update root package.json (#2501)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-11 11:46:07 +12:00
Ken
b6aaa4d82b
Copy info to clipboard (#2480)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: John <john_v@outlook.co.nz>
2020-08-11 09:14:11 +12:00
Mike Ellan
42c3c19076
Updating readme for linux (#2504)
* Updating readme for linux
2020-08-10 15:44:14 -04:00
Opender Singh
fc934698ed
Fix webpack file watching, remove styled-components from insomnia-components bundle (#2497)
* Reinstall webpack...

* Reinstall webpack...

* set styled-components as an external

* Remove script
2020-08-11 07:12:53 +12:00
Opender Singh
2e56af3175
Update Inso readme (#2498) 2020-08-07 21:34:37 +12:00
Opender Singh
cb991ba956
Revert "Fix app reloading and insomnia-components in watch mode" (#2496)
This reverts commit 971134fae2.
2020-08-07 08:49:45 +12:00
Opender Singh
971134fae2
Fix app reloading and insomnia-components in watch mode (#2493)
* Fix fsevents

* Add node_env for netlify
2020-08-07 08:48:49 +12:00
Opender Singh
b7d007a246
Inso error handling and verbosity setting for logging (#2466) 2020-08-07 08:45:29 +12:00
Opender Singh
65b4838646
Honor variable defaults from servers declaration during OpenAPI3 import (#2151) 2020-08-07 08:13:00 +12:00
Mike Ellan
55e428bbe3
Checking format to offset line number if spec string is JSON parsable. (#2467)
* Checking format to offset line number if spec string is JSON parsable.

* Cleaning up server component detection, removing unused function
2020-08-06 14:39:37 -04:00
Mike Ellan
d0ac82592d
Updating storybook styling (#2489)
Branding our SB instance.
2020-08-06 10:00:21 -04:00
Mike Ellan
4668670159
Bring path validation into paths component. Error boundry around sidebar, error boundry formatting. (#2484) 2020-08-05 08:47:28 -04:00
Huli
a36e22c294
Replace textarea with code editor for response raw viewer (#2475)
* Replace textarea with code editor

* Add raw-editor class and props to make style consistent

* Merge raw-editor style into general.less

Co-authored-by: Li Hu <li.hu@onedegree.hk>
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-05 07:17:20 +12:00
Gregory Schier
c90306b35e
Port same deterministic logic from OpenAPI 3 to Swagger 2 importer (#2474)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-04 10:09:44 -07:00
Mike Ellan
784357f089
Sidebar code mirror interactions (#2433)
* Lifting path clicked up to sidebar root

* Abstracting out path click to story (and app)

* Adding click to scroll, updating sidebar components

* Scroll fix for sidebar

* Cleaning up log

* PR feedback

* PR Feedback, fix schemas & request body rendering

* PR feedback & cleanup

* Prop value checking, selection positioning

* Pulling remote import

* Styled components into insomnia-app, obj destructuring, typing

* Refactoring item path mapping

* Abstracting the mapping of specs for position, bumping down styled components version.

* Directly passing ... rest args initial work

* Pulling logs, removing array concatenation

* Pulling click handler out of render method

* Rolling position mapping into scroll positining method

* Opening up type, could be number/string/array

* Update package-lock.json

* Grabbing height from window, typing API vars, checking path

* Creating scroll method dedicated to design mode

* Moving typing of spec related content to Props def.

* Type checking on sections, invalid section component
2020-08-03 13:57:12 -04:00
Opender Singh
e9fb34490a
Fix a bug with bulk query edit (#2479) 2020-08-03 22:13:08 +12:00
Huli
e3f9e3c1d4
Consistent export dropdown verbiage (#2476)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-03 17:32:51 +12:00
Nguyen Minh Luan
28c9cd2d76
Consistent trailing punctuation in README lists. (#2477)
We need sync for all line. Dot or none, we can't do like that.
2020-08-03 16:53:09 +12:00
Gregory Schier
680d28bf83
Switch from GH_TOKEN to default GITHUB_TOKEN (#2472)
* Try GITHUB_TOKEN secret instead of GH_TOKEN

* Bump version

* Revert version

* Revert version
2020-07-31 13:32:16 -07:00
Nguyen Minh Luan
f551ef5232
Missing dot at last line. (#2469)
It is uncomfortable for perfect eyes.
2020-07-31 20:53:18 +12:00
Opender Singh
374bce8442
Return 'dev' as the version if running in development (#2462) 2020-07-30 10:31:46 +12:00
Mike Ellan
c73566f12a
Storybook categories & component organization (#2465) 2020-07-29 16:54:09 -04:00
Opender Singh
b50a4bf623
Support config file for inso (#2420) 2020-07-29 11:47:36 +12:00
Gregory Schier
c5283ab14a
Pivot Release for Core Signing Cert change (macOS) (#2453)
* Upgrade Electron to 8, bump Node version, fix font-manager

* Specify nodeIntegration as true

* Get <webview> working again

* Get <webview> working again

* Electron 9.0

* Escape parens in plugin install exec path (newer Electron added them)

* Bump versions for first alpha

* Electron 9.1

* Convert all Electron APIs that switched from callback to Promise

* Fix send-and-download feature

* Remove user-agent override hack for OAuth 2 login window

* Bump alpha version

* Fix issue regarding chokidar

* Add package-lock.json

* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents

* Fix source maps

* Read .nvmrc in GitHub actions

* Address remaining PR feedback

* Use Designer release env for Core

* Bump version

* Add signing requirements for new cert (attempt #1)

* Fix config

* Fix release script

* Fix whitelist cert

* Try updating cert checksum again

* Remove darkModeSupport option

* Revert version bump
2020-07-28 14:11:14 -07:00
Gregory Schier
93c91ebdbe
Upgrade Electron (#2403)
* Upgrade Electron to 8, bump Node version, fix font-manager

* Specify nodeIntegration as true

* Get <webview> working again

* Get <webview> working again

* Electron 9.0

* Escape parens in plugin install exec path (newer Electron added them)

* Bump versions for first alpha

* Electron 9.1

* Convert all Electron APIs that switched from callback to Promise

* Fix send-and-download feature

* Remove user-agent override hack for OAuth 2 login window

* Bump alpha version

* Fix issue regarding chokidar

* Add package-lock.json

* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents

* Fix source maps

* Read .nvmrc in GitHub actions

* Address remaining PR feedback
2020-07-27 22:18:26 -07:00
Opender Singh
b29be4ac2b
Handle silent failures for git push operation (#2432) 2020-07-28 11:48:55 +12:00
Mike Ellan
886c4d75b5
Editor search selection contrast (#2441)
* Increase readability for search result based selections.

* Bumping up highlight
2020-07-24 16:17:45 -04:00
Opender Singh
e43348d48a lib@2.2.19 2020-07-24 13:00:52 +12:00
Gregory Schier
ae3516c1ff
Trim some unnecessary modules from insomnia-send-request (#2439) 2020-07-23 17:00:29 -07:00
Opender Singh
85ad4f7194
Remove dist folder for insomnia-cli (#2431) 2020-07-24 06:23:26 +12:00
Mike Ellan
b7bc88a326
Design sidebar (#2328)
* updated lock file

* Rolling sidebar from SB into application

* Type fix on the method label output

* Update packages/insomnia-components/components/sidebar.js

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

* PR Feedback - Keys, useCallback Hook

* stubbing component breakout

* PR Feedback

- Breaking out most UI elements into components
- Filter component in place
- Various CSS tweaks

* Removing unused file

* Updating toggle

* Resuable sidebar section (#2359)

* Introduce resuable sidebar section
* Stop eslint complaining
* add react-use
* Lint fixes
* Make the storybook story less wide

* Component development

Abstracting out line level components i.e.
Section > Header > Filter > Panel > Items

Various code fixes

* Cleaning up section visibility state

* Reverting visibiilty state updater

* Adding paths on click for spec scrolling

* refreshing package-lock to resolve conflict

* PR feedback for sidebar components

* Update packages/insomnia-components/components/sidebar/sidebar-header.js

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

* Including lock

* Merge fix

* Component structuring, prop clean-up, css updates

* Cleaning up components, pr feedback, fixing styling

* array index reference clean-up/clarity

* Leveraging useToggle rather than manual useState toggling

* Cleaning up logs

* Hide info section if missing from spec.

* Update packages/insomnia-components/components/sidebar/sidebar-responses.js

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

* Update packages/insomnia-components/components/sidebar/sidebar-schemas.js

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

* Pull fragment

* Destructuring and filter cleanup

* Clearing filter value and DOM on section collapse

* Merge latest

* Merge conflict cleanup

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-07-22 09:13:06 -04:00
Opender Singh
dd87c31450
npm audit fix in insomnia-importers - update lodash (#2427) 2020-07-21 15:38:04 +12:00
Opender Singh
7f093d69b4
Add inso export spec command (#2375)
* Add export spec command

* Update snapshots

* Generate config update

* Fix tests

* Helper

* Add tests

* Tests

* Tests

* Tests

* Fix

* Add test coverage

* simply file-write, add error handling

* Update test names
2020-07-16 11:51:15 +12:00