Commit graph

734 commits

Author SHA1 Message Date
Liyas Thomas
d6409d7152 Fixed selected codegen name, updated deps 2020-10-20 00:24:57 +05:30
Liyas Thomas
eaeefafe39 Lint, ES6, popover for codegen 2020-10-19 18:02:42 +05:30
Scott Dutton
37f914d1cc
Possible solution for Global variables (#1289)
fix for #1164

This takes enviroments called "Global" or "global" and appends them
after the current scripts.

Seems to work, but proabbly a cleaner way to acheive

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-19 07:41:01 +05:30
Scott Dutton
da92fd705b
Replace headers in view (#1287)
fixs #1257

Cant add this in the same place as the URL as you end in an infinate
loop

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-19 07:21:40 +05:30
Liyas Thomas
02471e6d60 Lint 2020-10-16 07:10:07 +05:30
Andrew Bastin
9113a826ce Added temporary hack to fix GQL trailing space errors 2020-10-11 13:17:49 -04:00
Andrew Bastin
c778a28f2b Fixed improper page title definition 2020-10-04 22:29:07 -04:00
Yasio
745683f2a8
Fix: passing auth into codegen (#1226) 2020-10-04 18:04:21 +05:30
leoGeorges
76eba3d638 Graphql: highlight fields on search 2020-10-04 11:46:16 +02:00
leoGeorges
12941a107d Use normalized text 2020-10-03 17:36:26 +02:00
leoGeorges
acb777c236 Remove debug code 2020-10-03 17:33:03 +02:00
leoGeorges
7e87cc1923 Add search input & capability to graphql types and fields 2020-10-03 17:24:26 +02:00
Liyas Thomas
d4789463ad Improving code quality as per LGTM review 2020-09-30 21:02:19 +05:30
Liyas Thomas
04bc8308ac Fixed #1195 2020-09-29 23:46:31 +05:30
Andrew Bastin
ee066d7859 Use the new separated codegen for code generation 2020-09-25 23:45:36 -04:00
Liyas Thomas
66cd75dce8 Moved utility functions from assets to helpers 2020-09-26 07:57:45 +05:30
Liyas Thomas
f36db182f1 Better color schemes, minor UI fixes 2020-09-24 22:52:17 +05:30
Liyas Thomas
6380063978 Upstream 2020-09-24 21:37:27 +05:30
Moulik Aggarwal
b2ef26600c
Fix Quality Issues using DeepSource (#1183)
Co-authored-by: DeepSource Bot <bot@deepsource.io>
2020-09-24 20:46:20 +05:30
Liyas Thomas
e94fdcad32
Color modes (#1181) 2020-09-24 08:22:54 +05:30
Liyas Thomas
2e423b101b Refactoring based on LGTM analysis 2020-09-23 17:54:52 +05:30
Liyas Thomas
b747d0273c
Feat/tailwind (#1179) 2020-09-22 22:36:37 +05:30
Liyas Thomas
b6eb581192 Revert last commit 2020-09-18 16:05:50 +05:30
Liyas Thomas
54171e566a FIxed broken restore history on new URL bar 2020-09-18 16:01:58 +05:30
Liyas Thomas
b7a44ab11f
Experiments (#1174)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2020-09-18 08:58:11 +05:30
Liyas Thomas
005db4d0e8 Fixed #1159 2020-09-11 15:07:57 +05:30
Liyas Thomas
62028d1273 Reset file input value after operations - fixed #1124 2020-08-27 13:56:55 +05:30
Liyas Thomas
82da7d0b24 Map DELETE method Alt + X 2020-08-23 11:16:25 +05:30
Liyas Thomas
5cafc7bb37 ❤️ ally 2020-08-23 08:41:04 +05:30
Liyas Thomas
6a55c09328 Fixed #1098 2020-08-20 19:54:12 +05:30
Liyas Thomas
4f75dd30fe Fix broken mobile responsiveness and URL input type 2020-08-17 17:04:13 +05:30
Liyas Thomas
3924370b3e Introduce component wrapper for svg icons 2020-08-17 16:07:36 +05:30
Liyas Thomas
dda26b7a3f Auto import components 2020-08-17 18:37:54 +05:30
Liyas Thomas
e86a17980b Auto import components 2020-08-17 18:29:14 +05:30
Liyas Thomas
124d9ff269 v2 2020-08-13 16:50:02 +05:30
Andrew Bastin
7897118fbd i10n for extension version display 2020-08-06 14:46:55 -04:00
Andrew Bastin
0246e09595 Extension Version is reported on the settings page 2020-08-06 14:40:41 -04:00
Andrew Bastin
8a07f281ff Test scripts get parsed JSON body 2020-08-03 13:42:33 -04:00
Andrew Bastin
45f1e386cc PreReq scripts and Test scripts now use JSEditor 2020-08-02 13:14:14 -04:00
Liyas Thomas
89f552872c
Update pages/index.vue 2020-07-30 11:11:03 +05:30
Liyas Thomas
cf88034230
Update pages/index.vue 2020-07-30 11:00:24 +05:30
John Hu
1c9e9cabcd
Add trailing backslash to generated cURL code
And stop generating Content-Length header so it's easier to modify the generated code. Corresponding HTTP client should handle Content-Type pretty well anyway.
2020-07-30 12:50:16 +08:00
Andrew Bastin
cbae718d25 Fixed Unexpected Token errors for GraphQL queries 2020-07-20 23:48:16 -04:00
Liyas Thomas
ebe351ff0f Import Collections directly from Docs page 2020-07-18 17:46:29 +05:30
Liyas Thomas
1827a98284 Add Collections section in Docs page 2020-07-18 06:39:45 +05:30
Andrew Bastin
82409f3ccc Fixed broken network requests in GraphQL 2020-07-15 14:09:05 -04:00
Liyas Thomas
f3e6a377a9 Removed textareaAutoHeight directive 2020-07-03 11:32:22 +05:30
Liyas Thomas
3cecfe4939 Count on tab 2020-06-23 23:40:34 +05:30
Liyas Thomas
ac50bbddca Moved pre-request script and tests to options tabs 2020-06-23 22:16:06 +05:30
Liyas Thomas
efb1296ff2 Initial Headers component 2020-06-23 15:29:01 +05:30
Andrew Bastin
cfe2ce758b Removed redundant code from pages/index.vue 2020-06-23 03:35:35 -04:00
Liyas Thomas
d12c09aca0 select default lens instead of raw 2020-06-23 07:58:04 +05:30
Andrew Bastin
a41b6be185 Don't run the response lenses if the body is the loading text 2020-06-22 04:31:55 -04:00
Liyas Thomas
d81306ac1a Actions for HTML responses 2020-06-22 03:26:31 -04:00
Liyas Thomas
b44ba30873 Actions for RAW responses 2020-06-22 11:22:01 +05:30
Andrew Bastin
7911d17b2f Initial lens implementation 2020-06-21 17:15:34 -04:00
Liyas Thomas
a38ef9e29e 🔍 Improving SEO 2020-06-21 11:26:19 +05:30
Liyas Thomas
5d94ac361e Isolate Netlify, Firebase and Helper functions + Import from absolute paths 2020-06-21 09:24:45 +05:30
Liyas Thomas
24315ab0e6 Better History restore 2020-06-20 07:54:14 +05:30
Liyas Thomas
4cae0c9652 💄 Updating the UI and style files 2020-06-20 00:24:53 +05:30
Liyas Thomas
e45a185c40 🎨 Updated flex UI 2020-06-19 15:29:14 +05:30
Liyas Thomas
62dfb582f4 Better iconography 2020-06-19 13:25:41 +05:30
Liyas Thomas
0644a8c9fb Transpiled ES5 code to ES6/ES7 2020-06-11 19:55:40 +05:30
Andrew Bastin
d111e219c2 Hide download response button for non-JSON responses 2020-06-10 20:17:41 -04:00
Andrew Bastin
24d1dbadb7 GQL Response options only visible on response 2020-06-04 22:33:18 -04:00
Andrew Bastin
19dbf7fe13 Added ability to download GraphQL responses 2020-06-02 23:42:47 -04:00
Andrew Bastin
8dc662d27e Renamed downloadResponse to proper downloadSchema 2020-06-02 23:42:47 -04:00
Liyas Thomas
1f9222ad04 DELETE now supports request body 2020-06-02 17:10:47 +05:30
Andrew Bastin
42a566d923 Ctrl+G cancels running requests as well 2020-05-31 14:30:24 -04:00
Andrew Bastin
4a2f698ff8 Added ability to cancel requests 2020-05-30 18:28:46 -04:00
Liyas Thomas
0db291047b 🐛 Fixed #912 2020-05-29 22:17:56 +05:30
Liyas Thomas
d986d2e462 🐛 Populate label to Collection - Fixed #897 2020-05-27 07:07:41 +05:30
Liyas Thomas
43d3fa92ba 🐛 Fixed #891 2020-05-26 08:39:52 +05:30
Liyas Thomas
a6160be3ad 🐛 Fixed #896 2020-05-26 07:49:55 +05:30
Andrew Bastin
b0da562472 Refactor content type based code to separate file 2020-05-22 02:53:36 -04:00
Andrew Bastin
a0d8b9029e Updated main page url validation to use httpValid 2020-05-22 02:33:04 -04:00
顾重
c8b5620cc5 Fixed header delete 2020-05-20 19:54:42 +08:00
Liyas Thomas
da85a7ca87 🐛 Fixing save Collections/Environments on enabling sync 2020-05-12 15:37:32 +05:30
Hydrophobefireman
e0aede3fc4
Update index.vue 2020-05-10 21:26:44 +05:30
Hydrophobefireman
fec3c309be
fix for xhr and keep code style intact 2020-05-10 20:48:12 +05:30
Hydrophobefireman
764d001ef6
produce valid output when showing/copying code
Currently when copying a json request as fetch, it outputs a javascript object instead of a stringified version, which is not valid for a fetch request.
2020-05-10 20:44:51 +05:30
Liyas Thomas
80d0925ed7 🐛 Fixed #731 2020-05-10 07:10:32 +05:30
Samir L. Boulema
c655d55197 Always save non replaced uri, but display replaced url in the UI 2020-05-08 23:04:02 +02:00
Samir Boulema
ab6de361ab
Merge branch 'master' into feature/environment-variables-in-collections-#642 2020-05-08 17:27:52 +02:00
Samir L. Boulema
d60939211a Save Collections/Environments on enabling sync 2020-05-08 16:34:53 +02:00
Samir L. Boulema
8b961fb8cd Environment variables in collections #642 2020-05-07 20:54:38 +02:00
Samir L. Boulema
a25b0d0349 Only show prettify button when raw input is enabled 2020-05-07 09:14:10 +02:00
Samir L. Boulema
5c5fa5c4bc Only show prettify button when request body is JSON 2020-05-06 23:02:22 +02:00
Samir L. Boulema
98cb9b3234 Add format body option 2020-05-06 21:23:50 +02:00
Andrew Bastin
d81c45fef1 Merge remote-tracking branch 'upstream/master' into feat/cache-gql-docs 2020-05-05 17:41:44 -04:00
Andrew Bastin
22178a6c2e Docs are persisted and regenerated from the schema introspection data 2020-05-05 17:28:43 -04:00
Andrew Bastin
6644e3b606 Refactor Docs generation from GQL Schema to a separate function 2020-05-05 17:22:59 -04:00
Liyas Thomas
f4d6958491
Merge branch 'master' into feature/URL-Path-Parameters-#834 2020-05-05 22:34:18 +05:30
Samir L. Boulema
9cb6486c71 Proper path parameter replacement 2020-05-05 14:12:41 +02:00
Andrew Bastin
9092c06e71 Remove not-deleted index.vue merge file 2020-05-04 17:52:35 -04:00
Samir Boulema
54e0130216
Merge branch 'master' into feature/URL-Path-Parameters-#834 2020-05-03 13:36:24 +02:00
Liyas Thomas
0fc47e07d4 💄 Moved response body up, near to response status 2020-05-03 15:49:38 +05:30
Samir L. Boulema
25f014ef3b URL Path Parameters #834 2020-05-02 19:34:16 +02:00
Liyas Thomas
b71c95192e 🐛 Fixed #826 2020-04-30 08:01:56 +05:30
Liyas Thomas
f6269ad0ce 🐛 Fixed #825 2020-04-30 05:37:31 +05:30
Liyas Thomas
1d7b3523ae 🐛 Fixed #765 2020-04-26 15:40:44 +05:30
alyson t
868eab0344 Modify responseType by Object(json) or Array(json5)
Editor component can't recognize json Array.
(It accepts json Object.)
If json Array, set this.responseBodyType 'json5'.
2020-04-26 13:27:51 +09:00
Levin Rickert
848535a343
Fix GQL introspection query not sent through extension 2020-04-07 14:24:44 +02:00
Liyas Thomas
754a1d0f06 Improving accessibility 2020-03-26 22:21:41 +05:30
Liyas Thomas
ac0a89ae26 Tests and pre-request scripts are saved to collections. Fixes #643 2020-03-26 07:11:24 +05:30
Liyas Thomas
8568f4c2a9 🐛 Fixed URI not recognizing query parameters 2020-03-25 22:37:38 +05:30
Liyas Thomas
ed4f1fe6f8
Update index.vue 2020-03-22 09:56:53 +05:30
Leonardo Matos
2a8ba00024
Merge branch 'master' into fix/raw-input 2020-03-21 23:40:04 -03:00
Leonardo Matos
3f9ae7fecc fix(raw-input): allow list parameter for any content type ending with 'json' 2020-03-21 23:37:55 -03:00
Leonardo Matos
76786f7a01 fix(raw-input): allow list parameters for json, set true when raw params is changed 2020-03-21 23:31:56 -03:00
Matt Gardner
88cbbe69b2 Add application/vnd.api+json
Add application/vnd.api+json to the places where content type matters
2020-03-20 22:08:05 -04:00
Leonardo Matos
90bd8d45b4
style(js): minor code style fix 2020-03-20 16:06:52 -03:00
Leonardo Matos
c370ee8018
fix: canListParameters prop must return 2020-03-20 15:58:52 -03:00
Leonardo Matos
9a4e64e13f
fix: fix canListParameter (undefined) to canListParameters 2020-03-20 15:56:29 -03:00
Leonardo Matos
dc771f51e8
fix(req-body): ensure raw input if !canListParameters 2020-03-20 15:40:04 -03:00
Liyas Thomas
b14adc29f5 🐛 Hotfix: Enable RAW body for JSON Content-Type 2020-03-20 19:39:48 +05:30
Leonardo Matos
f2c3bd54d6 fix(raw-params): syntax fix, set default only when params is empty or old default 2020-03-17 16:30:15 -03:00
Leonardo Matos
8469d13a12 fix(req-body): fix preseting default body (raw) by content type 2020-03-17 11:30:45 -03:00
Leonardo Matos
1f38c25e6a fix(req-body): enable parameters list for form encoded only
disable raw input toggle when not content type 'application/x-www-form-urlencoded'
2020-03-17 10:53:36 -03:00
Leonardo Matos
90a6315e2b perf(vue): 'validContentTypes' and 'knownContentTypes' can be computed 2020-03-17 10:40:23 -03:00
Liyas Thomas
87c0702959 ♻️ Refactor 2020-03-12 01:31:54 +05:30
Rahul
7d465ca489 Fixed conflicts 2020-03-12 00:00:56 +05:30
Rahul
7345cc9943 Added MQTT support 2020-03-11 23:46:43 +05:30
Liyas Thomas
05b45aa65a Added icon slot to tabs 2020-03-08 21:52:04 +05:30
Liyas Thomas
995e0c6c51 Fixed tab switch 2020-03-08 09:11:25 +05:30
Liyas Thomas
799c650f32 Fixed error on tab switch 2020-03-07 20:27:47 +05:30
Liyas Thomas
33f5474033 Tabs 2020-03-07 18:40:37 +05:30
Andrew Bastin
e4abe4efd5 Added prettify query button for GraphQL queries 2020-03-05 14:58:32 -05:00
Liyas Thomas
0f2686a102 ♻️ Refactoring code 2020-03-05 06:48:10 +05:30
Liyas Thomas
0533f3a070 🐛 Fixed #644 2020-03-04 20:04:38 +05:30
Liyas Thomas
6a96729055
Merge branch 'master' into feature/socketio 2020-03-04 15:37:32 +05:30
moonrailgun
356d736f4e Trans and docs for socketio feature 2020-03-04 14:50:47 +08:00
moonrailgun
14701369bd Add Socketio support
and modify some websocket and sse code to pick up common function and component
2020-03-04 14:40:44 +08:00
Liyas Thomas
b14e475db0 Hotfix: Select current theme swatch 2020-03-04 09:21:48 +05:30
Andrew Bastin
77edec5f76 Removed linting for the collection docs import editor 2020-03-03 20:49:37 -05:00
Liyas Thomas
378d9e7758 🚚 Moving or renaming files 2020-03-03 17:27:53 +05:30
Liyas Thomas
f564ca1eb5 🌱 Added contributors section 2020-03-03 07:02:27 +05:30
Andrew Bastin
afdf4a268a Updated messages for when getSchema fails 2020-03-01 18:47:00 -05:00
John Harker
78ef6e56e0
Merge branch 'master' into update-proxy-info 2020-02-29 21:29:09 +00:00
Liyas Thomas
1f03db1ec0
Merge branch 'master' into update-proxy-info 2020-03-01 00:31:20 +05:30
Dmitry Yankowski
88e7f35995
Merge branch 'master' into gql/editor-updates 2020-02-29 11:57:03 -05:00
Dmitry Yankowski
e56fa732fa Added some GraphQL page updates 2020-02-29 11:42:12 -05:00
Andrew Bastin
d2945913ce Empty gql variable string is substituted with an empty JSON object 2020-02-28 20:15:20 -05:00
Dmitry Yankowski
ff6ecb81d7
Merge branch 'master' into update-proxy-info 2020-02-28 15:11:36 -05:00
Dmitry Yankowski
be0f7b0067
Merge branch 'master' into feat/quick-query-run 2020-02-27 22:16:49 -05:00
Andrew Bastin
e5e66d8cc0 Added shortcut key to the Run Query button tooltip 2020-02-27 21:53:47 -05:00
Andrew Bastin
2f2580d2d3 Hooked up onRunGQLQuery editor command 2020-02-27 21:52:08 -05:00
Dmitry Yankowski
154c2b2da3 Fix scoping and toast notifications for auth/settings page 2020-02-27 21:50:00 -05:00
Liyas Thomas
3bbe71f2c9 ⚗️ Link multiple auth providers 2020-02-28 05:35:28 +05:30
Liyas Thomas
257e6dfb1c
Merge branch 'master' into update-proxy-info 2020-02-28 03:53:55 +05:30