Merge branch 'master' into feature/postmanParsing
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<p>
|
<p>
|
||||||
<b>A free, fast & beautiful API request builder</b>
|
<b>A free, fast and beautiful API request builder</b>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<i>Web alternative to Postman - Helps you create requests faster, saving precious time on development - <a href="https://postwoman.launchaco.com">Subscribe</a></i>
|
<i>Web alternative to Postman - Helps you create requests faster, saving precious time on development - <a href="https://postwoman.launchaco.com">Subscribe</a></i>
|
||||||
|
|||||||
@@ -373,7 +373,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
class="icon"
|
class="icon"
|
||||||
onClick="window.open('https://twitter.com/share?text=👽 Postwoman • API request builder - Helps you create your requests faster, saving you precious time on your development&url=https://postwoman.io&hashtags=postwoman&via=liyasthomas');"
|
onClick="window.open('https://twitter.com/share?text=👽 Postwoman • A free, fast and beautiful API request builder - Web alternative to Postman - Helps you create requests faster, saving precious time on development.&url=https://postwoman.io&hashtags=postwoman&via=liyasthomas');"
|
||||||
v-close-popover
|
v-close-popover
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
@@ -388,6 +388,15 @@
|
|||||||
</svg>
|
</svg>
|
||||||
<span>{{ $t("tweet") }}</span>
|
<span>{{ $t("tweet") }}</span>
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
v-if="navigatorShare"
|
||||||
|
class="icon"
|
||||||
|
@click="nativeShare"
|
||||||
|
v-close-popover
|
||||||
|
v-tooltip="$t('more')"
|
||||||
|
>
|
||||||
|
<i class="material-icons">share</i>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</v-popover>
|
</v-popover>
|
||||||
@@ -672,7 +681,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getSpecialKey() {
|
getSpecialKey() {
|
||||||
return (/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)) ? "⌘" : "Ctrl";
|
return /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘" : "Ctrl";
|
||||||
},
|
},
|
||||||
linkActive(path) {
|
linkActive(path) {
|
||||||
return {
|
return {
|
||||||
@@ -680,7 +689,6 @@ export default {
|
|||||||
"nuxt-link-active": this.$route.path === path
|
"nuxt-link-active": this.$route.path === path
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
logout() {
|
logout() {
|
||||||
fb.currentUser = null;
|
fb.currentUser = null;
|
||||||
firebase
|
firebase
|
||||||
@@ -694,6 +702,21 @@ export default {
|
|||||||
this.$toast.info(this.$t("logged_out"), {
|
this.$toast.info(this.$t("logged_out"), {
|
||||||
icon: "vpn_key"
|
icon: "vpn_key"
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
nativeShare() {
|
||||||
|
if (navigator.share) {
|
||||||
|
navigator
|
||||||
|
.share({
|
||||||
|
title: "Postwoman",
|
||||||
|
text:
|
||||||
|
"Postwoman • A free, fast and beautiful API request builder - Web alternative to Postman - Helps you create requests faster, saving precious time on development.",
|
||||||
|
url: "https://postwoman.io/"
|
||||||
|
})
|
||||||
|
.then(() => {})
|
||||||
|
.catch(console.error);
|
||||||
|
} else {
|
||||||
|
// fallback
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -709,7 +732,8 @@ export default {
|
|||||||
showSupport: false,
|
showSupport: false,
|
||||||
firefoxExtInstalled: window.firefoxExtSendRequest,
|
firefoxExtInstalled: window.firefoxExtSendRequest,
|
||||||
chromeExtInstalled: window.chrome && hasChromeExtensionInstalled(),
|
chromeExtInstalled: window.chrome && hasChromeExtensionInstalled(),
|
||||||
fb
|
fb,
|
||||||
|
navigatorShare: navigator.share
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
// TODO: Use these when rendering the pages (rather than just for head/meta tags...)
|
// TODO: Use these when rendering the pages (rather than just for head/meta tags...)
|
||||||
export const meta = {
|
export const meta = {
|
||||||
name: "Postwoman",
|
name: "Postwoman",
|
||||||
shortDescription: "API request builder",
|
shortDescription: "A free, fast and beautiful API request builder",
|
||||||
description:
|
description:
|
||||||
"The Postwoman API request builder helps you create your requests faster, saving you precious time on your development."
|
"Web alternative to Postman - Helps you create requests faster, saving precious time on development."
|
||||||
};
|
};
|
||||||
// Sets the base path for the router.
|
// Sets the base path for the router.
|
||||||
// Important for deploying to GitHub pages.
|
// Important for deploying to GitHub pages.
|
||||||
|
|||||||
26
package-lock.json
generated
26
package-lock.json
generated
@@ -991,9 +991,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@firebase/firestore": {
|
"@firebase/firestore": {
|
||||||
"version": "1.10.1",
|
"version": "1.10.2",
|
||||||
"resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.10.2.tgz",
|
||||||
"integrity": "sha512-104SkNefcasRWwHZPUx0LLAhiOdb2ZG9c28hJIiUTKoehZKS/FvdSA2fXMsWvXshuUS3RJO70/eCtbqMKJU9/w==",
|
"integrity": "sha512-Ay9V7eLYNEt12STCfmUxtyu4IBWIgOONzxoRUnkK1nmNbvket7XhSCfij4P4pi3qx4kdpp+hzjUl6ndVbh7y5Q==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@firebase/component": "0.1.5",
|
"@firebase/component": "0.1.5",
|
||||||
"@firebase/firestore-types": "1.9.1",
|
"@firebase/firestore-types": "1.9.1",
|
||||||
@@ -4078,9 +4078,9 @@
|
|||||||
"integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk="
|
"integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk="
|
||||||
},
|
},
|
||||||
"cypress": {
|
"cypress": {
|
||||||
"version": "4.0.1",
|
"version": "4.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/cypress/-/cypress-4.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/cypress/-/cypress-4.0.2.tgz",
|
||||||
"integrity": "sha512-P+cSwc5yE+1hIkWwJzpsiSQthKmzkFeFz2ySejSrJJ6FiXoL8pp0vr1cyWp+75KT4nqL9IYt1GMrHp+mVmvocA==",
|
"integrity": "sha512-WRzxOoSd+TxyXKa7Zi9orz3ii5VW7yhhVYstCU+EpOKfPan9x5Ww2Clucmy4H/W0GHUYAo7GYFZRD33ZCSNBQA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@cypress/listr-verbose-renderer": "0.4.1",
|
"@cypress/listr-verbose-renderer": "0.4.1",
|
||||||
@@ -5194,16 +5194,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"firebase": {
|
"firebase": {
|
||||||
"version": "7.8.1",
|
"version": "7.8.2",
|
||||||
"resolved": "https://registry.npmjs.org/firebase/-/firebase-7.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/firebase/-/firebase-7.8.2.tgz",
|
||||||
"integrity": "sha512-Ji1/21pNvxW3gbBo/iTtXFJsTTWzcDoMeCRx+NJ7/uUVYvmX91WjhnwO84OusHIo9WMs54kosoOWL0i6PZyWwg==",
|
"integrity": "sha512-qB/YopC6PVYTe2Q8hSwDD9CLdQHiMN1HUj/rxFxoICJR1VGkHP2KUvx2gv990V7CwzXIruLWoz9MwCOHFj9D0w==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@firebase/analytics": "0.2.13",
|
"@firebase/analytics": "0.2.13",
|
||||||
"@firebase/app": "0.5.4",
|
"@firebase/app": "0.5.4",
|
||||||
"@firebase/app-types": "0.5.1",
|
"@firebase/app-types": "0.5.1",
|
||||||
"@firebase/auth": "0.13.5",
|
"@firebase/auth": "0.13.5",
|
||||||
"@firebase/database": "0.5.21",
|
"@firebase/database": "0.5.21",
|
||||||
"@firebase/firestore": "1.10.1",
|
"@firebase/firestore": "1.10.2",
|
||||||
"@firebase/functions": "0.4.32",
|
"@firebase/functions": "0.4.32",
|
||||||
"@firebase/installations": "0.4.2",
|
"@firebase/installations": "0.4.2",
|
||||||
"@firebase/messaging": "0.6.4",
|
"@firebase/messaging": "0.6.4",
|
||||||
@@ -9676,9 +9676,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "10.17.14",
|
"version": "10.17.15",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.14.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.15.tgz",
|
||||||
"integrity": "sha512-G0UmX5uKEmW+ZAhmZ6PLTQ5eu/VPaT+d/tdLd5IFsKRPcbe6lPxocBtcYBFSaLaCW8O60AX90e91Nsp8lVHCNw=="
|
"integrity": "sha512-daFGV9GSs6USfPgxceDA8nlSe48XrVCJfDeYm7eokxq/ye7iuOH87hKXgMtEAVLFapkczbZsx868PMDT1Y0a6A=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
"@nuxtjs/sitemap": "^2.0.1",
|
"@nuxtjs/sitemap": "^2.0.1",
|
||||||
"@nuxtjs/toast": "^3.3.0",
|
"@nuxtjs/toast": "^3.3.0",
|
||||||
"ace-builds": "^1.4.8",
|
"ace-builds": "^1.4.8",
|
||||||
"firebase": "^7.8.1",
|
"firebase": "^7.8.2",
|
||||||
"graphql": "^14.6.0",
|
"graphql": "^14.6.0",
|
||||||
"nuxt": "^2.11.0",
|
"nuxt": "^2.11.0",
|
||||||
"nuxt-i18n": "^6.5.0",
|
"nuxt-i18n": "^6.5.0",
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
"yargs-parser": "^17.0.0"
|
"yargs-parser": "^17.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cypress": "^4.0.1",
|
"cypress": "^4.0.2",
|
||||||
"node-sass": "^4.13.1",
|
"node-sass": "^4.13.1",
|
||||||
"sass-loader": "^8.0.2",
|
"sass-loader": "^8.0.2",
|
||||||
"start-server-and-test": "^1.10.8"
|
"start-server-and-test": "^1.10.8"
|
||||||
|
|||||||
@@ -2382,7 +2382,7 @@ export default {
|
|||||||
const date = new Date().toLocaleDateString();
|
const date = new Date().toLocaleDateString();
|
||||||
navigator
|
navigator
|
||||||
.share({
|
.share({
|
||||||
title: `Postwoman`,
|
title: "Postwoman",
|
||||||
text: `Postwoman • API request builder at ${time} on ${date}`,
|
text: `Postwoman • API request builder at ${time} on ${date}`,
|
||||||
url: window.location.href
|
url: window.location.href
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user