From 6e208c3766ee368c1c122faa8a3edd9a0e50c792 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2019 00:15:10 +0000 Subject: [PATCH 01/22] :arrow_up: Bump @nuxtjs/google-analytics from 2.2.1 to 2.2.2 Bumps [@nuxtjs/google-analytics](https://github.com/nuxt-community/analytics-module) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/nuxt-community/analytics-module/releases) - [Changelog](https://github.com/nuxt-community/analytics-module/blob/master/CHANGELOG.md) - [Commits](https://github.com/nuxt-community/analytics-module/compare/v2.2.1...v2.2.2) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index e81d602c..c6cf428d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1353,11 +1353,11 @@ } }, "@nuxtjs/google-analytics": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@nuxtjs/google-analytics/-/google-analytics-2.2.1.tgz", - "integrity": "sha512-li2Xd9G1v6+wdAiAM+G7USTrQ+/ND/fmf02cKs5IRLbKxba+RHDePKu4s5kvWyrgeczgZRaL+Tm4s24mGDYS6g==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@nuxtjs/google-analytics/-/google-analytics-2.2.2.tgz", + "integrity": "sha512-uzjdj9GEvPa1jB2soPAeTH75u8qbEAMV36i9PLfkv23emfUIPF1PcgsRFJOBT1x19Zeg9ywC4U8q76li912vEQ==", "requires": { - "vue-analytics": "^5.17.2" + "vue-analytics": "^5.18.0" } }, "@nuxtjs/google-tag-manager": { @@ -10975,9 +10975,9 @@ "integrity": "sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==" }, "vue-analytics": { - "version": "5.17.2", - "resolved": "https://registry.npmjs.org/vue-analytics/-/vue-analytics-5.17.2.tgz", - "integrity": "sha512-Vfbn5laOG8OVetrBNRfV64y/N5VVyw1PPC4LiowZFh58UOsfsGH8w+ZZn0pyMelSZmz9uxkgG5dNnce4bwJ6jg==" + "version": "5.18.0", + "resolved": "https://registry.npmjs.org/vue-analytics/-/vue-analytics-5.18.0.tgz", + "integrity": "sha512-rnDwx+4mksrwohIxqwJqRVuXotpyKjEPeqMoYveAK3vIp8MiO2BuUfVxELaPFN9/OXFt2ayuQDMParsjWDrNmA==" }, "vue-client-only": { "version": "2.0.0", diff --git a/package.json b/package.json index 2619a962..e2de719d 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@nuxtjs/axios": "^5.8.0", - "@nuxtjs/google-analytics": "^2.2.1", + "@nuxtjs/google-analytics": "^2.2.2", "@nuxtjs/google-tag-manager": "^2.3.1", "@nuxtjs/pwa": "^3.0.0-beta.19", "@nuxtjs/robots": "^2.4.2", From a4022dc70c61d99bd7eba368bf62303935b08d62 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2019 01:02:35 +0000 Subject: [PATCH 02/22] :arrow_up: Bump vue-virtual-scroll-list from 1.4.3 to 1.4.4 Bumps [vue-virtual-scroll-list](https://github.com/tangbc/vue-virtual-scroll-list) from 1.4.3 to 1.4.4. - [Release notes](https://github.com/tangbc/vue-virtual-scroll-list/releases) - [Commits](https://github.com/tangbc/vue-virtual-scroll-list/compare/v1.4.3...v1.4.4) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index c6cf428d..684678ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11139,9 +11139,9 @@ "integrity": "sha512-GVbwInwnqkVxQ4GU/XYeQt1e0dAXL8sF5Hr1H/coCBbYUan5xP0G2mEz/HRDf1lt73rFQAN/bJcLTOKkqiM6tg==" }, "vue-virtual-scroll-list": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/vue-virtual-scroll-list/-/vue-virtual-scroll-list-1.4.3.tgz", - "integrity": "sha512-gWex5GYI5V5h4eYQGbW7dhuQRIg2wKpnHxJrJyk0NmWk0+CVLmTsS0m1jj9NKvpytOgQBOJ0l1S2sQPZkDALdA==" + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/vue-virtual-scroll-list/-/vue-virtual-scroll-list-1.4.4.tgz", + "integrity": "sha512-wU7FDpd9Xy4f62pf8SBg/ak21jMI/pdx4s4JPah+z/zuhmeAafQgp8BjtZvvt+b0BZOsOS1FJuCfUH7azTkivQ==" }, "vuejs-auto-complete": { "version": "0.9.0", diff --git a/package.json b/package.json index e2de719d..fc9c691e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "nuxt": "^2.10.2", "nuxt-i18n": "^6.4.0", "v-tooltip": "^2.0.2", - "vue-virtual-scroll-list": "^1.4.3", + "vue-virtual-scroll-list": "^1.4.4", "vuejs-auto-complete": "^0.9.0", "vuex-persist": "^2.2.0", "yargs-parser": "^16.1.0" From 3d66a7deb963650e437fa80269bc7f025b74991e Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2019 01:02:36 +0000 Subject: [PATCH 03/22] :arrow_up: Bump nuxt-i18n from 6.4.0 to 6.4.1 Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/nuxt-community/nuxt-i18n/releases) - [Changelog](https://github.com/nuxt-community/nuxt-i18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/nuxt-community/nuxt-i18n/compare/v6.4.0...v6.4.1) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index c6cf428d..d74fe831 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7260,16 +7260,16 @@ } }, "nuxt-i18n": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/nuxt-i18n/-/nuxt-i18n-6.4.0.tgz", - "integrity": "sha512-1JQBL0Jn8G7ZialCa8S3HxgokM2Rqa68RtyPB4oT6Og58oN1d2OreZsQhNITLYdPn3hTOqTO+i55cdOs7AW5sw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/nuxt-i18n/-/nuxt-i18n-6.4.1.tgz", + "integrity": "sha512-SHAK5eA9oci8AtqOCDvPgWKp+W7SIBbbxW5xraPO0YTdyJWuA1gmUuo24w7MSms4d/cUcWoJaNiEYZHqxidUTA==", "requires": { "@babel/parser": "^7.5.5", "@babel/traverse": "^7.5.5", "@kazupon/vue-i18n-loader": "^0.4.0", "cookie": "^0.4.0", "is-https": "^1.0.0", - "js-cookie": "^2.2.0", + "js-cookie": "^2.2.1", "vue-i18n": "^8.12.0", "vue-i18n-extensions": "^0.2.1" }, @@ -10990,9 +10990,9 @@ "integrity": "sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==" }, "vue-i18n": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.15.0.tgz", - "integrity": "sha512-juJ/avAP39bOMycC+qQDLJ8U9z9LtLF/9PsRoJLBSfsYZo9bqYntyyX5QPicwlb1emJKjgxhZ3YofHiQcXBu0Q==" + "version": "8.15.1", + "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.15.1.tgz", + "integrity": "sha512-GBbz8qYCu0U2LNu4IcuFLZiuyninG4k26knvhL7GZG5Ncp4RR2VKDEH6g8gQ6I+UUBCvH2MBQVPSdxWe4DBkPw==" }, "vue-i18n-extensions": { "version": "0.2.1", diff --git a/package.json b/package.json index e2de719d..bac5a0ba 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "ace-builds": "^1.4.7", "graphql": "^14.5.8", "nuxt": "^2.10.2", - "nuxt-i18n": "^6.4.0", + "nuxt-i18n": "^6.4.1", "v-tooltip": "^2.0.2", "vue-virtual-scroll-list": "^1.4.3", "vuejs-auto-complete": "^0.9.0", From 4d24d49a0b2b7fdf2a64765a1b96c8af3c8c9ea2 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sat, 7 Dec 2019 10:30:28 +0530 Subject: [PATCH 04/22] :pencil2: Updated features list --- README.md | 72 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 577f4a6d..505282c9 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,9 @@ ### Features ✨ -❤️ **Lightweight**: Crafted with minimalistic UI design. Simple design is the best design. +❤️ **Lightweight**: Crafted with minimalistic UI design - simple design is the best design. - - Faster, lighter, cleaner, minimal & responsive - -⚡️ **Fast**: Send requests and get/copy responses in real-time! Fast software is the best software. +⚡️ **Fast**: Send requests and get/copy responses in real-time - fast software is the best software. **Methods:** - `GET` - Retrieve information about the REST API resource @@ -50,21 +48,22 @@ - `POST` - Create a REST API resource - `PUT` - Update a REST API resource - `DELETE` - Delete a REST API resource or related component + - `CONNECT` - Establishes a tunnel to the server identified by the target resource - `OPTIONS` - Describe the communication options for the target resource + - `TRACE` - Performs a message loop-back test along the path to the target resource - `PATCH` - Apply partial modifications to a REST API resource + - `` - Some APIs use custom request methods such as `LIST`. Type in your custom methods. -_History entries are synced with local session storage_ - -🌈 **Make it yours**: Customizable combinations for background, foreground and accent colors: because customization === freedom. [Customize now ✨](https://postwoman.io/settings). +🌈 **Make it yours**: Customizable combinations for background, foreground and accent colors: because customization is freedom. [Customize now ✨](https://postwoman.io/settings). **Customizations:** - 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 - - Toggle multi-colored frames + - Toggle multi-colored headings -_Customized themes are also synced with local session storage_ +_Customized themes are synced with local session storage_ -🔥 **PWA**: Install as a [PWA](https://developers.google.com/web/progressive-web-apps) (100/100 Lighthouse score) on your device. +🔥 **PWA**: Install as a [PWA](https://developers.google.com/web/progressive-web-apps) on your device. **Features:** - Instant loading with [Service Workers](https://developers.google.com/web/fundamentals/primers/service-workers) @@ -74,31 +73,34 @@ _Customized themes are also synced with local session storage_ - [Desktop PWA](https://developers.google.com/web/progressive-web-apps/desktop) support (button in footer) - ([full features](https://developers.google.com/web/progressive-web-apps)) -🚀 **Request**: Retrieve data from a URL without having to do a full page refresh. +🚀 **Request**: Retrieve response from endpoint instantly. - Choose `method` - - Enter `URL` - - Enter `Path` + - Enter `URL` and `Path` + - Send **Features:** - Copy/share public "Share URL" - - Generate request code for JavaScript XHR, Fetch and cURL + - Generate request code for `JavaScript XHR`, `Fetch` and `cURL` - Copy generated request code to clipboard - - Import cURL + - Import `cURL` - Label requests 🔌 **WebSocket**: Establish full-duplex communication channels over a single TCP connection. - Send and receive data + - Basic authentication using username and password + - Token based authentication 📡 **Server Sent Events**: Receive a stream of updates from a server over a HTTP connection without resorting to polling. - - Receive data - 🌍 **GraphQL**: GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. - Set endpoint and get schemas - Multi-column docs + - Set custom request headers + - Query schema + - Get query response 🔐 **Authentication**: Allows to identify the end user. @@ -116,27 +118,28 @@ _Customized themes are also synced with local session storage_ 📃 **Request Body**: Used to send and receive data via the REST API. **Options:** - - Set Content Type + - Set `Content Type` - Add or remove Parameter list - Toggle between key-value and RAW input Parameter list 👋 **Responses**: Contains the status line, headers and the message/response body. - Copy response to clipboard - - Download response to a local file - - View preview for HTML responses - -_HTML responses have "Preview HTML" feature_ + - Download response to as a file + - View preview of HTML responses ⏰ **History**: Request entries are synced with local session storage to reuse with a single click. **Fields:** + - Star - Label - - Timestamp - Method - Status code - URL - Path + - Timestamp + - Duration + - Pre-request script _History entries can be sorted by any fields_ @@ -148,8 +151,6 @@ _Histories can be deleted one-by-one or all together_ - Create infinite collections, folders and requests - Edit, delete, move, export, import and replace -_Export, import and replace collections with JSON files_ - _Collections are synced with local session storage_ 🌐 **Proxy**: Enable Proxy Mode from Settings to access blocked APIs. @@ -165,8 +166,8 @@ _Official Postwoman Proxy is hosted by ApolloTV - [Privacy policy](https://apoll 📜 **Pre-Request Scripts**: Snippets of code associated with a request that are executed before the request is sent. **Use-cases:** - - Including the timestamp in the request headers - - Sending a random alphanumeric string in the URL parameters + - Include timestamp in the request headers + - Send a random alphanumeric string in the URL parameters _Requests with Pre-Request Scripts are indicated in History entries_ @@ -181,9 +182,11 @@ _Requests with Pre-Request Scripts are indicated in History entries_ 🌎 **i18n**: Internationalization β. - Add a new locale in `lang/` - Ex: `lang/es-ES.js` + + Example: `lang/es-ES.js` - Mention `code`, `name`, `iso` and `file` in `nuxt.config.js` - Ex: + + Example: ``` i18n: { locales: [{ @@ -195,7 +198,7 @@ _Requests with Pre-Request Scripts are indicated in History entries_ } ``` -_**All contributions are welcome to `i18n` [branch](https://github.com/liyasthomas/postwoman/tree/i18n) only!**_ +_**All `i18n` contributions are welcome to `i18n` [branch](https://github.com/liyasthomas/postwoman/tree/i18n) only!**_ **To find out more, please check out [Postwoman Wiki](https://github.com/liyasthomas/postwoman/wiki).** @@ -205,11 +208,10 @@ _**All contributions are welcome to `i18n` [branch](https://github.com/liyasthom ## Usage 💡 -1. Specify your request method -2. Type in your API URL -3. Add API path -4. Send request -5. Get response! +1. Specify your request `method` +2. Type in your API `URL` and `path` +3. Send request +4. Get response You're done! From c19c399508e22add95a4e95f0c05f7f05b68dad8 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sun, 8 Dec 2019 01:08:49 +0530 Subject: [PATCH 05/22] :tada: Added icon button animation --- assets/css/styles.scss | 16 ++++++++++++++++ layouts/default.vue | 9 +++------ pages/index.vue | 1 - 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 4b6aed12..29a90076 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -426,6 +426,22 @@ button { } } +@keyframes beat { + 30% { + transform: scale(1.1); + } + 50% { + transform: scale(0.9); + } + 100% { + transform: scale(1); + } +} + +.material-icons:active { + animation: beat 0.5s forwards 1; +} + fieldset { margin: 16px 0; border: 1px solid var(--brd-color); diff --git a/layouts/default.vue b/layouts/default.vue index 0f5ef8f1..24cfaee7 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -20,6 +20,7 @@ width="24" height="24" viewBox="0 0 24 24" + class="material-icons" > - + ({{version.variant}}) --> - + diff --git a/pages/index.vue b/pages/index.vue index 3cd956ae..e4a75d9c 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -312,7 +312,6 @@ > file_copy -