Merge pull request #1071 from hoppscotch/v2
This commit is contained in:
@@ -135,8 +135,8 @@
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
"projectName": "postwoman",
|
||||
"projectOwner": "liyasthomas",
|
||||
"projectName": "hoppscotch",
|
||||
"projectOwner": "hoppscotch",
|
||||
"repoType": "github",
|
||||
"repoHost": "https://github.com",
|
||||
"skipCi": true
|
||||
|
||||
@@ -97,8 +97,8 @@ sw.*
|
||||
# Vim swap files
|
||||
*.swp
|
||||
|
||||
# Postwoman build data
|
||||
.postwoman
|
||||
# Build data
|
||||
.hoppscotch
|
||||
|
||||
# File explorer
|
||||
.directory
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
# https://editorconfig.org
|
||||
|
||||
# editorconfig.org
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
charset = utf-8
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
4
.github/FUNDING.yml
vendored
4
.github/FUNDING.yml
vendored
@@ -1,4 +1,4 @@
|
||||
github: postwoman-io
|
||||
open_collective: postwoman
|
||||
github: hoppscotch
|
||||
open_collective: hoppscotch
|
||||
patreon: liyasthomas
|
||||
custom: https://www.paypal.me/liyascthomas
|
||||
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -93,8 +93,8 @@ sw.*
|
||||
# Vim swap files
|
||||
*.swp
|
||||
|
||||
# Postwoman build data
|
||||
.postwoman
|
||||
# Build data
|
||||
.hoppscotch
|
||||
|
||||
# File explorer
|
||||
.directory
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.dependabot
|
||||
.github
|
||||
.nuxt
|
||||
.postwoman
|
||||
.hoppscotch
|
||||
.vscode
|
||||
package-lock.json
|
||||
node_modules
|
||||
@@ -15,11 +15,6 @@ node_js:
|
||||
|
||||
os: linux
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libgconf-2-4 # cypress binary dependency
|
||||
|
||||
cache: npm
|
||||
|
||||
branches:
|
||||
|
||||
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at hello@postwoman.io. All
|
||||
reported by contacting the project team at liyascthomas@gmail.com. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
|
||||
158
README.md
158
README.md
@@ -1,36 +1,34 @@
|
||||
<div align="center">
|
||||
<a href="https://postwoman.io"><img src="https://raw.githubusercontent.com/postwoman-io/postwoman/master/static/logo.png" alt="Postwoman.io logo" height="160"></a>
|
||||
<a href="https://hoppscotch.io"><img src="https://raw.githubusercontent.com/hoppscotch/hoppscotch/master/static/logo.png" alt="hoppscotch.io logo" height="160"></a>
|
||||
<br>
|
||||
<br>
|
||||
<p>
|
||||
<b>A free, fast and beautiful API request builder</b>
|
||||
</p>
|
||||
<p>
|
||||
<i>Helps you create requests faster, saving precious time on development - <a href="https://postwoman.launchaco.com">Subscribe</a></i>
|
||||
<i>Helps you create requests faster, saving precious time on development - <a href="https://hoppscotch.launchaco.com">Subscribe</a></i>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
[](https://travis-ci.com/postwoman-io/postwoman) [](https://github.com/postwoman-io/postwoman/releases/latest) [](https://postwoman.io) [](CONTRIBUTING.md) [](https://opencollective.com/postwoman) [](https://www.paypal.me/liyascthomas) [](https://t.me/postwoman_app) [](https://discord.gg/GAMWxmR) [](https://twitter.com/intent/tweet?url=https%3A%2F%2Fpostwoman.io&text=%F0%9F%91%BD%20Postwoman%20%E2%80%A2%20API%20request%20builder%20-%20Helps%20you%20create%20your%20requests%20faster%2C%20saving%20you%20precious%20time%20on%20your%20development&original_referer=https%3A%2F%2Ftwitter.com%2Fshare%3Ftext%3D%25F0%259F%2591%25BD%2520Postwoman%2520%25E2%2580%25A2%2520API%2520request%2520builder%2520-%2520Helps%2520you%2520create%2520your%2520requests%2520faster%2C%2520saving%2520you%2520precious%2520time%2520on%2520your%2520development%26url%3Dhttps%3A%2F%2Fpostwoman.io%26hashtags%3Dpostwoman%26via%3Dliyasthomas&via=liyasthomas&hashtags=postwoman)
|
||||
[](https://travis-ci.com/hoppscotch/hoppscotch) [](https://github.com/hoppscotch/hoppscotch/releases/latest) [](https://hoppscotch.io) [](CONTRIBUTING.md) [](https://opencollective.com/hoppscotch) [](https://www.paypal.me/liyascthomas) [](https://t.me/hoppscotch_app) [](https://discord.gg/GAMWxmR) [](https://twitter.com/intent/tweet?url=https%3A%2F%2Fhoppscotch.io&text=%F0%9F%91%BD%20hoppscotch%20%E2%80%A2%20API%20request%20builder%20-%20Helps%20you%20create%20your%20requests%20faster%2C%20saving%20you%20precious%20time%20on%20your%20development&original_referer=https%3A%2F%2Ftwitter.com%2Fshare%3Ftext%3D%25F0%259F%2591%25BD%2520hoppscotch%2520%25E2%2580%25A2%2520API%2520request%2520builder%2520-%2520Helps%2520you%2520create%2520your%2520requests%2520faster%2C%2520saving%2520you%2520precious%2520time%2520on%2520your%2520development%26url%3Dhttps%3A%2F%2Fhoppscotch.io%26hashtags%3Dhoppscotch%26via%3Dliyasthomas&via=liyasthomas&hashtags=hoppscotch)
|
||||
|
||||
</p>
|
||||
<p>
|
||||
<sub>Built with ❤︎ by
|
||||
<a href="https://github.com/liyasthomas">liyasthomas</a> and
|
||||
<a href="https://github.com/postwoman-io/postwoman/graphs/contributors">contributors</a>
|
||||
<a href="https://github.com/hoppscotch/hoppscotch/graphs/contributors">contributors</a>
|
||||
</sub>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
**Read: [Story behind Postwoman](https://dev.to/liyasthomas/i-created-postwoman-an-online-open-source-api-request-builder-41md)**
|
||||
**Chat: [Telegram](https://t.me/hoppscotch_app), [Discord](https://discord.gg/GAMWxmR)**
|
||||
|
||||
**Chat: [Telegram](https://t.me/postwoman_app), [Discord](https://discord.gg/GAMWxmR)**
|
||||
|
||||
**Donate: [GitHub Sponsors](https://github.com/sponsors/postwoman-io), [Open Collective](https://opencollective.com/postwoman), [Patreon](https://www.patreon.com/liyasthomas), [PayPal](https://www.paypal.me/liyascthomas)**
|
||||
**Donate: [GitHub Sponsors](https://github.com/sponsors/hoppscotch), [Open Collective](https://opencollective.com/hoppscotch), [Patreon](https://www.patreon.com/liyasthomas), [PayPal](https://www.paypal.me/liyascthomas)**
|
||||
|
||||
<div align="center">
|
||||
<a href="https://postwoman.io"><img src="https://raw.githubusercontent.com/postwoman-io/postwoman/master/static/images/screenshot1.png" alt="Screenshot1" width="100%"></a>
|
||||
<a href="https://hoppscotch.io"><img src="https://raw.githubusercontent.com/hoppscotch/hoppscotch/master/static/images/screenshot1.png" alt="Screenshot1" width="100%"></a>
|
||||
</div>
|
||||
|
||||
<details>
|
||||
@@ -90,7 +88,7 @@
|
||||
|
||||
🌈 **Make it yours**: Customizable combinations for background, foreground and accent colors.
|
||||
|
||||
**Theming:** [Customize now ✨](https://postwoman.io/settings)
|
||||
**Theming:** [Customize now ✨](https://hoppscotch.io/settings)
|
||||
|
||||
- Choose theme: Kinda Dark (default), Clearly White, Just Black and System theme
|
||||
- Choose accent color: Green (default), Yellow, Pink, Red, Purple, Orange, Cyan and Blue
|
||||
@@ -184,7 +182,7 @@ _Collections are synced with cloud / local session storage_
|
||||
- Access APIs served in non-HTTPS (`http://`)
|
||||
- Use custom Proxy URL
|
||||
|
||||
_Official Postwoman Proxy is hosted by Apollo Software - **[Privacy Policy](https://apollosoftware.xyz/legal/postwoman)**_
|
||||
_Official hoppscotch Proxy is hosted by Apollo Software - **[Privacy Policy](https://apollosoftware.xyz/legal/hoppscotch)**_
|
||||
|
||||
📜 **Pre-Request Scripts β**: Snippets of code associated with a request that are executed before the request is sent.
|
||||
|
||||
@@ -220,19 +218,19 @@ _Keep in mind: Translations aren't available for all source and target language
|
||||
|
||||
**To provide a localized experience for users around the world, you can add you own translations.**
|
||||
|
||||
_**All `i18n` contributions are welcome to `i18n` [branch](https://github.com/postwoman-io/postwoman/tree/i18n) only!**_
|
||||
_**All `i18n` contributions are welcome to `i18n` [branch](https://github.com/hoppscotch/hoppscotch/tree/i18n) only!**_
|
||||
|
||||
📦 **Add-ons**: Official add-ons for Postwoman.
|
||||
📦 **Add-ons**: Official add-ons for hoppscotch.
|
||||
|
||||
- **[Proxy](https://github.com/postwoman-io/proxywoman)** - A simple proxy server created for Postwoman
|
||||
- **[CLI β](https://github.com/postwoman-io/postwoman-cli)** - A CLI solution for Postwoman
|
||||
- **[Browser Extensions](https://github.com/postwoman-io/postwoman-extension)** - Browser extensions that simplifies access to Postwoman
|
||||
- **[Proxy](https://github.com/hoppscotch/proxywoman)** - A simple proxy server created for hoppscotch
|
||||
- **[CLI β](https://github.com/hoppscotch/hoppscotch-cli)** - A CLI solution for hoppscotch
|
||||
- **[Browser Extensions](https://github.com/hoppscotch/hoppscotch-extension)** - Browser extensions that simplifies access to hoppscotch
|
||||
|
||||
[ **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/postwoman) | [ **Chrome**](https://chrome.google.com/webstore/detail/postwoman-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld)
|
||||
[ **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/hoppscotch) | [ **Chrome**](https://chrome.google.com/webstore/detail/hoppscotch-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld)
|
||||
|
||||
> **Extensions fixes `CORS` issues.**
|
||||
|
||||
_Add-ons are developed and maintained under **[Official Postwoman Organization](https://github.com/postwoman-io)**._
|
||||
_Add-ons are developed and maintained under **[Official hoppscotch Organization](https://github.com/hoppscotch)**._
|
||||
|
||||
☁️ **Auth + Sync**: Sign in and sync in real-time.
|
||||
|
||||
@@ -268,11 +266,11 @@ _Notes are only available for signed-in users_
|
||||
- If you need to update the value, you only have to change it in one place
|
||||
- Using variables increases your ability to work efficiently and minimizes the likelihood of error
|
||||
|
||||
**To find out more, please check out [Postwoman Wiki](https://github.com/postwoman-io/postwoman/wiki).**
|
||||
**To find out more, please check out [hoppscotch Wiki](https://github.com/hoppscotch/hoppscotch/wiki).**
|
||||
|
||||
## Demo 🚀 [](https://postwoman.io)
|
||||
## Demo 🚀 [](https://hoppscotch.io)
|
||||
|
||||
[postwoman.io](https://postwoman.io)
|
||||
[hoppscotch.io](https://hoppscotch.io)
|
||||
|
||||
## Usage 💡
|
||||
|
||||
@@ -291,18 +289,18 @@ _Notes are only available for signed-in users_
|
||||
|
||||
## Developing 👷
|
||||
|
||||
0. Update [`.env.example`](https://github.com/postwoman-io/postwoman/blob/master/.env.example) file found in repository's root directory with your own keys and rename it to `.env`.
|
||||
0. Update [`.env.example`](https://github.com/hoppscotch/hoppscotch/blob/master/.env.example) file found in repository's root directory with your own keys and rename it to `.env`.
|
||||
|
||||
_Sample keys only works with the [production build](https://postwoman.io)._
|
||||
_Sample keys only works with the [production build](https://hoppscotch.io)._
|
||||
|
||||
#### Browser based development environment
|
||||
|
||||
[](https://gitpod.io/#https://github.com/postwoman-io/postwoman)
|
||||
[](https://gitpod.io/#https://github.com/hoppscotch/hoppscotch)
|
||||
|
||||
#### Local development environment
|
||||
|
||||
1. [Clone this repo](https://help.github.com/en/articles/cloning-a-repository) with git.
|
||||
2. Install dependencies by running `npm install` within the directory that you cloned (probably `postwoman`).
|
||||
2. Install dependencies by running `npm install` within the directory that you cloned (probably `hoppscotch`).
|
||||
3. Start the development server with `npm run dev`.
|
||||
4. Open development site by going to [`http://localhost:3000`](http://localhost:3000) in your browser.
|
||||
|
||||
@@ -312,23 +310,23 @@ _Sample keys only works with the [production build](https://postwoman.io)._
|
||||
2. Run `docker-compose up`
|
||||
3. Open development site by going to [`http://localhost:3000`](http://localhost:3000) in your browser.
|
||||
|
||||
## Docker 🐳 [](https://hub.docker.com/r/liyasthomas/postwoman)
|
||||
## Docker 🐳 [](https://hub.docker.com/r/liyasthomas/hoppscotch)
|
||||
|
||||
```bash
|
||||
#pull
|
||||
docker pull liyasthomas/postwoman
|
||||
docker pull liyasthomas/hoppscotch
|
||||
|
||||
#run
|
||||
docker run -p 3000:3000 liyasthomas/postwoman:latest
|
||||
docker run -p 3000:3000 liyasthomas/hoppscotch:latest
|
||||
|
||||
#build
|
||||
docker build -t postwoman:latest .
|
||||
docker build -t hoppscotch:latest .
|
||||
```
|
||||
|
||||
## Releasing 🧞
|
||||
|
||||
1. [Clone this repo](https://help.github.com/en/articles/cloning-a-repository) with git.
|
||||
2. Install dependencies by running `npm install` within the directory that you cloned (probably `postwoman`).
|
||||
2. Install dependencies by running `npm install` within the directory that you cloned (probably `hoppscotch`).
|
||||
3. Build the release files with `npm run build`.
|
||||
4. Find the built project in `./dist`.
|
||||
|
||||
@@ -336,13 +334,13 @@ docker build -t postwoman:latest .
|
||||
|
||||
Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDUCT`](CODE_OF_CONDUCT.md), and the process for submitting pull requests to us.
|
||||
|
||||
## Continuous Integration 💚 [](https://travis-ci.com/postwoman-io/postwoman)
|
||||
## Continuous Integration 💚 [](https://travis-ci.com/hoppscotch/hoppscotch)
|
||||
|
||||
We use [Travis CI](https://travis-ci.com) for continuous integration. Check out our [Travis CI Status](https://travis-ci.com/postwoman-io/postwoman).
|
||||
We use [Travis CI](https://travis-ci.com) for continuous integration. Check out our [Travis CI Status](https://travis-ci.com/hoppscotch/hoppscotch).
|
||||
|
||||
## Versioning 🔖 [](https://github.com/postwoman-io/postwoman/releases/latest)
|
||||
## Versioning 🔖 [](https://github.com/hoppscotch/hoppscotch/releases/latest)
|
||||
|
||||
This project is developed by [Liyas Thomas](https://github.com/liyasthomas) using the [Semantic Versioning specification](https://semver.org). For the versions available, see the [releases on this repository](https://github.com/liyasthomas/postwoman/releases).
|
||||
This project is developed by [Liyas Thomas](https://github.com/liyasthomas) using the [Semantic Versioning specification](https://semver.org). For the versions available, see the [releases on this repository](https://github.com/liyasthomas/hoppscotch/releases).
|
||||
|
||||
## Change log 📝
|
||||
|
||||
@@ -360,7 +358,7 @@ See the [`CHANGELOG`](CHANGELOG.md) file for details.
|
||||
|
||||
### Testing and Debugging
|
||||
|
||||
- [Contributors](https://github.com/postwoman-io/postwoman/graphs/contributors)
|
||||
- [Contributors](https://github.com/hoppscotch/hoppscotch/graphs/contributors)
|
||||
|
||||
### Collaborators <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
|
||||
@@ -373,22 +371,22 @@ See the [`CHANGELOG`](CHANGELOG.md) file for details.
|
||||
<!-- markdownlint-disable -->
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center"><a href="https://liyasthomas.web.app"><img src="https://avatars1.githubusercontent.com/u/10395817?v=4" width="100px;" alt=""/><br /><sub><b>Liyas Thomas</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=liyasthomas" title="Code">💻</a> <a href="#design-liyasthomas" title="Design">🎨</a></td>
|
||||
<td align="center"><a href="https://github.com/NBTX"><img src="https://avatars3.githubusercontent.com/u/43181178?v=4" width="100px;" alt=""/><br /><sub><b>John Harker</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=NBTX" title="Code">💻</a> <a href="#design-NBTX" title="Design">🎨</a></td>
|
||||
<td align="center"><a href="https://nicholaslaroux.com"><img src="https://avatars0.githubusercontent.com/u/1557529?v=4" width="100px;" alt=""/><br /><sub><b>Nicholas La Roux</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=larouxn" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/yubathom"><img src="https://avatars3.githubusercontent.com/u/4117768?v=4" width="100px;" alt=""/><br /><sub><b>Thomas Yuba</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=yubathom" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://www.linkedin.com/in/nickpalenchar"><img src="https://avatars1.githubusercontent.com/u/7539781?v=4" width="100px;" alt=""/><br /><sub><b>Nick Palenchar</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=nickpalenchar" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/AndrewBastin"><img src="https://avatars2.githubusercontent.com/u/9131943?v=4" width="100px;" alt=""/><br /><sub><b>Andrew Bastin</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=AndrewBastin" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/vlad0337187"><img src="https://avatars1.githubusercontent.com/u/12682937?v=4" width="100px;" alt=""/><br /><sub><b>Vladislav</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=vlad0337187" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://liyasthomas.web.app"><img src="https://avatars1.githubusercontent.com/u/10395817?v=4" width="100px;" alt=""/><br /><sub><b>Liyas Thomas</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=liyasthomas" title="Code">💻</a> <a href="#design-liyasthomas" title="Design">🎨</a></td>
|
||||
<td align="center"><a href="https://github.com/NBTX"><img src="https://avatars3.githubusercontent.com/u/43181178?v=4" width="100px;" alt=""/><br /><sub><b>John Harker</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=NBTX" title="Code">💻</a> <a href="#design-NBTX" title="Design">🎨</a></td>
|
||||
<td align="center"><a href="https://nicholaslaroux.com"><img src="https://avatars0.githubusercontent.com/u/1557529?v=4" width="100px;" alt=""/><br /><sub><b>Nicholas La Roux</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=larouxn" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/yubathom"><img src="https://avatars3.githubusercontent.com/u/4117768?v=4" width="100px;" alt=""/><br /><sub><b>Thomas Yuba</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=yubathom" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://www.linkedin.com/in/nickpalenchar"><img src="https://avatars1.githubusercontent.com/u/7539781?v=4" width="100px;" alt=""/><br /><sub><b>Nick Palenchar</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=nickpalenchar" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/AndrewBastin"><img src="https://avatars2.githubusercontent.com/u/9131943?v=4" width="100px;" alt=""/><br /><sub><b>Andrew Bastin</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=AndrewBastin" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/vlad0337187"><img src="https://avatars1.githubusercontent.com/u/12682937?v=4" width="100px;" alt=""/><br /><sub><b>Vladislav</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=vlad0337187" title="Code">💻</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/izerozlu"><img src="https://avatars3.githubusercontent.com/u/17386157?v=4" width="100px;" alt=""/><br /><sub><b>izerozlu</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=izerozlu" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/JacobAnavisca"><img src="https://avatars2.githubusercontent.com/u/21232366?v=4" width="100px;" alt=""/><br /><sub><b>Jacob Anavisca</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=JacobAnavisca" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://nityanandagohain.github.io"><img src="https://avatars3.githubusercontent.com/u/26831659?v=4" width="100px;" alt=""/><br /><sub><b>Nityananda Gohain</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=nityanandagohain" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/hosseinnedaee"><img src="https://avatars2.githubusercontent.com/u/42691357?v=4" width="100px;" alt=""/><br /><sub><b>Hossein Nedaee</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=hosseinnedaee" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://ghuser.io/jamesgeorge007"><img src="https://avatars2.githubusercontent.com/u/25279263?v=4" width="100px;" alt=""/><br /><sub><b>James George</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=jamesgeorge007" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://dmitryyankowski.com"><img src="https://avatars0.githubusercontent.com/u/20114263?v=4" width="100px;" alt=""/><br /><sub><b>Dmitry Yankowski</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=dmitryyankowski" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://www.sboulema.nl"><img src="https://avatars2.githubusercontent.com/u/1820661?v=4" width="100px;" alt=""/><br /><sub><b>Samir Boulema</b></sub></a><br /><a href="https://github.com/liyasthomas/postwoman/commits?author=sboulema" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/izerozlu"><img src="https://avatars3.githubusercontent.com/u/17386157?v=4" width="100px;" alt=""/><br /><sub><b>izerozlu</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=izerozlu" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/JacobAnavisca"><img src="https://avatars2.githubusercontent.com/u/21232366?v=4" width="100px;" alt=""/><br /><sub><b>Jacob Anavisca</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=JacobAnavisca" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://nityanandagohain.github.io"><img src="https://avatars3.githubusercontent.com/u/26831659?v=4" width="100px;" alt=""/><br /><sub><b>Nityananda Gohain</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=nityanandagohain" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/hosseinnedaee"><img src="https://avatars2.githubusercontent.com/u/42691357?v=4" width="100px;" alt=""/><br /><sub><b>Hossein Nedaee</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=hosseinnedaee" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://ghuser.io/jamesgeorge007"><img src="https://avatars2.githubusercontent.com/u/25279263?v=4" width="100px;" alt=""/><br /><sub><b>James George</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=jamesgeorge007" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://dmitryyankowski.com"><img src="https://avatars0.githubusercontent.com/u/20114263?v=4" width="100px;" alt=""/><br /><sub><b>Dmitry Yankowski</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=dmitryyankowski" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://www.sboulema.nl"><img src="https://avatars2.githubusercontent.com/u/1820661?v=4" width="100px;" alt=""/><br /><sub><b>Samir Boulema</b></sub></a><br /><a href="https://github.com/liyasthomas/hoppscotch/commits?author=sboulema" title="Code">💻</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -397,7 +395,7 @@ See the [`CHANGELOG`](CHANGELOG.md) file for details.
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||
|
||||
See the list of [contributors](https://github.com/postwoman-io/postwoman/graphs/contributors) who participated in this project.
|
||||
See the list of [contributors](https://github.com/hoppscotch/hoppscotch/graphs/contributors) who participated in this project.
|
||||
|
||||
### Thanks
|
||||
|
||||
@@ -405,32 +403,32 @@ See the list of [contributors](https://github.com/postwoman-io/postwoman/graphs/
|
||||
|
||||
### Financial Contributors
|
||||
|
||||
Become a financial contributor and help us sustain our community [[Contribute](https://opencollective.com/postwoman/contribute)].
|
||||
Become a financial contributor and help us sustain our community [[Contribute](https://opencollective.com/hoppscotch/contribute)].
|
||||
|
||||
#### Organizations
|
||||
|
||||
Support this project with your organization. Your logo will show up here with a link to your website [[Contribute](https://opencollective.com/postwoman/contribute)].
|
||||
Support this project with your organization. Your logo will show up here with a link to your website [[Contribute](https://opencollective.com/hoppscotch/contribute)].
|
||||
|
||||
<a href="https://opencollective.com/postwoman/organization/0/website"><img src="https://opencollective.com/postwoman/organization/0/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/1/website"><img src="https://opencollective.com/postwoman/organization/1/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/2/website"><img src="https://opencollective.com/postwoman/organization/2/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/3/website"><img src="https://opencollective.com/postwoman/organization/3/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/4/website"><img src="https://opencollective.com/postwoman/organization/4/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/5/website"><img src="https://opencollective.com/postwoman/organization/5/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/6/website"><img src="https://opencollective.com/postwoman/organization/6/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/7/website"><img src="https://opencollective.com/postwoman/organization/7/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/8/website"><img src="https://opencollective.com/postwoman/organization/8/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/postwoman/organization/9/website"><img src="https://opencollective.com/postwoman/organization/9/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/0/website"><img src="https://opencollective.com/hoppscotch/organization/0/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/1/website"><img src="https://opencollective.com/hoppscotch/organization/1/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/2/website"><img src="https://opencollective.com/hoppscotch/organization/2/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/3/website"><img src="https://opencollective.com/hoppscotch/organization/3/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/4/website"><img src="https://opencollective.com/hoppscotch/organization/4/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/5/website"><img src="https://opencollective.com/hoppscotch/organization/5/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/6/website"><img src="https://opencollective.com/hoppscotch/organization/6/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/7/website"><img src="https://opencollective.com/hoppscotch/organization/7/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/8/website"><img src="https://opencollective.com/hoppscotch/organization/8/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch/organization/9/website"><img src="https://opencollective.com/hoppscotch/organization/9/avatar.svg"></a>
|
||||
|
||||
#### Individuals
|
||||
|
||||
<a href="https://opencollective.com/postwoman"><img src="https://opencollective.com/postwoman/individuals.svg"></a>
|
||||
<a href="https://opencollective.com/hoppscotch"><img src="https://opencollective.com/hoppscotch/individuals.svg"></a>
|
||||
|
||||
### Code Contributors
|
||||
|
||||
This project exists thanks to all the people who contribute [[Contribute](CONTRIBUTING.md)].
|
||||
|
||||
<a href="https://github.com/postwoman-io/postwoman/graphs/contributors"><img src="https://opencollective.com/postwoman/contributors.svg?width=890&button=false" /></a>
|
||||
<a href="https://github.com/hoppscotch/hoppscotch/graphs/contributors"><img src="https://opencollective.com/hoppscotch/contributors.svg?width=890&button=false" /></a>
|
||||
|
||||
## License 📄
|
||||
|
||||
@@ -452,9 +450,9 @@ This project is licensed under the [MIT License](https://opensource.org/licenses
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" width="200px">
|
||||
<a href="https://postwoman.io">
|
||||
<a href="https://hoppscotch.io">
|
||||
<br/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-Postwoman-202124?logo=Postwoman"/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-hoppscotch-202124?logo=hoppscotch"/>
|
||||
</a>
|
||||
<br/>
|
||||
<sub>
|
||||
@@ -462,14 +460,14 @@ This project is licensed under the [MIT License](https://opensource.org/licenses
|
||||
</sub>
|
||||
</td>
|
||||
<td>
|
||||
<code>[](https://postwoman.io)</code>
|
||||
<code>[](https://hoppscotch.io)</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="200px">
|
||||
<a href="https://postwoman.io">
|
||||
<a href="https://hoppscotch.io">
|
||||
<br/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-Postwoman-success?logo=Postwoman"/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-hoppscotch-success?logo=hoppscotch"/>
|
||||
</a>
|
||||
<br/>
|
||||
<sub>
|
||||
@@ -477,14 +475,14 @@ This project is licensed under the [MIT License](https://opensource.org/licenses
|
||||
</sub>
|
||||
</td>
|
||||
<td>
|
||||
<code>[](https://postwoman.io)</code>
|
||||
<code>[](https://hoppscotch.io)</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="200px">
|
||||
<a href="https://postwoman.io">
|
||||
<a href="https://hoppscotch.io">
|
||||
<br/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-Postwoman-critical?logo=Postwoman"/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-hoppscotch-critical?logo=hoppscotch"/>
|
||||
</a>
|
||||
<br/>
|
||||
<sub>
|
||||
@@ -492,14 +490,14 @@ This project is licensed under the [MIT License](https://opensource.org/licenses
|
||||
</sub>
|
||||
</td>
|
||||
<td>
|
||||
<code>[](https://postwoman.io)</code>
|
||||
<code>[](https://hoppscotch.io)</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="200px">
|
||||
<a href="https://postwoman.io">
|
||||
<a href="https://hoppscotch.io">
|
||||
<br/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-Postwoman-blueviolet?logo=Postwoman"/>
|
||||
<img src="https://img.shields.io/badge/Tested_on-hoppscotch-blueviolet?logo=hoppscotch"/>
|
||||
</a>
|
||||
<br/>
|
||||
<sub>
|
||||
@@ -507,14 +505,14 @@ This project is licensed under the [MIT License](https://opensource.org/licenses
|
||||
</sub>
|
||||
</td>
|
||||
<td>
|
||||
<code>[](https://postwoman.io)</code>
|
||||
<code>[](https://hoppscotch.io)</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="200px">
|
||||
<a href="https://postwoman.io">
|
||||
<a href="https://hoppscotch.io">
|
||||
<br/>
|
||||
<img src="https://img.shields.io/badge/your_text-Postwoman-hex_color_code?logo=Postwoman"/>
|
||||
<img src="https://img.shields.io/badge/your_text-hoppscotch-hex_color_code?logo=hoppscotch"/>
|
||||
</a>
|
||||
<br/>
|
||||
<sub>
|
||||
@@ -522,7 +520,7 @@ This project is licensed under the [MIT License](https://opensource.org/licenses
|
||||
</sub>
|
||||
</td>
|
||||
<td>
|
||||
<code>[](https://postwoman.io)</code>
|
||||
<code>[](https://hoppscotch.io)</code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -530,7 +528,7 @@ This project is licensed under the [MIT License](https://opensource.org/licenses
|
||||
|
||||
<div align="center">
|
||||
<br>
|
||||
<a href="https://postwoman.io"><img src="https://raw.githubusercontent.com/liyasthomas/templates/master/assets/logo.gif" alt="Postwoman.io" width="200"></a>
|
||||
<a href="https://hoppscotch.io"><img src="https://raw.githubusercontent.com/liyasthomas/templates/master/assets/logo.gif" alt="hoppscotch.io" width="200"></a>
|
||||
<br>
|
||||
<h3>Happy Coding ❤︎</h3>
|
||||
</div>
|
||||
|
||||
@@ -4,11 +4,11 @@ Thanks for your interest in helping translating the software!
|
||||
|
||||
## Starting a translation
|
||||
|
||||
Before you start working on a translation, look through the [open pull requests](https://github.com/liyasthomas/postwoman/pulls) to see if anyone else is already working on one for your language.
|
||||
Before you start working on a translation, look through the [open pull requests](https://github.com/hoppscotch/hoppscotch/pulls) to see if anyone else is already working on one for your language.
|
||||
|
||||
If there's not, then today is your day to lead this effort! Here's how to start:
|
||||
|
||||
1. [Fork this repository](https://github.com/liyasthomas/postwoman/fork)
|
||||
1. [Fork this repository](https://github.com/hoppscotch/hoppscotch/fork)
|
||||
2. Create a new branch for your translation work e.g. `es`.
|
||||
3. Copy `lang/en-US.json` to your target language file e.g. `lang/es-ES.json` and translate all the strings.
|
||||
4. Add your language entry to `nuxt.config.js`.
|
||||
|
||||
@@ -41,9 +41,9 @@ export default () => {
|
||||
let outcome = await deferredPrompt.userChoice
|
||||
|
||||
if (outcome === "accepted") {
|
||||
console.log("Postwoman was installed successfully.")
|
||||
console.log("Hoppscotch was installed successfully.")
|
||||
} else {
|
||||
console.log("Postwoman could not be installed. (Installation rejected by user.)")
|
||||
console.log("Hoppscotch could not be installed. (Installation rejected by user.)")
|
||||
}
|
||||
deferredPrompt = null
|
||||
}
|
||||
|
||||
4
build.js
4
build.js
@@ -4,7 +4,7 @@ const { spawnSync } = require("child_process")
|
||||
const runCommand = (command, args) => spawnSync(command, args).stdout.toString().replace(/\n/g, "")
|
||||
|
||||
const FAIL_ON_ERROR = false
|
||||
const PW_BUILD_DATA_DIR = "./.postwoman"
|
||||
const PW_BUILD_DATA_DIR = "./.hoppscotch"
|
||||
// const IS_DEV_MODE = process.argv.includes("--dev")
|
||||
|
||||
try {
|
||||
@@ -23,7 +23,7 @@ try {
|
||||
if (!version.name) {
|
||||
version.name = (
|
||||
await axios
|
||||
.get("https://api.github.com/repos/liyasthomas/postwoman/releases")
|
||||
.get("https://api.github.com/repos/hoppscotch/hoppscotch/releases")
|
||||
// If we can't get it from GitHub, we'll resort to getting it from package.json
|
||||
.catch((ex) => ({
|
||||
data: [
|
||||
|
||||
@@ -51,7 +51,7 @@ TODO:
|
||||
{{ $t("import_export") }}
|
||||
</button>
|
||||
<!-- <a
|
||||
href="https://github.com/liyasthomas/postwoman/wiki/Collections"
|
||||
href="https://github.com/hoppscotch/hoppscotch/wiki/Collections"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="flex-wrap">
|
||||
<span>
|
||||
<a
|
||||
href="https://github.com/sponsors/postwoman-io"
|
||||
href="https://github.com/sponsors/hoppscotch"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
v-tooltip.right="$t('recurring')"
|
||||
@@ -36,7 +36,7 @@
|
||||
<div class="flex-wrap">
|
||||
<span>
|
||||
<a
|
||||
href="https://opencollective.com/postwoman"
|
||||
href="https://opencollective.com/hoppscotch"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
v-tooltip.right="$t('one_time_recurring')"
|
||||
@@ -78,13 +78,13 @@
|
||||
<h3 class="title">Financial Contributors</h3>
|
||||
<p class="info">
|
||||
Become a financial contributor and help us sustain our community.
|
||||
<a class="link" href="https://opencollective.com/postwoman/contribute">Contribute</a>.
|
||||
<a class="link" href="https://opencollective.com/hoppscotch/contribute">Contribute</a>.
|
||||
</p>
|
||||
<h3 class="title">Organizations</h3>
|
||||
<p class="info">
|
||||
Support this project with your organization. Your logo will show up here with a link to your
|
||||
website.
|
||||
<a class="link" href="https://opencollective.com/postwoman/contribute">Contribute</a>.
|
||||
<a class="link" href="https://opencollective.com/hoppscotch/contribute">Contribute</a>.
|
||||
</p>
|
||||
<div class="contributors">
|
||||
<a href="https://tyk.io" target="_blank" rel="noopener">
|
||||
@@ -96,42 +96,42 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="contributors">
|
||||
<a href="https://opencollective.com/postwoman/organization/0/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/0/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/0/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/0/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/1/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/1/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/1/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/1/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/2/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/2/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/2/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/2/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/3/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/3/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/3/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/3/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/4/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/4/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/4/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/4/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/5/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/5/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/5/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/5/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/6/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/6/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/6/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/6/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/7/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/7/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/7/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/7/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/8/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/8/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/8/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/8/avatar.svg" />
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman/organization/9/website">
|
||||
<img src="https://opencollective.com/postwoman/organization/9/avatar.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch/organization/9/website">
|
||||
<img src="https://opencollective.com/hoppscotch/organization/9/avatar.svg" />
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="title">Individuals</h3>
|
||||
<p class="info">
|
||||
Support this project with your organization. Your logo will show up here with a link to your
|
||||
website.
|
||||
<a class="link" href="https://opencollective.com/postwoman/contribute">Contribute</a>.
|
||||
<a class="link" href="https://opencollective.com/hoppscotch/contribute">Contribute</a>.
|
||||
</p>
|
||||
<div class="contributors">
|
||||
<a href="http://tom.preston-werner.com" target="_blank" rel="noopener">
|
||||
@@ -141,8 +141,8 @@
|
||||
alt="Tom Preston-Werner"
|
||||
/>
|
||||
</a>
|
||||
<a href="https://opencollective.com/postwoman">
|
||||
<img src="https://opencollective.com/postwoman/individuals.svg" />
|
||||
<a href="https://opencollective.com/hoppscotch">
|
||||
<img src="https://opencollective.com/hoppscotch/individuals.svg" />
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="title">Code Contributors</h3>
|
||||
@@ -150,8 +150,8 @@
|
||||
This project exists thanks to all the people who contribute.
|
||||
</p>
|
||||
<div class="contributors">
|
||||
<a href="https://github.com/liyasthomas/postwoman/graphs/contributors">
|
||||
<img src="https://opencollective.com/postwoman/contributors.svg" />
|
||||
<a href="https://github.com/liyasthomas/hoppscotch/graphs/contributors">
|
||||
<img src="https://opencollective.com/hoppscotch/contributors.svg" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<span v-if="version.name" class="mono">
|
||||
<a
|
||||
class="footer-link"
|
||||
:href="'https://github.com/liyasthomas/postwoman/releases/tag/' + version.name"
|
||||
:href="'https://github.com/hoppscotch/hoppscotch/releases/tag/' + version.name"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
v-tooltip="'GitHub'"
|
||||
@@ -22,7 +22,7 @@
|
||||
<!-- <span v-if="version.hash">
|
||||
-
|
||||
<a
|
||||
:href="'https://github.com/liyasthomas/postwoman/commit/' + version.hash"
|
||||
:href="'https://github.com/hoppscotch/hoppscotch/commit/' + version.hash"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>{{version.hash}}</a>
|
||||
@@ -35,7 +35,7 @@
|
||||
🦄
|
||||
</button>
|
||||
</a>
|
||||
<a href="mailto:hello@postwoman.io" target="_blank" rel="noopener">
|
||||
<a href="mailto:liyascthomas@gmail.com" target="_blank" rel="noopener">
|
||||
<button class="icon" v-tooltip="$t('contact_us')">
|
||||
<i class="material-icons">email</i>
|
||||
</button>
|
||||
@@ -75,7 +75,7 @@
|
||||
</style>
|
||||
|
||||
<script>
|
||||
import * as version from "../../.postwoman/version.json"
|
||||
import * as version from "../../.hoppscotch/version.json"
|
||||
|
||||
export default {
|
||||
data() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="flex-wrap">
|
||||
<span class="slide-in">
|
||||
<nuxt-link :to="localePath('index')">
|
||||
<h1 class="logo">Postwoman</h1>
|
||||
<h1 class="logo">Hoppscotch</h1>
|
||||
</nuxt-link>
|
||||
</span>
|
||||
<span>
|
||||
@@ -16,7 +16,7 @@
|
||||
<i class="material-icons">offline_bolt</i>
|
||||
</button>
|
||||
<a
|
||||
href="https://github.com/liyasthomas/postwoman"
|
||||
href="https://github.com/hoppscotch/hoppscotch"
|
||||
target="_blank"
|
||||
aria-label="GitHub"
|
||||
rel="noopener"
|
||||
@@ -90,7 +90,7 @@
|
||||
</button>
|
||||
<button
|
||||
class="icon"
|
||||
onClick="window.open('https://twitter.com/share?text=👽 Postwoman • A free, fast and beautiful API request builder - Helps you create requests faster, saving precious time on development.&url=https://postwoman.io&hashtags=postwoman&via=liyasthomas');"
|
||||
onClick="window.open('https://twitter.com/share?text=👽 Hoppscotch • A free, fast and beautiful API request builder - Helps you create requests faster, saving precious time on development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=liyasthomas');"
|
||||
v-close-popover
|
||||
>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">
|
||||
@@ -322,7 +322,7 @@ export default {
|
||||
// setTimeout(() => {
|
||||
// this.$toast.clear()
|
||||
// this.$toast.show(
|
||||
// "<span>Get <u><a href='https://gum.co/keky' target='_blank' rel='noopener'>De-Coding The Passion Project</a></u> book, expertly crafted by the creator of Postwoman. Whoosh this away to dismiss →</span>",
|
||||
// "<span>Get <u><a href='https://gum.co/keky' target='_blank' rel='noopener'>De-Coding The Passion Project</a></u> book, expertly crafted by the creator of Hoppscotch. Whoosh this away to dismiss →</span>",
|
||||
// {
|
||||
// icon: "",
|
||||
// duration: 0,
|
||||
@@ -398,10 +398,10 @@ export default {
|
||||
if (navigator.share) {
|
||||
navigator
|
||||
.share({
|
||||
title: "Postwoman",
|
||||
title: "Hoppscotch",
|
||||
text:
|
||||
"Postwoman • A free, fast and beautiful API request builder - Helps you create requests faster, saving precious time on development.",
|
||||
url: "https://postwoman.io/",
|
||||
"Hoppscotch • A free, fast and beautiful API request builder - Helps you create requests faster, saving precious time on development.",
|
||||
url: "https://hoppscotch.io/",
|
||||
})
|
||||
.then(() => {})
|
||||
.catch(console.error)
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
volumes:
|
||||
- "./.postwoman:/app/.postwoman"
|
||||
- "./.hoppscotch:/app/.hoppscotch"
|
||||
- "./assets:/app/assets"
|
||||
- "./directives:/app/directives"
|
||||
- "./layouts:/app/layouts"
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>Postwoman</title>
|
||||
<meta http-equiv="refresh" content="0; url=https://postwoman.io" />
|
||||
<link rel="canonical" href="https://postwoman.io" />
|
||||
<title>Hoppscotch</title>
|
||||
<meta http-equiv="refresh" content="0; url=https://hoppscotch.io" />
|
||||
<link rel="canonical" href="https://hoppscotch.io" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
Redirecting to postwoman.io
|
||||
Redirecting to hoppscotch.io
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -51,7 +51,7 @@ export default {
|
||||
"background-color:white;padding:8px 16px;border-radius:8px;font-size:32px;color:red;"
|
||||
)
|
||||
console.log(
|
||||
"%cContribute: https://github.com/liyasthomas/postwoman",
|
||||
"%cContribute: https://github.com/hoppscotch/hoppscotch",
|
||||
"background-color:black;padding:4px 8px;border-radius:8px;font-size:16px;color:white;"
|
||||
)
|
||||
},
|
||||
|
||||
124
nuxt.config.js
124
nuxt.config.js
@@ -2,45 +2,34 @@ require("dotenv").config()
|
||||
// Some helpful application constants.
|
||||
// TODO: Use these when rendering the pages (rather than just for head/meta tags...)
|
||||
export const options = {
|
||||
name: "Postwoman",
|
||||
name: "Hoppscotch",
|
||||
shortDescription: "A free, fast and beautiful API request builder",
|
||||
description: "Helps you create requests faster, saving precious time on development.",
|
||||
loading: {
|
||||
color: "#202124",
|
||||
color: "#50fa7b",
|
||||
background: "#202124",
|
||||
},
|
||||
app: {
|
||||
color: "#ffffff",
|
||||
background: "#202124",
|
||||
accent: "#50fa7b",
|
||||
},
|
||||
social: {
|
||||
twitter: "@liyasthomas",
|
||||
},
|
||||
}
|
||||
// Sets the base path for the router.
|
||||
// Important for deploying to GitHub pages.
|
||||
// -- Travis includes the author in the repo slug,
|
||||
// so if there's a /, we need to get everything after it.
|
||||
let repoName = (process.env.TRAVIS_REPO_SLUG || "").split("/").pop()
|
||||
export const routerBase =
|
||||
process.env.DEPLOY_ENV === "GH_PAGES"
|
||||
? {
|
||||
router: {
|
||||
base: `/${repoName}/`,
|
||||
},
|
||||
}
|
||||
: {
|
||||
router: {
|
||||
base: "/",
|
||||
},
|
||||
}
|
||||
export default {
|
||||
mode: "spa",
|
||||
/*
|
||||
** Headers of the page
|
||||
*/
|
||||
server: {
|
||||
host: "0.0.0.0", // default: localhost
|
||||
},
|
||||
head: {
|
||||
title: `${options.name} • ${options.shortDescription}`,
|
||||
meta: [
|
||||
{
|
||||
name: "keywords",
|
||||
content:
|
||||
"postwoman, postwoman chrome, postwoman online, postwoman for mac, postwoman app, postwoman for windows, postwoman google chrome, postwoman chrome app, get postwoman, postwoman web, postwoman android, postwoman app for chrome, postwoman mobile app, postwoman web app, api, request, testing, tool, rest, websocket, sse, graphql, socketio",
|
||||
"hoppscotch, hopp scotch, hoppscotch online, hoppscotch app, postwoman, postwoman chrome, postwoman online, postwoman for mac, postwoman app, postwoman for windows, postwoman google chrome, postwoman chrome app, get postwoman, postwoman web, postwoman android, postwoman app for chrome, postwoman mobile app, postwoman web app, api, request, testing, tool, rest, websocket, sse, graphql, socketio",
|
||||
},
|
||||
{
|
||||
name: "X-UA-Compatible",
|
||||
@@ -56,11 +45,11 @@ export default {
|
||||
},
|
||||
{
|
||||
itemprop: "image",
|
||||
content: `https://postwoman.io/logo.jpg`,
|
||||
content: `${process.env.BASE_URL}logo.jpg`,
|
||||
},
|
||||
{
|
||||
property: "og:image",
|
||||
content: `https://postwoman.io/logo.jpg`,
|
||||
content: `${process.env.BASE_URL}logo.jpg`,
|
||||
},
|
||||
// Add to homescreen for Chrome on Android. Fallback for PWA (handled by nuxt)
|
||||
{
|
||||
@@ -70,11 +59,11 @@ export default {
|
||||
// Windows phone tile icon
|
||||
{
|
||||
name: "msapplication-TileImage",
|
||||
content: `${routerBase.router.base}icons/icon-144x144.png`,
|
||||
content: `/icons/icon-144x144.png`,
|
||||
},
|
||||
{
|
||||
name: "msapplication-TileColor",
|
||||
content: "#202124",
|
||||
content: options.app.background,
|
||||
},
|
||||
{
|
||||
name: "msapplication-tap-highlight",
|
||||
@@ -85,32 +74,21 @@ export default {
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/x-icon",
|
||||
href: `${routerBase.router.base}favicon.ico`,
|
||||
href: `/favicon.ico`,
|
||||
},
|
||||
// Home-screen icons (iOS)
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
href: `${routerBase.router.base}icons/icon-48x48.png`,
|
||||
href: `/icons/icon-48x48.png`,
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "72x72",
|
||||
href: `${routerBase.router.base}icons/icon-72x72.png`,
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "96x96",
|
||||
href: `${routerBase.router.base}icons/icon-96x96.png`,
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "144x144",
|
||||
href: `${routerBase.router.base}icons/icon-144x144.png`,
|
||||
rel: "apple-touch-startup-image",
|
||||
href: `/icons/icon-72x72.png`,
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
sizes: "192x192",
|
||||
href: `${routerBase.router.base}icons/icon-192x192.png`,
|
||||
href: `/icons/icon-192x192.png`,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -126,8 +104,8 @@ export default {
|
||||
*/
|
||||
loadingIndicator: {
|
||||
name: "pulse",
|
||||
color: "var(--ac-color)",
|
||||
background: "#202124",
|
||||
color: options.loading.color,
|
||||
background: options.loading.background,
|
||||
},
|
||||
/*
|
||||
** Global CSS
|
||||
@@ -136,19 +114,17 @@ export default {
|
||||
/*
|
||||
** Plugins to load before mounting the App
|
||||
*/
|
||||
plugins: [
|
||||
{
|
||||
src: "~/plugins/vuex-persist",
|
||||
},
|
||||
{
|
||||
src: "~/plugins/v-tooltip",
|
||||
},
|
||||
],
|
||||
plugins: ["~/plugins/vuex-persist", "~/plugins/v-tooltip"],
|
||||
/*
|
||||
** Auto import components
|
||||
** See https://nuxtjs.org/api/configuration-components
|
||||
*/
|
||||
components: true,
|
||||
/*
|
||||
** Nuxt.js dev-modules
|
||||
*/
|
||||
buildModules: [
|
||||
// See https://goo.gl/OOhYW5
|
||||
// https://pwa.nuxtjs.org
|
||||
"@nuxtjs/pwa",
|
||||
// Doc: https://github.com/nuxt-community/dotenv-module
|
||||
"@nuxtjs/dotenv",
|
||||
@@ -161,35 +137,34 @@ export default {
|
||||
** Nuxt.js modules
|
||||
*/
|
||||
modules: [
|
||||
// Doc: https://axios.nuxtjs.org/usage
|
||||
// https://axios.nuxtjs.org
|
||||
"@nuxtjs/axios",
|
||||
// https://github.com/nuxt-community/modules/tree/master/packages/toast
|
||||
"@nuxtjs/toast",
|
||||
// Doc: https://github.com/nuxt-community/nuxt-i18n
|
||||
"nuxt-i18n",
|
||||
// Doc: https://github.com/nuxt-community/sitemap-module
|
||||
"@nuxtjs/sitemap",
|
||||
// Doc: https://github.com/nuxt-community/robots-module
|
||||
"@nuxtjs/robots",
|
||||
// Doc: https://github.com/nuxt-community/sitemap-module
|
||||
"@nuxtjs/sitemap",
|
||||
],
|
||||
pwa: {
|
||||
manifest: {
|
||||
name: options.name,
|
||||
short_name: options.name,
|
||||
start_url: `${routerBase.router.base}`,
|
||||
start_url: `/`,
|
||||
display: "standalone",
|
||||
background_color: "#202124",
|
||||
background_color: options.app.background,
|
||||
description: options.shortDescription,
|
||||
theme_color: "#202124",
|
||||
theme_color: options.app.background,
|
||||
},
|
||||
|
||||
meta: {
|
||||
ogHost: "https://postwoman.io",
|
||||
ogHost: process.env.BASE_URL,
|
||||
twitterCard: "summary_large_image",
|
||||
twitterSite: "@liyasthomas",
|
||||
twitterCreator: "@liyasthomas",
|
||||
twitterSite: options.social.twitter,
|
||||
twitterCreator: options.social.twitter,
|
||||
description: options.shortDescription,
|
||||
theme_color: "#202124",
|
||||
theme_color: options.app.background,
|
||||
},
|
||||
},
|
||||
toast: {
|
||||
@@ -199,19 +174,19 @@ export default {
|
||||
keepOnHover: true,
|
||||
},
|
||||
googleAnalytics: {
|
||||
id: process.env.GA_ID || "UA-61422507-2",
|
||||
id: process.env.GA_ID || "UA-61422507-4",
|
||||
},
|
||||
gtm: {
|
||||
id: process.env.GTM_ID || "GTM-MXWD8NQ",
|
||||
id: process.env.GTM_ID || "GTM-NMKVBMV",
|
||||
},
|
||||
sitemap: {
|
||||
hostname: "https://postwoman.io",
|
||||
hostname: process.env.BASE_URL,
|
||||
},
|
||||
robots: {
|
||||
UserAgent: "*",
|
||||
Disallow: "",
|
||||
Allow: "/",
|
||||
Sitemap: "https://postwoman.io/sitemap.xml",
|
||||
Sitemap: `${process.env.BASE_URL}sitemap.xml`,
|
||||
},
|
||||
env: {
|
||||
API_KEY: process.env.API_KEY,
|
||||
@@ -319,10 +294,17 @@ export default {
|
||||
** You can extend webpack config here
|
||||
*/
|
||||
extend(config, ctx) {
|
||||
// Sets webpack's mode to development if `isDev` is true.
|
||||
if (ctx.isDev) {
|
||||
config.mode = "development"
|
||||
}
|
||||
config.node = {
|
||||
fs: "empty",
|
||||
}
|
||||
},
|
||||
parallel: true,
|
||||
cache: true,
|
||||
// hardSource: true,
|
||||
},
|
||||
/*
|
||||
** Generate configuration
|
||||
@@ -330,8 +312,4 @@ export default {
|
||||
generate: {
|
||||
fallback: true,
|
||||
},
|
||||
/*
|
||||
** Router configuration
|
||||
*/
|
||||
...routerBase,
|
||||
}
|
||||
|
||||
5087
package-lock.json
generated
5087
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
17
package.json
17
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "postwoman",
|
||||
"version": "1.9.9",
|
||||
"name": "hoppscotch",
|
||||
"version": "2.0.0",
|
||||
"description": "A free, fast and beautiful API request builder",
|
||||
"author": "liyasthomas",
|
||||
"private": true,
|
||||
@@ -12,11 +12,8 @@
|
||||
"start": "nuxt start",
|
||||
"pregenerate": "node build.js",
|
||||
"generate": "nuxt generate",
|
||||
"e2e": "cypress run",
|
||||
"e2e:open": "cypress open",
|
||||
"dev:e2e": "server-test dev :3000 e2e:open",
|
||||
"pretty-quick": "pretty-quick --staged --pattern \"**/*.*(html|js|json|vue)\"",
|
||||
"test": "start-server-and-test start http-get://localhost:3000 e2e"
|
||||
"test": ""
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
@@ -40,8 +37,8 @@
|
||||
"esprima": "^4.0.1",
|
||||
"graphql": "^15.3.0",
|
||||
"graphql-language-service-interface": "^2.4.1",
|
||||
"nuxt": "^2.12.2",
|
||||
"nuxt-i18n": "^6.13.2",
|
||||
"nuxt": "^2.14.1",
|
||||
"nuxt-i18n": "^6.13.8",
|
||||
"paho-mqtt": "^1.1.0",
|
||||
"socket.io-client": "^2.3.0",
|
||||
"socketio-wildcard": "^2.0.0",
|
||||
@@ -54,14 +51,12 @@
|
||||
"@nuxtjs/dotenv": "^1.4.1",
|
||||
"@nuxtjs/google-analytics": "^2.4.0",
|
||||
"@nuxtjs/pwa": "^3.0.0-beta.20",
|
||||
"cypress": "^4.12.0",
|
||||
"eslint": "^7.6.0",
|
||||
"eslint-plugin-vue": "^6.2.2",
|
||||
"husky": "^4.2.5",
|
||||
"node-sass": "^4.14.1",
|
||||
"prettier": "^2.0.5",
|
||||
"pretty-quick": "^2.0.1",
|
||||
"sass-loader": "^9.0.3",
|
||||
"start-server-and-test": "^1.11.3"
|
||||
"sass-loader": "^9.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -811,7 +811,7 @@
|
||||
<label for="generatedCode">{{ $t("javascript_code") }}</label>
|
||||
<div>
|
||||
<a
|
||||
href="https://github.com/liyasthomas/postwoman/wiki/Pre-Request-Scripts"
|
||||
href="https://github.com/hoppscotch/hoppscotch/wiki/Pre-Request-Scripts"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
@@ -856,7 +856,7 @@
|
||||
<label for="generatedCode">{{ $t("javascript_code") }}</label>
|
||||
<div>
|
||||
<a
|
||||
href="https://github.com/liyasthomas/postwoman/wiki/Post-Requests-Tests"
|
||||
href="https://github.com/hoppscotch/hoppscotch/wiki/Post-Requests-Tests"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
@@ -2317,8 +2317,8 @@ export default {
|
||||
const date = new Date().toLocaleDateString()
|
||||
navigator
|
||||
.share({
|
||||
title: "Postwoman",
|
||||
text: `Postwoman • API request builder at ${time} on ${date}`,
|
||||
title: "Hoppscotch",
|
||||
text: `Hoppscotch • API request builder at ${time} on ${date}`,
|
||||
url: window.location.href,
|
||||
})
|
||||
.then(() => {})
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
</pw-toggle>
|
||||
</span>
|
||||
<a
|
||||
href="https://github.com/liyasthomas/postwoman/wiki/Proxy"
|
||||
href="https://github.com/hoppscotch/hoppscotch/wiki/Proxy"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
|
||||
@@ -1 +1 @@
|
||||
postwoman.io
|
||||
hoppscotch.io
|
||||
@@ -47,5 +47,5 @@ export default () => ({
|
||||
clientId: "",
|
||||
scope: "",
|
||||
},
|
||||
name: "Postwoman",
|
||||
name: "Hoppscotch",
|
||||
})
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "message": "FAKE Cat API" }
|
||||
@@ -1,5 +0,0 @@
|
||||
describe("Visit Home", () => {
|
||||
it('Have a page title with "Postwoman"', () => {
|
||||
cy.visit("/", { retryOnStatusCodeFailure: true }).get("title").should("contain", "Postwoman")
|
||||
})
|
||||
})
|
||||
@@ -1,34 +0,0 @@
|
||||
describe("Authentication", () => {
|
||||
it(`Change default Auth username and password with URL`, () => {
|
||||
cy.visit(`?&auth=Basic Auth&httpUser=foo&httpPassword=bar`, { retryOnStatusCodeFailure: true })
|
||||
.get('input[name="http_basic_user"]', { timeout: 500 })
|
||||
.invoke("val")
|
||||
.then((user) => {
|
||||
expect(user === "foo").to.equal(true)
|
||||
})
|
||||
|
||||
.get('input[name="http_basic_passwd"]')
|
||||
.invoke("val")
|
||||
.then((pass) => {
|
||||
expect(pass === "bar").to.equal(true)
|
||||
})
|
||||
})
|
||||
|
||||
// it("Enable username and password in URL with toggler", () => {
|
||||
// cy.visit("/", { retryOnStatusCodeFailure: true })
|
||||
// .get("#auth")
|
||||
// .select("Basic Auth")
|
||||
// .get('input[name="http_basic_user"]', { timeout: 500 })
|
||||
// .type("foo")
|
||||
// .get('input[name="http_basic_passwd"]', { timeout: 500 })
|
||||
// .type("bar")
|
||||
// .url()
|
||||
// .should("not.contain", "foo")
|
||||
// .should("not.contain", "bar")
|
||||
// .get(".toggle")
|
||||
// .click()
|
||||
// .url()
|
||||
// .should("contain", "foo")
|
||||
// .should("contain", "bar")
|
||||
// })
|
||||
})
|
||||
@@ -1,25 +0,0 @@
|
||||
// describe("Proxy disabled - local request", () => {
|
||||
// it("Change default URL with query and make a request to local Cat API", () => {
|
||||
// cy.seedAndVisit("catapi", "/?url=https://api.thecatapi.com&path=")
|
||||
// .get("#url")
|
||||
// .then(el => expect(el.val() === "https://api.thecatapi.com").to.equal(true))
|
||||
// .get("#response-details-wrapper", { timeout: 24000 })
|
||||
// .should("be.visible")
|
||||
// .should($wrapper => {
|
||||
// expect($wrapper).to.contain("FAKE Cat API")
|
||||
// })
|
||||
// })
|
||||
// })
|
||||
|
||||
// describe("Proxy enabled - external request", () => {
|
||||
// it("Enable proxy and make a GET request to Postwoman API", () => {
|
||||
// cy.enableProxy("/?url=https://postwoman.io&path=/.netlify/functions/api")
|
||||
// .get("#send")
|
||||
// .click()
|
||||
// .get("#response-details-wrapper", { timeout: 24000 })
|
||||
// .should("be.visible")
|
||||
// .should(($wrapper) => {
|
||||
// expect($wrapper).to.contain("Hello World")
|
||||
// })
|
||||
// })
|
||||
// })
|
||||
@@ -1,26 +0,0 @@
|
||||
/**
|
||||
* Creates cy.seedAndVisit() function
|
||||
* This function will go to some path and wait for some fake response from 'src/tests/fixtures/*.json'
|
||||
* @param { String } seedData The name of json at 'src/tests/fixtures/
|
||||
* @param { String } path The path or query parameters to go -ex. '/?path=/api/users'
|
||||
* @param { String } method The fake request method
|
||||
*/
|
||||
Cypress.Commands.add("seedAndVisit", (seedData, path = "/", method = "GET") => {
|
||||
cy.server().route(method, "https://api.thecatapi.com/", `fixture:${seedData}`).as("load")
|
||||
|
||||
cy.visit(path).get("#send").click().wait("@load")
|
||||
})
|
||||
|
||||
/**
|
||||
* Creates cy.enableProxy() function
|
||||
* This function will enable the proxy and navigate back to a given path
|
||||
* @param { String } goBackPath The page go back
|
||||
*/
|
||||
Cypress.Commands.add("enableProxy", (goBackPath) => {
|
||||
cy.visit("/settings")
|
||||
.get("#proxy")
|
||||
.find(".toggle")
|
||||
.click({ force: true })
|
||||
.should("have.class", "on")
|
||||
.visit(goBackPath)
|
||||
})
|
||||
@@ -1 +0,0 @@
|
||||
import "./commands"
|
||||
Reference in New Issue
Block a user