Commit Graph

2451 Commits

Author SHA1 Message Date
Opender Singh
fd1420ddc8
Add filename to apiSpec model and decouple from workspace name (#2063)
* Initial commit

* WIP

* Fix lint

* Fix tests

* Add test for workspace migration

* Rename title to use fileName instead of workspace name for designer

* Linting
2020-04-28 14:29:51 -04:00
Opender Singh
2faa58fa24
Control code-editor indenting by tab and shift-tab, instead of CodeMirror defaults (#2064) 2020-04-28 14:28:46 -04:00
Gregory Schier
bc80c3f93e Fix changelog base URL 2020-04-27 15:52:35 -07:00
Gregory Schier
b9226a3ee1 Bump version and hide ApiSpec from sync 2020-04-27 15:23:56 -07:00
Gregory Schier
7de8246ff8 lib@2.2.2 2020-04-27 15:02:35 -07:00
Gregory Schier
cb1f16c963 Add unlisted and core attributes to core plugins 2020-04-27 15:01:44 -07:00
Opender Singh
0e7b96c868
Add Swagger UI required prop (#2062) 2020-04-28 08:58:40 +12:00
Gregory Schier
10d61796cc
Some tweaks before launch: (#2060)
* Some tweaks before launch:

- Set GA IDs
- Change git folder to `.insomnia`
- Set gravatar email on update notification

* Fix tests
2020-04-27 13:42:57 -07:00
Gregory Schier
5d10622aaa Update README 2020-04-27 09:58:13 -07:00
Gregory Schier
1c46b95ac9 Merge branch 'designer' into develop 2020-04-27 09:56:46 -07:00
Gregory Schier
03e5df6913 Bump versions 2020-04-27 09:53:24 -07:00
Opender Singh
2a0dd17293 add fixture test 2020-04-27 18:08:44 +12:00
Opender Singh
751dd0f86a Exclude x- properties under a path 2020-04-27 18:02:33 +12:00
Gregory Schier
9e7b2401a4 Always run test workflow 2020-04-26 15:03:41 -07:00
Gregory Schier
219526325e Give Travis jobs names 2020-04-26 14:58:07 -07:00
Gregory Schier
caf23f2175 Fix GH_TOKEN env on travis 2020-04-26 14:49:50 -07:00
Gregory Schier
50b6b995aa Fix snapcraft env check 2020-04-26 14:47:34 -07:00
Gregory Schier
d1b7d55483 Travis improvements and upgrade Octokit 2020-04-26 14:29:51 -07:00
Gregory Schier
4cb8e34aef Rename some old things 2020-04-26 14:08:50 -07:00
Gregory Schier
a3253a1149 Set versions 2020-04-26 14:01:07 -07:00
Gregory Schier
c6a7c4d682 Initial designer merge 2020-04-26 13:33:39 -07:00
Yi Tang
28e7d928a8
Expose the request body for plugins (#2003)
* Expose more request body for plugins

Support the following api for plugins:

- get/set the content type of the request;
- get/add/set the form parameters of the reuqest body;
    adding file form item will be ignored if the mime type is not
    multipath form.
- get/set the uploaded filename of the request;
    setting uploading file name will be ignored if the mime type is not
    octet stream.

* Add some test cases

* Add simple request body api for plugins

* Mark (get|set)BodyText() as deprecated
2020-04-23 11:44:54 -07:00
Benjamin Leeds
b7d97a071b
fix: Escape key in editble field closing modals (#2039)
Bonus: Also fixed the issue where escaping saved the value.
2020-04-22 12:28:28 -07:00
Opender Singh
b4b6464f9e
Remove insomnia-components (#2043) 2020-04-22 12:23:54 -07:00
Opender Singh
c3d4d89193
Prevent migrations from running for database.duplicate (#2040) 2020-04-22 11:59:09 +12:00
Gregory Schier
cb715f9565 Remove all fsevents modules 2020-04-14 16:09:18 -07:00
Gregory Schier
7bc219422e
Update Babel and ESLint and fix all related errors (#2032)
* Update Babel and ESLint and fix all related errors

* Update babel-jest
2020-04-09 10:32:19 -07:00
Gregory Schier
a893ba8c88 Extra dialog parameters for plugins 2020-04-07 15:25:49 -07:00
Gregory Schier
3b9031ecc0 Ensure workspace always has valid name attribute 2020-04-07 15:00:04 -07:00
Gregory Schier
c20166fc27 Move change-case dependency to proper place 2020-04-07 11:00:57 -07:00
Gregory Schier
68b9221b80
New plugin API for showing custom UI inside a dialog (#2026)
* New dialog() method to show generic dialogs from Plugins

* Clarified deprecated api method

* Body now required in dialog()

* Made options arg optional too

* Fix tests
2020-04-06 14:31:03 -07:00
Gregory Schier
b2429b7cdf
Link to plugin hub from README 2020-04-03 17:00:04 -07:00
Pocket7878
9f05035e49
feature: Generate Variable Name from SecuritySchemas name parameter. (#1978) 2020-04-03 16:50:50 -07:00
Gregory Schier
6424e11875 Remove About tab from settings and link to OSS license 2020-04-03 11:53:57 -07:00
Cameron Ross
54564bd0f4
Add subscription type to GraphQL schema explorer. (#2008) 2020-03-31 11:06:50 +13:00
Opender Singh
0b0c5baa0e
OpenAPI v3 import robustness (#2007)
* Make openapi3 import more robust by checking if the server tag exists before consuming it

* Fix formating
2020-03-26 09:56:11 -07:00
Gregory Schier
daef7806c8 Move GraphQL default value into separate component 2020-03-18 12:46:45 -07:00
Opender Singh
b072745b6d
Introduce flow $Shape<T> to db models (#2002)
* Introduce flow <T> to db models

* Resolve errors discovered while fixing typing

* Revert change for response
2020-03-18 11:58:57 -07:00
eMerzh
51610ac6bc
Add support for default values in graphql fix #2000 (#2001) 2020-03-18 11:58:37 -07:00
Eric Reynolds
2f8b0b6602
Fixing a race condition when deleting the only workspace (#1997)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
2020-03-13 22:12:41 -07:00
Alfonso Ruzafa
e0d20e5c2c
Allow checkbox input type in prompt dialog (#1980)
* allow checkboxes input fields in prompt dialog

* return booleans as strings from prompt

* align label with checkbox for boolean prompt

* set css classes based on html input type
2020-03-12 16:26:21 -07:00
Alfonso Ruzafa
39c73e17c5
mask template tag title popup when preview is disabled (#1995) 2020-03-12 16:00:11 -07:00
Gregory Schier
7aae21154a
Remove About tab from settings and link to OSS license (#1996) 2020-03-12 15:57:46 -07:00
YMHuang
327eb5b692
Make the OpenAPI 3.0 support HTTP Bearer scheme (#1953) 2020-03-11 15:41:18 -07:00
Alfonso Ruzafa
34c5a79338
Add support for live display name for template tags (#1936)
* add support for live display names in template tags

* add setting to (de)activate live display names in template tags

* Revert "add setting to (de)activate live display names in template tags"

This reverts commit 8cd70b87b5.

* remove liveDisplayName from the Prompt plugin

* use liveDisplayName over 1st arg if it's an enum
2020-03-11 15:15:15 -07:00
Gregory Schier
23b4ac97bd
Add ability to generate theme plugin (#1988)
* Fix missing header name breaking sidebar render

* Global command to generate theme from JSON object

* Update packages/insomnia-app/app/ui/redux/modules/global.js

Co-Authored-By: Opender Singh <opender94@gmail.com>

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-03-11 12:23:52 -07:00
Eric Reynolds
9eefd527e1
Set solarized background and foreground colors to spec (#1992)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
2020-03-11 11:59:47 -07:00
Gregory Schier
d8ed58635c
Update README.md 2020-03-10 17:10:34 -07:00
Opender Singh
1aba4cb2cf
Nunjuck resolution in order of property definitions (#1863)
* Add breaking test

* Remove preferential ordering of tags over variables in nunjucks

* Remove preferential ordering of tags over variables in nunjucks

* simplify nunjucks sort

* Add breaking test for incorrect order

* Update json-order and consume

* Refine test with dataPropertyOrder

* Tests

* add note

* Add to test

* Missed the await
2020-03-09 11:20:22 -07:00
Bartek Bułat
64b6825e53
Add documentation for interfaces (#1984)
Add list of implementations to Interface documentation and list of
implemented interfaces to Object documentation.
2020-03-06 17:52:52 -08:00