Compare commits

...

3544 Commits

Author SHA1 Message Date
jamesgeorge007
263f8b3588 refactor: remove method chaining for consistency 2024-05-20 13:20:59 +05:30
nivedin
fc9f933905 fix: add previous value as optional 2024-05-17 00:00:13 +05:30
Nivedin
f8ac6dfeb1 chore: add workspace switcher login A/B testing flow (#4053)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-05-10 16:35:42 +05:30
Andrew Bastin
7d2d335b37 chore: revert back default interceptor for sh app to browser 2024-05-10 16:13:51 +05:30
Andrew Bastin
76875db865 chore: bump selfhost-desktop lockfile version 2024-05-10 15:04:16 +05:30
Balu Babu
96e2d87b57 feat: update node version to node20-apline3.19 (#4040) 2024-05-10 14:24:34 +05:30
islamzeki
be353d9f72 chore(i18n): update tr.json (#4039) 2024-05-10 14:16:04 +05:30
Nivedin
38bc2c12c3 refactor: set default interceptor to "proxy" (#4051) 2024-05-10 14:01:43 +05:30
Stéfany Larissa
97644fa508 chore: update pt-br translations (#4003) 2024-05-10 13:56:58 +05:30
Dmitry
eb3446ae23 locale: update ru locale (#4005)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com>
2024-05-10 13:51:25 +05:30
Dmitry
6c29961d09 Added new button to save request modal (#3976)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
2024-05-09 20:52:22 +05:30
Nivedin
ef1117d8cc refactor: switch workspace after creation (#4015)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
2024-05-09 20:28:24 +05:30
Balu Babu
5c4b651aee feat: healthcheck for external services (#4048)
* chore: installed terminus package and scaffolded the health module

* feat: added healthcheck for database with prisma

* chore: renamed label from prisma to database in health check route

* chore: reverted target of hopp-old-backend service to prod
2024-05-07 20:05:17 +05:30
Andrew Bastin
391e5a20f5 chore: bump versions to 2024.3.3 2024-05-06 22:57:33 +05:30
Andrew Bastin
4b8f3bd8da fix: code generate modal erroring out (#4033) 2024-05-06 22:44:13 +05:30
Joel Jacob Stephen
94248076e6 refactor(sh-admin): improved handling of server configurations in admin dashboard (#3971)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-05-06 21:50:31 +05:30
Nivedin
eecc3db4e9 chore: update placeholder text (#4023) 2024-04-30 16:49:32 +05:30
Andrew Bastin
426e7594f4 fix: tab systems erroring out due to out of sync tabOrdering and tabMap 2024-04-29 20:32:27 +05:30
Andrew Bastin
934dc473f0 chore: bump version to 2024.3.2 2024-04-29 19:21:48 +05:30
Andrew Bastin
be57255bf7 refactor: update to dioc v3 (#4009)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-04-29 19:06:18 +05:30
Balu Babu
f89561da54 fix: resolved mailer module email issue (#4000) 2024-04-29 12:05:07 +05:30
Joel Jacob Stephen
c2c4e620c2 fix(common): rest and graphql pages not being rendered when french is selected as app language (#4004)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-04-25 18:01:46 +05:30
Andrew Bastin
844eee0fa4 chore: update @hoppscotch/cli README 2024-04-22 21:12:27 +05:30
Andrew Bastin
d21bb65511 chore: bump cli version to 0.8 2024-04-22 20:29:03 +05:30
Andrew Bastin
4f614f7257 chore: bump version to 2024.3.1 2024-04-22 20:26:25 +05:30
Nivedin
0e2887b4e9 feat: first time user spotlight animation (#3977) 2024-04-22 12:21:30 +05:30
Andrew Bastin
18652ce400 fix: update prod.Dockerfile to add additional required deps during base build 2024-04-20 01:54:34 +05:30
Eduardo San Martin Morote
08c655235d fix: use pressed key rather than its code (#3978)
Co-authored-by: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com>
2024-04-19 22:35:13 +05:30
Vincent M
51412549e8 chore(i18n): french lang translation (#3986) 2024-04-19 21:21:15 +05:30
James George
22c6eabd13 chore: migrate Node.js implementation for js-sandbox to isolated-vm (#3973)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-04-19 21:08:46 +05:30
Mir Arif Hasan
a079e0f04b refactor: infra-config code refactor (#3982)
* chore: add getMissingInfraConfigEntries to avoid code duplication

* feat: isServiceConfigured modified

* docs: add missing function doc

* feat: argon2 version updated and removed types-argon2 depricated package

* Revert "feat: argon2 version updated and removed types-argon2 depricated package"

This reverts commit b99f3c5aae.

* Revert "feat: isServiceConfigured modified"

This reverts commit eaa6f105bb.
2024-04-19 12:43:43 +05:30
jamesgeorge007
375d53263a test: fix failing tests 2024-04-16 23:55:07 +05:30
Thomas Bonnet
57ef3e085f chore(i18n): Updating the packages/hoppscotch-common/locales/fr.json file. (#3555) 2024-04-16 18:15:38 +05:30
Timotej
9fb6e59e36 fix(desktop): set window caption color if Windows version >= 11 (#3939) 2024-04-16 17:51:26 +05:30
Sawako
1b0802b0e6 fix: spanish lang translation messages (#3950) 2024-04-16 17:47:10 +05:30
krisztianbarat
fb45fe4627 chore(i18n): update locale hu (#3875) 2024-04-16 17:45:55 +05:30
Akash K
0f592d1789 fix: use proper values for addTo field when auth type is api-key (#3966) 2024-04-16 17:44:28 +05:30
jamesgeorge007
787aab650f fix: redirect to the users list view on successful deletion from the profile view
SH Admin dashboard
2024-03-28 21:20:48 +05:30
Anwarul Islam
1f7a8edb14 fix: lint errors removed by using satisfies or as for type (#3934)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
2024-03-28 20:28:48 +05:30
James George
81f1e05a6c chore(sh-admin): alert the user while deleting users who are team owners (#3937)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-03-28 20:17:24 +05:30
James George
0a71783eaa fix(common): ensure requests are translated to the latest version during import and search actions (#3931) 2024-03-25 17:09:54 +05:30
Nivedin
c326f54f7e feat: added mutation and function to platform for updating user profile name (#3929)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-25 14:41:25 +05:30
Dmitry
1113c79e20 fix: can't import curl command with data-urlencode (#3905)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-25 13:12:48 +05:30
Akash K
6fd30f9aca chore: spotlight improvements for team requests search (#3930)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-25 12:41:18 +05:30
Anwarul Islam
2c5b0dcd1b feat: focus codemirror view when ImportCurl component launched (#3911)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-22 18:21:16 +05:30
Anwarul Islam
6f4455ba03 fix: request failing on change content type to multipart-formdata (#3922)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-22 18:11:16 +05:30
Nivedin
ba8c4480d9 fix: workspace list section bugs (#3925)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-22 18:02:28 +05:30
Joel Jacob Stephen
380397cc55 refactor(sh-admin): improvements to pending invites page in dashboard (#3926) 2024-03-22 17:54:40 +05:30
Akash K
d19807b212 chore: split axios request options into platform (#3927)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-22 13:42:41 +05:30
Balu Babu
c89c2a5f5c feat: added new mutation to update username in hopp app (#3924)
* feat: added new mutation to update username in hopp app

* feat: display name length validation added

---------

Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2024-03-22 12:07:38 +05:30
Anwarul Islam
256553b9bb chore: update copy for header inspection (#3907)
Co-authored-by: James George <jamesgeorge998001@gmail.com>
2024-03-21 22:15:23 +05:30
Akash K
89d9951f3b fix: fix typo in team search url (#3923)
fix: fix typo in team search endpoint url

Co-authored-by: James George <jamesgeorge998001@gmail.com>
2024-03-21 16:44:58 +05:30
Balu Babu
dd65ad3103 chore: added input validation to search query (#3921) 2024-03-21 16:13:11 +05:30
Balu Babu
018ed3db26 refactor: AIO healthcheck bash script (#3920)
* chore: added logic to make script with with subpath

* chore: removed variable from failed echo message
2024-03-21 16:12:13 +05:30
Andrew Bastin
a9cd6c0c01 chore: update internal deployment docker compose config 2024-03-21 02:38:55 +05:30
James George
e53382666a fix(common): prevent exception with ShortcodeListAdapter initialization (#3917) 2024-03-20 20:29:04 +05:30
James George
7621ff2961 feat: add extended support for versioned entities in the CLI (#3912) 2024-03-20 20:13:22 +05:30
Akash K
fc20b76080 fix: direct import from url failing (#3918) 2024-03-20 20:06:51 +05:30
Nivedin
146c73d7b6 feat: github enterprise SSO provider addition (#3914) 2024-03-20 20:01:56 +05:30
Akash K
6b58915caa feat: oauth revamp + support for multiple grant types in oauth (#3885)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-20 00:18:03 +05:30
Akash K
457857a711 feat: team search in workspace search and spotlight (#3896)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-19 18:50:35 +05:30
Balu Babu
a3f3e3e62d refactor: collection search query (#3908) 2024-03-19 17:12:35 +05:30
Andrew Bastin
66f20d10e1 chore: enable subpath based access in test deploy docker compose 2024-03-19 16:26:04 +05:30
Andrew Bastin
32e9366609 chore: update test deploy docker compose aio port 2024-03-19 15:53:08 +05:30
Andrew Bastin
e41e956273 chore: add test deployment docker compose file 2024-03-19 14:39:57 +05:30
Nivedin
a14870f3f0 fix: collection auth headers active tab update bug and type fix (#3899) 2024-03-15 21:17:34 +05:30
Andrew Bastin
0e96665254 refactor: use trigram search index instead of full text search (#3900)
Co-authored-by: Balu Babu <balub997@gmail.com>
2024-03-15 20:10:12 +05:30
kaifulee
efdc1c2f5d chore: fix some typos (#3895)
Signed-off-by: kaifulee <cuishuang@outlook.com>
2024-03-15 20:06:34 +05:30
Andrew Bastin
c5334d4c06 chore(sh-admin): bump @hoppscotch/ui version to 0.1.3 2024-03-15 12:43:05 +05:30
Balu Babu
4f549974ed fix: reset infra-config bug (#3898) 2024-03-14 21:46:34 +05:30
Nivedin
41d617b507 fix: secret env bug in firebase due to undefined value (#3881)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-13 17:11:51 +05:30
Joel Jacob Stephen
be7387ed19 refactor(sh-admin): updated data sharing doc links + remove disabled property from all inputs in configurations (#3894) 2024-03-13 16:18:27 +05:30
Joel Jacob Stephen
acfb0189df feat(sh-admin): enhanced user management in admin dashboard (#3814)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-13 14:45:13 +05:30
Nivedin
8fdba760a2 refactor: personal workspace nomenclature update (#3893)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-13 14:21:23 +05:30
Nivedin
bf98009abb fix: request variable version syncing bug (#3889)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-12 11:42:05 +05:30
James George
dce396c164 chore: bump codemirror dependencies (#3888) 2024-03-11 14:21:39 +05:30
Nivedin
07e8af7947 refactor: update team nomenclature (#3880)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-08 23:54:32 +05:30
Joel Jacob Stephen
e69d5a6253 feat(sh-admin): introducing additional SSO related server configurations to dashboard (#3737)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-08 15:18:53 +05:30
Akash K
6d66d12a9e feat: common changes for site protection (#3878) 2024-03-07 23:43:20 +05:30
James George
439cd82c88 chore: pin dependencies across packages (#3876) 2024-03-07 23:37:48 +05:30
Akash K
6dbaf524ce feat: use tags as folders when importing from openapi (#3846) 2024-03-07 19:55:46 +05:30
Andrew Bastin
68e439d1a4 chore: bump version to 2024.3.0 2024-03-07 19:22:46 +05:30
Nivedin
8deba7a28e fix: context menu bug and incorrect position (#3874) 2024-03-07 17:59:06 +05:30
Nivedin
7ec8659381 feat: request variables (#3825)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-03-07 12:50:44 +05:30
Mir Arif Hasan
3611cac241 feat(backend): sso callback url and scope added in infra-config (#3718) 2024-03-07 12:07:51 +05:30
Joel Jacob Stephen
919579b1da feat(sh-admin): introducing data analytics and newsletter configurations (#3845)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-03-06 20:06:48 +05:30
Nivedin
4798d7bbbd refactor: remove restore tab popup and its functionalities (#3867) 2024-03-05 18:14:41 +05:30
Balu Babu
a0c6b22641 feat: full text search for TeamCollections and TeamRequests (#3857)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2024-03-05 18:05:58 +05:30
James George
de8929ab18 feat(common): support simultaneous imports of collections and environment files (#3719) 2024-03-05 17:49:01 +05:30
Andrew Bastin
55a94bdccc chore: merge hoppscotch/release/2023.12.6 into hoppscotch/release/2024.3.0 2024-02-27 13:35:20 +05:30
Andrew Bastin
faab1d20fd chore: bump version to 2023.12.6 2024-02-26 22:31:58 +05:30
Anwarul Islam
bd406616ec fix: collection level authorization inheritance issue (#3852) 2024-02-23 19:39:55 +05:30
Andrew Bastin
6827e97ec5 refactor: possible links in email templates do not highlight (#3851) 2024-02-23 01:05:20 +05:30
amk-dev
10d2048975 fix: use x-www-form-urlencoded for token exchange requests 2024-02-22 00:43:50 +05:30
Nivedin
291f18591e fix: perfomance in safari (#3848) 2024-02-22 00:41:30 +05:30
James George
342532c9b1 fix(common): prevent exceptions with open shared requests in new tab action (#3835) 2024-02-22 00:36:45 +05:30
Balu Babu
cf039c482a feat: SH instance analytics data collection (#3838) 2024-02-22 00:35:12 +05:30
Mir Arif Hasan
ded2725116 feat: admin user management (backend) (#3786) 2024-02-21 21:35:08 +05:30
Balu Babu
9c6754c70f feat: inital setup info route (#3847) 2024-02-21 21:15:47 +05:30
James George
4bd54b12cd fix(persistence-service): add fallbacks for environments related schemas (#3832) 2024-02-15 23:38:56 +05:30
Andrew Bastin
ed6e9b6954 chore: bump version to 2023.12.5 2024-02-15 21:47:58 +05:30
James George
dfdd44b4ed fix(persistence-service): update global environment variables schema (#3829) 2024-02-15 21:40:31 +05:30
Akash K
fc34871dae fix: accessing undefined property variables (#3831) 2024-02-15 21:32:50 +05:30
Nivedin
45b532747e fix: environment tooltip update bug (#3819) 2024-02-13 17:42:02 +05:30
Akash K
de4635df23 chore: add workspace type property in request run analytics event (#3820)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-02-13 17:38:11 +05:30
Nivedin
41bad1f3dc fix: secret environment flow bugs (#3817) 2024-02-10 20:22:10 +05:30
Andrew Bastin
ecca3d2032 chore: correct linting errors 2024-02-09 14:42:12 +05:30
Muhammed Ajmal M
47226be6d0 feat: persist line wrap setting (#3647)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-02-09 14:05:09 +05:30
Andrew Bastin
6a0e73fdec chore: bump versions 2024-02-08 22:41:59 +05:30
Andrew Bastin
672ee69b2c chore: correct linting errors 2024-02-08 22:33:03 +05:30
Joel Jacob Stephen
b359650d96 refactor: updated teams nomenclature in admin dashboard to workspaces (#3770) 2024-02-08 22:17:42 +05:30
James George
c0fae79678 fix(sh-admin): persist active selection in the sidebar (#3812) 2024-02-08 22:16:33 +05:30
James George
5bcc38e36b feat: support secret environment variables in CLI (#3815) 2024-02-08 22:08:18 +05:30
Nivedin
00862eb192 feat: secret variables in environments (#3779)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-02-08 21:58:42 +05:30
Akash K
16803acb26 chore: Oauth temporary ux improvements (#3792) 2024-02-06 20:35:29 +05:30
Nivedin
3911c9cd1f refactor: update share request flow (#3805) 2024-02-05 23:50:15 +05:30
Florian Metz
0028f6e878 feat(js-sandbox): expose atob & btoa functions for Node.js (#3724)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-02-05 23:12:55 +05:30
Anwarul Islam
0ba33ec187 fix: request endpoint heading (#3804) 2024-02-05 23:08:16 +05:30
James George
3482743782 chore(cli): emit bundle in ESM format (#3777) 2024-02-05 22:55:05 +05:30
James George
d7cdeb796a chore(common): analytics on spotlight (#3727)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
2024-02-02 15:32:06 +05:30
Joel Jacob Stephen
3d6adcc39d refactor: consolidated admin dashboard improvements (#3790)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-02-02 15:17:25 +05:30
Andrew Bastin
aab76f1358 chore: bump version to 2023.12.3 2024-01-30 20:27:25 +05:30
Anwarul Islam
a28a576c41 feat: team environment search and switch (#3700)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-01-30 19:49:04 +05:30
Liyas Thomas
0d0ad7a2f8 chore: added micro interactions (#3783)
Co-authored-by: Dmitry <mukovkin@yandex.ru>
2024-01-30 18:42:42 +05:30
Balu Babu
1df9de44b7 chore: upgraded prisma version to v5.8.0 (#3787) 2024-01-30 18:16:28 +05:30
Muhammed Ajmal M
4cba03e53f feat(js-sandbox): add pw.env.unset method (#3677)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-01-23 22:31:27 +05:30
Nivedin
9e1466a877 fix: bugs in shared request (#3704) 2024-01-23 22:24:18 +05:30
Anwarul Islam
b81ccb4ee3 fix: tab on current input field to focus the next input field (#3754) 2024-01-23 22:21:23 +05:30
Nivedin
27d0a7c437 refactor: persist running requests while switching tabs (#3742) 2024-01-23 22:13:57 +05:30
Nivedin
aca96dd5f2 refactor: add option to disable context menu (#3717) 2024-01-23 22:05:05 +05:30
Anwarul Islam
c0dbcc901f fix: documentation is not being generated on GQL (#3730)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2024-01-23 22:00:41 +05:30
Joel Jacob Stephen
ba52c8cc37 refactor: improvements to the dashboard sidebar (#3709)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-01-23 21:55:42 +05:30
Dmitry
d1f6f40ef8 fix: perform logout if the silent refresh attempt fails (#3705)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-01-23 21:53:59 +05:30
Akash K
99f5070f71 fix: unwanted double slashes when importing from openapi (#3745) 2024-01-23 21:49:34 +05:30
Andrew Bastin
cd371fc9d4 chore: bump versions to 2023.12.2 2024-01-03 16:58:51 +05:30
Jordi Been
59fef248c0 build: update node alpine version (#3660) 2024-01-03 16:49:51 +05:30
Andrew Bastin
286fcd2bb0 chore: bump selfhost-desktop version to 23.12.1-1 2023-12-24 13:45:41 +05:30
Andrew Bastin
b2d98f7b66 chore: remove windi from selfhost-desktop 2023-12-24 13:21:12 +05:30
James George
c6c220091a feat(common): support importing environments individually (#3691) 2023-12-24 12:12:02 +05:30
Andrew Bastin
8f503479b6 chore: bump package version to 2023.12.1 2023-12-22 20:49:21 +05:30
Mir Arif Hasan
54d8378ccf fix: improve smtp email validation and fix enableAndDisableSSO mutation (#3689)
Co-authored-by: Balu Babu <balub997@gmail.com>
2023-12-22 20:37:15 +05:30
James George
0df194f9c5 fix(cli): environment resolution in the single-entry export format (#3687) 2023-12-22 19:21:33 +05:30
Liyas Thomas
ddf7eb6ad6 chore: minor ui improvements 2023-12-20 18:30:16 +05:30
Nivedin
7db7b9b068 fix: fallback section for embeds if invalid link (#3673) 2023-12-19 18:37:44 +05:30
James George
3d25ef48d1 fix(persistence-service): update schemas found to differ in runtime (#3671) 2023-12-19 18:34:27 +05:30
Mir Arif Hasan
4f138beb8a chore: db migration missing message (#3672) 2023-12-19 18:42:00 +06:00
James George
3d7a76bced chore(common): Gist export flow updates (#3665) 2023-12-19 17:37:35 +05:30
Nivedin
74359ea74e fix: auth-header not inheriting properties (#3668) 2023-12-19 17:04:24 +05:30
Mir Arif Hasan
a694d3f7eb hotfix: added validation on infra config update (#3667)
* feat: added validation on infra config update

* chore: removed async keyword

* fix: feedback
2023-12-19 17:15:46 +06:00
Nivedin
58a9514b67 fix: gql history schema error (#3662) 2023-12-19 16:39:32 +05:30
Akash K
a75bfa9d9e fix: actions not working when sidebar is hidden (#3669) 2023-12-19 16:13:59 +05:30
Andrew Bastin
7374a35b41 fix: broken ui due to accidentally moved postcss config 2023-12-19 12:40:07 +05:30
Andrew Bastin
5ad8f6c2ce chore: move window.open to platform io to handle desktop app 2023-12-19 11:26:37 +05:30
Andrew Bastin
f28298afe7 chore: update desktop app version 2023-12-18 23:43:40 +05:30
Andrew Bastin
56c6e8c643 chore: add devtools for production desktop app builds 2023-12-18 23:43:40 +05:30
Andrew Bastin
1b36de4fa3 fix: handle backspace navigating back on desktop app 2023-12-18 23:43:40 +05:30
Andrew Bastin
2f773bec79 fix: drag not working on windows 2023-12-18 23:43:40 +05:30
Andrew Bastin
d3e04c59cc chore: update tailwind stuff on selfhost-desktop 2023-12-18 23:43:40 +05:30
James George
5179cf59a4 fix(common): ensure the add-environment modal value field is empty when opened via the inspector (#3664) 2023-12-18 20:39:23 +05:30
Andrew Bastin
fad31a47ee chore: bump versions of all relevant packages 2023-12-16 22:27:41 +05:30
James George
72c71ddbd4 chore: remove expand widget from the GQL collections import/export modal (#3661) 2023-12-16 17:06:51 +05:30
Nivedin
a0f5ebee39 fix: embeds system theme (#3659)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-16 17:01:23 +05:30
Anwarul Islam
f93558324f chore: move hoppscotch-ui package out of the monorepo (#3620)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-12-16 16:58:10 +05:30
Liyas Thomas
d80e6c01c8 chore: i18n 2023-12-16 12:29:44 +05:30
Liyas Thomas
06f0f1c91b fix: broken docs link 2023-12-16 10:36:54 +05:30
Joel Jacob Stephen
9b870f876a chore: banner cleanup (#3658) 2023-12-15 17:59:33 +05:30
Joel Jacob Stephen
cf8b5975ac refactor: improvements made to how banners are to be dismissed (#3656) 2023-12-15 17:08:57 +05:30
Nivedin
93082c3816 refactor: embeds preview theme (#3657) 2023-12-15 17:08:02 +05:30
James George
d66537ac34 fix(common): GraphQL query syntax highlighting (#3653)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-12-15 14:37:01 +05:30
Nivedin
fc4c15e52d fix: auth-headers in collection bug (#3652)
* fix: fallback for importers and fix spelling

* chore: update i18n strings
2023-12-15 02:49:35 +05:30
Liyas Thomas
b521604b66 fix: collection properties styles 2023-12-14 18:00:46 +05:30
James George
9bc81a6d67 feat(cli): support collection level authorization and headers (#3636) 2023-12-14 12:43:22 +05:30
Joel Jacob Stephen
c47e2e7767 fix: notify that the user is not an admin when trying to login with a non admin account in admin dashboard (#3651) 2023-12-14 12:36:05 +05:30
Akash K
5209c0a8ca feat: dynamically load enabled auth providers (#3646) 2023-12-13 23:38:21 +05:30
Nivedin
47e009267b feat: collection level headers and authorization (#3505)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-12-13 22:43:18 +05:30
Joel Jacob Stephen
f3edd001d7 feat: introducing server configurations in admin dashboard (#3628)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-13 22:34:59 +05:30
Akash K
a8cc569786 feat: import environments from insomnia (#3625)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-13 19:15:39 +05:30
Liyas Thomas
3ae49ca483 fix: codemirror tooltip margin 2023-12-13 12:13:34 +05:30
Liyas Thomas
37e6497e88 fix: z-index 2023-12-13 11:02:56 +05:30
Liyas Thomas
b522ae9e05 fix: shortcut key size 2023-12-13 10:17:22 +05:30
Liyas Thomas
62b11fcec8 fix: z-index on toast 2023-12-13 09:22:58 +05:30
Liyas Thomas
51ebb57623 fix: z-index 2023-12-13 08:45:30 +05:30
Liyas Thomas
ff5c2ba51c chore: minor ui improvements to modal 2023-12-12 23:32:42 +05:30
Mir Arif Hasan
6abc0e6071 HBE-326 feature: server configuration through GraphQL API (#3591)
* feat: restart cmd added in aio service

* feat: nestjs config package added

* test: fix all broken test case

* feat: infra config module add with get-update-reset functionality

* test: fix test case failure

* feat: update infra configs mutation added

* feat: utilise ConfigService in util functions

* chore: remove saml stuff

* feat: removed saml stuffs

* fix: config service precedence

* fix: mailer module init with right env value

* feat: added mutations and query

* feat: add query infra-configs

* fix: mailer module init issue

* chore: smtp url validation added

* fix: all sso disabling is handled

* fix: pnpm i without db connection

* fix: allowedAuthProviders and enableAndDisableSSO

* fix: validateSMTPUrl check

* feat: get api added for fetch provider list

* feat: feedback resolve

* chore: update code comments

* fix: uppercase issue of VITE_ALLOWED_AUTH_PROVIDERS

* chore: update lockfile

* fix: add validation checks for MAILER_ADDRESS_FROM

* test: fix test case

* chore: feedback resolve

* chore: renamed an enum

* chore: app shutdown way changed

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-12-12 16:42:58 +06:00
Andrew Bastin
957641fb0f chore: move dioc out of monorepo 2023-12-12 15:39:10 +05:30
Liyas Thomas
a55f214102 fix: use base url instead of hardcoded url (#3635) 2023-12-12 15:06:28 +05:30
Liyas Thomas
ebf90207e5 chore: improve placeholder component styles (#3638)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-12 15:02:42 +05:30
Liyas Thomas
4ac8a117ef chore: add protocol logos to realtime page (#3637) 2023-12-12 14:25:56 +05:30
Muhammed Ajmal M
c1bc430ee6 fix: overflowing modal fix on small screens (#3643)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-12-12 14:21:19 +05:30
James George
9201aa7d7d fix(common): ensure banner colors are displayed correctly (#3630) 2023-12-12 13:55:18 +05:30
Liyas Thomas
87395a4553 fix: minor ui issues 2023-12-07 17:12:33 +05:30
Andrew Bastin
6063c633ee chore: pin vue workspace-wide to 3.3.9 2023-12-07 17:04:17 +05:30
Akash K
7481feb366 feat: introduce platform defs for adding additional spotlight searchers (#3631) 2023-12-07 16:28:02 +05:30
James George
bdfa14fa54 refactor(scripting-revamp): migrate js-sandbox to web worker/Node vm based implementation (#3619) 2023-12-07 16:10:42 +05:30
Andrew Bastin
0a61ec2bfe fix: useI18n type breaking 2023-12-07 15:17:41 +05:30
Nivedin
2bf0106aa2 feat: embeds (#3627)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-12-07 15:03:49 +05:30
Akash K
ab7c29d228 refactor: revamp the importers & exporters systems to be reused (#3425)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-06 21:24:29 +05:30
Joel Jacob Stephen
d9c75ed79e feat: introducing shared requests to admin dashboard (#3537)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-06 00:21:28 +05:30
Anwarul Islam
6fa722df7b chore: hoppscotch-ui improvements (#3497)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-12-06 00:08:44 +05:30
Balu Babu
18864bfecf feat: addition of data field into User and Team Collections (#3614)
* feat: added new columns into the TeamCollections and UserCollections models

* feat: completed addition of new data field in TeamCollection

* feat: completed addition of new data field in UserCollections

* chore: updated all tests in team-collection module

* chore: added tests for updateTeamCollection method in team-collection module

* chore: refactored all existing testcases in user-collection to reflect new changes

* chore: added new testcases for updateUserCollection method in user-collection module

* chore: made data field optional in team and user collections

* chore: fixed edgecases for data being null

* chore: resolved issue with team-request testcases

* chore: completed changes requested in PR review

* chore: changed target to prod in hoppscotch-old-backend service
2023-12-05 20:12:37 +05:30
Akash K
95754cb2b4 chore: bump deps for hoppscotch-common and hoppscotch-selfhost-web (#3575) 2023-12-05 17:33:25 +05:30
Gaurav K P
ed2a461dc5 feat(common): display status text from the API response if available (#3466)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-04 23:31:49 +05:30
Muhammed Ajmal M
8d5a456dbd fix(common): parentheses and single quotes support to curl imports (#3509) 2023-12-04 23:03:22 +05:30
Nivedin
2528bbb92f feat: shared request (#3486)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-04 22:51:18 +05:30
Liyas Thomas
259cd48dbb feat: init boring avatars (#3615) 2023-12-04 13:20:26 +05:30
Joel Jacob Stephen
b43531f200 feat: add ability to make banners dismissible + new info and warning color schemes added based on themes (#3586)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-12-04 00:57:37 +05:30
Muhammed Ajmal M
26da3e18a9 fix(common): prevented truncating parameters (#3502) 2023-12-04 00:49:45 +05:30
Rajdip Bhattacharya
bb4b640e58 feat: convert json to interfaces (#3566)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2023-12-03 23:14:26 +05:30
Liyas Thomas
1cc845e17d fix: minor ui improvements (#3603) 2023-11-29 22:45:40 +05:30
James George
60bfb6fe2c refactor: move persistence logic into a dedicated service (#3493) 2023-11-29 22:40:26 +05:30
Joel Jacob Stephen
144d14ab5b fix: email validation failure in cases when email entered is correct when trying to create a team in admin dashboard (#3588)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-11-29 21:49:49 +05:30
Anwarul Islam
8f1ca6e282 feat: platform definition added for additional settings components (#3503) 2023-11-29 21:42:51 +05:30
Dante Calderon
a93758c6b7 chore: Remove whitespace in env variables 2023-11-22 19:40:32 +05:30
James George
1829c088cc feat: support for subpath based access in SH apps (#3449)
Co-authored-by: Balu Babu <balub997@gmail.com>
2023-11-22 19:35:35 +05:30
Akash K
ee1425d0dd fix: XML body disappearing with invalid XML (#3567)
fix: catch xmlformatter errors
2023-11-20 15:02:07 +05:30
Joel Jacob Stephen
24ae090916 refactor: allow banner service to hold multiple banners and display the banner with the highest score (#3556) 2023-11-17 20:31:34 +05:30
Nivedin
a3aa9b68fc refactor: interceptor error display in graphql response (#3553) 2023-11-17 17:03:53 +05:30
Joel Jacob Stephen
50f475334e fix: enlarged hoppscotch logo on dashboard login screen (#3559)
fix: resize the dashboard login icon
2023-11-16 22:51:08 +05:30
Andrew Bastin
7b18526f24 chore: merge hoppscotch/main into hoppscotch/release/2023.12.0 2023-11-16 13:51:12 +05:30
Andrew Bastin
23afc201a1 chore: bump version to release/2023.8.4 2023-11-14 21:26:16 +05:30
Andrew Bastin
b1982d74a6 fix: make schema more lenient while parsing public data structures 2023-11-14 21:24:25 +05:30
Andrew Bastin
e93a37c711 fix: add i18n entries for oauth errors 2023-11-14 17:44:37 +05:30
Nivedin
8d7509cdea fix: interceptor error from extension issue (#3548) 2023-11-14 17:17:23 +05:30
Akash K
e24d0ce605 fix: oauth 2.0 authentication type is breaking (#3531) 2023-11-14 00:12:04 +05:30
Balu Babu
f5d2e4f11f feat: introducing shortcode into admin module (#3504)
* feat: added query in infra to fetch all shortcodes

* feat: added mutation in admin to delete shortcode

* chore: added new tests for methods in shortcode module

* chore: removed .vscode file

* chore: added a new ShortcodeCreator type to output of fetchAllShortcodes query

* chore: shortcodeCreator type is now nullable

* chore: added type defs to fetchAllShortcodes method in admin module

* docs: update code comments

* chore: changed target to prod in hoppscotch-old-backend

---------

Co-authored-by: Mir Arif Hasan <arif.ishan05@gmail.com>
2023-11-10 14:28:02 +05:30
Andrew Bastin
de725337d6 fix: window drag taking precedence on windows 2023-11-08 20:07:13 +05:30
Andrew Bastin
9d1d369f37 fix: performance issues due to mouse on header detection 2023-11-08 18:47:40 +05:30
Andrew Bastin
2bd925d441 chore: correct version of selfhost-desktop 2023-11-08 17:18:12 +05:30
Liyas Thomas
bb8dc6f7eb chore: updated brand assets (#3500)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-11-08 15:47:35 +05:30
Anwarul Islam
be3e5ba7e7 fix: graphql query deprecation issue (#3506) 2023-11-08 14:51:39 +05:30
Andrew Bastin
663134839f feat: let platforms disable we are using cookies prompt 2023-11-07 20:49:07 +05:30
Andrew Bastin
736f83a70c fix: header inspector cookie inspection will not trigger if current interceptor supports cookies 2023-11-07 20:36:34 +05:30
Andrew Bastin
05d2175f43 fix: selfhost-desktop not running gql-codegen 2023-11-07 20:24:22 +05:30
Balu Babu
4caf0053cd feat: introduction of shared-requests (#3476)
* feat: added new property to existing shortcode model in prisma schema

* chore: created shared-requests module

* chore: created shared-request model

* chore: complete sharedRequest query

* chore: completed mutation to create a SharedRequest

* chore: completed subscription to create a SharedRequest

* chore: completed query to fetch all user created shared-requests

* chore: completed mutation to delete a SharedRequest

* chore: completed subscription to delete a SharedRequest

* chore: removed unused dependncues in share-requests module

* chore: added shared-requests into user deletion spec

* test: added all testcases for shared-request module

* test: modified all relevant tests in shortcode module

* chore: added deprecated label to all queries,mutations and subscriptions in the shortcode module

* chore: resolved all comments raised in review

* feat: added ability to update and listen to updates of shared-requests

* chore: added updatedOn field to shortcode model

* chore: fixed issue with updateSharedRequest method

* chore: fixed incorrect value getting updated

* chore: added all test-cases for updateSharedRequest method

* chore: created migration for shared-requests

* chore: moved shared-requests into shortcode module

* chore: added missing import in shortcode tests

* chore: changed properties to embedProperties in shortcode model

* feat: generated migrations file for new schema changes to Shortcodes table

* chore: changed target of old-backend service in docker-compose file

* chore: fixed issue with updatedOn field in shortcodes model

* chore: removed unused dependencies

* fix: handle invalid input for shortcode properties

* Revert "fix: handle invalid input for shortcode properties"

This reverts commit 4dcb0afb18.

* chore: changed updateShortcode method name to updateEmbedProperties

* chore: changed target of hoppscotch-old-backend service to prod

---------

Co-authored-by: Mir Arif Hasan <arif.ishan05@gmail.com>
2023-11-07 17:57:51 +05:30
Andrew Bastin
97bd808431 chore: set versions with a bump version 2023-11-07 16:04:02 +05:30
Andrew Bastin
a13c2fd4c1 chore: pin @codemirror/language to 6.9.0 2023-11-07 15:57:19 +05:30
Andrew Bastin
16044b5840 feat: desktop app
Co-authored-by: Vivek R <123vivekr@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-11-07 14:20:03 +05:30
Andrew Bastin
93ce86f32d chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0 2023-11-06 18:56:01 +05:30
Andrew Bastin
4ebf850cb6 chore: bump version to 2023.8.3 2023-11-06 17:39:31 +05:30
Balu Babu
76af7d5e10 fix: mailer template issue (#3475) 2023-11-06 17:25:36 +05:30
Joel Jacob Stephen
507fe69efe feat: new banner service and added ability to bind additional services from other platforms (#3474)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-11-06 11:41:19 +05:30
Joel Jacob Stephen
23e3739718 feat: introducing a new smart table hoppscotch ui component (#3178)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-11-06 11:31:55 +05:30
Nicolas Merget
5428a73811 fix: add optional chaining for teamMembers to handle undefined team (#3484)
Co-authored-by: James George <jamesgeorge998001@gmail.com>
2023-11-06 11:25:39 +05:30
Anwarul Islam
4a154e6569 chore: fix spelling mistake on type import (#3487) 2023-11-06 11:25:03 +05:30
Liyas Thomas
0aa5825d8b fix: cleanup ui and improve consistency in input elements (#3494) 2023-11-06 10:56:15 +05:30
Andrew Bastin
bdb63e99d5 fix: pin @lezer/highlight to 1.1.4 to prevent page breaks 2023-11-03 23:30:46 +05:30
Andrew Bastin
6daa043a1b chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0 2023-11-03 10:12:54 +05:30
James George
8175ec640a chore(data): bump dependencies (#3473) 2023-11-02 23:53:52 +05:30
James George
b5307e4a89 chore(common): implement enforced pre-commit type checks for FE service files (#3472) 2023-11-02 23:37:27 +05:30
Akash K
19294802be fix: graphql page crashing and broken syntax highlighting (#3488) 2023-11-02 23:10:37 +05:30
Andrew Bastin
cbe3e14b47 refactor: versioning and migration mechanism for public data structures (#3457)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-11-02 18:54:16 +05:30
Joel Jacob Stephen
9dcbc4a126 refactor: updated dashboard gql queries and components to use the new infra type of the updated schema (#3455) 2023-11-01 23:40:19 +05:30
Gaurav K P
01df1663ad fix(common): handle false negatives in url validation (#3465) 2023-11-01 22:23:33 +05:30
Anwarul Islam
a215860782 feat: replacing windicss by tailwindcss in hoppscotch-ui (#3076)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2023-11-01 20:55:08 +05:30
Nivedin
abd5288da8 refactor: move sentry to platform (#3451) 2023-11-01 18:17:55 +05:30
Michel Tomas
a89bc473f6 fix(self-hosted/web): add "useCredentials: true" to Vite PWA options (#3460) 2023-11-01 09:46:20 +05:30
Mir Arif Hasan
59b5a50a97 HBE-296 feat: introducing 'infra' type and splitting model properties between 'admin' and 'infra' (#3445)
* feat: infra type added in admin module

* feat: infra-resolver added in admin module

* feat: feedback resolved

* feat: deprecated tag added in some admin ResolveFields

* build: update pnpm-lock file

* feat: add field in infra type

* feat: admin extends user partially

* feat: admin extends user with omitting some fields

* chore: remove unused imports

* build: conflict resolve in pnpm lock file
2023-10-30 17:03:43 +06:00
Andrew Bastin
57cb59027b chore: bump codemirror dependencies 2023-10-19 13:37:07 +05:30
Andrew Bastin
d1c9c3583f chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0 2023-10-19 09:34:49 +05:30
James George
2462492c86 chore(cli): bump dependencies (#3441)
* chore: bump CLI dependencies

* chore: update package.json

Bump version and specify minimum Node.js version
2023-10-16 18:23:22 +05:30
Joel Jacob Stephen
7a9f0c8756 refactor: improvements to the auth implementation in admin dashboard (#3444)
* refactor: abstract axios queries to a separate helper file

* chore: delete unnecessary file

* chore: remove unnecessary console logs

* refactor: updated urls for api and authquery helpers

* refactor: updated auth implementation

* refactor: use default axios instance

* chore: improve code readability

* refactor: separate instances for rest and gql calls

* refactor: removed async await from functions that do not need them

* refactor: removed probable login and probable user from the auth system

* refactor: better error handling in login component

* chore: deleted unnecessary files and restructured some files

* feat: new errors file with typed error message formats

* refactor: removed unwanted usage of async await

* refactor: optimizing the usage and return of promises in auth flow

* refactor: convey boolean return type in a better way

* chore: apply suggestions

* refactor: handle case when mailcatcher is not active

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: James George <jamesgeorge998001@gmail.com>
2023-10-16 18:14:02 +05:30
Balu Babu
46caf9b198 refactor: removed all instances of rejectOnNotFound in prisma queries (#3377)
* chore: removed rejectOnNotFound property from prisma query in team-enviroment method

* chore: fixed issues with test cases in team-environment module

* chore: changed target of hoppscotch-old-backend service back to prod
2023-10-16 14:04:03 +05:30
Mir Arif Hasan
f5db54484c HBE-266 Update NestJS packages (#3389)
* build: update npm nest packages

* build: removed depricated apollo-server-plugin package

* build: pnpm-lock file added

* build: swc integrated

* Revert "build: swc integrated"

This reverts commit 803a01f38f210dfbcd603665893d29af565c8908.

* feat: upgrade graphql* packages version

* feat: upgrade point release

* feat: update pnpm-lock file
2023-10-16 12:23:55 +05:30
Mir Arif Hasan
8deb6471b9 HBE-270 Test-Case timestamp issue fix in backend (#3415)
test: timestamp issue fix in user-history
2023-10-16 12:11:15 +05:30
Liyas Thomas
73b3ff8e41 feat: improve import-export UI (#3452)
* chore: uniform styles across components

* chore: removed absolute wrapper divs

* feat: add import button when graphql collections are empty

* chore: add icon for button

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
2023-10-13 17:57:14 +05:30
James George
016a18d3b2 fix(common): use tab service within helpers (#3448) 2023-10-12 13:15:45 +05:30
Anwarul Islam
ba31cdabea feat: tab service added (#3367) 2023-10-11 18:21:07 +05:30
Nivedin
51510566bc refactor: add import buttons in empty state for collections & environments (#3438) 2023-10-11 11:08:51 +05:30
Anwarul Islam
cabee0ecc8 fix: memory leak issue on TeamInvite modal (#3440)
* fix: memory leak issue

* feat: added rerun ability

* chore: lint fix
2023-10-11 07:59:12 +05:30
Anwarul Islam
2c2b39a236 feat: no permission warning added for users except owner while deleting team (#3328)
* feat: no permission warning added
* chore: changed to function reference
2023-10-09 19:31:48 +05:30
Liyas Thomas
78450c9316 fix: tooltip position in editor instance (#3374) 2023-10-09 11:37:52 +05:30
Joel Jacob Stephen
b18fd90b64 fix: blank screen in admin dashboard on authentication problems (#3385)
* fix: dashboard logs out user when cookie expires or is unauthorized

* fix: handles the 401 error thrown when trying to refresh tokens

* chore: updated wrong logic when returning state in refresh token function

* feat: introduced auth exchange to urql client to check for errors on each backend call

* fix: prevent multiple window reloads

---------

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-10-09 10:08:35 +05:30
Andrew Bastin
0188a8d7db chore: bump version 2023-10-06 22:04:57 +05:30
Joel Jacob Stephen
6c63a8dc28 refactor: updated i18n implementation in the admin dashboard (#3395)
* feat: introduced new unplugin i18n and removed the old vite i18n package

* refactor: updated vite config to support the new plugin

* refactor: removed irrelevant logic from the i18n module
2023-10-06 17:36:19 +05:30
Rakibul Yeasin
17d6ae15a5 fix: Cannot set custom method #3406 (#3408)
* fix: #3406

* chore: remove console log

* fix: an unknown keyboard event issue

---------

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-10-06 11:57:26 +05:30
Andrew Bastin
40f72278a9 fix: team collection resetting on unmount within app lifecycle (#3396)
* fix: team collection resetting on unmount within app lifecycle

* chore: linting

* refactor: eliminate redundancy

* chore: update comment about the watcher purpose

---------

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-10-06 11:34:44 +05:30
5idereal
f717704731 chore(i18n): update tw.json (#3409) 2023-10-06 11:27:24 +05:30
Joel Jacob Stephen
185c225297 feat: introduces ability to export single environment variables and allow CLI to accept the export format used by the app (#3380)
* feat: add ability to export a single environment

* refactor: export environment without id

* feat: introducing zod for checking json format for environment variables

* refactor: new zod specific type for HoppEnvPair

* feat: add ability to export single environment in team environment

* refactor: moved zod as a dependency to devDependency

* refactor: separated repeating logic to helper file

* refactor: removed unnecessary to string operation

* chore: rearranged smart item placement

* refactor: introduced error type when a bulk environment export is used in cli

* refactor: removed unnecssary type exports and updated logic and variable names across most files

* refactor: better logic for type shapes

* chore: bump hoppscotch-cli package version

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-10-06 11:21:54 +05:30
James George
2694731c36 chore: remove stale type definitions (#3368) 2023-10-05 14:49:04 +05:30
James George
ae89af9978 feat: alert the user on empty collection/environment exports (#3416) 2023-10-05 14:38:38 +05:30
James George
87d617012f fix: environment variables usage in meta tags (#3418) 2023-10-05 13:51:42 +05:30
Liyas Thomas
2420b3fa42 chore: move deps in the root of monorepo into devDependencies (#3375)
chore: move deps in the root of monorepo into devDependencies
2023-09-28 22:25:22 +05:30
Anwarul Islam
175a991ec4 fix: gql teamID not being passed (#3392)
* chore: bump dependencies for path.charCodeAt issue
* fix: gql teamID is not passed issue
2023-09-28 22:04:02 +05:30
SamJakob
0301649aff chore: make devcontainer copy .env.example (#3318) 2023-09-28 21:58:17 +05:30
Joel Jacob Stephen
544b045300 fix: authorisation headers not being sent along with subscriptions when using graphql (#3354)
* fix: send auth headers to the payload

* refactor: alert user that headers are sent to connection_init

* refactor: send headers only when headers are populated

* chore: cleanup code
2023-09-28 21:57:07 +05:30
Andrew Bastin
65884293be chore: introduce docker buildx for multi-platform build 2023-09-18 21:16:23 +05:30
Andrew Bastin
3cb4861bac chore: pin netlify-cli version on ui deploy script 2023-09-18 20:51:42 +05:30
Andrew Bastin
7beed30815 chore: update ci to build for arm64 as well 2023-09-18 20:43:22 +05:30
Andrew Bastin
bb380f3751 chore: bump version to 2023.8.1 2023-09-18 20:18:23 +05:30
Andrew Bastin
33a7580e46 fix: support modal popping up on typing shift based commands on input 2023-09-18 20:10:17 +05:30
Liyas Thomas
ffb2b5c30a chore: improve button border radius 2023-09-18 19:51:22 +05:30
James George
7c238fa854 chore(cli): update error message (#3363) 2023-09-18 19:19:51 +05:30
Andrew Bastin
185b575e5b refactor: minor performance improvements on teams related operations 2023-09-18 18:50:57 +05:30
Andrew Bastin
bcc1147f81 fix: clear regression and extension recovers response for error status codes 2023-09-18 18:26:17 +05:30
Anwarul Islam
f5b130024e fix: missing baseurl on import openapi (#3323)
* fix: missing baseurl on import openapi

* fix: url parser for openapi v3

* chore: revert to baseURL for cases where doc servers is present but url is null

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-09-18 14:42:04 +05:30
Liyas Thomas
bb5c333bae fix: remove scrollbar from smart env input component on firefox (#3362) 2023-09-18 13:20:53 +05:30
Nivedin
3684d25848 fix: sticky searchbar hidden in codemirror (#3351)
* fix: sticky search bar in codemirror

* chore: use tailwind classes

* chore: improve consistency across editor instances

---------

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-09-18 12:45:14 +05:30
Anwarul Islam
8b0ba3a45e feat: differentiation for successful invites and failed invites (#3325)
feat: invites result splitted
2023-09-18 11:48:38 +05:30
Liyas Thomas
e847fb7b77 chore: clean up i18n (#3350) 2023-09-18 11:26:31 +05:30
Nivedin
5c78ae4dee fix: dirty tab count incorrect when closing tabs (#3359)
* fix: dirty tab count incorrect when closing tabs

* refactor: make the calculation more expressive

---------

Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
2023-09-18 11:20:26 +05:30
Nivedin
53ec605963 fix: duplicate tab reference bug (#3356) 2023-09-18 11:15:18 +05:30
Yuri Grand
75193a7aa8 i18n: translate locales to russian (#3312)
chore: translate locales to russian
2023-09-13 12:53:10 +05:30
tyo
b269c239d9 chore(i18n): update translation for Indonesian (#3284) 2023-09-13 12:48:46 +05:30
Liyas Thomas
72b4a1fc4e fix: typo in "twitter link" and "invite to hoppscotch" action (#3346) 2023-09-13 11:55:58 +05:30
DNT
d2d1674d31 i18n: update vi.json (#3241) 2023-09-13 11:52:37 +05:30
Joel Jacob Stephen
a6b57777e3 refactor: remove font sizes from the app (#3341)
* refactor: remove font size from settings

* refactor: remove font size from themes

* refactor: remove font size from spotlight

* refactor: remove default font size

* chore: clean up

---------

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-09-13 11:45:38 +05:30
Joel Jacob Stephen
65ef4db86f refactor: remove zen mode from the app (#3337)
* refactor: remove zen mode from settings

* refactor: remove zen mode from footer and options
2023-09-12 14:10:38 +05:30
Nivedin
7201147b55 fix: context-menu position fixed while scrolling (#3340) 2023-09-12 12:43:10 +05:30
Anwarul Islam
dd143c95a9 fix: unusual behavior while scrolling through spotlight entries (#3324)
* fix: spotlight scroll issue

* fix: entry hidden issue

* chore: back to loop mode
2023-09-12 12:42:44 +05:30
James George
005581ee7d fix: broken link to REST API Testing docs (#3333)
fix: broken link to REST API Testing docs
2023-09-12 12:32:10 +05:30
Joel Jacob Stephen
1431ecc6d7 refactor: keyboard shortcuts now supports different keyboard layouts including Dvorak (#3332)
* refactor: support mulitple keyboard layouts such as dvorak

* chore: replace redundant variable usage
2023-09-08 22:02:39 +05:30
Liyas Thomas
f34d896095 docs: updated screenshots and features list (#3310) 2023-09-05 12:06:47 +05:30
Andrew Bastin
e95ebb9226 chore: add release tag ci pipeline to push to docker hub 2023-08-31 15:49:32 +05:30
Andrew Bastin
57365eeae0 chore: bump version to 2023.8.0 2023-08-31 13:55:36 +05:30
Joel Jacob Stephen
b22bd97818 style: updated font size and truncation on fields in the invited users table in admin dashboard (#3300)
style: updated font size and fixed truncation issue on invited table
2023-08-28 23:27:55 +05:30
Anwarul Islam
b953b32ff4 fix: spotlight actions on graphql (#3299)
* fix: spotlight actions for graphql

* fix: environment actions

* fix: gql rename request

* fix: graphql spotlight actions

* fix: tab shortcuts not working properly

* fix: only show download and copy response when there is a response

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-28 20:40:01 +05:30
Liyas Thomas
0eacd6763b chore: improved command labels and icons (#3295)
* chore: improved command labels and icons

* chore: fix tests

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-28 18:15:00 +05:30
Anwarul Islam
8499ac7fec fix: graphql operation highlight on focus changed (#3297) 2023-08-28 17:55:42 +05:30
Nivedin
4adac4af38 fix: inspections bugs (#3277)
* fix: environment add bug in inspection

* chore: add 127.0.0.1 in url inspection

* chore: update browserextension inspection help url

* fix: team env not showing bug in selector

* chore: rework inspector systems to be reactive

* chore: handling tab changes gracefully

* refactor: move out url interceptor from the platform

* chore: add view function in inspector service to get views into the list

* fix: interceptors not kicking in on initial load

* fix: don't show no internet connection error unless browser deems so

* chore: fix tests

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-28 17:43:46 +05:30
Akash K
fd162e242c fix: issues with codegen (#3293)
* fix: fix issues with httpsnippet upgrade

* chore: fix HttpSnippet import
2023-08-28 15:57:44 +05:30
Andrew Bastin
3e83828722 chore: correct spelling for footer custom entries 2023-08-26 04:43:34 +05:30
Andrew Bastin
f7dc36e3f1 fix: correct typo 'additionalFooterMenuItems' 2023-08-26 03:09:11 +05:30
Andrew Bastin
a7566dfd86 feat: move crisp out of common (#3287)
* feat: move crisp out of common

* fix: update static spotlight searcher

* chore: fix typo
2023-08-26 03:00:58 +05:30
Mir Arif Hasan
d4d7a20fbd HBE-258 hotfix: skip parameter in findMany in shortcode module (#3294)
fix: skip parameter in findMany
2023-08-26 01:35:51 +05:30
Andrew Bastin
dfb281bcf7 chore: update prod.Dockerfile to add step for the backend container to not copy .env in 2023-08-25 21:03:00 +05:30
Andrew Bastin
c62482e81f fix: login component in app not respecting allowed auth provider ids 2023-08-25 19:13:03 +05:30
Anwarul Islam
886847ab7b fix: corrections for spotlight searchers (#3275) 2023-08-25 01:44:29 +05:30
Nivedin
a268cab11e fix: context menu bugs (#3279) 2023-08-25 00:27:03 +05:30
Nivedin
e9509b9fa1 fix: tab right click rename bug (#3286) 2023-08-25 00:20:08 +05:30
Liyas Thomas
8db452089c fix: icons inside tooltip (#3283) 2023-08-24 23:55:22 +05:30
Andrew Bastin
a1764023f3 fix: sh-admin not properly loading in env variables 2023-08-24 20:41:46 +05:30
Andrew Bastin
b08b63dc73 feat: cleaner save context handling for graphql (#3282)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-24 19:07:17 +05:30
Nivedin
a9a4ebf595 fix: autocomplete bug (#3285)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-24 18:46:58 +05:30
Andrew Bastin
a8e279db28 fix: codegen breaking 2023-08-24 15:03:50 +05:30
Andrew Bastin
d09a3e9237 fix: import-meta-env crashes while using dev mode 2023-08-24 09:43:52 +05:30
Andrew Bastin
efa40cf6ea feat: container registry friendly docker images and all-in-one container (#3193)
Co-authored-by: Balu Babu <balub997@gmail.com>
2023-08-24 00:01:28 +05:30
Akash K
1a3d9f18ab fix: issues in displaying the suggestions menu on EnvInput (#3280) 2023-08-23 21:18:48 +05:30
Akash K
653ccd3240 fix: vertical scroll not working on codemirror instance when lines are not wrapped (#3276)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-23 18:14:12 +05:30
Anwarul Islam
c0806cfd07 chore: removed unnecessary dependencies from hoppscotch-ui (#3077) 2023-08-23 18:13:19 +05:30
Liyas Thomas
008eb6b77b chore: minor ui improvements (#3274) 2023-08-22 22:22:43 +05:30
Joel Jacob Stephen
ac60843183 refactor: autofocus can be disabled in smart input hopp ui component (#3273)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-22 20:10:41 +05:30
Anwarul Islam
3c3fb1e4a9 fix: minor spotlight related issues (#3271)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-22 17:58:32 +05:30
Anwarul Islam
88212e8cfe feat: gql revamp (#2644)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-22 17:43:43 +05:30
Andrew Bastin
191fa376d2 chore: remove go to docs search entry and update i18n 2023-08-22 01:09:48 +05:30
Andrew Bastin
6efae3a395 fix: crash when closing tab (fixes HFE-146) 2023-08-22 01:07:16 +05:30
Andrew Bastin
cb8678f07f fix: codegen modal breaking, downgrade back to 2.0 2023-08-22 00:49:13 +05:30
Andrew Bastin
b32b0f9bcb fix: modals inputs not working properly 2023-08-22 00:17:03 +05:30
Anwarul Islam
5a91fb53b2 feat: expanded search capabilities of spotlight (#3255)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-21 20:03:51 +05:30
Liyas Thomas
b0b6edc58e fix: search input autofocus (#3265) 2023-08-21 14:58:44 +05:30
Akash K
8c57d81718 chore: bump dependencies (#3258)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-21 09:06:30 +05:30
Andrew Bastin
10bb68a538 refactor: move from network strategies to generic interceptor service (#3242) 2023-08-21 07:50:35 +05:30
Anwarul Islam
d4d1e27ba9 feat: smart-tree component added to hoppscotch-ui (#3210) 2023-08-20 20:48:32 +05:30
Liyas Thomas
d5c887f311 fix: placeholder size and text overflow on tab head (#3261) 2023-08-18 21:32:10 +05:30
Akash K
ce7adf6da3 feat: load allowed login methods from .env (#3264)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-18 21:23:56 +05:30
Andrew Bastin
c626fb9241 feat: spotlight collection searcher (#3262)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-18 20:56:45 +05:30
Nivedin
f21ed30e10 feat: inspections (#3213)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-18 01:37:21 +05:30
Anwarul Islam
b55970cc7a spotlight: settings based actions added (#3244)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-17 22:04:58 +05:30
Joel Jacob Stephen
74ad2e43a4 feat: ability to conditionally enable auth providers in dashboard (#3225) 2023-08-17 21:53:34 +05:30
Liyas Thomas
2d6282cf8b refactor: polish environment selector (#3260) 2023-08-17 16:46:45 +05:30
Liyas Thomas
e255c46455 feat: environment quick peek (#3119) 2023-08-15 19:30:37 +05:30
Andrew Bastin
15c2c7bb5b feat: divider for the additional platform login items 2023-08-15 16:15:03 +05:30
Andrew Bastin
71bcd22444 feat: allow platforms to define additional entries in the login dialog 2023-08-14 22:18:37 +05:30
Joel Jacob Stephen
2d104160f2 refactor: revoke team invitation in admin dashboard (#3232) 2023-08-14 17:37:05 +05:30
Anwarul Islam
f7c1825de5 spotlight: navigation searcher added (#3245)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-08-12 22:21:45 +05:30
Mir Arif Hasan
2c1fd5d711 feat: prefix VITE_ added in conditional auth provider env variable (#3246) (HBE-248) 2023-08-08 14:16:13 +05:30
Nivedin
085fbb2a9b feat: tippy menu for history and tab (#3220)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-08 13:23:11 +05:30
Andrew Bastin
05f2d8817b chore: merge hoppscotch/main into release/2023.8.0 2023-08-08 12:18:01 +05:30
Joel Jacob Stephen
81fbb22c51 feat: introducing a new smart input hoppscotch ui component (#3089)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-08-05 23:45:02 +05:30
Liyas Thomas
01cf59c663 fix: disable line wrapping in EnvInput component (#3230) 2023-08-05 23:43:02 +05:30
Liyas Thomas
5c8ebaff3e refactor: fonts are now bundled with packages (#3227) 2023-08-05 23:42:31 +05:30
Andrew Bastin
0e70c28324 feat: dynamically select which auth providers for your instance of hoppscotch (be implementation) 2023-08-03 20:12:54 +05:30
Ankit Sridhar
88f6a4ae26 [feat] : Allow admins to revoke a team invite (HBE-230) (#3162)
feat: added functionality for admin to revoke team invite
2023-08-03 14:08:32 +05:30
Anwarul Islam
610538ca02 chore: type and ux improvement for SmartTree (#3126) 2023-08-02 20:54:02 +05:30
Nivedin
8970ff5c68 feat: context menu (#3180)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-08-02 20:52:16 +05:30
Liyas Thomas
d1a564d5b8 fix: elastic overscroll on safari (#3221) 2023-08-02 20:47:54 +05:30
Anwarul Islam
8bb1d19c07 fix: firefox browser scrollbar issue (#3201) 2023-08-01 13:20:17 +05:30
Liyas Thomas
c1efa381f0 feat: svg badge asset (#3196) 2023-07-25 20:45:22 +05:30
Andrew Bastin
29171d1b6f fix: generate-ui failing to build 2023-07-18 22:27:37 +05:30
Andrew Bastin
e869d49e16 chore: run tests on and against release branches 2023-07-18 21:46:38 +05:30
Andrew Bastin
6496bea846 chore: bump version to 2023.4.8 2023-07-18 21:46:36 +05:30
NicklasWallgren
39842559b5 fix: reduce the memory consumption during build to prevent OOM (#3148)
Co-authored-by: Nicklas Wallgren <nicklas.wallgren@folksam.se>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-07-18 00:08:06 +05:30
Anwarul Islam
51efb35aa6 fix: keybinding modifier issue (#3163) 2023-07-17 23:56:08 +05:30
NicklasWallgren
9402bb9285 fix: add healthcheck for db and remove unwanted volumes (#3150) 2023-07-17 21:22:56 +05:30
Liyas Thomas
5a516f7242 docs: fixed shortcut keys for spotlight and shortcuts menu (#3192) 2023-07-17 19:27:49 +05:30
Liyas Thomas
3b217d78e7 fix: deps mismatch for vite-plugin-pages-sitemap (#3191) 2023-07-17 19:26:43 +05:30
Liyas Thomas
8e153b38dc redesigned search button (#3187) 2023-07-17 14:40:14 +05:30
Akash K
6f38bfb148 chore: update generateSitemap usage (#3182) 2023-07-17 14:39:32 +05:30
Balu Babu
82b6e08d68 fix: fixed issue in team-environment test cases (#3189) 2023-07-17 12:33:11 +05:30
Liyas Thomas
31fd6567b7 fix: text overflow on spotlight search results (#3181) 2023-07-17 12:32:45 +05:30
Anwarul Islam
25177bd635 fix: update vite-plugin-dts version which fixes build issue on docker/alpine (#3179) 2023-07-17 12:32:25 +05:30
5idereal
6928eb7992 feat(lang): update tw translation (#3170) 2023-07-14 11:36:08 +05:30
Andrew Bastin
8300f9a0a2 chore: merge release/2023.4.8 into release/2023.8.0 2023-07-13 12:10:14 +05:30
Mir Arif Hasan
525ba77739 refactor: team invitation module in pseudo fp-ts (#3175) 2023-07-13 11:58:03 +05:30
Balu Babu
6bc748a267 refactor: introduce team-environments into self-host refactored to pseudo-fp format (#3177) 2023-07-13 11:52:19 +05:30
Andrew Bastin
5230d2d3b8 feat: revamped spotlight (#3171)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-07-11 23:02:33 +05:30
Nivedin
c3531c9d8b feat: auto-complete recent history entries in URL bar (#3141)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-07-11 20:03:42 +05:30
Andrew Bastin
b29c04c28d fix: email not being checked case insensitive on team invitation acceptance (#3174) 2023-07-11 20:03:08 +05:30
Liyas Thomas
b2af353941 chore: new filled star icon to toggle favorite history entry (#3164) 2023-07-06 13:30:38 +05:30
Andrew Bastin
9dbce74f5e chore: bump version to 2023.4.7 2023-06-27 15:43:03 +05:30
Liyas Thomas
db1cf5cc08 fix: explicitly added background color 2023-06-27 15:43:03 +05:30
Liyas Thomas
09360abf81 fix: text overflow on details summary label (#3160)
Co-authored-by: Nivedin <nivedinp@gmail.com>
2023-06-27 15:42:58 +05:30
Andrew Bastin
355bd62b8d feat: introduce more events into the analytics pipeline (#3156) 2023-06-27 15:37:25 +05:30
James Butler
5650de1183 fix: self-host unable to use Azure oauth (#3138) 2023-06-27 15:37:25 +05:30
Akash K
2ee8614b93 fix: use --location param for url when parsing curl (#3152) 2023-06-27 15:37:25 +05:30
Ankit Sridhar
5632334c9a fix: remove existing team invitation for an invitee when adding invitee to team by admin (HBE-229) (#3157) 2023-06-27 15:37:25 +05:30
Anwarul Islam
780dd8a713 fix: graphql authorization headers (#3136) 2023-06-27 15:37:25 +05:30
Nivedin
7db3c6d290 fix: unified bg color in collection tree (#3155) 2023-06-27 15:37:25 +05:30
Omer Baflah
c765270dfe fix: correct typos (#3153) 2023-06-27 15:37:25 +05:30
Webysther Sperandio
03f667c21d feat: custom location on admin redirect to base (#3103) 2023-06-27 15:37:25 +05:30
Balázs Úr
f79f3078dc chore(i18n): updated hungarian translation (#3151) 2023-06-27 15:37:25 +05:30
Nivedin
6e29a2f6d4 fix: shortcode resolution screen is stuck on invalid shortcodes (#3142)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-06-27 15:37:25 +05:30
Balu Babu
6304fd50c3 fix: fixed issue with team-invitations and new user accounts (#3137) 2023-06-27 15:37:25 +05:30
Andrew Bastin
2ec29c47ad chore: merge release/2023.4.7 into main 2023-06-27 14:17:26 +05:30
Andrew Bastin
399a238bf4 chore: bump version to 2023.4.7 2023-06-27 14:15:12 +05:30
Liyas Thomas
b20ab72298 fix: explicitly added background color 2023-06-26 19:57:43 +05:30
Liyas Thomas
f723e6496a fix: text overflow on details summary label (#3160)
Co-authored-by: Nivedin <nivedinp@gmail.com>
2023-06-26 18:30:25 +05:30
Andrew Bastin
8c0aff8863 feat: introduce more events into the analytics pipeline (#3156) 2023-06-24 10:18:35 +05:30
James Butler
64c5077506 fix: self-host unable to use Azure oauth (#3138) 2023-06-22 23:43:05 +05:30
Akash K
2afc87847d fix: use --location param for url when parsing curl (#3152) 2023-06-22 23:40:09 +05:30
Ankit Sridhar
878ec833ce fix: remove existing team invitation for an invitee when adding invitee to team by admin (HBE-229) (#3157) 2023-06-22 23:38:02 +05:30
Anwarul Islam
039de8015f fix: graphql authorization headers (#3136) 2023-06-22 23:32:23 +05:30
Nivedin
f67b366b90 fix: unified bg color in collection tree (#3155) 2023-06-22 00:38:28 +05:30
Andrew Bastin
6f35574d68 refactor: move hoppscotch-common tests to vitest (#3154) 2023-06-22 00:36:25 +05:30
Omer Baflah
77e8a36ab0 fix: correct typos (#3153) 2023-06-22 00:35:57 +05:30
Webysther Sperandio
d7cc9f5dbc feat: custom location on admin redirect to base (#3103) 2023-06-21 00:13:40 +05:30
Anwarul Islam
fc3e3aeaec feat: placeholder component in hoppscotch-ui (#3123)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-06-21 00:09:16 +05:30
Balázs Úr
4ba135f3b9 chore(i18n): updated hungarian translation (#3151) 2023-06-20 14:28:53 +05:30
Nivedin
24894e05dc fix: shortcode resolution screen is stuck on invalid shortcodes (#3142)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-06-19 14:04:07 +05:30
Andrew Bastin
e2b668bee2 chore(ci): add manual workflow dispatch for hoppscotch-ui deploy script 2023-06-19 12:33:52 +05:30
Andrew Bastin
f112c46bb4 chore(ci): re-introduce hoppscotch-ui deploy script 2023-06-19 11:51:14 +05:30
Joel Jacob Stephen
331d482b22 feat: introducing i18n support to admin dashboard (#3051) 2023-06-16 09:47:00 +05:30
Andrew Bastin
b07243f131 chore: merge main@2023.4.6 into release/2023.8.0 2023-06-16 09:45:05 +05:30
Balu Babu
84b0c30d64 fix: fixed issue with team-invitations and new user accounts (#3137) 2023-06-15 17:15:06 +05:30
Andrew Bastin
e3dd9e99a1 chore: bump version to 2023.4.6 2023-06-12 10:43:44 +05:30
Hoai-Thu Vuong
e3091cb6db chore(i18n): fix typo in translation of clear_all (#3133) 2023-06-12 10:31:58 +05:30
Akash K
270f796683 fix: fix url getting overridden when query params are present (#3130) 2023-06-09 21:53:55 +05:30
Anwarul Islam
24c6bce02d fix: failed to execute 'observe' on 'IntersectionObserver' (#3122) 2023-06-09 09:40:09 +05:30
Anwarul Islam
2db567589f fix: collection request name edit issue (#3115)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Nivedin <nivedinp@gmail.com>
2023-06-09 09:36:41 +05:30
Liyas Thomas
1fe83ebdc8 chore: updated i18n strings (#3106) 2023-06-07 23:59:04 +05:30
islamzeki
8320d4f222 chore(i18n): update tr.json 2023-06-07 23:56:49 +05:30
Liyas Thomas
e76c1bc64c fix: stack order of tab inside environment selector (#3108) 2023-06-07 23:47:24 +05:30
Nivedin
1f3f8464ea fix: team environment lost when route changes (#3113)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-06-07 23:46:09 +05:30
Andrew Bastin
81a7e23a12 feat: introduce dioc into hoppscotch-common 2023-06-07 15:20:49 +05:30
Liyas Thomas
e75391cdf1 chore: updated icon with correct size (#3105) 2023-06-04 23:46:47 -04:00
Andrew Bastin
a213c0c26c chore: bump version to 2023.4.5 2023-06-04 23:41:01 -04:00
Andrew Bastin
15424903ed fix: stop logging DATABASE_URL in logs 2023-06-04 23:33:32 -04:00
Andrew Bastin
1cce117b0a chore: bump version to 2023.4.4 2023-06-02 11:06:51 -04:00
Liyas Thomas
abc7b4b6f3 chore: improve mobile responsiveness on environment selector (#3100) 2023-06-02 10:56:18 -04:00
Ankit Sridhar
05e32ef9e4 fix: update team invitation link to domain specified in .env [HBE-202] (#3096) 2023-05-31 10:36:34 -04:00
Nivedin
f0a1fc319c fix: sync popup firing multiple times (#3063) 2023-05-30 23:36:37 -04:00
Allen Zhang
385cabc6aa fix: update package.json script (#3083) 2023-05-30 17:50:47 -04:00
Liyas Thomas
397b26a9f3 chore: environment selector with new ux (#3052)
Co-authored-by: Nivedin <nivedinp@gmail.com>
2023-05-30 17:47:37 -04:00
Nivedin
9a40058329 fix: set team environment from test (#3059) 2023-05-30 17:38:28 -04:00
Akash K
7ec2380ed5 chore: update wss url to ws in .env.example (#3081) 2023-05-29 20:23:02 -04:00
安正超
3d4825305d chore(i18n): Update zh-CN translations (#3068) 2023-05-29 20:19:43 -04:00
Nivedin
26e564288b feat: prettify XML response (#3079) 2023-05-29 20:18:19 -04:00
Sawako
385a587cfd feat(locales): fix and update es (spanish) locale (#3086) 2023-05-29 20:15:39 -04:00
Liyas Thomas
215df02783 chore: make style sheets consistent (#3074) 2023-05-29 20:12:58 -04:00
Liyas Thomas
7c7ed68b20 fix: 403 forbidden error when trying to load profile picture (#3045)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
fix: pane layout broken when wrap line is off (#3027)
Fix issue with disappearing tab when opening request tabs with long text in body/script (#3030)
2023-05-24 16:23:44 -04:00
Anwarul Islam
c910a0314a feat: rename request by double clicking its name on tabs (#3057)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-05-24 16:18:19 -04:00
Liyas Thomas
ddaec1b9ac feat: add support to audio and video API responses (#3044) 2023-05-24 16:16:14 -04:00
Anwarul Islam
9dbdef9286 fix: dead key issue in mac (#3058) 2023-05-23 16:41:37 -04:00
Bart Kerkvliet
e77eef1532 Fix typo, rename cuttentTime to currentTime (#3053) 2023-05-23 16:38:01 -04:00
Liyas Thomas
1fe0b8861d fix: don't cut off the part that's already been typed (#3054) 2023-05-23 16:36:02 -04:00
Andrew Bastin
aeb9172144 fix: analytics logging behavior being incorrect (#3064) 2023-05-23 16:34:28 -04:00
Mir Arif Hasan
1b413e2f47 fix: timing dependency on test case (#3070) 2023-05-23 16:32:39 -04:00
Andrew Bastin
d6c8400116 chore: bump version to 2023.4.3 2023-05-11 17:05:28 +05:30
Andrew Bastin
4a0205e622 fix: environment section being broken 2023-05-11 16:34:57 +05:30
Andrew Bastin
c2520006ac chore: bump version to 2023.4.2 2023-05-11 14:09:38 +05:30
Nivedin
99817fd8bd fix: reset envs when user switches workspaces (#3039)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-05-11 14:09:38 +05:30
Anwarul Islam
3f35fedd9d fix: tab system breaks when a new tab is created while waiting for response in another tab (#3031) 2023-05-11 14:09:38 +05:30
Akash K
b7c2d13992 fix: invalid environment index can break the app (#3041) 2023-05-11 14:09:38 +05:30
Akash K
a6426587fb chore: add onCodemirrorInstanceMount hook to platform (#3043) 2023-05-11 14:09:38 +05:30
Anwarul Islam
5f68356278 feat: scroll to show the new active tab header (#3013)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-05-11 14:09:38 +05:30
Mir Arif Hasan
08f61e7408 fix: magic link URL (#3028) 2023-05-11 14:09:38 +05:30
Mir Arif Hasan
9beda15f00 fix: returning response from authCookieHandler (#3025) 2023-05-11 14:09:38 +05:30
Anwarul Islam
09d1663f81 feat: picture component moved to hoppscotch-ui (#3032) 2023-05-11 14:09:38 +05:30
Anwarul Islam
f43b6e7cff Fix issue with disappearing tab when opening request tabs with long text in body/script (#3030)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-05-11 14:09:38 +05:30
Akash K
6581eb4fd1 fix: update the hoppscotch-sh-admin magic link route to match hoppscotch-app (#3029) 2023-05-11 14:09:38 +05:30
Nivedin
caedfe5c1e fix: pane layout broken when wrap line is off (#3027)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-05-11 14:09:38 +05:30
Liyas Thomas
f6a234aaf9 docs: updated screenshots (#3046) 2023-05-10 19:17:47 +05:30
Andrew Bastin
8450fb6596 chore: release 2023.4.1 2023-04-23 16:44:51 +05:30
Anwarul Islam
41fa3b5a8c fix: wrong tab selected after navigating from different route (#3012) 2023-04-23 16:06:11 +05:30
Nivedin
522de45a62 fix: request name not updating in the save request modal (#3010) 2023-04-23 15:47:06 +05:30
Anwarul Islam
4acc4b2dda fix: language switching issue to en from slug (#3006)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-04-22 16:22:30 +05:30
Liyas Thomas
c1f4855daf fix: non-prettified output on large JSON objects (#3008) 2023-04-21 21:09:25 +05:30
Nivedin
3506e96cfd fix: selected env changed while sidebar collapsed (#3002) 2023-04-21 20:27:04 +05:30
Liyas Thomas
b42a94ed77 chore: use auto-imported icons (#2998) 2023-04-21 20:20:22 +05:30
Liyas Thomas
80da790a3c chore: improve tabs scrollbar & unsaved request indicator (#3003) 2023-04-21 20:08:43 +05:30
Liyas Thomas
d6c706d0f9 fix: unwanted transitions caused pane layout shift (#2988) 2023-04-21 19:55:59 +05:30
Liyas Thomas
bd09a6ac45 i18n: updated locales to reflect latest strings (#2989) 2023-04-19 13:56:15 +05:30
Liyas Thomas
4ada31b20e docs: added border to screenshots (#2987) 2023-04-18 23:14:52 +05:30
Liyas Thomas
5d8b55e96b docs: fixed broken documentation links (#2997) 2023-04-18 23:14:06 +05:30
Liyas Thomas
eab4893aa2 docs: updated screenshots (#2984) 2023-04-13 22:50:53 +05:30
Balu Babu
4806499040 fix: fixed incorrect GOOGLE_SCOPE env value in .env.example file (#2983) 2023-04-13 16:21:37 +05:30
Andrew Bastin
1b1c02ceaa chore: update README 2023-04-11 18:31:48 +05:30
Andrew Bastin
a8f0a8a253 chore: remove hoppscotch-web from self-hosted 2023-04-11 18:31:08 +05:30
Andrew Bastin
b68115d3b2 refactor: change user collections min title length to 1 2023-04-11 15:40:26 +05:30
Akash K
c353d60ddc refactor: refactor collection to not use mapper (#80) 2023-04-11 15:09:32 +05:30
Andrew Bastin
5d1337f15d chore: merge central/staging into self-hosted/main 2023-04-11 14:37:45 +05:30
Akash K
eeee8af806 chore: changes to support id based syncing for collections (#2977) 2023-04-11 14:30:01 +05:30
Andrew Bastin
61b9aca746 chore: update ci actions 2023-04-10 13:14:47 +05:30
Joel Jacob Stephen
c4358b91a2 fix: changed vite icon to hoppscotch icon and changed title in admin dashboard (#82) 2023-04-10 13:07:59 +05:30
Balu Babu
4ce9e67460 chore: added global lint and test commands to backend package (#81)
* chore: added global lint and test commands to backend package

* chore: removed lint command from root scope execution
2023-04-10 12:25:45 +05:30
Andrew Bastin
8e25598a78 chore: update CODEOWNERS file 2023-04-10 11:22:39 +05:30
Andrew Bastin
e88e6a7bcd chore: run vite and gql-codegen in parallel on selfhost-web dev mode 2023-04-09 22:52:02 +05:30
Andrew Bastin
971dfc4c14 chore: update CODEOWNERS to add selfhost-web and sh-admin 2023-04-09 22:32:59 +05:30
Andrew Bastin
9d9bf84c3f chore: set sh-admin and selfhost-web version to 2023.4.0 2023-04-09 22:29:23 +05:30
Andrew Bastin
f7e170865d chore: merge hoppscotch/staging into self-hosted/main 2023-04-09 21:58:58 +05:30
Andrew Bastin
134441a6e7 chore: update CODEOWNERS 2023-04-09 21:54:51 +05:30
Andrew Bastin
80a5d21576 chore: set web and common versions to 2023.4.0 and remove workspace package version specifiers 2023-04-09 21:42:25 +05:30
Akash K
45c84beb81 fix: environments being duplicated (#77) 2023-04-09 14:50:12 +05:30
Andrew Bastin
4a4ee19ba9 chore: merge hoppscotch/staging into self-hosted/main 2023-04-09 14:32:34 +05:30
Akash K
f1a812dae2 refactor: add optional ids to environments (#2974) 2023-04-09 14:30:42 +05:30
Joel Jacob Stephen
a4781d5882 refactor: load terms and privacy policy from env variables in dashboard login page (#79) 2023-04-08 16:51:48 +05:30
Nivedin
0dba28c388 chore: admin-dashboard team page UI polish (#75) 2023-04-08 16:48:33 +05:30
Joel Jacob Stephen
67f7e6a6d2 fix: dashboard auth redirection and magic link login issues (#76)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-04-08 15:22:39 +05:30
Balu Babu
7668be50ae chore: added orderBy field to query to fetch childCollectionList 2023-04-08 05:56:08 +05:30
Ankit Sridhar
100664f77e fix: refactor related to checklist observation (#73)
* refactor: removed unused files, dependencies and added valid callback URL

* chore: update env example

* test: fixed issue with subscription on deleteUserCollection in UserCollection module

* test: fixed time related issue with auth service methods

* chore: removed unused dependencies in auth.service file

---------

Co-authored-by: Mir Arif Hasan <arif.ishan05@gmail.com>
Co-authored-by: Balu Babu <balub997@gmail.com>
2023-04-07 22:22:41 +05:30
Joel Jacob Stephen
e54f837b83 fix: admin dashboard bugs (#74) 2023-04-07 03:23:55 +05:30
Akash K
a33337ae0c fix: handle user/not_found response from backend (#72) 2023-04-07 03:19:18 +05:30
Andrew Bastin
13aa456c3c chore: merge hoppscotch/staging into self-hosted/main 2023-04-07 03:16:27 +05:30
Anwarul Islam
65a194a6d2 fix: shortcode data do not fetch or render (#2972) 2023-04-07 03:11:07 +05:30
Anwarul Islam
55e3dd3c18 fix: reset save context issue on delete collection or folder of team (#2971) 2023-04-07 03:06:30 +05:30
Nivedin
b88f496f4e fix: team environment bug when logout (#2970) 2023-04-07 03:00:30 +05:30
Mir Arif Hasan
696cf8490b refactor: removing unused import, commented codes, improved cursor query (#69)
* chore: refactor code in some modules

* refactor: getTeamsOfUser functino

* chore: remove unused import

* chore: revert some changes
2023-04-06 19:54:10 +05:30
Mir Arif Hasan
ffc08227dd fix: all unit test cases for backend modules (HBE-171) (#51)
* fix: if-condition for getCollectionOfRequest func

* fix: all test cases for team request module

* fix: user collection test case

* fix: team module test case

* refactor: updated test description for last implemented changes in admin and removed commented code

---------

Co-authored-by: ankitsridhar16 <ankit.sridhar16@gmail.com>
2023-04-06 19:53:04 +05:30
Mir Arif Hasan
6cb3a2de43 feat: removed unused dockerfile (#71)
* feat: removed unused dockerfile

* chore: update env example

* chore: env example update
2023-04-06 19:04:44 +05:30
Akash K
47543e46f2 chore: disable export as secret gist in selfhosted (#68) 2023-04-06 15:39:31 +05:30
Andrew Bastin
abd7b4f0f4 chore: merge hoppscotch/staging into self-hosted/main 2023-04-06 15:25:36 +05:30
Anwarul Islam
8caf9f110b feat: added scrollbar for tabs (#2969) 2023-04-06 15:20:16 +05:30
Akash K
1370b53726 chore: enable/disable features in platforms (#2968) 2023-04-06 15:06:33 +05:30
Balu Babu
2435436580 chore: changes origins to view whitelisted origins in backend (#70) 2023-04-06 14:04:04 +05:30
Balu Babu
22aa8ee334 hotfix: magiclink dynamic email redirection url (#67)
* chore: modified magiclink /signin function to work with origin

* chore: modified testcases for signInMagicLink to reflect new changes

* chore: removed prisma migration file

* chore: removed admin module dulicate from guards folder

* chore: implemented ENUMs for origins in signin method

* chore: added VITE_ADMIN_URL to .env.example file
2023-04-06 12:11:01 +06:00
Ankit Sridhar
6d688ed2bc refactor: removing unused env variables from env example (#66) 2023-04-05 21:53:27 +05:30
Andrew Bastin
46e204165d chore: merge hoppscotch/staging into self-hosted/main 2023-04-05 21:49:59 +05:30
Nivedin
8590a9a110 fix: reordering last request bug and its UX (#2967)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-04-05 21:35:14 +05:30
Anwarul Islam
62058d5dfe fix: tabhead and scrolling issue (#2966)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-04-05 21:26:42 +05:30
Andrew Bastin
9bfb965e63 chore: merge hoppscotch/staging into self-hosted/main 2023-04-05 16:37:44 +05:30
Nivedin
1d397af674 fix: move collection and request to bottom of list (#2964) 2023-04-05 15:38:57 +05:30
Nivedin
141a468808 chore: update header UI (#2965) 2023-04-05 15:30:47 +05:30
Andrew Bastin
47bfef958b chore: merge hoppscotch/staging into self-hosted/main 2023-04-04 21:12:21 +05:30
Akash K
a24d724e2b chore: load terms of service & privacy policy links from env variables (#2963) 2023-04-04 20:59:31 +05:30
Anwarul Islam
dd72eacd21 fix: no page rendering issue after navigating from rest page (#2962) 2023-04-04 20:48:32 +05:30
Joel Jacob Stephen
e27dc1f7a2 refactor: polishing of admin dashboard teams module (#64)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-04-04 13:48:02 +05:30
Akash K
ea847d7d32 chore: remove unwanted logs & use new gql generation for selfhosted-web (#65) 2023-04-04 04:18:29 +05:30
Andrew Bastin
87be0ef073 chore: merge hoppscotch/staging into self-hosted/main 2023-04-04 04:11:58 +05:30
Akash K
c3c3fc6720 chore: use IDs instead of Strings in graphql queries (#2961) 2023-04-04 04:10:32 +05:30
Ankit Sridhar
8bdb9a657f feat: self host packaging (HBE-166) (#41)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-04-04 03:17:18 +05:30
Andrew Bastin
71e1ada641 chore: merge hoppscotch/staging into self-hosted/main 2023-04-04 02:17:29 +05:30
Akash K
37a3b72025 chore: move analytics to platform (#2960) 2023-04-04 02:15:20 +05:30
Akash K
c49573db65 fix: serialize user sessions properly (#62)
* fix: cast prisma user object to user object

* chore: improved consistency

* chore: cast function renamed

---------

Co-authored-by: Mir Arif Hasan <arif.ishan05@gmail.com>
2023-04-03 09:47:40 +05:30
Akash K
97c3e6089d feat: implement tabs syncing to selfhost-web (#63) 2023-04-01 18:46:54 +05:30
Akash K
8586ced3cc feat: implement user history syncing for selfhost (#60) 2023-04-01 18:24:58 +05:30
Akash K
2b44ede92b feat: implement user settings syncing for selfhost (#59) 2023-04-01 17:42:11 +05:30
Akash K
86a12e2d28 feat: implement collections syncing for selfhosted (#42) 2023-04-01 17:22:42 +05:30
Andrew Bastin
9d7509b4dd chore: merge hoppscotch/staging into self-hosted/main 2023-03-31 01:07:56 +05:30
Anwarul Islam
defece95fc feat: rest revamp (#2918)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-03-31 00:45:42 +05:30
Andrew Bastin
7b78d99ac4 chore: merge hoppscotch/staging into self-hosted/main 2023-03-30 15:14:59 +05:30
Akash K
dbb45e7253 chore: add removeDuplicateEntry dispatcher to history store (#2955) 2023-03-30 15:13:25 +05:30
Akash K
7286d3b94f feat: add reqType to userHistoryDeletedMany subscription (#61) 2023-03-30 12:17:00 +05:30
Akash K
cc802b1e9f chore: move history firebase things to hoppscotch-web (#2954) 2023-03-30 00:09:08 +05:30
Akash K
a66a2f5645 chore: move settings firebase things to platform (#2953) 2023-03-29 23:59:28 +05:30
Nivedin
885c0dc500 fix: sh-admin dashboard bugs and UI polish (#56) 2023-03-29 23:49:34 +05:30
Andrew Bastin
b826b53cee chore: merge hoppscotch/staging into self-hosted/main 2023-03-29 21:03:52 +05:30
Balu Babu
ea93162056 refactor: modifed return types of mutation/subscriptions in UserCollections (#57)
* refactor: modifed userCollectionRemoved subscription to return custom return type

* chore: created new return type for export to JSON mutation in UserCollection

* refactor: added reqType to exportUserCollectionsToJSON query

* chore: remove duplicate enum in user-collection.model.ts file
2023-03-29 15:50:48 +05:30
Akash K
39afeab5f8 refactor: make editFolder, editCollection take Partial collection as parameter (#2952) 2023-03-29 12:00:20 +05:30
Nivedin
b6950332ad refactor: sh admin login polish (#58) 2023-03-28 23:33:50 +05:30
Mir Arif Hasan
ccdce37f88 fix: enum type fixes in SDL (HBE-183) (#55)
* fix: added reqType typed in sdl

* fix: updateUserSession type
2023-03-28 17:46:41 +06:00
Ankit Sridhar
9d6a7f709c feat: introducing get team info by id in admin module as a query (HBE-182) (#54)
* feat: introducing get team info by id in admin module as a query

* chore: adding resolve field for admin

* chore: remove nullable false

* refactor: rename getTeamInfo to teamInfo

* refactor: make myRole nullable
2023-03-28 15:35:38 +05:30
Mir Arif Hasan
96a4125f15 feat: rate-limit annotation added in admin resolver (#53) 2023-03-24 15:21:46 +05:30
Ankit Sridhar
b16e90c10d fix: check for admin users when removing user as admin (HBE-180) (#52)
* fix: check if admin users are there in infra when removing user as an admin

* fix: corrected the logic for length check

* chore: update error message

* chore: add new error message
2023-03-24 15:21:23 +05:30
Joel Jacob Stephen
5164315243 fix: modified graphql files in dashboard users and teams module to match resolver changes (#50)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-03-22 18:19:37 +05:30
Balu Babu
3df0492275 refactor: removing Redis from pubsub in sh-backend (HBE-178) (#49)
* chore: removed production env check and redis as pubsub provider in pubsub module

* chore: removed pnpm-lock.yaml file from backend

* chore: removed migrations folder from prisma

* chore: removed RedisPubSub from pubsub service file and changed signature of asyncIterator method
2023-03-21 16:46:54 +05:30
Mir Arif Hasan
fa8ca0569d feat: introducing rate-limiting on queries, mutations and most of the REST endpoints (HBE-111) (#46)
* feat: rate-limiting guard added and configured in app module

* feat: rate-limit annotation added in controllers and resolvers (query, mutation, not subscription)

* docs: added comments
2023-03-21 16:45:50 +05:30
Ankit Sridhar
f78354a377 feat: Introducing Admin Module to Backend (HBE-83) (#21)
* feat: introducing admin module, resolvers and service files as a module

* feat: adding admin module in the app module

* feat: introducing admin guard and decorator for allowing admin operations

* feat: invited user model

* chore: added user invitation mail description to mailer service

* chore: added admin and user related error

* feat: added invited users as a new model in prisma

* chore: added admin related topics to pubsub

* chore: added service method to fetch all users from user table

* chore: added user deletion base implementation

* Revert "chore: added user deletion base implementation"

This reverts commit d1615ad83db2bae946e2d366a903d2f95051dabb.

* feat: adding team related operations to admin

* chore: adding admin related service methods to teams module service

* chore: adding admin related service methods to team coll invitations requests envs

* chore: added more module error messages

* chore: added admin check service method

* chore: added find individual user by UID in admin

* HBE-106 feat: introduced code to handle first time admin login setup (#23)

* test: wrote test cases for verifyAdmin route service method

* chore: added comments to verifyAdmin service method

* chore: deleted the prisma migration file

* chore: added find admin users

* feat: added user deletion into admin module

* chore: admin user related errors

* chore: fixed registry pattern in the shortcodes and teams to handle user deletion

* chore: add subscription topic for user deletion

* chore: updated user type in data handler

* feat: implement and fix user deletion

* feat: added make user admin mutation

* chore: added unit tests for admin specific service methods in admin module

* chore: added invitation not found error

* chore: added admin specific operation test cases in specific modules

* chore: added tests related to user deletion and admin related operation in user module

* chore: updated to error constant when invitations not found

* chore: fix rebase overwritten methods

* feat: implement remove user as admin

* chore: add new line

* feat: introducing basic metrics into the self-hosted admin module (HBE-104) (#43)

* feat: introducing admin module, resolvers and service files as a module

* feat: adding admin module in the app module

* feat: introducing admin guard and decorator for allowing admin operations

* feat: invited user model

* chore: added user invitation mail description to mailer service

* chore: added admin and user related error

* feat: added invited users as a new model in prisma

* chore: added admin related topics to pubsub

* chore: added service method to fetch all users from user table

* chore: added user deletion base implementation

* Revert "chore: added user deletion base implementation"

This reverts commit d1615ad83db2bae946e2d366a903d2f95051dabb.

* feat: adding team related operations to admin

* chore: adding admin related service methods to teams module service

* chore: adding admin related service methods to team coll invitations requests envs

* chore: added more module error messages

* chore: added admin check service method

* chore: added find individual user by UID in admin

* HBE-106 feat: introduced code to handle first time admin login setup (#23)

* test: wrote test cases for verifyAdmin route service method

* chore: added comments to verifyAdmin service method

* chore: deleted the prisma migration file

* chore: added find admin users

* feat: added user deletion into admin module

* chore: admin user related errors

* chore: fixed registry pattern in the shortcodes and teams to handle user deletion

* chore: add subscription topic for user deletion

* chore: updated user type in data handler

* feat: implement and fix user deletion

* feat: added make user admin mutation

* chore: added unit tests for admin specific service methods in admin module

* chore: added invitation not found error

* chore: added admin specific operation test cases in specific modules

* chore: added tests related to user deletion and admin related operation in user module

* chore: updated to error constant when invitations not found

* chore: fix rebase overwritten methods

* feat: implement remove user as admin

* chore: add new line

* chore: created new GQL return type for admin module

* chore: created resolver and service method for method to fetch org metrics

* chore: removed all entities relevant to seperate query for fetching admin metrics

* chore: created all resolvers for metrics

* feat: completed adding field resolves to query org metrics

* test: wrote tests for all metrics related methods in admin module

* test: added test cases for get count functions in multiple modules

* chore: removed prisma migration folder

* Delete backend-schema.gql

* chore: resolved merge conflicts in team test file

---------

Co-authored-by: ankitsridhar16 <ankit.sridhar16@gmail.com>

* refactor: update mailer service to stop using postmark (#38)

* refactor: update mailer service to stop using postmark

* chore: remove postmark as a dep and move out postmark code

* chore: remove postmark variables from .env.example

* chore: add formal errors for mailer initialization errors

* chore: add and update jsdoc comments in mailer service methods

* chore: added user invitation mail description to mailer service

* chore: updated with review changes requested for admin module

* feat: adding admin resolver to gql schema

* feat: adding input args for admin resolvers

* chore: invited user renamed

* chore: updated mailer service to be compatible with new mailer

* chore: updated team service with review changes

* chore: updated team collection service with review changes

* chore: updated team environments service with review changes

* chore: updated team requests service with review changes

* chore: updated user service with review changes

* refactor: invited user model

* chore: review changes implemented

* chore: implemented the review changes for admin, user and teams module

* chore: removed error handling and implemented review changes

* refactor: naming change for IsAdmin

---------

Co-authored-by: Balu Babu <balub997@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-03-21 16:42:30 +05:30
Anwarul Islam
8b1d8e6a90 feat: introducing team (HBE-86) (#36) 2023-03-21 16:05:01 +05:30
Andrew Bastin
2244fb0523 chore: add numberScalarMode for schema gen as well 2023-03-20 22:01:06 +05:30
Joel Jacob Stephen
c611b39f52 feat: introducing metrics to admin dashboard homepage (#47) 2023-03-20 19:26:03 +05:30
Joel Jacob Stephen
73a0255ae8 refactor: polish UI of admin dashboard users module (#48)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-03-20 19:18:03 +05:30
Andrew Bastin
e978541bf1 refactor: update mailer service to stop using postmark (#38)
* refactor: update mailer service to stop using postmark

* chore: remove postmark as a dep and move out postmark code

* chore: remove postmark variables from .env.example

* chore: add formal errors for mailer initialization errors

* chore: add and update jsdoc comments in mailer service methods
2023-03-15 14:02:55 +05:30
Andrew Bastin
ae77c60c53 chore: merge hoppscotch/staging into self-hosted/main 2023-03-15 11:32:08 +05:30
Balu Babu
b0d9a934d9 hotfix: fixing type errors in backend graphql layer (HBE-174) (#45)
* chore: added the nest graphql fix for making it use Int over Float

* chore: changed the type of cursor to Int in PaginationArgs

* chore: fixed description mismatch in rootUserCreation functions in UserCollection module

* chore: removed unused title type in UserRequest input-args

* fix: added ID scaler in user-request input type

* fix: added ID scaler in team-invitation and user-history

---------

Co-authored-by: Mir Arif Hasan <arif.ishan05@gmail.com>
2023-03-15 11:20:45 +05:30
Andrew Bastin
1583c86c78 chore: add dotenv as dev dependency to fix staging issues 2023-03-14 22:32:28 +05:30
Balu Babu
a779ba5c0e hotfix: adding dynamic redirection in self-host auth system (HBE-173) (#40)
* chore: completed base auth implementation with redirectUrl

* chore: completed base auth fix with redirect_uri

* chore: added whitelist based redirection

* chore: added a env variable for session secret in main.ts

* chore: removed migrations folder from prisma directory
2023-03-14 19:19:22 +05:30
Balu Babu
be46ed2686 refactor: adding JSON import/export functions to UserCollections module (HBE-169) (#37)
* feat: created exportUserCollectionsToJSON mutation for UserCollection module

* chore: added comments to export functions

* chore: added type and user ownership checking to creation methods

* chore: replaced request property with spread request object instead

* chore: completed all changes requested in inital review of PR

* chore: explicitly exporting request title in export function

* chore: explicitly exporting request title in export function

* chore: added codegen folder to gitignore

* chore: removed gql-code gen file from repo
2023-03-14 18:31:47 +05:30
Andrew Bastin
e5002b4ef3 chore: merge hoppscotch/staging into self-hosted/main 2023-03-14 14:18:11 +05:30
Akash K
1372681b87 refactor: store changes for collections (#2947) 2023-03-14 14:16:45 +05:30
Nivedin
2179ce6fff fix: reordering bugs and UX fixes (#2948) 2023-03-14 14:01:47 +05:30
Balu Babu
28dbaf317e chore: added the correct GQL return type to userRequestMoved subscription (#44) 2023-03-14 11:49:27 +05:30
Joel Jacob Stephen
753db25e4c refactor: remove of light mode from admin dashboard + added README, .env.example (#33) 2023-03-13 18:57:29 +05:30
Andrew Bastin
65719b560b feat: introduce gql schema sdl generation to the backend (#35)
* feat: introduce gql schema sdl generation to the backend

* chore: update gql-codegen consumers to get schema from generated sdl

* chore: hoppscotch-backend generates gql sdl on postinstall

* fix: add back missed part of generate-gql-sdl script

* chore: updated generate sdl script to hardcode whitelisted domains

* chore: add prisma generate on postinstall script

---------

Co-authored-by: ankitsridhar16 <ankit.sridhar16@gmail.com>
2023-03-13 18:52:50 +05:30
Andrew Bastin
44402ac6e1 chore: merge hoppscotch/hoppscotch/staging into hoppscotch/self-hosted/main 2023-03-13 17:12:16 +05:30
Akash K
7e1b26c6a9 chore: move collections sync system to platform (#2940) 2023-03-13 17:08:05 +05:30
Mir Arif Hasan
8550c92e37 feat: subscription return response updated for moveUserRequest (#39)
* feat: subscription return response updated for moveUserRequest

* feat: update test cases
2023-03-13 16:15:51 +05:30
Mir Arif Hasan
7d3b2c064a refactor: Refactoring of Team Request with Reordering (HBE-151) (#20)
* feat: createdOn, updatedOn added in team-request schema and updateTeamReq resolver refactored

* feat: resolver name changed for updateTeamRequest

* refactor: searchForTeamRequest resolver

* refactor: some functions refactored

* refactor: team-request service and subscriptions

* refactor: update GqlRequestTeamMemberGuard

* feat: team request reordering add

* feat: handle exception on update Team Request

* chore: change some return statement

* fix: change field name of MoveTeamRequestArgs

* feat: publish message update for reorder team req

* test: fix all the exists cases

* fix: add return statement

* test: add few functions test cases

* feat: made backward compatible

* fix: team-member guard for retrive user

* fix: few bugs

* chore: destructured parameters in service methods

* test: fix test cases

* feat: updateLookUpRequestOrder resolver added

* test: fix test cases

* chore: improved code consistency

* fix: feedback changes

* fix: main changes
2023-03-09 20:59:39 +06:00
Balu Babu
2a715d5348 refactor: refactoring Team-Collections with reordering in self-host (HBE-150) (#34)
* chore: removed firebase module as a dependency from team-collection module

* chore: modified team-collection resolver file to use input-args types

* chore: modified getTeamOfCollection service method and resolver

* chore: modified getParentOfCollection service method in team-collection module

* chore: modified getChildrenOfCollection service method in team-collection module

* chore: added new fields to TeamCollection model in prisma schema file

* chore: modified getCollection service method and resolver in team-collection module

* chore: modified createCollection service method and resolver in team-collection module

* chore: created cast helper function to resolve issue with creation mutation in team-collection

* chore: modified teamCollectionRemoved subscription return types

* chore: removed return types from subscriptions in team-collection module

* chore: removed all instances of getTeamCollections service method in team-collection module

* feat: added mutation to handle moving collections and supporting subscriptions

* feat: added mutation to re-ordering team-collection order

* chore: added teacher comments to both collection modules

* test: added test cases for getTeamOfCollection service method

* test: added test cases for getParentOfCollection service method

* test: added test cases for getChildrenOfCollection service method

* test: added test cases for getTeamRootCollections service method

* test: added test cases for getCollection service method

* test: added test cases for createCollection service method

* chore: renamed renameCollection to renameUserCollection in UserCollection module

* test: added test cases for renameCollection service method

* test: added test cases for deleteCollection service method

* test: added test cases for moveCollection service method

* test: added test cases for updateCollectionOrder service method

* chore: added import and export to JSON mutations to team-collection module

* chore: created replaceCollectionsWithJSON mutation in team-collection module

* chore: moved the mutation and service method of importCollectionFromFirestore to the end of file

* chore: added helper comments to all import,export functions

* chore: exportCollectionsToJSON service method orders collections and requests in ascending order

* chore: added test cases for importCollectionsFromJSON service method

* chore: added ToDo to write test cases for exportCollectionsToJSON

* chore: removed prisma migration folder

* chore: completed all changes requested in inital PR review

* chore: completed all changes requested in second  PR review

* chore: completed all changes requested in third PR review
2023-03-09 19:37:40 +05:30
Anwarul Islam
9b76d62753 feat: introducing Auth for admin dashboard (HBE-138) (#32) 2023-03-09 10:59:40 +05:30
Akash K
80898407c3 feat: implement environments for selfhosted (#30) 2023-03-08 16:47:29 +05:30
Andrew Bastin
40208a13e0 chore: merge central/staging into main. 2023-03-07 16:13:59 +05:30
Akash K
ae9b7183b5 refactor: optional variables to createEnvironment and fixing the order of initializing GqlClient (#2944) 2023-03-07 16:12:11 +05:30
Joel Jacob Stephen
90569192b7 feat: implementation of users module of the admin dashboard (#29)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-03-03 19:26:34 +05:30
Mir Arif Hasan
223150550f feat: user request module with re-ordering (HBE-78) (#11)
* feat: added user-request schema in prisma

* feat: basic mutation and queries implementation

* fix: enum registration in graphql

* feat: user resolver added for user requests

* chore: refactor codes

* feat: transaction added in request reordering operation

* feat: pubsub added in user request

* refactor: user request service

* chore: feedback added

* chore: code improvement

* fix: bug fix

* feat: request type update in schema and JSDoc added

* test: fetchUserRequests and fetchUserRequest unit test added

* chore: refactor two functions

* test: unit test added for more functions

* chore: code readability improved

* test: added unit test for reorderRequests function

* feat: subscriptions added

* fix: User reference to AuthUser

* fix: User to AuthUser in test file

* chore: update dto file extensions

* feat: relation added in schema level

* chore: add function for db to model type casting

* feat: filter with title and collectionID add in userRequest resolver

* feat: resolvers added for userCollection in request module, and move inputTypes in a single file

* test: test file updated

* docs: description updated

* feat: createdOn, updatedOn added in user request schema

* chore: (delete in future) user collection module add for testing purpose

* feat: separate resolvers for create, update, delete user request based on req type

* feat: used paginationArgs from common types

* fix: shift InputTypes to ArgsTypes

* docs: update docs

* feat: avoid destructuring

* test: fix test cases for create and update

* docs: update JS doc

* feat: separate object variables for moveRequest function

* test: fix test case for moveRequest function

* feat: saperate parameters for fetchUserRequest

* test: fix test cases for fetchUserRequests

* feat: update some query names and made review changes

* test: fix test cases

* feat: remove filtering with title

* test: fix text cases for fetchUserRequests func

* feat: update subscription key

* feat: edge case handled for user request creation

* test: fix test case

* fix: user field resolver

* fix: fetch user req issue

* fix: update with type check

* test: fix test cases

* feat: type checked on move request

* test: add test case for typeValidity check func

* fix: edge condition added in if statement

* fix: error message

* chore: removed user collection from this branch

* fix: typos
2023-03-03 16:51:49 +06:00
Balu Babu
80c6f600db hotfix: refresh token cookie migration (HBE-167) (#31)
* chore: removed signed cookies from refresh token strategy

* chore: removed signed cookies from refresh RTCookie decorator
2023-03-03 15:52:26 +05:30
Balu Babu
a938be3712 feat: Introducing user-collections into self-host (HBE-98) (#18)
* feat: team module added

* feat: teamEnvironment module added

* feat: teamCollection module added

* feat: team request module added

* feat: team invitation module added

* feat: selfhost auth frontend (#15)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>

* feat: bringing shortcodes from central to selfhost

* chore: added review changes in resolver

* chore: commented out subscriptions

* chore: bump backend prettier version

* feat: created new user-collections module with base files

* feat: added new models for user-collection and user-request tables in schema.prisma file

* feat: mutations to create user-collections complete

* feat: added user field resolver for userCollections

* feat: added parent field resolver for userCollections

* feat: added child field resolver with pagination for userCollections

* feat: added query to fetch root user-collections with pagination for userCollections

* feat: added query to fetch user-collections for userCollections

* feat: added mutation to rename user-collections

* feat: added mutation to delete user-collections

* feat: added mutation to delete user-collections

* refactor: changed the way we fetch root and child user-collection counts for other operations

* feat: added mutation to move user-collections between root and other child collections

* refactor: abstracted orderIndex update logic into helpert function

* chore: mutation to update order root user-collections complete

* feat: user-collections order can be updated when moving it to the end of list

* feat: user-collections order update feature complete

* feat: subscriptions for user-collection module complete

* chore: removed all console.logs from user-collection.service file

* test: added tests for all field resolvers for user-collection module

* test: test cases for getUserCollection is complete

* test: test cases for getUserRootCollections is complete

* test: test cases for createUserCollection is complete

* test: test cases for renameCollection is complete

* test: test cases for moveUserCollection is complete

* test: test cases for updateUserCollectionOrder is complete

* chore: added createdOn and updatedOn fields to userCollections and userRequests schema

* chore: created function to check if title are of valid size

* refactor: simplified user-collection creation code

* chore: made changed requested in initial PR review

* chore: added requestType enum to user-collections

* refactor: created two seperate queries to fetch root REST or GQL queries

* chore: created seperate mutations and queries for REST and GQL root/child collections

* chore: migrated all input args classess into a single file

* chore: modified createUserCollection service method to work with different creation inputs args type

* chore: rewrote all test cases for user-collections service methods with new CollType

* fix: added updated and deleted subscription changes

* fix: made all the changes requested in the initial PR review

* fix: made all the changes requested in the second PR review

* chore: removed migrations from prisma directory

* fix: made all the changes requested in the third PR review

* chore: added collection type checking to updateUserCollectionOrder service method

* chore: refactored all test cases to reflect new additions to service methods

* chore: fixed issues with pnpm-lock

* chore: removed migrations from prisma directory

* chore: hopefully fixed pnpm-lock issues

* chore: removed console logs in auth controller

---------

Co-authored-by: Mir Arif Hasan <arif.ishan05@gmail.com>
Co-authored-by: Akash K <57758277+amk-dev@users.noreply.github.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: ankitsridhar16 <ankit.sridhar16@gmail.com>
2023-03-03 15:03:05 +05:30
Andrew Bastin
31c6b0664f chore: merge hoppscotch/hoppscotch/staging into main 2023-03-02 18:55:55 +05:30
Akash K
3fa4052538 chore: move environments firebase things to hoppscotch-web (#2939) 2023-03-02 18:50:13 +05:30
Ankit Sridhar
1780f3858d fix : User history fix for returning most recently executed 50 user history REST/GraphQL items (HBE-165) (#27)
* chore: updated fetchUserHistory operation to return recently executed 50 entries

* chore: updated history to use PaginationArgs for operation

* chore: updated GraphQL resolver name
2023-03-02 14:56:50 +05:30
Liyas Thomas
f2de0dc673 chore: minor ui improvements 2023-02-28 16:25:46 +05:30
Mir Arif Hasan
5eb85fd99c fix: cleaning deprecated resolvers on Team Module (HBE-157) (#25)
* fix: retrive user object from gql-team-member-guard

* feat: removed addTeamMemberByEmail resolver
2023-02-28 14:22:00 +06:00
Joel Jacob Stephen
3f59597864 feat: introducing self hosted admin dashboard package (#12)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-02-28 13:13:27 +05:30
Balu Babu
2ba05a46ee HBE-164 refactor: subscriptions auth cookie fix (#26)
* chore: added error handling to cookie extraction logic for subscriptions

* chore: removed migration file from prisma directory
2023-02-27 19:32:33 +05:30
Ankit Sridhar
292ed87201 fix: added updated and deleted subscription changes (#24) 2023-02-27 19:03:48 +05:30
Nivedin
7e686a8882 feat: global workspace selector (#2922)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-02-24 23:20:02 +05:30
Nivedin
4ca6e9ec3a feat: added reordering and moving for collection (#2916) 2023-02-24 19:09:07 +05:30
Liyas Thomas
bd5f95b1c5 chore: replace material-icons with lucide-icons 2023-02-24 18:41:36 +05:30
Liyas Thomas
167dfc3847 chore: add fonts to ui package [skip ci] 2023-02-24 18:28:39 +05:30
Andrew Bastin
dcd441f15e fix: link not rendering and UI storybook build issues 2023-02-24 15:51:10 +05:30
Andrew Bastin
90c8fbeee4 fix: issues with ui histoire building and modal not having close button 2023-02-24 14:35:42 +05:30
Andrew Bastin
cae1840506 refactor: update hopp-ui to be independent (#2927)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2023-02-24 13:20:12 +05:30
Balu Babu
1860057a25 HBE-147 refactor: Introduce shortcodes into self-host refactored to pseudo-fp format (#22)
* refactor: refactor all queries,mutations and subscriptions for shortcode module

* test: rewrote test cases for shortcodes

* chore: modified shortcode error code

* chore: created helper function to do shortcode type conversion in service file

* chore: simplifed logic to fetch user shortcodes with cursor pagination

* chore: removed migrations file

* chore: removed unused imports in shortcodes module

* chore: modified generateUniqueShortCodeID function

* chore: modified generateUniqueShortCodeID function

* chore: changed jwtService to use verify instead of decode

* docs: added teacher comments to all shortcodes service methods

* chore: removed stale test cases from shortcode modules
2023-02-22 17:40:53 +05:30
Jesvin Jose
82c6f6f6bc fix: response time for requests via extension has incorrect value (#2921)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-02-17 19:14:50 +05:30
Andrew Bastin
2545262fc2 chore: improve DispatchingStore typings for dispatch streams 2023-02-17 16:04:29 +05:30
Mir Arif Hasan
24dd535d9e HBE-155 Common input-args for Pagination (#19)
* feat: common input-args added

* chore: move common input-types.args.ts into types folder

* fix: add gql InputType annotation

* docs: update field description
2023-02-16 11:58:07 +06:00
Andrew Bastin
b27fe871c4 refactor: improve type checking for DispatchingStore dispatch payloads 2023-02-14 14:17:00 +05:30
Andrew Bastin
cb5fff0310 fix: graphql collections not syncing on login 2023-02-14 10:29:43 +05:30
Mir Arif Hasan
b60d45ba76 HBE 145 - fixes cookie parse issue (#17)
* feat: handled cookie parsing

* chore: enum added

* chore: enum name updated
2023-02-10 12:39:04 +06:00
Andrew Bastin
7336a3d9c7 chore: bump backend prettier version 2023-02-09 18:05:41 +05:30
ankitsridhar16
c7829201e1 chore: commented out subscriptions 2023-02-09 17:31:54 +05:30
ankitsridhar16
63b6c76f51 chore: added review changes in resolver 2023-02-09 17:31:54 +05:30
ankitsridhar16
056a5df4e1 feat: bringing shortcodes from central to selfhost 2023-02-09 17:31:54 +05:30
Akash K
757d1add5b feat: selfhost auth frontend (#15)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-02-09 01:12:44 +05:30
Andrew Bastin
3cf3feb2ae chore: updated dockerfile to install deps less 2023-02-08 22:50:37 +05:30
Mir Arif Hasan
46579900cd feat: team invitation module added 2023-02-08 20:21:51 +06:00
Mir Arif Hasan
2d4a5a30f7 test: instance create error commenting mockFB 2023-02-08 20:21:51 +06:00
Mir Arif Hasan
2ed5a045de feat: team request module added 2023-02-08 20:21:51 +06:00
Mir Arif Hasan
4b42496273 feat: teamCollection module added 2023-02-08 20:21:51 +06:00
Mir Arif Hasan
c5d8a446ae feat: teamEnvironment module added 2023-02-08 20:21:51 +06:00
Mir Arif Hasan
9bee62ada9 feat: team module added 2023-02-08 20:21:51 +06:00
Liyas Thomas
d15caba4a6 chore: improve ui responsiveness 2023-02-08 18:57:52 +05:30
Liyas Thomas
536c8128dd docs: update package description [skip ci] 2023-02-08 18:50:32 +05:30
Andrew Bastin
420359066e Merge remote-tracking branch 'central/main' 2023-02-08 18:43:40 +05:30
Andrew Bastin
99918ee0c0 chore: prettier version bump and related fixes 2023-02-08 18:35:27 +05:30
Balu Babu
480e9ea3ec Merge pull request #13 from hoppscotch/hotfix/subscriptions
Hotfix: fix subscription cookie issue
2023-02-08 16:46:49 +05:30
Balu Babu
2ee4029e04 chore: removed migrations in prisma 2023-02-08 15:50:02 +05:30
Balu Babu
edd186bdfe chore: changed const names in subscriptionContextCookieParser 2023-02-08 15:48:40 +05:30
Liyas Thomas
864d40d934 chore: improved theme colors 2023-02-08 15:13:24 +05:30
Balu Babu
856752db21 chore: added env_file property to SH-backend docker-compose file 2023-02-08 14:41:05 +05:30
Balu Babu
7fde6db9d1 refactor: changed onConnect function in subscriptionHandler to decode cookies for subscriptions 2023-02-08 14:36:01 +05:30
Balu Babu
0aac046a0e refactor: changed context to contain just req,res and connection objects for GraphQLModule 2023-02-08 14:27:24 +05:30
Balu Babu
1ad11adb94 chore: remved signed flag from cookie setter in auth/helper.ts 2023-02-08 14:25:05 +05:30
Balu Babu
505adea0ef chore: changed jwt stratergy to use cookies instead of signedCookies 2023-02-08 14:24:16 +05:30
Balu Babu
9c64721bf0 refactor: refactored gql-user-decorator to work for subscriptions 2023-02-08 14:23:27 +05:30
Balu Babu
965fdad8b1 refactor: refactored gql-auth-guard to work for websocket based subscriptions 2023-02-08 14:20:51 +05:30
Balu Babu
a6d6589811 chore: removed SIGNED_COOKIE_SECRET from cookieParser in main.ts and .env.example files 2023-02-08 14:18:39 +05:30
Jesvin Jose
a227af05d9 feat: active tab no longer resets after request (#2917)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Closes https://github.com/hoppscotch/hoppscotch/issues/2080
2023-02-08 10:29:18 +05:30
amk-dev
3b7a16c439 Merge remote-tracking branch 'hoppscotch/hoppscotch/main' 2023-02-07 19:49:35 +05:30
Andrew Bastin
ce0898956d chore: reintroduce updated auth mechanism 2023-02-07 19:21:06 +05:30
Jesvin Jose
cd72851289 refactor: cli updates (#2907)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-02-07 17:47:54 +05:30
Balu Babu
6711d752e2 Merge pull request #9 from hoppscotch/feat/user-authentication
feat: introduce custom user authentication module
2023-02-02 19:09:47 +05:30
Balu Babu
65472bed54 test: fixed date issue in user-history test 2023-02-02 19:09:26 +05:30
Balu Babu
a188ad68ed Merge branch 'main' into feat/user-authentication 2023-02-02 18:54:45 +05:30
Andrew Bastin
bb01afeb99 fix: jest crashing out on tests 2023-02-02 13:39:54 +05:30
Balu Babu
a1be3a3e77 chore: added nestjs version into auth module 2023-02-01 19:19:39 +05:30
Balu Babu
b5e7877912 chore: moved auth utility functions to auth/helper.ts from src/utils.ts 2023-02-01 18:47:11 +05:30
Balu Babu
587e7118c9 chore: added versioning to auth rest module 2023-02-01 18:36:03 +05:30
Balu Babu
8c5ffb88a3 fix: changed user type to AuthUser in user-settings resolver 2023-02-01 18:24:18 +05:30
Balu Babu
2a00f41ef8 test: refactored all test cases with new user type change 2023-02-01 17:52:33 +05:30
Nivedin
f676f94278 fix: graphql save request emit payload (#2913) 2023-02-01 15:20:13 +05:30
Balu Babu
4ca762344c chore: captialized DTO names 2023-02-01 14:58:31 +05:30
Balu Babu
5c5ab5bad5 fix: changed all refrences to passwordlessVerification to verificationTokens in auth module 2023-02-01 11:58:15 +05:30
Liyas Thomas
cd6e40f01c chore: uniform ui in rest and graphql collections 2023-01-31 22:39:24 +05:30
Nivedin
59a8a22e8a fix: search on collections > empty state ui (#2912)
fix: collection search filter ui
2023-01-31 22:33:10 +05:30
Nivedin
2910164d5a feat : smart tree component (#2865)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-01-31 17:15:03 +05:30
Balu Babu
3afc89db6b fix: fixed all issues raised in initial PR review 2023-01-30 18:55:53 +05:30
Andrew Bastin
bfc45993f8 Merge remote-tracking branch 'central/main' 2023-01-30 18:06:19 +05:30
Liyas Thomas
b95e2b365a fix: broken environment highlight color 2023-01-30 10:01:33 +05:30
Balu Babu
a8d50223aa refactor: changed auth module to work with signed cookies 2023-01-30 06:31:10 +05:30
Liyas Thomas
73e788b513 chore: fix broken RouterLink component 2023-01-28 09:49:14 +05:30
Petro S
15d135c11b chore: fixed i18n grammatical errors (#2908) 2023-01-28 08:44:31 +05:30
Anwarul Islam
0fcda0be1a refactor: hoppscotch ui (#2887)
* feat: hopp ui initialized

* feat: button components added

* feat: windi css integration

* chore: package removed from hopp ui

* feat: storybook added

* feat: move all smart components hoppscotch-ui

* fix: import issue from components/smart

* fix: env input component import

* feat: add hoppui to windicss config

* fix: remove storybook

* feat: move components from hoppscotch-ui

* feat: storybook added

* feat: storybook progress

* feat: themeing storybook

* feat: add stories

* chore: package updated

* chore: stories added

* feat: stories added

* feat: stories added

* feat: icons resolved

* feat: i18n composable resolved

* feat: histoire added

* chore: resolved prettier issue

* feat: radio story added

* feat: story added for all components

* feat: new components added to stories

* fix: resolved issues

* feat: readme.md added

* feat: context/provider added

* chore: removed app component registry

* chore: remove importing of all components in hopp-ui to allow code splitting

* chore: fix vite config errors

* chore: jsdoc added

* chore: any replaced with smart-item

* chore: i18n added to ui components

* chore: clean up - removed a duplicate button

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2023-01-28 08:27:00 +05:30
Balu Babu
1bbcd638b8 chore: converted hardcoded whitelisted domains in GQL module to use env variables 2023-01-27 13:42:28 +05:30
Balu Babu
fe73750d66 fix: fixed the user type error in auth.service file 2023-01-27 13:38:36 +05:30
Balu Babu
ca4c576f78 chore: resolved all merge conflicts 2023-01-24 19:35:40 +05:30
Ankit Sridhar
648637a1a1 Merge pull request #8 from hoppscotch/feat/user-session
feat: introducing current session of rest and gql (backend)
2023-01-24 17:09:30 +05:30
Mir Arif Hasan
91adf379da chore: removed redundant comment 2023-01-24 17:27:40 +06:00
Mir Arif Hasan
08ca57cba2 feat: user session resolver added for sessions updates 2023-01-24 17:19:24 +06:00
Mir Arif Hasan
e6fcb1272a Merge branch 'main' into feat/user-session 2023-01-24 15:40:19 +06:00
Mir Arif Hasan
60a5acdb9d fix: typo 2023-01-24 15:28:27 +06:00
Mir Arif Hasan
2221261ec2 fix: typo 2023-01-24 15:27:03 +06:00
Mir Arif Hasan
6627514e88 chore: pulled from main 2023-01-24 15:24:11 +06:00
Mir Arif Hasan
d7b02da719 test: more test case added for user module 2023-01-24 15:12:30 +06:00
Mir Arif Hasan
ebbe015bbc feat: db schema update from string to json column type 2023-01-24 15:10:54 +06:00
Balu Babu
e03a92f8d8 Merge pull request #7 from hoppscotch/feat/user-history
feat: introduce user history in self hosted
2023-01-24 13:05:43 +05:30
ankitsridhar16
7d98c1b355 Merge remote-tracking branch 'origin/main' into feat/user-history
# Conflicts:
#	packages/hoppscotch-backend/prisma/schema.prisma
2023-01-24 13:04:19 +05:30
ankitsridhar16
e78040a376 refactor: removed migrations 2023-01-24 13:00:34 +05:30
ankitsridhar16
97eedb568c refactor: added fetchUserHistoryByID method and added changes for spread 2023-01-24 12:53:44 +05:30
Balu Babu
161f1db40e Merge pull request #5 from hoppscotch/feat/user-settings
feat: introducing user-settings in self-hosted (backend)
2023-01-24 12:30:50 +05:30
Mir Arif Hasan
b50b97a4d1 chore: removed seed cmd form package.json 2023-01-24 12:50:31 +06:00
Mir Arif Hasan
e8e176ed40 fix: removed seed scripts 2023-01-24 12:49:22 +06:00
Mir Arif Hasan
bc82e9c7fa feat: user settings create subscription added and fixed typos 2023-01-24 07:26:47 +06:00
Balu Babu
73ace77305 refactor: changed the test cases to reflect change to UserHistory schema 2023-01-24 02:02:17 +05:30
Balu Babu
4023dcf09d chore: changed the return data to use spread operator 2023-01-24 00:40:14 +05:30
ankitsridhar16
ebf236b387 chore: added changes to creating a history in resolvers and service method 2023-01-23 22:51:37 +05:30
Mir Arif Hasan
e40d77420c chore: comment text updated 2023-01-23 21:54:19 +06:00
Mir Arif Hasan
27b9f57d7a test: pubsub test case added on user settings create 2023-01-23 21:51:46 +06:00
Mir Arif Hasan
3cd9639f34 test: feedback updated on test script 2023-01-23 21:32:00 +06:00
ankitsridhar16
a5a14f6c76 chore: applied review changes for resolvers 2023-01-23 20:21:44 +05:30
Mir Arif Hasan
bfac3f8ad0 feat: db column update from settings to properties 2023-01-23 20:25:48 +06:00
Mir Arif Hasan
dcadbac4d5 docs: update mutation description 2023-01-23 16:33:48 +06:00
ankitsridhar16
626d703d77 refactor: updated test cases to split subscription 2023-01-23 15:23:53 +05:30
ankitsridhar16
25b7ef3d2e refactor: updated pubsub publishing to leverage new topic defs and rewrote map logic 2023-01-23 15:23:02 +05:30
ankitsridhar16
d812e6ab96 refactor: user history resolver changes 2023-01-23 15:06:01 +05:30
ankitsridhar16
74e4a77ce6 chore: added topics for user history subscriptions 2023-01-23 15:04:05 +05:30
ankitsridhar16
863e1ee113 fix: fixed merge related conflicting data 2023-01-23 15:03:03 +05:30
Mir Arif Hasan
33e4a15830 feat: used new pubsub method to publish 2023-01-23 15:28:55 +06:00
Mir Arif Hasan
bf09786423 feat: used new pubsub method and resolve conflicts 2023-01-23 15:11:52 +06:00
ankitsridhar16
f7070dd3f7 Merge remote-tracking branch 'origin/main' into feat/user-history
# Conflicts:
#	packages/hoppscotch-backend/prisma/schema.prisma
#	packages/hoppscotch-backend/src/app.module.ts
2023-01-23 13:22:12 +05:30
ankitsridhar16
523c650c9d chore: updated primsa type for executed on 2023-01-23 13:13:19 +05:30
Ankit Sridhar
469d408b09 Merge pull request #10 from hoppscotch/refactor/subscriptionHandler
HBE-85 - Refactor SubscriptionHandler
2023-01-23 11:55:14 +05:30
ankitsridhar16
cb1b13bdb4 chore: updated filename to topicDefs 2023-01-23 11:49:41 +05:30
ankitsridhar16
480a34c0f7 fix: updated resolver pubsub topic name 2023-01-23 09:54:20 +05:30
Balu Babu
93479320ee chore: added teacher comments to all service methods 2023-01-23 06:04:23 +05:30
Balu Babu
b2acd5511c chore: user displayName and photoURL property updates itself when found with SSO providers 2023-01-23 05:31:03 +05:30
Balu Babu
96ed2f2119 test: wrote tests for auth service file 2023-01-23 05:07:59 +05:30
ankitsridhar16
606e0120ee chore: removed the logic for primitiveTypes as it is unused 2023-01-20 16:13:35 +05:30
ankitsridhar16
6da85fd286 chore: updated types to def and changed deleted many as a new indexed type 2023-01-20 16:12:45 +05:30
ankitsridhar16
298b960ef7 chore: removed comment 2023-01-20 15:18:04 +05:30
Balu Babu
ee3fbabece chore: updated .env.example file with new data 2023-01-20 15:00:54 +05:30
ankitsridhar16
0bed5cd99a chore: removed subscription handler related files 2023-01-20 14:57:47 +05:30
ankitsridhar16
bc55af27a7 chore: updated user environment to use PubSub instead of SubscriptionHandler 2023-01-20 14:56:28 +05:30
ankitsridhar16
a0006f73ac chore: added message types to PubSub Service 2023-01-20 14:55:26 +05:30
Balu Babu
f79070fe60 test: wrote tests for user service file 2023-01-20 11:56:33 +05:30
Balu Babu
b238f3d060 fix: fixed magic-link account creation bug 2023-01-20 07:59:52 +05:30
Balu Babu
a6ad86bd59 chore: replaced hardcoded values with env variables in app.module.ts, main.ts and utils.ts 2023-01-20 07:56:19 +05:30
Balu Babu
60e2ef7cda Merge pull request #3 from hoppscotch/feat/user-environments
feat: introduce user environments in self hosted
2023-01-20 05:01:41 +05:30
Balu Babu
cde0ba11fa fix: changed the return type of delete many subscription to number from user-environment type 2023-01-20 04:55:35 +05:30
Balu Babu
da9fcd1087 refactor: changed the return type of deleteUserEnvironments method to number from void 2023-01-20 04:36:30 +05:30
Balu Babu
8929b37dbe fix: changed return type of deleteUserEnvironment mutation to boolean in user-environments resolver 2023-01-20 04:26:05 +05:30
Balu Babu
509604833e chore: cleaned unwanted imports in auth module 2023-01-20 00:04:01 +05:30
Mir Arif Hasan
08ac9680d7 fix: keeping timestamp without timezone 2023-01-19 17:11:32 +06:00
ankitsridhar16
ca5404a93b chore: updated ts config with review changes 2023-01-19 16:25:36 +05:30
ankitsridhar16
f6f4547af3 chore: introduced string to json from user-settings and moved types 2023-01-19 16:24:31 +05:30
ankitsridhar16
669f8b0431 chore: made review changes for resolvers and introduced stringToJson from user-settings 2023-01-19 16:22:49 +05:30
ankitsridhar16
86aa0251ab chore: made review changes 2023-01-19 16:21:05 +05:30
ankitsridhar16
2252048d2e chore: updated module type name 2023-01-19 16:20:12 +05:30
Balu Babu
53571a7d72 refactor: logout route now just returning 200 status code not redirecting to app_domain 2023-01-19 15:13:55 +05:30
ankitsridhar16
0a469f4ccf chore: introduced subscription handler and fixed requested review changes 2023-01-19 12:57:59 +05:30
ankitsridhar16
d10ed664bf chore: updated test cases with requested changes to handle publishing seperately 2023-01-19 12:56:41 +05:30
ankitsridhar16
4aad8d36a9 chore: updated comment for Subscription Type and updated JSDoc for publish 2023-01-19 12:53:40 +05:30
ankitsridhar16
3e9295f313 chore: added review changes for updating mutations and naming for descriptions 2023-01-19 12:50:20 +05:30
ankitsridhar16
6aa66e99b5 chore: added review changes for description 2023-01-19 12:48:25 +05:30
Balu Babu
c38ad89cd7 chore: made the required changes in auth and user modules to accommodate changes made in user schema 2023-01-19 05:53:23 +05:30
Balu Babu
8fdcc5dd50 chore: changed the names of properties for User in prisma and user.model 2023-01-19 05:19:47 +05:30
Balu Babu
364381f017 chore: changed the schema of database to only store timestamp without timezone info 2023-01-19 05:13:21 +05:30
Balu Babu
9433aa503b chore: removed duplicate me query in user module 2023-01-19 04:57:43 +05:30
Balu Babu
82dee95cd0 chore: added types to createProviderAccount ,ethod in auth.service file 2023-01-19 04:55:51 +05:30
Balu Babu
813db4a985 feat: added route to log users out 2023-01-19 04:34:35 +05:30
Balu Babu
c63bc28ca0 feat: microsoft SSO auth completed 2023-01-19 04:15:43 +05:30
ankitsridhar16
29e74a2c9e feat: added subscription handler as a provider for user environment module 2023-01-19 01:36:31 +05:30
ankitsridhar16
80fdc6005b chore: added comments to certain fields 2023-01-19 01:35:21 +05:30
ankitsridhar16
9e25aa1f9f feat: introducing new subscription handler interface and user defined/primitive types 2023-01-19 01:34:11 +05:30
ankitsridhar16
f58d5d28cf chore: added error messages and updated existing error messages 2023-01-19 01:31:38 +05:30
Balu Babu
81cb0d43d7 fix: added scope for github strategy in auth module 2023-01-18 22:34:15 +05:30
Andrew Bastin
9d7052c626 chore: add CODEOWNERS 2023-01-13 21:53:37 -05:00
Balu Babu
4edd0e0ab7 chore: added new github auth environment variables into .env.example 2023-01-13 02:50:52 +05:30
Balu Babu
a3d60d393b chore: removed rouge file called typescript from repo 2023-01-13 02:48:16 +05:30
Balu Babu
311ab67ebe feat: github login added 2023-01-13 02:11:42 +05:30
Balu Babu
1f581e7b51 chore: added logic to create and add google accoun to pre-existing user accounts 2023-01-13 01:48:25 +05:30
Balu Babu
5fe934110e fix: fixed the timestamp comparison login in verifyPasswordlessTokens route 2023-01-13 01:46:34 +05:30
Balu Babu
f4df8873be feat: google sso auth added 2023-01-13 00:52:29 +05:30
Balu Babu
6f4c5d7195 chore: created .env.example file to store env variables 2023-01-12 23:19:38 +05:30
Balu Babu
06f1c2fba2 refactor: refactored a few types around users and passwordless tokens in auth module 2023-01-12 21:31:25 +05:30
Balu Babu
36b32a1813 feat: /refresh route complete along with refresh token rotation 2023-01-11 19:29:33 +05:30
Balu Babu
d3a43cb65f chore: created and added new errors in jwt.strategy.ts file 2023-01-11 18:41:06 +05:30
Balu Babu
d98e7b9416 refactor: created utlility functions for setting cookies and handling redirects 2023-01-10 17:00:39 +05:30
Balu Babu
fc284fd0a2 feat: magic-link auth complete 2023-01-10 16:06:42 +05:30
Masaki Tagawa
5841d2eb66 chore(i18n): update i18n translations 2023-01-09 20:53:12 +05:30
Balu Babu
0c154be04e chore: manually committing auth module to remoter 2023-01-09 19:02:14 +05:30
Balu Babu
90bc0483ae fix: fixed improper imports in auth module 2023-01-09 18:56:40 +05:30
Balu Babu
32765b2d34 chore: created the route to initate magic link auth 2023-01-09 17:43:45 +05:30
Balu Babu
d9e80ebef9 feat: modified the prisma.schema file to add new tables for auth 2023-01-09 12:15:21 +05:30
Balu Babu
445102226e chore: created auth module and installed relevant base dependencies 2023-01-09 12:10:06 +05:30
Balu Babu
a6ce882511 feat: created the mailer module with postmark 2023-01-09 12:00:03 +05:30
Mir Arif Hasan
9d20c4c4a9 chore: updated variable names and comments 2023-01-05 15:52:43 +06:00
Mir Arif Hasan
e2d8ea0a70 refactor: error message updated 2023-01-05 15:38:18 +06:00
Mir Arif Hasan
b33d003ba5 feat: error message updated 2023-01-05 15:21:09 +06:00
tzhangm
ee07a90b5e chore: update i18n translations 2023-01-05 13:27:17 +05:30
Mir Arif Hasan
55f79507fe chore: updated seed file 2023-01-05 13:22:19 +06:00
5idereal
70d2f1e3d9 chore: update i18n translations (#2892) 2023-01-03 12:51:33 +05:30
Liyas Thomas
acafc072db chore: minor ui improvements 2022-12-29 11:10:16 +05:30
Anwarul Islam
51e40581b0 fix: login modal not visible in small screen 2022-12-26 01:40:55 +06:00
Mir Arif Hasan
a372cf0178 chore: addd seed for user-settings 2022-12-23 21:50:39 +06:00
Mir Arif Hasan
d863aa7aa6 chore: postinstall update in package.json 2022-12-23 13:14:57 +06:00
Mir Arif Hasan
b31e54b3e5 feat: user-settings schema update and relative service file modified 2022-12-23 13:13:21 +06:00
Mir Arif Hasan
9b5734f2ff refactor: user-settings module 2022-12-23 12:28:22 +06:00
Mir Arif Hasan
6b59b9988c docs: developer guide text updated 2022-12-22 22:25:16 +06:00
Mir Arif Hasan
f9de546d14 feat: more property added in userInputDto and key updated 2022-12-22 18:56:18 +06:00
Mir Arif Hasan
9e304b947b test: added user update unit tests 2022-12-22 18:47:42 +06:00
Mir Arif Hasan
c11a219c62 fix: typo of pubsub message 2022-12-22 18:41:35 +06:00
Mir Arif Hasan
3cc22575cb feat: user update and subscribers added 2022-12-22 17:35:44 +06:00
Mir Arif Hasan
c42b6e2fdb feat: added fields for user-session of rest and gql 2022-12-22 12:46:03 +06:00
Andrew Bastin
1e5dd1cc53 chore: introduce platform object for platform specific code 2022-12-21 19:21:52 -05:00
Mir Arif Hasan
877532559e Merge branch 'main' into feat/user-settings 2022-12-21 13:25:42 +06:00
ankitsridhar16
cd4750fcce fix: added missing return for star/unstar service method 2022-12-21 11:45:19 +05:30
ankitsridhar16
fc2be71e1f Merge remote-tracking branch 'origin/main' into feat/user-environments
# Conflicts:
#	packages/hoppscotch-backend/jest.setup.js
#	packages/hoppscotch-backend/package.json
2022-12-21 10:30:21 +05:30
ankitsridhar16
0c9aa2f681 chore: added error messages for a user history 2022-12-20 21:08:23 +05:30
ankitsridhar16
1883be95d5 chore: updated resolvers for user-history 2022-12-20 21:06:49 +05:30
ankitsridhar16
f7dadda52a chore: added service files for user history and unit tests 2022-12-20 21:05:58 +05:30
Mir Arif Hasan
2a8fd24504 chore: removed redundent import statement 2022-12-20 16:36:45 +06:00
ankitsridhar16
71c70a1b36 Merge remote-tracking branch 'origin/main' into feat/user-history 2022-12-20 15:52:54 +05:30
Mir Arif Hasan
c34379d936 Merge pull request #6 from hoppscotch/chore/jest-testing
feat: add moduleNameMapper in package.json
2022-12-20 16:21:34 +06:00
Mir Arif Hasan
2dde29c628 feat: add moduleNameMapper in package.json 2022-12-20 16:09:54 +06:00
ankitsridhar16
818e71d49c Merge remote-tracking branch 'origin/main' into feat/user-history 2022-12-20 14:58:15 +05:30
Ankit Sridhar
6bbeb5ef87 Merge pull request #4 from hoppscotch/chore/jest-setup
feat: added jest and jest-fp-ts setup
2022-12-20 14:56:20 +05:30
ankitsridhar16
7ebed70316 fix: fixes nest restart issue 2022-12-20 14:52:54 +05:30
ankitsridhar16
130237fc87 feat: added jest and jest-fp-ts setup 2022-12-20 14:41:50 +05:30
ankitsridhar16
a28774c2c4 feat: added user-history resolvers, service files and module 2022-12-20 14:35:25 +05:30
ankitsridhar16
b9ade5d2a3 feat: added user-history module to app module 2022-12-20 14:31:01 +05:30
ankitsridhar16
b677aa1715 feat: added user history model 2022-12-20 14:30:14 +05:30
Mir Arif Hasan
7a036883e8 test: added user-settings test cases for service file 2022-12-20 15:00:13 +06:00
ankitsridhar16
e665df21da feat: added resolvers for user model and history 2022-12-20 14:29:31 +05:30
ankitsridhar16
d066b9c913 feat: added prisma schema for user history 2022-12-20 14:28:15 +05:30
Mir Arif Hasan
b4290c24b3 fix: invalid user handled on createUserSettings 2022-12-20 14:51:58 +06:00
Mir Arif Hasan
b66656ad84 fix: prisma service import 2022-12-19 23:58:23 +06:00
Mir Arif Hasan
5c032e84be fix: null value checked on user_settings.properties 2022-12-19 23:56:50 +06:00
Mir Arif Hasan
83437ae4ba feat: added fetchUserSettings for 2022-12-19 18:42:13 +06:00
Mir Arif Hasan
24434cc61a feat: added subscriber for update user settings 2022-12-19 18:18:34 +06:00
Mir Arif Hasan
53dc40e8c7 feat: added mutation for update user settings 2022-12-19 18:12:49 +06:00
Mir Arif Hasan
4affb2bc5b feat: added user-settings schema and user-settings module 2022-12-19 17:38:46 +06:00
Liyas Thomas
3d7b057026 chore: updated i18n translation, minor ux improvements 2022-12-17 09:57:57 +05:30
Anwarul Islam
d36ab337d7 feat: ability to delete user account and data (#2863)
* feat: add gql mutation

* feat: added delete account section in profile page

* feat: separate shortcodes section to a component

* feat: delete user modal

* feat: delete user account

* feat: navigate to homepage after delete

* chore: improve ui

* fix: delete user mutation

* chore: minor ui improvements

* chore: correct grammar in certain i18n strings

* feat: delection section separated to component

* feat: separate user delete section into component

* feat: defer fetch my teams

* feat: disable delete account button on loading state

* Update Shortcodes.vue

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-12-17 09:31:39 +05:30
ankitsridhar16
c87690f378 chore: update resolvers and service files 2022-12-15 23:31:12 +05:30
ankitsridhar16
9fb9fd4568 chore: added test files for user environment service 2022-12-15 23:29:51 +05:30
ankitsridhar16
6bd4fd91ff chore: updated user resolver with updated service methods 2022-12-15 23:25:21 +05:30
ankitsridhar16
164c2463f5 chore: added error messages for user environment related errors 2022-12-15 23:24:09 +05:30
ankitsridhar16
73532e41c5 chore: added jest and jest related setup files to support jest fp-ts 2022-12-15 23:23:13 +05:30
ankitsridhar16
3392b1a1ca chore: minor changes to Dockerfilefor prisma service 2022-12-15 23:21:57 +05:30
ankitsridhar16
08cc7114ac chore: minor changes to Dockerfile 2022-12-15 23:21:21 +05:30
Liyas Thomas
012f9b5314 feat: prettify xml request body - fixed #2878 2022-12-15 17:06:18 +05:30
Liyas Thomas
ba6069324f chore: minor ui improvements 2022-12-14 19:29:04 +05:30
Liyas Thomas
0d26d4cdbd ci: updated workflow comments 2022-12-14 19:10:52 +05:30
Liyas Thomas
4b920feffa ci: maximize build space 2022-12-14 16:33:33 +05:30
ankitsridhar16
8e038f6944 feat: added user environments to app module 2022-12-13 16:10:58 +05:30
ankitsridhar16
ce94255a9e feat: added user environment user environments resolvers, service files 2022-12-13 13:27:51 +05:30
ankitsridhar16
b4b63f86d9 feat: added user environment prisma schema 2022-12-13 13:14:13 +05:30
Andrew Bastin
830373efb3 chore: reintroduce sitemap generation (#2874) 2022-12-10 21:10:45 -05:00
Akash K
c3f18671ec fix: cannot write to body when a request is loaded from history (#2873)
* fix: cannot write body when a request is loaded from history

* fix: import `toRaw()` from vue

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2022-12-09 20:39:36 +05:30
Ankit Sridhar
2901fb0d72 Merge pull request #2 from hoppscotch/chore/backend-integration
chore: backend integration for existing modules and docker fix
2022-12-09 11:59:49 +05:30
Balu Babu
c5466edf71 chore: cleaned up hopp-backend package and modified docker and docker-compose files 2022-12-08 22:19:14 +05:30
ankitsridhar16
bfc5bfe973 chore: added user model in prisma schema 2022-12-08 20:26:22 +05:30
ankitsridhar16
4da11955f1 style: prettier fix for pubsub 2022-12-07 23:17:56 +05:30
ankitsridhar16
d4c775a537 chore: added existing utils from old backend repo 2022-12-07 23:14:49 +05:30
ankitsridhar16
ef95a8a305 chore: added fp-ts and gql complexity plugin 2022-12-07 23:13:13 +05:30
ankitsridhar16
a173d2c808 chore: imported existing user module files from old repo 2022-12-07 23:11:52 +05:30
ankitsridhar16
ee002df110 chore: added gql decorator and complexity plugin 2022-12-07 23:09:15 +05:30
ankitsridhar16
06ef17048a chore: added prisma module 2022-12-07 20:52:31 +05:30
Balu Babu
9487348ba8 Merge branch 'chore/backend-integration' of https://github.com/hoppscotch/self-hosted into chore/backend-integration 2022-12-07 20:33:08 +05:30
Balu Babu
757060b11f chore: removed comments from pubsub module 2022-12-07 20:31:54 +05:30
ankitsridhar16
ab1f8437ea chore: added existing auth guard and user model 2022-12-07 20:30:02 +05:30
Balu Babu
d7afd31572 chore: created pubsub module and added relevant dependencies for it 2022-12-07 20:28:46 +05:30
Balu Babu
cd3178224a Merge branch 'chore/backend-integration' of https://github.com/hoppscotch/self-hosted into chore/backend-integration 2022-12-07 20:19:40 +05:30
Balu Babu
9193a1a5d6 chore: fixed docker-compose issue with package/hopp-backend 2022-12-07 20:13:42 +05:30
Liyas Thomas
0d33758ba4 ci: introduce staging deployment actions 2022-12-07 12:11:06 +05:30
Akash K
e7e8c397ef fix: circular watcher dependencies on invite.vue causing infinite loop (#2871) 2022-12-06 15:59:38 -05:00
Andrew Bastin
0f3e36a447 chore: get functioning server running 2022-12-06 15:00:51 -05:00
ankitsridhar16
333dbba393 chore: added docker files for bringing the container up 2022-12-06 13:18:02 +05:30
Liyas Thomas
b04b12c7a0 fix: broken links 2022-12-06 12:09:20 +05:30
Ankit Sridhar
1dc804a2b9 Merge pull request #1 from hoppscotch/feat/create-hoppscotch-backend-package
feat: added hoppscotch-backend as a package
2022-12-05 12:50:50 +05:30
ankitsridhar16
75219d457a feat: added hoppscotch-backend as a package 2022-12-05 12:36:11 +05:30
Liyas Thomas
a1d69b3210 chore: minor ui improvements 2022-12-03 13:01:47 +05:30
Liyas Thomas
dcbc2f1145 ci: use latest workflow versions 2022-12-03 00:51:49 +05:30
Andrew Bastin
36903b338a fix: broken Dockerfile and final start command 2022-12-02 13:34:46 -05:00
Andrew Bastin
9d8d6832af chore: fix broken ci 2022-12-02 11:01:53 -05:00
Andrew Bastin
3d004f2322 chore: split app to commons and web (squash commit) 2022-12-02 03:05:35 -05:00
Liyas Thomas
fb827e3586 Create deploy-preview-netlify.yml 2022-12-02 03:02:56 -05:00
Liyas Thomas
ccca183e08 chore: minor ui improvements 2022-12-01 17:47:39 +05:30
Liyas Thomas
237455ab21 chore: minor ui improvements 2022-11-29 13:50:58 +05:30
Liyas Thomas
6141073137 chore: minor ui improvements 2022-11-27 23:19:19 +05:30
Liyas Thomas
740691417f chore: updated translation 2022-11-27 03:52:15 +05:30
Anwarul Islam
2ed709796a MQTT Revamp (#2381)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2022-11-27 02:43:24 +05:30
Akash K
75c0350584 fix: delete not working properly on request body (#2861) 2022-11-24 22:00:43 -05:00
Liyas Thomas
17d72b9922 fix: typo 2022-11-17 09:58:52 +05:30
Liyas Thomas
1796fae3d1 chore: updated tech stack list 2022-11-16 09:45:55 +05:30
Akash K
1ecd22204d chore: remove unwanted debug info (#2851) 2022-11-09 17:37:05 -05:00
Akash K
356fe4591f fix: fix cursor going out of bounds when filtering response (#2850) 2022-11-09 17:23:28 -05:00
Andrew Bastin
0230942a3d chore: introduce devcontainer support 2022-11-08 15:51:26 -05:00
Andrew Bastin
325793eebc fix: onLoggedIn called when id token is not yet resolved for auth users 2022-11-07 22:36:12 -05:00
Nivedin
39d1256f68 refactor: move global environment selector to top (#2848)
* refactor: moved global env to top

* fix: change to my collection and env when logedout

* fix: merge fix

* refactor: change v-show to v-if

* chore: minor type change

* chore: pass variable name to edit

* chore: improve logic

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>

* chore: minor ui improvements

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-11-03 10:13:06 +05:30
Andrew Bastin
fd2472d34b chore: add vue-tsc dep and introduce lint:ts script for prelim ts fixes 2022-11-02 13:08:25 -04:00
Andrew Bastin
5e8fbc6552 chore: fix some type errors in '/r' route 2022-11-02 11:03:08 -04:00
Liyas Thomas
3084a40729 fix: set focus to newly added environment key field 2022-11-02 18:11:13 +05:30
Francisco Emanuel de Sales Pereira
0069f51ea4 feat: added inline environment variable edit button (#2813)
* refactor: changes v-if render to v-show on Environments tabs

* feat: adds selectText prop to EnvInput

* feat: adds editing variable name to env Details modal

* feat: adds actions to invoke edit env modals

* feat: adds edit action to tooltip env

* refactor: adds destructuring assignment on action handlers for edit env modals

* refactor: fix comment on environment modals action

* chore: minor ui improvements

* refactor: change text selecion prop on EnvInput to something more meaningful

* refactor: removes comment on HoppEnvironment extension

* refactor: renames isTextSelected EnvInput prop to selectTextOnMount

* refactor: remove type definition of automatic inferrable variables

* refactor: edit environment call to only allow accepted types

* feat: introduce type safe action arguments

* fix: revert v-show to v-if

* chore: minor ui improvements

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-11-02 17:55:22 +05:30
Liyas Thomas
696c612489 fix: broken tippy focus event 2022-11-02 15:05:57 +05:30
Liyas Thomas
4a5a4077af chore: improvements to tooltips and popovers 2022-11-02 14:42:00 +05:30
Liyas Thomas
28bcb899e7 chore: improve ui consistency 2022-11-01 19:05:13 +05:30
Liyas Thomas
4062a7089a perf: temporarily disable dependabot 2022-11-01 09:40:14 +05:30
Akash K
ad86221c7d fix: linting erroring out on graphql queries (#2846) 2022-10-31 18:45:53 -04:00
Akash K
53938248de fix: errors on opening json outline (#2847) 2022-10-31 18:28:31 -04:00
Liyas Thomas
c018b639ad chore: minor ui improvements 2022-11-01 00:42:35 +05:30
Liyas Thomas
eb2145c7da fix: updated prop name 2022-10-30 17:50:17 +05:30
Liyas Thomas
2f4c39d310 feat: filter and group history entries 2022-10-30 17:05:32 +05:30
biondizzle
79ada82223 feat: use environment variable to specify proxyscotch access token (#2791) 2022-10-29 18:16:40 -04:00
Liyas Thomas
c67463fb3b chore: updated translations
commit 2adcfe9804ede1fea584db24e0a27dc1b5e034e3
Author: Archontis Kostis <arxontisk02@gmail.com>
Date:   Sat Oct 29 22:04:01 2022 +0300

    chore: updated translation (#2837)

commit 56b8a5cb38
Author: 5idereal <nelson22768384@gmail.com>
Date:   Sat Oct 29 11:58:25 2022 +0800

    chore: updated translation (#2835)
2022-10-30 00:45:37 +05:30
Akash K
d162471555 chore: add polyfill for replaceAll (#2836) 2022-10-28 20:29:07 -04:00
Nivedin
c99797bcef fix: import hopp collection (#2824) 2022-10-27 22:29:46 -04:00
Nivedin
9739cdbbaa fix: codemirror field overflow (#2827)
* fix: codemirror editor overflow

* chore: minor ui improvements

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2022-10-27 08:12:23 +05:30
Akash K
7f6db561f5 fix: fix missing analytics (#2826)
fix: typo in environment variable name
2022-10-26 18:50:03 +05:30
Akash K
9eac00b303 fix: useCodemirror getting non strings as value (#2810) 2022-10-22 12:36:07 +05:30
Oliver Zhou (毓杰)
b61df04c1b fix: socket.io v3/v4 incomming message issue (#2811) 2022-10-22 12:31:31 +05:30
Liyas Thomas
b587e21c90 chore: updated translations
commit 1673c36cec5ac0e949bdf85c8e780f02ae25c06d
Author: Roberth González <63687573+rxb3rth@users.noreply.github.com>
Date:   Thu Oct 20 15:45:00 2022 +0200

    chore(i18n): updated translations (#2788)

commit af70ae2c43558cf7f658cf8bfcca35475e7786c7
Author: Fiqri Dwi <79080077+fiqridwi@users.noreply.github.com>
Date:   Thu Oct 20 18:41:53 2022 +0700

    chore: updated translations (#2805)
2022-10-20 19:47:57 +05:30
Liyas Thomas
02d66ee9fd chore: minor ui improvements 2022-10-20 19:47:17 +05:30
Akash K
a950e08ef1 chore: add temporary debug info for code mirror (#2806)
chore: temp debug info
2022-10-20 17:17:54 +05:30
Liyas Thomas
6e7d28db7b fix: overflow on log entries - closed #2738 2022-10-15 09:57:49 +05:30
Andrew Bastin
a0ea00d0a3 fix: form-data requests on proxy failing 2022-10-14 15:39:28 +05:30
Liyas Thomas
beb5606862 chore: updated translations
commit b8350ae25d85ec71be6a8ca2580fbeeebd73c5f6
Author: Andrii Bodnar <29282228+andrii-bodnar@users.noreply.github.com>
Date:   Fri Oct 14 06:47:18 2022 +0300

    chore: updated translations (#2781)

commit 04dd400871
Author: Daniel Krásný <53856821+DanielKrasny@users.noreply.github.com>
Date:   Wed Oct 12 14:26:02 2022 +0200

    chore: remove translations of brand names (#2777)
2022-10-14 09:21:20 +05:30
Anwarul Islam
44f11f93a4 fix: realtime connect/disconnect issue (#2768)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2022-10-13 17:33:46 +05:30
Hau Nguyen
7b61f267dd chore: migration vite import.meta.glob (#2778) 2022-10-12 15:14:43 +05:30
Akash K
971238cedb chore: serialize when logging errors (#2775) 2022-10-12 02:19:27 +05:30
Akash K
4d19b9249b fix: fix auth/graphql errors causing errors on logout (#2772) 2022-10-11 14:06:22 +05:30
Liyas Thomas
4046b91609 fix: resolved #2771 2022-10-11 10:35:14 +05:30
Nivedin
e6652109c5 fix: team environments import (#2770)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2022-10-10 20:15:01 +05:30
Liyas Thomas
e9cfc066a5 fix: resolved #2758 2022-10-10 14:50:53 +05:30
Liyas Thomas
9ce078c1d3 chore: updated translations 2022-10-09 21:22:36 +05:30
Liyas Thomas
2bcc1675e8 chore: updated translations
commit 2756922cc0
Author: islamzeki <islamzeki@users.noreply.github.com>
Date:   Sun Oct 9 18:31:47 2022 +0300

    Update tr.json (#2750)

commit fb13fae385
Author: Cheese <seojeee@gmail.com>
Date:   Mon Oct 10 00:28:34 2022 +0900

    add and fix translations in ko.json (#2752)

commit c28ffd604d
Author: Akhmad Thoriq <51510460+itstor@users.noreply.github.com>
Date:   Sun Oct 9 22:27:15 2022 +0700

    fix wrong translation and typo in Indonesia language (#2757)

commit fe18aa1310
Author: Fiki Maulana <fikimaul@gmail.com>
Date:   Wed Oct 5 21:40:19 2022 +0700

    translate and fix some Indonesia language (#2739)

commit 9f8a2c0cd3
Author: Dhravya Shah <dhravyashah@gmail.com>
Date:   Tue Oct 4 12:19:12 2022 +0530

    i18n: add Hindi to locales (#2734)
2022-10-09 21:04:57 +05:30
Liyas Thomas
a87c2347c9 chore: minor ui improvements 2022-10-09 20:55:22 +05:30
Liyas Thomas
8f2810db30 ci: use latest workflow version - superseded #2754 2022-10-09 16:44:44 +05:30
Andrew Bastin
528d0b0429 fix: history component crashing on special characters (fixes #2743) 2022-10-07 23:00:32 +05:30
Andrew Bastin
f759014315 fix: broken pr evaluation scripts 2022-10-07 22:20:05 +05:30
Nivedin
a568610c28 feat: team environments (#2512)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
Co-authored-by: islamzeki <islamzeki@users.noreply.github.com>
Co-authored-by: Jesvin Jose <aitchnyu@users.noreply.github.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-10-07 22:05:39 +05:30
Damanpreet Singh
c35a85db12 fix: allow posting empty key files in multipart/form-data (#2664) 2022-10-07 02:29:15 +05:30
Andrew Bastin
fcd61436c8 chore: fix issues with broken ci scripts 2022-10-07 01:51:32 +05:30
Andrew Bastin
0798063213 chore: fix broken docker ci builds 2022-10-07 01:42:39 +05:30
jerbob92
80de63323d build: use GraphQL URL from env in gql-codegen (#2749)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-10-07 01:17:25 +05:30
jerbob92
7d0219b11d chore: allow configuration of shortcode base (#2748) 2022-10-07 00:50:48 +05:30
Akash K
d42434ddc0 feat: use email as fallback for display name (#2746)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-10-07 00:45:34 +05:30
Liyas Thomas
cbf6d23c24 chore: minor improvements 2022-10-06 21:21:24 +05:30
Akash K
568c05b4b0 fix: fix type error when generating profile picture initials (#2742)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-10-06 17:56:30 +05:30
Akash K
59ee4babeb fix: fix ref access when using v-for on Invite.vue (#2744)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-10-06 16:06:14 +05:30
Liyas Thomas
604ef4d004 fix: resolved #2740 2022-10-05 21:24:15 +05:30
Liyas Thomas
dc80cc80e6 build: v3.0.1 2022-10-05 08:42:23 +05:30
Liyas Thomas
f5a0c3cfca chore: minor ui improvements 2022-10-05 08:40:09 +05:30
Liyas Thomas
f8e9563392 fix: resolved #2736 2022-10-04 13:44:29 +05:30
Jesvin Jose
3c17a14bd3 fix: find linked account from authentication error and link it (#2662)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-10-04 01:08:00 +05:30
Liyas Thomas
3140859993 chore: updated translations
commit 3c15461d82e4b3f9e8fe719ed09d26feddf965df
Author: rivermanbw <35424579+rivermanbw@users.noreply.github.com>
Date:   Mon Oct 3 15:26:37 2022 +0200

    chore: updated translations (#2668)

commit ef68b8a93c
Author: Andrii Bodnar <29282228+andrii-bodnar@users.noreply.github.com>
Date:   Mon Oct 3 16:23:38 2022 +0300

    chore: updated Ukrainian translations (#2732)

commit 96f68e9d70
Author: islamzeki <islamzeki@users.noreply.github.com>
Date:   Mon Oct 3 12:19:39 2022 +0300

    i18n: updated translations (#2731)
2022-10-03 19:03:03 +05:30
Andrew Bastin
3c35bb6091 fix: issue with non-alphanumeric characters within body env variables (fixes #2665) 2022-10-03 14:55:59 +05:30
Liyas Thomas
355e37a27d chore: updated translations
commit c764c3ac6844da28a58ffca3af208b786f9d234e
Author: Aefar <87722826+Marineux@users.noreply.github.com>
Date:   Sun Oct 2 22:03:48 2022 +0700

    feat: add Indonesian translations (#2727)

commit 37d364766a
Author: Alin Pisica <alinp2508@gmail.com>
Date:   Sat Oct 1 19:42:27 2022 +0300

    i18n: update language translations (#2720)

commit 76339b498f
Author: Thomas Bnt <thomasbnt@protonmail.com>
Date:   Sat Oct 1 15:56:13 2022 +0200

    i18n: updated translations
2022-10-02 20:40:47 +05:30
Liyas Thomas
ca71ffe3c2 chore: minor ui improvements 2022-10-02 18:59:23 +05:30
Liyas Thomas
4bcc703444 chore: exclude redirect urls from service worker 2022-10-02 16:59:44 +05:30
Akash K
f01e0b888d chore: exclude robots.txt and sitemap.xml from using fallback navigation (#2706) 2022-10-02 16:39:10 +05:30
Liyas Thomas
5701454c02 ci: fix docker image 2022-10-02 10:31:55 +05:30
Liyas Thomas
0584f781c4 ci: upgrade actions/checkout to v3
Squashed commit of the following:

commit fac38b9293c6963cbc081f05f67b36d652524956
Author: Oscar Dominguez <dominguez.celada@gmail.com>
Date:   Sun Oct 2 02:50:33 2022 +0200

    ci(publish-docker): upgrade actions/checkout to v3 (#2721)

commit f352646887682e80105ca758849415f9628dd336
Author: Oscar Dominguez <dominguez.celada@gmail.com>
Date:   Sun Oct 2 02:50:15 2022 +0200

    ci(deploy-staging-netlify): upgrade actions/checkout to v3 (#2722)

commit 7afc517620a5f649dc08b1bf5afd6af086f20af9
Author: Oscar Dominguez <dominguez.celada@gmail.com>
Date:   Sun Oct 2 02:49:57 2022 +0200

    ci(deploy-prod): upgrade actions/checkout to v3 (#2723)

commit 50f0540f5afcbd835fa6db89e575aead1023c9ff
Author: Oscar Dominguez <dominguez.celada@gmail.com>
Date:   Sun Oct 2 02:49:45 2022 +0200

    ci(codeql-analysis): upgrade actions/checkout to v3 (#2724)

commit fc5d5ea131a553b1f38b272525f40941eea031ee
Author: Oscar Dominguez <dominguez.celada@gmail.com>
Date:   Sun Oct 2 02:49:31 2022 +0200

    ci(deploy-netlify): upgrade actions/checkout to v3 (#2725)

commit 4e16962001800b633309c726f71ac476efba4e13
Author: Oscar Dominguez <dominguez.celada@gmail.com>
Date:   Sun Oct 2 02:47:40 2022 +0200

    chore(PR template): fix typo (#2726)
2022-10-02 06:23:15 +05:30
Raul Piraces Alastuey
fd7d096a77 ci: modify publish-docker workflow to push for ARM platforms (#2719) 2022-10-01 21:13:38 +05:30
Liyas Thomas
6330548cc0 refactor: better shortcut indication 2022-10-01 19:19:43 +05:30
Liyas Thomas
048ac5f7a5 refactor: updated translations 2022-10-01 17:22:01 +05:30
hms5232
bac38688f9 fix: term translattion in tw.json (#2715) 2022-10-01 17:14:10 +05:30
Liyas Thomas
1f29ff24d7 refactor: improved popover actions, key bindings 2022-10-01 12:22:07 +05:30
Andrew Bastin
1006617e99 chore: add additional telemetry for teams errors 2022-10-01 01:53:19 +05:30
Andrew Bastin
99e7e73965 chore: fix eslint issues in windows 2022-09-30 23:54:52 +05:30
Andrew Bastin
a6b91c435c fix: issue with prod-lint in hopp-app on windows 2022-09-30 23:44:50 +05:30
Liyas Thomas
938f940f90 feat: response shortcuts (#2705) 2022-09-30 19:32:09 +05:30
Liyas Thomas
06a8d62dfe fix: resolved #2707 2022-09-30 19:06:44 +05:30
Andrew Bastin
44c439d7a9 chore: add sentry release submission 2022-09-30 16:08:52 +05:30
Andrew Bastin
fd11ea8143 chore: expose release info to sentry 2022-09-30 15:40:55 +05:30
Andrew Bastin
fb65e0e23d feat: introduce extra telemetry info for teams and backend operations 2022-09-30 12:57:15 +05:30
Liyas Thomas
1b23c5ea4a chore: minor ui improvements 2022-09-30 09:47:12 +05:30
Liyas Thomas
045dc10a0d fix: resolved #2704 2022-09-29 14:52:26 +05:30
Liyas Thomas
389fedefb5 build: v3.0.0 2022-09-29 11:07:39 +05:30
Andrew Bastin
8b300fab5d feat: migrate to vue 3 + vite (#2553)
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-09-29 10:55:21 +05:30
Andrew Bastin
77a561b581 fix: multiple request created on teams (closes #2455) 2022-09-07 00:41:08 +05:30
Andrew Bastin
a75e755ebd chore: fix broken netlify ci 2022-09-06 15:09:18 +05:30
Jesvin Jose
1ac9511c2a fix: link github and google (#2626) 2022-09-06 14:58:46 +05:30
islamzeki
d51201cdc1 fix: #2630 (#2631) 2022-09-04 08:44:40 +05:30
Andrew Bastin
f88ed5684c fix: edge cases on disabled sync modes 2022-08-26 01:07:54 +05:30
Nivedin
052595c076 fix: form data with same key send only last one (#2606)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-08-22 23:02:02 +05:30
Andrew Bastin
6b8ae63747 fix: wrong pick emission on save request modal for teams requests (fixes #2579) 2022-08-12 14:00:47 +05:30
Andrew Bastin
c013aa52ac feat: allow quoted key/values for escaping characters and trail/lead whitespaces in raw key value pairs (#2578) 2022-08-12 13:53:40 +05:30
Anwarul Islam
017cbb5a71 feat: update keyboard shortcut to navigate to profile page (#2573) 2022-08-10 17:21:43 +05:30
Sagar
2e1ca0cbb0 feat: remember pane sizes (#2556)
Co-authored-by: Sagar <sagar@Sagars-MacBook-Pro.local>
2022-08-10 05:11:03 +05:30
Anwarul Islam
a9e1a3002e Hightlight environment variable with a dash '-' in its name (#2560) 2022-08-08 17:23:16 +05:30
Deepanshu Dhruw
73fdfbd2c8 feat: added delay flag in @hoppscotch/cli and related tests (#2527)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-08-04 19:19:14 +05:30
Patrick Prakash
0c31d9201f docs: fix PWA broken link (#2558) 2022-08-04 18:41:19 +05:30
kyteinsky
fa0e7f4785 fix: curl parser x-www-form-urlencoded body parsing (#2528) 2022-07-28 21:03:05 +05:30
Andrew Bastin
e9576dd339 fix: ignore confirm save modal on same request selection even when no session 2022-07-28 17:41:54 +05:30
Khusroo Hayat
d335ac1d80 fix: search panel position in response (#2510)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-07-25 14:28:02 +05:30
Joel Jacob Stephen
c0e3a2be0b fix: disabled search in team collection (#2523)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-07-25 14:01:26 +05:30
SiderealArt
722864da62 update tw.json (#2511) 2022-07-25 13:37:52 +05:30
Akash K
54a12ef6fa fix: team collections tab visible when logging out (#2494) 2022-07-06 22:24:32 +05:30
liyasthomas
d035262e1a refactor: lowercase routes 2022-07-03 18:04:57 +05:30
Andrew Bastin
1ab54b0ce7 fix: i18n breaking on switching between realtime tabs 2022-07-02 21:39:43 +05:30
Andrew Bastin
cac3abd2ab fix: multiple requests appearing on teams (#2455)
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
2022-06-30 18:37:27 +05:30
Nivedin
c34185dc4b fix: environment variables save without pressing 'save' button (#2454)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-06-30 14:42:43 +05:30
Andrew Bastin
cfdab014c7 refactor: allow smart tabs to render inactive tabs as an option 2022-06-28 16:37:43 +05:30
liyasthomas
ed6e1c0f94 chore: update package lock file 2022-06-28 15:19:45 +05:30
Anwarul Islam
07a8a37739 feat: realtime tabs as subpages (#2450)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-06-28 15:12:47 +05:30
Akash K
ca553b9d3c fix: empty string exported when exporting team collections (#2460) 2022-06-27 22:24:38 +05:30
Jitendra Nirnejak
69aaeaf42a fix: environment variables overflowing issue on test results - fix (#2473) 2022-06-27 15:52:32 +05:30
Andrew Bastin
015393d98f fix: allow volar to function properly on gitpod 2022-06-23 14:56:09 +05:30
Nivedin
c8dec56b96 fix: remove confirm change popup and add ability to overwrite request in saveas popup (#2433) 2022-06-22 15:21:35 +05:30
liyasthomas
8fefd37862 fix: make scrollbars visible, fixed #2437, #2411 2022-06-18 18:14:02 +05:30
kyteinsky
c1cc1ce295 fix: curl parser json detection issues (#2370)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-06-18 14:09:16 +05:30
Chun-Hao Lien
16be7c38f3 fix: typo in getEnvironment (#2434) 2022-06-18 07:37:32 +05:30
Vaugen Wake
82b6ad935a fix: resolve removing body parameters in requests (#2390) (#2428)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-06-16 19:47:46 +05:30
Nivedin
185dc3f2c9 fix: Copy and download filtered response body (#2426) 2022-06-16 06:09:43 +05:30
liyasthomas
51138fa42d chore: updated i18n translations 2022-06-16 06:02:57 +05:30
Andrew Bastin
7f08a4bd81 chore: hoppscotch-cli version 0.2.1 2022-06-15 23:58:34 +05:30
Deepanshu Dhruw
0244b941b3 feat: added support for passing env.json file to test cmd (#2373) 2022-06-15 23:53:24 +05:30
Moritz Mock
2d0bd48e00 feat: checks only if not default param (#2410)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-06-14 22:21:03 +05:30
Andrew Bastin
15e433b114 fix: broken volar inference on templates 2022-06-14 17:29:31 +05:30
nicognaW
97ff089110 feat: display response size with a bigger unit in tooltip (#2425)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-06-14 15:40:33 +05:30
Andrew Bastin
a6b5295df5 chore: revert indented line wrap due to issues with mobile (fixes hoppscotch/internal-issues#9) 2022-06-13 23:05:23 +05:30
Nivedin
6b1ca1dce1 feat: filter json body response (#2404) 2022-06-10 18:12:40 +05:30
Andrew Bastin
04a9c4dc52 fix: improve graphql syntax highlighting 2022-06-10 01:26:42 +05:30
liyasthomas
e5e44b889f ci: use pnpm/action-setup in actions 2022-06-08 12:34:03 +05:30
Andrew Bastin
c46bc40bcb chore: add staging backend env vars to nuxt config 2022-06-08 12:21:17 +05:30
Andrew Bastin
a91a8ba575 chore: use pnpm/action-setup instead of manual pnpm install 2022-06-08 12:19:47 +05:30
Andrew Bastin
1f536eeedd fix: volar complaining about jsx 2022-06-07 15:58:14 +05:30
liyasthomas
25253c4bdf chore: improve ui consistency in realtime pages 2022-06-07 14:34:00 +05:30
Andrew Bastin
043c49541f chore: add backend urls to staging env 2022-06-07 02:11:40 +05:30
Andrew Bastin
a78462fbe3 chore: move backend urls to env variables 2022-06-07 01:57:48 +05:30
Andrew Bastin
52c25e497f chore: introduce staging deploy workflow 2022-06-07 01:03:29 +05:30
Andrew Bastin
4f539c9781 fix: remove staging push from deploy-netlify workflow 2022-06-07 01:00:45 +05:30
Andrew Bastin
ba468bb835 chore: allow system env vars to be available during build time 2022-06-07 00:59:10 +05:30
liyasthomas
93faa8d5ff ci: activate staging deployment 2022-06-03 15:32:58 +05:30
Liyas Thomas
cf90d16f8a refactor: use refAutoReset instead of settimeout (#2385)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-06-01 16:54:37 +05:30
Nivedin
39f72f8458 feat: segmented content-type dropdown UI (#2382)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-05-31 17:04:05 +05:30
liyasthomas
eb6c4f1a05 feat: add copy to clipboard button in response headers entry 2022-05-28 15:39:17 +05:30
liyasthomas
b132077cdd chore: improve ui consistency 2022-05-28 15:19:04 +05:30
Anwarul Islam
f6950bac0f refactor: real-time system (#2228)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-05-28 15:05:41 +05:30
kyteinsky
83bdd03f43 fix: curl parser url sanitisation (#2366) 2022-05-27 14:48:33 +05:30
liyasthomas
b1a2c9e9d5 fix: text overflow in table layout 2022-05-25 17:42:48 +05:30
liyasthomas
346ac8bde9 chore: improve ui consistency on table layout 2022-05-24 18:48:45 +05:30
Nivedin
cfa89a6ded feat: UI of shortcode actions (#2347)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-05-24 17:58:49 +05:30
Akash K
184914ba4f feat: extension identification improvements (#2332)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-05-19 13:41:05 +05:30
Deepanshu Dhruw
432337b801 chore: tests for hoppscotch-cli (#2300)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-05-11 15:44:19 +05:30
Andrew Bastin
d04520698d refactor: isolate computed header calculation on effective requests (#2313)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-05-11 14:53:06 +05:30
liyasthomas
450af983e2 fix: overflow on log entry 2022-05-10 19:34:37 +05:30
Balázs Úr
c36e421d13 chore(i18n): updated Hungarian translation (#2331) 2022-05-10 11:42:54 +05:30
Joel Jacob Stephen
fb1da491d8 refactor: realtime log entry revamp (#2240)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-05-10 02:05:24 +05:30
Andrew Bastin
127bd7318f fix: improve indentation on GQL editors 2022-05-07 23:33:48 +05:30
Nivedin
c3b784c680 fix : save request popup bug (#2324) 2022-05-05 20:46:28 +05:30
Andrew Bastin
df55807fa4 fix: rest session not updating when the request is renamed from the sidebar (fixes #2297) 2022-05-05 20:07:13 +05:30
Akash K
4ef2844a22 feat: import collections from URL (#2262)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-05-03 17:54:47 +05:30
Andrew Bastin
c20339d222 fix: deprecated pnpx usage migrated to pnpm exec 2022-05-03 12:39:56 +05:30
liyasthomas
514210e167 fix: proper scrollbar width - resolved #2301 2022-04-30 19:53:23 +05:30
Anwarul Islam
50744136d0 fix: same key params are not overwritten to the last defined (#2299)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-04-30 19:23:43 +05:30
liyasthomas
07735994e1 refactor: update echo server URLs 2022-04-29 06:40:38 +05:30
liyasthomas
00acf06700 chore(i18n): updated translations 2022-04-26 12:48:56 +05:30
Andrew Bastin
9486279b02 fix: first env edit not being applied (thanks @17307) 2022-04-23 00:16:39 +05:30
Andrew Bastin
021908c8d1 fix: regressions in environment details modal 2022-04-22 11:58:29 +05:30
liyasthomas
bf97d8811c fix: proper toast for actions on environments - resolved #2279 2022-04-22 11:40:47 +05:30
kyteinsky
2452b1be4b feat: loading states for modal buttons (#2268) 2022-04-20 23:48:25 +05:30
liyasthomas
7bf76a5812 fix: remove newline in smart inputs - resolved #2277 2022-04-19 23:54:04 +05:30
Andrew Bastin
d1b339df5d chore: hoppscotch-cli release 0.1.14 2022-04-18 22:49:34 +05:30
Deepanshu Dhruw
06937fe9e8 feat: added execution duration and updated collection-metrics (#2257) 2022-04-18 22:43:43 +05:30
Andrew Bastin
62a5beb52f chore: update 'post' method usages to be uppercased as per HTTP spec 2022-04-18 21:37:15 +05:30
Kane Sweet
100e562dcc fix: add aria labels to forms (#2270) 2022-04-18 10:01:04 +05:30
liyasthomas
09af858fbc chore(deps): bump 2022-04-17 22:41:00 +05:30
Nivedin
01acbc8db6 refactor : migrate components to script setup on ts (#2267)
* refactor: migrate buttons to script setup on ts

* refactor: migrate env components to script setup on ts

* fix: reference sharing when requests are opened from the sidebar

* ci: deploy to prod from actions

* chore: type updation

* chore: update

* refactor: update types

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-04-17 22:29:32 +05:30
liyasthomas
f1c42f28de ci: deploy to prod from actions 2022-04-15 14:58:07 +05:30
Andrew Bastin
c99b224829 fix: reference sharing when requests are opened from the sidebar 2022-04-15 00:20:35 +05:30
Andrew Bastin
ede27e0600 refactor: implement updated equality heuristics for hopprestrequest struct 2022-04-14 20:28:59 +05:30
Nivedin
99148a0a0e feat: unsaved change popup (#2239)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-04-14 20:28:58 +05:30
liyasthomas
9232aad184 refactor: improve ui consistency 2022-04-14 19:00:04 +05:30
liyasthomas
f7ca3f8bd1 feat: add essential keymaps to codemirror input box - resolved #2264 2022-04-14 18:37:25 +05:30
kyteinsky
ff51b7e5df feat: add New Request button for folder and collection (#2241)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-04-14 17:09:02 +05:30
liyasthomas
745b9f7275 chore(deps): bump 2022-04-11 15:16:07 +05:30
liyasthomas
d634828eca refactor: types and functional improvements
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-04-07 18:39:12 +05:30
liyasthomas
ebc536b835 docs: updated release instructions - [skip ci] 2022-04-06 08:59:11 +05:30
Ace Nassri
9b5fec7b32 feat: add toInclude() function (#2234)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-04-05 15:57:14 +05:30
liyasthomas
c415fdb70a refactor: improve ui consistency 2022-04-05 14:55:30 +05:30
kyteinsky
eea8a44746 refactor: inherit default curl parser values (#2169) 2022-04-04 21:38:12 +05:30
ntarunmenon
dcbc3b6356 fix: add environment variables for OAuth2 (#2216)
Co-authored-by: Arun Menon <arun.menon@autogeneral.com.au>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2022-04-04 11:37:18 +05:30
liyasthomas
4b46d2ce4a chore(deps): bump 2022-04-04 10:54:15 +05:30
Anwarul Islam
8cafef48fb feat: remember last selected team id (#2210)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-04-02 15:17:37 +05:30
Andrew Bastin
183d5f3545 chore: bump cli version to 0.1.12 2022-04-02 00:42:39 +05:30
devblin
9cd92fbce5 chore: bump hoppscotch-cli dependencies 2022-04-02 00:42:39 +05:30
Andrew Bastin
a8acc3eef8 chore: add typings for nuxt context 2022-04-01 21:57:55 +05:30
Andrew Bastin
f027d2dd23 fix: readonly codemirror fields don't trigger IMEs 2022-04-01 14:48:39 +05:30
liyasthomas
c891d1ff9d Merge branch 'main' of https://github.com/hoppscotch/hoppscotch 2022-04-01 12:23:33 +05:30
liyasthomas
31da559fef refactor: improve ui consistency 2022-04-01 12:22:47 +05:30
Andrew Bastin
c689b03799 fix: line wrap respects indentation 2022-04-01 12:21:51 +05:30
liyasthomas
30e6052afb feat: multi cursor support - resolved #2215 2022-04-01 11:43:18 +05:30
liyasthomas
c73c6f216a fix: force accent contrast color on environment variables - resolved #2217 2022-03-31 14:36:00 +05:30
liyasthomas
5a1e4bbcbc refactor: improve ui consistency 2022-03-30 15:21:12 +05:30
liyasthomas
f53f046766 fix: make search and support available in zen mode 2022-03-29 20:38:29 +05:30
liyasthomas
943c45060d fix: google search console mobile usability issues 2022-03-29 18:16:31 +05:30
Joel Jacob Stephen
89c7127b17 refactor: remove footer on narrow screens (#2202)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2022-03-29 12:25:54 +05:30
Anwarul Islam
414469e5e9 feat: override content-type (#2191)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-03-29 09:53:55 +05:30
Andrew Bastin
9f78a4c7e8 chore: add .gitattributes 2022-03-28 22:37:36 +05:30
Andrew Bastin
01f46e5158 fix: postman import does not force the protocol if not specified, fixes #2208 2022-03-28 17:03:27 +05:30
Andrew Bastin
f9bc30b89f chore: cli update package.json + bump version to 0.1.11 2022-03-28 17:00:04 +05:30
Andrew Bastin
66f92ad5ff chore: bump cli version to fix publish overrule errors 2022-03-28 17:00:04 +05:30
Nivedin
17f826489f feat: added developer options to copy user id token (#2204)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-03-28 14:14:16 +05:30
Deepanshu Dhruw
909d524de5 Feature: hopp-cli in TypeScript (#2074)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
Co-authored-by: Gita Alekhya Paul <gitaalekhyapaul@gmail.com>
2022-03-28 13:56:15 +05:30
Andrew Bastin
cdf61079ae fix: root collections not storing versioning fields 2022-03-27 17:14:26 +05:30
Josh Soref
b18c5e76c9 refactor: check spelling (#2200)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-03-25 16:49:28 +05:30
Andrew Bastin
8197458a4b refactor: reorganize body evaluation a bit 2022-03-25 13:57:14 +05:30
Andrew Bastin
bd1780cb6f refactor: pm import body calculation and type corrections 2022-03-25 13:57:14 +05:30
Andrew Bastin
d9e1569055 refactor: restructure raw parse checking and valid content-type check for postman content-types 2022-03-25 13:57:14 +05:30
Rishabh Agarwal
86803dc2be refactor: handle unknown raw language option 2022-03-25 13:57:14 +05:30
Rishabh Agarwal
01764dbb8b feat: body laguage options for importing from postman added 2022-03-25 13:57:14 +05:30
liyasthomas
9d3b727ce8 fix: tests 2022-03-25 13:57:14 +05:30
liyasthomas
bc4d8126f1 fix: tab deleting side effect 2022-03-25 13:57:14 +05:30
liyasthomas
7ea482b7ed fix: tab switching side effect 2022-03-25 13:57:14 +05:30
liyasthomas
a03f31a526 refactor: enable new tab component 2022-03-25 13:57:14 +05:30
Andrew Bastin
f3f4420d6d refactor: revamped tab system 2022-03-25 13:57:14 +05:30
Liyas Thomas
29d3f3cbe3 feat: reorder key-value entries (#2189) 2022-03-25 13:57:14 +05:30
liyasthomas
0edfe7b8e3 fix: redundant footer component 2022-03-24 15:30:16 +05:30
liyasthomas
de46c61c30 fix: selecting text with mouse closes modal - fixed #2195 2022-03-24 05:54:56 +05:30
Andrew Bastin
5d54cf51b8 fix: accent color always marked as the same color once loaded fixes #2196 2022-03-24 02:11:26 +05:30
CommanderRoot
755ee333d0 refactor: replace deprecated String.prototype.substr() (#2187) 2022-03-23 20:01:25 +05:30
Tyler Fahey
70a1b714e4 Fix typo in usage step (#2183) 2022-03-23 13:29:55 +05:30
liyasthomas
c8031c046d refactor: fix i118n translations 2022-03-22 10:06:05 +05:30
Kaname
fe64e13122 fix(locale): typo in the language es (#2186) 2022-03-22 10:06:05 +05:30
liyasthomas
4ec56c6300 feat: handle tab key press on editors - resolved #2185 2022-03-22 08:45:52 +05:30
liyasthomas
bd22541d94 refactor: improve ui consistency 2022-03-21 18:57:23 +05:30
liyasthomas
8f96a5f5db chore(deps): bump 2022-03-21 07:45:58 +05:30
Joel Jacob Stephen
d4540a56b9 refactor: improve the mobile layout. (#2153)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2022-03-21 07:45:10 +05:30
Andrew Bastin
376303dd5d fix: emit-volar-types generating invalid decls on win 2022-03-20 16:20:10 +05:30
Kaname
b436feaddb fix(i18n): improved Spanish language (#2171) 2022-03-17 11:41:22 +05:30
Douglas 'dopessoa' Pessoa
9f98d76c55 Improves pt-br translation (#2158) 2022-03-17 11:41:22 +05:30
Andrew Bastin
2a67e98588 fix: enforce type checking on commit time 2022-03-15 21:19:29 +05:30
Andrew Bastin
750487e8ad refactor: correct type error in useDownloadResponse 2022-03-15 21:16:22 +05:30
Andrew Bastin
4b5e70d4ef refactor: preserve big ints and decimals on JSONLensRenderer (#2167)
* chore: add lossless-json and type as dep

* refactor: update JSON lens renderer to format using lossless-json
2022-03-15 14:39:54 +05:30
Liyas Thomas
715d910877 Add an authorization tab for GraphQL (#2125)
Co-authored-by: Rishabh Agarwal <rishabh2001agarwal@gmail.com>
Co-authored-by: Rishabh Agarwal <45998880+RishabhAgarwal-2001@users.noreply.github.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-03-15 00:44:26 +05:30
kyteinsky
dcdd0379d4 chore: introduce curl parser tests and minor changes (#2145)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-03-14 23:39:32 +05:30
liyasthomas
ab23fc4e0f chore(deps): bump 2022-03-14 11:38:24 +05:30
Andrew Bastin
cb92a8d7a6 fix: add type extensions to postman-collection types 2022-03-14 02:04:04 +05:30
Andrew Bastin
fda9f2e842 fix: support patch in openapi, fixes 2138 2022-03-11 23:11:03 +05:30
Andrew Bastin
ace527e21b fix: resolve error when environment above selected env gets deleted 2022-03-09 13:02:28 +05:30
liyasthomas
dee62c2a25 refactor: improve ui consistency 2022-03-09 11:28:15 +05:30
liyasthomas
76aea260ae chore(deps): bump 2022-03-09 11:27:16 +05:30
liyasthomas
33607ad4ac feat: syntax highlighting on xml language 2022-03-09 11:26:10 +05:30
liyasthomas
845f67e86e chore(i18n): updated translations 2022-03-08 07:56:57 +05:30
kyteinsky
ce652b5b58 refactor: combine add and edit environment modals (#2131) 2022-03-07 16:31:55 +05:30
liyasthomas
8127114e07 chore(deps): bump 2022-03-06 20:31:03 +05:30
liyasthomas
802b37af50 docs: updated feature list 2022-03-05 18:53:49 +05:30
liyasthomas
08bbfa2972 fix: request loading indicator 2022-03-05 18:51:50 +05:30
liyasthomas
d2c4d210e9 chore(i18n): updated translations 2022-03-05 09:34:08 +05:30
liyasthomas
a8e7fd3434 feat: arbitrary profile picture 2022-03-04 05:56:52 +05:30
liyasthomas
b7988b54c5 feat: sign in with microsoft 2022-03-03 09:06:35 +05:30
liyasthomas
484fcd7365 fix: response section overflow 2022-03-02 21:31:32 +05:30
liyasthomas
632813ef0a refactor: split rest page into components 2022-03-02 17:15:55 +05:30
liyasthomas
4b6581934e refactor: use pane layout component in pages 2022-03-02 07:57:05 +05:30
liyasthomas
6e59ae6424 fix: proper error message - resolved #2143 2022-03-02 00:10:05 +05:30
liyasthomas
a0a26afd90 fix: codemirror instance disappearing often 2022-03-01 20:21:25 +05:30
liyasthomas
a1960c359b fix: broken alignment in small screens 2022-03-01 16:18:14 +05:30
liyasthomas
c30b614138 refactor: use composables 2022-03-01 15:55:25 +05:30
liyasthomas
78ec44f34b fix: fixed broken response pane alignment 2022-03-01 15:14:47 +05:30
liyasthomas
9bd55b6db5 chore(a11y): improve component roles 2022-03-01 12:11:53 +05:30
liyasthomas
b3d0d4d86b feat: pdf lens 2022-03-01 07:46:04 +05:30
Andrew Bastin
e9dc7769ac fix: raw lens renderer download option uses direct arraybuffer binary value instead of text 2022-03-01 02:03:30 +05:30
liyasthomas
f3f9a3a226 docs: updated screenshots 2022-02-28 17:08:11 +05:30
liyasthomas
0ceb622e6e chore(deps): bump 2022-02-27 20:19:28 +05:30
Andrew Bastin
247ace7838 fix: dev class editing CssSyntaxError on Windows 2022-02-26 22:29:21 +05:30
liyasthomas
5b816422d7 refactor: improve ui consistency 2022-02-26 17:39:57 +05:30
liyasthomas
137de5dcc7 refactor: better team selector drop down 2022-02-25 08:06:33 +05:30
kyteinsky
0c96993cc0 fix: parsing of protocol correctly (#2088)
Co-authored-by: Liyas Thomas <hi@liyasthomas.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
Co-authored-by: Rishabh Agarwal <45998880+RishabhAgarwal-2001@users.noreply.github.com>
2022-02-22 23:03:22 +05:30
liyasthomas
16e790e87e chore(deps): bump 2022-02-22 19:25:53 +05:30
liyasthomas
6fa1f5eced chore: updated docs 2022-02-22 18:59:11 +05:30
liyasthomas
c6c479f681 refactor: improve ui consistency 2022-02-22 15:47:23 +05:30
liyasthomas
86d4fa5883 Merge branch 'feat/test-env-updates' 2022-02-22 12:59:07 +05:30
liyasthomas
afc109965a feat: indicate global variable 2022-02-22 12:55:19 +05:30
liyasthomas
be1bb520a0 feat: add new variables to globals or create new environment 2022-02-22 12:29:17 +05:30
liyasthomas
61b723a3a5 chore(deps): bump 2022-02-21 07:02:13 +05:30
liyasthomas
9e5972d09e fix: keep image aspect ratio 2022-02-21 06:58:03 +05:30
Kid
988be55db6 Enable image lens for WebP (#2126) 2022-02-21 01:34:56 +05:30
liyasthomas
c357f17882 feat: alert when no environment selected 2022-02-19 20:23:50 +05:30
liyasthomas
578148f45f fix: additional envs 2022-02-19 18:29:43 +05:30
Andrew Bastin
b3f05c42e8 fix: crash on getUpdatedEnvVariables on certain cases 2022-02-19 15:07:38 +05:30
Andrew Bastin
e183c82759 fix: unwanted logging 2022-02-19 13:45:07 +05:30
Andrew Bastin
774c51ef95 fix: tern linter+completion entries for new env apis 2022-02-19 13:31:01 +05:30
Andrew Bastin
f4a126d31a fix: updated env entries having incorrect values 2022-02-19 13:14:50 +05:30
liyasthomas
d246cf53d4 feat: show environment updates in test results 2022-02-19 06:08:08 +05:30
Andrew Bastin
59c6e21636 feat: introduce APIs to update envs from tests and recursive resolution 2022-02-19 02:20:28 +05:30
Liyas Thomas
3cb47d3812 chore: update codeql analysis [skip ci] 2022-02-18 06:47:59 +05:30
liyasthomas
16d2b354fb chore(deps): bump 2022-02-17 21:03:11 +05:30
liyasthomas
2f69f723e7 fix: reactive key-value input placeholders 2022-02-17 21:00:13 +05:30
liyasthomas
3632fe15fa Merge branch 'refactor/rawkeyvalue' 2022-02-17 19:55:52 +05:30
liyasthomas
5c9070b03f refactor: improve type 2022-02-17 19:52:24 +05:30
Andrew Bastin
819b111383 fix: params, headers, url encoded syncing issues 2022-02-17 19:13:28 +05:30
Andrew Bastin
79914b32a1 fix: spacing and corrections for commented lines in raw key value 2022-02-16 13:34:38 +05:30
Andrew Bastin
4d5a90f14f feat: linting for raw key value lang editors 2022-02-16 01:37:15 +05:30
Andrew Bastin
c3759a400d refactor: move rawKeyValue and templating to hopp/data + rewrite rawKeyValue parsing 2022-02-15 23:53:24 +05:30
liyasthomas
cba3dcef9f fix: dont let import window close by accident - fixed #2120 2022-02-15 19:17:33 +05:30
liyasthomas
fc15891cb8 docs: updated screenshots 2022-02-15 14:16:34 +05:30
liyasthomas
5c54988bfa chore(i18n): updated translations 2022-02-15 10:10:03 +05:30
liyasthomas
cca819b125 chore(deps): bump 2022-02-15 00:08:55 +05:30
liyasthomas
c12f82f663 chore(deps): bump 2022-02-14 21:18:52 +05:30
liyasthomas
e9011a6b44 refactor: improve ui consistency 2022-02-14 05:52:44 +05:30
liyasthomas
8b9746540f fix: copy + paste 2022-02-12 19:50:05 +05:30
liyasthomas
b5b790e8a9 fix: environment value highlighting inside tooltip 2022-02-12 08:56:19 +05:30
Andrew Bastin
4296ee0251 fix: increase reliability of env hover tooltip 2022-02-12 02:16:21 +05:30
Andrew Bastin
cd5b765ed1 feat: implement live updates for env update modal highlights 2022-02-12 01:46:10 +05:30
Andrew Bastin
f34c89d87d fix: paste syncing issues with EnvInput 2022-02-11 22:35:21 +05:30
Andrew Bastin
4254d108bf fix: disable multiline on EnvInput 2022-02-11 19:32:46 +05:30
liyasthomas
1264511113 fix: width, auto grow and horizontal scroll on envinput 2022-02-11 11:18:43 +05:30
liyasthomas
698ebe1063 fix: foreground, background styles 2022-02-11 10:50:24 +05:30
liyasthomas
7b2dc68481 fix: placeholder styles 2022-02-11 10:24:08 +05:30
liyasthomas
5b24224ccd fix: envinput styles 2022-02-09 15:53:48 +05:30
liyasthomas
0895d65188 feat: fix codemirror width 2022-02-09 15:36:00 +05:30
liyasthomas
846ae087ae Merge branch 'feat/recursive-env' of https://github.com/hoppscotch/hoppscotch into feat/recursive-env 2022-02-09 15:30:25 +05:30
Andrew Bastin
10473b2374 feat: implement paste handling and value sync on new env input 2022-02-09 15:29:28 +05:30
Andrew Bastin
3e0aad5312 refactor: initial cm-backend envinput implementation 2022-02-09 15:29:25 +05:30
Andrew Bastin
8fa7eacfb0 refactor: cleanup env highlight tooltip calculation 2022-02-09 15:28:41 +05:30
Andrew Bastin
6cd11fcd3a fix: correct envExpanError calculation 2022-02-09 15:28:41 +05:30
liyasthomas
9feabf6422 feat: expand overflow error warning 2022-02-09 15:28:37 +05:30
liyasthomas
a5c77cc791 feat: visually indicate nested env expand overflow 2022-02-09 15:27:53 +05:30
liyasthomas
2346349eef feat: display nested env variable value in tooltip 2022-02-09 15:27:53 +05:30
liyasthomas
c8234f37d1 fix: display nested environment value in tooltip 2022-02-09 15:27:53 +05:30
Andrew Bastin
7fc757d794 feat: recursive environment variable resolution 2022-02-09 15:27:53 +05:30
liyasthomas
b97458f693 feat: smartEnv in environments 2022-02-09 15:27:53 +05:30
liyasthomas
1ec261550e fix: typo 2022-02-08 16:53:25 +05:30
Andrew Bastin
323d233495 fix: regression on join team deference due to GQLClient pause behavior 2022-02-08 13:41:48 +05:30
liyasthomas
c6ca4e19cd chore: clean up 2022-02-08 05:47:02 +05:30
Andrew Bastin
93ccf5dcf6 feat: implement export single collection 2022-02-07 23:42:52 +05:30
Andrew Bastin
85521b4c37 fix: allow single collections to imported by hopp importer 2022-02-07 23:39:18 +05:30
liyasthomas
daec39016b feat: loading state on export actions 2022-02-07 15:38:01 +05:30
liyasthomas
dd97fc9e57 chore(deps): bump 2022-02-07 13:42:35 +05:30
liyasthomas
6e7fab8d4f chore: clean up 2022-02-07 13:28:03 +05:30
Andrew Bastin
6d394b6e0e feat: implement paste handling and value sync on new env input 2022-02-07 04:08:19 +05:30
liyasthomas
216fa175eb fix: loading state 2022-02-05 05:03:29 +05:30
Andrew Bastin
b974bcc442 fix: issue with team members list not being up to date 2022-02-04 23:00:01 +05:30
liyasthomas
bd268e67ae refactor: loading state for delete user 2022-02-04 22:01:01 +05:30
liyasthomas
1696f1f798 fix: import missing libs 2022-02-04 17:46:51 +05:30
liyasthomas
6fb8bcfe25 feat: loading state on urql actions 2022-02-04 17:41:21 +05:30
Andrew Bastin
5aa6bf0d53 feat: add loading collections stream to team collection adapter 2022-02-04 16:55:29 +05:30
liyasthomas
cad75e92aa refactor: temp remove urql cache 2022-02-04 15:44:36 +05:30
Andrew Bastin
9918f42bf9 fix: pagination on get my teams fixes #2106 2022-02-04 15:44:36 +05:30
Andrew Bastin
ebfbf44140 fix: more than 10 folders/requests not loading fixes #2096 2022-02-04 15:44:36 +05:30
Andrew Bastin
2df1c1c6ed refactor: migrate completely to urql 2022-02-04 15:44:36 +05:30
Andrew Bastin
eae94e3dbf refactor: migration teams adapters to urql 2022-02-04 15:37:32 +05:30
liyasthomas
4836948920 feat: paste button on import cURL window 2022-02-03 12:43:28 +05:30
liyasthomas
f9fbe08f32 refactor: improve ui consistency 2022-02-03 08:11:41 +05:30
liyasthomas
72172b8351 refactor: improve ui consistency 2022-02-02 15:28:59 +05:30
Andrew Bastin
4da3410963 refactor: initial cm-backend envinput implementation 2022-02-01 15:13:29 +05:30
liyasthomas
c0aab9ad41 chore(i18n): updated translations 2022-02-01 14:41:52 +05:30
Rishabh Agarwal
9c21013a06 feat: handle test script execution failure (#2104)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-02-01 14:29:18 +05:30
liyasthomas
aaecba043b refactor: composables for breakpoints 2022-02-01 13:20:40 +05:30
liyasthomas
98b01b016d chore: lint 2022-01-31 19:44:40 +05:30
Andrew Bastin
fc11cea590 refactor: cleanup env highlight tooltip calculation 2022-01-31 17:18:06 +05:30
Andrew Bastin
92d8cc7fee fix: xss on tippy fixes #2103
Co-authored-by: Liyas Thomas <hi@liyasthomas.com>
2022-01-31 15:31:40 +05:30
liyasthomas
92f2b8eea0 feat: introduce vueuse composition utilities 2022-01-31 10:00:58 +05:30
liyasthomas
0b8fb2da2f chore(deps): bump 2022-01-31 07:27:58 +05:30
Andrew Bastin
0c4c8ac8bd fix: correct envExpanError calculation 2022-01-30 20:41:29 +05:30
liyasthomas
902aecf4f0 feat: expand overflow error warning 2022-01-30 17:55:35 +05:30
liyasthomas
65fc660881 feat: visually indicate nested env expand overflow 2022-01-29 18:42:19 +05:30
liyasthomas
0668be971b feat: display nested env variable value in tooltip 2022-01-29 18:04:08 +05:30
liyasthomas
a9c35c179d fix: display nested environment value in tooltip 2022-01-28 22:40:15 +05:30
Andrew Bastin
9e0eeb5b56 fix: urlencoded fields are parsed for env variables. fixes #2094 2022-01-28 17:35:55 +05:30
Andrew Bastin
4003d47cbb feat: recursive environment variable resolution 2022-01-28 16:54:45 +05:30
liyasthomas
79bb397136 feat: smartEnv in environments 2022-01-27 21:11:09 +05:30
liyasthomas
248b6d6b64 refactor: change default interceptor from extension to browser 2022-01-27 02:55:20 +05:30
liyasthomas
65df244ffc refactor: change progress restore prompt from modal to toast 2022-01-26 17:00:54 +05:30
liyasthomas
ee6d173033 fix: respect environment variable in url before adding protocol - resolved #2084 2022-01-24 22:51:41 +05:30
Rishabh Agarwal
78693964d8 feat: Ensure Method In Endpoint (#2083) 2022-01-24 16:22:24 +05:30
liyasthomas
aae2dac588 build: lock codemirror 2022-01-24 13:00:38 +05:30
liyasthomas
10a54d14c2 Merge branch 'fix/urlencoded' 2022-01-24 10:09:31 +05:30
liyasthomas
9475a162f7 chore: clean up 2022-01-24 10:00:07 +05:30
liyasthomas
758460210a build: bump deps 2022-01-24 05:44:10 +05:30
liyasthomas
1350919c78 docs: updated copyright year 2022-01-24 05:41:24 +05:30
Andrew Bastin
ffe659673d refactor: body type transition to ruleset based system 2022-01-23 23:32:05 +05:30
liyasthomas
f24f97b6ef feat: working parameters 2022-01-23 16:26:29 +05:30
Andrew Bastin
7861c0006f fix: urlencoded not switching to formdata 2022-01-23 14:13:02 +05:30
liyasthomas
b57b948107 fix: urlencoded formdata key value params ui
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-01-23 04:45:05 +05:30
kyteinsky
6205b5f163 fix: multipart form data sorting (#2067)
* fix: multipart form data sorting

  place all the file types in multipart form data
  body in the last to avoid errors due to map key
  being placed after file type data

* refactor: fp-ify formdata file sort implementation

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2022-01-23 02:30:39 +05:30
Andrew Bastin
3bb65f2115 fix: json linting not working on raw body + small ts corrections 2022-01-22 22:16:27 +05:30
liyasthomas
1ba89a0f0b fix: url encoded binding 2022-01-21 23:21:23 +05:30
Andrew Bastin
73cccf73df refactor: urlencoded key value pair system 2022-01-21 19:32:05 +05:30
Andrew Bastin
09269b3cec fix: urlencoded form evaluation issues 2022-01-21 18:23:15 +05:30
Andrew Bastin
0efbc58b26 fix: urlencoded body params being improper 2022-01-21 17:43:28 +05:30
liyasthomas
238e41ccda refactor: updated firebase rules 2022-01-21 13:13:40 +05:30
Andrew Bastin
5043606701 refactor: move collection data structures and utility functions to hopp/data 2022-01-21 00:21:17 +05:30
Balázs Úr
6b0494ddba chore(i18n): updated Hungarian translation (#2073) 2022-01-20 06:10:37 +05:30
liyasthomas
ed73f4179a chore(i18n): updated translations 2022-01-19 19:39:14 +05:30
Rishabh Agarwal
647c347eb1 Refactoring Lenses Using Vue Composables (#1995) 2022-01-17 21:00:48 +05:30
liyasthomas
ddff126aaa chore(deps): bump 2022-01-17 19:20:30 +05:30
liyasthomas
91d0b52222 chore(i18n): updated translations 2022-01-17 17:02:15 +05:30
liyasthomas
38fddccc5b Merge branch 'refactor/import-export' 2022-01-17 14:42:56 +05:30
Andrew Bastin
1719bb7bc9 fix: tiny issues with importers 2022-01-14 21:12:29 +05:30
liyasthomas
588d1119b5 Merge branch 'refactor/import-export' of https://github.com/hoppscotch/hoppscotch into refactor/import-export 2022-01-14 20:41:18 +05:30
liyasthomas
e323b4355e feat: ui for new importer 2022-01-14 20:40:54 +05:30
Andrew Bastin
f4d98b9f43 fix: env var parsing in importers and param import issues in postman 2022-01-14 15:03:41 +05:30
liyasthomas
67934fd19a chore: cleanup 2022-01-14 08:27:39 +05:30
liyasthomas
396804a4d6 chore(i18n): updated translations 2022-01-14 06:33:36 +05:30
Andrew Bastin
bcadb142fd feat: revamped insomnia importer 2022-01-14 04:40:27 +05:30
Andrew Bastin
aeb848399a refactor: revamped postman collection importer 2022-01-13 02:32:22 +05:30
liyasthomas
ffb063ad94 feat: target my collections importer ui 2022-01-12 07:41:36 +05:30
liyasthomas
6537a51854 fix: gist hoppscotch importer 2022-01-11 19:32:45 +05:30
liyasthomas
04d73a855d chore: split url and file importer steps 2022-01-11 16:04:42 +05:30
liyasthomas
f6fc3782b5 feat: ui for new importer 2022-01-10 22:02:35 +05:30
Andrew Bastin
05ca0c0966 refactor: port postman and insomnia importers 2022-01-10 21:16:36 +05:30
Andrew Bastin
9e6a3883ac feat: add support to openapi importer for yaml 2022-01-10 20:13:05 +05:30
liyasthomas
7f7338faeb chore(deps): bump 2022-01-10 10:29:31 +05:30
liyasthomas
b40b8070c1 chore: update steps ui 2022-01-09 11:13:42 +05:30
Andrew Bastin
24fabc8b7b feat: correct typing and rename newopenapi importer to openapi 2022-01-07 23:46:20 +05:30
Andrew Bastin
a9bd52d154 feat: introduce oauth parsing to openapi 2022-01-07 23:40:06 +05:30
Andrew Bastin
4cec5a7bb4 feat: initial new openapi importer implementation 2022-01-06 22:47:25 +05:30
baiy
720d54f91d fix: chinese pinyin input - fix #2039 (#2057) 2022-01-06 20:48:36 +05:30
Andrew Bastin
e9e791ce90 feat: add typing for importer errors 2022-01-06 19:35:33 +05:30
liyasthomas
d6ec3158bc feat: import hoppscotch collections from file 2022-01-06 19:35:33 +05:30
liyasthomas
fac82200d1 refactor: minor ui improvements to import steps 2022-01-06 19:35:33 +05:30
liyasthomas
d5866fbb3b fix: split importers list 2022-01-06 19:35:33 +05:30
liyasthomas
660479f8a6 chore: init steps ui 2022-01-06 19:35:33 +05:30
Andrew Bastin
7dace3f9b4 fix: typo in defineImporter 2022-01-06 19:35:33 +05:30
Andrew Bastin
8ac38d7517 feat: steps system metadata 2022-01-06 19:35:33 +05:30
Andrew Bastin
5175a86145 feat: steps system infra 2022-01-06 19:35:33 +05:30
liyasthomas
a9292eed9e fix: collection parser for hopp importer 2022-01-06 19:35:33 +05:30
Andrew Bastin
681a957611 refactor: import/export new architecture 2022-01-06 19:35:33 +05:30
liyasthomas
b6e05d42f3 feat: init new import and export ui 2022-01-06 19:35:33 +05:30
Andrew Bastin
ac979239e8 refactor: add safety coersion for loading rest requests from external source 2022-01-05 20:06:33 +05:30
Andrew Bastin
137d562c86 feat: add function to safely generate rest request that maintains type contracts 2022-01-05 16:13:13 +05:30
liyasthomas
ffd1acdfae chore: lint 2022-01-05 10:17:23 +05:30
liyasthomas
dd7aebaf94 docs: update readme 2022-01-05 09:37:13 +05:30
Andrew Bastin
86ef1a4e14 fix: apply sandbox to HTML preview iframe 2022-01-05 09:18:16 +05:30
liyasthomas
914d20ad37 feat: duplicate team requests 2022-01-04 21:42:55 +05:30
liyasthomas
f17cdff3e1 fix: history search 2022-01-04 05:57:31 +05:30
liyasthomas
75ab7fdb00 chore(deps): bump 2022-01-03 11:34:42 +05:30
Andrew Bastin
6e86e27437 fix: aggregate envs in har generation 2022-01-03 11:28:49 +05:30
Andrew Bastin
67baf74edc fix: add body env resolution for har generation 2022-01-03 11:17:02 +05:30
Andrew Bastin
c3aedac77e fix: issues with har generation 2022-01-03 10:49:34 +05:30
liyasthomas
41e39e2141 chore(deps): bump 2022-01-03 06:44:14 +05:30
liyasthomas
2b4155e969 refactor: improve ui consistency 2022-01-02 07:00:17 +05:30
liyasthomas
bb5acf97c6 feat: keyboard shortcuts for themes 2022-01-01 19:32:34 +05:30
liyasthomas
78ad61f153 fix: better error state 2022-01-01 16:15:21 +05:30
Andrew Bastin
2ec401c766 refactor: lazy compute codegen code and error handling 2022-01-01 16:09:47 +05:30
Andrew Bastin
314c0968b1 fix: envinput crash on debounce handle editor undefined 2022-01-01 15:44:28 +05:30
liyasthomas
4770b86948 fix: stop storing form data files in local session 2022-01-01 12:37:39 +05:30
liyasthomas
312bc98c53 feat: better file input chooser 2022-01-01 01:03:13 +05:30
liyasthomas
e56dcf5d7a refactor: better logic for graphql headers key-value <=> bulk editor 2021-12-31 23:47:48 +05:30
liyasthomas
4ecd69cc5a fix: race condition mutating defaultRESTRequest 2021-12-31 23:25:46 +05:30
Andrew Bastin
b78b2d0e78 fix: bulk headers not resetting on clear content 2021-12-31 21:36:10 +05:30
Andrew Bastin
5f0d1ae52f refactor: params should respect the data model 2021-12-31 21:35:09 +05:30
Andrew Bastin
da5e7fdde5 fix: codemirror cache value didnt update when the view is not mounted 2021-12-31 21:32:00 +05:30
Andrew Bastin
9454a983da fix: snapping when user typing in bulk editor with empty lines in between 2021-12-31 20:42:16 +05:30
Andrew Bastin
ca131697b6 refactor: headers system to respect data model 2021-12-31 20:42:16 +05:30
Andrew Bastin
50e30ee4ea fix: remove old codegen code 2021-12-31 20:37:07 +05:30
Andrew Bastin
aa4fedb71c fix: correct indentation on codegen 2021-12-31 20:37:07 +05:30
Andrew Bastin
f8bbf6613f feat: add build step to allow for nullish coalescing and optional chaining 2021-12-31 20:37:07 +05:30
liyasthomas
07171396ad feat: show error prompt on fail code generation 2021-12-31 20:36:12 +05:30
Andrew Bastin
c493a53ece refactor: update codegen modal to use the new code generator 2021-12-31 20:36:12 +05:30
Andrew Bastin
22676957c3 feat: httpsnippet based codegen implementation 2021-12-31 20:36:12 +05:30
Andrew Bastin
1be2c12062 feat: implement HAR conversion 2021-12-31 20:36:12 +05:30
liyasthomas
1baf73a710 chore(deps): bump 2021-12-31 20:11:05 +05:30
liyasthomas
b343789554 refactor: sort classes 2021-12-31 20:05:39 +05:30
liyasthomas
80956fbd27 refactor: minor ui improvements 2021-12-31 18:39:31 +05:30
liyasthomas
4791590869 fix: minor ui improvements 2021-12-31 13:42:17 +05:30
liyasthomas
a0f7201fae feat: group history by date and time 2021-12-31 12:39:23 +05:30
liyasthomas
2de73ae7b4 Merge branch 'i18n' 2021-12-30 16:27:51 +05:30
Rakshit Arora
93fa3bcd51 feat: socketio bearer authentication (#1999)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-12-30 16:25:32 +05:30
Aram Virabyan
065fc95c19 i18n: Update RU translations (#2050)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-12-30 16:20:19 +05:30
liyasthomas
3baebb4ec8 Merge branch 'main' into i18n 2021-12-30 16:14:54 +05:30
liyasthomas
dbb0582613 fix: full height HTML preview pane 2021-12-29 12:21:38 +05:30
liyasthomas
a1decaf6ad feat: syntax highlighting for cURL and bulk editors 2021-12-29 08:05:07 +05:30
Anwarul Islam
923c24e3bb Bug/body missing onimport (#2048)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2021-12-29 06:46:40 +05:30
liyasthomas
724e1e4c8f fix: trim leading and trailing whitespaces in URL - fixed #2046 2021-12-28 09:36:16 +05:30
Liyas Thomas
ce94fa54ee fix: resolved #2044 (#2045) 2021-12-28 08:55:24 +05:30
Andrew Bastin
6fdeffe9d6 feat: reintroduce html highlighting to the editor 2021-12-27 13:17:25 +05:30
liyasthomas
253170f7ac chore(deps): bump 2021-12-26 20:22:12 +05:30
liyasthomas
579c5e5b78 feat: add install extension buttons on interceptor menu 2021-12-25 20:51:17 +05:30
Satoshi Jek
1dca0fd9ad i18n: Update zh-CN translations (#2042) 2021-12-24 17:06:40 +05:30
liyasthomas
10cb433e80 chore(ui): improve ui consistency 2021-12-24 08:12:35 +05:30
liyasthomas
e89d033bfe feat: add status page link to footer 2021-12-23 19:55:39 +05:30
Anwarul Islam
1eb9eb911e feat: import cURL on paste (#2037)
* feat: import cURL on paste

* feat: import cURL on paste

* feat: pasting cURL command on url field does not paste it in

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-12-23 01:27:06 +05:30
liyasthomas
10586e5288 feat: interceptor selector in bottom bar 2021-12-22 12:45:11 +05:30
liyasthomas
889b59e1e4 feat: add reason phrase to http status code 2021-12-21 21:42:31 +05:30
liyasthomas
3e8ff8ebc9 chore(cleanup): remove console logs 2021-12-21 13:03:04 +05:30
liyasthomas
a517b571d6 refactor: improve import export scripting in environment and graphql 2021-12-21 12:57:23 +05:30
Andrew Bastin
43dace6248 fix: interceptor toggle issues 2021-12-21 11:30:39 +05:30
Andrew Bastin
ba3df75a23 refactor: collections import export 2021-12-21 11:03:26 +05:30
liyasthomas
ba3d3430c0 chore(ui): improve ui consistency 2021-12-21 07:45:14 +05:30
liyasthomas
9c209bb009 Merge branch 'main' of https://github.com/hoppscotch/hoppscotch 2021-12-21 06:41:16 +05:30
liyasthomas
2c2bc141e8 fix: move search from header to footer - fixed #2033 2021-12-21 06:40:39 +05:30
Anwarul Islam
daa617f277 feat: Import Insomnia collection to Hoppscotch (#2031)
* feat: Import Insomnia collection to Hoppscotch

* feat: Import Insomnia collection to Hoppscotch
2021-12-20 21:38:55 +05:30
liyasthomas
4de953fe57 fix: input interfering menu shortcuts 2021-12-20 17:58:05 +05:30
liyasthomas
f94ee7c73f refactor: remove shortcut hints in mobile devices 2021-12-20 14:40:38 +05:30
liyasthomas
fac1288ef2 chore(deps): bump 2021-12-20 00:23:42 +05:30
liyasthomas
827f2157fa feat: quick shortcut key for menu items 2021-12-20 00:22:31 +05:30
liyasthomas
39d6b1bfeb chore: minor ui improvements 2021-12-18 19:51:57 +05:30
liyasthomas
76cbd99df8 feat: init backend for drag and drop requests on team collections - fixed #2005 2021-12-18 18:38:27 +05:30
liyasthomas
11fe908017 feat: init drag and drop requests on team collections 2021-12-18 17:10:20 +05:30
liyasthomas
d305168dc3 chore: updated types 2021-12-17 23:05:36 +05:30
Edwin Fajardo
f174086281 feat: (authentication) Api key based authentication [#2000] (#2021)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-12-17 21:32:29 +05:30
Andrew Bastin
156011f2cd feat: stop extension status polling when a status is resolved 2021-12-17 15:14:50 +05:30
Andrew Bastin
655e6dc2a4 refactor: move user agent checks to separate file 2021-12-17 15:10:06 +05:30
Andrew Bastin
2f50cff404 fix: extension status being inaccurate when settings page is reloaded 2021-12-17 14:52:30 +05:30
Andrew Bastin
a38c05febb feat: add utility composable for polling values 2021-12-17 14:51:18 +05:30
Andrew Bastin
65ee2ebcb2 refactor: update color-mode usage to new composable 2021-12-17 14:51:18 +05:30
Andrew Bastin
6e53adb5e7 refactor: rewrite settings page using setup scripts 2021-12-17 14:48:36 +05:30
Andrew Bastin
c7fd68b0d8 fix: better type checking for nuxt-color mode uses 2021-12-17 14:48:36 +05:30
Andrew Bastin
af35d68dfe fix: better volar type inference for template bindings on refs 2021-12-17 14:47:49 +05:30
Andrew Bastin
1a1baa715d feat: disable sentry if telemetry is off 2021-12-16 18:02:01 +05:30
liyasthomas
29b5913fac chore(deps): bump 2021-12-16 16:26:01 +05:30
liyasthomas
49c0069c68 feat: init sentry 2021-12-16 15:54:32 +05:30
liyasthomas
34fe94215c refactor: updated types 2021-12-16 15:15:54 +05:30
liyasthomas
8ca059cf4a fix: broken render due to regression in store 2021-12-16 01:41:36 +05:30
liyasthomas
daffc3fe0e refactor: minor ui improvements 2021-12-15 23:06:35 +05:30
Andrew Bastin
78ed95bcaa fix: lint error on json on empty string 2021-12-15 22:50:35 +05:30
Andrew Bastin
e4f40bce53 fix: empty string linter overflow issues 2021-12-15 22:37:03 +05:30
Andrew Bastin
0022efe844 fix: one of line setup error with json linting 2021-12-15 22:11:46 +05:30
liyasthomas
a2757a0335 refactor: minor ui improvements 2021-12-14 22:41:07 +05:30
liyasthomas
70555cd4a6 fix: add missing imports 2021-12-14 07:28:42 +05:30
Andrew Bastin
141697f9da fix: revamp broken network tests 2021-12-13 17:05:10 +05:30
Andrew Bastin
188c9ae5ca fix: remove debug statements 2021-12-13 16:58:09 +05:30
Andrew Bastin
71b4b6e366 refactor: network strategy rewrite 2021-12-13 16:58:09 +05:30
liyasthomas
870b493b80 refactor: remove absolute classes 2021-12-13 12:26:24 +05:30
liyasthomas
e31dc6e08d chore: updated keyboard shortcuts 2021-12-13 08:53:12 +05:30
liyasthomas
5a9d08a3f1 chore(deps): bump 2021-12-12 21:15:34 +05:30
liyasthomas
d997f88fbe Merge branch 'feat/cm-env-tooltip' 2021-12-12 21:11:58 +05:30
liyasthomas
4e0bb1a243 refactor: environment highlighing in editors - improve #1834 2021-12-12 21:10:05 +05:30
Andrew Bastin
fe5fe03b3c fix: reactivity issues 2021-12-12 20:36:49 +05:30
liyasthomas
534fe8030f fix: subscription streams 2021-12-12 06:19:58 +05:30
liyasthomas
67002a204e feat: highlight environment variables in codemirror 2021-12-11 22:19:44 +05:30
liyasthomas
75e34feabf feat: context menu for secondary actions in collection, environment and team components - #2005 2021-12-11 08:03:39 +05:30
liyasthomas
8a7f3927b1 refactor: init environment highlighter 2021-12-11 07:26:18 +05:30
liyasthomas
fe13de2ea0 feat: show existing name while renaming collections/folders/requests - resolved #2006 2021-12-10 10:55:49 +05:30
liyasthomas
50a57433d0 feat: init environment variables tooltip for codemirror 2021-12-10 09:27:25 +05:30
liyasthomas
dec26ce2aa feat: update and verify email address 2021-12-08 20:50:59 +05:30
liyasthomas
b0f02fee57 feat: change and verify user's email address 2021-12-07 06:52:43 +05:30
Andrew Bastin
02be413eff fix: fail state requests with response data can run tests fixes #1996 2021-12-06 20:06:19 +05:30
liyasthomas
42849e6853 chore(deps): bump 2021-12-05 21:18:55 +05:30
liyasthomas
e7535d505e fix: catch an edge case while saving request 2021-12-05 18:21:41 +05:30
liyasthomas
fb6015ce26 refactor: improve ui consistency 2021-12-05 10:04:01 +05:30
liyasthomas
f3a38bab3c chore(deps): bump 2021-12-05 06:15:21 +05:30
liyasthomas
1a1f45401c fix: package import location 2021-12-04 20:57:10 +05:30
Andrew Bastin
4a43807f34 fix: formdata inconsistencies 2021-12-04 19:50:04 +05:30
liyasthomas
88cc21e3d4 chore(deps): bump 2021-12-04 19:08:12 +05:30
liyasthomas
ecce830787 Merge remote-tracking branch 'origin/i18n' 2021-12-04 19:03:09 +05:30
liyasthomas
084039f59f refactor: minor ui improvements 2021-12-04 18:59:26 +05:30
liyasthomas
0de9f3d8c3 fix: broken function import 2021-12-03 20:34:20 +05:30
Andrew Bastin
4d6d30c92b fix: shared references on saveRequest causing overwrite fixes #1992 2021-12-03 16:27:18 +05:30
Andrew Bastin
38755bf3e3 refactor: separate out data structures into hoppscotch-data 2021-12-03 16:10:56 +05:30
Lokesh Sanapalli
2884854aab fix: docker node-gyp python not found (#1987)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-12-03 13:14:34 +05:30
Andrius Petrauskis
d24d07e420 fix: show an error when pre-request script fails (#1991)
* fix: show an error when pre-request script fails

* refactor: minor ui improvements

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-12-02 23:14:26 +05:30
0xc0Der
cc81242294 realtime persistence. (#1952)
* feat: websocket persistence

* feat: socketio persistence

* feat: sse persistence

* feat: mqtt persistence

* fix: added types

* fix: typescript issues

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-12-02 20:20:24 +05:30
liyasthomas
a508909471 refactor: sort windi class names 2021-12-01 22:59:01 +05:30
SiderealArt
475a28b159 chore(i18n): update tw translations (#1986) 2021-11-30 10:50:57 +05:30
Deepanshu Dhruw
520ac8ede5 fix: code generators (#1985)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2021-11-30 07:46:45 +05:30
liyasthomas
2a59557851 chore(deps): bump 2021-11-29 06:19:32 +05:30
liyasthomas
4089bc288c chore: updated i18n translations 2021-11-29 06:14:52 +05:30
liyasthomas
1999819846 chore(deps): bump 2021-11-28 19:48:53 +05:30
liyasthomas
0bf856291c refactor: lint + minor ui fixes 2021-11-27 19:59:28 +05:30
liyasthomas
da8c446ad7 chore(deps): bump 2021-11-27 19:58:08 +05:30
liyasthomas
3614877964 fix: broken scroll to definition in graphql documentation 2021-11-26 07:22:06 +05:30
liyasthomas
85c8171aa8 refactor: use smart confirm modal instead of native confirm modal 2021-11-25 11:37:23 +05:30
liyasthomas
b58278d55e chore: hide scrollbar 2021-11-24 19:27:25 +05:30
liyasthomas
b398ed1e90 fix: improve readability on input placeholders - fixed #1974 2021-11-23 20:22:38 +05:30
liyasthomas
afa750e409 fix: validate empty endpoints before sending request - resolved #1968 2021-11-23 20:01:45 +05:30
liyasthomas
fdf12a24ed refactor: sort windi class names 2021-11-23 08:47:09 +05:30
liyasthomas
4c5ca1b31d Merge branch 'main' of https://github.com/hoppscotch/hoppscotch 2021-11-23 05:31:22 +05:30
liyasthomas
bcb9b97b6b Merge branch 'i18n' 2021-11-23 05:31:01 +05:30
Andrew Bastin
757294ae38 feat: bump dependencies 2021-11-22 19:34:23 +05:30
liyasthomas
8d4dd8c428 chore: better error message in invalid link 2021-11-22 16:31:10 +05:30
liyasthomas
508809eba1 chore: cleanup - remove writing request object to url 2021-11-22 15:02:29 +05:30
liyasthomas
d0386ef86f chore: cleanup 2021-11-22 14:52:14 +05:30
liyasthomas
56cdb79773 Merge branch 'main' into feat/short-code 2021-11-22 11:35:16 +05:30
liyasthomas
6ed4211004 feat: short code redirection 2021-11-22 11:26:43 +05:30
liyasthomas
222f0800d2 chore: better short code fetching 2021-11-22 08:26:22 +05:30
liyasthomas
12a9dd1058 feat: fetch, display and copy short code 2021-11-21 23:50:31 +05:30
Andrew Bastin
4a32fc6180 feat: mutations and queries for shortcode management 2021-11-21 20:02:09 +05:30
liyasthomas
1e08e7f73d chore(deps): bump 2021-11-21 19:47:06 +05:30
liyasthomas
8b05b063ff fix: minor ui improvements 2021-11-21 19:40:15 +05:30
SiderealArt
0bcfeb86ae chore(i18n): update tw translations (#1965) 2021-11-21 08:22:15 +05:30
liyasthomas
03a056b6c1 perf: updated issue templates 2021-11-20 22:43:19 +05:30
liyasthomas
d57e465806 fix: minor ui improvements 2021-11-20 08:28:38 +05:30
liyasthomas
5ab24d1439 docs: updated links + editor theme 2021-11-20 07:27:50 +05:30
liyasthomas
47661de974 refactor: composables for i18n and toast 2021-11-19 22:49:11 +05:30
liyasthomas
26429466e9 refactor: remove icons from toast 2021-11-19 21:13:58 +05:30
Andrew Bastin
cad8f3e856 refactor: add i18n composable 2021-11-19 21:06:04 +05:30
liyasthomas
1a4eb1fabe chore: handle short code states 2021-11-19 12:47:47 +05:30
Liyas Thomas
680f61b7dc docs: create security policy - skip ci 2021-11-19 11:07:26 +05:30
liyasthomas
f602a1e2d3 feat: loading indicator to fetch short code 2021-11-19 09:15:31 +05:30
liyasthomas
1572ff9e67 fix: regression in bulk mode to key-value pair translation 2021-11-19 08:52:58 +05:30
liyasthomas
fe7b236ad9 fix: enable native select on editor - fixed #1960 2021-11-18 18:26:48 +05:30
liyasthomas
3080af1ea5 refactor: migrate more components to setup script + fix a race condition with power search 2021-11-18 07:00:51 +05:30
liyasthomas
0f83c8b490 refactor: hightlight active only when editor is focused 2021-11-17 21:01:43 +05:30
liyasthomas
114c37645a refactor: convert to script setup 2021-11-17 19:59:32 +05:30
liyasthomas
8f9bb621b8 fix: parse mqtt pathname - fixed #1959 2021-11-17 17:43:04 +05:30
liyasthomas
48a6c87d9d refactor: convert to script setup 2021-11-17 17:25:18 +05:30
BrainCrumbz
f28b55dd4d chore(i18n): update it translations (#1958)
* i18n(it): review action group

* i18n(it): review 'add' and 'app' groups

* i18n(it): review auth, authorization and collection groups

* i18n(it): review confirm, count, documentation and empty groups

* i18n(it): review environment, error, export, folder, graphql and header groups

* i18n(it): review helpers, hide, import, layout, modal and mqtt groups

* i18n(it): review navigation, preRequest, profile and remove groups

* i18n(it): review request and response groups

* i18n(it): review settings group

* i18n(it): review shortcut and show group

* i18n(it): review socketio, sse, state and support group

* i18n(it): review tab and team groups

* i18n(it): review test and websocket groups
2021-11-17 15:55:39 +05:30
Sobolev Sergey
8a8b4b0245 chore(i18n): update ru translations (#1957) 2021-11-17 13:37:48 +05:30
liyasthomas
7d590ab966 feat: init short code ui 2021-11-17 02:36:40 +05:30
liyasthomas
0afbc57012 chore: remove absolute packages 2021-11-16 22:09:40 +05:30
Wilson G
c651f2440f feat: add undo when parameters and headers are deleted, resolves #1951 (#1955)
Co-authored-by: liyasthomas <liyascthomas@gmail.com>
2021-11-16 16:34:11 +05:30
Andrew Bastin
8c05084994 fix: issue with the request body from duplication being linked in memory fixes #1954 2021-11-16 15:37:19 +05:30
liyasthomas
6813be47f0 fix: append protocol if empty - resolved #1927 2021-11-16 09:25:25 +05:30
liyasthomas
30327e8d27 feat: scroll logs to the bottom on update 2021-11-16 08:09:44 +05:30
liyasthomas
8096ed300d feat: add authentication to MQTT - resolved #1772 2021-11-16 07:52:26 +05:30
liyasthomas
4a8efbf426 feat: better empty state illustratils in profile and error pages 2021-11-15 20:59:07 +05:30
liyasthomas
7a6d117a76 feat: checkbox component 2021-11-15 20:25:40 +05:30
Andrew Bastin
73568043f1 feat: remove broken test system in codemirror-lang-graphql 2021-11-15 17:03:04 +05:30
liyasthomas
76a3b35e9e Merge branch 'feat/codemirror-6' 2021-11-15 16:45:20 +05:30
liyasthomas
feb1991da3 fix: error on updating readonly editor 2021-11-15 16:43:10 +05:30
liyasthomas
2bee4342b8 chore: cleanup 2021-11-15 16:25:56 +05:30
Andrew Bastin
7e9fc486f2 feat: placeholder implementation 2021-11-15 16:22:54 +05:30
liyasthomas
1d99b79926 feat: style autocomplete tooltips in codemirror 2021-11-15 07:49:07 +05:30
liyasthomas
eb8347f942 chore(deps): bump 2021-11-14 20:16:40 +05:30
liyasthomas
d383b48916 chore: minor fixes and improvements 2021-11-14 20:15:24 +05:30
Andrew Bastin
e88c40db0a feat: graphql language improvements 2021-11-13 20:14:58 +05:30
liyasthomas
f228f37bb8 feat: configure interceptor when request fail 2021-11-13 08:37:43 +05:30
Andrew Bastin
503a54fc5e fix: fix graphql history sync issue 2021-11-12 22:01:42 +05:30
liyasthomas
48b21aa0bf chore(i18n): updated translations 2021-11-12 18:53:56 +05:30
Andrew Bastin
ca40cc5271 feat: fix reactivity issues in graphql 2021-11-12 17:54:34 +05:30
liyasthomas
1c641c6d11 Merge branch 'i18n' 2021-11-12 17:54:02 +05:30
liyasthomas
32b362f9cc chore(ui): minor ui improvements 2021-11-12 17:52:27 +05:30
liyasthomas
103ef8ee0d fix: remove basic-setup and drawSelection on codemirror instance to resolve ::selection property 2021-11-12 07:05:34 +05:30
Tony
4a6239e017 chore(i18n): update tw translations (#1944) 2021-11-12 05:24:26 +05:30
liyasthomas
1f637edd36 feat: better prompts on actions for team members without admin role 2021-11-11 21:43:45 +05:30
Andrew Bastin
25878b9bb1 fix: fix history not writing when formdata is present 2021-11-11 18:36:26 +05:30
liyasthomas
521a96bffb fix: respect url parameters before settings bulk editor value 2021-11-11 15:02:31 +05:30
liyasthomas
ead1f3954f chore: use i18n 'duplicate' instead of 'copy' 2021-11-10 19:53:44 +05:30
0xc0Der
0ac84b58e3 allow environment variables in request body. (#1942)
* feat: allow environment variables in request body

* chore(ui): minor ui improvements

* chore(deps): bump

* fix: track env vars changes

* feat: allow environment variables in request body

* refactor: better implementation

Co-authored-by: liyasthomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-11-10 19:52:11 +05:30
0xc0Der
a2f1e37ad2 refactor: added space 2021-11-10 19:09:40 +05:30
Andrew Bastin
373343fea1 refactor: adding space between the copy hyphen 2021-11-10 19:09:40 +05:30
0xc0Der
2ef99026e5 fix: added '-Copy' to duplicated request name 2021-11-10 19:09:40 +05:30
0xc0Der
29aff9accc feat: duplicate request 2021-11-10 19:09:40 +05:30
Andrew Bastin
7d7f628f6e fix: compiling issues for codemirror-lang-graphql 2021-11-10 17:09:44 +05:30
liyasthomas
8f6cf07e82 feat: more syntax hightlight colors 2021-11-10 16:27:12 +05:30
Andrew Bastin
245b8a6e3c fix: compiling issues for codemirror-lang-graphql 2021-11-10 14:31:00 +05:30
liyasthomas
a967100be8 feat: more syntax hightlight colors 2021-11-10 13:53:10 +05:30
Andrew Bastin
a9bca8e1f8 feat: initial graphql language definition 2021-11-10 01:16:08 +05:30
liyasthomas
7de8e6be5e refactor: updated editot theme colors 2021-11-09 22:26:53 +05:30
liyasthomas
6b70a39f02 feat: css variable on themes 2021-11-09 22:05:39 +05:30
liyasthomas
d538d722d7 fix: light theme 2021-11-09 20:28:10 +05:30
liyasthomas
13bd831c5f refactor: init codemirror theming support 2021-11-09 18:46:29 +05:30
Andrew Bastin
9b297ba882 feat: implement reactive theming 2021-11-09 14:35:20 +05:30
liyasthomas
be6c802745 feat: init base theme for codemirror 2021-11-08 17:42:34 +05:30
Andrew Bastin
564cce2462 feat: autocomplete cm6 2021-11-08 16:33:36 +05:30
Andrew Bastin
8f166b8b3f feat: add linting cm6 2021-11-08 15:21:09 +05:30
Andrew Bastin
fe7192ae61 feat: add line wrapping 2021-11-08 14:32:17 +05:30
Liyas Thomas
6d54f21c1e docs: update CODE OF CONDUCT 2021-11-08 13:49:12 +05:30
liyasthomas
87f8f61163 chore(deps): bump 2021-11-07 20:38:15 +05:30
liyasthomas
510ba376e5 chore(ui): minor ui improvements 2021-11-07 11:46:21 +05:30
liyasthomas
40c88b3e35 refactor(ui): better spacing and font-weight 2021-11-06 21:15:28 +05:30
Andrew Bastin
7c65da4cf3 feat: cm 6 json mode + readonly + cursor update 2021-11-06 15:12:35 +05:30
Andrew Bastin
0f07c47e9f fix: race condition on gql client subscription client 2021-11-05 20:22:46 +05:30
liyasthomas
17c45fee11 refactor: migrate icons to lucide.dev 2021-11-05 18:24:16 +05:30
liyasthomas
a63c0817cc perf: remove console (log, debug, and warn) messages 2021-11-05 13:41:25 +05:30
Andrew Bastin
68aa54bdb7 fix: json parsing error when using extension (HOPP-110) 2021-11-05 13:32:27 +05:30
Satoshi Jek
41cb6eb190 i18n: Update Chinese translations (#1940) 2021-11-05 10:46:03 +05:30
liyasthomas
61e5a48b02 perf: improve native image tags 2021-11-05 09:13:04 +05:30
Iagor Moraes
9e4d7df7d0 fix: 100% HTML preview area size (#1938) 2021-11-05 06:25:50 +05:30
Andrew Bastin
e83dbc2e5c feat: early codemirror v6 implementation 2021-11-05 00:33:15 +05:30
liyasthomas
03ab6a208d perf: remove absolute files 2021-11-04 23:23:46 +05:30
liyasthomas
dbd39ba0d8 fix: ignore vue files from stylelint 2021-11-04 20:59:01 +05:30
0xc0Der
136b1ff63b fix: bind key-value with bulk editor at startup. (#1936) 2021-11-04 20:43:21 +05:30
Andrew Bastin
69a6207a4d refactor: move firebase initialization to a plugin 2021-11-04 18:59:35 +05:30
liyasthomas
9e74a8c2e7 chore: lint + bump deps 2021-11-04 18:23:50 +05:30
liyasthomas
ad76d100ee feat: bind key-value pairs and bulk editor 2021-11-04 13:36:51 +05:30
0xc0Der
235968073a sync request params with bulk editor. (#1930) 2021-11-04 13:01:56 +05:30
Andrew Bastin
ad7b8da37e fix: windows issues with sandbox not building initially 2021-11-04 12:47:09 +05:30
liyasthomas
7d3e1a700f chore(release): v2.1.0 2021-11-04 11:14:50 +05:30
liyasthomas
d3a1898dad feat: support to move sidebar to left - fixed #1933 2021-11-04 09:58:15 +05:30
Andrew Bastin
45e508fc36 refactor: pwa install prompt (#1932) 2021-11-03 23:44:01 +05:30
0xc0Der
8edad7ded7 persist environment selection. (#1925)
* feat: persist environment selection

* refactor: minor change to selectedEnvIndex calculation

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-11-03 23:15:52 +05:30
liyasthomas
75e1adb7b3 refactor: empty state illustrations 2021-11-03 16:10:06 +05:30
Andrew Bastin
22ac13f2f0 fix: docker action issues 2021-11-02 21:22:37 +05:30
liyasthomas
7f0246eb47 Merge branch 'refactor/backend' of https://github.com/hoppscotch/hoppscotch into refactor/backend 2021-11-02 19:48:34 +05:30
liyasthomas
5f0800760f chore: clean up 2021-11-02 19:45:41 +05:30
liyasthomas
6db99c9e37 chore(deps): bump 2021-11-02 19:42:44 +05:30
liyasthomas
3b2cabd3f3 fix: typo 2021-11-02 19:39:39 +05:30
Andrew Bastin
b0dd6b0bd6 feat: fix gqlclient race condition 2021-11-02 19:33:09 +05:30
liyasthomas
874b846e60 fix: fix broken edit team modal
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-11-02 19:33:09 +05:30
liyasthomas
dbe2525c6f docs: updated feature list 2021-11-02 19:33:09 +05:30
Andrew Bastin
afd414fa3f feat: introducing gql polling 2021-11-02 19:33:09 +05:30
liyasthomas
94763dcb31 fix: prompt user on actions with no permission 2021-11-02 19:33:09 +05:30
Andrew Bastin
6314740f46 feat: reinit gql client after login 2021-11-02 19:33:09 +05:30
liyasthomas
d7332120e3 fix: hide popover on click on update role 2021-11-02 19:33:09 +05:30
liyasthomas
8c74fe9925 feat: user's roles prompt on invite modal 2021-11-02 19:33:09 +05:30
liyasthomas
c74ddeb530 fix: team invitation error states 2021-11-02 19:33:09 +05:30
Andrew Bastin
e31c0a9d02 feat: fix subscription auth refresh issues 2021-11-02 19:33:09 +05:30
Andrew Bastin
d9e5d4aec5 feat: add subscriptions for team invitations added and removed 2021-11-02 19:33:09 +05:30
liyasthomas
c1ee8f5dd0 feat: subscriptions on edit team modal 2021-11-02 19:33:09 +05:30
Andrew Bastin
dd59de3de0 feat: add subscription support for useGQLQuery 2021-11-02 19:33:07 +05:30
liyasthomas
511a3c55f3 fix: broken edit team modal 2021-11-02 19:32:49 +05:30
liyasthomas
c9021ab3ca fix: broken edit team action 2021-11-02 19:32:49 +05:30
liyasthomas
a765c4a7cc feat: successfully joined team prompt 2021-11-02 19:32:48 +05:30
Andrew Bastin
ea99732474 refactor: use the unpaginated teamMembers field instead of members 2021-11-02 19:32:48 +05:30
liyasthomas
6c64ffe833 feat: invite system error states and user prompts 2021-11-02 19:32:48 +05:30
Andrew Bastin
5fa6c6cdb3 fix: improper parsed error checks 2021-11-02 19:32:48 +05:30
Andrew Bastin
d94759870e refactor: add error info to send invite results 2021-11-02 19:32:48 +05:30
Andrew Bastin
f0a6fc641a feat: team invitation caching 2021-11-02 19:32:48 +05:30
Andrew Bastin
7ba00bee0b feat: update graphcache keys typings 2021-11-02 19:32:48 +05:30
liyasthomas
dc2bdf81b9 fix: invitation acceptance flow 2021-11-02 19:32:48 +05:30
liyasthomas
187a30abac feat: init loading states, minor ui improvements 2021-11-02 19:32:48 +05:30
liyasthomas
5b824ccb17 feat: minor ui improvements on invite flow 2021-11-02 19:32:48 +05:30
liyasthomas
3bdf2baf97 feat: init invitation wiring
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-11-02 19:32:48 +05:30
Andrew Bastin
9af8a24a89 feat: initial team invites implementation
Co-authored-by: Liyas Thomas <hi@liyasthomas.com>
2021-11-02 19:32:48 +05:30
liyasthomas
57c4759bdb chore: minor fixes and improvements 2021-11-02 19:32:48 +05:30
Andrew Bastin
d9d7261bc5 feat: team invitation mutations 2021-11-02 19:32:48 +05:30
Andrew Bastin
a12315d81a refactor: add graphcache codegen and update types 2021-11-02 19:32:47 +05:30
liyasthomas
9f0956556f feat: support updating user's display name 2021-11-02 19:32:13 +05:30
liyasthomas
748318d44e feat: compact mode for team component 2021-11-02 19:32:13 +05:30
liyasthomas
ff3062cdfc chore: clean up 2021-11-02 19:32:13 +05:30
liyasthomas
48d67fe7e1 fix: init local persistence 2021-11-02 19:32:13 +05:30
liyasthomas
2c9918f9a7 feat: init theming in empty layout 2021-11-02 19:32:13 +05:30
liyasthomas
ee03952201 feat: init teams invite page 2021-11-02 19:32:13 +05:30
liyasthomas
43dcd3c443 feat: invite modal mvp 2021-11-02 19:32:13 +05:30
Andrew Bastin
8f8c42a92a feat: gql codegen + caching + optimistic 2021-11-02 19:32:11 +05:30
liyasthomas
6496aded25 feat: teams modal wrapper 2021-11-02 19:25:36 +05:30
Andrew Bastin
eacf8113af feat: initial setup of new backend comms 2021-11-02 19:20:07 +05:30
liyasthomas
c4a1527153 chore(deps): bump 2021-11-02 19:17:30 +05:30
liyasthomas
4a89a6aafc feat: teams invite modal 2021-11-02 19:17:11 +05:30
Andrew Bastin
52539b084d feat: gql codegen + caching + optimistic 2021-11-02 19:17:09 +05:30
Andrew Bastin
8d5bd051a1 refactor: extract cache info to separate files and add more mutations 2021-11-02 19:15:44 +05:30
liyasthomas
3809e9853e chore(ui): minor ui improvements, empty teams state 2021-11-02 19:15:44 +05:30
Andrew Bastin
5f795acd61 feat: probable user is displayed as authenticated 2021-11-02 19:15:44 +05:30
liyasthomas
17c550404f refactor: updated lint script 2021-11-02 19:15:44 +05:30
Andrew Bastin
a840079119 feat: add persistent cache and optimistic updates 2021-11-02 19:15:42 +05:30
Andrew Bastin
2761894164 fix: queries not waiting for authentication 2021-11-02 19:15:20 +05:30
liyasthomas
6b8bc618dc feat: teams modal wrapper 2021-11-02 19:15:02 +05:30
liyasthomas
258f79604f refactor: remove EAInvite flag 2021-11-02 19:15:02 +05:30
Andrew Bastin
81ae70ee04 fix: fix issue with team queries not updating correctly after mutation 2021-11-02 19:15:02 +05:30
Andrew Bastin
6b02d290a5 feat: team mutation 2021-11-02 19:15:02 +05:30
Andrew Bastin
7ab1bbaf62 refactor: refactor create team modal to new system 2021-11-02 19:15:02 +05:30
liyasthomas
079083d0f2 fix: i18n usage 2021-11-02 19:15:02 +05:30
liyasthomas
0504707aab feat: init profile page 2021-11-02 19:14:59 +05:30
Andrew Bastin
fb4aab875d feat: introduce updated mutation system and team.vue rewrite 2021-11-02 19:14:25 +05:30
Andrew Bastin
7bb32ecf7e feat: initial setup of new backend comms 2021-11-02 19:14:21 +05:30
Andrew Bastin
e129a5c179 feat: fix gqlclient race condition 2021-11-02 19:11:16 +05:30
liyasthomas
8045f26c19 fix: fix broken edit team modal
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-11-02 14:25:38 +05:30
liyasthomas
86516421b5 fix(ci): run build command from root 2021-11-02 07:01:48 +05:30
liyasthomas
bce88ccd44 docs: updated feature list 2021-11-02 06:41:18 +05:30
0xc0Der
66d408b7db Allow duplication of global environment (#1924) 2021-11-02 06:16:16 +05:30
Andrew Bastin
297bf3205f feat: introducing gql polling 2021-11-01 22:27:06 +05:30
liyasthomas
7366b32349 fix: prompt user on actions with no permission 2021-11-01 17:51:01 +05:30
Andrew Bastin
b7e0169c9b feat: reinit gql client after login 2021-11-01 17:30:16 +05:30
liyasthomas
6b6f85cc7e fix: hide popover on click on update role 2021-11-01 15:25:19 +05:30
liyasthomas
2c014a2f4b feat: user's roles prompt on invite modal 2021-11-01 15:04:46 +05:30
liyasthomas
d6df675821 fix: team invitation error states 2021-11-01 14:20:35 +05:30
liyasthomas
427baf4c79 chore: bump dep + minor ui fixes 2021-11-01 13:10:48 +05:30
liyasthomas
4f2b682341 chore(deps): bump 2021-10-31 19:53:05 +05:30
Andrew Bastin
e03f888cb2 feat: fix subscription auth refresh issues 2021-10-31 17:40:03 +05:30
Andrew Bastin
513396d498 feat: add subscriptions for team invitations added and removed 2021-10-30 18:56:34 +05:30
liyasthomas
8f04f0758b fix: use hoppscotch's realtime echo servers - resolved #1913 2021-10-29 08:55:31 +05:30
liyasthomas
7a77bfc248 feat: subscriptions on edit team modal 2021-10-28 20:29:49 +05:30
Andrew Bastin
ddd29374ea feat: add subscription support for useGQLQuery 2021-10-27 22:41:32 +05:30
liyasthomas
4b0d7a6c3d fix: broken edit team modal 2021-10-27 18:32:11 +05:30
liyasthomas
20bfc02a4e fix: disable spellcheck on contenteditable - resolved #1908 2021-10-27 18:17:22 +05:30
Darío Hereñú
2511724b73 chore: updated spanish translation (#1907) 2021-10-27 06:10:17 +05:30
liyasthomas
a851ee3fab fix: broken edit team action 2021-10-26 23:16:56 +05:30
liyasthomas
40f6e6f8a8 fix: typo in test result 2021-10-26 15:36:59 +05:30
liyasthomas
e2fd104c2d feat: test results indicator in response section's tests tab 2021-10-26 13:48:09 +05:30
Andrew Bastin
a3eafa54fa fix: test script not parsing json object if json content type 2021-10-26 13:19:15 +05:30
Sergio Guzmán Mayorga
b90b4a1910 chore: update spanish translations (#1904) 2021-10-26 06:47:28 +05:30
liyasthomas
247df4d5b9 chore: bump deps + fix broken links 2021-10-25 21:04:28 +05:30
Burak Saraloglu
4a3889a76e chore (i18n): updated Turkish translations (#1893) 2021-10-25 05:02:30 +05:30
liyasthomas
224a6e069c chore(deps): bump 2021-10-24 20:06:22 +05:30
liyasthomas
2c3097eeb7 feat: successfully joined team prompt 2021-10-24 14:46:32 +05:30
Andrew Bastin
3289ede0e8 refactor: use the unpaginated teamMembers field instead of members 2021-10-22 15:34:20 +05:30
liyasthomas
ddf21c17d2 feat: invite system error states and user prompts 2021-10-21 18:17:32 +05:30
Andrew Bastin
c9a24a0d28 fix: improper parsed error checks 2021-10-20 16:49:58 +05:30
Andrew Bastin
fa4b130b18 refactor: add error info to send invite results 2021-10-20 15:50:21 +05:30
Andrew Bastin
8561a7547f feat: team invitation caching 2021-10-20 15:33:20 +05:30
liyasthomas
e85f7b8232 feat: collapse collections/folders on clicking side border 2021-10-20 13:55:18 +05:30
Chun-Hao Lien
2f91d25ed4 chore: add json file extension (#1889) 2021-10-20 12:06:01 +05:30
Andrew Bastin
ae304b5af7 feat: update graphcache keys typings 2021-10-19 23:12:47 +05:30
hms5232
363d34b5e5 chore(i18n): update tw translations (#1887) 2021-10-19 14:48:50 +05:30
Andrew Bastin
1c51f8b32e fix: bug with search box key listeners still active after close 2021-10-19 14:42:39 +05:30
liyasthomas
aaff07bba2 Merge remote-tracking branch 'origin/keyboard-navigation-on-power-search' 2021-10-19 13:45:48 +05:30
Francisco Emanuel de Sales Pereira
4bc38d5e0f Feature: Adds arrow keys navigation on power search (#1888) 2021-10-19 13:44:14 +05:30
liyasthomas
fdfca00886 feat: set active on hover + minor ui improvements 2021-10-19 13:40:47 +05:30
Liyas Thomas
d872e393f8 Merge branch 'main' into keyboard-navigation-on-power-search 2021-10-19 10:56:00 +05:30
franciscoemanuel
686d8e5be7 feat: adds arrow keys navigation on powersearch 2021-10-19 02:20:30 -03:00
liyasthomas
4e30efd737 fix: invitation acceptance flow 2021-10-18 21:43:13 +05:30
rubjo
aa4935c505 chore(i18n): updated Norwegian translations (#1886) 2021-10-18 12:20:27 +05:30
liyasthomas
0e381ab850 feat: init loading states, minor ui improvements 2021-10-18 09:36:33 +05:30
liyasthomas
4a03ee4518 chore(deps): bump 2021-10-18 07:34:26 +05:30
Geert Wirken
be414d8279 Improve Dutch translations (#1880) 2021-10-17 22:43:18 +05:30
liyasthomas
c47b1f2413 chore(deps): bump 2021-10-17 19:42:53 +05:30
liyasthomas
ba9ee052a6 feat: minor ui improvements on invite flow 2021-10-17 18:53:24 +05:30
liyasthomas
b1c6708762 feat: init invitation wiring
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-10-17 16:45:48 +05:30
Andrew Bastin
0ba31b6c79 feat: initial team invites implementation
Co-authored-by: Liyas Thomas <hi@liyasthomas.com>
2021-10-17 15:05:43 +05:30
liyasthomas
14f402f186 feat: minor ui improvements to power search 2021-10-17 11:37:06 +05:30
liyasthomas
b811e97ea5 feat: set hoppscotch graphql echo server as default 2021-10-17 00:49:36 +05:30
Oscar Dominguez
6d167ce1d6 ci(workflow): add cache to workflows using actions/setup-node (#1872) 2021-10-16 22:50:16 +05:30
liyasthomas
9ac1d23fd9 chore: minor fixes and improvements 2021-10-16 20:54:19 +05:30
Andrew Bastin
dea3a34e3d feat: team invitation mutations 2021-10-16 15:14:07 +05:30
Andrew Bastin
39de34f083 refactor: add graphcache codegen and update types 2021-10-16 15:14:07 +05:30
liyasthomas
02d5f0fdf3 feat: support updating user's display name 2021-10-16 15:01:32 +05:30
liyasthomas
0bb7cbe8d9 feat: compact mode for team component 2021-10-16 11:14:33 +05:30
liyasthomas
3e3b88b8c2 feat: native email input validation on login modal 2021-10-16 00:00:33 +05:30
liyasthomas
1438beb93b chore: clean up 2021-10-15 08:15:43 +05:30
liyasthomas
c1ec5dc60d feat: promote environment aware input to stable 2021-10-14 13:00:32 +05:30
prasanth
3f513f2f4d fix(request): multipart payload not working while using proxy 2021-10-13 21:32:27 +05:30
liyasthomas
d1b573f6f9 fix: init local persistence 2021-10-13 19:42:13 +05:30
liyasthomas
0e08abc46f feat: init theming in empty layout 2021-10-13 17:00:56 +05:30
liyasthomas
49bdf9f203 feat: init teams invite page 2021-10-13 16:12:02 +05:30
liyasthomas
b3e9df4f3d fix: introduce X-Frame-Options header to prevent clickjacking 2021-10-13 08:58:40 +05:30
Andrew Bastin
3b8cf4a60a fix: single character shortcuts not working 2021-10-12 21:43:06 +05:30
Akash Hamirwasia
b7ccb9a34c feat: disable inputs in realtime and graphql connections when active (#1870) 2021-10-12 21:19:29 +05:30
Akash Hamirwasia
b8ffa872c7 feat: add socket.io-client version selector menu (#1867) 2021-10-12 11:22:47 +05:30
liyasthomas
ef866f7851 feat: invite modal mvp 2021-10-11 06:51:43 +05:30
liyasthomas
f27515bf1d Merge branch 'refactor/backend' of https://github.com/hoppscotch/hoppscotch into refactor/backend 2021-10-10 20:49:27 +05:30
liyasthomas
ddf74c5d7c chore(deps): bump 2021-10-10 20:48:16 +05:30
liyasthomas
8ea12695b3 feat: teams invite modal 2021-10-10 20:44:21 +05:30
Andrew Bastin
d6324e6ba6 feat: gql codegen + caching + optimistic 2021-10-10 20:44:18 +05:30
Andrew Bastin
2325982801 refactor: extract cache info to separate files and add more mutations 2021-10-10 20:43:19 +05:30
liyasthomas
b103c45e65 chore(ui): minor ui improvements, empty teams state 2021-10-10 20:43:18 +05:30
Andrew Bastin
409989eddb feat: probable user is displayed as authenticated 2021-10-10 20:43:18 +05:30
liyasthomas
3f5fcae280 refactor: updated lint script 2021-10-10 20:43:18 +05:30
Andrew Bastin
d5123c793a feat: add persistent cache and optimistic updates 2021-10-10 20:43:16 +05:30
Andrew Bastin
e6707c1e4a fix: queries not waiting for authentication 2021-10-10 20:42:46 +05:30
liyasthomas
41be5cc4a8 feat: teams modal wrapper 2021-10-10 20:41:57 +05:30
liyasthomas
e82a4a1d23 refactor: remove EAInvite flag 2021-10-10 20:41:57 +05:30
Andrew Bastin
e30e4edfce fix: fix issue with team queries not updating correctly after mutation 2021-10-10 20:41:57 +05:30
Andrew Bastin
bd72ef7950 feat: team mutation 2021-10-10 20:41:57 +05:30
Andrew Bastin
539034df2a refactor: refactor create team modal to new system 2021-10-10 20:41:57 +05:30
liyasthomas
6da6afc5a1 fix: i18n usage 2021-10-10 20:41:57 +05:30
liyasthomas
fea523972d feat: init profile page 2021-10-10 20:41:57 +05:30
Andrew Bastin
5cfc6c2949 feat: introduce updated mutation system and team.vue rewrite 2021-10-10 20:41:57 +05:30
Andrew Bastin
6dd0c25d49 feat: initial setup of new backend comms 2021-10-10 20:41:54 +05:30
liyasthomas
ab9b3e47b9 chore(deps): bump 2021-10-10 20:24:31 +05:30
James George
33ebdf2831 chore: cleanup .husky directory (#1865) 2021-10-10 15:00:57 +05:30
liyasthomas
ef95939763 feat: teams invite modal 2021-10-09 16:10:51 +05:30
Rishabh kalra
0394deaeef route navigation no longer happening in typable areas (#1862) 2021-10-09 06:45:17 +05:30
Andrew Bastin
337a60c8a4 feat: gql codegen + caching + optimistic 2021-10-08 23:51:06 +05:30
Andrew Bastin
47b341d50e fix: fix conditional tabs not rerendering 2021-10-06 21:55:05 +05:30
Andrew Bastin
a5fd39adf8 refactor: extract cache info to separate files and add more mutations 2021-10-06 19:32:27 +05:30
liyasthomas
5772117dc8 fix: respect localePath on router - fixed #1859 2021-10-06 12:38:50 +05:30
liyasthomas
f73c8a45d9 chore(ui): minor ui improvements, empty teams state 2021-10-05 22:17:29 +05:30
Andrew Bastin
109d4190ae feat: probable user is displayed as authenticated 2021-10-05 22:06:19 +05:30
liyasthomas
317de82be6 refactor: updated lint script 2021-10-05 21:48:10 +05:30
Boris K
3604d69463 chore(i18n): fixed french translations (#1858) 2021-10-05 15:16:36 +05:30
Andrew Bastin
96cf774652 feat: add persistent cache and optimistic updates 2021-10-05 02:09:39 +05:30
liyasthomas
d2b39976ba chore(deps): bump 2021-10-04 08:16:40 +05:30
Stephane
06161bc963 Show graphql error message (#1852)
Co-authored-by: StephaneBischoffSSENSE <stephane.bischoff@ssense.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-10-04 08:01:47 +05:30
bblumenwiese
2ab1d3dbfa docs: fix broken link to .env.example in README (#1854)
Refs #1852
2021-10-04 00:29:45 +05:30
Andrew Bastin
ecdc7919ae fix: queries not waiting for authentication 2021-10-03 19:14:32 +05:30
liyasthomas
a24541ac2b chore(deps): bump 2021-10-03 19:13:44 +05:30
liyasthomas
d832690548 refactor: better name for duplicated environment 2021-10-03 18:53:27 +05:30
Stephane
2844710ea8 feat: add ability to copy environments (#1848)
Co-authored-by: StephaneBischoffSSENSE <stephane.bischoff@ssense.com>
2021-10-03 18:38:36 +05:30
liyasthomas
84ad4071ad feat: teams modal wrapper 2021-10-03 18:14:52 +05:30
liyasthomas
7f501241f0 refactor: remove EAInvite flag 2021-10-03 15:49:04 +05:30
Manda Putra
5dcfa66c5d fix: parsing 2021-10-03 12:28:49 +05:30
Manda Putra
f428a21279 feat: parse body from url params 2021-10-03 12:28:49 +05:30
Andrew Bastin
ccdd4963cd fix: fix issue with team queries not updating correctly after mutation 2021-10-03 01:31:06 +05:30
Andrew Bastin
2092a3729c feat: team mutation 2021-10-02 13:50:08 +05:30
Andrew Bastin
a628420adb refactor: refactor create team modal to new system 2021-10-02 13:50:08 +05:30
liyasthomas
23de147ca1 fix: i18n usage 2021-10-02 13:46:51 +05:30
liyasthomas
93f55f5619 feat: init profile page 2021-10-02 13:22:07 +05:30
Liyas Thomas
b10933898f Merge pull request #1845 from YasiOnFire/fix-polish-localization
chore(i18n): fix polish translation
2021-10-02 07:34:24 +05:30
Yasio
1727b754d4 chore(i18n): fix polish translation 2021-10-01 20:36:12 +02:00
Andrew Bastin
ffb0c12c08 feat: introduce updated mutation system and team.vue rewrite 2021-10-01 15:13:48 +05:30
Andrew Bastin
c332808fe4 feat: initial setup of new backend comms 2021-10-01 13:46:22 +05:30
liyasthomas
8f0538c886 chore(i18n): updated translations 2021-10-01 11:24:34 +05:30
Khaleel Gibran
e6bb7e2ca9 Remove random </br>s in locale footers (#1844) 2021-10-01 10:12:10 +05:30
liyasthomas
2a012520d0 fix: proper type for ID 2021-09-30 16:05:40 +05:30
Andrew Bastin
c71333d9cb refactor: update ID based backend queries to proper types 2021-09-30 12:52:31 +05:30
liyasthomas
728515c225 chore: bump deps 2021-09-26 19:16:23 +05:30
Andrew Bastin
e0f88e01f9 Update js-sandbox README 2021-09-26 11:27:46 +05:30
Andrew Bastin
1aa94a12c0 Merge pull request #1836 from AndrewBastin/refactor/js-sandbox
Move to JS code execution sandbox (HOPP-67, HOPP-66)
2021-09-25 23:05:41 +05:30
Andrew Bastin
de2d3361a7 refactor: bump js-sandbox version to 1.0.0 2021-09-25 22:25:33 +05:30
Andrew Bastin
680937e50b feat: fix issue with the pre-request envs 2021-09-25 21:21:01 +05:30
liyasthomas
6751c50514 fix: build 2021-09-25 12:21:32 +05:30
liyasthomas
0c389701fe chore(docs): updated readme 2021-09-25 12:21:19 +05:30
Andrew Bastin
9454d8c100 feat: move testing code to js-sandbox 2021-09-25 01:09:48 +05:30
Andrew Bastin
166f9e817b feat: project level testing + add fp-ts and sandbox as deps 2021-09-25 01:07:24 +05:30
Andrew Bastin
d2865c637c refactor: bring js-sandbox project to the monorepo 2021-09-25 01:01:22 +05:30
liyasthomas
9698932bde refactor(ui): minor ui improvements 2021-09-20 21:33:36 +05:30
liyasthomas
44026fcd41 fix: show scrollbars inside menu 2021-09-20 14:56:25 +05:30
liyasthomas
d938af0c2c fix: better responsiveness on horizontal layout 2021-09-20 14:18:40 +05:30
liyasthomas
fd658400a6 refactor: updated logo 2021-09-20 11:15:09 +05:30
liyasthomas
dcbb17b164 feat: vertical and horizontal layout support 2021-09-20 10:17:31 +05:30
liyasthomas
49741875bd chore: minor ui improvements 2021-09-19 20:27:20 +05:30
liyasthomas
0fcd9733ff chore: bump deps 2021-09-19 20:26:25 +05:30
Andrew Bastin
62d50169d7 Merge pull request #1832 from AndrewBastin/refactor/teams-list
fix: teams list not properly showing (HOPP-61)
2021-09-19 00:48:30 +05:30
Andrew Bastin
1d3d5a1e6a Merge branch 'main' into refactor/teams-list 2021-09-19 00:47:58 +05:30
Liyas Thomas
d309fa745e Update packages/hoppscotch-app/components/teams/index.vue 2021-09-19 00:33:21 +05:30
liyasthomas
f7031992d5 fix: enforce name for SmartTab component 2021-09-19 00:09:35 +05:30
Andrew Bastin
fcdf68ea15 fix: teams list not properly showing 2021-09-18 23:56:19 +05:30
liyasthomas
b0a6692179 feat: vertical tabs for right sidebars 2021-09-18 23:50:42 +05:30
liyasthomas
e1e763575d perf: template literals 2021-09-18 16:09:58 +05:30
Andrew Bastin
4236d1179c fix: save request crashing on teams 2021-09-18 15:11:54 +05:30
Andrew Bastin
09365bcabe fix: environments not being written correctly 2021-09-18 14:39:43 +05:30
Andrew Bastin
be29ddcbd6 fix: volar shim gitignore issue 2021-09-17 18:49:38 +05:30
liyasthomas
522194ca8d chore: remove absolute files 2021-09-17 17:30:55 +05:30
liyasthomas
5af8f584f6 chore(deps): bump 2021-09-17 15:25:52 +05:30
liyasthomas
adc08f8865 perf(ci): remove absolute branch hooks 2021-09-17 15:20:30 +05:30
liyasthomas
0f39d54c3c fix: netlify builds 2021-09-17 14:17:48 +05:30
liyasthomas
9e6659e842 fix: netlify builds 2021-09-17 14:11:30 +05:30
liyasthomas
46a0f6e3f8 refactor: update build docs 2021-09-17 13:57:56 +05:30
Andrew Bastin
e90b26ebed fix: standardized build scripts 2021-09-17 13:46:23 +05:30
Andrew Bastin
4407f260ae fix: updated to better dockerfile 2021-09-17 13:12:49 +05:30
Andrew Bastin
d4392416c8 fix: fix broken tests 2021-09-16 22:59:29 +05:30
liyasthomas
2d3cbd26b8 fix: ci builds 2021-09-16 22:44:34 +05:30
Andrew Bastin
98b9660956 refactor: merge branch 'main' into refactor/monorepo 2021-09-16 22:24:21 +05:30
liyasthomas
4e8a4e8914 refactor: typescript support 2021-09-15 17:30:04 +05:30
liyasthomas
96bcbc80f8 fix(ci): bump deps + fix tests 2021-09-14 23:43:20 +05:30
liyasthomas
1dfc8e2973 perf: remove absolute files 2021-09-14 23:32:43 +05:30
liyasthomas
311886f6c9 Merge remote-tracking branch 'origin/feat/codemirror' 2021-09-14 23:30:04 +05:30
liyasthomas
4a332f40e5 fix: json outline line index 2021-09-14 23:28:39 +05:30
liyasthomas
93a97a2f4c refactor: json outline ui 2021-09-14 23:11:10 +05:30
Andrew Bastin
1dee098ca2 feat: fix outline 2021-09-14 21:33:13 +05:30
liyasthomas
a07cc7e560 refactor: minor ui improvements 2021-09-14 13:19:10 +05:30
Andrew Bastin
c26f7f5ebc fix: autocompletion eating non-identifier tokens 2021-09-13 09:18:37 +05:30
liyasthomas
5d801cf566 fix: missing '?' in query parameter string for code generators 2021-09-13 09:07:06 +05:30
Andrew Bastin
631b2d869e fix: autocompletion position messing up 2021-09-12 21:56:56 +05:30
liyasthomas
c02f54cc18 chore(deps): bump 2021-09-12 19:45:23 +05:30
liyasthomas
827a95515d feat: select suggestion on enter key for autocomplete 2021-09-12 10:51:46 +05:30
liyasthomas
9082152f1a fix: editor width 2021-09-12 02:08:37 +05:30
Liyas Thomas
0efbddeda4 Merge pull request #1822 from hoppscotch/fix/gql-save-req 2021-09-12 00:07:22 +05:30
liyasthomas
b2e186957c fix: repetitive use of () in setup script 2021-09-12 00:02:07 +05:30
Andrew Bastin
d855e5cffb fix: gql request save issue 2021-09-11 23:43:35 +05:30
Andrew Bastin
f3747edaa3 Merge pull request #1820 from hoppscotch/fix/gql-headers
fix: gql headers not passed properly (HOPP-55)
2021-09-11 21:15:17 +05:30
Andrew Bastin
752932ef3d fix: gql headers not passed properly 2021-09-11 21:01:48 +05:30
liyasthomas
948cf9dae3 perf: cleanup 2021-09-11 10:34:06 +05:30
liyasthomas
b2f93aa549 feat: highlight active line in codemirror when focused 2021-09-11 09:19:16 +05:30
liyasthomas
108f228edf refactor: minor ui improvements 2021-09-11 08:26:54 +05:30
liyasthomas
fe6030140f feat: graphql mode for schema editor 2021-09-10 19:57:52 +05:30
Andrew Bastin
003400cfa8 feat: introduce graphql mode for codemirror 2021-09-10 19:01:35 +05:30
liyasthomas
41a02f059d perf: remove ace editor 2021-09-10 18:52:58 +05:30
liyasthomas
b4ed6fd107 feat: codemirror for import curl and codegens 2021-09-10 18:27:31 +05:30
Andrew Bastin
36246da9e1 feat: fix up jest tests 2021-09-10 17:50:22 +05:30
liyasthomas
457b6b982c feat: codemirror for graphql query, scheme and response 2021-09-10 16:12:04 +05:30
liyasthomas
05a07dc4a1 perf: ci 2021-09-10 13:05:31 +05:30
Andrew Bastin
85889c2cb9 fix: fix tests.yml 2021-09-10 12:55:59 +05:30
liyasthomas
be6ceaab04 perf: ci 2021-09-10 12:46:50 +05:30
liyasthomas
f1b18688bb fix: ci 2021-09-10 12:15:08 +05:30
liyasthomas
80c7decb81 feat: husky + commitlint 2021-09-10 12:02:18 +05:30
liyasthomas
3ef5a1e21a feat: codemirror editor for pre-request and test scripts 2021-09-10 11:12:08 +05:30
liyasthomas
2eb0a4c754 feat: reactive syntax + line wrap on raw body 2021-09-10 10:46:58 +05:30
liyasthomas
10f5af5dda feat: codemirror editot for raw body 2021-09-10 01:35:46 +05:30
liyasthomas
8b27ebb96b feat: mixed html syntax, light theme for codemiror 2021-09-10 00:44:14 +05:30
Andrew Bastin
b28f82a881 refactor: monorepo+pnpm (removed husky) 2021-09-10 00:28:28 +05:30
liyasthomas
c921606f3f Merge remote-tracking branch 'origin/exp/volar-types' into feat/codemirror 2021-09-09 20:50:58 +05:30
liyasthomas
c6c08f6c60 feat: reactive line wrap on codemirror
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-09-09 20:50:04 +05:30
liyasthomas
02cf620090 feat: port ace editor to codemirror
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-09-09 17:47:27 +05:30
liyasthomas
917550ff4d feat: tooltips on primary navigation in zenmode 2021-09-09 13:10:48 +05:30
Andrew Bastin
4a12cc76fa feat: improve shim generation for index components 2021-09-09 01:56:43 +05:30
Andrew Bastin
f4f74e223f refactor: a volar types shim generator 2021-09-09 01:03:46 +05:30
liyasthomas
8b4535c131 Merge branch 'feat/codemirror' of https://github.com/hoppscotch/hoppscotch into feat/codemirror 2021-09-08 21:54:00 +05:30
liyasthomas
b15fd6c75a feat: port bulk editor textareas to codemirror 2021-09-08 21:52:26 +05:30
liyasthomas
e1a25fa894 fix: broken conditional rendering of codemirror
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-09-08 21:41:02 +05:30
Andrew Bastin
2bb3b71a70 refactor: map ctrl-space to autocomplete by default in codemirror 2021-09-08 21:41:02 +05:30
Andrew Bastin
4c55b9c304 fix: codemirror theme not changing when color mode is updated 2021-09-08 21:41:02 +05:30
Andrew Bastin
639a629809 feat: gql query autocompletion on codemirror 2021-09-08 21:41:02 +05:30
Andrew Bastin
d6e3bd09b4 refactor: pass current token position to auto completers on codemirror 2021-09-08 21:41:02 +05:30
Andrew Bastin
8d67a0d95f feat: test script auto completion for codemirror 2021-09-08 21:41:02 +05:30
Andrew Bastin
b9fc0175e7 feat: implement base autocomplete implementation for codemirror along with preRequest autocompletion 2021-09-08 21:41:02 +05:30
liyasthomas
dc5f52cc0d refactor: github flavored codemirror light theme 2021-09-08 21:40:55 +05:30
liyasthomas
602aabdeb8 feat: reactive codemirror theme 2021-09-08 21:40:11 +05:30
Andrew Bastin
2f8aa79ec1 feat: json linter support for codemirror 2021-09-08 21:40:11 +05:30
Andrew Bastin
8af90432cf feat: implement gql query linting in codemirror 2021-09-08 21:40:11 +05:30
Andrew Bastin
61da0733c2 feat: codemirror editor options are reactive 2021-09-08 21:40:11 +05:30
liyasthomas
33951482d5 feat: placeholder, auto-close brackets, search, line wrap 2021-09-08 21:40:11 +05:30
Andrew Bastin
4e8484ee7c feat: linter for prerequest and testscripts 2021-09-08 21:40:11 +05:30
Andrew Bastin
071761a61e feat: codemirror linting system 2021-09-08 21:40:11 +05:30
Andrew Bastin
10a11d6725 refactor: add types for esprima 2021-09-08 21:40:11 +05:30
Andrew Bastin
c81178ae26 refactor: extract common codemirror logic out to composable 2021-09-08 21:40:10 +05:30
liyasthomas
2bafae5397 feat: line wrap, auto close brackets, placeholder on codemirror 2021-09-08 21:40:10 +05:30
liyasthomas
6a1d201e0e refactor: ts codemirror 2021-09-08 21:40:10 +05:30
liyasthomas
8de544696d feat: init codemirror 2021-09-08 21:40:06 +05:30
liyasthomas
66c489da8f fix: broken conditional rendering of codemirror
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-09-08 20:27:36 +05:30
Andrew Bastin
26c8f35688 refactor: map ctrl-space to autocomplete by default in codemirror 2021-09-08 19:51:43 +05:30
liyasthomas
c3e881ed77 fix: tooltip position on containers with overflow 2021-09-08 15:22:38 +05:30
liyasthomas
2cf55cbb96 refactor: hide right sidebars by default on mobile devices 2021-09-08 13:56:02 +05:30
liyasthomas
73f22abf56 feat: mobile responsive right sidbars + composable window size 2021-09-08 12:27:46 +05:30
liyasthomas
dbae90a193 refactor: replace lunr with fuse 2021-09-08 09:21:22 +05:30
Andrew Bastin
28aeac4533 fix: codemirror theme not changing when color mode is updated 2021-09-08 06:00:23 +05:30
Andrew Bastin
162b3d6192 feat: gql query autocompletion on codemirror 2021-09-08 05:38:03 +05:30
Andrew Bastin
b016d3fd9d refactor: pass current token position to auto completers on codemirror 2021-09-08 05:36:46 +05:30
Andrew Bastin
f64ff58dbc feat: test script auto completion for codemirror 2021-09-08 04:58:30 +05:30
Andrew Bastin
d4d3d96bbb feat: implement base autocomplete implementation for codemirror along with preRequest autocompletion 2021-09-07 22:15:47 +05:30
liyasthomas
a5197ee544 refactor: github flavored codemirror light theme 2021-09-07 16:26:26 +05:30
liyasthomas
8a5fd4f745 feat: reactive codemirror theme 2021-09-07 12:14:13 +05:30
Andrew Bastin
12cd7940c6 feat: json linter support for codemirror 2021-09-06 23:47:26 +05:30
Andrew Bastin
0c2cec46a7 feat: implement gql query linting in codemirror 2021-09-06 23:30:43 +05:30
liyasthomas
84457ddc86 chore(deps+i18n): updated deps and translations 2021-09-06 20:32:45 +05:30
Liyas Thomas
d6d20e5d49 Merge pull request #1815 from bokub/patch-1
chore(i18n): fixed french translations
2021-09-06 20:26:20 +05:30
Boris K
9acdca1059 chore: french i18n translations 2021-09-06 16:48:10 +02:00
liyasthomas
66c4fd4d2f chore(i18n): updated translations 2021-09-05 20:51:54 +05:30
liyasthomas
f2defb3a31 chore(deps): bump 2021-09-05 20:51:25 +05:30
Andrew Bastin
aa66c10608 fix: improved volar integration 2021-09-03 23:06:23 +05:30
liyasthomas
28d20a9c61 refactor: updated svg icon assets 2021-09-03 11:27:11 +05:30
liyasthomas
94fcc0a6a9 perf: workflows 2021-09-02 20:33:34 +05:30
Andrew Bastin
91abdd5415 Merge pull request #1802 from AndrewBastin/bugfix/1798
fix: auth header doubling in codegen
2021-09-02 20:19:15 +05:30
Andrew Bastin
58e940d193 fix: auth header doubling in codegen 2021-09-02 20:04:56 +05:30
liyasthomas
6991dd48f3 feat: publish docker image 2021-09-02 17:44:36 +05:30
liyasthomas
270a077539 chore: updated social banner image 2021-09-02 09:04:02 +05:30
liyasthomas
ff326acfc8 chore: updated screenshots 2021-09-02 01:46:08 +05:30
liyasthomas
af1446233c chore: i18n translations 2021-09-02 00:28:38 +05:30
liyasthomas
67d66e2b2f Merge remote-tracking branch 'origin/i18n-de' 2021-09-01 23:19:56 +05:30
Liyas Thomas
753ce5bd6e Merge pull request #1800 from JorgeFerrer/patch-1
Improvements for the translation to Spanish #1799
2021-09-01 23:18:37 +05:30
Jorge Ferrer
e7d71ef301 Improvements for the translation to Spanish #1799
I have fixed REST as well as some wrong automatic translations and also applied consistency in terms used across all translations
2021-09-01 19:35:15 +02:00
Andrew Bastin
8430921e4e feat: codemirror editor options are reactive 2021-09-01 20:32:33 +05:30
liyasthomas
c938abf606 feat: placeholder, auto-close brackets, search, line wrap 2021-09-01 17:33:54 +05:30
Andrew Bastin
3addfe8d4b feat: linter for prerequest and testscripts 2021-09-01 16:45:49 +05:30
Andrew Bastin
5276556837 feat: codemirror linting system 2021-09-01 16:41:14 +05:30
Andrew Bastin
e47ad94666 refactor: add types for esprima 2021-09-01 16:34:02 +05:30
liyasthomas
7065763c7c Merge branch 'main' into feat/codemirror 2021-09-01 10:34:52 +05:30
Andrew Bastin
86489d95c2 refactor: extract common codemirror logic out to composable 2021-08-31 22:20:42 +05:30
liyasthomas
f357c4f171 fix: response section's font weight 2021-08-31 22:16:49 +05:30
Liyas Thomas
36e34fe667 Merge pull request #1796 from hoppscotch/feat/bulk-edit
feat: bulk edit
2021-08-31 22:03:39 +05:30
liyasthomas
dcc59f42fa fix: remove // from key on disabled bulk edit entries 2021-08-31 21:54:24 +05:30
Liyas Thomas
f6fbff2b42 Merge pull request #1797 from jenskeiner/jenskeiner-fix-mistranslations-and-typos
Fix some mistranslations an typos.
2021-08-31 18:23:14 +05:30
Jens Keiner
67ce20ef62 Fix some mistranslations an typos.
Fixed up some apparent mistranslated items and typos.
2021-08-31 14:37:19 +02:00
liyasthomas
788e0dc851 chore: lint 2021-08-31 17:38:54 +05:30
liyasthomas
e2b1c83698 feat: line wrap, auto close brackets, placeholder on codemirror 2021-08-31 16:10:35 +05:30
liyasthomas
15373be63e refactor: ts codemirror 2021-08-31 10:47:00 +05:30
liyasthomas
8c9cd079b7 feat: init codemirror 2021-08-31 00:03:07 +05:30
liyasthomas
6f67a97ade feat: textare autoresize 2021-08-30 22:03:59 +05:30
liyasthomas
ada568cb75 feat: bulk edit for graphql headers 2021-08-30 18:49:35 +05:30
liyasthomas
b9fa254ab5 feat: disable bulk edit entries with // 2021-08-30 18:35:33 +05:30
liyasthomas
174ba90fb5 feat: bulk edit transformation 2021-08-30 14:34:43 +05:30
liyasthomas
de8c7c1ca3 Merge branch 'main' into feat/bulk-edit 2021-08-30 13:23:24 +05:30
liyasthomas
407a125533 feat: search
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-08-30 11:27:36 +05:30
liyasthomas
d8881ba6a3 feat: init bulk edit 2021-08-29 23:26:27 +05:30
liyasthomas
755540fb81 Merge branch 'main' into feat/search 2021-08-29 20:59:47 +05:30
liyasthomas
add358c752 chore(deps): bump 2021-08-29 20:53:59 +05:30
liyasthomas
91352ade20 feat: typescript support in auth components
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-08-29 19:31:23 +05:30
Liyas Thomas
39fbf4ef33 Merge pull request #1790 from AndrewBastin/refactor/firebase-v9
refactor: bump firebase to v9
2021-08-29 18:28:33 +05:30
liyasthomas
d9547c6654 fix: mobile responsiveness 2021-08-29 17:11:37 +05:30
liyasthomas
04f9428267 feat: disable autocomplete on inputs + keyboard navigation focus 2021-08-29 16:44:18 +05:30
liyasthomas
ebd8f43219 refactor: minor ui improvements 2021-08-29 13:25:01 +05:30
liyasthomas
f75b2e26a3 chore: cleanup, typescript 2021-08-29 12:00:19 +05:30
Andrew Bastin
2e654c143f refactor: bump firebase to v9 2021-08-29 10:51:31 +05:30
liyasthomas
5bcee265a6 fix: show empty state for search results, es6 2021-08-29 10:02:19 +05:30
liyasthomas
647599e5aa refactor: full-width modal for search, transparent tabs 2021-08-29 09:44:46 +05:30
liyasthomas
16b9a2b06e feat: search 2021-08-28 23:23:16 +05:30
liyasthomas
7da427c669 feat: share and support modals 2021-08-28 20:48:13 +05:30
liyasthomas
405e6c1e4e chore: minor fixes and improvements 2021-08-28 10:57:21 +05:30
liyasthomas
efbc21826b Merge branch 'refactor/ui' 2021-08-28 05:56:58 +05:30
liyasthomas
7a1f1c9df7 feat: updated screenshots 2021-08-28 05:56:07 +05:30
liyasthomas
476bfbaef0 feat: svg icons 2021-08-28 05:47:33 +05:30
Andrew Bastin
8231157cdb feat: bump version to 2.0.0 2021-08-28 02:21:37 +05:30
liyasthomas
e397e3fb6f feat: add newsletter link 2021-08-27 22:13:15 +05:30
liyasthomas
8f1cafc80d chore: i18n 2021-08-27 15:22:21 +05:30
liyasthomas
71619cf84b feat: test report pie chart 2021-08-27 14:32:07 +05:30
liyasthomas
a3551c6719 fix: broken test results 2021-08-27 12:38:03 +05:30
Andrew Bastin
e9043e6762 refactor: update test components to use setup scripts 2021-08-27 11:45:08 +05:30
liyasthomas
6b7d30a701 fix: restore v1 test API 2021-08-27 09:42:53 +05:30
liyasthomas
76eab2632e fix: failed tests 2021-08-27 09:38:29 +05:30
liyasthomas
bba4d7fcd9 chore: cleanup 2021-08-27 09:37:29 +05:30
Andrew Bastin
46eb7d6786 fix: test scripts response respects the old api and the new structure 2021-08-26 13:08:06 +05:30
Andrew Bastin
f5c84b57b2 fix: improved codegen compat 2021-08-26 13:08:06 +05:30
liyasthomas
0b12901344 feat: sample pre-request and test snippets 2021-08-26 12:18:28 +05:30
liyasthomas
5e3c303aaf fix: tippy on request + lint 2021-08-26 11:04:52 +05:30
liyasthomas
f02b1639c3 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-08-26 11:03:30 +05:30
Andrew Bastin
94e0c3ef64 refactor: update codegen code 2021-08-26 11:02:05 +05:30
liyasthomas
17366f5e6e fix: sync modal 2021-08-26 10:44:01 +05:30
liyasthomas
f7a6f899d4 Merge branch 'refactor/oauth' of https://github.com/hoppscotch/hoppscotch into refactor/oauth 2021-08-26 10:03:05 +05:30
liyasthomas
62205919a3 feat: env variable support in authorization
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-08-26 10:00:21 +05:30
liyasthomas
ee44a48994 feat: ui for oauth 2021-08-26 09:21:37 +05:30
liyasthomas
fedc230c9f feat: add OAuth 2.0 support 2021-08-26 09:21:37 +05:30
Andrew Bastin
8796cec493 fix: tippy not disappearing on request component modals 2021-08-26 09:19:18 +05:30
Andrew Bastin
b3b76adec4 feat: antfu's setup script transform + request component in setup sugar 2021-08-26 08:56:22 +05:30
liyasthomas
4362760461 feat: ui for oauth 2021-08-25 22:20:35 +05:30
liyasthomas
bc9236c9a7 feat: add OAuth 2.0 support 2021-08-25 21:30:13 +05:30
liyasthomas
9e16cff62a chore: minor fixes and improvements 2021-08-25 21:26:53 +05:30
Andrew Bastin
b04d8dde2b feat: request local persistence 2021-08-25 18:29:04 +05:30
liyasthomas
2a23c95f34 fix: empty github auth provider info 2021-08-25 16:15:31 +05:30
Andrew Bastin
cb9aa33ad0 fix: req.id undefined issues 2021-08-25 09:43:16 +05:30
Andrew Bastin
31258b1108 refactor: improved teams migrations 2021-08-25 08:41:09 +05:30
Andrew Bastin
6e9f16d8f1 refactor: collections versioning, migration and types 2021-08-24 23:12:53 +05:30
Andrew Bastin
d1b2539d67 refactor: gql request object and history typing updates 2021-08-24 21:58:04 +05:30
liyasthomas
c5f8ab3394 chore: minor fixes and improvements 2021-08-24 13:45:11 +05:30
liyasthomas
12c28f4efc fix: broken component import in prod 2021-08-24 09:14:46 +05:30
Andrew Bastin
f20fed444a fix: history entries becoming undefined over reloads 2021-08-23 12:57:36 +05:30
Andrew Bastin
97b92ba35b feat: history migration from legacy request object 2021-08-23 11:49:43 +05:30
liyasthomas
91df36ccca fix: ctrl+c shortcut, minor ui issues 2021-08-23 10:22:07 +05:30
liyasthomas
294b1a5a7c fix: cors when content-type is set for simple requests 2021-08-22 22:44:07 +05:30
liyasthomas
5f27b59dc0 fix: typo 2021-08-22 17:02:18 +05:30
Andrew Bastin
af0efc1e7f fix: migration of request url from old to new format 2021-08-22 16:31:09 +05:30
Andrew Bastin
db25346505 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-08-22 13:06:58 +05:30
Andrew Bastin
1a4fc1f539 feat: remove authName from HoppRESTAuth type definitions 2021-08-22 13:06:19 +05:30
liyasthomas
1bea0a42d7 refactor(ui): better button, tab caomponents 2021-08-22 12:58:43 +05:30
liyasthomas
22e73a4d83 Merge branch 'main' into refactor/ui 2021-08-22 00:55:02 +05:30
liyasthomas
3ab3c09982 chore(deps): bump 2021-08-22 00:43:58 +05:30
liyasthomas
0fb0ae1826 refactor(ui): better tabs 2021-08-22 00:39:05 +05:30
Andrew Bastin
08fe4ae71f feat: shift based keyboard shortcuts and save as action 2021-08-21 21:59:55 +05:30
Andrew Bastin
883c787c0b fix: global variables not applying on codegen 2021-08-21 20:08:32 +05:30
Andrew Bastin
732dc07ec5 fix: history sync issues and crashes 2021-08-21 12:37:26 +05:30
Andrew Bastin
c00c8f249e fix: environments being cringe :) 2021-08-21 10:38:35 +05:30
Andrew Bastin
77d876d443 fix: error on empty environment sync 2021-08-21 08:08:39 +05:30
liyasthomas
822e7b4630 refactor: improve lighthouse score 2021-08-20 21:35:54 +05:30
liyasthomas
275a7fc113 fix: save context indicatior + added unplug save on double click 2021-08-20 20:21:22 +05:30
Andrew Bastin
b08b06c4d4 fix: save request context set on teams 2021-08-20 18:27:52 +05:30
liyasthomas
7082eb27db refactor(ui): minor ui improvements 2021-08-20 15:08:54 +05:30
liyasthomas
a121445b1e feat: active request indication in collections 2021-08-19 23:15:10 +05:30
liyasthomas
95547108bf docs: updated wiki links 2021-08-19 22:38:50 +05:30
Andrew Bastin
fc4e945a7e refactor: reactive stream of save context 2021-08-19 19:38:32 +05:30
Andrew Bastin
1fdb6488fd feat: save request context 2021-08-19 12:06:56 +05:30
liyasthomas
51142e5c77 feat: added docs links 2021-08-19 11:46:22 +05:30
liyasthomas
57ce7ccfdf chore: i18n 2021-08-19 01:38:30 +05:30
liyasthomas
c1ce90dad0 feat: finish new i18n translation format 2021-08-19 00:10:57 +05:30
liyasthomas
ceb8bdf0fd refactor: more i18n translation strings 2021-08-18 22:17:31 +05:30
liyasthomas
b9c233cdf9 refactor(ui): better remove, delete icons, and select components 2021-08-18 13:30:01 +05:30
liyasthomas
4f5de51104 refactor: change default env name from 'global' to 'Global' 2021-08-18 10:44:58 +05:30
liyasthomas
c949783698 feat: show global envs on hover 2021-08-18 10:34:20 +05:30
Andrew Bastin
6af42e5e08 fix: issues with global environment writes 2021-08-18 09:52:13 +05:30
liyasthomas
f312ed32be refactor(ui): global environment 2021-08-18 02:29:05 +05:30
Andrew Bastin
91fee8d2d0 refactor: remove legacy global env preRequest reference 2021-08-17 14:51:10 +05:30
Andrew Bastin
c23a4bf75d feat: aggregated environment variable stream 2021-08-17 14:51:10 +05:30
Andrew Bastin
e38af0bebe feat: firestore sync for global environment 2021-08-17 14:51:10 +05:30
Andrew Bastin
b968756be2 feat: global env variable migration and local persistence 2021-08-17 14:51:10 +05:30
Andrew Bastin
ed5b4b6dc5 refactor: custom space for global variables 2021-08-17 14:51:10 +05:30
liyasthomas
956ca44ef0 refactor: remove absolute classes 2021-08-17 12:56:36 +05:30
Andrew Bastin
3534e133af fix: eslint being dumb 2021-08-17 10:25:27 +05:30
Andrew Bastin
7744e2eb03 feat: add success test descriptions 2021-08-17 10:05:19 +05:30
Andrew Bastin
078c5e8d8a refactor: update postwomanTesting to typescript 2021-08-17 09:06:04 +05:30
liyasthomas
6c3607d7e7 refactor: i18n 2021-08-16 23:15:06 +05:30
liyasthomas
c04435108b refactor: i18n SEO 2021-08-16 22:02:18 +05:30
liyasthomas
e5c8d05850 feat: added remaining i18n translations 2021-08-16 17:06:43 +05:30
liyasthomas
bf0278aa00 feat: init i18n with gitlocalize 2021-08-16 14:18:45 +05:30
Liyas Thomas
33d05eaa77 Merge pull request #1779 from hoppscotch/gitlocalize-16541 2021-08-16 14:11:19 +05:30
mt-gitlocalize
5b074409fc Translate zh.json via GitLocalize 2021-08-16 08:41:02 +00:00
Liyas Thomas
bdc3cf2150 Merge pull request #1778 from hoppscotch/gitlocalize-16540 2021-08-16 14:03:57 +05:30
mt-gitlocalize
c3b7d45502 Translate pt.json via GitLocalize 2021-08-16 08:33:36 +00:00
Liyas Thomas
2ef4bc1b36 Merge pull request #1777 from hoppscotch/gitlocalize-16539 2021-08-16 14:02:58 +05:30
mt-gitlocalize
2f87549dac Translate ru.json via GitLocalize 2021-08-16 08:32:35 +00:00
Liyas Thomas
c596012bb5 Merge pull request #1776 from hoppscotch/gitlocalize-16538 2021-08-16 13:57:43 +05:30
mt-gitlocalize
04c6faf5da Translate de.json via GitLocalize 2021-08-16 08:27:25 +00:00
Liyas Thomas
b2f50547a9 Merge pull request #1775 from hoppscotch/gitlocalize-16537 2021-08-16 13:48:39 +05:30
mt-gitlocalize
e221741a6a Translate fr.json via GitLocalize 2021-08-16 08:17:15 +00:00
Liyas Thomas
fe43ae9e81 Merge pull request #1774 from hoppscotch/gitlocalize-16536 2021-08-16 13:37:02 +05:30
mt-gitlocalize
c5d4b9f0ae Translate es.json via GitLocalize 2021-08-16 08:05:48 +00:00
liyasthomas
b9156cdf7f refactor: init english glossary for i18n 2021-08-16 13:11:50 +05:30
liyasthomas
c6a3b784b5 fix: proper state indicatior in teams collections 2021-08-16 08:18:48 +05:30
Andrew Bastin
33e2afab7b feat: send formdata over network 2021-08-16 07:12:33 +05:30
Andrew Bastin
5eb6fb38e0 fix: crash on switch from formdata to non-formdata 2021-08-16 01:00:44 +05:30
liyasthomas
c2ae333a12 refactor(ui): better CTAs, expanded app bar 2021-08-16 00:38:57 +05:30
liyasthomas
d462242927 chore(deps): bump 2021-08-15 19:16:31 +05:30
liyasthomas
c1d2f12e48 Merge branch 'main' into refactor/ui 2021-08-15 19:11:00 +05:30
liyasthomas
74d472e76e chore(deps): bump 2021-08-15 19:06:20 +05:30
liyasthomas
bfc0282e49 refactor: minor ui improvements 2021-08-15 15:18:04 +05:30
liyasthomas
8c70f83297 fix: broken contenteditable support in macOS 2021-08-15 13:11:12 +05:30
liyasthomas
1e6e826426 fix: broken expand / collapse graphql history card 2021-08-15 12:16:33 +05:30
liyasthomas
872ba2d48e fix: catch network failed error and show prompt in response section 2021-08-15 11:57:20 +05:30
Andrew Bastin
7acde1c174 feat: rest request sync with firestore 2021-08-15 10:45:26 +05:30
liyasthomas
bb6d9a88ec refactor: minoe fixes and improvements 2021-08-14 23:46:03 +05:30
liyasthomas
29305a8e1e Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-08-14 21:41:38 +05:30
liyasthomas
9f639378ec feat: reactive font size for ace editor + i18n support for font size settings strings 2021-08-14 21:40:56 +05:30
Andrew Bastin
92a42269e7 refactor: remove vuex dependency 2021-08-14 21:27:22 +05:30
liyasthomas
691629890f fix: form data request as body
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-08-14 19:11:05 +05:30
liyasthomas
2051b8788a refactor: minor ui improvements 2021-08-14 16:14:08 +05:30
liyasthomas
a129d7eb13 refactor: init newstore for request body
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-08-14 14:31:16 +05:30
liyasthomas
e9eee0703d refactor: set placement as top by edfault for modals, better response header layout 2021-08-13 22:39:47 +05:30
liyasthomas
11816111ea refactor(ui): better font weight, icon hover states, etc 2021-08-13 16:44:02 +05:30
Andrew Bastin
08e3cffff8 refactor: decouple REST params and URL params 2021-08-13 12:12:05 +05:30
Andrew Bastin
ab63735a89 fix: bump deps 2021-08-13 12:00:22 +05:30
Andrew Bastin
560c6e0d6a refactor: add prettier-ignore to Key type def 2021-08-13 10:23:40 +05:30
Andrew Bastin
f688099f2c fix: improper theme application on initial load 2021-08-13 08:11:06 +05:30
liyasthomas
877f1e343a Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-08-12 18:42:11 +05:30
liyasthomas
32660c5251 refactor: move test results to request response section 2021-08-12 18:41:55 +05:30
Andrew Bastin
a1dc224007 feat: graphql request history and collection restore 2021-08-12 16:15:17 +05:30
liyasthomas
55bcb34fd5 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-08-12 13:56:51 +05:30
liyasthomas
b18f7af28f feat: enable / disable authorization 2021-08-12 13:56:11 +05:30
Andrew Bastin
c273ded97d refactor: remove vue-rx dependency 2021-08-12 13:44:10 +05:30
liyasthomas
971b35a252 refactor: auth
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-08-12 09:56:05 +05:30
Andrew Bastin
dad18aabcb feat: expose actively bound actions via activeActions$ 2021-08-11 22:07:47 +05:30
liyasthomas
0738ad1c15 refactor: better toast messages + minor ui improvements 2021-08-11 16:57:40 +05:30
liyasthomas
829e116e04 feat: more actions & shortcuts 2021-08-11 14:16:43 +05:30
liyasthomas
384e4ce43e chore: lint 2021-08-11 10:27:36 +05:30
Andrew Bastin
da3f55c910 feat: graphql rewrite to new state system 2021-08-11 08:23:49 +05:30
liyasthomas
87833f1e9f fix: broken team's add / edit member action 2021-08-10 20:45:57 +05:30
liyasthomas
ba5d1666d6 feat: placement option (center, top) in modals 2021-08-10 20:45:45 +05:30
liyasthomas
b612feea41 feat: search 2021-08-10 13:46:42 +05:30
Andrew Bastin
da74fb5241 refactor: remove nuxt eslint module 2021-08-10 05:27:34 +05:30
liyasthomas
aa8b4231e2 feat: share and support modals 2021-08-09 17:55:30 +05:30
Andrew Bastin
6b4bd44807 Merge pull request #1769 from s-r-x/fix/settings-persistence
fix: broken settings persistence on the home page
2021-08-09 13:34:20 +05:30
Andrew Bastin
058c1090e3 fix: remove settings entries from postwoman.js 2021-08-09 12:56:20 +05:30
s-r-x
6aa6fb5c0a fix: broken settings persistence 2021-08-09 09:07:17 +05:00
liyasthomas
cbf99d2daf feat: auto focus directive, auto focus primary action by default 2021-08-08 22:44:05 +05:30
liyasthomas
a71f70644f chore(deps): bump 2021-08-08 20:47:50 +05:30
liyasthomas
b41d08007a Merge branch 'main' into refactor/ui 2021-08-08 19:52:39 +05:30
liyasthomas
0e1900b36a chore(deps): bump 2021-08-08 19:49:06 +05:30
Andrew Bastin
e6c503253b fix: firebase imports to allow tree shaking 2021-08-08 13:25:54 +05:30
Andrew Bastin
846c1426cf fix: proper implementation of isCustomMethod 2021-08-08 13:16:14 +05:30
Andrew Bastin
c97f8aa148 fix: cancel request 2021-08-08 13:08:10 +05:30
liyasthomas
b99c4fe5c1 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-08-08 12:42:44 +05:30
liyasthomas
42d2dd284f refactor(ui): title and actions slot on modals 2021-08-08 12:42:29 +05:30
Andrew Bastin
b7e3f2a4ee feat: reimplement request time loading bar 2021-08-08 12:41:52 +05:30
Andrew Bastin
6599c5f5bf feat: introduce useNuxt composable 2021-08-08 12:39:02 +05:30
Andrew Bastin
13f6e5ff43 fix: remove keydown log 2021-08-08 12:13:59 +05:30
liyasthomas
4d76c83328 refactor: improved input validations 2021-08-08 12:01:36 +05:30
liyasthomas
fee19f3d7a Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-08-07 19:19:49 +05:30
Andrew Bastin
200fc738e8 fix: remove unused focus listeners in keybindings 2021-08-07 19:18:55 +05:30
Andrew Bastin
05294ac556 fix: remove unused focus listeners in keybindings 2021-08-07 18:51:14 +05:30
Andrew Bastin
93dfed74f8 feat: singlecharacter shortcuts 2021-08-07 18:43:38 +05:30
liyasthomas
3d963a7719 feat: floating input label 2021-08-07 14:51:13 +05:30
liyasthomas
92abbc4ce6 Merge branch 'main' into refactor/ui 2021-08-07 11:28:39 +05:30
Liyas Thomas
d111893302 Merge pull request #1766 from hughobrien/fix-well-known
fix: bad var names from oauth well.known config
2021-08-07 11:23:49 +05:30
Hugh O'Brien
967ad773eb Update oauth.js 2021-08-07 06:29:49 +01:00
Liyas Thomas
b036863dda Merge pull request #1765 from hughobrien/fix-oauth-param-names 2021-08-07 10:31:59 +05:30
Hugh O'Brien
ead9c23d9e fix: oauth token exchange param naming convention
https://developer.okta.com/docs/guides/implement-auth-code-pkce/exchange-code-token/
2021-08-07 05:48:44 +01:00
liyasthomas
8c60a4c032 refactor(ui): sort classes 2021-08-07 09:07:26 +05:30
liyasthomas
d08f15430c Merge branch 'main' into refactor/ui 2021-08-06 23:39:03 +05:30
Liyas Thomas
f71d93a684 Merge pull request #1762 from hughobrien/oauth-pkce-paramname-fix
fix: pkce params match rfc naming convention
2021-08-06 23:23:10 +05:30
Hugh O'Brien
44d1ad7422 fix: pkce params match okta naming convension 2021-08-06 18:45:09 +01:00
liyasthomas
346ece94b7 refactor(ui): a11y improvements 2021-08-06 21:40:26 +05:30
liyasthomas
3a96eb003b refactor(ui): group windi classes 2021-08-05 22:52:02 +05:30
liyasthomas
3bd78869a0 fix: responsiveness 2021-08-05 21:29:05 +05:30
liyasthomas
4b416586b7 fix: build 2021-08-05 19:43:46 +05:30
liyasthomas
20ffbe906f fix: sse, refactor(ui): tabs, feat: help button 2021-08-05 11:06:37 +05:30
liyasthomas
b2baeb0a5d fix(ui): realtime pages 2021-08-04 22:07:12 +05:30
Andrew Bastin
b524af174a feat: disable keybindings when a modal is open 2021-08-04 10:48:41 -04:00
liyasthomas
a4caeac584 refactor(ui): better select popovers 2021-08-04 11:20:23 +05:30
liyasthomas
b03565a816 fix: broken sticky sections on font size 2021-08-04 01:00:06 +05:30
liyasthomas
d0c0a543cf feat: font size picker 2021-08-03 21:35:01 +05:30
liyasthomas
17192c898b refactor(ui): teams 2021-08-03 16:50:28 +05:30
liyasthomas
7d913b0ee7 fix: build - lock deps 2021-08-03 10:45:11 +05:30
liyasthomas
db4521db5a fix: build - retire storybook 2021-08-03 10:24:32 +05:30
Andrew Bastin
10b7da0558 feat: live request url under the new system 2021-08-02 17:57:13 -04:00
Andrew Bastin
05f19cbb60 fix: remove legacy code in index.vue 2021-08-02 17:57:13 -04:00
liyasthomas
6d9ac84859 fix: use build commands mentioned in Netlify UI 2021-08-03 00:29:42 +05:30
liyasthomas
d9834d0fd1 feat: more storybook stories 2021-08-03 00:23:04 +05:30
liyasthomas
d84e2a8e9b feat: storybook 2021-08-02 21:38:04 +05:30
liyasthomas
13dbeaba35 Merge branch 'refactor/ui' into feat/storybook 2021-08-02 21:00:09 +05:30
liyasthomas
b615fe7529 feat: init new i18n format 2021-08-02 20:57:18 +05:30
liyasthomas
8a268ee6de refactor(ui): improved empty state for env variables and response sections 2021-08-02 10:00:50 +05:30
liyasthomas
2ae2acc003 fix: prevent enter key on content editable 2021-08-02 09:08:37 +05:30
Andrew Bastin
13d89b323e fix: tippy not appearing on envinput when typing and then hover 2021-08-01 23:15:15 -04:00
Andrew Bastin
6acb9be48c feat: envinput revalidates with environment changes 2021-08-01 23:05:15 -04:00
liyasthomas
d9d61b5b1d feat: tooltip on hovering environment variables 2021-08-02 08:08:41 +05:30
liyasthomas
2ee65e69dc fix: color contrast 2021-08-01 23:03:54 +05:30
liyasthomas
fd3b5ecf08 feat: actions in empty state 2021-08-01 20:04:25 +05:30
liyasthomas
6d67b1e51f chore(deps): bump 2021-08-01 20:03:27 +05:30
liyasthomas
79cea34fac Merge branch 'main' into refactor/ui 2021-08-01 18:19:40 +05:30
liyasthomas
b0b758a9c6 chore(deps): bump 2021-08-01 18:18:30 +05:30
liyasthomas
462d17de17 feat: auto increment headers and parameters list on input 2021-08-01 15:01:31 +05:30
liyasthomas
9afe415c2d feat: indicated valid and invalid environment variables with its value on hover 2021-08-01 14:42:32 +05:30
liyasthomas
1e4bb65db2 feat: environment aware smart input in parameters and headers 2021-08-01 13:07:07 +05:30
Andrew Bastin
fcb194d08a feat: effective url environment templates work with headers, url and params 2021-07-31 22:21:14 -04:00
Andrew Bastin
7354951d5a refactor: move Request.vue to composition api fully 2021-07-31 21:21:09 -04:00
Andrew Bastin
369bca90fc feat: use navigator clipboard to copy text is possible 2021-07-31 20:43:17 -04:00
liyasthomas
5275d365cb feat: selectable response headers entry 2021-08-01 00:11:45 +05:30
liyasthomas
e2fc056488 feat: make smart url feild the default input 2021-07-31 23:58:34 +05:30
liyasthomas
98d2b2ee9c feat: supported copy to clipboard utlity 2021-07-31 22:50:08 +05:30
Andrew Bastin
9441c76a12 fix: fix copy request link 2021-07-31 11:42:01 -04:00
liyasthomas
1ef7b52425 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-07-31 21:04:16 +05:30
liyasthomas
d88725b998 fix: inconsistent icon size 2021-07-31 21:04:03 +05:30
Andrew Bastin
a48ca25fa2 fix: and redeclaration 2021-07-31 11:32:50 -04:00
Andrew Bastin
28d636fa0d fix: update Netlify build Node version to 14 2021-07-30 23:39:50 -04:00
liyasthomas
2904084853 refactor: tests and results section 2021-07-31 00:51:41 +05:30
liyasthomas
a1eac2f348 refactor: cleanup documentation page 2021-07-30 21:06:25 +05:30
liyasthomas
203b45f4d5 refactor: cleanup 2021-07-30 13:52:43 +05:30
liyasthomas
2891da3c74 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-07-30 13:15:10 +05:30
Andrew Bastin
09d552b17a fix: fix cancel request issues and stream setup issues 2021-07-29 22:44:43 -04:00
Andrew Bastin
b524fa7248 feat: revamped keybinding implementation 2021-07-29 22:13:06 -04:00
Andrew Bastin
e138a5f846 fix: typescript error on clipboard 2021-07-29 18:13:17 -04:00
liyasthomas
82a5f56522 Merge branch 'main' into refactor/ui 2021-07-29 09:46:06 +05:30
liyasthomas
4f71e801d5 refactor(ui): minor improvements on buttons and actions 2021-07-28 22:23:43 +05:30
Andrew Bastin
d5cb9f135f fix: null reference when parsing error responses (fixes #1749) 2021-07-28 00:47:52 -04:00
liyasthomas
1a4d3dc91a feat: refactor modal component 2021-07-28 01:08:11 +05:30
liyasthomas
78fccc8583 feat: migrate all copy to clipboard actions to v-clipboard 2021-07-27 18:17:41 +05:30
liyasthomas
37ad8e08fc fix: build 2021-07-26 21:53:59 +05:30
liyasthomas
e60e8545a1 refactor(ui): better color schemes and empty states 2021-07-26 21:39:39 +05:30
liyasthomas
5258db345e refactor(ui): remaining realtime pages 2021-07-26 12:40:02 +05:30
liyasthomas
c3921bebf2 fix: proper padding and margins 2021-07-26 09:08:06 +05:30
liyasthomas
08d1f01e8e Merge branch 'main' into refactor/ui 2021-07-26 07:54:53 +05:30
liyasthomas
8bf9a1e821 chore(deps): bump 2021-07-26 07:52:15 +05:30
liyasthomas
8debb65d89 refactor(ui): better rendering with Inter font 2021-07-26 01:33:32 +05:30
liyasthomas
397cab9032 Merge branch 'main' into refactor/ui 2021-07-25 21:35:29 +05:30
liyasthomas
449c87802f chore(deps): bump 2021-07-25 18:41:26 +05:30
liyasthomas
3862a926ab fix: minor color scheme inconsistencies 2021-07-25 16:23:29 +05:30
liyasthomas
56c2e1094d refactor: wire remaining request actions 2021-07-25 11:15:53 +05:30
Andrew Bastin
4508e309c2 fix: fix typescript issues 2021-07-24 17:45:48 -04:00
liyasthomas
f0aaca2639 feat: slideover menus, minor ui fixes 2021-07-24 22:16:48 +05:30
liyasthomas
4c2a9c1229 refactor: types 2021-07-24 16:28:32 +05:30
liyasthomas
4de55c39dd refactor: graphql page to new ui 2021-07-24 14:10:28 +05:30
liyasthomas
84b94f3091 fix: minor input stylings 2021-07-24 11:23:10 +05:30
Liyas Thomas
2e94969a41 fix: uniform inputs 2021-07-23 19:12:31 +00:00
Liyas Thomas
09eabbdcea Merge branch 'main' into refactor/ui 2021-07-23 18:28:37 +00:00
Liyas Thomas
233214cb30 refactor: move actions from app header to app footer 2021-07-23 18:28:07 +00:00
liyasthomas
f694f1ad36 refactor: init new state for body 2021-07-23 00:07:39 +05:30
Andrew Bastin
dd004c921e fix: fix test script lint errors 2021-07-22 01:24:08 -04:00
Andrew Bastin
8597c04ff1 feat: test script and pre-request script wiring 2021-07-21 23:56:39 -04:00
Andrew Bastin
5f5f086dfc feat: fix loading state disappearing 2021-07-21 17:43:15 -04:00
liyasthomas
04cd5b0981 feat: zenmode + toggle left, right & header panes 2021-07-21 15:25:46 +05:30
liyasthomas
22772ac10f feat: migrate pre-request script, test script, settings to nuxt composition 2021-07-21 10:50:20 +05:30
liyasthomas
d4234f0837 fix: nullable analytic events 2021-07-21 10:15:29 +05:30
liyasthomas
982f467572 fix: remove unused deps 2021-07-21 09:02:37 +05:30
Andrew Bastin
f4ffb8e357 feat: move pre request script to new state system 2021-07-20 23:27:06 -04:00
Andrew Bastin
cd908ae1b2 feat: parse and run REST request params
* package-lock.json:
2021-07-20 19:12:04 -04:00
Andrew Bastin
1573ddad1b feat: initial attempt at restoring codegen 2021-07-20 19:12:04 -04:00
liyasthomas
2ace83bcaf fix: minor UI styling 2021-07-20 15:59:30 +05:30
liyasthomas
88ccda8fd1 feat: shortcuts indicator toggle 2021-07-19 22:12:56 +05:30
liyasthomas
ae8cf656a3 Merge branch 'refactor/codegen' into refactor/ui 2021-07-19 19:23:17 +05:30
liyasthomas
68c00433f5 refactor(ui): introduce landing page + minor fixes 2021-07-19 18:42:33 +05:30
liyasthomas
f1ad7b9ef5 chore(deps): bump 2021-07-18 20:41:51 +05:30
liyasthomas
27cf8660d8 Merge remote-tracking branch 'origin/main' into refactor/ui 2021-07-18 20:40:41 +05:30
liyasthomas
7105e7a86f chore(deps): bump 2021-07-18 20:37:06 +05:30
liyasthomas
e52ed7a5ce refactor(ui): minor inconsistency fixes 2021-07-18 18:53:51 +05:30
liyasthomas
393e6896ec refactor(ui): more pages 2021-07-18 13:17:58 +05:30
liyasthomas
6ebfb1f109 feat: init codegen state 2021-07-18 10:03:52 +05:30
liyasthomas
590c21209c refactor(ui): sort windicss classes 2021-07-17 23:10:28 +05:30
liyasthomas
e7b58b27e8 feat: init storybook 2021-07-16 20:35:15 +05:30
liyasthomas
a2a9bae0e3 refactor(ui): minor stylings 2021-07-16 20:34:35 +05:30
liyasthomas
3ef8e677c7 fix: wire response + init error handling 2021-07-15 09:40:45 +05:30
Andrew Bastin
86c9e09782 fix: theme flicker 2021-07-14 22:29:11 -04:00
liyasthomas
fa8662f17d Merge remote-tracking branch 'origin/main' into refactor/ui 2021-07-15 06:33:31 +05:30
Andrew Bastin
dcf34ea92c feat: pass headers to the ran request 2021-07-14 15:36:15 -04:00
Andrew Bastin
9ece8adda8 feat: response size and duration metrics 2021-07-14 14:54:53 -04:00
Liyas Thomas
c302f7e1a9 Merge pull request #1742 from s-r-x/fix/nil-response-time
fix: undefined duration
2021-07-14 12:51:09 +05:30
s-r-x
2907d69dfc fix: undefined duration 2021-07-14 10:55:57 +05:00
liyasthomas
eeddb6a97e fix: proper key for v-for loops 2021-07-14 05:19:08 +05:30
liyasthomas
7ec8539540 feat: new components and UI improvements 2021-07-13 22:07:01 +05:30
liyasthomas
5e740a6ed6 refactor(ui): minor stylings 2021-07-13 12:48:57 +05:30
liyasthomas
a4032836c3 feat: init new response state system 2021-07-13 11:07:29 +05:30
Andrew Bastin
ffc891f38e feat: add header session store fields and dispatchers 2021-07-12 20:17:13 -04:00
liyasthomas
93ea80a3e3 feat: init request state management 2021-07-12 09:11:55 +05:30
liyasthomas
68ff422a5f Merge remote-tracking branch 'origin/main' into refactor/ui 2021-07-12 07:05:29 +05:30
Andrew Bastin
54d21c4950 feat: url and params rewrite index.vue 2021-07-11 21:33:11 -04:00
Liyas Thomas
bfd9327e74 fix: raw <=> key-value toggle button 2021-07-12 01:21:40 +00:00
liyasthomas
498d0e18b9 Merge remote-tracking branch 'origin/main' into refactor/ui 2021-07-12 04:22:21 +05:30
liyasthomas
b5e524e513 refactor: remaining sections stylings 2021-07-12 04:20:00 +05:30
Liyas Thomas
c512c8d297 chore(deps): bump 2021-07-11 14:39:52 +00:00
liyasthomas
2e092d34a6 refactor: minor input stylings 2021-07-10 23:38:35 +05:30
liyasthomas
d94c8aec51 refactor: request section 2021-07-10 18:45:39 +05:30
liyasthomas
c7062ad613 refactor: modals 2021-07-09 22:49:45 +05:30
liyasthomas
08d0765cfb Merge remote-tracking branch 'origin/main' into refactor/ui 2021-07-09 13:11:12 +05:30
liyasthomas
1f0a3e97ae refactor: gql docs 2021-07-09 13:09:52 +05:30
Andrew Bastin
36745d79db feat: add page view to telemetry 2021-07-08 23:39:07 -04:00
liyasthomas
c6490818d0 feat: revamp graphql sidebar ui 2021-07-08 23:42:15 +05:30
liyasthomas
f1ef403c83 Merge remote-tracking branch 'origin/main' into refactor/ui 2021-07-08 14:03:41 +05:30
liyasthomas
cad7ecf760 feat: ask confirmation for telmetry 2021-07-08 14:00:18 +05:30
liyasthomas
8f7fcfa147 perf: even 2021-07-08 13:46:43 +05:30
liyasthomas
a3bde5797a Merge remote-tracking branch 'origin/main' into refactor/ui 2021-07-08 13:44:00 +05:30
liyasthomas
a070bed7c9 feat: revamp environments ui 2021-07-08 13:36:37 +05:30
liyasthomas
207dc2b6a6 feat: revamp collections ui 2021-07-08 13:00:41 +05:30
liyasthomas
fee0a8cec1 feat: ask confirmation for telmetry 2021-07-08 09:20:41 +05:30
Liyas Thomas
6635d449a5 feat: history section 2021-07-07 23:28:42 +00:00
Andrew Bastin
99b1699ade feat: disable telemetry calls if disabled 2021-07-07 16:40:31 -04:00
liyasthomas
20d38e247b feat: enable telemetry toggle button 2021-07-07 06:30:49 +05:30
Liyas Thomas
7c8ab6fd4a perf: even 2021-07-06 18:18:07 +00:00
Liyas Thomas
7bb570cdc7 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-07-06 18:13:49 +00:00
Liyas Thomas
fc5a5aad8d feat: init split layouts 2021-07-06 18:00:39 +00:00
Liyas Thomas
93d373c032 refactor(ui): popovers 2021-07-06 18:00:39 +00:00
Liyas Thomas
fde5b0717d fix: button icons 2021-07-06 18:00:39 +00:00
Liyas Thomas
069b26bdc4 feat: settings page 2021-07-06 18:00:39 +00:00
Liyas Thomas
8f3e4cfdba feat: refactor buttons 2021-07-06 18:00:39 +00:00
Liyas Thomas
ba7f5d3dc3 feat: tooltip and popover components 2021-07-06 18:00:39 +00:00
Liyas Thomas
42ce183510 feat: landing page + smart components 2021-07-06 18:00:39 +00:00
liyasthomas
977bad2156 refactor: init packages 2021-07-06 18:00:39 +00:00
Liyas Thomas
fd4f49cf8e refactor: settings page + ui components 2021-07-06 18:00:39 +00:00
Liyas Thomas
1b540c0e57 feat: refactor buttons 2021-07-06 18:00:39 +00:00
Liyas Thomas
0e443b3a43 feat: tooltip and popover components 2021-07-06 18:00:38 +00:00
Liyas Thomas
eaf0da3d00 feat: users section 2021-07-06 18:00:38 +00:00
Liyas Thomas
dd41ac3888 feat: landing page + smart components 2021-07-06 18:00:38 +00:00
liyasthomas
a0e26c6c4f refactor: init packages 2021-07-06 18:00:38 +00:00
liyasthomas
6ac7ce2c73 chore(deps): bump 2021-07-06 18:00:38 +00:00
Andrew Bastin
7b3dd697bb feat: pass theme data to analytics 2021-07-06 08:30:48 -04:00
Andrew Bastin
48e562dcee feat: theme syncing 2021-07-06 08:20:37 -04:00
Andrew Bastin
86bd4aa568 feat: add analytics logging while hoppscotch requests are fired 2021-07-05 21:47:48 -04:00
Liyas Thomas
ed91486d53 refactor(ui): popovers 2021-07-05 16:52:15 +00:00
Andrew Bastin
913b073ba4 feat: add initial analytics implementation 2021-07-05 12:45:10 -04:00
Andrew Bastin
b1418c081c feat: auth event subject 2021-07-05 12:44:43 -04:00
Andrew Bastin
6b373bee47 feat: update env with FB_MEASUREMENT_ID 2021-07-05 12:42:44 -04:00
Liyas Thomas
256d4b3e07 fix: button icons 2021-07-05 12:56:00 +00:00
Liyas Thomas
dc5a09bebc feat: settings page 2021-07-05 05:08:03 +00:00
Liyas Thomas
ababd79da2 Merge branch 'refactor/ui' of https://github.com/hoppscotch/hoppscotch into refactor/ui 2021-07-04 17:12:15 +00:00
Liyas Thomas
5e21210962 refactor: settings page + ui components 2021-07-04 17:00:30 +00:00
Liyas Thomas
3e3da2f27b feat: refactor buttons 2021-07-04 17:00:30 +00:00
Liyas Thomas
b55439ce44 feat: tooltip and popover components 2021-07-04 17:00:30 +00:00
Liyas Thomas
ff791098d8 feat: users section 2021-07-04 17:00:29 +00:00
Liyas Thomas
5abf837e95 feat: landing page + smart components 2021-07-04 17:00:29 +00:00
liyasthomas
6bcf1a3522 refactor: init packages 2021-07-04 17:00:29 +00:00
liyasthomas
b0f055567d chore(deps): bump 2021-07-04 22:27:18 +05:30
Liyas Thomas
1ee2fecbc2 feat: refactor buttons 2021-07-03 13:14:58 +00:00
Liyas Thomas
04b0cd2d3b feat: tooltip and popover components 2021-07-02 16:30:08 +00:00
Liyas Thomas
0439e6811b feat: users section 2021-07-02 08:55:03 +00:00
Liyas Thomas
a130cfcadb feat: landing page + smart components 2021-07-02 05:01:29 +00:00
Liyas Thomas
77fcc14043 Merge pull request #1737 from s-r-x/fix/duplicate-input-id
fix: duplicated input ids
2021-07-02 04:58:22 +05:30
liyasthomas
fb93db6ad4 refactor: init packages 2021-07-01 22:09:11 +05:30
s-r-x
47cf321eba fix: duplicated input ids 2021-07-01 15:10:51 +05:00
Liyas Thomas
b0ab1b048d refactor(ui): better GitHub buttons 2021-06-30 17:23:48 +00:00
liyasthomas
aaec87d7be docs: updated readme 2021-06-30 20:26:11 +05:30
liyasthomas
3198bc6b2c chore(deps): bump 2021-06-30 14:53:15 +05:30
liyasthomas
60be228c33 Merge branch 'refactor/sponsors' of https://github.com/hoppscotch/hoppscotch into refactor/sponsors 2021-06-30 14:27:38 +05:30
liyasthomas
22c3ffcc02 chore: removed sponsorship prompts 2021-06-30 14:21:16 +05:30
liyasthomas
b750ccd46f refactor: better implimentation for slots 2021-06-30 14:16:02 +05:30
liyasthomas
0dd0d262d6 Merge branch 'refactor/code' 2021-06-29 17:07:46 +05:30
liyasthomas
9a83938c75 refactor: better icon button states 2021-06-29 17:04:02 +05:30
liyasthomas
9b5b3cc202 ci: enforce commitlint + skip build on tests 2021-06-29 06:50:38 +05:30
liyasthomas
729f341164 fix: remove stale state file 2021-06-29 06:37:42 +05:30
liyasthomas
d5c5fb7435 refactor: better error prompts 2021-06-28 17:28:22 +05:30
liyasthomas
01b8001d4c chore: removed sponsorship prompts 2021-06-28 17:27:03 +05:30
liyasthomas
3992650fd6 fix: remove stale default environments state - fixed #1735 2021-06-28 08:48:07 +05:30
liyasthomas
a2354b5e9e feat: added commitlint, semantic pr 2021-06-28 00:24:16 +05:30
liyasthomas
43b7e94974 feat: setup firebase hosting for prod 2021-06-27 12:06:57 +05:30
Liyas Thomas
cdfce9e2b8 refactor: class names 2021-06-26 10:41:19 +00:00
Liyas Thomas
9bd86f0564 fix: minor stylings fixes 2021-06-26 00:19:42 +00:00
Liyas Thomas
1c0b5b25ed Merge pull request #1734 from hoppscotch/feat/windicss
feat: remove tailwindcss + introduce windicss
2021-06-26 05:21:13 +05:30
Liyas Thomas
6d33132705 feat: remove tailwindcss + introduce windicss 2021-06-25 23:44:27 +00:00
liyasthomas
3e5629e738 fix: typo 2021-06-21 16:39:51 +05:30
liyasthomas
41eb4f8395 refactor(ui): minor font tweaks 2021-06-21 16:31:40 +05:30
liyasthomas
6ddff58ba5 feat: better route determination - fixed #1732 2021-06-21 15:33:51 +05:30
liyasthomas
5bb9b1b675 chore: bump deps 2021-06-21 15:32:23 +05:30
Andrew Bastin
f4f29b8520 Fix localStorage usage 2021-06-21 00:27:45 -04:00
Andrew Bastin
257e2db651 Add no localstorage rule 2021-06-20 23:27:05 -04:00
liyasthomas
a853c13bcd Merge branch 'newstate/firebase' 2021-06-20 19:09:59 +05:30
liyasthomas
96c23200f7 chore: bump deps 2021-06-20 18:06:20 +05:30
Andrew Bastin
7c2becd3a4 Merge remote-tracking branch 'upstream/main' into newstate/firebase 2021-06-19 20:41:25 -04:00
Andrew Bastin
a85729b4cf Fix firebase reinitialization crash 2021-06-19 20:36:23 -04:00
Liyas Thomas
bd3cec18d8 Merge pull request #1727 from d4v3y0rk/patch-1 2021-06-20 05:47:23 +05:30
Dave York
7dcd96350a Cleaner Docker run command
added two flags to the docker run command to clean up the container after it has been run and also assign it a name to help manage it while it is running.
2021-06-19 12:09:03 -04:00
Ilya
2e1c0ae77a fix: janky sidebar animation (#1726) 2021-06-18 11:56:27 +05:30
liyasthomas
6a6754c7da feat: active toggle for web socket protocols 2021-06-18 10:45:48 +05:30
Andrew Bastin
1fb2c35984 Handle error.vue initializeFirebase 2021-06-17 08:22:59 -04:00
Andrew Bastin
02d3b45efc Added settings observable 2021-06-16 22:35:53 -04:00
Andrew Bastin
4ce7f0b487 Remove redudant applySettingFB 2021-06-16 22:33:17 -04:00
liyasthomas
3559d98df1 chore: lint 2021-06-16 19:13:07 +05:30
Liyas Thomas
0a4251825b feat: Sec-WebSocket-Protocol header on WebSocket connections - resolved #1620 2021-06-15 14:44:23 +00:00
Liyas Thomas
499cd9d81b Merge pull request #1723 from s-r-x/fix/broken-gql-col-req-edit 2021-06-15 18:24:52 +05:30
Liyas Thomas
10a6b96f13 Merge branch 'main' into fix/broken-gql-col-req-edit 2021-06-15 18:15:40 +05:30
Liyas Thomas
4e3d9187f7 Merge pull request #1721 from s-r-x/fix/modal-overlay-mouseup
fix: modal backdrop click
2021-06-15 18:13:02 +05:30
Andrew Bastin
0921cccb4c Reset save req selection when selected item is deleted 2021-06-15 08:26:01 -04:00
s-r-x
07a505c365 fix: broken gql collection request editor 2021-06-15 15:25:19 +05:00
s-r-x
c3411ba0cf fix: do not close modal if mousedown event was on the content but mouseup on the backdrop 2021-06-15 14:28:10 +05:00
Liyas Thomas
5246284e32 refactor(ci): minor optimizations 2021-06-15 08:40:03 +00:00
Ilya
5fe8fce89d refactor: modals (#1720)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-06-15 13:48:38 +05:30
liyasthomas
0cedc9ed51 chore: remove unused code 2021-06-15 06:34:21 +05:30
Liyas Thomas
7cbb61bdf8 chore(deps): bump 2021-06-14 15:43:21 +00:00
Andrew Bastin
b357dc8e2f Fix history sync issues 2021-06-14 09:24:46 -04:00
Andrew Bastin
f745fef6c2 Fix enter.vue firebase not loaded 2021-06-14 08:40:39 -04:00
Andrew Bastin
dfe810fff4 Fix Sign In With Github 2021-06-14 08:35:53 -04:00
liyasthomas
111a947413 feat: minor ui tweaks 2021-06-14 09:55:27 +05:30
Andrew Bastin
85c6932f8f Initial Firebase refactor pass 2021-06-14 00:11:57 -04:00
liyasthomas
ced2f1b911 feat: introduce animations 2021-06-13 20:31:42 +05:30
liyasthomas
685f9d506d chore(deps): bump 2021-06-13 16:25:22 +05:30
liyasthomas
34cd604a91 refactor(ui): minor ux improvements 2021-06-13 16:24:29 +05:30
liyasthomas
2ffd0be03f refactor(ui): better color names 2021-06-12 22:16:17 +05:30
liyasthomas
58296505a8 feat: show and hide sidebar - fixed #1716 2021-06-12 16:40:12 +05:30
Andrew Bastin
779f5e9af4 Merge pull request #1710 from hoppscotch/feat/email-auth
Passwordless sign in with email address
2021-06-11 01:14:06 -04:00
Andrew Bastin
2351f64e6f Merge branch 'main' into feat/email-auth 2021-06-11 01:10:19 -04:00
liyasthomas
03987da05b refactor: better ui + ux for email sign in 2021-06-11 10:29:52 +05:30
Andrew Bastin
07e2cb5cd9 Email login toast improvements 2021-06-11 00:25:58 -04:00
Andrew Bastin
9b43f9a40c Close email modal on login complete 2021-06-10 23:57:29 -04:00
liyasthomas
43b0225fba fix: broken create github gist for collections 2021-06-11 09:05:00 +05:30
Liyas Thomas
da491a2967 Merge branch 'main' into feat/email-auth 2021-06-11 05:33:16 +05:30
liyasthomas
be67986123 feat: sign in with email 2021-06-11 05:31:29 +05:30
liyasthomas
af9c7e0aff feat: add FundOSS toast 2021-06-10 19:26:03 +05:30
liyasthomas
27e061c355 setup: GitHub actions for tests and remove Travis CI 2021-06-10 11:02:24 +05:30
Liyas Thomas
da94a94d71 Merge pull request #1709 from JoelJacobStephen/main
Made changes to Black Mode to make UI elements more visible.
2021-06-09 08:52:58 +05:30
Joel Jacob Stephen
970c2e56d8 Made changes to Black Mode to make UI elements more visible. 2021-06-08 18:28:34 +05:30
liyasthomas
766c31fa56 chore: bump deps + refactor: consistent import / export modal 2021-06-07 15:22:34 +05:30
Andrew Bastin
50fa1c8f0a Fix import export for environments 2021-06-07 00:13:28 -04:00
Andrew Bastin
e361d66c88 Merge branch 'newstate/environments' into main 2021-06-06 23:12:41 -04:00
Andrew Bastin
f1203efa62 Fix firebase sync issue 2021-06-06 20:35:28 -04:00
liyasthomas
45b9f2e1bf fix: replace auto complete with drop down for content-types - fixed #1704 2021-06-06 20:56:56 +05:30
liyasthomas
538600354d chore(deps): bump 2021-06-06 16:36:02 +05:30
liyasthomas
5c9093823b chore: lint + minor ui tweaks 2021-06-06 16:35:30 +05:30
liyasthomas
7b6c4f71a2 patch: set application/json as default content-type 2021-06-06 15:52:54 +05:30
nelsontky
7e9ae69f38 fix: prevent overwrite of content type (#1703)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-06-06 03:12:50 -07:00
Andrew Bastin
ddbc9ca61b Inject globals env into pre-request scripts 2021-06-05 21:07:06 -04:00
Andrew Bastin
d9aa965069 Fix import of replaceEnvironments in fb.js 2021-06-05 20:55:51 -04:00
Andrew Bastin
6ea9d16f87 Add firebase sync code for new environment state system 2021-06-04 22:52:06 -04:00
Andrew Bastin
5bfeb541fc Initial environment state system refactor 2021-06-04 22:41:07 -04:00
liyasthomas
c3f713c0bd fix: break words on long texts - fixed #1699 2021-06-02 08:20:39 +05:30
Liyas Thomas
97979a6ab5 Merge pull request #1696 from JoelJacobStephen/main
Changing Hoppscotch Title from Hs to Hoppscotch for all sizes
2021-06-02 00:08:30 +05:30
Joel Jacob Stephen
055adf9fe0 Changing Hoppscotch Title from Hs to Hoppscotch for all sizes 2021-06-01 23:49:04 +05:30
Andrew Bastin
e94adc835d Merge pull request #1695 from JoelJacobStephen/main
Simplified the capitalization of Accent Color Names by using a function.
2021-06-01 13:24:32 -04:00
Joel Jacob Stephen
50bb8c4fdd Simplified the capitalization of Accent Color Names by using a function. 2021-06-01 22:44:22 +05:30
Andrew Bastin
aa0a340b95 Merge branch 'newstate/collections' into main 2021-06-01 00:12:40 -04:00
Andrew Bastin
41d21bc0ff Remove unwanted logs 2021-06-01 00:09:35 -04:00
liyasthomas
2de4b75b89 docs: add join beta form link 2021-06-01 07:11:05 +05:30
Andrew Bastin
b52cc9e2b4 Reimplement Body Param File input filtering for saving requests 2021-05-31 14:00:48 -04:00
liyasthomas
fea3843714 Merge branch 'newstate/collections' of https://github.com/AndrewBastin/hoppscotch into newstate/collections 2021-05-31 10:37:44 +05:30
Andrew Bastin
5df5d59f50 Drag and Drop for GraphQL requests in Collections pane 2021-05-30 23:30:28 -04:00
Andrew Bastin
062dd4f889 Linting 2021-05-30 23:30:28 -04:00
Andrew Bastin
948b027059 Remove GraphQL SaveRequest component 2021-05-30 23:30:28 -04:00
Andrew Bastin
4d057a39ed Migrate GraphQL to use SaveRequest modal instead of GQL one 2021-05-30 23:30:28 -04:00
Andrew Bastin
68c4efb1d3 fix: drag and drop on collections 2021-05-30 23:30:28 -04:00
Andrew Bastin
eda8c7da41 Initial Collection State System implementation
Co-authored-by: Liyas Thomas <hi@liyasthomas.com>
2021-05-30 23:30:28 -04:00
Liyas Thomas
ac1937f9be chore(deps): bump 2021-05-30 13:40:20 +00:00
liyasthomas
5f0f7693bb fix: import collections from file - removed store commit 2021-05-30 09:21:55 +05:30
Andrew Bastin
9ad22e2600 Linting 2021-05-29 22:43:05 -04:00
Andrew Bastin
fe8bbc6cc8 Remove GraphQL SaveRequest component 2021-05-29 22:38:18 -04:00
Andrew Bastin
795c5f8263 Migrate GraphQL to use SaveRequest modal instead of GQL one 2021-05-29 22:36:58 -04:00
Andrew Bastin
66bb9dc42b fix: drag and drop on collections 2021-05-28 00:23:11 -04:00
Andrew Bastin
70a350fdac Initial Collection State System implementation
Co-authored-by: Liyas Thomas <hi@liyasthomas.com>
2021-05-27 23:22:17 -04:00
Liyas Thomas
a795fc4310 release: v1.12.0 2021-05-27 15:11:01 +00:00
Liyas Thomas
790b743e42 fix: copy .env to root - fixed #1671 2021-05-27 14:08:21 +00:00
Andrew Bastin
21aeded2ea Update DispatchingStore to provide better typing for dispatch function parameters 2021-05-25 18:27:50 -04:00
liyasthomas
baf6d6bd29 refactor: lint options 2021-05-25 21:43:13 +05:30
Andrew Bastin
2e213a8692 Remove History test spec 2021-05-24 23:37:48 -04:00
Andrew Bastin
455cccebb5 Fix issue with clear history confirmation persisting after clearing 2021-05-24 23:37:48 -04:00
Andrew Bastin
9e602394cf Remove dependency on history component to add history entry 2021-05-24 23:37:48 -04:00
Andrew Bastin
46ebd49936 Refactor history entry limits 2021-05-24 23:37:48 -04:00
Andrew Bastin
fcac750ad7 Migrate code to new history store 2021-05-24 23:37:48 -04:00
Andrew Bastin
8cd3acd205 Introduce History store 2021-05-24 23:37:48 -04:00
liyasthomas
bc95a028ce chore(deps): bump 2021-05-23 18:48:48 +05:30
Andrew Bastin
5fb457d331 Fix Settings Sync issues 2021-05-22 21:48:15 -04:00
liyasthomas
454c11a12c chore: lint 2021-05-22 20:50:23 +05:30
Andrew Bastin
3ac9a418e6 Defer ChooseType teams list query until component visible 2021-05-20 22:21:12 -04:00
liyasthomas
c98de5988e fix: clean input value in modals - fixed #1662 2021-05-20 14:24:14 +05:30
Andrew Bastin
ca5df588b7 Fix UrlField tests 2021-05-19 22:41:16 -04:00
Andrew Bastin
08a41691af Revamp URLField 2021-05-19 22:25:00 -04:00
Andrew Bastin
665f272a0e Stylelint updates 2021-05-19 22:24:31 -04:00
Andrew Bastin
2591e3ab67 Add node-interval-tree as dep 2021-05-19 22:23:47 -04:00
liyasthomas
44df9b3be8 refactor: lint 2021-05-19 10:24:57 +05:30
liyasthomas
40ddfa8def refactor: lint 2021-05-18 21:39:55 +05:30
liyasthomas
cc27c552af refactor: lint 2021-05-18 14:57:29 +05:30
liyasthomas
7f248da0b3 refactor: lint 2021-05-18 11:56:59 +05:30
Andrew Bastin
79a0002594 Load through server side pagination for team members list 2021-05-17 12:27:36 -04:00
Andrew Bastin
a6c015bcc5 Make ESLint happy with fb.js 2021-05-17 12:26:57 -04:00
Andrew Bastin
692d98cb55 Make ESLint a bit more forgiving 2021-05-17 12:26:25 -04:00
liyasthomas
d9ddc184cb refactor: lint 2021-05-17 19:17:57 +05:30
liyasthomas
e424d06026 refactor: lint 2021-05-17 17:11:58 +05:30
liyasthomas
f9821e5f80 feat: eslint for typescript 2021-05-17 15:17:23 +05:30
Liyas Thomas
5bd53dc093 feat: eslint + stylelint 2021-05-17 05:55:50 +00:00
Liyas Thomas
204834872e refector: remove unused components 2021-05-17 03:19:53 +00:00
liyasthomas
a24049aa17 fix: dotenv 2021-05-16 14:10:39 +05:30
liyasthomas
9cb9e9e7b6 fix: dotenv 2021-05-16 12:53:40 +05:30
liyasthomas
3e7a766d12 Merge branch 'main' of https://github.com/hoppscotch/hoppscotch 2021-05-16 12:23:45 +05:30
liyasthomas
02debdc28b fix: use .env values - fixed #1639 2021-05-16 12:23:29 +05:30
liyasthomas
e104fe3021 chore(deps): bump 2021-05-16 12:21:28 +05:30
Andrew Bastin
dda40537cc Don't update BackendUserInfo if not authenticated 2021-05-15 21:52:31 -04:00
liyasthomas
217269467c docs: updated sponsors list 2021-05-16 04:08:56 +05:30
Liyas Thomas
5f193680c9 fix: minor UI stylings 2021-05-15 21:19:23 +00:00
Liyas Thomas
c0ef713c0b i18n: add Hindi and Norwegian (Bokmål) language (#1642)
Co-authored-by: Sindre van der Linden <sindre@allvis.io>
Co-authored-by: Deven Rathod <devenrathod2001@gmail.com>
2021-05-15 06:23:12 -07:00
Liyas Thomas
3533aa391a chore: lint 2021-05-15 12:43:31 +00:00
Liyas Thomas
ec90365427 Merge pull request #1641 from hoppscotch/teams 2021-05-15 14:08:03 +05:30
Liyas Thomas
78f7a9ba06 chore(deps): lock file 2021-05-15 08:26:22 +00:00
Liyas Thomas
7793dd8b3e Merge branch 'main' into teams 2021-05-15 08:11:03 +00:00
Liyas Thomas
76866f78f0 cleanup: remove logs 2021-05-15 06:47:13 +00:00
Liyas Thomas
8e3ecb4c25 fix: save location picker indicator 2021-05-15 05:45:05 +00:00
Andrew Bastin
1b9b2ac4c9 Fix SaveRequest modal selection 2021-05-15 00:02:55 -04:00
Andrew Bastin
489f14b88f Fixed issue in TeamCollectionAdapter with request updates 2021-05-14 01:59:08 -04:00
Liyas Thomas
8f09c82763 fixes and refactor 2021-05-14 05:50:17 +00:00
Andrew Bastin
2b8cda40a2 Introduce TeamMemberAdapter 2021-05-14 00:08:52 -04:00
Liyas Thomas
4656d67fcf fix: teams edit modal + race conditions on currentUser 2021-05-14 03:40:53 +00:00
Andrew Bastin
e7dd67deaa Update race condition with Apollo getting ID Token and BackendUserInfo 2021-05-13 22:42:04 -04:00
Andrew Bastin
b9c3219094 Hide "Team Collections" tab if user has no access 2021-05-13 20:16:41 -04:00
Andrew Bastin
f55a995c0a Introducing BackendUserInfo 2021-05-13 20:16:29 -04:00
Andrew Bastin
ee378a128c Introduce observable function for team member list 2021-05-13 02:28:35 -04:00
Liyas Thomas
c1f083d19f fix: indicate selected location on save request 2021-05-13 04:26:33 +00:00
Liyas Thomas
2ff0f97295 refactor: request actions + fix: timeout bug 2021-05-12 05:33:15 +00:00
Andrew Bastin
dd3b51d0b7 Use Intersection component to fetch team list on visibility 2021-05-11 23:39:23 -04:00
Andrew Bastin
853acfda2c Introduce Intersection component 2021-05-11 23:38:47 -04:00
Liyas Thomas
c756be54a1 refactor: separate request components for team & my collections 2021-05-11 13:10:36 +00:00
Liyas Thomas
3bbf334f99 refactor: separate folders for team and personal collections 2021-05-11 05:49:36 +00:00
Liyas Thomas
c6c8b7da6a chore(deps): bump 2021-05-09 14:59:24 +00:00
Liyas Thomas
8a30d3ed42 refactor: separated my collections and tam collections 2021-05-09 07:48:52 +00:00
Andrew Bastin
a5a6b864a5 Fix issue with child collection not rerendering 2021-05-09 02:08:48 -04:00
Liyas Thomas
97b7320939 move collections actions to parent 2021-05-09 05:30:31 +00:00
Andrew Bastin
5c11bcb2c6 Update TeamCollectionAdapter with more docs 2021-05-06 21:22:17 -04:00
Andrew Bastin
3888584b58 Initial refactor of the collections list and friends 2021-05-06 20:46:29 -04:00
Andrew Bastin
531a9c0bc8 Update team_utils imports 2021-05-06 12:21:53 -04:00
Andrew Bastin
84f8048e0a Initial introduction of TeamCollectionAdapter based collection render 2021-05-06 12:06:19 -04:00
Andrew Bastin
fdf96b0b63 Fixed build time issue with TeamCollectionAdapter 2021-05-06 12:05:45 -04:00
Andrew Bastin
86ddfe2c9f Introduce TeamCollectionAdapter 2021-05-05 10:44:17 -04:00
Andrew Bastin
115ae93073 Merge pull request #1625 from iamtabrezkhan/issue-1507
FEAT: add syntax highlighting in Code Generator Modal
2021-05-04 22:57:45 -04:00
Andrew Bastin
aa65cada6f Merge branch 'main' into issue-1507 2021-05-04 22:44:11 -04:00
Andrew Bastin
ad9cdf3fa8 Update team/utils code style 2021-05-04 22:18:46 -04:00
Liyas Thomas
5c0035f4c3 chore(deps): bump 2021-05-04 19:36:50 +00:00
Liyas Thomas
37b4c67ead docs: updated sponsors list 2021-05-04 19:36:23 +00:00
Liyas Thomas
63998f4a23 minor UI styling 2021-05-04 14:02:19 +05:30
Liyas Thomas
efeec13794 set default export language as cURL 2021-05-03 19:14:26 -07:00
Liyas Thomas
6c49e5c86a fix: race condition where no language is selected 2021-05-03 19:12:13 -07:00
Andrew Bastin
ec57392424 Fixed subscriptions authorization 2021-05-03 09:57:58 -04:00
Andrew Bastin
8713aa7fd3 Remove @nuxtjs/apollo and added vue-apollo as dep 2021-05-03 09:22:39 -04:00
Andrew Bastin
627811f28d Refactor Apollo Client handling 2021-05-03 09:18:24 -04:00
Tabrez Khan
3f743b4f61 FEAT: add syntax highlighting in Code Generator Modal
USE: SmartAceEditor componenent
2021-05-03 14:46:41 +05:30
Liyas Thomas
d676b5a68d chore(deps): bump rxjs 2021-05-03 05:08:39 +00:00
Liyas Thomas
a6dfab5fbf chore(deps): bump 2021-05-02 15:21:27 +00:00
Liyas Thomas
b8bc110d33 check existance of teamCollectionAdded.parent
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-05-02 03:49:00 +00:00
Andrew Bastin
597fd2c6d1 Fix duplication on teams folder creation 2021-04-29 23:50:50 -04:00
Liyas Thomas
ab0bc3e927 fix: permissions for collections and folders 2021-04-30 01:04:41 +00:00
liyasthomas
e28373dae1 fixes
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-04-29 14:03:39 +05:30
Liyas Thomas
1bc57f159c merge feat/teams-new-ui
Co-authored-by: Isha Gupta <40794215+IshaGupta18@users.noreply.github.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Osheen Sachdev <45964755+oshhh@users.noreply.github.com>
Co-authored-by: Rohan Rajpal <rohan46000@gmail.com>
Co-authored-by: Raghav Gupta <raghav.gupta0307@gmail.com>
2021-04-26 09:37:18 +00:00
Liyas Thomas
6a8019c7a0 chore(deps): bump 2021-04-25 16:38:09 +00:00
Liyas Thomas
9b0dc5a849 Merge pull request #1615 from hoppscotch/feat/links 2021-04-23 04:46:54 -07:00
Liyas Thomas
283e1b0790 chore(deps): bump 2021-04-23 11:39:20 +00:00
Liyas Thomas
fc05a4bb78 docs: better copy 2021-04-23 11:38:56 +00:00
Liyas Thomas
88b32e317a docs: update links 2021-04-23 11:38:17 +00:00
Liyas Thomas
6c61a70d58 docs: updated built with stack, ideas for externship 2021-04-22 01:01:39 +00:00
Osheen Sachdev
5df3ebae22 Documentation generation (#1610)
Co-authored-by: Isha Gupta <40794215+IshaGupta18@users.noreply.github.com>
Co-authored-by: IshaGupta18 <ishagupta1828@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-04-21 10:17:31 -07:00
Liyas Thomas
ad252476ce docs: update GitHub Externship guidelines 2021-04-20 11:20:01 +00:00
Liyas Thomas
8e5f6a3a96 GitHub Externship @ Hoppscotch 2021-04-20 10:37:46 +00:00
Liyas Thomas
9ff209bd32 Merge pull request #1608 from hoppscotch/dependabot/npm_and_yarn/ssri-6.0.2
chore(deps): bump ssri from 6.0.1 to 6.0.2
2021-04-19 09:27:15 -07:00
dependabot[bot]
505e61475d chore(deps): bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 16:22:02 +00:00
Liyas Thomas
2c137a0eec chore(deps): bump 2021-04-18 15:09:32 +00:00
Liyas Thomas
b65ae89be6 fix: respect environment variable in inline query parameters - fixed #1603 2021-04-15 10:04:23 +00:00
Liyas Thomas
432884a2af Select multiple collections (#1604) (#1605) 2021-04-15 01:01:15 -07:00
Osheen Sachdev
6878498b2e Fix folder nesting in document generation (#1602) 2021-04-14 17:54:55 -07:00
Jainal Gosaliya
4d5332fef7 fixes empty url bug during importing postman json (#1593)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-04-13 21:44:50 -07:00
Andrew Bastin
50a149b662 Bump graphql-language-service-interface and fix build issues 2021-04-12 11:50:25 -04:00
Liyas Thomas
930838d676 chore(deps): bump 2021-04-12 08:14:19 +00:00
Liyas Thomas
f6c952ffb0 v1.10.0 2021-04-10 14:49:43 +00:00
Joel D Souza
f6db530de2 Sync bodyParams and rawBodyParams (#1562)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Joel DSouza <joel.dsouza@kapturecrm.com>
2021-04-10 01:03:37 -07:00
Liyas Thomas
db45f08905 fix: add query from cURL import - fixed #1582 2021-04-08 11:31:24 +00:00
Liyas Thomas
516d53f9bf chore(deps): bump + docs: add docker pulls badge 2021-04-02 06:46:50 +00:00
Liyas Thomas
c7e1adf638 chore(deps): bump + ui: full width container 2021-03-31 15:44:26 +00:00
Liyas Thomas
31147975c7 i18n translations (#1572)
* Suppletments some tranlations on zh-CN

* Update de-DE.json

Co-authored-by: mrhanson <chihanghanson@gmail.com>
Co-authored-by: 0xflotus <0xflotus@gmail.com>
2021-03-30 13:29:57 -07:00
Liyas Thomas
b9deec1487 chore(deps): bump + docs: remove absolute instructions from readme 2021-03-30 05:00:24 +00:00
Liyas Thomas
de57208bab Merge pull request #1566 from AndrewBastin/main
Bump minor dep updates and update Tab test spec
2021-03-28 17:25:23 +05:30
Andrew Bastin
07e966c640 Bump minor dep updates and update Tab test spec 2021-03-27 23:47:35 -04:00
Liyas Thomas
56982effcd feat: support custom router base property - fixed #1561 2021-03-24 13:18:33 +00:00
Liyas Thomas
8a52b0fbd6 fix: broken grapgql query fetch 2021-03-24 05:20:01 +00:00
Liyas Thomas
2190a1b6fd chore(deps): bump + fix: only allow one from extension and proxy 2021-03-23 19:48:00 +00:00
Andrew Bastin
c18c2ea9d4 Fix settings data migration issues 2021-03-23 11:34:19 -04:00
Andrew Bastin
5fce1118f6 Revamp of the Settings State System along with TypeScript support (#1560)
* Add vue-rx, rxjs and lodash as dependencies

* Added vue-rx plugin integration to nuxt config

* Initial settings store implementation

* Add babel plugin for private class properties to for Jest

* Add DispatchingStore test spec

* Initial settings code

* Reactive Streams for fb current user and id token

* Fix typo

* Migrate index and graphql pages to the new store

* Migrate network strategy to the new store

* Fixed Section.vue errors

* Fix getSettingSubject issue

* Migrate fb settings reference in components to the new state system

* Add typings for lodash as dev dependency

* Load setting

* Load initial sync setting values

* Update proxy url

* Add typescript support

* Rewrite Settings store to TypeScript

* Port Settings page to TypeScript as reference

* Move all store migrations to a separate file

* Delete test file for fb.js

* Add ts-jest as dev dependency

* Remove firebase-mock as dependency

* Remove FRAME_COLORS_ENABLED settings value
2021-03-23 11:18:14 -04:00
Liyas Thomas
64f64b9e31 fix: disable resize on ace editor - fixed #1110 2021-03-23 09:39:14 +00:00
Liyas Thomas
b4ac527638 fix: restore previous theme colors - fixed #1559 2021-03-22 16:36:57 +00:00
Liyas Thomas
352f3af737 refactor: show sub-folders before requests inside folders 2021-03-22 11:53:36 +00:00
Liyas Thomas
c7c221ad5e Merge pull request #1554 from farhan-tariq/show-sub-folders-first
Show sub-folders first instead of requests
2021-03-22 08:31:55 +05:30
Liyas Thomas
74adbae7ed chore(deps): bump 2021-03-22 02:55:47 +00:00
Farhan Tariq
8a5402932c Show sub-folders first instead of requests 2021-03-21 19:49:03 +05:00
Isha Gupta
e565f9bf72 GraphQL collections (#1536) 2021-03-18 20:25:12 +05:30
Liyas Thomas
942b86c647 refactor: upgrade tailwindcss 2021-03-17 18:00:58 +00:00
Liyas Thomas
1042310038 Merge pull request #1542 from JDevx97/fix/1541/query-parameters-url-encoding 2021-03-16 21:18:58 -07:00
Liyas Thomas
d0c261b9cd Merge branch 'main' into fix/1541/query-parameters-url-encoding 2021-03-16 21:12:52 -07:00
liyasthomas
61396cbb15 download fonts to same site origin 2021-03-17 09:23:16 +05:30
Jayce Dugan
87c6230ef2 Fix: Whitespace & URL encoding applied to query parameters.
fix: String.trim() applied to query parameter keys and values to remove additional whitespace.

fix: encodeURI() applied to query string before being applied to request url path.
2021-03-16 22:45:07 +00:00
Liyas Thomas
347ad94a43 fix: minor UI spacing issues 2021-03-16 09:11:19 +00:00
Liyas Thomas
f1389cdba0 TailwindCSS v2.x (#1540) 2021-03-16 01:49:21 -07:00
Liyas Thomas
5399ddf6ac docs: updated description 2021-03-14 15:15:57 +00:00
Liyas Thomas
a724dc1207 proxy.hoppscotch.io (#1532)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-03-14 08:54:15 +05:30
Liyas Thomas
c6af38f7dc docs: updated sponsors list 2021-03-12 15:41:44 +00:00
Liyas Thomas
4d0008186b fix: only show recent 50 synced history entries - fixed #1530 2021-03-12 17:35:16 +05:30
Liyas Thomas
df3df6697e chore(deps): bump + docs: update sponsor list 2021-03-12 08:39:21 +00:00
Liyas Thomas
13ff7b9088 docs: updated screenshots + feature list 2021-03-11 14:59:16 +00:00
Liyas Thomas
196d252fec Merge pull request #1533 from jamesgeorge007/docs/add-ons
docs: add reference to hopp-doc-gen add-on
2021-03-11 16:51:32 +05:30
jamesgeorge007
53dfdc440d docs: add reference to hopp-doc-gen 2021-03-11 15:25:18 +05:30
Liyas Thomas
988a99efb7 fix: history order on cloud sync 2021-03-11 13:51:22 +05:30
Liyas Thomas
17da230d72 fix: remove sort history entries + fix history entries order - fixed #1455 2021-03-11 06:53:49 +00:00
Liyas Thomas
c8cdfc8885 Merge pull request #1531 from hoppscotch/audit/pwa
Added source=pwa on PWA start URL
2021-03-11 08:52:45 +05:30
Osheen Sachdev
0b00842c50 [Feat: GraphQL sidebar] GraphQL History (#1528)
* Create REQUIREMENTS.md

* graphql history UI

* rest history emit

* removed requirements file

* add, delete, clear, star history and sync with firstore

* use history

* empty schema

* remove other tabs

* computed query, setting headers

* binding props

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>

* remove print

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>

* remove dummy data

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>

* add docs tab

* date, time attribute --> updatedOn

* Removed margin from sidebar Tab

* removed v-bind

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>

* use shortcut for v-bind

* use shortcut for v-bind

* use unfold icons

* use template literals in :key

* history clear bug

* delete history bug

* minor translation

* remove console logs

* remove unused css

* add stared style

* remove absolute styles

* tests for graphql card

* tests for rest card

* tests for clear history added

* mount, clear, use, delete history tests added

* Rename card.vue to Card.vue

* Rename card.vue to Card.vue

* use computed

Co-authored-by: Isha Gupta <40794215+IshaGupta18@users.noreply.github.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-03-10 22:12:09 -05:00
Liyas Thomas
17e405a39e feat: added source=pwa on PWA start URL 2021-03-10 23:51:58 +00:00
Liyas Thomas
51bd3455cc chore(deps): bump 2021-03-09 15:28:41 +00:00
Liyas Thomas
e292af75ad meta: updated sponsors link 2021-03-09 15:28:15 +00:00
Liyas Thomas
ef4566eb95 refactor: show interaction while dragging request in collections 2021-03-08 04:02:08 +00:00
Liyas Thomas
e7d1ffb7ae chore: deps bump 2021-03-06 17:36:56 +00:00
Liyas Thomas
4fded3ada3 i18n translations (#1527)
Co-authored-by: Yohann Fabri <11197007+YoranSys@users.noreply.github.com>
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Co-authored-by: UioSun <uio.sun@soundws.com>
2021-03-04 09:13:31 +05:30
Liyas Thomas
dc5ca76d05 rename all components to new namespace (#1515)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-03-01 09:28:14 +05:30
Liyas Thomas
37bdd525ea refactor: replace fonts with Google fonts module 2021-02-25 16:08:12 +00:00
Liyas Thomas
3f03806455 Set schedule interval to weekly 2021-02-23 17:14:33 +00:00
harshlele
ff7bb1f303 response outline for JSON responses (#1484)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-02-23 08:09:16 +05:30
Liyas Thomas
5fe1de170d chore(deps): bump 2021-02-23 01:49:23 +00:00
Liyas Thomas
72913ccece chore(deps): bump + sort tailwind classes 2021-02-20 15:39:37 +00:00
Liyas Thomas
a6207e7edf chore(deps): bump + docs: updated readme 2021-02-19 17:33:37 +00:00
Liyas Thomas
2972ac6328 Support multipart/form-data content-type (#1485)
* Initial UI refactor - move raw and key-value body to components and tabs

* Delete package-lock.json

* deps

* Add multipart/form-data as a content type

* fix: add default contentType value

* Allow http body param request body with multipart/form-data

* Add form data to vuex

* move raw body components to 'Raw Request Body' tab

* Add files addition logic

* Set Dockerfile to run nuxt in dev mode

* Set Dockerfile to run nuxt in dev mode

* Draft version of file upload

* refactor: clean up

* Add file chip to denote file input

* Remove console.log

* refactor(ui): matching styles

* refactor(ui): matching styles

* fix(ui): mobile responsiveness

* fix(ui): mobile responsiveness

* refactor: minor cleanup

* Remove file from any form of persistence

* Add warning that form data files will not be saved to local storage

* Add remove file functionality

* Prevent file from being saved to collections

* Remove console.log

* fix active toggle on multipart/form-data + cleanup

* auto import components

Co-authored-by: nelsontky <nelson@ccb.wtf>
2021-02-19 22:31:31 +05:30
Liyas Thomas
d90550438f chore(deps): bump 2021-02-15 18:13:40 +00:00
Liyas Thomas
aa0f08cba3 chore(deps): bump 2021-02-14 21:27:47 +05:30
Liyas Thomas
a1b39d4fbc docs: updated sponsorship assets 2021-02-13 07:22:27 +05:30
Liyas Thomas
091a160db3 docs: updated sponsors list 2021-02-13 00:52:44 +05:30
Liyas Thomas
03f6336ac5 chore(deps): bump 2021-02-12 23:57:14 +05:30
Liyas Thomas
24c4cfe586 chore(deps): bump 2021-02-10 20:19:09 +05:30
Liyas Thomas
ca0c858e0f fix: broken mobile responsiveness - fixed #1472 2021-02-10 19:53:47 +05:30
Andrew Bastin
2be9a0bdba Merge pull request #1471 from KoHcoJlb/interface_and_enum_types
graphql: show enums and interfaces
2021-02-08 21:18:24 -05:00
Andrew Bastin
d333a44e11 Minor cleanup of type.vue 2021-02-08 21:11:18 -05:00
Andrew Bastin
e8e855a36c Added tests for the added functionality in type.vue and typelink.vue 2021-02-08 21:08:30 -05:00
Igor Stuzhuk (KoHcoJlb)
09719a4ad3 fix type tests 2021-02-08 14:02:01 +02:00
Igor Stuzhuk (KoHcoJlb)
c9e542d6d5 graphql: show enums and interfaces
make scalars not clickable
2021-02-07 22:18:20 +02:00
Liyas Thomas
a32ce56295 i18n (#1470) 2021-02-07 06:52:21 +05:30
Andrew Bastin
279c8c14cc Disabling GQL schema polling if there was an error 2021-02-06 19:37:45 -05:00
Liyas Thomas
49bc2c2204 Merge branch 'main' of https://github.com/hoppscotch/hoppscotch 2021-02-05 06:07:55 +05:30
Liyas Thomas
c036c945bd chore(deps): bump 2021-02-05 06:02:09 +05:30
Andrew Bastin
2e2cce9fcb Merge pull request #1457 from KoHcoJlb/fix-graphql-types-view
Fix "jump to graphql type" and show graphql input types
2021-02-02 12:52:27 -05:00
Igor Stuzhuk (KoHcoJlb)
7f33798789 graphql: fix "jump to type" and show input types 2021-02-02 16:10:51 +02:00
Liyas Thomas
e299433e6e Merge branch 'main' of https://github.com/hoppscotch/hoppscotch 2021-02-02 10:23:11 +05:30
Liyas Thomas
c82cb67bb6 chore(deps): bump 2021-02-02 10:22:31 +05:30
Andrew Bastin
075e11a7e1 Fix extension tick mark not appearing 2021-02-01 10:03:18 -05:00
Liyas Thomas
2b2c968a97 fix: revert axios interceptor and use normal time data - fixed #1449 2021-01-31 08:18:25 +05:30
Liyas Thomas
bffdb39c02 fix: decode url and path before saving to collection - fixed #1451 2021-01-30 22:19:19 +05:30
Liyas Thomas
3dabd73e95 chore(deps): bump 2021-01-30 22:17:50 +05:30
Liyas Thomas
8ed30e7eda chore(deps): bump 2021-01-28 21:28:36 +05:30
Liyas Thomas
7e4297d9bf Accurate response time and size (#1441)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2021-01-28 13:09:31 +05:30
Liyas Thomas
99e634711e chore(deps): bump 2021-01-26 20:09:19 +05:30
Kévin Dunglas
07f370d6d2 feat: better media types detection for JSON, XML and HTML lenses (#1438)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-01-26 09:57:11 +05:30
Kévin Dunglas
d2dfb4c8df fix: status code detection (#1440) 2021-01-25 06:50:50 +05:30
Liyas Thomas
64ee01d9fe Merge pull request #1439 from dunglas/feat/jsonld
feat: add JSON-LD to the list of known content types
2021-01-25 06:38:34 +05:30
Kévin Dunglas
a8d5ab035d feat: add JSON-LD to the list of known content types 2021-01-24 18:25:39 +01:00
Liyas Thomas
f58c6807d0 fix: encoding parameters twice effecting codegen - fixed #1437 2021-01-24 07:42:07 +05:30
Liyas Thomas
ca66b47014 refactor: better copy 2021-01-23 19:43:11 +05:30
Liyas Thomas
290781e734 feat: 'New version found. Refresh to update' toast 2021-01-23 17:22:54 +05:30
Liyas Thomas
d403e10018 docs: added contributors welcome badge + updated sponsors list 2021-01-23 12:40:40 +05:30
Liyas Thomas
161a0e07f9 refactor(codeql): removed unused variables 2021-01-23 11:40:29 +05:30
Liyas Thomas
eb9b0c85a9 chore(deps): bump 2021-01-23 11:38:37 +05:30
John Harker
c7f7b96405 Update Proxy URL (#1436)
* Update proxy URLs

* Update URLs in Vue file

Had to edit with web editor to avoid vs code changing indentation.

* Delete settings.json

Co-authored-by: Sam Jakob Mearns <me@samjakob.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-01-22 10:43:44 +05:30
Andrew Bastin
c5dff96f57 Better JS language integration for Pre-Request scripts and Test scripts (#1422)
* Add tern as dependency

* Add build rule to transpile mjs

* Initial implementation of the auto complete engine

* Separate out the tern server code to separate file

* Added extra type defs for tern server

* Boost the pw completion result to the top of the list

* Added acorn and acorn-walk as dependency

* Semantic linting powered by tern

* Fix DeepCode warnings for js-editor

* Remove unused registerLint tern extension

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2021-01-22 07:04:02 +05:30
Liyas Thomas
ff418ad55f chore(deps): bump 2021-01-20 21:23:13 +05:30
Liyas Thomas
6b0da0a568 fix: delete request from collection modal not closing 2021-01-18 22:08:48 +05:30
Liyas Thomas
56151982a7 chore(deps): bump 2021-01-17 22:44:58 +05:30
Liyas Thomas
c8185050f6 feat: GitHub buttons 2021-01-16 18:40:18 +05:30
Liyas Thomas
ed20b009a5 refactor: removed sponsorship prompt 2021-01-16 17:00:03 +05:30
Liyas Thomas
bf0bcf2f72 chore(deps): bump 2021-01-15 23:27:07 +05:30
Liyas Thomas
d81e80f273 chore(deps): bump 2021-01-13 20:23:14 +05:30
Liyas Thomas
6afed0e035 chore(deps): bump + fix(typo): extension repo link 2021-01-12 13:21:48 +05:30
Liyas Thomas
0a39e7b02f feat: Active toggle for GraphQL headers 2021-01-08 21:55:31 +05:30
Liyas Thomas
01a45f3085 chore(deps): bump 2021-01-08 21:53:21 +05:30
Liyas Thomas
c61764cd8d chore(deps): bump 2021-01-06 08:47:37 +05:30
Liyas Thomas
ce20f5d0a2 chore(deps): bump 2021-01-05 05:48:25 +05:30
Liyas Thomas
ffa9210286 fix: broken file name extension while downloading response 2021-01-04 07:25:03 +05:30
Liyas Thomas
025ead4fa3 chore(deps): bump 2021-01-04 06:37:59 +05:30
Liyas Thomas
82de03101b fix: throwing error when settings key being empty - fixed #1409 2021-01-04 06:25:02 +05:30
Liyas Thomas
eae071f9b8 doc: updated screenshots 2021-01-02 23:09:46 +05:30
Liyas Thomas
aadad482c4 chore(deps): bump + updated sponsors list 2021-01-02 20:57:28 +05:30
Gerardyang
cb8b98f707 Fix a missing close parenthesis before '.then' (#1407) 2021-01-02 20:49:42 +05:30
Liyas Thomas
603a888e2e chore(deps): bump + fix: typo in docker commands 2020-12-31 17:22:58 +05:30
Liyas Thomas
9e3083cc5d Merge pull request #1404 from hoppscotch/dependabot/npm_and_yarn/v-tooltip-2.1.0
chore(deps): bump v-tooltip from 2.0.3 to 2.1.0
2020-12-31 05:42:48 +05:30
dependabot[bot]
ab9f2c0a66 chore(deps): bump v-tooltip from 2.0.3 to 2.1.0
Bumps [v-tooltip](https://github.com/Akryum/vue-tooltip) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/Akryum/vue-tooltip/releases)
- [Commits](https://github.com/Akryum/vue-tooltip/compare/v2.0.3...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 00:05:42 +00:00
Liyas Thomas
e84888c27e fix: broken import cURL #1159 2020-12-30 18:43:56 +05:30
Liyas Thomas
4dfc91db0a chore(dev-deps): bump 2020-12-30 11:12:56 +05:30
Liyas Thomas
5705df96f3 Merge branch 'main' of https://github.com/hoppscotch/hoppscotch 2020-12-29 07:16:45 +05:30
Liyas Thomas
9ac0cf1406 fix: decodeURI() failing on malformated URI + chore(deps): bump 2020-12-29 07:13:46 +05:30
Liyas Thomas
71170a1c5d feat: input toggle for parameters and headers (#1388)
* feat: toggler for parameters and headers

* refactor: move bodyParams to separate component + feat: input toggle

* fix: backward copaitability

* Fixed issue with imported active prop mutations

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2020-12-28 06:02:41 +05:30
Liyas Thomas
353978f115 Merge branch 'main' of https://github.com/hoppscotch/hoppscotch into main 2020-12-27 18:38:14 +05:30
Liyas Thomas
e89065aafc chore(deps): bump 2020-12-27 18:37:45 +05:30
Andrew Bastin
ff35ccbaec Merge pull request #1398 from carlos-ds/unit-tests
Unit tests for the remaining test methods
2020-12-23 21:02:48 -05:00
Liyas Thomas
529d5b0535 Merge branch 'main' into unit-tests 2020-12-23 06:00:16 +05:30
Karel De Smet
15ecb19c65 Added extra test for error handling 2020-12-22 21:15:20 +01:00
Karel De Smet
a64b32d12c Test for toBeType() 2020-12-22 21:12:53 +01:00
Karel De Smet
f53ac25d90 Test for toHaveLength() 2020-12-22 20:05:56 +01:00
Karel De Smet
de1d06528e Test for toBeLevel5xx() 2020-12-22 19:33:27 +01:00
Karel De Smet
ea227e09fa Explicitly pass radix 10 to parseInt functions in toBeLevelxxx() to avoid unexpected results 2020-12-22 19:19:21 +01:00
Liyas Thomas
46cbd6dfd2 chore(deps): bump 2020-12-22 20:31:13 +05:30
Karel De Smet
a61e6efdd4 Test for toBeLevel4xx() 2020-12-22 08:10:54 +01:00
Karel De Smet
6536d71566 Merge https://github.com/hoppscotch/hoppscotch into unit-tests 2020-12-22 08:02:03 +01:00
Karel De Smet
d92412175c Test for toBeLevel3xx() 2020-12-22 08:01:55 +01:00
Liyas Thomas
a3b7f9a739 Updated collaborators list 2020-12-21 23:56:35 +05:30
Karel De Smet
5367a23112 #1396: Fixed assertions for toBeLevelxxx() functions (#1397)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-12-21 22:42:53 +05:30
Karel De Smet
3614f5b620 Test for toBeLevel2xx() 2020-12-21 17:35:40 +01:00
Liyas Thomas
eac7954570 chore(deps): bump 2020-12-21 21:39:28 +05:30
Liyas Thomas
7d08da22b2 Merge branch 'main' of https://github.com/hoppscotch/hoppscotch into main 2020-12-20 12:26:04 +05:30
Liyas Thomas
756acf1395 chore(deps): bump 2020-12-20 12:20:37 +05:30
Karel De Smet
a2a03c6b52 Unit tests for test functions toBe, toHaveProperty (#1392)
* Added unit tests for the post-request tests

* Added 2 top level functions to avoid duplication of code

* Simplified tests for toBe and error handling

* Added a test for asserting string values with toBe

* Added a test for negative assertion with toBe

* Added tests for toHaveProperty

* Imported PASS, FAIL and ERROR constants

* Use getTestResult and getErrors to avoid duplication of code

* Removed .vscode/settings.json

* Minor cleanup to postwomanTesting.spec.js

* Revert change of runTestScriptWithVariables back to default export

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2020-12-19 07:45:36 +05:30
Liyas Thomas
8e63a84152 Merge pull request #1393 from farhan-tariq/fix-for-collections
Fix when folder is having no request property
2020-12-18 17:21:28 +05:30
Farhan Tariq
38b3197912 Fix when folder is having no request property 2020-12-18 10:53:29 +00:00
Liyas Thomas
1d4576c7fd chore(refactor): removed absolute codes 2020-12-17 15:30:02 +05:30
Liyas Thomas
29a4dee91b chore(deps): bump + refactor: removed absolute code 2020-12-16 23:53:08 +05:30
Liyas Thomas
9e166774ef refactor(ui): faster animations + chore(deps): bump 2020-12-16 06:05:58 +05:30
Liyas Thomas
dd40df4b37 fix: minor UI transitions 2020-12-15 07:58:12 +05:30
Liyas Thomas
afd07562b4 chore(deps): bump 2020-12-15 03:44:20 +05:30
Liyas Thomas
81a6d821c0 feat: confirm modal + chore(deps): bump 2020-12-14 10:35:14 +05:30
Liyas Thomas
858ab252a6 fix: input borders 2020-12-12 19:16:37 +05:30
Liyas Thomas
a56e2bb577 chore(refactor): better inputs 2020-12-12 08:33:29 +05:30
Liyas Thomas
27980cf7c7 fix: tests 2020-12-11 22:39:50 +05:30
Liyas Thomas
5a7bcf32ea chore(refactor): modern UI 2020-12-11 22:24:34 +05:30
Liyas Thomas
773423069b Refactor UI 2020-12-11 15:59:03 +05:30
Liyas Thomas
1e6773deb5 Refactor: Modularize home page (#1372)
* Move HTTP headers section to component

* Move import cURL modal to component

* Move Notes, OAuth token modal to seperate components

* Fix deepcode analysis

* Move parameters section to seperate component

* Move codegen modal to component

* ES6
2020-12-11 05:59:29 +05:30
Liyas Thomas
a95d37d610 Updated screenshots 2020-12-10 16:45:39 +05:30
Liyas Thomas
bdf72eca70 fix: turn off permission of GitHub OAuth app fixed #1377 2020-12-10 16:12:38 +05:30
Liyas Thomas
3acb2a56a2 chore(deps): bump 2020-12-10 08:48:59 +05:30
Liyas Thomas
2f0e9d0681 chore(deps): bump 2020-12-10 01:02:49 +05:30
Hari Narayanan
bfa7eb0c19 export markdown from docs (#1358)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-12-09 10:41:05 +05:30
Andrew Bastin
27d71fb10f Merge pull request #1367 from hoppscotch/feat/gist
Collections and environments + GitHub gist
2020-12-08 23:08:24 -05:00
Andrew Bastin
eeb1ecd2df Added test case for signInUserWithGithub to check if adding 'repo gist' 2020-12-08 23:01:17 -05:00
Andrew Bastin
f21b5768a5 Fixed tests for fb.spec.js 2020-12-08 22:55:41 -05:00
Liyas Thomas
ba08883623 Final gist integration + clean up 2020-12-08 17:50:32 +05:30
Liyas Thomas
b1587950c6 Merge branch 'main' into feat/gist 2020-12-08 14:59:03 +05:30
Liyas Thomas
b473ed7cb7 Allow importing and exporting environments to gist 2020-12-08 12:18:28 +05:30
Liyas Thomas
2978c8adfe Allow importing collections from gist 2020-12-08 12:05:10 +05:30
Liyas Thomas
1f0111256b chore(fonts): bump 2020-12-08 11:07:25 +05:30
Liyas Thomas
346b980a1d Merge pull request #1366 from hoppscotch/main 2020-12-08 09:03:00 +05:30
Liyas Thomas
8000791e17 chore(deps): bump 2020-12-07 20:53:49 +05:30
Liyas Thomas
66077ea6d7 Replaced svg with icon font 2020-12-07 20:37:13 +05:30
Liyas Thomas
3d10a8f86a Initial MVP of GitHub gist support 2020-12-07 14:14:02 +05:30
Liyas Thomas
ebae9880dc Updated license copyright (c) 2020, migrated docker container to organization, chores 2020-12-06 12:04:55 +05:30
Liyas Thomas
2e72c16964 chore(deps): bump husky to v5 2020-12-06 11:00:00 +05:30
Liyas Thomas
6ebaea395d chore(deps): bump 2020-12-05 23:47:26 +05:30
Liyas Thomas
257ee9928f chpore(deps): bump 2020-12-04 23:37:13 +05:30
Liyas Thomas
2ac9f5918a chore(deps): bump + updated sponsor list 2020-12-04 09:59:19 +05:30
Liyas Thomas
9c4767bb68 Merge pull request #1365 from hoppscotch/dependabot/npm_and_yarn/nuxtjs/tailwindcss-3.3.1
Bump @nuxtjs/tailwindcss from 3.3.0 to 3.3.1
2020-12-04 07:09:49 +05:30
dependabot[bot]
cbd82988a8 Bump @nuxtjs/tailwindcss from 3.3.0 to 3.3.1
Bumps [@nuxtjs/tailwindcss](https://github.com/nuxt-community/tailwindcss-module) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/nuxt-community/tailwindcss-module/releases)
- [Changelog](https://github.com/nuxt-community/tailwindcss-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/tailwindcss-module/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-04 00:05:30 +00:00
Liyas Thomas
d0a9445dfc Environment select box - cherry picked from #1359 2020-12-03 11:12:47 +05:30
Liyas Thomas
cd6a9bf9a8 chore(deps): bump 2020-12-03 05:46:26 +05:30
Liyas Thomas
8afead4e39 Set 'Ctrl + I' to reset request - fixed #1356 2020-12-02 10:23:11 +05:30
Karel De Smet
f279471858 Added assertion methods toHaveLength & toBeType (#1357)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-12-02 06:55:37 +05:30
Liyas Thomas
61fe518710 chore(deps): bump + better History UI 2020-12-01 22:26:13 +05:30
Hari Narayanan
b774a59db2 Web Worker regex test (#1354)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-12-01 21:21:13 +05:30
Liyas Thomas
63a1f52482 Set a max-width container wrapper 2020-12-01 05:46:25 +05:30
Liyas Thomas
ab5ea5948b Minor refactoring and code splitting 2020-12-01 05:21:14 +05:30
Liyas Thomas
a8fd0fcd19 Minor refactoring and code splitting 2020-12-01 05:09:16 +05:30
Liyas Thomas
6098d55b57 chore(deps): bump + fixed: #1352 2020-11-30 23:44:39 +05:30
Liyas Thomas
9ba2f80e3a Updated sponsors list 2020-11-30 19:12:03 +05:30
Liyas Thomas
3acf71f253 Updated sponsor list 2020-11-30 18:51:46 +05:30
Liyas Thomas
ad51597bf5 Malayalam + Dutch (#1351)
Co-authored-by: vachan-maker <65799568+vachan-maker@users.noreply.github.com>
Co-authored-by: Karel De Smet <karel.de.smet@outlook.com>
2020-11-30 08:16:16 +05:30
Liyas Thomas
60057eee6a Temporarily removed test case number in tab label. Fixed #1349 2020-11-30 08:14:22 +05:30
Liyas Thomas
3cfd0ba1f8 chore(deps): bump 2020-11-29 20:00:32 +05:30
Liyas Thomas
dec386840a Fixed missing 'Done' button 2020-11-29 13:10:14 +05:30
Liyas Thomas
355b9be3ff chores(deps): bump + fixed og:image 2020-11-28 17:23:10 +05:30
Hari Narayanan
57627367f5 duplicate identifier for requests fixed (#1346)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-11-27 17:12:33 +05:30
Liyas Thomas
a5a812d3f4 Merge pull request #1343 from hariaakash/main
Request method labels & custom method width fix
2020-11-26 06:51:31 +05:30
Hari Narayanan
5426273cf8 custom method width 2020-11-26 00:38:03 +05:30
Hari Narayanan
d9bab319e3 added request method label in collections 2020-11-25 23:54:20 +05:30
Liyas Thomas
77862cdf9b lgtm code review suggestions 2020-11-23 12:32:13 +05:30
Liyas Thomas
b8d68ee359 Modern build, fixed WebSocket freezing on invalid URLs 2020-11-22 07:05:04 +05:30
Liyas Thomas
307e434f91 chore(deps): bump 2020-11-21 23:28:09 +05:30
Liyas Thomas
f60b2eb8af chore(deps): bump 2020-11-20 10:24:30 +05:30
Liyas Thomas
9da1aa1421 Merge pull request #1332 from hoppscotch/dependabot/npm_and_yarn/socket.io-client-3.0.2
Bump socket.io-client from 3.0.1 to 3.0.2
2020-11-18 06:17:21 +05:30
dependabot[bot]
4d3964daeb Bump socket.io-client from 3.0.1 to 3.0.2
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/socketio/socket.io-client/releases)
- [Changelog](https://github.com/socketio/socket.io-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-client/compare/3.0.1...3.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-18 00:07:32 +00:00
Liyas Thomas
b80f9d3517 chore(deps): bump 2020-11-14 06:17:37 +05:30
Liyas Thomas
46981f73a9 Updated sponsors list 2020-11-12 07:31:15 +05:30
Liyas Thomas
9b6394627b fixed #1323 + chore(deps) bump 2020-11-12 06:48:40 +05:30
Liyas Thomas
3a34331cc2 Replacing master branch with main branch 2020-11-11 08:55:44 +05:30
Liyas Thomas
95fe10b312 chore(deps): bump @nuxtjs/gtm 2020-11-11 08:34:00 +05:30
Liyas Thomas
f8d4303531 chore(deps): bump 2020-11-10 06:56:15 +05:30
Andrew Bastin
7d49f75682 Query arguments in GraphQL are shown separately with description (#1319)
* Query arguments in GraphQL are shown separately with description

* Update field.vue

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-11-09 07:16:47 +05:30
Liyas Thomas
a84a8e1a6e chore(deps): bump 2020-11-06 09:17:06 +05:30
Liyas Thomas
1fc2181937 chore(deps): bump 2020-11-05 13:32:27 +05:30
Liyas Thomas
7411f01fb5 Updated test snapshot 2020-11-03 14:06:24 +05:30
Liyas Thomas
2c9c598dd7 Merge branch 'master' of https://github.com/hoppscotch/hoppscotch 2020-11-03 13:48:18 +05:30
Liyas Thomas
3c00a3b1d0 Fixed Axios codegen missing raw post body 2020-11-03 13:47:17 +05:30
Liyas Thomas
660cdb575a Removed absolute Firebase files 2020-11-03 08:01:55 +05:30
Liyas Thomas
f20876a028 chore(deps): bump 2020-11-03 07:17:17 +05:30
Liyas Thomas
b31866cf32 Updated codegen list + removed hacktoberfest prompt 2020-11-02 18:05:29 +05:30
Liyas Thomas
bde27c3880 chore(deps): bump Firebase to v8.0 2020-11-02 14:59:08 +05:30
Liyas Thomas
80cb613888 Removed absolute PWA attributes 2020-11-02 10:33:01 +05:30
Liyas Thomas
23966b1103 Merge pull request #1312 from hoppscotch/sass
Replace node-sass with sass
2020-11-02 07:51:18 +05:30
Liyas Thomas
2fd897064a Replace node-sass with sass 2020-11-02 07:40:26 +05:30
Jyoti Gupta
846298210a [#1190] [Jyoti] Add codegen for nodeJs Unirest support (#1308)
* [#1190] [Jyoti] Add codegen for nodeJs Unirest

* Update and rename node-unirest.js to nodejs-unirest.js

* Update codegen.js

* [Jyoti] update snapshot for node-unirest-codegen

Co-authored-by: Jyoti Gupta <jyoti.gupta@INjyotigupta.local>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-11-02 06:23:13 +05:30
Liyas Thomas
f22e98ccca Updated test snapshots - fixing CI tests 2020-10-30 18:28:09 +05:30
Liyas Thomas
5cb6d10e3d Reorder codegens in alphabetical order 2020-10-30 18:16:34 +05:30
Liyas Thomas
5b4dd74503 Merge pull request #1307 from patidar-jaishree/add-c-libcurl-codegen
[Jaishree] Add C Libcurl Codegen
2020-10-29 18:44:38 +05:30
Jaishree Patidar
cd3cec5d48 [Jaishree] Add C Libcurl Codegen 2020-10-29 17:47:25 +05:30
Liyas Thomas
621888d6d4 Merge pull request #1306 from hoppscotch/fix/1304
Enable Workbox - fix #1304
2020-10-28 17:49:30 +05:30
Liyas Thomas
3e7fcaf764 Enable Workbox 2020-10-28 17:14:55 +05:30
Liyas Thomas
8fb44df59b Merge branch 'master' of https://github.com/hoppscotch/hoppscotch 2020-10-28 06:42:29 +05:30
Liyas Thomas
5b205d6e4a chore(deps): bump 2020-10-28 06:41:42 +05:30
Andrew Bastin
dc98ef8b57 Fix add folder to collections being broken when logged in (#1299)
* Moved add folder modal logic out

* Pass around folder paths for collections to fix folder not applying on
logged in users

* Remove unwanted use of folder value for addFolder store mutation

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-26 06:44:59 +05:30
Kunal Kumar
f9ae242792 Kunal - java-unirest 25 oct 2020 codegen added (#1301) 2020-10-26 00:00:36 +05:30
Shalika Singhal
438640d5b8 added codegen for java OK Http Client (#1300)
* added codegen for  java OK Http Client

* shalika- added snapshot test for -codegen- java -ok http client

* shalika- moving JavaOkHttpClientCodegen in alphabetical order in codegen
2020-10-25 23:07:28 +05:30
Liyas Thomas
078b755fb6 chore(deps-dev): bump 2020-10-24 22:57:37 +05:30
Liyas Thomas
501e01fe23 Update sponsor message 2020-10-24 17:36:33 +05:30
Liyas Thomas
ce992fc205 Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-10-23 10:21:28 +05:30
Liyas Thomas
8609dedafd chore(deps-dev): bump 2020-10-23 10:20:57 +05:30
Liyas Thomas
66f124b397 Use correct build command - #1295 2020-10-21 18:59:13 +05:30
Andrew Bastin
21cf439210 Added polling schema (#1288)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-21 14:03:03 +05:30
Liyas Thomas
91a7d20923 Lint + ES6 2020-10-21 13:49:02 +05:30
Liyas Thomas
f49c2138de Lint + ES6 2020-10-21 12:20:32 +05:30
Liyas Thomas
774853af7a Remove teams section from Firebase 2020-10-21 10:11:56 +05:30
Farhan Tariq
7e30a4a3d4 Subfolder functionality (#1194)
* Added functionality for sub-folders

* Edit Request name only. Drag and drop to move requests

* Refactor

* Move requests between folder or collections

* Functionality to save request in multiple folders

* Unnecessary Lang

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-21 06:41:45 +05:30
Liyas Thomas
b179731359 sponsor ad 2020-10-20 16:59:54 +05:30
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
Ben
59974edf80 feat:add code generator for Shell with HTTPie (#1290)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-19 07:54:07 +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
00505b8af8 chore(deps): bump 2020-10-19 06:43:08 +05:30
Liyas Thomas
22a3bba6ab Cherry picking refactored fb.js from #879 by @AndrewBastin (#1286)
* Cherry picking refactored fb.js from #879 by @AndrewBastin

* Fixed a minor UI glitch in History section

* Removed logout success toast testcase

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2020-10-17 14:53:19 +05:30
Matthew Crumley
b6b3cbcb9a Add Salesforce Apex codegen (#1285) 2020-10-17 12:39:23 +05:30
Ben
de97048424 feat:add code generator for Ruby Net::HTTP (#1284) 2020-10-17 10:47:26 +05:30
Liyas Thomas
02471e6d60 Lint 2020-10-16 07:10:07 +05:30
Liyas Thomas
edf58ee897 Updated dependencies 2020-10-16 06:31:44 +05:30
Liyas Thomas
5ecfd278d4 i18n (#1277)
* improve pt-br translations

* Update french language

* Added i18n vi-VN translations (#1274)

Co-authored-by: Gustavo Cavalieri Fernandes <gugacavalieri@gmail.com>
Co-authored-by: Thomas Bnt <thomasbnt@protonmail.com>
Co-authored-by: Flyznex <thuanpt.dev@gmail.com>
2020-10-15 11:37:33 +05:30
Liyas Thomas
3327179270 Updated dependencies 2020-10-15 05:57:02 +05:30
Liyas Thomas
98462e8dca Updated deps 2020-10-14 08:51:33 +05:30
Liyas Thomas
2f515164b3 chore: updated deps 2020-10-13 19:08:20 +05:30
Liyas Thomas
3c8ceebedc Merge pull request #1262 from hoppscotch/dependabot/npm_and_yarn/jest-26.5.3
Bump jest from 26.5.2 to 26.5.3
2020-10-12 06:43:19 +05:30
dependabot[bot]
26fe93dfc0 Bump jest from 26.5.2 to 26.5.3
Bumps [jest](https://github.com/facebook/jest) from 26.5.2 to 26.5.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.2...v26.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 00:10:38 +00:00
Andrew Bastin
9113a826ce Added temporary hack to fix GQL trailing space errors 2020-10-11 13:17:49 -04:00
Liyas Thomas
eca1baf53e chore: updated deps 2020-10-11 12:37:32 +05:30
Jeff Sieu
6b3b8e6204 Remove extra console log (#1261)
* Add search bar for collections

* Remove console log

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-11 10:32:28 +05:30
Jeff Sieu
194a4f3adb Add search bar for collections (#1260)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-11 10:22:18 +05:30
Liyas Thomas
054f27083b Merge pull request #1259 from Ldoppea/feature/codegen-csharp-restsharp
feat:add code generator for C# RestSharp
2020-10-11 06:13:22 +05:30
Yannick Chiron
168d1dc678 feat:add code generator for C# RestSharp 2020-10-11 00:58:02 +02:00
Ldoppea
8cc5c62665 fix:add 'helpers' folder to docker compose volumes (#1258) 2020-10-10 16:52:02 +05:30
Raul Piraces Alastuey
82c874afb5 Add: Shell wget codegen (#1256)
* Add: Shell wget codegen

* Add missing snapshot for tests
2020-10-09 19:44:49 +05:30
YE Qing
1afd0381c1 Run tests against all codegen instead of individual ones (#1255)
* run tests against all codegens instead of individual ones

* table testing

* fixture is no longer needed

Co-authored-by: Qing Ye <ye.qing@go-jek.com>
2020-10-09 14:04:12 +05:30
Liyas Thomas
5f5589f1f1 Merge pull request #1254 from hoppscotch/dependabot/npm_and_yarn/firebase-7.23.0
Bump firebase from 7.22.1 to 7.23.0
2020-10-09 06:27:07 +05:30
dependabot[bot]
1cee408113 Bump firebase from 7.22.1 to 7.23.0
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.22.1 to 7.23.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.22.1...firebase@7.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 00:04:55 +00:00
luthrap
92854b9e84 Python http client codegen (#1252)
* add codegen for python http client

* update print header function
2020-10-08 23:29:00 +05:30
Liyas Thomas
a4c5817b54 Use function as default value for array prop 2020-10-08 20:00:20 +05:30
Liyas Thomas
6c82680066 Merge pull request #1249 from yq314/add-nodejs-native-codegen 2020-10-08 19:58:06 +05:30
Liyas Thomas
6135bc716e Merge branch 'master' into add-nodejs-native-codegen 2020-10-08 14:41:42 +05:30
Liyas Thomas
1639ea7552 Merge pull request #1250 from hoppscotch/dependabot/npm_and_yarn/nuxtjs/pwa-3.1.2
Bump @nuxtjs/pwa from 3.1.0 to 3.1.2
2020-10-08 09:31:06 +05:30
dependabot[bot]
bea8c89d9f Bump @nuxtjs/pwa from 3.1.0 to 3.1.2
Bumps [@nuxtjs/pwa](https://github.com/nuxt-community/pwa-module) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/nuxt-community/pwa-module/releases)
- [Changelog](https://github.com/nuxt-community/pwa-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/pwa-module/compare/v3.1.0...v3.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-08 00:06:41 +00:00
Qing Ye
fe1618d1d8 move test data to __fixtures__ 2020-10-08 00:17:58 +08:00
Qing Ye
30250e1afa add codegen for nodejs native and instrument snapshot tests 2020-10-08 00:10:02 +08:00
Liyas Thomas
16f02e2544 Updated contributors and sponsors list 2020-10-07 14:21:39 +05:30
Liyas Thomas
123f4a3931 Updated contributors and sponsors list 2020-10-07 14:10:45 +05:30
YE Qing
ce5fb78bcd Fix form post data parsing (#1248)
Co-authored-by: Qing Ye <ye.qing@go-jek.com>
2020-10-07 08:51:03 +05:30
Liyas Thomas
2ccd053b0a Disable workbox 2020-10-07 07:22:44 +05:30
Liyas Thomas
3422ccef15 Downgrade pwa dep 2020-10-07 06:47:21 +05:30
Liyas Thomas
630663ec83 Merge branch 'master' of https://github.com/hoppscotch/hoppscotch 2020-10-07 05:54:13 +05:30
Liyas Thomas
37c6bf3a3f Updated dependencies 2020-10-07 05:47:09 +05:30
YE Qing
1c2963a1e0 add codegen for python-requests (#1244)
Co-authored-by: Qing Ye <ye.qing@go-jek.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-06 22:56:10 +05:30
Liyas Thomas
50a5b0f7db Updated all dependencies 2020-10-06 06:20:06 +05:30
Yasio
df933bb928 Add PHP CURL codegenerator (#1238)
* add php-curl codegen

* fix codegen name casing
2020-10-05 23:03:44 +05:30
Léo Martin
aa85108f1a Use socket.io echo server (#1237) 2020-10-05 22:07:03 +05:30
Andrew Bastin
c778a28f2b Fixed improper page title definition 2020-10-04 22:29:07 -04:00
Liyas Thomas
48142721ac I18n (#1235)
Co-authored-by: CHALOPIN Clément <clement.chalopin@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Fiki Maulana <fikimaul@gmail.com>
Co-authored-by: Shunjid Rahman Showrov <shunjid.rahman@gmail.com>
Co-authored-by: Adrian Skar <adrian@adrianskar.com>
Co-authored-by: Lucas Queiroz <me@lucasqueiroz.dev>
Co-authored-by: piraces <raul.piraces@gmail.com>
Co-authored-by: vachan-maker <65799568+vachan-maker@users.noreply.github.com>
2020-10-05 07:07:02 +05:30
Liyas Thomas
826e3ebc5e Added default Socket.io URL - fixed #1231 2020-10-05 05:31:48 +05:30
Léo Martin
0f31259c97 Allow multiple arguments with socket.io (#1234)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-05 05:11:56 +05:30
Raul Piraces Alastuey
881d7fa5ee Add: Powershell RestMethod codegen (#1233) 2020-10-05 04:50:50 +05:30
Raul Piraces Alastuey
d479425333 Add: JS jQuery codegen (#1232)
* Add: JS jQuery codegen

* Remove console.log
2020-10-04 20:49:07 +05:30
Yasio
cb944bcfb2 Add nodejs request codegenerator (#1227)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-10-04 18:11:07 +05:30
Yasio
745683f2a8 Fix: passing auth into codegen (#1226) 2020-10-04 18:04:21 +05:30
Liyas Thomas
e019935545 Merge pull request #1220 from LeoMartinDev/feat/filter-graphql-fields 2020-10-04 16:17:53 +05:30
Liyas Thomas
9601477bba Merge branch 'master' into feat/filter-graphql-fields 2020-10-04 16:04:40 +05:30
Liyas Thomas
0702ca3fc9 Highlight filtered field and type 2020-10-04 16:01:19 +05:30
leoGeorges
d9a9ae7e72 Merge branch 'feat/filter-graphql-fields' of https://github.com/LeoMartinDev/hoppscotch into feat/filter-graphql-fields 2020-10-04 11:46:35 +02:00
leoGeorges
76eba3d638 Graphql: highlight fields on search 2020-10-04 11:46:16 +02:00
Liyas Thomas
69a448b4c1 Merge pull request #1223 from tonybatty/bug/http-page-headers-suggestions-are-overlapped
Fix: http page headers suggestions overlapped issue
2020-10-04 05:41:19 +05:30
tonybatty
a8d9a64f79 http page headers suggestions overlapped issue fixes #1222 2020-10-03 19:42:07 +01:00
Andrew Bastin
1546727612 Merge branch 'master' into feat/filter-graphql-fields 2020-10-03 13:10:22 -04:00
Liyas Thomas
dfdcc05d3e Merge pull request #1221 from tonybatty/bug/ios-home-bar-covers-content 2020-10-03 21:37:11 +05:30
leoGeorges
12941a107d Use normalized text 2020-10-03 17:36:26 +02:00
tonybatty
a94d46e005 fixes #1003 ios home bar covers content 2020-10-03 16:34:40 +01: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
Saswata Mukherjee
1ad23f4ed8 Fix: GET requests for Go codegen (#1216) 2020-10-03 12:36:55 +05:30
Saswata Mukherjee
1bcba17f76 Add native Golang codegen (#1215) 2020-10-03 12:20:20 +05:30
Liyas Thomas
cb871f6a88 Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-10-02 05:59:35 +05:30
Liyas Thomas
6d2c296a7d chore: updated dependencies 2020-10-02 05:59:16 +05:30
Liyas Thomas
3434a1f5a6 Create codeql-analysis.yml 2020-10-01 08:05:55 +05:30
CHALOPIN Clément
f9c45d95e1 Add: js axios codegen (#1199) 2020-10-01 06:32:22 +05:30
Liyas Thomas
0bd051a7a9 chore: updated dependencies 2020-10-01 06:26:13 +05:30
Liyas Thomas
d4789463ad Improving code quality as per LGTM review 2020-09-30 21:02:19 +05:30
Liyas Thomas
7190a25550 Added Hacktoberfest announcement 2020-09-30 14:21:22 +05:30
Liyas Thomas
04bc8308ac Fixed #1195 2020-09-29 23:46:31 +05:30
Liyas Thomas
68c67fbd32 Turn off GitHub Pages 2020-09-29 23:42:09 +05:30
Liyas Thomas
50fd8926d6 Fixed #1197 2020-09-29 23:40:33 +05:30
Liyas Thomas
7e1e61f8af chores: Lint + dependency update 2020-09-27 23:34:15 +05:30
Andrew Bastin
ee066d7859 Use the new separated codegen for code generation 2020-09-25 23:45:36 -04:00
Andrew Bastin
54a48f9493 Added codegen registrar 2020-09-25 23:45:18 -04:00
Andrew Bastin
70fc0789d6 Added separated code generator code for cURL, JS Fetch and JS XHR 2020-09-25 23:38:33 -04:00
Liyas Thomas
66cd75dce8 Moved utility functions from assets to helpers 2020-09-26 07:57:45 +05:30
Liyas Thomas
8b3b6a471b chore: dependency updates, minor UI fixes 2020-09-26 07:09:26 +05:30
Liyas Thomas
e707fcda05 chore: dependency updates, minor UI updates, better color schemes 2020-09-25 06:39:21 +05:30
Liyas Thomas
a3574acabd Fixed hidden overflow on inputs 2020-09-24 23:31:43 +05:30
Liyas Thomas
f36db182f1 Better color schemes, minor UI fixes 2020-09-24 22:52:17 +05:30
Liyas Thomas
59e492b2a6 Merge branch 'refactor' 2020-09-24 21:39:14 +05:30
Liyas Thomas
6380063978 Upstream 2020-09-24 21:37:27 +05:30
Liyas Thomas
2686873163 Cleanup stale files/codes 2020-09-24 21:31:56 +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
91677a41d4 Update README.md 2020-09-23 13:34:02 +05:30
Liyas Thomas
b747d0273c Feat/tailwind (#1179) 2020-09-22 22:36:37 +05:30
Matthew Jarman
45fb612793 Add check for active suggestion (#1180) 2020-09-21 22:14:16 +05:30
Liyas Thomas
db081d3197 Updated all major dependencies 2020-09-21 21:04:55 +05:30
Liyas Thomas
423eaa5462 Fixed broken GraphQL mock query 2020-09-21 11:20:42 +05:30
Liyas Thomas
f38dde160e Updated all non-major dependencies to latest 2020-09-21 06:03:40 +05:30
Andrew Bastin
782eb29aac Fixed url-field bug with caret reset due to v-model update 2020-09-20 00:57:09 -04:00
Andrew Bastin
5810c5544a Fixed bug with restore from history not working in new URL field 2020-09-19 01:30:22 +00:00
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
Andrew Bastin
4ea60d3431 Added temporary fix for the trailing null character from extension
requests
2020-09-17 21:36:36 -04:00
Liyas Thomas
9840ebfe33 Updated all non-major dependencies 2020-09-18 06:18:54 +05:30
Liyas Thomas
af2b726a38 chore: dependency updates + fixed a minor bug with edit folder 2020-09-17 06:08:26 +05:30
Liyas Thomas
d425a1b2c0 Merge pull request #1169 from hoppscotch/snyk-fix-3786512203b7ce5e8de4cfb302b63900
[Snyk] Security upgrade firebase-admin from 9.1.1 to 9.2.0
2020-09-16 16:04:39 +05:30
snyk-bot
687b0ac3bd fix: functions/package.json & functions/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEFORGE-598677
2020-09-16 08:47:23 +00:00
Liyas Thomas
3978dd9b07 Updated all non-major dependencies to latest 2020-09-15 06:49:03 +05:30
Liyas Thomas
d9f78b9d5c Fixed #1161 2020-09-14 15:09:44 +05:30
Liyas Thomas
81e638a7e0 chore: updated all non-major dependencies 2020-09-14 07:35:58 +05:30
Liyas Thomas
6dc906a604 🐛 Fixed #1160 2020-09-11 14:12:10 +05:30
Liyas Thomas
005db4d0e8 Fixed #1159 2020-09-11 15:07:57 +05:30
dependabot[bot]
41127da7d9 Bump node-fetch from 2.6.0 to 2.6.1 in /functions (#1158)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 05:52:51 +05:30
Liyas Thomas
3111b8d395 📦 Updated all non-major dependencies 2020-09-11 05:38:12 +05:30
Liyas Thomas
89f2647ead 📦 Updated all major dependencies 2020-09-10 19:07:49 +05:30
Liyas Thomas
084a432741 Merge branch 'master' of https://github.com/hoppscotch/hoppscotch into master 2020-09-10 05:46:13 +05:30
Liyas Thomas
1f071d1608 Updated all non-major dependencies 2020-09-10 05:45:56 +05:30
Liyas Thomas
3f75d0df56 Make use of GitHub sponsor API 2020-09-09 12:05:22 +05:30
Liyas Thomas
ba108fe23a Updated all non-major dependencies 2020-09-09 05:47:43 +05:30
Florin Mirosnicencu
ab736cf975 Handle postman subfolders when importing json (#1150) 2020-09-08 20:44:40 +05:30
Liyas Thomas
c36239772e Updated all non-major dependencies 2020-09-07 14:32:30 +05:30
Liyas Thomas
286090d58a Fixed #1146 2020-09-06 19:05:15 +05:30
Liyas Thomas
69fda864db Merge branch 'master' of https://github.com/hoppscotch/hoppscotch into master 2020-09-06 14:27:20 +05:30
Liyas Thomas
2709c5d332 Fixed typo, updated sponsors list 2020-09-06 14:26:54 +05:30
Scott Dutton
da5fdd54bd Import postman variables correctly (#1142)
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
2020-09-05 12:07:37 +05:30
Tiago Filipe Silva
92e7453c31 Lossless optimized images (#1141) 2020-09-05 12:01:42 +05:30
Liyas Thomas
a59e1a2015 Updated Sponsors list with GitHub sponsors 2020-09-04 16:51:27 +05:30
Liyas Thomas
838eb845d4 Merge branch 'master' of https://github.com/postwoman-io/postwoman into master 2020-09-04 06:35:50 +05:30
Liyas Thomas
f69fdc634a 📦 Updated all non-major dependencies 2020-09-04 06:35:22 +05:30
Liyas Thomas
9c0e7272ff I18n (#1138)
Co-authored-by: Gustavo Cavalieri <gugacavalieri@gmail.com>
Co-authored-by: Antonio Almeida <promatik@gmail.com>
Co-authored-by: Burak Sakallı <buraksakalli06@gmail.com>
Co-authored-by: Nisgrak <eneko.rodriguez99@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Junseo Park <wonderbotsupport@naver.com>
Co-authored-by: Jinseok Jeong <checkitup@hotmail.com>
2020-09-03 14:27:40 +05:30
Liyas Thomas
515afdc5ae Updated all non-major dependencies 2020-09-02 05:54:05 +05:30
Liyas Thomas
f32fa485e0 Merge branch 'master' of https://github.com/postwoman-io/postwoman into master 2020-09-01 06:05:09 +05:30
Liyas Thomas
a5187801b4 Updated all non-major dependencies 2020-09-01 06:04:43 +05:30
Liyas Thomas
6cb11d6a61 Added email address for contact 2020-08-31 13:23:39 +05:30
Liyas Thomas
1e91ca5eda Added default BASE_URL env variable 2020-08-30 11:21:42 +05:30
Liyas Thomas
210727ea0e Added default BASE_URL env variable 2020-08-30 11:10:19 +05:30
Liyas Thomas
f429585447 Removed @nuxtjs/dotenv (#1128)
* Removed `@nuxtjs/dotenv`

* Removed `@nuxtjs/dotenv`

* Fix broken tests

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2020-08-29 23:10:06 +05:30
Andrew Bastin
759a3f17cc Merge pull request #1126 from hoppscotch/tests
tests: improve test suite
2020-08-29 12:41:08 -04:00
jamesgeorge007
de7d1c2baa refactor: helper to compute suggestions 2020-08-29 22:09:12 +05:30
James George
8223011c3d chore: rename exported files (#1127)
* chore: rename to hoppscotch-collection.json

* chore: rename to hoppscotch-environment.json
2020-08-29 13:11:49 +05:30
Andrew Bastin
53684d6fbb Add test spec for components/ui/autocomplete.vue 2020-08-29 00:25:46 -04:00
Andrew Bastin
31cefd7dd0 Remove use of keyboardevent.which as its deprecated in autocomplete 2020-08-29 00:24:54 -04:00
Liyas Thomas
993a8f83ff 📦 Updated all non-major dependencies 2020-08-28 00:12:27 +05:30
Liyas Thomas
fd1e00986c 📦 Updated all non-major dependencies 2020-08-27 23:28:31 +05:30
Liyas Thomas
62028d1273 Reset file input value after operations - fixed #1124 2020-08-27 13:56:55 +05:30
Liyas Thomas
240ae25a90 📦 Updated all minor dependencies 2020-08-27 05:38:38 +05:30
Andrew Bastin
2bd242a164 jsonParse now validates for array as root JSONs
fixes #1097
2020-08-26 18:21:37 -04:00
Andrew Bastin
4b87684611 Updated debounce test spec to use jest timers 2020-08-26 12:14:47 -04:00
Andrew Bastin
3cd2a2a0f9 Added test spec for components/ui/pw-toggle.vue 2020-08-25 22:59:46 -04:00
Liyas Thomas
dc129eeb7d Fixed word wrap on 'Send' button - resolves #1116 2020-08-26 07:30:40 +05:30
Liyas Thomas
fb3f426688 📦 Updated all minor dependencies 2020-08-26 06:02:03 +05:30
Andrew Bastin
f33ebbcce0 Add test spec for components/ui/tabs.vue 2020-08-25 15:44:16 -04:00
Liyas Thomas
86922df61a Detect browser language and always redirect to locale - fixed #1108 2020-08-25 21:55:23 +05:30
Liyas Thomas
2916ab502e Announcement banner 2020-08-25 13:27:59 +05:30
Liyas Thomas
9c24fcec0d Merge pull request #1115 from HerbertChu/socket-io-path
support user to customize the path to socket-io server
2020-08-25 12:55:57 +05:30
herbertc
8258997f3e support user to customize the path to socket-io server 2020-08-25 15:16:38 +08:00
Liyas Thomas
ef714c3903 Updated Shortcuts wiki 2020-08-25 08:11:58 +05:30
Liyas Thomas
76c0874f0e 📦 Updated all non-major dependencies 2020-08-25 06:51:47 +05:30
Andrew Bastin
9166f734c9 Add test spec for components/ui/tab.vue 2020-08-24 15:42:48 -04:00
Andrew Bastin
368421a498 added jest-dom as dev dependency and added jest setup script 2020-08-24 15:41:59 -04:00
Andrew Bastin
c8d8c68b95 corrected typo for gql component test spec folder name 2020-08-24 14:23:15 -04:00
Khaleel Gibran
e68cd3c47f replace postwoman with hoppscotch values (#1111)
Replace Postwoman with Hoppscotch
2020-08-24 19:50:09 +05:30
Liyas Thomas
1732d7e707 Merge pull request #1109 from sebastianwd/patch-1 2020-08-24 10:53:27 +05:30
Sebastian Luque
da0d778b25 Typos in spanish translation 2020-08-23 23:52:45 -05:00
Andrew Bastin
b8bd0cc63a Add test spec for components/graphql/field.vue 2020-08-23 21:39:21 -04:00
Andrew Bastin
5150e13121 Removed unused fieldString computed property in gql/field.vue 2020-08-23 21:39:21 -04:00
Liyas Thomas
b2f784eeff Update README.md 2020-08-24 05:49:59 +05:30
Liyas Thomas
ad98284caf Add HOST 0.0.0.0 2020-08-24 05:45:35 +05:30
Liyas Thomas
6915ea70ca Add host 0.0.0.0 2020-08-24 05:18:02 +05:30
Liyas Thomas
26eb99d4a7 Redirect 2020-08-24 04:52:57 +05:30
Andrew Bastin
e1eb1be781 Add test spec for components/graphql/type.vue 2020-08-23 17:40:32 -04:00
Andrew Bastin
b536e191b1 Remove unused graphql/argument component 2020-08-23 15:48:05 -04:00
Andrew Bastin
f1b475b966 Add test spec for components/graphql/typelink.vue 2020-08-23 14:46:36 -04:00
Liyas Thomas
23a61d400d Add host: 0.0.0.0 to server property. #1099 2020-08-23 18:47:57 +05:30
Liyas Thomas
4ae8308663 Updated icon locations 2020-08-23 17:03:49 +05:30
Liyas Thomas
c3d6343edb Updated social share images 2020-08-23 16:47:48 +05:30
Liyas Thomas
1059d2ddbd Updated screenshots 2020-08-23 16:43:35 +05:30
Liyas Thomas
10ecc27bb5 Updated screenshots 2020-08-23 16:40:53 +05:30
Liyas Thomas
0c3c540051 Updated image assets 2020-08-23 16:21:49 +05:30
Liyas Thomas
c44dba5e92 Merge pull request #1107 from hoppscotch/a11y
♥ a11y
2020-08-23 13:38:22 +05:30
Liyas Thomas
82da7d0b24 Map DELETE method Alt + X 2020-08-23 11:16:25 +05:30
Liyas Thomas
4dd522eda4 Merge branch 'a11y' of https://github.com/postwoman-io/postwoman into a11y 2020-08-23 09:25:49 +05:30
Liyas Thomas
bbe300e847 Updated keyboard shortcuts 2020-08-23 09:23:34 +05:30
Andrew Bastin
dd667e5b4a Merge branch 'master' into a11y 2020-08-22 23:27:45 -04:00
Andrew Bastin
6f013de8e4 Added test spec for helpers/strategies/ExtensionStrategy.js 2020-08-22 23:25:35 -04:00
Andrew Bastin
96a6289911 Fixed a typo in decodeB64StringToArrayBuffer line for proxy-extension
request
2020-08-22 23:25:35 -04:00
Andrew Bastin
e0970fc69d Remove No-Proxy test stubs from AxiosStrategy-Proxy.spec.js 2020-08-22 23:25:35 -04:00
Liyas Thomas
5cafc7bb37 ❤️ ally 2020-08-23 08:41:04 +05:30
Liyas Thomas
2b755c0497 Updated all minor dependencies 2020-08-23 05:48:18 +05:30
Andrew Bastin
e3beae244d Add test spec for helpers/strategies/AxiosStrategy.js 2020-08-21 23:12:28 -04:00
Andrew Bastin
c2ec7be719 Modify AxiosStrategy to allow for some testing 2020-08-21 23:12:27 -04:00
Liyas Thomas
ed5d9132d3 📦 Updated all non-major dependencies 2020-08-21 06:05:50 +05:30
Liyas Thomas
8654db534b 📦 Updated all non-major dependencies 2020-08-21 06:00:11 +05:30
Andrew Bastin
e20299eb94 Added test spec for helpers/lenses/lenses.js 2020-08-20 20:08:45 -04:00
Andrew Bastin
1f65907f70 Export lenses array for helping testing 2020-08-20 20:07:59 -04:00
Liyas Thomas
6a55c09328 Fixed #1098 2020-08-20 19:54:12 +05:30
Andrew Bastin
9734e4d859 Add test spec for helpers/network.js 2020-08-19 16:16:49 -04:00
Andrew Bastin
4f93bc5721 Added test spec for helpers/platformutils.js 2020-08-19 01:37:38 -04:00
Andrew Bastin
73dc0b1cfa Added test spec for helpers/jsonParse.js 2020-08-19 01:08:02 -04:00
Andrew Bastin
e31979002f Add test spec for helpers/editorutils.js 2020-08-19 00:43:47 -04:00
Andrew Bastin
4be1e527fc Add application/vnd.api+json as a valid JSON mime to editorutils 2020-08-19 00:41:06 -04:00
Andrew Bastin
45332b3202 Added test spec for helpers/util/uri.js 2020-08-18 23:15:42 -04:00
Liyas Thomas
cb0258cb58 Merge pull request #1096 from hoppscotch/dependabot/npm_and_yarn/nuxt-i18n-6.13.10 2020-08-19 08:17:20 +05:30
dependabot[bot]
f3d80f28fd Bump nuxt-i18n from 6.13.9 to 6.13.10
Bumps [nuxt-i18n](https://github.com/nuxt-community/i18n-module) from 6.13.9 to 6.13.10.
- [Release notes](https://github.com/nuxt-community/i18n-module/releases)
- [Changelog](https://github.com/nuxt-community/i18n-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/i18n-module/compare/v6.13.9...v6.13.10)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-19 00:03:03 +00:00
Andrew Bastin
4b73ee3d41 Added test spec for helpers/utils/debounce.js 2020-08-18 14:34:46 -04:00
Andrew Bastin
e0e2e0c2fb Added test spec for helpers/util/contenttypes.js 2020-08-18 14:13:52 -04:00
Andrew Bastin
f2b977c941 isJSONContentType returns false for null/undefined 2020-08-18 14:13:20 -04:00
Andrew Bastin
9fe10fd9a2 Added test spec for helpers/utils/b64.js 2020-08-18 14:01:04 -04:00
Liyas Thomas
6b444d280a Merge pull request #1095 from thierrydev/patch-1 2020-08-18 13:01:54 +05:30
Thierry Meliot
10c2acf410 Update README.md
Updated the second Telegram URL
2020-08-18 08:53:21 +02:00
Liyas Thomas
6bb5908aba Merge pull request #1088 from hoppscotch/tests 2020-08-18 08:22:15 +05:30
Liyas Thomas
f54b24b4da Merge pull request #1093 from hoppscotch/dependabot/npm_and_yarn/nuxtjs/pwa-3.0.1 2020-08-18 06:41:51 +05:30
dependabot[bot]
ef3c548c98 Bump @nuxtjs/pwa from 3.0.0 to 3.0.1
Bumps [@nuxtjs/pwa](https://github.com/nuxt-community/pwa-module) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/nuxt-community/pwa-module/releases)
- [Changelog](https://github.com/nuxt-community/pwa-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/pwa-module/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-18 00:02:15 +00:00
Liyas Thomas
820690a073 Lock package 2020-08-18 02:45:44 +05:30
Liyas Thomas
63cf4f0045 Merge branch 'master' into tests 2020-08-18 08:14:28 +05:30
Liyas Thomas
deecbdd124 Update dependencies 2020-08-18 02:41:45 +05:30
Andrew Bastin
07f790dda0 Added test spec for helper/utils/valid.js 2020-08-17 22:10:47 -04:00
Andrew Bastin
a91b1ecf1f Added babel-core dev dependency 2020-08-17 19:38:17 -04:00
Liyas Thomas
4f75dd30fe Fix broken mobile responsiveness and URL input type 2020-08-17 17:04:13 +05:30
Liyas Thomas
629ee3e33f Merge pull request #1091 from hoppscotch/svgicons 2020-08-17 21:56:34 +05:30
Liyas Thomas
54e06d26bc Merge pull request #1090 from hoppscotch/autoimport 2020-08-17 18:41:43 +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
23068450ed Remove stale file 2020-08-17 16:15:37 +05:30
Liyas Thomas
3924370b3e Introduce component wrapper for svg icons 2020-08-17 16:07:36 +05:30
Liyas Thomas
f57ac978ae Tests 2020-08-17 09:22:02 +05:30
Liyas Thomas
e68ad7331f Added default value to BASE_URL 2020-08-17 08:19:23 +05:30
Liyas Thomas
9b5fb4bde1 Add BASE_URL to environment variables 2020-08-17 07:49:11 +05:30
Liyas Thomas
a8f1fb5148 Merge pull request #1087 from hoppscotch/v2 2020-08-17 07:43:43 +05:30
Liyas Thomas
65185ecb77 Merge branch 'master' into v2 2020-08-17 07:26:19 +05:30
Liyas Thomas
14a68f24e4 Updated instances of Postwoman 2020-08-17 07:24:25 +05:30
Liyas Thomas
16a93c2b7e Merge pull request #1086 from hoppscotch/v2 2020-08-17 06:57:21 +05:30
Liyas Thomas
925690fb00 Fix conflicts 2020-08-17 06:52:38 +05:30
Liyas Thomas
dc279bc335 Updated dependencies 2020-08-17 06:49:33 +05:30
Liyas Thomas
d1d759e86f Merge branch 'master' into v2 2020-08-17 06:45:10 +05:30
Liyas Thomas
82a30fbd25 Updated dependencies 2020-08-17 06:41:25 +05:30
Liyas Thomas
12fea29f48 Merge pull request #1085 from hoppscotch/dependabot/npm_and_yarn/eslint-7.7.0 2020-08-17 06:38:59 +05:30
dependabot[bot]
b602f7c03f Bump eslint from 7.6.0 to 7.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 00:10:14 +00:00
Liyas Thomas
a20ab981a7 Merge pull request #1071 from hoppscotch/v2 2020-08-16 22:21:41 +05:30
Liyas Thomas
9ae08cecf2 Merge branch 'master' into v2 2020-08-16 22:17:35 +05:30
Joel Camus Bueno
c9cd7b4344 Issue/1080 (#1081) 2020-08-16 17:26:33 +05:30
Liyas Thomas
24b587762a Lint 2020-08-16 05:48:00 +05:30
Joel Camus Bueno
18a2fb38d1 Issue/1078 (#1079)
* Externalize property of deletion messages (Collection) #1078

* Externalize property of deletion messages (folder) #1078

* Externalize property of deletion messages (request) #1078

* Externalize property of deletion messages (environment) #1078

* Externalize property (fr-FR.json) of deletion messages (collection, folder, request, environment) #1078

* Externalize property (pt-PT.json) of deletion messages (collection, folder, request, environment) #1078

* Externalize property (pt-BR.json) of deletion messages (collection, folder, request, environment) #1078

* Updating the Spanish file  (es-ES)
2020-08-15 20:30:00 +05:30
Joel Camus Bueno
5f47cdb763 Issue/1076 (#1077) 2020-08-15 16:57:14 +05:30
Liyas Thomas
e5a18b6e4c Fixed typo 2020-08-14 18:16:46 +05:30
Liyas Thomas
519976eb0b Merge pull request #1072 from postwoman-io/dependabot/npm_and_yarn/firebase-7.18.0
Bump firebase from 7.17.2 to 7.18.0
2020-08-14 06:54:21 +05:30
dependabot[bot]
b630fbc641 Bump firebase from 7.17.2 to 7.18.0
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.17.2 to 7.18.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.17.2...firebase@7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-14 00:05:57 +00:00
Liyas Thomas
2369a22d23 Typos 2020-08-13 16:54:27 +05:30
Liyas Thomas
124d9ff269 v2 2020-08-13 16:50:02 +05:30
Liyas Thomas
1c95ac7f07 Merge pull request #1066 from Reflex-Gravity/master
Fixed broken tick icons placement in Settings
2020-08-11 08:39:16 +05:30
Joel DSouza
54169fe22b Fixed broken tick icons placement in Settings 2020-08-11 06:34:36 +05:30
Liyas Thomas
4707b78c1f Merge pull request #1064 from postwoman-io/dependabot/npm_and_yarn/yargs-parser-19.0.1
Bump yargs-parser from 18.1.3 to 19.0.1
2020-08-10 06:15:02 +05:30
dependabot[bot]
95d91efe52 Bump yargs-parser from 18.1.3 to 19.0.1
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 18.1.3 to 19.0.1.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v18.1.3...v19.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 00:37:36 +00:00
Liyas Thomas
fc0c7f536b Merge pull request #1063 from postwoman-io/dependabot/npm_and_yarn/start-server-and-test-1.11.3 2020-08-10 06:05:52 +05:30
dependabot[bot]
80f1cfc72d Bump start-server-and-test from 1.11.2 to 1.11.3
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.11.2...v1.11.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-10 00:04:52 +00:00
Liyas Thomas
628012fb49 Merge pull request #1054 from postwoman-io/dependabot/npm_and_yarn/graphql-language-service-interface-2.4.1
Bump graphql-language-service-interface from 2.4.0 to 2.4.1
2020-08-07 07:42:54 +05:30
dependabot[bot]
a29498e911 Bump graphql-language-service-interface from 2.4.0 to 2.4.1
Bumps [graphql-language-service-interface](https://github.com/graphql/graphiql) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/graphql/graphiql/releases)
- [Changelog](https://github.com/graphql/graphiql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/graphql/graphiql/compare/graphql-language-service-interface@2.4.0...graphql-language-service-interface@2.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-07 02:09:28 +00:00
Liyas Thomas
3d460b5862 Merge pull request #1055 from postwoman-io/dependabot/npm_and_yarn/firebase-7.17.2
Bump firebase from 7.17.1 to 7.17.2
2020-08-07 07:37:03 +05:30
Liyas Thomas
4acb2a5d92 Merge branch 'master' into dependabot/npm_and_yarn/firebase-7.17.2 2020-08-07 07:32:07 +05:30
Liyas Thomas
47c800b78b Merge pull request #1053 from AndrewBastin/feat/extension-setting 2020-08-07 06:45:24 +05:30
dependabot[bot]
a20da8036f Bump firebase from 7.17.1 to 7.17.2
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.17.1 to 7.17.2.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.17.1...firebase@7.17.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-07 00:07:29 +00:00
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
Liyas Thomas
72ad37456a Removed all instances of the term 'Postman' 2020-08-06 11:03:50 +05:30
Liyas Thomas
83ec0a6c76 Merge pull request #1050 from postwoman-io/dependabot/npm_and_yarn/sass-loader-9.0.3
Bump sass-loader from 9.0.2 to 9.0.3
2020-08-06 08:16:58 +05:30
dependabot[bot]
63f77b0dc5 Bump sass-loader from 9.0.2 to 9.0.3
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.2...v9.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-06 02:40:28 +00:00
Liyas Thomas
798d2e0e6b Merge pull request #1051 from postwoman-io/dependabot/npm_and_yarn/nuxtjs/axios-5.12.1
Bump @nuxtjs/axios from 5.12.0 to 5.12.1
2020-08-06 08:08:15 +05:30
dependabot[bot]
fd098b5440 Bump @nuxtjs/axios from 5.12.0 to 5.12.1
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.12.0 to 5.12.1.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.12.0...v5.12.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-06 00:08:12 +00:00
Liyas Thomas
11d30e409c 💄 Updated fonts to latest version 2020-08-04 09:39:52 +05:30
Andrew Bastin
6cb5ae246d Merge pull request #1044 from postwoman-io/dependabot/npm_and_yarn/cypress-4.12.0
Bump cypress from 4.10.0 to 4.12.0
2020-08-03 21:03:57 -04:00
Andrew Bastin
60c76ba854 Merge branch 'master' into dependabot/npm_and_yarn/cypress-4.12.0 2020-08-03 21:00:21 -04:00
Andrew Bastin
ebf7b32408 Fix Proxy error issue #1027 2020-08-03 20:47:44 -04:00
dependabot[bot]
f343459236 Bump cypress from 4.10.0 to 4.12.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.10.0 to 4.12.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.10.0...v4.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-04 00:04:52 +00:00
Andrew Bastin
d2a57864f0 Merge pull request #1043 from AndrewBastin/bug/1036
Test scripts get properly parsed JSON body
2020-08-03 14:29:47 -04:00
Andrew Bastin
8a07f281ff Test scripts get parsed JSON body 2020-08-03 13:42:33 -04:00
Andrew Bastin
b7b721abd5 Merge pull request #1040 from AndrewBastin/feat/js-linting
Basic linting for JS code
2020-08-02 13:20:40 -04:00
Andrew Bastin
45f1e386cc PreReq scripts and Test scripts now use JSEditor 2020-08-02 13:14:14 -04:00
Andrew Bastin
3c3e8a6c31 Move JS linting code to separate component 2020-08-02 11:47:16 -04:00
Andrew Bastin
ec99b48605 Added JS linting to Ace Editor 2020-08-02 00:26:16 -04:00
Andrew Bastin
da9e599e8f Added esprima as dependency 2020-08-02 00:26:16 -04:00
Andrew Bastin
b1d3fa3f42 Handled error handling to pre-request script execution 2020-08-02 00:26:16 -04:00
Andrew Bastin
7954672ef8 Updated README browser extension links 2020-07-31 23:50:49 -04:00
Liyas Thomas
20a6039bd0 Update README.md 2020-08-01 09:04:46 +05:30
Liyas Thomas
d7fe61bc3d Update README.md 2020-08-01 08:58:29 +05:30
Liyas Thomas
b10406896a Merge pull request #1039 from postwoman-io/dependabot/npm_and_yarn/eslint-7.6.0
Bump eslint from 7.5.0 to 7.6.0
2020-08-01 08:52:00 +05:30
dependabot[bot]
1f135e0721 Bump eslint from 7.5.0 to 7.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.5.0...v7.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-01 03:18:02 +00:00
Liyas Thomas
e1bdc9ce33 Merge pull request #1038 from postwoman-io/dependabot/npm_and_yarn/nuxt-i18n-6.13.2 2020-08-01 08:38:19 +05:30
dependabot[bot]
e3654bb472 Bump nuxt-i18n from 6.13.1 to 6.13.2
Bumps [nuxt-i18n](https://github.com/nuxt-community/i18n-module) from 6.13.1 to 6.13.2.
- [Release notes](https://github.com/nuxt-community/i18n-module/releases)
- [Changelog](https://github.com/nuxt-community/i18n-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/i18n-module/compare/v6.13.1...v6.13.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-01 02:32:25 +00:00
Liyas Thomas
6418d6bcff Delete codeql-analysis.yml
codeql-analysis isn't available for this org. will be added once it is out of beta.
2020-08-01 07:53:50 +05:30
Liyas Thomas
9bf7c5013e Merge pull request #1037 from liyasthomas/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-07-31 21:14:36 +05:30
dependabot[bot]
1797e78ebd Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-31 15:38:22 +00:00
Liyas Thomas
7196299d31 Merge pull request #1035 from liyasthomas/dependabot/npm_and_yarn/functions/dot-prop-5.2.0
Bump dot-prop from 5.1.0 to 5.2.0 in /functions
2020-07-30 16:23:33 +05:30
dependabot[bot]
4d7d9fdfaa Bump dot-prop from 5.1.0 to 5.2.0 in /functions
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 10:47:00 +00:00
Liyas Thomas
0afd6ac749 🔖 v1.9.9 2020-07-30 16:15:19 +05:30
Liyas Thomas
79222179fd Merge pull request #1033 from ushuz/patch-1 2020-07-30 11:16:24 +05:30
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
Liyas Thomas
2bc7f5ad22 Merge pull request #1031 from hantianwei/master
Update zh-CN.json
2020-07-28 15:30:06 +05:30
hantianwei
7a3108aca6 Update zh-CN.json
Modify the wrong word
登陆 ->  登录
2020-07-28 17:19:57 +08:00
Liyas Thomas
fa28aaee44 Fixed #1028 2020-07-28 05:35:37 +05:30
Liyas Thomas
4ab7650c51 Merge pull request #1026 from liyasthomas/dependabot/npm_and_yarn/firebase-7.17.1
Bump firebase from 7.17.0 to 7.17.1
2020-07-27 06:44:46 +05:30
dependabot[bot]
a493d996bd Bump firebase from 7.17.0 to 7.17.1
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.17.0 to 7.17.1.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.17.0...firebase@7.17.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-27 00:06:33 +00:00
Liyas Thomas
a049ffae2b Merge pull request #1024 from hantianwei/master
Update zh-CN.json
2020-07-26 08:29:18 +05:30
hantianwei
57ca6af27d Update zh-CN.json
Add Chinese translation
2020-07-26 10:00:26 +08:00
Liyas Thomas
e52bc12dbe Merge pull request #1019 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/gtm-2.3.2
Bump @nuxtjs/gtm from 2.3.0 to 2.3.2
2020-07-24 07:24:38 +05:30
dependabot[bot]
fe144384aa Bump @nuxtjs/gtm from 2.3.0 to 2.3.2
Bumps [@nuxtjs/gtm](https://github.com/nuxt-community/gtm-module) from 2.3.0 to 2.3.2.
- [Release notes](https://github.com/nuxt-community/gtm-module/releases)
- [Changelog](https://github.com/nuxt-community/gtm-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/gtm-module/compare/v2.3.0...v2.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-24 01:48:58 +00:00
Liyas Thomas
e3226b734d Merge pull request #1018 from liyasthomas/dependabot/npm_and_yarn/firebase-7.17.0
Bump firebase from 7.16.1 to 7.17.0
2020-07-24 07:17:02 +05:30
dependabot[bot]
6578eea2ff Bump firebase from 7.16.1 to 7.17.0
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.16.1 to 7.17.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.16.1...firebase@7.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-24 00:04:48 +00:00
Liyas Thomas
42e283feb3 Merge pull request #1008 from AndrewBastin/bug/994 2020-07-21 16:06:47 +05:30
Andrew Bastin
4a1988dd23 Fixed crash on proxy error 2020-07-21 04:26:57 -04:00
Andrew Bastin
cbae718d25 Fixed Unexpected Token errors for GraphQL queries 2020-07-20 23:48:16 -04:00
Andrew Bastin
53c880832d Added proxy error handling code 2020-07-20 23:48:16 -04:00
Liyas Thomas
df9e172ecc Merge pull request #1005 from liyasthomas/dependabot/npm_and_yarn/eslint-7.5.0
Bump eslint from 7.4.0 to 7.5.0
2020-07-20 05:48:30 +05:30
dependabot[bot]
e5145c9bbf Bump eslint from 7.4.0 to 7.5.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.4.0...v7.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 00:05:08 +00:00
Liyas Thomas
1fbfa23908 Merge pull request #1004 from liyasthomas/feat/doc 2020-07-18 17:56:12 +05:30
Liyas Thomas
193b7ae0e6 Merge branch 'master' into feat/doc 2020-07-18 17:48:42 +05:30
Liyas Thomas
ebe351ff0f Import Collections directly from Docs page 2020-07-18 17:46:29 +05:30
Liyas Thomas
f653901e8b Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-07-18 08:39:10 +05:30
Liyas Thomas
4ab512fa93 Translation guidelines 2020-07-18 08:37:13 +05:30
Liyas Thomas
1827a98284 Add Collections section in Docs page 2020-07-18 06:39:45 +05:30
Liyas Thomas
25c0759932 Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-07-17 11:15:24 +05:30
Liyas Thomas
b686298a5f Install PWA button 2020-07-17 11:14:25 +05:30
Liyas Thomas
abf8860c8a Merge pull request #998 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/google-analytics-2.4.0
Bump @nuxtjs/google-analytics from 2.3.0 to 2.4.0
2020-07-17 06:15:22 +05:30
dependabot[bot]
115b3da62c Bump @nuxtjs/google-analytics from 2.3.0 to 2.4.0
Bumps [@nuxtjs/google-analytics](https://github.com/nuxt-community/analytics-module) from 2.3.0 to 2.4.0.
- [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.3.0...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 00:40:17 +00:00
Liyas Thomas
d9734a8fd9 Merge pull request #999 from liyasthomas/dependabot/npm_and_yarn/functions/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19 in /functions
2020-07-17 06:05:24 +05:30
dependabot[bot]
9ccf9e9def Bump lodash from 4.17.15 to 4.17.19 in /functions
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 00:28:05 +00:00
Liyas Thomas
9f4b2e2a95 Merge pull request #997 from liyasthomas/dependabot/npm_and_yarn/firebase-7.16.1
Bump firebase from 7.16.0 to 7.16.1
2020-07-17 05:56:38 +05:30
dependabot[bot]
892d877cfb Bump firebase from 7.16.0 to 7.16.1
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.16.0 to 7.16.1.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.16.0...firebase@7.16.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 00:03:49 +00:00
Liyas Thomas
4dc76b864f Updated copy 2020-07-16 13:49:26 +05:30
Liyas Thomas
d8e9c05319 Updated copy 2020-07-16 09:08:31 +05:30
Liyas Thomas
c532019647 Merge pull request #995 from AndrewBastin/master
Fixed broken network requests in GraphQL
2020-07-16 02:47:40 +05:30
Andrew Bastin
82409f3ccc Fixed broken network requests in GraphQL 2020-07-15 14:09:05 -04:00
Liyas Thomas
1389c7f4be Merge pull request #993 from perseveringman/patch-zyb 2020-07-15 22:59:29 +05:30
Liyas Thomas
787844b199 Merge branch 'master' into patch-zyb 2020-07-15 22:22:02 +05:30
Liyas Thomas
eb9588fbea Create codeql-analysis.yml 2020-07-15 22:20:14 +05:30
Liyas Thomas
4574c11d0d Merge branch 'master' into patch-zyb 2020-07-15 22:15:48 +05:30
Liyas Thomas
8ec08a5ef6 Merge pull request #992 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/toast-3.3.1
⬆️ Bump @nuxtjs/toast from 3.3.0 to 3.3.1
2020-07-15 22:13:11 +05:30
Liyas Thomas
51b7c3b7ed Merge branch 'master' into dependabot/npm_and_yarn/nuxtjs/toast-3.3.1 2020-07-15 21:58:50 +05:30
Liyas Thomas
b8f6ad68a1 Merge branch 'master' into patch-zyb 2020-07-15 21:50:59 +05:30
Andrew Bastin
02c1f2ee53 Merge pull request #955 from AndrewBastin/feat/binary-response
Binary Responses & Response Lenses
2020-07-15 11:35:22 -04:00
周延博
b9fdaf2845 fix: replaceWithJSON used wrong commit name 2020-07-15 20:57:14 +08:00
dependabot[bot]
269c82ded0 ⬆️ Bump @nuxtjs/toast from 3.3.0 to 3.3.1
Bumps [@nuxtjs/toast](https://github.com/nuxt/modules) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/nuxt/modules/releases)
- [Commits](https://github.com/nuxt/modules/compare/@nuxtjs/toast@3.3.0...@nuxtjs/toast@3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-15 00:05:03 +00:00
Andrew Bastin
ddb0d6540e Fixed typo in decodeB64StringToArrayBuffer 2020-07-14 14:12:00 -04:00
Andrew Bastin
3731da5df5 Removed unwanted Ace Editor logs 2020-07-14 14:11:18 -04:00
Andrew Bastin
54f2e8d3e3 Merge remote-tracking branch 'upstream/master' into feat/binary-response 2020-07-14 13:56:54 -04:00
Andrew Bastin
3b930259f5 Merge branch 'feat/binary-response' of https://github.com/AndrewBastin/postwoman into feat/binary-response 2020-07-14 13:51:33 -04:00
Liyas Thomas
4fe166660f Merge pull request #991 from liyasthomas/dependabot/npm_and_yarn/start-server-and-test-1.11.2
⬆️ Bump start-server-and-test from 1.11.1 to 1.11.2
2020-07-13 06:23:11 +05:30
dependabot[bot]
8dcdadfd41 ⬆️ Bump start-server-and-test from 1.11.1 to 1.11.2
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.11.1...v1.11.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-13 00:44:42 +00:00
Liyas Thomas
ceba63af09 Merge pull request #990 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.12.0
⬆️ Bump @nuxtjs/axios from 5.11.0 to 5.12.0
2020-07-13 06:12:38 +05:30
dependabot[bot]
12c44665b3 ⬆️ Bump @nuxtjs/axios from 5.11.0 to 5.12.0
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.11.0 to 5.12.0.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.11.0...v5.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-13 00:05:43 +00:00
Liyas Thomas
4cef3e1e14 Merge pull request #989 from liyasthomas/dependabot/npm_and_yarn/firebase-7.16.0
⬆️ Bump firebase from 7.15.5 to 7.16.0
2020-07-10 08:59:19 +05:30
dependabot[bot]
116caee113 ⬆️ Bump firebase from 7.15.5 to 7.16.0
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.15.5 to 7.16.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.15.5...firebase@7.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-10 03:24:37 +00:00
Liyas Thomas
ff2f865d1a Merge pull request #988 from liyasthomas/dependabot/npm_and_yarn/start-server-and-test-1.11.1
⬆️ Bump start-server-and-test from 1.11.0 to 1.11.1
2020-07-10 08:52:45 +05:30
dependabot[bot]
1f4292310e ⬆️ Bump start-server-and-test from 1.11.0 to 1.11.1
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.11.0...v1.11.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-10 00:02:10 +00:00
Liyas Thomas
f44a38d843 Merge pull request #986 from liyasthomas/dependabot/npm_and_yarn/sass-loader-9.0.2
⬆️ Bump sass-loader from 9.0.1 to 9.0.2
2020-07-08 08:21:24 +05:30
dependabot[bot]
e85f78432a ⬆️ Bump sass-loader from 9.0.1 to 9.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.1...v9.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-08 01:31:57 +00:00
Liyas Thomas
290cbd6498 Merge pull request #985 from liyasthomas/dependabot/npm_and_yarn/cypress-4.10.0
⬆️ Bump cypress from 4.9.0 to 4.10.0
2020-07-08 06:59:59 +05:30
dependabot[bot]
72dab618eb ⬆️ Bump cypress from 4.9.0 to 4.10.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.9.0...v4.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-08 00:02:22 +00:00
Liyas Thomas
e728911038 Merge branch 'master' into feat/binary-response 2020-07-07 07:08:25 +05:30
Liyas Thomas
bf280c0cf9 Removing vuefire dependency 2020-07-07 07:05:42 +05:30
Liyas Thomas
1fd0248605 Merge pull request #982 from liyasthomas/dependabot/npm_and_yarn/ace-builds-1.4.12
⬆️ Bump ace-builds from 1.4.11 to 1.4.12
2020-07-07 06:08:36 +05:30
dependabot[bot]
c8de99eae4 ⬆️ Bump ace-builds from 1.4.11 to 1.4.12
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.4.11 to 1.4.12.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/ChangeLog.txt)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.4.11...v1.4.12)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-07 00:23:39 +00:00
Liyas Thomas
0a148f79a6 Merge pull request #981 from liyasthomas/dependabot/npm_and_yarn/vuefire-2.2.3
⬆️ Bump vuefire from 2.2.2 to 2.2.3
2020-07-07 05:49:38 +05:30
dependabot[bot]
a70ac89646 ⬆️ Bump vuefire from 2.2.2 to 2.2.3
Bumps [vuefire](https://github.com/vuejs/vuefire) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/vuejs/vuefire/releases)
- [Changelog](https://github.com/vuejs/vuefire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuefire/compare/vuefire@2.2.2...vuefire@2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-07 00:05:11 +00:00
Liyas Thomas
fd4ed4affa Improved spanish translation 2020-07-06 10:19:32 +05:30
Liyas Thomas
ab0aee388e Merge pull request #978 from liyasthomas/dependabot/npm_and_yarn/eslint-7.4.0
⬆️ Bump eslint from 7.3.1 to 7.4.0
2020-07-06 06:10:06 +05:30
dependabot[bot]
f6cf8455e7 ⬆️ Bump eslint from 7.3.1 to 7.4.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.3.1...v7.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-06 00:31:19 +00:00
Liyas Thomas
adc56aef84 Merge pull request #977 from liyasthomas/dependabot/npm_and_yarn/sass-loader-9.0.1
⬆️ Bump sass-loader from 9.0.0 to 9.0.1
2020-07-06 05:59:24 +05:30
dependabot[bot]
2d0dc58bc1 ⬆️ Bump sass-loader from 9.0.0 to 9.0.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.0...v9.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-06 00:20:59 +00:00
Liyas Thomas
6058fc0718 Merge pull request #976 from liyasthomas/dependabot/npm_and_yarn/graphql-15.3.0
⬆️ Bump graphql from 15.2.0 to 15.3.0
2020-07-06 05:49:15 +05:30
dependabot[bot]
ef484be008 ⬆️ Bump graphql from 15.2.0 to 15.3.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.2.0 to 15.3.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.2.0...v15.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-06 00:13:49 +00:00
Liyas Thomas
a19a527b16 Merge pull request #975 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.13.1
⬆️ Bump nuxt-i18n from 6.13.0 to 6.13.1
2020-07-06 05:41:58 +05:30
dependabot[bot]
64414ce7b8 ⬆️ Bump nuxt-i18n from 6.13.0 to 6.13.1
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.13.0 to 6.13.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.13.0...v6.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-06 00:04:50 +00:00
Andrew Bastin
6f40284e67 Merge branch 'master' into feat/binary-response 2020-07-05 19:07:27 -04:00
Andrew Bastin
bc3510ac58 Merge remote-tracking branch 'upstream/master' into feat/binary-response 2020-07-05 12:42:45 -04:00
Liyas Thomas
84eb935cec Add keyboard accessibility to tabs 2020-07-05 05:02:17 +05:30
Liyas Thomas
1950949504 Merge branch 'feat/binary-response' of https://github.com/AndrewBastin/postwoman into feat/binary-response 2020-07-03 11:35:05 +05:30
Liyas Thomas
f3e6a377a9 Removed textareaAutoHeight directive 2020-07-03 11:32:22 +05:30
Andrew Bastin
1441278bdb Merge branch 'master' into feat/binary-response 2020-07-03 01:46:33 -04:00
Liyas Thomas
1e5081dccd Merge pull request #973 from liyasthomas/dependabot/npm_and_yarn/sass-loader-9.0.0
⬆️ Bump sass-loader from 8.0.2 to 9.0.0
2020-07-03 04:19:38 +05:30
dependabot[bot]
a412095707 ⬆️ Bump sass-loader from 8.0.2 to 9.0.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 8.0.2 to 9.0.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v8.0.2...v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-02 22:41:05 +00:00
Liyas Thomas
27514c03e7 Merge pull request #972 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.13.0
⬆️ Bump nuxt-i18n from 6.12.2 to 6.13.0
2020-07-03 04:09:13 +05:30
dependabot[bot]
57ab256230 ⬆️ Bump nuxt-i18n from 6.12.2 to 6.13.0
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.12.2 to 6.13.0.
- [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.12.2...v6.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-02 22:11:44 +00:00
Andrew Bastin
3766564785 Merge branch 'master' into feat/binary-response 2020-07-01 12:27:14 -04:00
Liyas Thomas
199cae09c7 🎨 svgomg 2020-07-01 10:51:22 +05:30
Liyas Thomas
4490adc36c Restore headers component import deleted from previous commit 2020-07-01 07:31:32 +05:30
Andrew Bastin
fe1353b5c7 Dynamically import lens renderers 2020-06-30 16:11:21 -04:00
Liyas Thomas
94b61e9f7c Merge branch 'master' into feat/binary-response 2020-06-30 14:52:41 +05:30
Liyas Thomas
1abc0b8c9a 🐛 Fixed #967 2020-06-30 14:47:07 +05:30
Liyas Thomas
69c9f59479 Merge branch 'master' into feat/binary-response 2020-06-30 14:32:15 +05:30
Liyas Thomas
b15ca6cdb7 Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-06-30 14:15:15 +05:30
Liyas Thomas
b2b9bd744e 🐛 Fixed #967 2020-06-30 14:14:05 +05:30
Liyas Thomas
c223b251d6 UI improvements 2020-06-30 07:39:28 +05:30
Liyas Thomas
9cc475efb3 Merge pull request #966 from liyasthomas/dependabot/npm_and_yarn/graphql-15.2.0
⬆️ Bump graphql from 15.1.0 to 15.2.0
2020-06-30 06:16:49 +05:30
dependabot[bot]
6dbd179baf ⬆️ Bump graphql from 15.1.0 to 15.2.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.1.0 to 15.2.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.1.0...v15.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-30 00:04:32 +00:00
Andrew Bastin
2dce318a17 Added warning for invalid JSON 2020-06-29 14:43:50 -04:00
Andrew Bastin
791fe70fd3 Fixed bug in invalid JSON fallback 2020-06-29 13:41:42 -04:00
Andrew Bastin
7778202439 Added proposed binary proxy response code 2020-06-28 02:50:14 -04:00
Andrew Bastin
8ea64e2224 Remove redudant content type prop for HTML Lens 2020-06-26 15:13:17 -04:00
Andrew Bastin
28ddce1bc4 Moved text based content lenses to use the mixin 2020-06-26 14:57:55 -04:00
Andrew Bastin
d8b5fc5d3f Added mixin for common text rendering code 2020-06-26 14:45:58 -04:00
Andrew Bastin
0fbf24b836 Merge master into feat/binary-response 2020-06-26 14:34:13 -04:00
Liyas Thomas
58bdcadf6f Merge pull request #963 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/sitemap-2.4.0
⬆️ Bump @nuxtjs/sitemap from 2.3.2 to 2.4.0
2020-06-26 06:46:44 +05:30
dependabot[bot]
35f6252c3d ⬆️ Bump @nuxtjs/sitemap from 2.3.2 to 2.4.0
Bumps [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/nuxt-community/sitemap-module/releases)
- [Changelog](https://github.com/nuxt-community/sitemap-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sitemap-module/compare/v2.3.2...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-26 01:08:44 +00:00
Liyas Thomas
37c2918bdd Merge pull request #962 from liyasthomas/dependabot/npm_and_yarn/firebase-7.15.5
⬆️ Bump firebase from 7.15.4 to 7.15.5
2020-06-26 06:36:53 +05:30
dependabot[bot]
0fcea6d203 ⬆️ Bump firebase from 7.15.4 to 7.15.5
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.15.4 to 7.15.5.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.15.4...firebase@7.15.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-26 00:04:50 +00:00
Liyas Thomas
7d7d58fa45 Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-06-25 07:51:09 +05:30
Liyas Thomas
c2d3918341 #959 2020-06-25 07:50:23 +05:30
Andrew Bastin
8ca3df4f63 Merge master into feat/binary-response 2020-06-24 14:37:55 -04:00
Liyas Thomas
535cd75836 Merge pull request #958 from liyasthomas/dependabot/npm_and_yarn/eslint-7.3.1
⬆️ Bump eslint from 7.3.0 to 7.3.1
2020-06-24 07:10:17 +05:30
dependabot[bot]
165595e5fb ⬆️ Bump eslint from 7.3.0 to 7.3.1
Bumps [eslint](https://github.com/eslint/eslint) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.3.0...v7.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-24 01:30:06 +00:00
Liyas Thomas
52ebfe5b6b Merge pull request #957 from liyasthomas/dependabot/npm_and_yarn/cypress-4.9.0
⬆️ Bump cypress from 4.8.0 to 4.9.0
2020-06-24 06:58:06 +05:30
dependabot[bot]
0615256069 ⬆️ Bump cypress from 4.8.0 to 4.9.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.8.0...v4.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-24 00:05:39 +00:00
Andrew Bastin
bcbcd42b83 Added new response system support for Extension Strategy 2020-06-23 16:11:19 -04:00
Liyas Thomas
50be731d06 Fixing CI 2020-06-23 23:58:48 +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
Andrew Bastin
4da44131eb Added XML lens 2020-06-23 03:20:51 -04:00
Andrew Bastin
0fc901bd24 Added support for more types in image lens 2020-06-23 02:57:58 -04:00
Liyas Thomas
0b38514e41 Revert 'Prettify button for RAW responses' 2020-06-23 12:17:51 +05:30
Liyas Thomas
a885e774fc Prettify for RAW responses 2020-06-23 12:00:39 +05:30
Liyas Thomas
d9ac947fe1 Actions for image lens 2020-06-23 08:27:41 +05:30
Liyas Thomas
d12c09aca0 select default lens instead of raw 2020-06-23 07:58:04 +05:30
Liyas Thomas
6496a1b2b9 Merge branch 'feat/binary-response' of https://github.com/AndrewBastin/postwoman into feat/binary-response 2020-06-23 07:54:33 +05:30
Andrew Bastin
f824045fdd Merge master into feat/binary-response 2020-06-22 22:18:29 -04:00
Liyas Thomas
ddf81a3ae9 📄 Updating README 2020-06-23 07:11:51 +05:30
Liyas Thomas
e8a5a2eae9 Merge pull request #956 from liyasthomas/dependabot/npm_and_yarn/firebase-7.15.4
⬆️ Bump firebase from 7.15.3 to 7.15.4
2020-06-23 06:05:46 +05:30
dependabot[bot]
06a61f45ff ⬆️ Bump firebase from 7.15.3 to 7.15.4
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.15.3 to 7.15.4.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.15.3...firebase@7.15.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-23 00:04:57 +00:00
Liyas Thomas
994aadec7c Merge branch 'feat/binary-response' of https://github.com/AndrewBastin/postwoman into feat/binary-response 2020-06-22 14:27:53 +05:30
Andrew Bastin
cb059a141f Removed debug logs 2020-06-22 04:41:21 -04:00
Andrew Bastin
a41b6be185 Don't run the response lenses if the body is the loading text 2020-06-22 04:31:55 -04:00
Andrew Bastin
d31da4a0ec Removed redundant HTML response type check for preview code 2020-06-22 03:36:34 -04:00
Liyas Thomas
bfcb0727d7 Merge branch 'feat/binary-response' of https://github.com/AndrewBastin/postwoman into feat/binary-response 2020-06-22 13:01:18 +05:30
Liyas Thomas
d81306ac1a Actions for HTML responses 2020-06-22 03:26:31 -04:00
Liyas Thomas
b227943fe7 Actions for HTML responses 2020-06-22 12:49:17 +05:30
Liyas Thomas
e04e82e81d Actions for JSON responses 2020-06-22 12:25:43 +05:30
Liyas Thomas
b44ba30873 Actions for RAW responses 2020-06-22 11:22:01 +05:30
Liyas Thomas
0acb5c643c Fixing CI Build 2020-06-22 08:30:18 +05:30
Liyas Thomas
923102a8bf Fixing CI Build 2020-06-22 08:16:09 +05:30
Liyas Thomas
ac323c99d5 Fixed activating multiple tabs on initial load 2020-06-22 08:00:46 +05:30
Andrew Bastin
7911d17b2f Initial lens implementation 2020-06-21 17:15:34 -04:00
Liyas Thomas
307e44a7b9 Merge pull request #954 from liyasthomas/refactor/imports
Improving SEO
2020-06-21 11:37:03 +05:30
Liyas Thomas
6ad2da163c Merge branch 'master' into refactor/imports 2020-06-21 11:29:57 +05:30
Liyas Thomas
a38ef9e29e 🔍 Improving SEO 2020-06-21 11:26:19 +05:30
Liyas Thomas
379d4f1887 Merge pull request #950 from liyasthomas/dependabot/npm_and_yarn/firebase-7.15.3
⬆️ Bump firebase from 7.15.1 to 7.15.3
2020-06-21 10:01:39 +05:30
Liyas Thomas
ce61872822 Merge branch 'master' into dependabot/npm_and_yarn/firebase-7.15.3 2020-06-21 09:56:37 +05:30
Liyas Thomas
8e37a8f1bb Merge pull request #953 from liyasthomas/refactor/imports
Isolate Netlify, Firebase and Helper functions + Import from absolute…
2020-06-21 09:55:42 +05:30
Liyas Thomas
fe9c08e92a 🔥 Removed unused variable 2020-06-21 09:50:20 +05:30
Liyas Thomas
87f6ae8135 Merge branch 'refactor/imports' of https://github.com/liyasthomas/postwoman into refactor/imports 2020-06-21 09:39:56 +05:30
Liyas Thomas
4d780ea2ca 💚 Fixing CI Build 2020-06-21 09:38:57 +05:30
Liyas Thomas
6643f1e4c8 Merge branch 'master' into refactor/imports 2020-06-21 09:28:51 +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
5d1cb8558b Merge pull request #952 from AndrewBastin/feat/select-realtime-log
Added ability to select text in realtime log
2020-06-21 08:51:51 +05:30
Andrew Bastin
361ddc5591 Added ability to select text in realtime log 2020-06-20 23:00:48 -04:00
dependabot[bot]
fc978076d7 ⬆️ Bump firebase from 7.15.1 to 7.15.3
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.15.1 to 7.15.3.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.15.1...firebase@7.15.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-21 02:47:26 +00:00
Liyas Thomas
20cd119c89 Merge pull request #949 from liyasthomas/dependabot/npm_and_yarn/eslint-7.3.0
⬆️ Bump eslint from 7.2.0 to 7.3.0
2020-06-21 08:15:31 +05:30
dependabot[bot]
7c5b8e4305 ⬆️ Bump eslint from 7.2.0 to 7.3.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.2.0...v7.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-21 02:40:53 +00:00
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
18875d46b5 🚑 Critical hotfix 2020-06-19 23:07:40 +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
1587a44cd7 Lint 2020-06-19 12:26:04 +05:30
Liyas Thomas
fcbc738088 Merge pull request #946 from liyasthomas/revert-942-dependabot/npm_and_yarn/nuxt-2.13.0
Revert "⬆️ Bump nuxt from 2.12.2 to 2.13.0"
2020-06-19 12:22:39 +05:30
Liyas Thomas
f845e197b5 Revert "⬆️ Bump nuxt from 2.12.2 to 2.13.0" 2020-06-19 12:16:58 +05:30
Liyas Thomas
8ff0fa7707 Merge pull request #942 from liyasthomas/dependabot/npm_and_yarn/nuxt-2.13.0
⬆️ Bump nuxt from 2.12.2 to 2.13.0
2020-06-19 08:18:59 +05:30
dependabot[bot]
bb59de5f5e ⬆️ Bump nuxt from 2.12.2 to 2.13.0
Bumps [nuxt](https://github.com/nuxt/nuxt.js) from 2.12.2 to 2.13.0.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.12.2...v2.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-19 00:03:14 +00:00
Liyas Thomas
b8b15b9394 🍻 hello@postwoman.io 2020-06-18 12:38:16 +05:30
Liyas Thomas
9676b1d110 💄 Better TOC and popover buttons 2020-06-17 07:50:01 +05:30
Liyas Thomas
f5e217bd81 Merge pull request #939 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/sitemap-2.3.2
⬆️ Bump @nuxtjs/sitemap from 2.3.1 to 2.3.2
2020-06-16 06:08:04 +05:30
dependabot[bot]
97501e63c5 ⬆️ Bump @nuxtjs/sitemap from 2.3.1 to 2.3.2
Bumps [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/nuxt-community/sitemap-module/releases)
- [Changelog](https://github.com/nuxt-community/sitemap-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sitemap-module/compare/v2.3.1...v2.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-16 00:05:21 +00:00
Liyas Thomas
5b220d5c5c 🐛 Fixed a wrong toast notification 2020-06-15 16:10:23 +05:30
Liyas Thomas
5cdc30b822 🐛 Fixed issues with sync, squashed a bug introduced in last transpile 2020-06-15 15:03:31 +05:30
Liyas Thomas
5249e4730d Merge pull request #938 from liyasthomas/dependabot/npm_and_yarn/graphql-15.1.0 2020-06-14 12:24:26 +05:30
dependabot[bot]
870324bb56 ⬆️ Bump graphql from 14.6.0 to 15.1.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.6.0 to 15.1.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.6.0...v15.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-14 06:45:26 +00:00
Liyas Thomas
588bdcc2dd Merge pull request #937 from liyasthomas/refactor/lint 2020-06-12 13:32:16 +05:30
Liyas Thomas
bd0208040e ✏️ Updated readme 2020-06-12 13:09:58 +05:30
Liyas Thomas
b6c16c83c1 🚑 Critical hotfix 2020-06-12 08:55:17 +05:30
Liyas Thomas
6331c4715f Merge pull request #934 from liyasthomas/refactor/es6 2020-06-12 08:45:01 +05:30
Liyas Thomas
1eb0e387ea Merge branch 'master' into refactor/es6 2020-06-12 08:39:26 +05:30
Liyas Thomas
e4e2a444a0 Merge pull request #936 from liyasthomas/dependabot/npm_and_yarn/graphql-language-service-interface-2.4.0
⬆️ Bump graphql-language-service-interface from 2.3.3 to 2.4.0
2020-06-12 06:41:01 +05:30
dependabot[bot]
979aac2fca ⬆️ Bump graphql-language-service-interface from 2.3.3 to 2.4.0
Bumps [graphql-language-service-interface](https://github.com/graphql/graphiql) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/graphql/graphiql/releases)
- [Changelog](https://github.com/graphql/graphiql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/graphql/graphiql/compare/graphql-language-service-interface@2.3.3...graphql-language-service-interface@2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-12 01:04:04 +00:00
Liyas Thomas
4308a0bebd Merge pull request #935 from liyasthomas/dependabot/npm_and_yarn/firebase-7.15.1
⬆️ Bump firebase from 7.15.0 to 7.15.1
2020-06-12 06:32:07 +05:30
dependabot[bot]
eb60b869d4 ⬆️ Bump firebase from 7.15.0 to 7.15.1
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.15.0 to 7.15.1.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.15.0...firebase@7.15.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-12 00:02:38 +00:00
Liyas Thomas
948bd41cd8 Merge branch 'refactor/es6' of https://github.com/liyasthomas/postwoman into refactor/es6 2020-06-11 20:48:58 +05:30
Liyas Thomas
eb760b37e6 Make use of single argument Object 2020-06-11 20:47:49 +05:30
Liyas Thomas
9dcafff26f Merge branch 'master' into refactor/es6 2020-06-11 20:04:21 +05:30
Liyas Thomas
0644a8c9fb Transpiled ES5 code to ES6/ES7 2020-06-11 19:55:40 +05:30
Liyas Thomas
a984580e4c Merge pull request #932 from liyasthomas/dependabot/add-v2-config-file
Create Dependabot config file
2020-06-11 16:44:59 +05:30
dependabot-preview[bot]
b501cc1f93 Create Dependabot config file 2020-06-11 11:10:05 +00:00
Liyas Thomas
9bc0ae975a Merge pull request #931 from AndrewBastin/feat/disable-non-json-download 2020-06-11 09:15:46 +05:30
Andrew Bastin
d111e219c2 Hide download response button for non-JSON responses 2020-06-10 20:17:41 -04:00
Andrew Bastin
6ebcecae80 Added support for full content-type headers in isJSONContentType 2020-06-10 20:17:41 -04:00
Liyas Thomas
cd91d53ead 💄 Increase border-top for secondary nav 2020-06-11 04:07:55 +05:30
Liyas Thomas
5d1f54005f Reverting banner ad 2020-06-10 15:41:25 +05:30
Liyas Thomas
df115bd7db 🌱 Updated funding info 2020-06-09 14:32:08 +05:30
Liyas Thomas
bd81d77cfa Merge pull request #928 from liyasthomas/dependabot/npm_and_yarn/cypress-4.8.0
chore(deps-dev): bump cypress from 4.7.0 to 4.8.0
2020-06-09 06:14:04 +05:30
dependabot-preview[bot]
59365642fc chore(deps-dev): bump cypress from 4.7.0 to 4.8.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.7.0...v4.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 00:34:40 +00:00
Liyas Thomas
7387acdd2c Merge pull request #926 from myussufz/hotfix/sync-collections-and-environment 2020-06-08 10:49:13 +05:30
Mohamed Yussuf
f477998b2f fix: add sync firebase for all the commit 2020-06-08 01:56:13 +08:00
Mohamed Yussuf
0bf2ba5416 fix: not login issue 2020-06-08 01:32:14 +08:00
Mohamed Yussuf
10c568098c fix: environment and collection sync issue with firebase 2020-06-08 00:44:22 +08:00
Liyas Thomas
d9285915ef :octocat: Added GitHub sponsor link 2020-06-07 15:32:26 +05:30
Liyas Thomas
ae0dcd0333 Merge pull request #925 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.11.0
chore(deps): bump @nuxtjs/axios from 5.10.3 to 5.11.0
2020-06-07 06:55:12 +05:30
dependabot-preview[bot]
228b3f2660 chore(deps): bump @nuxtjs/axios from 5.10.3 to 5.11.0
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.10.3 to 5.11.0.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.10.3...v5.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 01:13:38 +00:00
Liyas Thomas
90c3b1bf6d Merge pull request #924 from liyasthomas/dependabot/npm_and_yarn/eslint-7.2.0
chore(deps-dev): bump eslint from 7.1.0 to 7.2.0
2020-06-07 06:41:08 +05:30
dependabot-preview[bot]
e805e8d054 chore(deps-dev): bump eslint from 7.1.0 to 7.2.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.1.0...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 01:07:10 +00:00
Liyas Thomas
89e975aa0e Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-06-05 14:40:13 +05:30
Liyas Thomas
acd7abefe9 n✏️ Fixing typos 2020-06-05 14:34:58 +05:30
Liyas Thomas
1be4490126 Merge pull request #923 from AndrewBastin/feat/gql-response-opt-visibility
GraphQL response options only visible when a response is shown
2020-06-05 10:22:59 +05:30
Andrew Bastin
24d1dbadb7 GQL Response options only visible on response 2020-06-04 22:33:18 -04:00
Liyas Thomas
0a7ff36bb5 Merge pull request #921 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/sitemap-2.3.1
chore(deps): bump @nuxtjs/sitemap from 2.3.0 to 2.3.1
2020-06-05 07:19:49 +05:30
dependabot-preview[bot]
f788dc5595 chore(deps): bump @nuxtjs/sitemap from 2.3.0 to 2.3.1
Bumps [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/nuxt-community/sitemap-module/releases)
- [Changelog](https://github.com/nuxt-community/sitemap-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sitemap-module/compare/v2.3.0...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 01:44:06 +00:00
Liyas Thomas
b347af10fe Merge pull request #922 from liyasthomas/dependabot/npm_and_yarn/firebase-7.15.0
chore(deps): bump firebase from 7.14.6 to 7.15.0
2020-06-05 07:11:36 +05:30
dependabot-preview[bot]
d0411f7d96 chore(deps): bump firebase from 7.14.6 to 7.15.0
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.14.6 to 7.15.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.14.6...firebase@7.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 00:28:36 +00:00
Liyas Thomas
5806870b1c Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-06-03 11:07:20 +05:30
Liyas Thomas
8d8322152b 🌱 Won Tyk side project fund 2020-06-03 11:06:25 +05:30
Liyas Thomas
8b5f7655cf Merge pull request #919 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.12.2 2020-06-03 10:11:49 +05:30
Liyas Thomas
a29068ee46 Merge branch 'master' into dependabot/npm_and_yarn/nuxt-i18n-6.12.2 2020-06-03 10:07:54 +05:30
Liyas Thomas
ac45c57215 Merge pull request #920 from AndrewBastin/feat/gql-result-download 2020-06-03 10:07:19 +05:30
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
dependabot-preview[bot]
d52e998111 chore(deps): bump nuxt-i18n from 6.12.1 to 6.12.2
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.12.1 to 6.12.2.
- [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.12.1...v6.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 00:31:12 +00:00
Liyas Thomas
1f9222ad04 DELETE now supports request body 2020-06-02 17:10:47 +05:30
Andrew Bastin
179fe8b1b9 Merge pull request #916 from AndrewBastin/feat/keyboard-cancel-request
Cancel Request from the Keyboard
2020-06-02 02:57:51 -04:00
Liyas Thomas
888bffba1d Merge branch 'master' into feat/keyboard-cancel-request 2020-06-02 12:24:32 +05:30
Liyas Thomas
e5e4f6508c Merge pull request #917 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/gtm-2.3.0
chore(deps): bump @nuxtjs/gtm from 2.2.3 to 2.3.0
2020-06-02 10:45:17 +05:30
dependabot-preview[bot]
898b74a478 chore(deps): bump @nuxtjs/gtm from 2.2.3 to 2.3.0
Bumps [@nuxtjs/gtm](https://github.com/nuxt-community/gtm-module) from 2.2.3 to 2.3.0.
- [Release notes](https://github.com/nuxt-community/gtm-module/releases)
- [Changelog](https://github.com/nuxt-community/gtm-module/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/gtm-module/compare/v2.2.3...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 03:52:49 +00:00
Andrew Bastin
3189f46ccb Updated language entry send_request 2020-05-31 14:30:50 -04:00
Andrew Bastin
42a566d923 Ctrl+G cancels running requests as well 2020-05-31 14:30:24 -04:00
Andrew Bastin
0897bb24fd Merge pull request #915 from AndrewBastin/feat/cancel-button
Cancellable Requests
2020-05-30 22:09:59 -04:00
Andrew Bastin
4a2f698ff8 Added ability to cancel requests 2020-05-30 18:28:46 -04:00
Andrew Bastin
0fccd3d5cb Added cancel request function for network requests 2020-05-30 18:28:13 -04:00
Andrew Bastin
62c3b341bb Added cancellable requests support for ExtensionStrategy 2020-05-30 18:26:51 -04:00
Andrew Bastin
b2600d3ffd Added cancellable requests for AxiosStrategy 2020-05-30 18:26:26 -04:00
Liyas Thomas
e2e1432069 Merge pull request #914 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.12.1
chore(deps): bump nuxt-i18n from 6.12.0 to 6.12.1
2020-05-30 10:55:51 +05:30
dependabot-preview[bot]
d1394d311e chore(deps): bump nuxt-i18n from 6.12.0 to 6.12.1
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.12.0 to 6.12.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.12.0...v6.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-30 05:16:26 +00:00
Liyas Thomas
28726fd153 Merge pull request #913 from liyasthomas/dependabot/npm_and_yarn/firebase-7.14.6 2020-05-30 10:43:55 +05:30
dependabot-preview[bot]
2de33a87cc chore(deps): bump firebase from 7.14.5 to 7.14.6
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.14.5 to 7.14.6.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.14.5...firebase@7.14.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-30 05:08:53 +00:00
Liyas Thomas
a04bcd196b 🔥 Removed stale dependency: vue-virtual-scroll-list 2020-05-30 06:14:02 +05:30
Liyas Thomas
44261b2ceb 📦 Bumped eslint 2020-05-29 22:28:14 +05:30
Liyas Thomas
0db291047b 🐛 Fixed #912 2020-05-29 22:17:56 +05:30
Liyas Thomas
17dcb1826c ⚗️ Experimenting ad 2020-05-28 15:32:11 +05:30
Liyas Thomas
f1ddf4de56 ⚗️ Experimenting ad 2020-05-28 07:35:19 +05:30
Liyas Thomas
d6e06098d0 🐛 Added support for importing Postman global environments. Fixes #907 2020-05-27 22:16:24 +05:30
Liyas Thomas
cd232d7221 Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-05-27 07:09:37 +05:30
Liyas Thomas
d986d2e462 🐛 Populate label to Collection - Fixed #897 2020-05-27 07:07:41 +05:30
Liyas Thomas
7003bab28f Merge pull request #904 from liyasthomas/dependabot/npm_and_yarn/cypress-4.7.0
chore(deps-dev): bump cypress from 4.6.0 to 4.7.0
2020-05-27 06:03:59 +05:30
dependabot-preview[bot]
9f6c0cf104 chore(deps-dev): bump cypress from 4.6.0 to 4.7.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.6.0...v4.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 00:28:44 +00:00
Liyas Thomas
43d3fa92ba 🐛 Fixed #891 2020-05-26 08:39:52 +05:30
Liyas Thomas
d80238d93b Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-05-26 07:51:05 +05:30
Liyas Thomas
a6160be3ad 🐛 Fixed #896 2020-05-26 07:49:55 +05:30
Liyas Thomas
4c1abdf0d2 Merge pull request #899 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.12.0 2020-05-26 06:41:17 +05:30
dependabot-preview[bot]
07ba60ab67 chore(deps): bump nuxt-i18n from 6.11.1 to 6.12.0
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.11.1 to 6.12.0.
- [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.11.1...v6.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-26 00:29:45 +00:00
Liyas Thomas
b4d37b2101 Merge pull request #895 from AndrewBastin/bugfix/894 2020-05-24 19:04:04 +05:30
Andrew Bastin
05f573d181 Added check if content-type header is present for transformResponse 2020-05-24 07:38:03 -04:00
Andrew Bastin
0b40e1c3fe Merge pull request #893 from AndrewBastin/refactor/893
Some small refactoring
2020-05-22 04:56:20 -04:00
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
Andrew Bastin
76d7a3f6d4 Rename sseValid to httpValid 2020-05-22 02:28:14 -04:00
Liyas Thomas
f4093d04d9 Merge pull request #892 from liyasthomas/dependabot/npm_and_yarn/firebase-7.14.5 2020-05-22 06:03:44 +05:30
dependabot-preview[bot]
427d38df44 chore(deps): bump firebase from 7.14.4 to 7.14.5
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.14.4 to 7.14.5.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.14.4...firebase@7.14.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-22 00:27:37 +00:00
Andrew Bastin
1d9931a58a Merge pull request #890 from AndrewBastin/bugfix/880
Fixed regex not validating for Realtime page for localhost URLs
2020-05-20 22:55:49 -04:00
Andrew Bastin
4737a5fe69 Merge branch 'master' into bugfix/880 2020-05-20 22:42:29 -04:00
Liyas Thomas
27d496d602 Merge pull request #889 from liyasthomas/dependabot/npm_and_yarn/cypress-4.6.0
chore(deps-dev): bump cypress from 4.5.0 to 4.6.0
2020-05-21 08:09:04 +05:30
Andrew Bastin
df37a00bfc Fixed regex not validating for Realtime page for localhost URLs 2020-05-20 22:38:34 -04:00
dependabot-preview[bot]
7c7ff40776 chore(deps-dev): bump cypress from 4.5.0 to 4.6.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.5.0...v4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 00:36:46 +00:00
Liyas Thomas
2607d14c82 Merge pull request #888 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/google-analytics-2.3.0
chore(deps-dev): bump @nuxtjs/google-analytics from 2.2.3 to 2.3.0
2020-05-21 06:04:11 +05:30
dependabot-preview[bot]
1e80fea530 chore(deps-dev): bump @nuxtjs/google-analytics from 2.2.3 to 2.3.0
Bumps [@nuxtjs/google-analytics](https://github.com/nuxt-community/analytics-module) from 2.2.3 to 2.3.0.
- [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.3...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-21 00:27:22 +00:00
Liyas Thomas
59fc695190 Merge pull request #887 from guchongxi/bugfix/886 2020-05-20 17:36:45 +05:30
顾重
c8b5620cc5 Fixed header delete 2020-05-20 19:54:42 +08:00
Liyas Thomas
67ad59b80e 🐛 Fixed #883 2020-05-19 19:50:27 +05:30
Liyas Thomas
9c0c80033f Merge pull request #881 from AndrewBastin/bugfix/869 2020-05-19 13:06:42 +05:30
Andrew Bastin
c2a919e178 Fixed axios parsing JSON for non-JSON content types 2020-05-19 03:04:03 -04:00
Liyas Thomas
a0da79165d Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-05-15 21:36:02 +05:30
Samir Boulema
40ea43b738 Merge pull request #878 from sboulema/feature/environments-not-synced-after-edit
Fix syncing environments
2020-05-15 17:57:20 +02:00
Liyas Thomas
0183a8eff8 Merge branch 'master' into feature/environments-not-synced-after-edit 2020-05-15 20:56:39 +05:30
Liyas Thomas
700643019f Merge pull request #876 from AndrewBastin/bugfix/873 2020-05-15 20:55:04 +05:30
Samir L. Boulema
240351ea23 Fix syncing environments 2020-05-15 16:43:25 +02:00
Andrew Bastin
b49e215617 Refactor Realtime URL validation functions 2020-05-15 02:14:24 -04:00
Andrew Bastin
b1ffeb1f24 Updated URL validation regex to be more lenient 2020-05-15 02:10:26 -04:00
Liyas Thomas
ae9a9cf8cf Merge pull request #875 from liyasthomas/dependabot/npm_and_yarn/firebase-7.14.4
chore(deps): bump firebase from 7.14.3 to 7.14.4
2020-05-15 06:53:44 +05:30
dependabot-preview[bot]
64b76bdc6e chore(deps): bump firebase from 7.14.3 to 7.14.4
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.14.3 to 7.14.4.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.14.3...firebase@7.14.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-15 00:27:07 +00:00
Liyas Thomas
9744de507e 🔖 v1.9.7 2020-05-14 08:53:50 +05:30
Liyas Thomas
f2b4aec4dd 🔖 v1.9.7 2020-05-12 19:50:34 +05:30
Liyas Thomas
bad0604d0c 🚑 Critical dotenv hotfix 2020-05-12 19:15:17 +05:30
Liyas Thomas
a8ba2bf70f 🔖 dotenv 2020-05-12 17:51:39 +05:30
Liyas Thomas
da85a7ca87 🐛 Fixing save Collections/Environments on enabling sync 2020-05-12 15:37:32 +05:30
Liyas Thomas
2a9cc0eebf Merge pull request #856 from liyasthomas/feat/dotenv 2020-05-12 15:14:34 +05:30
Liyas Thomas
e0ee4f5249 Merge branch 'master' into feat/dotenv 2020-05-12 13:34:34 +05:30
Liyas Thomas
2ffb6d6a9d dotenv 2020-05-12 13:29:02 +05:30
Liyas Thomas
c285217ed2 📦 Updating compiled files or packages 2020-05-12 08:27:58 +05:30
Liyas Thomas
c30a0b534c Merge pull request #864 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/sitemap-2.3.0 2020-05-12 06:37:41 +05:30
dependabot-preview[bot]
ff0b35fd01 chore(deps): bump @nuxtjs/sitemap from 2.2.1 to 2.3.0
Bumps [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/nuxt-community/sitemap-module/releases)
- [Changelog](https://github.com/nuxt-community/sitemap-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sitemap-module/compare/v2.2.1...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 00:56:41 +00:00
Liyas Thomas
c11161d294 Merge branch 'master' into feat/dotenv 2020-05-12 00:20:59 +05:30
Liyas Thomas
26c05586e7 Merge pull request #863 from liyasthomas/all-contributors/add-sboulema 2020-05-11 19:44:08 +05:30
allcontributors[bot]
1a3ff5dbb7 docs: update .all-contributorsrc [skip ci] 2020-05-11 14:07:14 +00:00
allcontributors[bot]
942ef6a752 docs: update README.md [skip ci] 2020-05-11 14:07:13 +00:00
Liyas Thomas
f88158e61f Merge pull request #862 from sboulema/feature/#759
We're currently facing a delayed production deploy issue with Netlify. Kindly be patient while changes are propagated to live site. Hopefully Netlify will fix this technical issue asap. I'll ping once changes are up on live.
2020-05-11 15:23:58 +05:30
Samir Boulema
d447029cdc Merge branch 'master' into feature/#759 2020-05-11 11:20:15 +02:00
Samir L. Boulema
39a7d73430 Allow importing environment variables via Postman environment json files 2020-05-11 11:15:42 +02:00
Liyas Thomas
5c31cf5c4d Merge pull request #857 from Hydrophobefireman/master 2020-05-11 14:22:52 +05:30
Hydrophobefireman
7c941bbc25 Merge branch 'master' into master 2020-05-11 13:55:20 +05:30
Liyas Thomas
44ef2cf02c Merge pull request #861 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.11.1 2020-05-11 06:03:04 +05:30
dependabot-preview[bot]
38949bf4b0 chore(deps): bump nuxt-i18n from 6.11.0 to 6.11.1
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.11.0 to 6.11.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.11.0...v6.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 00:28:57 +00:00
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
6f034ad878 dotenv 2020-05-10 13:18:40 +05:30
Liyas Thomas
b598d846bb dotenv 2020-05-10 12:36:40 +05:30
Liyas Thomas
e3fb11cce0 dotenv 2020-05-10 12:17:25 +05:30
Liyas Thomas
d4aa3699f2 dotenv 2020-05-10 12:10:17 +05:30
Liyas Thomas
80d0925ed7 🐛 Fixed #731 2020-05-10 07:10:32 +05:30
Liyas Thomas
77471a5f56 Merge pull request #851 from sboulema/feature/environment-variables-in-collections-#642
Environment variables in collections
2020-05-09 06:18:52 +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
Liyas Thomas
113210b08e Merge pull request #854 from sboulema/feature/save-collections-on-account-sync-turn-on-#679 2020-05-08 20:44:38 +05:30
Liyas Thomas
db43181733 Merge branch 'master' into feature/save-collections-on-account-sync-turn-on-#679 2020-05-08 20:29:03 +05:30
Samir L. Boulema
d60939211a Save Collections/Environments on enabling sync 2020-05-08 16:34:53 +02:00
Samir Boulema
7c945a674d Merge branch 'master' into feature/environment-variables-in-collections-#642 2020-05-08 09:53:27 +02:00
Liyas Thomas
f0a70d945a Merge pull request #853 from liyasthomas/dependabot/npm_and_yarn/firebase-7.14.3 2020-05-08 06:39:01 +05:30
dependabot-preview[bot]
fdca00b198 chore(deps): bump firebase from 7.14.2 to 7.14.3
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.14.2 to 7.14.3.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.14.2...firebase@7.14.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 00:30:44 +00:00
Samir L. Boulema
8b961fb8cd Environment variables in collections #642 2020-05-07 20:54:38 +02:00
Andrew Bastin
7e3c775f70 Merge pull request #847 from sboulema/feature/add-format-body-option-#767
Add format body option
2020-05-07 03:19:09 -04: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
Liyas Thomas
eb5f51249b Merge pull request #846 from AndrewBastin/feat/cache-gql-docs
Save GraphQL Docs
2020-05-06 06:45:47 +05:30
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
Andrew Bastin
d42f842b2f Added store entry to store GQL schema introspection data 2020-05-05 17:22:04 -04:00
Liyas Thomas
9163e27a5f Merge pull request #840 from sboulema/feature/URL-Path-Parameters-#834
URL Path Parameters #834
2020-05-05 22:43:21 +05:30
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
Liyas Thomas
ad7bff102d Merge pull request #844 from liyasthomas/dependabot/npm_and_yarn/node-sass-4.14.1 2020-05-05 17:11:37 +05:30
dependabot-preview[bot]
3a8b31a5a7 chore(deps-dev): bump node-sass from 4.14.0 to 4.14.1
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 11:34:01 +00:00
Liyas Thomas
5461392516 Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-05-05 16:59:38 +05:30
Liyas Thomas
fc90ca3815 🌐 Internationalization and localization 2020-05-05 16:57:41 +05:30
Andrew Bastin
ec2f4ea547 Added eslint and eslint-plugin vue as dev dependency 2020-05-05 01:23:25 -04:00
Andrew Bastin
5f06eb5116 Fixed typo in default state gql query value 2020-05-05 00:27:45 -04:00
Liyas Thomas
ae10af2464 Merge pull request #842 from AndrewBastin/cleanup/remove-index-conflict-file
Remove not-deleted index.vue merge file
2020-05-05 06:06:05 +05:30
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
Liyas Thomas
ae72c5a8fe Merge pull request #839 from liyasthomas/deps
chore(deps): remove stale dependency
2020-05-03 15:08:37 +05:30
jamesgeorge007
a65a4796ca chore: remove stale dep 2020-05-03 13:04:05 +05:30
Andrew Bastin
4789b76e66 Merge pull request #838 from AndrewBastin/feat/gql-query-highlight
GraphQL Query Editor Syntax Highlighting
2020-05-02 20:44:48 -04:00
Andrew Bastin
7b52637c5f Removed unnecessary lang parameter for GQL Query Editor 2020-05-02 15:42:02 -04:00
Andrew Bastin
db2429d1cb Added syntax highlighting to GQL Queries 2020-05-02 15:42:02 -04:00
Samir L. Boulema
25f014ef3b URL Path Parameters #834 2020-05-02 19:34:16 +02:00
Liyas Thomas
44cff354f2 Merge pull request #835 from jameslahm/master
chore(store): better code structure
2020-05-02 20:21:40 +05:30
Liyas Thomas
6276c1df97 Merge branch 'master' into master 2020-05-02 13:41:58 +05:30
Liyas Thomas
8c2420fd03 Merge pull request #837 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.2.2 2020-05-02 13:30:14 +05:30
dependabot-preview[bot]
011b19b62d chore(deps-dev): bump lint-staged from 10.2.1 to 10.2.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.1 to 10.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.1...v10.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-02 07:38:37 +00:00
wangao
fbd41bc2d8 chore(store): better code structure 2020-05-01 22:45:12 +08:00
Liyas Thomas
950d9b1a8f Merge pull request #832 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.10.3 2020-05-01 06:30:56 +05:30
dependabot-preview[bot]
9c6b7b005f chore(deps): bump @nuxtjs/axios from 5.10.2 to 5.10.3
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.10.2 to 5.10.3.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.10.2...v5.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 00:46:07 +00:00
Liyas Thomas
74ce8dcfce Merge pull request #831 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.11.0 2020-05-01 06:13:32 +05:30
dependabot-preview[bot]
3c892eb1aa chore(deps): bump nuxt-i18n from 6.10.1 to 6.11.0
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.10.1 to 6.11.0.
- [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.10.1...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 00:31:40 +00:00
Liyas Thomas
7907508240 Merge pull request #830 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.2.1 2020-05-01 05:59:19 +05:30
dependabot-preview[bot]
602a13660a chore(deps-dev): bump lint-staged from 10.2.0 to 10.2.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.0 to 10.2.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.0...v10.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 00:17:44 +00:00
Liyas Thomas
2adead91bf Merge pull request #828 from jinyus/wsockdev 2020-04-30 15:16:18 +05:30
Liyas Thomas
ca6e27b1f7 Merge branch 'master' into wsockdev 2020-04-30 14:46:26 +05:30
David Reid
76082a2e61 Use built in log instead of creating a new array 2020-04-30 01:41:22 -05:00
David Reid
83b1993cd2 Add message history to websocket client 2020-04-30 01:18:26 -05:00
David Reid
18d569aad8 Add message history to websocket client 2020-04-30 01:12:34 -05:00
David Reid
30987d5ad0 Add message history to websocket client 2020-04-30 01:10:29 -05: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
8f374e5244 Merge pull request #823 from jameslahm/master 2020-04-29 10:40:58 +05:30
wangao
c497faa07a chore(config): delete render option 2020-04-29 12:55:43 +08:00
Liyas Thomas
2033eec0e8 Merge pull request #816 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.10.2 2020-04-29 06:31:57 +05:30
dependabot-preview[bot]
76ffc0c509 chore(deps): bump @nuxtjs/axios from 5.10.1 to 5.10.2
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.10.1 to 5.10.2.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.10.1...v5.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-29 00:42:59 +00:00
Liyas Thomas
538377034f Merge pull request #822 from liyasthomas/dependabot/npm_and_yarn/cypress-4.5.0 2020-04-29 06:10:15 +05:30
dependabot-preview[bot]
33e0084e93 chore(deps-dev): bump cypress from 4.4.1 to 4.5.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.4.1...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-29 00:30:11 +00:00
Liyas Thomas
1fa58cab6b Merge pull request #821 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.2.0 2020-04-29 05:57:28 +05:30
dependabot-preview[bot]
9747f19343 chore(deps-dev): bump lint-staged from 10.1.7 to 10.2.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.7 to 10.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.7...v10.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-29 00:15:55 +00:00
Liyas Thomas
51004da441 Merge pull request #820 from feydan/socketio-json-support 2020-04-29 05:21:39 +05:30
Dan Fey
266cb83ba9 Trying to json parse user input so that the socket io library can properly emit json data. Falls back to string input 2020-04-28 13:20:47 -07:00
Liyas Thomas
1d7b3523ae 🐛 Fixed #765 2020-04-26 15:40:44 +05:30
Liyas Thomas
3924077b97 Merge pull request #813 from shtakai/feature/json_array 2020-04-26 10:24: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
Liyas Thomas
9aec950593 Merge pull request #807 from liyasthomas/dependabot/npm_and_yarn/node-sass-4.14.0
chore(deps-dev): bump node-sass from 4.13.1 to 4.14.0
2020-04-24 07:01:46 +05:30
dependabot-preview[bot]
dc5ab92a62 chore(deps-dev): bump node-sass from 4.13.1 to 4.14.0
Bumps [node-sass](https://github.com/sass/node-sass) from 4.13.1 to 4.14.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.1...v4.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 01:27:59 +00:00
Liyas Thomas
55d61e3282 Merge pull request #808 from liyasthomas/dependabot/npm_and_yarn/firebase-7.14.2
chore(deps): bump firebase from 7.14.1 to 7.14.2
2020-04-24 06:55:28 +05:30
dependabot-preview[bot]
60965c1b37 chore(deps): bump firebase from 7.14.1 to 7.14.2
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.14.1 to 7.14.2.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.14.1...firebase@7.14.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 01:21:53 +00:00
Liyas Thomas
f5c595fa2e Merge pull request #806 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/sitemap-2.2.1
chore(deps): bump @nuxtjs/sitemap from 2.2.0 to 2.2.1
2020-04-24 06:49:20 +05:30
dependabot-preview[bot]
8a3e4b2041 chore(deps): bump @nuxtjs/sitemap from 2.2.0 to 2.2.1
Bumps [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/nuxt-community/sitemap-module/releases)
- [Changelog](https://github.com/nuxt-community/sitemap-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sitemap-module/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 01:10:15 +00:00
Liyas Thomas
de90a73a83 Merge pull request #809 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.10.1
chore(deps): bump nuxt-i18n from 6.9.2 to 6.10.1
2020-04-24 06:37:46 +05:30
dependabot-preview[bot]
4721f5fda2 chore(deps): bump nuxt-i18n from 6.9.2 to 6.10.1
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.9.2 to 6.10.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.9.2...v6.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 00:18:42 +00:00
Liyas Thomas
50f9364f7a Merge pull request #802 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.9.2
chore(deps): bump nuxt-i18n from 6.9.1 to 6.9.2
2020-04-23 08:06:43 +05:30
dependabot-preview[bot]
ceb9eafe27 chore(deps): bump nuxt-i18n from 6.9.1 to 6.9.2
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.9.1 to 6.9.2.
- [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.9.1...v6.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 01:20:04 +00:00
Liyas Thomas
4e15117746 Merge pull request #803 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.10.1
chore(deps): bump @nuxtjs/axios from 5.10.0 to 5.10.1
2020-04-23 06:47:40 +05:30
dependabot-preview[bot]
b87b43cfa8 chore(deps): bump @nuxtjs/axios from 5.10.0 to 5.10.1
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.10.0...v5.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 00:18:45 +00:00
Liyas Thomas
caf056caf1 Merge pull request #799 from liyasthomas/dependabot/npm_and_yarn/prettier-2.0.5
chore(deps-dev): bump prettier from 2.0.4 to 2.0.5
2020-04-22 09:54:29 +05:30
dependabot-preview[bot]
c5953b584f chore(deps-dev): bump prettier from 2.0.4 to 2.0.5
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.4...2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 04:14:59 +00:00
Liyas Thomas
de053edeab Merge pull request #800 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.1.7
chore(deps-dev): bump lint-staged from 10.1.6 to 10.1.7
2020-04-22 09:42:19 +05:30
dependabot-preview[bot]
392e675bd4 chore(deps-dev): bump lint-staged from 10.1.6 to 10.1.7
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.6 to 10.1.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.6...v10.1.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 04:04:18 +00:00
Liyas Thomas
e53c8bd43f Merge pull request #798 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.10.0
chore(deps): bump @nuxtjs/axios from 5.9.7 to 5.10.0
2020-04-22 09:31:47 +05:30
dependabot-preview[bot]
976d5e2bb3 chore(deps): bump @nuxtjs/axios from 5.9.7 to 5.10.0
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.9.7 to 5.10.0.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.9.7...v5.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 00:18:10 +00:00
Liyas Thomas
d1a1c9308a Merge pull request #797 from liyasthomas/dependabot/npm_and_yarn/cypress-4.4.1
chore(deps-dev): bump cypress from 4.4.0 to 4.4.1
2020-04-21 07:37:23 +05:30
dependabot-preview[bot]
1a8e162eb9 chore(deps-dev): bump cypress from 4.4.0 to 4.4.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.4.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 01:06:40 +00:00
Liyas Thomas
fbac03e9e1 Merge pull request #795 from konradkalemba/master
Listen to all events in socket.io connection
2020-04-21 06:34:19 +05:30
Konrad Kalemba
b89a1cd066 Listen to all events in socket.io connection 2020-04-20 20:45:11 +02:00
Liyas Thomas
780e80a4f9 Merge pull request #791 from Nikita240/master
Fix postman import with empty url
2020-04-20 19:11:06 +05:30
Nikita Rushmanov
d6bc1b8eb1 Fixed postman import with empty url 2020-04-19 21:48:41 -07:00
Liyas Thomas
5783d10696 Merge pull request #789 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.1.6
chore(deps-dev): bump lint-staged from 10.1.5 to 10.1.6
2020-04-20 07:15:20 +05:30
dependabot-preview[bot]
97e06b6284 chore(deps-dev): bump lint-staged from 10.1.5 to 10.1.6
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.5 to 10.1.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.5...v10.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 00:37:56 +00:00
Liyas Thomas
09f7f1f5e0 Merge pull request #787 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.1.5
chore(deps-dev): bump lint-staged from 10.1.3 to 10.1.5
2020-04-19 10:41:15 +05:30
dependabot-preview[bot]
943d116b69 chore(deps-dev): bump lint-staged from 10.1.3 to 10.1.5
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.3 to 10.1.5.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.3...v10.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-19 05:06:41 +00:00
Liyas Thomas
55224aa221 Fixed #760 2020-04-19 05:21:49 +05:30
Liyas Thomas
05cd1fd0a8 Merge pull request #781 from liyasthomas/dependabot/npm_and_yarn/yargs-parser-18.1.3
chore(deps): bump yargs-parser from 18.1.2 to 18.1.3
2020-04-17 08:13:38 +05:30
dependabot-preview[bot]
e8762bfb25 chore(deps): bump yargs-parser from 18.1.2 to 18.1.3
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 18.1.2 to 18.1.3.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v18.1.2...v18.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-17 02:37:52 +00:00
Liyas Thomas
242d212402 Merge pull request #782 from liyasthomas/dependabot/npm_and_yarn/firebase-7.14.1
chore(deps): bump firebase from 7.14.0 to 7.14.1
2020-04-17 08:05:25 +05:30
dependabot-preview[bot]
b14522f22d chore(deps): bump firebase from 7.14.0 to 7.14.1
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.14.0 to 7.14.1.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.14.0...firebase@7.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-17 00:20:28 +00:00
Liyas Thomas
4f43756c0e Merge branch 'master' of https://github.com/liyasthomas/postwoman 2020-04-17 00:07:52 +05:30
Liyas Thomas
4e9b724070 Merge pull request #778 from liyasthomas/dependabot/npm_and_yarn/start-server-and-test-1.11.0
chore(deps-dev): bump start-server-and-test from 1.10.11 to 1.11.0
2020-04-17 00:04:47 +05:30
Liyas Thomas
774c1678be 🔥 Removing unwanted files 2020-04-16 23:58:44 +05:30
dependabot-preview[bot]
bb18a7278e chore(deps-dev): bump start-server-and-test from 1.10.11 to 1.11.0
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.10.11 to 1.11.0.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.10.11...v1.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 18:24:52 +00:00
Liyas Thomas
f2609dba56 Merge pull request #775 from liyasthomas/dependabot/npm_and_yarn/ace-builds-1.4.11
chore(deps): bump ace-builds from 1.4.9 to 1.4.11
2020-04-16 23:52:28 +05:30
dependabot-preview[bot]
071c57c5a2 chore(deps): bump ace-builds from 1.4.9 to 1.4.11
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.4.9 to 1.4.11.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/ChangeLog.txt)
- [Commits](https://github.com/ajaxorg/ace-builds/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 17:36:48 +00:00
Liyas Thomas
caf76f9cd9 Merge pull request #776 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.9.1
chore(deps): bump nuxt-i18n from 6.8.1 to 6.9.1
2020-04-16 23:03:59 +05:30
dependabot-preview[bot]
012b61ae8e chore(deps): bump nuxt-i18n from 6.8.1 to 6.9.1
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.8.1 to 6.9.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.8.1...v6.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 17:27:44 +00:00
Liyas Thomas
936f91f204 Merge pull request #774 from liyasthomas/dependabot/npm_and_yarn/cypress-4.4.0
chore(deps-dev): bump cypress from 4.3.0 to 4.4.0
2020-04-16 22:55:21 +05:30
dependabot-preview[bot]
de28bd4660 chore(deps-dev): bump cypress from 4.3.0 to 4.4.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.3.0...v4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 17:17:34 +00:00
Liyas Thomas
e60a333aff Merge pull request #758 from liyasthomas/dependabot/npm_and_yarn/firebase-7.14.0
chore(deps): bump firebase from 7.13.2 to 7.14.0
2020-04-11 06:42:41 +05:30
dependabot-preview[bot]
b9664906d1 chore(deps): bump firebase from 7.13.2 to 7.14.0
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.13.2 to 7.14.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.13.2...firebase@7.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-11 01:09:17 +00:00
Liyas Thomas
910cf73515 Merge pull request #757 from liyasthomas/dependabot/npm_and_yarn/husky-4.2.5
chore(deps-dev): bump husky from 4.2.3 to 4.2.5
2020-04-11 06:36:04 +05:30
dependabot-preview[bot]
c70bea5f62 chore(deps-dev): bump husky from 4.2.3 to 4.2.5
Bumps [husky](https://github.com/typicode/husky) from 4.2.3 to 4.2.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.3...v4.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-11 00:55:16 +00:00
Liyas Thomas
cefb6463c5 Merge pull request #756 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.1.3
chore(deps-dev): bump lint-staged from 10.1.2 to 10.1.3
2020-04-11 06:22:12 +05:30
dependabot-preview[bot]
7059b64948 chore(deps-dev): bump lint-staged from 10.1.2 to 10.1.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.2 to 10.1.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.2...v10.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-11 00:15:11 +00:00
Liyas Thomas
76bf91bc0a Merge pull request #748 from levrik/fix-extension-installed-indicator
Fix indicator if extension is installed
2020-04-08 22:41:02 +05:30
Levin Rickert
3679eecfc2 Fix indicator if extension is installed 2020-04-08 19:02:19 +02:00
Andrew Bastin
ac7875011d Merge pull request #747 from levrik/remove-legacy-extension-strategies
Remove support for legacy extensions
2020-04-08 12:53:53 -04:00
Levin Rickert
83b708368f Remove support for legacy extensions 2020-04-08 12:19:17 +02:00
Andrew Bastin
140d585122 Merge pull request #745 from levrik/fix-gql-get-schema
Fix GQL introspection query not sent through extension
2020-04-07 12:10:06 -04:00
Levin Rickert
848535a343 Fix GQL introspection query not sent through extension 2020-04-07 14:24:44 +02:00
Liyas Thomas
3fcf90edd7 Merge pull request #744 from liyasthomas/dependabot/npm_and_yarn/prettier-2.0.4
chore(deps-dev): bump prettier from 2.0.2 to 2.0.4
2020-04-07 10:58:18 +05:30
dependabot-preview[bot]
0e7597edcc chore(deps-dev): bump prettier from 2.0.2 to 2.0.4
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.2...2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 05:22:39 +00:00
Liyas Thomas
5f6c60656d Merge pull request #743 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/sitemap-2.2.0
chore(deps): bump @nuxtjs/sitemap from 2.1.0 to 2.2.0
2020-04-07 10:49:51 +05:30
dependabot-preview[bot]
b85220fc65 chore(deps): bump @nuxtjs/sitemap from 2.1.0 to 2.2.0
Bumps [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/nuxt-community/sitemap-module/releases)
- [Changelog](https://github.com/nuxt-community/sitemap-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sitemap-module/compare/v2.1.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 05:14:41 +00:00
Liyas Thomas
8c038ae662 Merge pull request #740 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.1.2
chore(deps-dev): bump lint-staged from 10.1.1 to 10.1.2
2020-04-05 18:01:25 +05:30
dependabot-preview[bot]
84e3fdb4ac chore(deps-dev): bump lint-staged from 10.1.1 to 10.1.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.1 to 10.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.1...v10.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-05 12:26:21 +00:00
Liyas Thomas
a0eb2d5a8d Merge pull request #736 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.8.1
chore(deps): bump nuxt-i18n from 6.8.0 to 6.8.1
2020-04-04 06:12:11 +05:30
dependabot-preview[bot]
ed03bc372d chore(deps): bump nuxt-i18n from 6.8.0 to 6.8.1
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.8.0 to 6.8.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.8.0...v6.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-04 00:38:41 +00:00
James George
ecc2d70c3c Merge pull request #734 from liyasthomas/dependabot/npm_and_yarn/firebase-7.13.2
chore(deps): bump firebase from 7.13.1 to 7.13.2
2020-04-03 12:27:54 +05:30
dependabot-preview[bot]
2995cf9fa6 chore(deps): bump firebase from 7.13.1 to 7.13.2
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.13.1 to 7.13.2.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.13.1...firebase@7.13.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 06:50:28 +00:00
Liyas Thomas
2823a0f52a Merge pull request #735 from liyasthomas/dependabot/npm_and_yarn/ace-builds-1.4.9
chore(deps): bump ace-builds from 1.4.8 to 1.4.9
2020-04-03 12:17:57 +05:30
dependabot-preview[bot]
04fe61bf94 chore(deps): bump ace-builds from 1.4.8 to 1.4.9
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.4.8 to 1.4.9.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/ChangeLog.txt)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.4.8...v1.4.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 05:54:04 +00:00
Liyas Thomas
4b13c8db90 Merge pull request #733 from liyasthomas/dependabot/npm_and_yarn/vue-virtual-scroll-list-1.4.7
chore(deps): bump vue-virtual-scroll-list from 1.4.6 to 1.4.7
2020-04-03 11:21:24 +05:30
dependabot-preview[bot]
33af2f1e44 chore(deps): bump vue-virtual-scroll-list from 1.4.6 to 1.4.7
Bumps [vue-virtual-scroll-list](https://github.com/tangbc/vue-virtual-scroll-list) from 1.4.6 to 1.4.7.
- [Release notes](https://github.com/tangbc/vue-virtual-scroll-list/releases)
- [Commits](https://github.com/tangbc/vue-virtual-scroll-list/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 05:44:23 +00:00
Liyas Thomas
ac477c3d0d Merge pull request #732 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.8.0
chore(deps): bump nuxt-i18n from 6.7.2 to 6.8.0
2020-04-03 11:11:59 +05:30
dependabot-preview[bot]
0fd7a1287b chore(deps): bump nuxt-i18n from 6.7.2 to 6.8.0
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.7.2 to 6.8.0.
- [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.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 05:36:57 +00:00
Liyas Thomas
8fa09a41ff 📸 Updating screenshots 2020-04-02 06:59:17 +05:30
Liyas Thomas
d932f9f1e2 Delete crowdin.yml 2020-04-02 06:36:41 +05:30
Liyas Thomas
16e54284fb Update Crowdin configuration file 2020-04-02 06:31:51 +05:30
Liyas Thomas
61e1f87d18 Merge pull request #729 from liyasthomas/dependabot/npm_and_yarn/nuxt-2.12.2
chore(deps): bump nuxt from 2.12.1 to 2.12.2
2020-04-01 12:55:20 +05:30
dependabot-preview[bot]
65a460a9c3 chore(deps): bump nuxt from 2.12.1 to 2.12.2
Bumps [nuxt](https://github.com/nuxt/nuxt.js) from 2.12.1 to 2.12.2.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.12.1...v2.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 07:20:51 +00:00
Liyas Thomas
3cd58548db Merge pull request #727 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.1.1
chore(deps-dev): bump lint-staged from 10.1.0 to 10.1.1
2020-04-01 12:48:18 +05:30
dependabot-preview[bot]
7f5609a3eb chore(deps-dev): bump lint-staged from 10.1.0 to 10.1.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.0 to 10.1.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.0...v10.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 07:08:39 +00:00
Liyas Thomas
23bab5a2b9 Merge pull request #728 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.7.2
chore(deps): bump nuxt-i18n from 6.7.1 to 6.7.2
2020-04-01 12:36:12 +05:30
dependabot-preview[bot]
9919904c97 chore(deps): bump nuxt-i18n from 6.7.1 to 6.7.2
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.7.1 to 6.7.2.
- [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.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-01 06:48:53 +00:00
Liyas Thomas
5df569d9d3 Merge pull request #726 from liyasthomas/dependabot/npm_and_yarn/cypress-4.3.0
chore(deps-dev): bump cypress from 4.2.0 to 4.3.0
2020-03-31 10:00:55 +05:30
dependabot-preview[bot]
e8c9a5ecea chore(deps-dev): bump cypress from 4.2.0 to 4.3.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.2.0...v4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-31 04:26:23 +00:00
Liyas Thomas
87bc0b957c Merge pull request #724 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.7.1
chore(deps): bump nuxt-i18n from 6.7.0 to 6.7.1
2020-03-31 09:53:50 +05:30
dependabot-preview[bot]
65d01303c5 chore(deps): bump nuxt-i18n from 6.7.0 to 6.7.1
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.7.0 to 6.7.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.7.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-31 04:16:47 +00:00
Liyas Thomas
887e00ca37 Merge pull request #725 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.1.0
chore(deps-dev): bump lint-staged from 10.0.10 to 10.1.0
2020-03-31 09:44:18 +05:30
dependabot-preview[bot]
3443bf9941 chore(deps-dev): bump lint-staged from 10.0.10 to 10.1.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.0.10 to 10.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.0.10...v10.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-31 04:08:42 +00:00
Liyas Thomas
28452a343b Merge pull request #723 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.9.7
chore(deps): bump @nuxtjs/axios from 5.9.6 to 5.9.7
2020-03-31 09:36:17 +05:30
dependabot-preview[bot]
c8f94a4cae chore(deps): bump @nuxtjs/axios from 5.9.6 to 5.9.7
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.9.6 to 5.9.7.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.9.6...v5.9.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-31 04:00:08 +00:00
Liyas Thomas
807491a8fd Merge pull request #721 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.0.10
chore(deps-dev): bump lint-staged from 10.0.9 to 10.0.10
2020-03-29 19:03:02 +05:30
dependabot-preview[bot]
9dbe8d2a71 chore(deps-dev): bump lint-staged from 10.0.9 to 10.0.10
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.0.9 to 10.0.10.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.0.9...v10.0.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-29 13:27:52 +00:00
Liyas Thomas
ab400af39e Merge pull request #718 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/sitemap-2.1.0
chore(deps): bump @nuxtjs/sitemap from 2.0.1 to 2.1.0
2020-03-28 06:15:49 +05:30
dependabot-preview[bot]
a8dc7c08e6 chore(deps): bump @nuxtjs/sitemap from 2.0.1 to 2.1.0
Bumps [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/nuxt-community/sitemap-module/releases)
- [Changelog](https://github.com/nuxt-community/sitemap-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/sitemap-module/compare/v2.0.1...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 00:40:56 +00:00
Liyas Thomas
fc9f2a23fb Merge pull request #719 from liyasthomas/dependabot/npm_and_yarn/nuxtjs/axios-5.9.6
chore(deps): bump @nuxtjs/axios from 5.9.5 to 5.9.6
2020-03-28 06:08:30 +05:30
dependabot-preview[bot]
0bbbc5f4cd chore(deps): bump @nuxtjs/axios from 5.9.5 to 5.9.6
Bumps [@nuxtjs/axios](https://github.com/nuxt-community/axios-module) from 5.9.5 to 5.9.6.
- [Release notes](https://github.com/nuxt-community/axios-module/releases)
- [Changelog](https://github.com/nuxt-community/axios-module/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/nuxt-community/axios-module/compare/v5.9.5...v5.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 00:31:56 +00:00
Liyas Thomas
e5f8259981 Merge pull request #717 from liyasthomas/dependabot/npm_and_yarn/firebase-7.13.1
chore(deps): bump firebase from 7.13.0 to 7.13.1
2020-03-28 05:59:18 +05:30
dependabot-preview[bot]
359b6de304 chore(deps): bump firebase from 7.13.0 to 7.13.1
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.13.0 to 7.13.1.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.13.0...firebase@7.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 00:14:39 +00:00
Liyas Thomas
c321f138e9 Merge pull request #713 from liyasthomas/dependabot/npm_and_yarn/yargs-parser-18.1.2
chore(deps): bump yargs-parser from 18.1.1 to 18.1.2
2020-03-27 17:27:51 +05:30
dependabot-preview[bot]
5b10939269 chore(deps): bump yargs-parser from 18.1.1 to 18.1.2
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 18.1.1 to 18.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v18.1.1...v18.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 11:50:08 +00:00
Liyas Thomas
b0184ca756 Merge pull request #712 from liyasthomas/dependabot/npm_and_yarn/nuxt-i18n-6.7.0
chore(deps): bump nuxt-i18n from 6.6.1 to 6.7.0
2020-03-27 17:17:37 +05:30
dependabot-preview[bot]
e092e256c5 chore(deps): bump nuxt-i18n from 6.6.1 to 6.7.0
Bumps [nuxt-i18n](https://github.com/nuxt-community/nuxt-i18n) from 6.6.1 to 6.7.0.
- [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.6.1...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 11:37:56 +00:00
Liyas Thomas
7383043837 Merge pull request #711 from liyasthomas/dependabot/npm_and_yarn/nuxt-2.12.1
chore(deps): bump nuxt from 2.12.0 to 2.12.1
2020-03-27 17:05:30 +05:30
dependabot-preview[bot]
22e255f706 chore(deps): bump nuxt from 2.12.0 to 2.12.1
Bumps [nuxt](https://github.com/nuxt/nuxt.js) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/nuxt/nuxt.js/releases)
- [Changelog](https://github.com/nuxt/nuxt.js/blob/dev/RELEASE_PLAN.md)
- [Commits](https://github.com/nuxt/nuxt.js/compare/v2.12.0...v2.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 11:29:40 +00:00
Liyas Thomas
9d8d5d0cd5 Merge pull request #710 from liyasthomas/dependabot/npm_and_yarn/firebase-7.13.0
chore(deps): bump firebase from 7.12.0 to 7.13.0
2020-03-27 16:56:42 +05:30
dependabot-preview[bot]
f2c0c9acf8 chore(deps): bump firebase from 7.12.0 to 7.13.0
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.12.0 to 7.13.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.12.0...firebase@7.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 11:21:53 +00:00
Liyas Thomas
33597d5232 💄 Updating the UI and style files 2020-03-27 06:30:13 +05:30
Liyas Thomas
228d22f9f0 Improving accessibility 2020-03-26 22:33:08 +05:30
Liyas Thomas
754a1d0f06 Improving accessibility 2020-03-26 22:21:41 +05:30
Liyas Thomas
ec7951bd93 🐛 Fixed #709 2020-03-26 16:04:46 +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
6ef198e705 Merge pull request #705 from liyasthomas/refactor/nuxt
Updating the UI and style files
2020-03-25 06:40:12 +05:30
Liyas Thomas
8fc379f30d Merge branch 'master' into refactor/nuxt 2020-03-25 06:34:23 +05:30
Liyas Thomas
46306db274 🎨 Updating the UI and style files 2020-03-25 06:29:39 +05:30
Liyas Thomas
b13e130f7c Merge pull request #703 from liyasthomas/dependabot/npm_and_yarn/lint-staged-10.0.9
chore(deps-dev): bump lint-staged from 10.0.8 to 10.0.9
2020-03-24 14:11:51 +05:30
dependabot-preview[bot]
76b784319d chore(deps-dev): bump lint-staged from 10.0.8 to 10.0.9
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.0.8 to 10.0.9.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.0.8...v10.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 08:17:51 +00:00
Liyas Thomas
6342e3263b Merge pull request #702 from liyasthomas/refactor/nuxt
Improving performance
2020-03-24 13:19:29 +05:30
Liyas Thomas
49e1d2107e 🍱 Updated og:image 2020-03-24 13:11:11 +05:30
Liyas Thomas
36de22ef1c Merge branch 'master' into refactor/nuxt 2020-03-24 13:01:31 +05:30
Liyas Thomas
865fe1917f ♻️ Improving performance 2020-03-24 12:36:37 +05:30
Liyas Thomas
c00673ffcb Merge pull request #701 from liyasthomas/refactor/nuxt
📦 Updating packages
2020-03-24 08:00:40 +05:30
Liyas Thomas
7ae92c1c2f Merge branch 'master' into refactor/nuxt 2020-03-24 07:53:52 +05:30
Liyas Thomas
f0e55abab5 📦 Updating packages 2020-03-24 07:49:09 +05:30
Liyas Thomas
ce03c56030 Merge pull request #700 from liyasthomas/dependabot/npm_and_yarn/prettier-2.0.2
chore(deps-dev): bump prettier from 2.0.1 to 2.0.2
2020-03-24 07:33:31 +05:30
dependabot-preview[bot]
5bb01f47ff chore(deps-dev): bump prettier from 2.0.1 to 2.0.2
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.1...2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 02:00:01 +00:00
Liyas Thomas
a0f2803a80 📦 Updating packages 2020-03-23 12:30:10 +05:30
Liyas Thomas
5679500c76 Merge pull request #697 from liyasthomas/dependabot/npm_and_yarn/prettier-2.0.1
chore(deps-dev): bump prettier from 1.19.1 to 2.0.1
2020-03-23 12:10:46 +05:30
dependabot-preview[bot]
7e1846dfda chore(deps-dev): bump prettier from 1.19.1 to 2.0.1
Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 06:29:12 +00:00
1564 changed files with 206868 additions and 38761 deletions

View File

@@ -1,134 +0,0 @@
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"contributors": [
{
"login": "liyasthomas",
"name": "Liyas Thomas",
"avatar_url": "https://avatars1.githubusercontent.com/u/10395817?v=4",
"profile": "https://liyasthomas.web.app",
"contributions": [
"code",
"design"
]
},
{
"login": "NBTX",
"name": "John Harker",
"avatar_url": "https://avatars3.githubusercontent.com/u/43181178?v=4",
"profile": "https://github.com/NBTX",
"contributions": [
"code",
"design"
]
},
{
"login": "larouxn",
"name": "Nicholas La Roux",
"avatar_url": "https://avatars0.githubusercontent.com/u/1557529?v=4",
"profile": "https://nicholaslaroux.com",
"contributions": [
"code"
]
},
{
"login": "yubathom",
"name": "Thomas Yuba",
"avatar_url": "https://avatars3.githubusercontent.com/u/4117768?v=4",
"profile": "https://github.com/yubathom",
"contributions": [
"code"
]
},
{
"login": "nickpalenchar",
"name": "Nick Palenchar",
"avatar_url": "https://avatars1.githubusercontent.com/u/7539781?v=4",
"profile": "http://www.linkedin.com/in/nickpalenchar",
"contributions": [
"code"
]
},
{
"login": "AndrewBastin",
"name": "Andrew Bastin",
"avatar_url": "https://avatars2.githubusercontent.com/u/9131943?v=4",
"profile": "https://github.com/AndrewBastin",
"contributions": [
"code"
]
},
{
"login": "vlad0337187",
"name": "Vladislav",
"avatar_url": "https://avatars1.githubusercontent.com/u/12682937?v=4",
"profile": "https://github.com/vlad0337187",
"contributions": [
"code"
]
},
{
"login": "izerozlu",
"name": "izerozlu",
"avatar_url": "https://avatars3.githubusercontent.com/u/17386157?v=4",
"profile": "https://github.com/izerozlu",
"contributions": [
"code"
]
},
{
"login": "JacobAnavisca",
"name": "Jacob Anavisca",
"avatar_url": "https://avatars2.githubusercontent.com/u/21232366?v=4",
"profile": "https://github.com/JacobAnavisca",
"contributions": [
"code"
]
},
{
"login": "nityanandagohain",
"name": "Nityananda Gohain",
"avatar_url": "https://avatars3.githubusercontent.com/u/26831659?v=4",
"profile": "http://nityanandagohain.github.io",
"contributions": [
"code"
]
},
{
"login": "hosseinnedaee",
"name": "Hossein Nedaee",
"avatar_url": "https://avatars2.githubusercontent.com/u/42691357?v=4",
"profile": "https://github.com/hosseinnedaee",
"contributions": [
"code"
]
},
{
"login": "jamesgeorge007",
"name": "James George",
"avatar_url": "https://avatars2.githubusercontent.com/u/25279263?v=4",
"profile": "https://ghuser.io/jamesgeorge007",
"contributions": [
"code"
]
},
{
"login": "dmitryyankowski",
"name": "Dmitry Yankowski",
"avatar_url": "https://avatars0.githubusercontent.com/u/20114263?v=4",
"profile": "https://dmitryyankowski.com",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"projectName": "postwoman",
"projectOwner": "liyasthomas",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true
}

View File

@@ -1,9 +0,0 @@
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "weekly"
default_labels:
- "Dependency upgrade"
default_reviewers:
- "liyasthomas"

View File

@@ -0,0 +1,9 @@
{
"name": "Hoppscotch",
"image": "mcr.microsoft.com/devcontainers/typescript-node:18",
"forwardPorts": [3000],
"features": {
"ghcr.io/NicoVIII/devcontainer-features/pnpm:1": {}
},
"postCreateCommand": "cp .env.example .env && pnpm i"
}

View File

@@ -1,104 +1,2 @@
Dockerfile
.vscode
.github
# Created by .ignore support plugin (hsz.mobi)
# Firebase
.firebase
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# Nuxt generate
dist
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless
# IDE / Editor
.idea
# Service worker
sw.*
# Mac OSX
.DS_Store
# Vim swap files
*.swp
# Postwoman build data
.postwoman
# File explorer
.directory
node_modules
**/*/node_modules

View File

@@ -1,11 +1,11 @@
# https://editorconfig.org
# EditorConfig is awesome: https://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

64
.env.example Normal file
View File

@@ -0,0 +1,64 @@
#-----------------------Backend Config------------------------------#
# Prisma Config
DATABASE_URL=postgresql://postgres:testpass@hoppscotch-db:5432/hoppscotch
# Auth Tokens Config
JWT_SECRET="secret1233"
TOKEN_SALT_COMPLEXITY=10
MAGIC_LINK_TOKEN_VALIDITY= 3
REFRESH_TOKEN_VALIDITY="604800000" # Default validity is 7 days (604800000 ms) in ms
ACCESS_TOKEN_VALIDITY="86400000" # Default validity is 1 day (86400000 ms) in ms
SESSION_SECRET='add some secret here'
# Hoppscotch App Domain Config
REDIRECT_URL="http://localhost:3000"
WHITELISTED_ORIGINS="http://localhost:3170,http://localhost:3000,http://localhost:3100"
VITE_ALLOWED_AUTH_PROVIDERS=GOOGLE,GITHUB,MICROSOFT,EMAIL
# Google Auth Config
GOOGLE_CLIENT_ID="************************************************"
GOOGLE_CLIENT_SECRET="************************************************"
GOOGLE_CALLBACK_URL="http://localhost:3170/v1/auth/google/callback"
GOOGLE_SCOPE="email,profile"
# Github Auth Config
GITHUB_CLIENT_ID="************************************************"
GITHUB_CLIENT_SECRET="************************************************"
GITHUB_CALLBACK_URL="http://localhost:3170/v1/auth/github/callback"
GITHUB_SCOPE="user:email"
# Microsoft Auth Config
MICROSOFT_CLIENT_ID="************************************************"
MICROSOFT_CLIENT_SECRET="************************************************"
MICROSOFT_CALLBACK_URL="http://localhost:3170/v1/auth/microsoft/callback"
MICROSOFT_SCOPE="user.read"
MICROSOFT_TENANT="common"
# Mailer config
MAILER_SMTP_URL="smtps://user@domain.com:pass@smtp.domain.com"
MAILER_ADDRESS_FROM='"From Name Here" <from@example.com>'
# Rate Limit Config
RATE_LIMIT_TTL=60 # In seconds
RATE_LIMIT_MAX=100 # Max requests per IP
#-----------------------Frontend Config------------------------------#
# Base URLs
VITE_BASE_URL=http://localhost:3000
VITE_SHORTCODE_BASE_URL=http://localhost:3000
VITE_ADMIN_URL=http://localhost:3100
# Backend URLs
VITE_BACKEND_GQL_URL=http://localhost:3170/graphql
VITE_BACKEND_WS_URL=ws://localhost:3170/graphql
VITE_BACKEND_API_URL=http://localhost:3170/v1
# Terms Of Service And Privacy Policy Links (Optional)
VITE_APP_TOS_LINK=https://docs.hoppscotch.io/support/terms
VITE_APP_PRIVACY_POLICY_LINK=https://docs.hoppscotch.io/support/privacy
# Set to `true` for subpath based access
ENABLE_SUBPATH_BASED_ACCESS=false

View File

@@ -1,14 +1,5 @@
{
"projects": {
"default": "postwoman-api"
},
"targets": {
"postwoman-api": {
"hosting": {
"postwoman": [
"postwoman"
]
}
}
}
}

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* text=auto eol=lf

6
.github/FUNDING.yml vendored
View File

@@ -1,4 +1,2 @@
github: postwoman-io
open_collective: postwoman
patreon: liyasthomas
custom: https://www.paypal.me/liyascthomas
github: hoppscotch
open_collective: hoppscotch

View File

@@ -0,0 +1,57 @@
name: Bug report
description: Create a bug report to help us improve Hoppscotch
title: "[bug]: "
labels: [bug, need testing]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this bug report.
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Current behavior
description: A concise description of what you're experiencing and what you expect
placeholder: |
When I do <X>, <Y> happens and I see the error message attached below:
```...```
What I expect is <Z>
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
description: Add steps to reproduce this behaviour, include console or network logs and screenshots
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: dropdown
id: env
attributes:
label: Environment
options:
- Production
- Release
- Deploy preview
validations:
required: true
- type: dropdown
id: version
attributes:
label: Version
options:
- Cloud
- Self-hosted
- Local
validations:
required: true

View File

@@ -0,0 +1,28 @@
name: Feature request
description: Suggest a feature to improve Hoppscotch
title: "[feature]: "
labels: [feature]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to request a feature for Hoppscotch
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue related to this feature request already exists
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Summary
description: One paragraph description of the feature
validations:
required: true
- type: textarea
attributes:
label: Why should this be worked on?
description: A concise description of the problems or use cases for this feature request
validations:
required: true

View File

@@ -1,38 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

7
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
contact_links:
- name: Help and support
url: https://github.com/hoppscotch/hoppscotch#support
about: Reach out to us on our Discord server or Telegram group or GitHub discussions.
- name: Dedicated support
url: mailto:support@hoppscotch.io
about: Write to us if you'd like dedicated support using Hoppscotch

View File

@@ -1,10 +0,0 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

10
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: '00:00'
open-pull-requests-limit: 0
reviewers:
- liyasthomas

26
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,26 @@
<!--
Thanks for creating this pull request 🤗
Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one.
-->
<!-- If this pull request closes an issue, please mention the issue number below -->
Closes # <!-- Issue # here -->
### Description
<!-- Add a brief description of the pull request -->
<!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax
- [ ] Not Completed
- [x] Completed
-->
### Checks
<!-- Make sure your pull request passes the CI checks and do check the following fields as needed - -->
- [ ] My pull request adheres to the code style of this project
- [ ] My code requires changes to the documentation
- [ ] I have updated the documentation as required
- [ ] All the tests have passed
### Additional Information
<!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. -->

5
.github/semantic.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
# Always validate the PR title AND all the commits
titleAndCommits: true
# Allows use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
allowMergeCommits: true

63
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@@ -0,0 +1,63 @@
name: "CodeQL analysis"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '30 1 * * 0'
jobs:
analyze:
name: Analyze
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
# Run extended queries including queries using machine learning
queries: security-extended
languages: ${{ matrix.language }}
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

View File

@@ -0,0 +1,84 @@
name: "Push containers to Docker Hub on release"
on:
push:
tags:
- '*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup environment
run: cp .env.example .env
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push the backend container
uses: docker/build-push-action@v4
with:
context: .
file: ./prod.Dockerfile
target: backend
push: true
platforms: |
linux/amd64
linux/arm64
tags: |
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_BACKEND_CONTAINER_NAME }}:latest
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_BACKEND_CONTAINER_NAME }}:${{ github.ref_name }}
- name: Build and push the frontend container
uses: docker/build-push-action@v4
with:
context: .
file: ./prod.Dockerfile
target: app
push: true
platforms: |
linux/amd64
linux/arm64
tags: |
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_FRONTEND_CONTAINER_NAME }}:latest
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_FRONTEND_CONTAINER_NAME }}:${{ github.ref_name }}
- name: Build and push the admin dashboard container
uses: docker/build-push-action@v4
with:
context: .
file: ./prod.Dockerfile
target: sh_admin
push: true
platforms: |
linux/amd64
linux/arm64
tags: |
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_SH_ADMIN_CONTAINER_NAME }}:latest
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_SH_ADMIN_CONTAINER_NAME }}:${{ github.ref_name }}
- name: Build and push the AIO container
uses: docker/build-push-action@v4
with:
context: .
file: ./prod.Dockerfile
target: aio
push: true
platforms: |
linux/amd64
linux/arm64
tags: |
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_AIO_CONTAINER_NAME }}:latest
${{ secrets.DOCKER_ORG_NAME }}/${{ secrets.DOCKER_AIO_CONTAINER_NAME }}:${{ github.ref_name }}

37
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: Node.js CI
on:
push:
branches: [main, staging, "release/**"]
pull_request:
branches: [main, staging, "release/**"]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["lts/*"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup environment
run: mv .env.example .env
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
- name: Run tests
run: pnpm test

42
.github/workflows/ui.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: Deploy to Netlify (ui)
on:
push:
branches: [main]
# run this workflow only if an update is made to the ui package
paths:
- "packages/hoppscotch-ui/**"
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup environment
run: mv .env.example .env
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
with:
version: 8
run_install: true
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Build site
run: pnpm run generate-ui
# Deploy the ui site with netlify-cli
- name: Deploy to Netlify (ui)
run: npx netlify-cli@15.11.0 deploy --dir=packages/hoppscotch-ui/.histoire/dist --prod
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_UI_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

91
.gitignore vendored
View File

@@ -1,15 +1,18 @@
# Created by .ignore support plugin (hsz.mobi)
# Firebase
.firebase
### Node template
### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
@@ -22,11 +25,12 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
@@ -45,12 +49,27 @@ jspm_packages/
# TypeScript v1 declaration files
typings/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
@@ -60,26 +79,65 @@ typings/
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
# dotenv environment variable files
.env
.env.*
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# next.js build output
# Next.js build output
.next
out
# nuxt.js build output
# Nuxt.js build / generate output
.nuxt
# Nuxt generate
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
### Node Patch ###
# Serverless Webpack directories
.webpack/
# SvelteKit build / generate output
.svelte-kit
# IDE / Editor
.idea
@@ -93,8 +151,8 @@ sw.*
# Vim swap files
*.swp
# Postwoman build data
.postwoman
# Build data
.hoppscotch
# File explorer
.directory
@@ -104,3 +162,12 @@ tests/*/screenshots
# Tests videos
tests/*/videos
# Local Netlify folder
.netlify
# PNPM
.pnpm-store
# GQL SDL generated for the frontends
gql-gen/

4
.husky/commit-msg Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install commitlint --edit ""

4
.husky/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run pre-commit

2
.npmrc Normal file
View File

@@ -0,0 +1,2 @@
shamefully-hoist=false
save-prefix=''

View File

@@ -1,7 +1,8 @@
.dependabot
.github
.nuxt
.postwoman
.hoppscotch
.vscode
package-lock.json
node_modules
node_modules
dist

8
.prettierrc.js Normal file
View File

@@ -0,0 +1,8 @@
module.exports = {
semi: false,
trailingComma: "es5",
singleQuote: false,
printWidth: 80,
useTabs: false,
tabWidth: 2
}

View File

@@ -1,39 +0,0 @@
# == INSTRUCTIONS FOR SETTING UP TRAVIS ==
#
# 1. Find this repository in your Travis-CI dashboard.
# open settings and add an environment variable called
# GITHUB_ACCESS_TOKEN and set it to your personal access token.addons:
# See: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
#
# **DO NOT TURN ON 'Display value in build log'!!!!**
#
# 2. Push the code to the repository.
language: node_js
node_js:
- lts/*
os: linux
addons:
apt:
packages:
- libgconf-2-4 # cypress binary dependency
cache: npm
branches:
only:
- master
install:
- npm ci
before_script:
- npm run build # use nuxt build and start to run tests
script:
- npm test
notifications:
webhooks: https://www.travisbuddy.com

View File

@@ -1,3 +0,0 @@
{
"deepcode.review.results.hideInformationIssues": false
}

View File

@@ -1,559 +1,3 @@
# Changelog
## [v1.9.5](https://github.com/liyasthomas/postwoman/tree/v1.9.5) (2020-03-22)
[Full Changelog](https://github.com/liyasthomas/postwoman/compare/v1.9.0...v1.9.5)
**Implemented enhancements:**
- Support preview of JSON:API's "application/vnd.api+json" Content-Type [\#694](https://github.com/liyasthomas/postwoman/issues/694)
- Support SocketIO connections on Realtime page [\#611](https://github.com/liyasthomas/postwoman/issues/611)
- Parameter list not showing JSON object fields \(force raw?\) [\#597](https://github.com/liyasthomas/postwoman/issues/597)
- Add setting to disable scroll animations [\#592](https://github.com/liyasthomas/postwoman/issues/592)
- Bigger URL and/or Path input field [\#581](https://github.com/liyasthomas/postwoman/issues/581)
- Ability to connect to a MQTT broker [\#342](https://github.com/liyasthomas/postwoman/issues/342)
- \[request\] Offline cross-platform native build [\#267](https://github.com/liyasthomas/postwoman/issues/267)
- On Save Update existing API [\#204](https://github.com/liyasthomas/postwoman/issues/204)
- Import and export environments from JSON [\#190](https://github.com/liyasthomas/postwoman/issues/190)
- Fast URL entry [\#62](https://github.com/liyasthomas/postwoman/issues/62)
- Added the ability to prettify GraphQL queries [\#650](https://github.com/liyasthomas/postwoman/pull/650) ([AndrewBastin](https://github.com/AndrewBastin))
- Updated messages for when GraphQL Get Schema fails [\#633](https://github.com/liyasthomas/postwoman/pull/633) ([AndrewBastin](https://github.com/AndrewBastin))
- Ignore empty GQL Variable Strings [\#629](https://github.com/liyasthomas/postwoman/pull/629) ([AndrewBastin](https://github.com/AndrewBastin))
- test: purge travis [\#623](https://github.com/liyasthomas/postwoman/pull/623) ([yubathom](https://github.com/yubathom))
- Added shortcut to quickly run the GraphQL query [\#620](https://github.com/liyasthomas/postwoman/pull/620) ([AndrewBastin](https://github.com/AndrewBastin))
- JSON linting in the code editor [\#605](https://github.com/liyasthomas/postwoman/pull/605) ([AndrewBastin](https://github.com/AndrewBastin))
- GraphQL page improvements, and more [\#602](https://github.com/liyasthomas/postwoman/pull/602) ([dmitryyankowski](https://github.com/dmitryyankowski))
- Environment Mangement [\#591](https://github.com/liyasthomas/postwoman/pull/591) ([JacobAnavisca](https://github.com/JacobAnavisca))
- GraphQL Query Autocompletion [\#590](https://github.com/liyasthomas/postwoman/pull/590) ([AndrewBastin](https://github.com/AndrewBastin))
**Fixed bugs:**
- Test script is not run after failing request [\#644](https://github.com/liyasthomas/postwoman/issues/644)
- \[HELP\] Auth permission denied [\#621](https://github.com/liyasthomas/postwoman/issues/621)
- Can't login on Brave Browser [\#607](https://github.com/liyasthomas/postwoman/issues/607)
**Closed issues:**
- \[UI/UX\] - Change place of Send button [\#696](https://github.com/liyasthomas/postwoman/issues/696)
- Report Portal integration [\#691](https://github.com/liyasthomas/postwoman/issues/691)
- Docs request: how to prevent secrets from leaving local storage wrt. sync. [\#686](https://github.com/liyasthomas/postwoman/issues/686)
- \[bug\] - Can't make a request to HTTP [\#676](https://github.com/liyasthomas/postwoman/issues/676)
- Looking forward to that the postwoman Compatible 'swagger ' at next version [\#675](https://github.com/liyasthomas/postwoman/issues/675)
- Error: Network Error. Check console for details. [\#673](https://github.com/liyasthomas/postwoman/issues/673)
- \[Bug\] - Can't login to Github and Google [\#661](https://github.com/liyasthomas/postwoman/issues/661)
- A question that has been raised but not resolved [\#658](https://github.com/liyasthomas/postwoman/issues/658)
- An unknown error occurred whilst the proxy was processing your request. [\#656](https://github.com/liyasthomas/postwoman/issues/656)
- Running app from downloaded zip fails to compile [\#651](https://github.com/liyasthomas/postwoman/issues/651)
- Environment variable in path won't update [\#641](https://github.com/liyasthomas/postwoman/issues/641)
- Info: The current domain is not authorized for OAuth operations Error [\#637](https://github.com/liyasthomas/postwoman/issues/637)
- A suggestion for UI [\#635](https://github.com/liyasthomas/postwoman/issues/635)
- How to use postwoman for local development and testing [\#634](https://github.com/liyasthomas/postwoman/issues/634)
- How to debug localhost \(cors\) [\#630](https://github.com/liyasthomas/postwoman/issues/630)
- Requests to local API returning error response [\#608](https://github.com/liyasthomas/postwoman/issues/608)
- Why does the URL input field display only one line [\#604](https://github.com/liyasthomas/postwoman/issues/604)
**Merged pull requests:**
- Add application/vnd.api+json [\#695](https://github.com/liyasthomas/postwoman/pull/695) ([allthesignals](https://github.com/allthesignals))
- Fix raw input \(JSON\) [\#693](https://github.com/liyasthomas/postwoman/pull/693) ([leomp12](https://github.com/leomp12))
- chore\(deps\): bump firebase from 7.11.0 to 7.12.0 [\#689](https://github.com/liyasthomas/postwoman/pull/689) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump vuefire from 2.2.1 to 2.2.2 [\#688](https://github.com/liyasthomas/postwoman/pull/688) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps-dev\): bump cypress from 4.1.0 to 4.2.0 [\#685](https://github.com/liyasthomas/postwoman/pull/685) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps-dev\): bump start-server-and-test from 1.10.10 to 1.10.11 [\#684](https://github.com/liyasthomas/postwoman/pull/684) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump nuxt-i18n from 6.6.0 to 6.6.1 [\#683](https://github.com/liyasthomas/postwoman/pull/683) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump nuxt from 2.11.0 to 2.12.0 [\#682](https://github.com/liyasthomas/postwoman/pull/682) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Fix setting default raw params [\#681](https://github.com/liyasthomas/postwoman/pull/681) ([leomp12](https://github.com/leomp12))
- Fix handling content type and raw input [\#678](https://github.com/liyasthomas/postwoman/pull/678) ([leomp12](https://github.com/leomp12))
- \[Snyk\] Security upgrade yargs-parser from 18.1.0 to 18.1.1 [\#674](https://github.com/liyasthomas/postwoman/pull/674) ([snyk-bot](https://github.com/snyk-bot))
- chore\(deps-dev\): bump start-server-and-test from 1.10.9 to 1.10.10 [\#672](https://github.com/liyasthomas/postwoman/pull/672) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump firebase from 7.10.0 to 7.11.0 [\#671](https://github.com/liyasthomas/postwoman/pull/671) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ✅ Updating tests [\#669](https://github.com/liyasthomas/postwoman/pull/669) ([liyasthomas](https://github.com/liyasthomas))
- Updating tests [\#668](https://github.com/liyasthomas/postwoman/pull/668) ([liyasthomas](https://github.com/liyasthomas))
- APIs [\#667](https://github.com/liyasthomas/postwoman/pull/667) ([liyasthomas](https://github.com/liyasthomas))
- Insecure Websocket connection issue while connecting to MQTT broker. [\#666](https://github.com/liyasthomas/postwoman/pull/666) ([rahulnpadalkar](https://github.com/rahulnpadalkar))
- Improving performance [\#664](https://github.com/liyasthomas/postwoman/pull/664) ([liyasthomas](https://github.com/liyasthomas))
- Feature/mqtt [\#663](https://github.com/liyasthomas/postwoman/pull/663) ([liyasthomas](https://github.com/liyasthomas))
- Added Support for MQTT [\#662](https://github.com/liyasthomas/postwoman/pull/662) ([rahulnpadalkar](https://github.com/rahulnpadalkar))
- chore\(deps\): bump yargs-parser from 18.0.0 to 18.1.0 [\#660](https://github.com/liyasthomas/postwoman/pull/660) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps-dev\): bump start-server-and-test from 1.10.8 to 1.10.9 [\#659](https://github.com/liyasthomas/postwoman/pull/659) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Added icon slot to tabs [\#657](https://github.com/liyasthomas/postwoman/pull/657) ([liyasthomas](https://github.com/liyasthomas))
- Refactor/ui [\#655](https://github.com/liyasthomas/postwoman/pull/655) ([liyasthomas](https://github.com/liyasthomas))
- even [\#654](https://github.com/liyasthomas/postwoman/pull/654) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump yargs-parser from 17.0.0 to 18.0.0 [\#653](https://github.com/liyasthomas/postwoman/pull/653) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump firebase from 7.9.3 to 7.10.0 [\#652](https://github.com/liyasthomas/postwoman/pull/652) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Add http/https support to socketio url valid [\#648](https://github.com/liyasthomas/postwoman/pull/648) ([moonrailgun](https://github.com/moonrailgun))
- Refactor/ui [\#647](https://github.com/liyasthomas/postwoman/pull/647) ([liyasthomas](https://github.com/liyasthomas))
- Even [\#646](https://github.com/liyasthomas/postwoman/pull/646) ([liyasthomas](https://github.com/liyasthomas))
- Run tests even after failed request [\#645](https://github.com/liyasthomas/postwoman/pull/645) ([liyasthomas](https://github.com/liyasthomas))
- Feature: add socket io support [\#640](https://github.com/liyasthomas/postwoman/pull/640) ([moonrailgun](https://github.com/moonrailgun))
- Removed linting for the collection docs import editor [\#639](https://github.com/liyasthomas/postwoman/pull/639) ([AndrewBastin](https://github.com/AndrewBastin))
- Moving or renaming files [\#638](https://github.com/liyasthomas/postwoman/pull/638) ([liyasthomas](https://github.com/liyasthomas))
- Refactor/ui [\#636](https://github.com/liyasthomas/postwoman/pull/636) ([liyasthomas](https://github.com/liyasthomas))
- Minor GraphQL page improvements [\#631](https://github.com/liyasthomas/postwoman/pull/631) ([dmitryyankowski](https://github.com/dmitryyankowski))
- chore\(deps-dev\): bump cypress from 4.0.2 to 4.1.0 [\#628](https://github.com/liyasthomas/postwoman/pull/628) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump nuxt-i18n from 6.5.0 to 6.6.0 [\#627](https://github.com/liyasthomas/postwoman/pull/627) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump firebase from 7.9.1 to 7.9.3 [\#626](https://github.com/liyasthomas/postwoman/pull/626) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- docs: add dmitryyankowski as a contributor [\#619](https://github.com/liyasthomas/postwoman/pull/619) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- Link multiple auth providers [\#618](https://github.com/liyasthomas/postwoman/pull/618) ([liyasthomas](https://github.com/liyasthomas))
- Add --staged parameter to pretty-quick pre-commit [\#617](https://github.com/liyasthomas/postwoman/pull/617) ([dmitryyankowski](https://github.com/dmitryyankowski))
- :bug: FIxed URI not updating on Clear content, minor formData improve… [\#612](https://github.com/liyasthomas/postwoman/pull/612) ([liyasthomas](https://github.com/liyasthomas))
- Update proxy information. [\#610](https://github.com/liyasthomas/postwoman/pull/610) ([NBTX](https://github.com/NBTX))
- Fixed install extension toast appearing even when extension is installed [\#609](https://github.com/liyasthomas/postwoman/pull/609) ([AndrewBastin](https://github.com/AndrewBastin))
- chore\(deps-dev\): bump lint-staged from 10.0.7 to 10.0.8 [\#606](https://github.com/liyasthomas/postwoman/pull/606) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Added regex to handle url parts [\#603](https://github.com/liyasthomas/postwoman/pull/603) ([JacobAnavisca](https://github.com/JacobAnavisca))
- I18n [\#601](https://github.com/liyasthomas/postwoman/pull/601) ([liyasthomas](https://github.com/liyasthomas))
- feat\(i18n\): add Korean [\#600](https://github.com/liyasthomas/postwoman/pull/600) ([9j](https://github.com/9j))
- Improve page load/unload experience \(remove FOUCs\) [\#599](https://github.com/liyasthomas/postwoman/pull/599) ([NBTX](https://github.com/NBTX))
- Feature: Add prettier/pretty-quick formatting w/ Husky pre-commit [\#596](https://github.com/liyasthomas/postwoman/pull/596) ([dmitryyankowski](https://github.com/dmitryyankowski))
- Added settings toggle for enabling/disabling auto scrolling \(scrollInto functionality\) [\#595](https://github.com/liyasthomas/postwoman/pull/595) ([dmitryyankowski](https://github.com/dmitryyankowski))
## [v1.9.0](https://github.com/liyasthomas/postwoman/tree/v1.9.0) (2020-02-24)
[Full Changelog](https://github.com/liyasthomas/postwoman/compare/v1.8.0...v1.9.0)
**Implemented enhancements:**
- Disable SSL cert for websockets [\#557](https://github.com/liyasthomas/postwoman/issues/557)
- Feature request: Keyboard shortcuts for folder creation [\#539](https://github.com/liyasthomas/postwoman/issues/539)
- Friendly minded GraphQL [\#468](https://github.com/liyasthomas/postwoman/issues/468)
- multipart/form-data support [\#434](https://github.com/liyasthomas/postwoman/issues/434)
- Implement pre-request and post-request scripts \(and request chaining\) [\#218](https://github.com/liyasthomas/postwoman/issues/218)
- Environment management and configuration [\#147](https://github.com/liyasthomas/postwoman/issues/147)
- POST request body editor reacts to the content type [\#594](https://github.com/liyasthomas/postwoman/pull/594) ([AndrewBastin](https://github.com/AndrewBastin))
- Postman collection parsing [\#574](https://github.com/liyasthomas/postwoman/pull/574) ([JacobAnavisca](https://github.com/JacobAnavisca))
- Added toggle to decide whether extensions should be used [\#551](https://github.com/liyasthomas/postwoman/pull/551) ([AndrewBastin](https://github.com/AndrewBastin))
- Show Ctrl instead of Command for shortcuts non-Apple platforms [\#549](https://github.com/liyasthomas/postwoman/pull/549) ([AndrewBastin](https://github.com/AndrewBastin))
- Updated GraphQL Query Variable Editor [\#534](https://github.com/liyasthomas/postwoman/pull/534) ([AndrewBastin](https://github.com/AndrewBastin))
**Fixed bugs:**
- Auto Theme Selection is kinda difficult to see [\#563](https://github.com/liyasthomas/postwoman/issues/563)
- Can't send request to localhost via Chrome extention [\#560](https://github.com/liyasthomas/postwoman/issues/560)
- Validation for duplicate collection ignores letter case [\#547](https://github.com/liyasthomas/postwoman/issues/547)
- Build failed [\#327](https://github.com/liyasthomas/postwoman/issues/327)
- Fixed typo in translation file for Auto theme [\#556](https://github.com/liyasthomas/postwoman/pull/556) ([AndrewBastin](https://github.com/AndrewBastin))
**Closed issues:**
- don't run [\#577](https://github.com/liyasthomas/postwoman/issues/577)
- Get correct response data but occurs with error "Cannot read property 'value' of undefined" [\#575](https://github.com/liyasthomas/postwoman/issues/575)
- firebase\_app\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_\_default.a.firestore is not a function [\#558](https://github.com/liyasthomas/postwoman/issues/558)
- relative module not found during start [\#552](https://github.com/liyasthomas/postwoman/issues/552)
- Feature Request: Subfolders [\#540](https://github.com/liyasthomas/postwoman/issues/540)
- Add max-height and overflow: auto to "parameter list" textarea [\#532](https://github.com/liyasthomas/postwoman/issues/532)
- IE Support [\#386](https://github.com/liyasthomas/postwoman/issues/386)
**Merged pull requests:**
- Fix variablesJSONString store default for GraphQL page [\#593](https://github.com/liyasthomas/postwoman/pull/593) ([dmitryyankowski](https://github.com/dmitryyankowski))
- Refactor/lint [\#589](https://github.com/liyasthomas/postwoman/pull/589) ([liyasthomas](https://github.com/liyasthomas))
- Even [\#588](https://github.com/liyasthomas/postwoman/pull/588) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump firebase from 7.9.0 to 7.9.1 [\#587](https://github.com/liyasthomas/postwoman/pull/587) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Even [\#586](https://github.com/liyasthomas/postwoman/pull/586) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump firebase from 7.8.2 to 7.9.0 [\#585](https://github.com/liyasthomas/postwoman/pull/585) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump vue-virtual-scroll-list from 1.4.5 to 1.4.6 [\#584](https://github.com/liyasthomas/postwoman/pull/584) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Adapt extension check to new extensions [\#583](https://github.com/liyasthomas/postwoman/pull/583) ([levrik](https://github.com/levrik))
- Update link to extension repo in README [\#582](https://github.com/liyasthomas/postwoman/pull/582) ([levrik](https://github.com/levrik))
- Even [\#579](https://github.com/liyasthomas/postwoman/pull/579) ([liyasthomas](https://github.com/liyasthomas))
- Refactor/lint [\#578](https://github.com/liyasthomas/postwoman/pull/578) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump vue-virtual-scroll-list from 1.4.4 to 1.4.5 [\#576](https://github.com/liyasthomas/postwoman/pull/576) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Unify Chrome and Firefox extensions [\#573](https://github.com/liyasthomas/postwoman/pull/573) ([levrik](https://github.com/levrik))
- fix: drop the toast which doesn't show up [\#572](https://github.com/liyasthomas/postwoman/pull/572) ([jamesgeorge007](https://github.com/jamesgeorge007))
- :sparkles: Native share + updated meta description [\#571](https://github.com/liyasthomas/postwoman/pull/571) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump firebase from 7.8.1 to 7.8.2 [\#570](https://github.com/liyasthomas/postwoman/pull/570) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps-dev\): bump cypress from 4.0.1 to 4.0.2 [\#569](https://github.com/liyasthomas/postwoman/pull/569) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Added create collection and save request syncs [\#568](https://github.com/liyasthomas/postwoman/pull/568) ([JacobAnavisca](https://github.com/JacobAnavisca))
- Moved common headers to a separate file [\#566](https://github.com/liyasthomas/postwoman/pull/566) ([AndrewBastin](https://github.com/AndrewBastin))
- chore\(deps-dev\): bump cypress from 4.0.0 to 4.0.1 [\#565](https://github.com/liyasthomas/postwoman/pull/565) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump yargs-parser from 16.1.0 to 17.0.0 [\#564](https://github.com/liyasthomas/postwoman/pull/564) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps-dev\): bump cypress from 3.8.3 to 4.0.0 [\#562](https://github.com/liyasthomas/postwoman/pull/562) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump firebase from 7.8.0 to 7.8.1 [\#561](https://github.com/liyasthomas/postwoman/pull/561) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore: use typeof as an operator and make use of localizable strings [\#559](https://github.com/liyasthomas/postwoman/pull/559) ([jamesgeorge007](https://github.com/jamesgeorge007))
- Support for Formdata [\#555](https://github.com/liyasthomas/postwoman/pull/555) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump @nuxtjs/pwa from 3.0.0-beta.19 to 3.0.0-beta.20 [\#554](https://github.com/liyasthomas/postwoman/pull/554) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump @nuxtjs/axios from 5.9.4 to 5.9.5 [\#553](https://github.com/liyasthomas/postwoman/pull/553) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- fix\(chore\): Take letter casing into account while checking for duplicate collection [\#548](https://github.com/liyasthomas/postwoman/pull/548) ([jamesgeorge007](https://github.com/jamesgeorge007))
- update e2e tests [\#546](https://github.com/liyasthomas/postwoman/pull/546) ([yubathom](https://github.com/yubathom))
- chore\(deps\): bump @nuxtjs/axios from 5.9.3 to 5.9.4 [\#545](https://github.com/liyasthomas/postwoman/pull/545) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Refactor [\#543](https://github.com/liyasthomas/postwoman/pull/543) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump firebase from 7.7.0 to 7.8.0 [\#542](https://github.com/liyasthomas/postwoman/pull/542) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump graphql from 14.5.8 to 14.6.0 [\#541](https://github.com/liyasthomas/postwoman/pull/541) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- i18n [\#538](https://github.com/liyasthomas/postwoman/pull/538) ([liyasthomas](https://github.com/liyasthomas))
- Modification of French translations [\#537](https://github.com/liyasthomas/postwoman/pull/537) ([thomasbnt](https://github.com/thomasbnt))
- Even [\#535](https://github.com/liyasthomas/postwoman/pull/535) ([liyasthomas](https://github.com/liyasthomas))
- Updating spanish translation [\#529](https://github.com/liyasthomas/postwoman/pull/529) ([liyasthomas](https://github.com/liyasthomas))
- even merge [\#528](https://github.com/liyasthomas/postwoman/pull/528) ([liyasthomas](https://github.com/liyasthomas))
## [v1.8.0](https://github.com/liyasthomas/postwoman/tree/v1.8.0) (2020-01-28)
[Full Changelog](https://github.com/liyasthomas/postwoman/compare/v1.5.0...v1.8.0)
**Implemented enhancements:**
- Sync collection with a cloud storage \(e.g: Google drive\) [\#507](https://github.com/liyasthomas/postwoman/issues/507)
- Application contains many hard-coded strings that aren't translatable [\#488](https://github.com/liyasthomas/postwoman/issues/488)
- ULR parsing and var auto creation [\#469](https://github.com/liyasthomas/postwoman/issues/469)
- \[suggestion\] - Tests tab [\#465](https://github.com/liyasthomas/postwoman/issues/465)
- cookie not found support [\#443](https://github.com/liyasthomas/postwoman/issues/443)
- Feature Request: Consumer Driven Contract Testing [\#420](https://github.com/liyasthomas/postwoman/issues/420)
- Feature Request: Support OAuth2/OIDC [\#337](https://github.com/liyasthomas/postwoman/issues/337)
- Add DB cache [\#26](https://github.com/liyasthomas/postwoman/issues/26)
- Auth [\#513](https://github.com/liyasthomas/postwoman/pull/513) ([liyasthomas](https://github.com/liyasthomas))
- Support for Google Chrome Extension [\#512](https://github.com/liyasthomas/postwoman/pull/512) ([AndrewBastin](https://github.com/AndrewBastin))
- GraphQL query validation based on schema [\#508](https://github.com/liyasthomas/postwoman/pull/508) ([AndrewBastin](https://github.com/AndrewBastin))
- Syntax Error marking in GraphQL query editor [\#505](https://github.com/liyasthomas/postwoman/pull/505) ([AndrewBastin](https://github.com/AndrewBastin))
- Refactoring proxy handling to be done in strategies [\#500](https://github.com/liyasthomas/postwoman/pull/500) ([AndrewBastin](https://github.com/AndrewBastin))
- Firefox Extension compatibility [\#494](https://github.com/liyasthomas/postwoman/pull/494) ([AndrewBastin](https://github.com/AndrewBastin))
- chore\(oauth\): Added method signatures as per JSDoc conventions [\#486](https://github.com/liyasthomas/postwoman/pull/486) ([jamesgeorge007](https://github.com/jamesgeorge007))
- GraphQL Type Highlight and Links [\#479](https://github.com/liyasthomas/postwoman/pull/479) ([AndrewBastin](https://github.com/AndrewBastin))
**Fixed bugs:**
- Warn the user if name field was left blank while creating a new collection [\#515](https://github.com/liyasthomas/postwoman/issues/515)
- Multiple collections with the same name shouldn't exist [\#509](https://github.com/liyasthomas/postwoman/issues/509)
- GraphQL String variables are null [\#497](https://github.com/liyasthomas/postwoman/issues/497)
- Post request body is empty [\#473](https://github.com/liyasthomas/postwoman/issues/473)
**Closed issues:**
- Allow importing Postman collections [\#524](https://github.com/liyasthomas/postwoman/issues/524)
- Request descriptions [\#511](https://github.com/liyasthomas/postwoman/issues/511)
- Ability to run all requests of a folder/collection [\#498](https://github.com/liyasthomas/postwoman/issues/498)
- Change import/export collection on requests page icon [\#495](https://github.com/liyasthomas/postwoman/issues/495)
- import cURL error [\#477](https://github.com/liyasthomas/postwoman/issues/477)
- move to postwoman org [\#475](https://github.com/liyasthomas/postwoman/issues/475)
- Create standalone vue components of the request builder. [\#474](https://github.com/liyasthomas/postwoman/issues/474)
- Enable running proxy as a backend for Request Capture [\#325](https://github.com/liyasthomas/postwoman/issues/325)
- Label doesn't change when switching between collection requests [\#291](https://github.com/liyasthomas/postwoman/issues/291)
**Merged pull requests:**
- Enhancements [\#531](https://github.com/liyasthomas/postwoman/pull/531) ([jamesgeorge007](https://github.com/jamesgeorge007))
- Merge pull request \#530 from liyasthomas/feature/post-request-tests [\#530](https://github.com/liyasthomas/postwoman/pull/530) ([liyasthomas](https://github.com/liyasthomas))
- Refactor [\#523](https://github.com/liyasthomas/postwoman/pull/523) ([liyasthomas](https://github.com/liyasthomas))
- chore\(deps\): bump nuxt-i18n from 6.4.1 to 6.5.0 [\#522](https://github.com/liyasthomas/postwoman/pull/522) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump v-tooltip from 2.0.2 to 2.0.3 [\#521](https://github.com/liyasthomas/postwoman/pull/521) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps-dev\): bump cypress from 3.8.2 to 3.8.3 [\#520](https://github.com/liyasthomas/postwoman/pull/520) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Feature/post request tests [\#518](https://github.com/liyasthomas/postwoman/pull/518) ([nickpalenchar](https://github.com/nickpalenchar))
- Validate duplicate collections [\#510](https://github.com/liyasthomas/postwoman/pull/510) ([jamesgeorge007](https://github.com/jamesgeorge007))
- Lint and refactor [\#506](https://github.com/liyasthomas/postwoman/pull/506) ([liyasthomas](https://github.com/liyasthomas))
- Merge pull request \#504 from liyasthomas/dependabot/npm\_and\_yarn/node-sass-4.13.1 [\#504](https://github.com/liyasthomas/postwoman/pull/504) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump @nuxtjs/axios from 5.9.2 to 5.9.3 [\#503](https://github.com/liyasthomas/postwoman/pull/503) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps-dev\): bump sass-loader from 8.0.1 to 8.0.2 [\#502](https://github.com/liyasthomas/postwoman/pull/502) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- chore\(deps\): bump ace-builds from 1.4.7 to 1.4.8 [\#501](https://github.com/liyasthomas/postwoman/pull/501) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- 💚 Fixed \#497 [\#499](https://github.com/liyasthomas/postwoman/pull/499) ([pushrbx](https://github.com/pushrbx))
- Feat/firefox strategy [\#496](https://github.com/liyasthomas/postwoman/pull/496) ([liyasthomas](https://github.com/liyasthomas))
- i18n Japanese: Added new translations [\#492](https://github.com/liyasthomas/postwoman/pull/492) ([reefqi037](https://github.com/reefqi037))
- Merge pull request \#491 from liyasthomas/i18n [\#491](https://github.com/liyasthomas/postwoman/pull/491) ([liyasthomas](https://github.com/liyasthomas))
- Replaced hard-coded strings with localizable strings [\#490](https://github.com/liyasthomas/postwoman/pull/490) ([liyasthomas](https://github.com/liyasthomas))
- chore: Minor tweaks [\#485](https://github.com/liyasthomas/postwoman/pull/485) ([jamesgeorge007](https://github.com/jamesgeorge007))
- Porting \(most of\) code to typescript [\#484](https://github.com/liyasthomas/postwoman/pull/484) ([AndrewBastin](https://github.com/AndrewBastin))
- ⬆️ Bump cypress from 3.8.1 to 3.8.2 [\#483](https://github.com/liyasthomas/postwoman/pull/483) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump sass-loader from 8.0.0 to 8.0.1 [\#482](https://github.com/liyasthomas/postwoman/pull/482) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump @nuxtjs/google-analytics from 2.2.2 to 2.2.3 [\#481](https://github.com/liyasthomas/postwoman/pull/481) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- OAuth 2.0/OIDC Access Token Retrieval Support [\#476](https://github.com/liyasthomas/postwoman/pull/476) ([reefqi037](https://github.com/reefqi037))
## [v1.5.0](https://github.com/liyasthomas/postwoman/tree/v1.5.0) (2020-01-04)
[Full Changelog](https://github.com/liyasthomas/postwoman/compare/v1.0.0...v1.5.0)
**Implemented enhancements:**
- What about additional loaders: + Pug, TypeScript, SASS, material-vue ? [\#467](https://github.com/liyasthomas/postwoman/issues/467)
- Can WSDL be implemented, similar to SoapUI? [\#461](https://github.com/liyasthomas/postwoman/issues/461)
- Raw Request Body should be supported to format the JSON string [\#446](https://github.com/liyasthomas/postwoman/issues/446)
- Ability to send Binary data using Postwoman [\#415](https://github.com/liyasthomas/postwoman/issues/415)
- Custom request method [\#398](https://github.com/liyasthomas/postwoman/issues/398)
- \[request\]: CLI possibilities [\#363](https://github.com/liyasthomas/postwoman/issues/363)
- Feature request: OAuth header support/integration [\#358](https://github.com/liyasthomas/postwoman/issues/358)
- i18n support [\#348](https://github.com/liyasthomas/postwoman/issues/348)
- Separate layers in dockerfile to improve image build [\#339](https://github.com/liyasthomas/postwoman/issues/339)
- Internal server environment usage requirements [\#336](https://github.com/liyasthomas/postwoman/issues/336)
- Server Sent Events [\#329](https://github.com/liyasthomas/postwoman/issues/329)
- Generate API documentation [\#326](https://github.com/liyasthomas/postwoman/issues/326)
- Auth info on WebSocket connections [\#321](https://github.com/liyasthomas/postwoman/issues/321)
- Set response panel to fullscreen [\#320](https://github.com/liyasthomas/postwoman/issues/320)
- Graphql support [\#312](https://github.com/liyasthomas/postwoman/issues/312)
- Keyboard shortcuts [\#302](https://github.com/liyasthomas/postwoman/issues/302)
- File/binary request body support [\#298](https://github.com/liyasthomas/postwoman/issues/298)
- It's possible to tab into read only and non-form elements [\#287](https://github.com/liyasthomas/postwoman/issues/287)
- Change cursor to disabled on disabled inputs [\#286](https://github.com/liyasthomas/postwoman/issues/286)
- Hover Styling on Inputs [\#285](https://github.com/liyasthomas/postwoman/issues/285)
- Focus Styles on Buttons [\#284](https://github.com/liyasthomas/postwoman/issues/284)
- Missing Focus on Inputs [\#279](https://github.com/liyasthomas/postwoman/issues/279)
- Download the request result into a file. [\#278](https://github.com/liyasthomas/postwoman/issues/278)
- Improve UI Contrast [\#277](https://github.com/liyasthomas/postwoman/issues/277)
- \[UI\] \[UX\] Allow app to take width of browser [\#236](https://github.com/liyasthomas/postwoman/issues/236)
- Extend syntax highlighting with ACE for pre-request script textarea [\#235](https://github.com/liyasthomas/postwoman/issues/235)
- Store pre-request scripts in history [\#233](https://github.com/liyasthomas/postwoman/issues/233)
- Store the time spent on fetching a response [\#225](https://github.com/liyasthomas/postwoman/issues/225)
- Cache view [\#188](https://github.com/liyasthomas/postwoman/issues/188)
- chore: stick to Vue.js best practices [\#432](https://github.com/liyasthomas/postwoman/pull/432) ([jamesgeorge007](https://github.com/jamesgeorge007))
- Header key autocompletion [\#421](https://github.com/liyasthomas/postwoman/pull/421) ([AndrewBastin](https://github.com/AndrewBastin))
- Custom methods support [\#400](https://github.com/liyasthomas/postwoman/pull/400) ([liyasthomas](https://github.com/liyasthomas))
- Two Way Data Binding \(v-model\) to Ace Editor component [\#379](https://github.com/liyasthomas/postwoman/pull/379) ([AndrewBastin](https://github.com/AndrewBastin))
- Undo header/param/body param deletion [\#350](https://github.com/liyasthomas/postwoman/pull/350) ([AndrewBastin](https://github.com/AndrewBastin))
- Added ability to run GraphQL queries [\#346](https://github.com/liyasthomas/postwoman/pull/346) ([AndrewBastin](https://github.com/AndrewBastin))
**Fixed bugs:**
- WebSocket page freezes when pasting long URL [\#471](https://github.com/liyasthomas/postwoman/issues/471)
- API Documentation won't be generated [\#456](https://github.com/liyasthomas/postwoman/issues/456)
- Sharing Requests via link is not working [\#435](https://github.com/liyasthomas/postwoman/issues/435)
- URL input text is so stutters [\#412](https://github.com/liyasthomas/postwoman/issues/412)
- Save to collections after deleting all the collections causes an error page [\#390](https://github.com/liyasthomas/postwoman/issues/390)
- Bearer token doesnt work with CORS when only authorization header is allowed [\#353](https://github.com/liyasthomas/postwoman/issues/353)
- Make the UI more compact [\#314](https://github.com/liyasthomas/postwoman/issues/314)
- Allow reserved characters on websocket URI [\#289](https://github.com/liyasthomas/postwoman/issues/289)
- Unable to edit or delete row in history table [\#281](https://github.com/liyasthomas/postwoman/issues/281)
- Allow url request with `/` at eol [\#275](https://github.com/liyasthomas/postwoman/issues/275)
- \[request\] localhost support [\#274](https://github.com/liyasthomas/postwoman/issues/274)
- Code generation for Fetch request type of some methods \(POST, PUT, PATCH\) won't be shown [\#268](https://github.com/liyasthomas/postwoman/issues/268)
- \[BUG\] \[UI\] \[Mobile\] Get results not scrollable. [\#266](https://github.com/liyasthomas/postwoman/issues/266)
- POSTing large raw JSON packets [\#265](https://github.com/liyasthomas/postwoman/issues/265)
**Closed issues:**
- Module not found: Error: Can't resolve '../.postwoman/version.json' [\#457](https://github.com/liyasthomas/postwoman/issues/457)
- \* ../.postwoman/version.json in ./node\_modules/babel-loader/lib??ref--2-0!./node\_modules/vue-loader/lib??vue-loader-options!./layouts/default.vue?vue&type=script&lang=js& friendly-errors 11:12:37 [\#448](https://github.com/liyasthomas/postwoman/issues/448)
- npm run dev module was not found: ../.postwoman/version.json [\#442](https://github.com/liyasthomas/postwoman/issues/442)
- graphql and websocket work, but http and https do not [\#441](https://github.com/liyasthomas/postwoman/issues/441)
- Can I test localhost? [\#433](https://github.com/liyasthomas/postwoman/issues/433)
- No 'Access-Control-Allow-Origin' [\#426](https://github.com/liyasthomas/postwoman/issues/426)
- When uninstall the PWA the "install PWA" link in postwoman.io isn't appear anymore [\#419](https://github.com/liyasthomas/postwoman/issues/419)
- Toggling options will reset the UI to English [\#417](https://github.com/liyasthomas/postwoman/issues/417)
- Oh my dear god why don't we just wrap it in electron [\#413](https://github.com/liyasthomas/postwoman/issues/413)
- UI improvement suggestion for request method drop down [\#409](https://github.com/liyasthomas/postwoman/issues/409)
- Can I share a request with my team? [\#408](https://github.com/liyasthomas/postwoman/issues/408)
- Does it not support the post method? [\#403](https://github.com/liyasthomas/postwoman/issues/403)
- Post can't send request [\#401](https://github.com/liyasthomas/postwoman/issues/401)
- \[Bug\] fix header icons overlap [\#399](https://github.com/liyasthomas/postwoman/issues/399)
- Improve translate for pt-BR \(i18n\) [\#395](https://github.com/liyasthomas/postwoman/issues/395)
- Raw input disabled is not working properly [\#394](https://github.com/liyasthomas/postwoman/issues/394)
- Input area is not clearly to identify for users because the dark mode [\#393](https://github.com/liyasthomas/postwoman/issues/393)
- \[UX\] Setting to make sidebar buttons small [\#389](https://github.com/liyasthomas/postwoman/issues/389)
- \[UX\] Improve responsive breaking points [\#388](https://github.com/liyasthomas/postwoman/issues/388)
- \[UX\] Hide history/collections [\#387](https://github.com/liyasthomas/postwoman/issues/387)
- Clearing shortcut overrides browser default [\#374](https://github.com/liyasthomas/postwoman/issues/374)
- Proxy server default configuration [\#373](https://github.com/liyasthomas/postwoman/issues/373)
- Intent to translate [\#367](https://github.com/liyasthomas/postwoman/issues/367)
- Static builds on releases [\#352](https://github.com/liyasthomas/postwoman/issues/352)
- fix:SSE onclose handle [\#349](https://github.com/liyasthomas/postwoman/issues/349)
- ⏬ Import a Postman's Collection [\#333](https://github.com/liyasthomas/postwoman/issues/333)
- \[Request\] Use responses for next request? [\#324](https://github.com/liyasthomas/postwoman/issues/324)
- Make response body area expandable [\#294](https://github.com/liyasthomas/postwoman/issues/294)
- Mobile can't see console for request errors [\#283](https://github.com/liyasthomas/postwoman/issues/283)
- Duplicated query string in generated code [\#272](https://github.com/liyasthomas/postwoman/issues/272)
- Query parameters are duplicated [\#271](https://github.com/liyasthomas/postwoman/issues/271)
- Generated code is incorrect [\#269](https://github.com/liyasthomas/postwoman/issues/269)
- Lacking documentation and wiki [\#232](https://github.com/liyasthomas/postwoman/issues/232)
- I can't send POST method [\#210](https://github.com/liyasthomas/postwoman/issues/210)
- Handling request failures when build number is obtained from GitHub [\#122](https://github.com/liyasthomas/postwoman/issues/122)
**Merged pull requests:**
- ⬆️ Bump @nuxtjs/axios from 5.9.0 to 5.9.2 [\#472](https://github.com/liyasthomas/postwoman/pull/472) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Added variables to graphql page. [\#464](https://github.com/liyasthomas/postwoman/pull/464) ([pushrbx](https://github.com/pushrbx))
- i18n [\#463](https://github.com/liyasthomas/postwoman/pull/463) ([liyasthomas](https://github.com/liyasthomas))
- ⬆️ Bump cypress from 3.8.0 to 3.8.1 [\#460](https://github.com/liyasthomas/postwoman/pull/460) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- i18n\(de-DE\): improve some translations [\#459](https://github.com/liyasthomas/postwoman/pull/459) ([gabschne](https://github.com/gabschne))
- bn-BD i18n [\#455](https://github.com/liyasthomas/postwoman/pull/455) ([hmtanbir](https://github.com/hmtanbir))
- API documentation page [\#451](https://github.com/liyasthomas/postwoman/pull/451) ([liyasthomas](https://github.com/liyasthomas))
- ⬆️ Bump @nuxtjs/axios from 5.8.0 to 5.9.0 [\#450](https://github.com/liyasthomas/postwoman/pull/450) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump nuxt from 2.10.2 to 2.11.0 [\#449](https://github.com/liyasthomas/postwoman/pull/449) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Various UI tweaks [\#439](https://github.com/liyasthomas/postwoman/pull/439) ([liyasthomas](https://github.com/liyasthomas))
- i18n [\#438](https://github.com/liyasthomas/postwoman/pull/438) ([liyasthomas](https://github.com/liyasthomas))
- Burmese translation added [\#437](https://github.com/liyasthomas/postwoman/pull/437) ([ZattWine](https://github.com/ZattWine))
- Styled select input [\#431](https://github.com/liyasthomas/postwoman/pull/431) ([liyasthomas](https://github.com/liyasthomas))
- Bumped dependencies and Improved UI contrast [\#430](https://github.com/liyasthomas/postwoman/pull/430) ([liyasthomas](https://github.com/liyasthomas))
- ⬆️ Bump cypress from 3.7.0 to 3.8.0 [\#429](https://github.com/liyasthomas/postwoman/pull/429) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- I18n [\#428](https://github.com/liyasthomas/postwoman/pull/428) ([liyasthomas](https://github.com/liyasthomas))
- I18n Japanese translation added [\#427](https://github.com/liyasthomas/postwoman/pull/427) ([reefqi037](https://github.com/reefqi037))
- Even [\#424](https://github.com/liyasthomas/postwoman/pull/424) ([liyasthomas](https://github.com/liyasthomas))
- I18n [\#423](https://github.com/liyasthomas/postwoman/pull/423) ([liyasthomas](https://github.com/liyasthomas))
- I18n German translation added [\#422](https://github.com/liyasthomas/postwoman/pull/422) ([NJannasch](https://github.com/NJannasch))
- Update id-ID.js [\#416](https://github.com/liyasthomas/postwoman/pull/416) ([williamsp](https://github.com/williamsp))
- Improving translation for id-ID [\#414](https://github.com/liyasthomas/postwoman/pull/414) ([williamsp](https://github.com/williamsp))
- Fixing bug on request saving [\#410](https://github.com/liyasthomas/postwoman/pull/410) ([adevr](https://github.com/adevr))
- ⬆️ Bump @nuxtjs/google-analytics from 2.2.1 to 2.2.2 [\#407](https://github.com/liyasthomas/postwoman/pull/407) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump vue-virtual-scroll-list from 1.4.3 to 1.4.4 [\#406](https://github.com/liyasthomas/postwoman/pull/406) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump nuxt-i18n from 6.4.0 to 6.4.1 [\#405](https://github.com/liyasthomas/postwoman/pull/405) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- I18n [\#404](https://github.com/liyasthomas/postwoman/pull/404) ([yubathom](https://github.com/yubathom))
- App UI [\#391](https://github.com/liyasthomas/postwoman/pull/391) ([liyasthomas](https://github.com/liyasthomas))
- i18n [\#383](https://github.com/liyasthomas/postwoman/pull/383) ([liyasthomas](https://github.com/liyasthomas))
- Added Turkish Language Support [\#382](https://github.com/liyasthomas/postwoman/pull/382) ([AliAnilKocak](https://github.com/AliAnilKocak))
- Translated new words to Farsi lang [\#380](https://github.com/liyasthomas/postwoman/pull/380) ([hosseinnedaee](https://github.com/hosseinnedaee))
- fix: twitter summary card image url [\#378](https://github.com/liyasthomas/postwoman/pull/378) ([peterpeterparker](https://github.com/peterpeterparker))
- Added nav shortcuts to GraphQL query and response, updated GraphQL shortcut icons [\#377](https://github.com/liyasthomas/postwoman/pull/377) ([AndrewBastin](https://github.com/AndrewBastin))
- Bump cypress from 3.6.1 to 3.7.0 [\#376](https://github.com/liyasthomas/postwoman/pull/376) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump vuex-persist from 2.1.1 to 2.2.0 [\#375](https://github.com/liyasthomas/postwoman/pull/375) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- I18n [\#372](https://github.com/liyasthomas/postwoman/pull/372) ([EdikWang](https://github.com/EdikWang))
- Use GraphQL logo for GraphQL tab [\#371](https://github.com/liyasthomas/postwoman/pull/371) ([NBTX](https://github.com/NBTX))
- Update i18n keywords for Bahasa Indonesia [\#369](https://github.com/liyasthomas/postwoman/pull/369) ([wahwahid](https://github.com/wahwahid))
- Intent to translate to Spanish on I18n [\#368](https://github.com/liyasthomas/postwoman/pull/368) ([adlpaf](https://github.com/adlpaf))
- I18n [\#366](https://github.com/liyasthomas/postwoman/pull/366) ([liyasthomas](https://github.com/liyasthomas))
- Add translations for FR/EN catalogues [\#364](https://github.com/liyasthomas/postwoman/pull/364) ([LaurentBrieu](https://github.com/LaurentBrieu))
- Added Bahasa Indonesia language support [\#362](https://github.com/liyasthomas/postwoman/pull/362) ([wahwahid](https://github.com/wahwahid))
- i18n [\#361](https://github.com/liyasthomas/postwoman/pull/361) ([liyasthomas](https://github.com/liyasthomas))
- Add Simplified Chinese language [\#360](https://github.com/liyasthomas/postwoman/pull/360) ([EdikWang](https://github.com/EdikWang))
- Added Brazilian Portuguese language support [\#359](https://github.com/liyasthomas/postwoman/pull/359) ([tetri](https://github.com/tetri))
- Added Farsi language support [\#357](https://github.com/liyasthomas/postwoman/pull/357) ([hosseinnedaee](https://github.com/hosseinnedaee))
- Adding french language basic [\#355](https://github.com/liyasthomas/postwoman/pull/355) ([thomasbnt](https://github.com/thomasbnt))
- Add Proxy URL option [\#345](https://github.com/liyasthomas/postwoman/pull/345) ([NBTX](https://github.com/NBTX))
- ♻️ Refactor Functions [\#344](https://github.com/liyasthomas/postwoman/pull/344) ([athul](https://github.com/athul))
## [v1.0.0](https://github.com/liyasthomas/postwoman/tree/v1.0.0) (2019-11-04)
[Full Changelog](https://github.com/liyasthomas/postwoman/compare/v0.1.0...v1.0.0)
**Implemented enhancements:**
- Chain requests. Execute a bunch of requests one by one and produce results [\#196](https://github.com/liyasthomas/postwoman/issues/196)
- Allow User to Choose Whether to Include Authentication in Permalink [\#178](https://github.com/liyasthomas/postwoman/issues/178)
- Allow HTTP \(not HTTPS\) on postwoman.io [\#175](https://github.com/liyasthomas/postwoman/issues/175)
- Docker-compose in development [\#168](https://github.com/liyasthomas/postwoman/issues/168)
- Add Docker [\#164](https://github.com/liyasthomas/postwoman/issues/164)
- Clear Input [\#155](https://github.com/liyasthomas/postwoman/issues/155)
- introduce some script language to parse the response and pass environment variable as request parameter [\#139](https://github.com/liyasthomas/postwoman/issues/139)
- Add links to the footer version and commit sha [\#134](https://github.com/liyasthomas/postwoman/issues/134)
- Please add a label for each request. It will be helpful. [\#133](https://github.com/liyasthomas/postwoman/issues/133)
- Use 'icon buttons' instead of 'text buttons' [\#130](https://github.com/liyasthomas/postwoman/issues/130)
- Change .editorconfig [\#115](https://github.com/liyasthomas/postwoman/issues/115)
- \[UX\] Provide Focus State for Buttons, etc. [\#112](https://github.com/liyasthomas/postwoman/issues/112)
- Add linter semistandard [\#98](https://github.com/liyasthomas/postwoman/issues/98)
- Show "Send" button all over the page or enable hotkeys [\#94](https://github.com/liyasthomas/postwoman/issues/94)
- Import request from cURL [\#93](https://github.com/liyasthomas/postwoman/issues/93)
- Search on History [\#92](https://github.com/liyasthomas/postwoman/issues/92)
- Add support for "application/hal+json" Content-Type [\#88](https://github.com/liyasthomas/postwoman/issues/88)
- The query string is built incorrectly when the path contains a parameter [\#87](https://github.com/liyasthomas/postwoman/issues/87)
- Option to Copy request as Fetch or XHR Or CURL [\#76](https://github.com/liyasthomas/postwoman/issues/76)
- Add Tests [\#65](https://github.com/liyasthomas/postwoman/issues/65)
- Request Headers [\#57](https://github.com/liyasthomas/postwoman/issues/57)
- Colored response codes based on status code [\#46](https://github.com/liyasthomas/postwoman/issues/46)
- Improve SEO [\#45](https://github.com/liyasthomas/postwoman/issues/45)
- Add html preview to response section [\#41](https://github.com/liyasthomas/postwoman/issues/41)
- websocket support [\#40](https://github.com/liyasthomas/postwoman/issues/40)
- Raw request body for POST requests and Authorization key/value in Header [\#36](https://github.com/liyasthomas/postwoman/issues/36)
- Code highlight on response body [\#33](https://github.com/liyasthomas/postwoman/issues/33)
- Template selector [\#32](https://github.com/liyasthomas/postwoman/issues/32)
- Vue template [\#31](https://github.com/liyasthomas/postwoman/issues/31)
- Add copy response to clipboard button [\#30](https://github.com/liyasthomas/postwoman/issues/30)
- Ability to store/share/create collections [\#29](https://github.com/liyasthomas/postwoman/issues/29)
- Send request on Enter Key press [\#17](https://github.com/liyasthomas/postwoman/issues/17)
- Readable [\#5](https://github.com/liyasthomas/postwoman/issues/5)
- Serialize a request into JSON? [\#4](https://github.com/liyasthomas/postwoman/issues/4)
- Add brand new logo to the project [\#244](https://github.com/liyasthomas/postwoman/pull/244) ([caneco](https://github.com/caneco))
- Feature/pre request script [\#231](https://github.com/liyasthomas/postwoman/pull/231) ([nickpalenchar](https://github.com/nickpalenchar))
- Add the ApolloTV proxy server [\#217](https://github.com/liyasthomas/postwoman/pull/217) ([NBTX](https://github.com/NBTX))
- bug: keeping information on page change [\#211](https://github.com/liyasthomas/postwoman/pull/211) ([breno-pereira](https://github.com/breno-pereira))
- Work in Progress: feature/allow-collections-importing [\#209](https://github.com/liyasthomas/postwoman/pull/209) ([vlad0337187](https://github.com/vlad0337187))
- Feature/log errors [\#207](https://github.com/liyasthomas/postwoman/pull/207) ([nickpalenchar](https://github.com/nickpalenchar))
- Use returned value from toggle component on change event [\#205](https://github.com/liyasthomas/postwoman/pull/205) ([hosseinnedaee](https://github.com/hosseinnedaee))
- Fix CORS and mixed content issue [\#199](https://github.com/liyasthomas/postwoman/pull/199) ([hosseinnedaee](https://github.com/hosseinnedaee))
- Added Tooltips [\#197](https://github.com/liyasthomas/postwoman/pull/197) ([AndrewBastin](https://github.com/AndrewBastin))
- Added auto theme [\#185](https://github.com/liyasthomas/postwoman/pull/185) ([AndrewBastin](https://github.com/AndrewBastin))
- Add Request name label for every requests [\#184](https://github.com/liyasthomas/postwoman/pull/184) ([sharath2106](https://github.com/sharath2106))
- Collections [\#176](https://github.com/liyasthomas/postwoman/pull/176) ([TheHollidayInn](https://github.com/TheHollidayInn))
**Fixed bugs:**
- Bearer Token value still left even after being cleared [\#212](https://github.com/liyasthomas/postwoman/issues/212)
- All changes in input fields lost when you switch to another page [\#203](https://github.com/liyasthomas/postwoman/issues/203)
- POST request json bodies aren't sent [\#180](https://github.com/liyasthomas/postwoman/issues/180)
- Headers turn into 0 : \[Object object\] [\#166](https://github.com/liyasthomas/postwoman/issues/166)
- Send Again Button Constantly Flickering [\#157](https://github.com/liyasthomas/postwoman/issues/157)
- There are cross-domain problems [\#128](https://github.com/liyasthomas/postwoman/issues/128)
- Raw requests are not being sent [\#124](https://github.com/liyasthomas/postwoman/issues/124)
- Request Body Is Not Sent [\#113](https://github.com/liyasthomas/postwoman/issues/113)
- default menu option - 'Http' is not highlighted when launched from installed pwa app \(UI bug\) [\#100](https://github.com/liyasthomas/postwoman/issues/100)
- App is broken with old history in localStorage [\#74](https://github.com/liyasthomas/postwoman/issues/74)
- Last added history entry is removed automatically after refresh [\#66](https://github.com/liyasthomas/postwoman/issues/66)
- Cannot use localhost as base url [\#56](https://github.com/liyasthomas/postwoman/issues/56)
- \[CORS\] No 'Access-Control-Allow-Origin' header is present on the requested resource [\#2](https://github.com/liyasthomas/postwoman/issues/2)
**Closed issues:**
- Section labels don't display properly in Firefox [\#237](https://github.com/liyasthomas/postwoman/issues/237)
- Unsupported URLs \[BUG\]? [\#229](https://github.com/liyasthomas/postwoman/issues/229)
- Credentials are still being included in Permalink even when "Include in URL" is turned off [\#227](https://github.com/liyasthomas/postwoman/issues/227)
- Display sendRequest runtime errors in the console [\#206](https://github.com/liyasthomas/postwoman/issues/206)
- Missing "Landing/start page" [\#162](https://github.com/liyasthomas/postwoman/issues/162)
- Response with content-type "application/hal+json" shows as \[Object object\] [\#158](https://github.com/liyasthomas/postwoman/issues/158)
- A place to discuss [\#149](https://github.com/liyasthomas/postwoman/issues/149)
- Inconsistent version name [\#141](https://github.com/liyasthomas/postwoman/issues/141)
- Autoresize the textarea [\#102](https://github.com/liyasthomas/postwoman/issues/102)
- Content-Type revamping [\#99](https://github.com/liyasthomas/postwoman/issues/99)
- Add version number in footer [\#97](https://github.com/liyasthomas/postwoman/issues/97)
- The history doesn't show a date with the timestamp. [\#81](https://github.com/liyasthomas/postwoman/issues/81)
- Not working on Brave Browser anymore [\#71](https://github.com/liyasthomas/postwoman/issues/71)
- Why da fuq is your name plastered all over the README? [\#70](https://github.com/liyasthomas/postwoman/issues/70)
- Comparison with Postman is missing [\#69](https://github.com/liyasthomas/postwoman/issues/69)
- HTTP request with different library [\#61](https://github.com/liyasthomas/postwoman/issues/61)
- Editorconfig file [\#60](https://github.com/liyasthomas/postwoman/issues/60)
- 500 this.isValidURL is not a function [\#58](https://github.com/liyasthomas/postwoman/issues/58)
- Styling with Tailwindcss [\#38](https://github.com/liyasthomas/postwoman/issues/38)
- Not Working in IE 11 [\#37](https://github.com/liyasthomas/postwoman/issues/37)
- PWA not installable [\#19](https://github.com/liyasthomas/postwoman/issues/19)
- Simple Misspelling [\#8](https://github.com/liyasthomas/postwoman/issues/8)
**Merged pull requests:**
- docs: add liyasthomas as a contributor [\#264](https://github.com/liyasthomas/postwoman/pull/264) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add jamesgeorge007 as a contributor [\#263](https://github.com/liyasthomas/postwoman/pull/263) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add NBTX as a contributor [\#262](https://github.com/liyasthomas/postwoman/pull/262) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- Fix .all-contributorsrc badge template. [\#260](https://github.com/liyasthomas/postwoman/pull/260) ([NBTX](https://github.com/NBTX))
- docs: add hosseinnedaee as a contributor [\#259](https://github.com/liyasthomas/postwoman/pull/259) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add nityanandagohain as a contributor [\#257](https://github.com/liyasthomas/postwoman/pull/257) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add JacobAnavisca as a contributor [\#256](https://github.com/liyasthomas/postwoman/pull/256) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add izerozlu as a contributor [\#255](https://github.com/liyasthomas/postwoman/pull/255) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add vlad0337187 as a contributor [\#254](https://github.com/liyasthomas/postwoman/pull/254) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add AndrewBastin as a contributor [\#253](https://github.com/liyasthomas/postwoman/pull/253) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add terranblake as a contributor [\#252](https://github.com/liyasthomas/postwoman/pull/252) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add nickpalenchar as a contributor [\#251](https://github.com/liyasthomas/postwoman/pull/251) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add yubathom as a contributor [\#250](https://github.com/liyasthomas/postwoman/pull/250) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add larouxn as a contributor [\#249](https://github.com/liyasthomas/postwoman/pull/249) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add NBTX as a contributor [\#248](https://github.com/liyasthomas/postwoman/pull/248) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- docs: add liyasthomas as a contributor [\#247](https://github.com/liyasthomas/postwoman/pull/247) ([allcontributors[bot]](https://github.com/apps/allcontributors))
- Make page changes more fluid [\#246](https://github.com/liyasthomas/postwoman/pull/246) ([NBTX](https://github.com/NBTX))
- Minor tweaks [\#245](https://github.com/liyasthomas/postwoman/pull/245) ([liyasthomas](https://github.com/liyasthomas))
- ⬆️ Bump @nuxtjs/google-tag-manager from 2.3.0 to 2.3.1 [\#243](https://github.com/liyasthomas/postwoman/pull/243) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump yargs-parser from 15.0.0 to 16.1.0 [\#242](https://github.com/liyasthomas/postwoman/pull/242) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump @nuxtjs/toast from 3.2.1 to 3.3.0 [\#241](https://github.com/liyasthomas/postwoman/pull/241) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump highlight.js from 9.15.10 to 9.16.2 [\#240](https://github.com/liyasthomas/postwoman/pull/240) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump cypress from 3.5.0 to 3.6.0 [\#239](https://github.com/liyasthomas/postwoman/pull/239) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Fix legend labels in Firefox, fix colored labels slider [\#238](https://github.com/liyasthomas/postwoman/pull/238) ([NBTX](https://github.com/NBTX))
- Documentation Cleanup [\#230](https://github.com/liyasthomas/postwoman/pull/230) ([amitdash291](https://github.com/amitdash291))
- Fix \#227 Exclude credentials from permalink [\#228](https://github.com/liyasthomas/postwoman/pull/228) ([reefqi037](https://github.com/reefqi037))
- ⬆️ Bump cypress from 3.4.1 to 3.5.0 [\#224](https://github.com/liyasthomas/postwoman/pull/224) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump @nuxtjs/axios from 5.6.0 to 5.8.0 [\#223](https://github.com/liyasthomas/postwoman/pull/223) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump node-sass from 4.12.0 to 4.13.0 [\#222](https://github.com/liyasthomas/postwoman/pull/222) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump nuxt from 2.10.1 to 2.10.2 [\#221](https://github.com/liyasthomas/postwoman/pull/221) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump @nuxtjs/google-analytics from 2.2.0 to 2.2.1 [\#220](https://github.com/liyasthomas/postwoman/pull/220) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump vuex-persist from 2.1.0 to 2.1.1 [\#219](https://github.com/liyasthomas/postwoman/pull/219) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Fixed frame colors toggle [\#216](https://github.com/liyasthomas/postwoman/pull/216) ([mateusppereira](https://github.com/mateusppereira))
- Re-order sections and add toggle for including authentication in URL [\#215](https://github.com/liyasthomas/postwoman/pull/215) ([NBTX](https://github.com/NBTX))
- chore: minor code refactor [\#214](https://github.com/liyasthomas/postwoman/pull/214) ([jamesgeorge007](https://github.com/jamesgeorge007))
- Fix \#212 Clear bearer token value [\#213](https://github.com/liyasthomas/postwoman/pull/213) ([reefqi037](https://github.com/reefqi037))
- fix: don't display 'Collection is empty' label if collection has any … [\#208](https://github.com/liyasthomas/postwoman/pull/208) ([vlad0337187](https://github.com/vlad0337187))
- Fix proxy URL [\#201](https://github.com/liyasthomas/postwoman/pull/201) ([NBTX](https://github.com/NBTX))
- Fix CORS and Mixed-Content issue & Bug Fixes [\#200](https://github.com/liyasthomas/postwoman/pull/200) ([NBTX](https://github.com/NBTX))
- ⬆️ Bump start-server-and-test from 1.10.5 to 1.10.6 [\#198](https://github.com/liyasthomas/postwoman/pull/198) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump start-server-and-test from 1.10.3 to 1.10.5 [\#194](https://github.com/liyasthomas/postwoman/pull/194) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump @nuxtjs/google-tag-manager from 2.2.1 to 2.3.0 [\#193](https://github.com/liyasthomas/postwoman/pull/193) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump nuxt from 2.10.0 to 2.10.1 [\#192](https://github.com/liyasthomas/postwoman/pull/192) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- ⬆️ Bump yargs-parser from 14.0.0 to 15.0.0 [\#191](https://github.com/liyasthomas/postwoman/pull/191) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Add quotation marks for generated code [\#187](https://github.com/liyasthomas/postwoman/pull/187) ([johnhenry](https://github.com/johnhenry))
- updated threshold and rootMargin for IntersectionObserver [\#182](https://github.com/liyasthomas/postwoman/pull/182) ([edisonaugusthy](https://github.com/edisonaugusthy))
- Add basic e2e tests [\#181](https://github.com/liyasthomas/postwoman/pull/181) ([yubathom](https://github.com/yubathom))
- ⬆️ Bump nuxt from 2.9.2 to 2.10.0 [\#179](https://github.com/liyasthomas/postwoman/pull/179) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- 🐛 Fixed sitemap configuration [\#177](https://github.com/liyasthomas/postwoman/pull/177) ([NicoPennec](https://github.com/NicoPennec))
- Code Refactoring [\#173](https://github.com/liyasthomas/postwoman/pull/173) ([edisonaugusthy](https://github.com/edisonaugusthy))
- Added Black Theme [\#172](https://github.com/liyasthomas/postwoman/pull/172) ([AndrewBastin](https://github.com/AndrewBastin))
## [v0.1.0](https://github.com/liyasthomas/postwoman/tree/v0.1.0) (2019-08-22)
[Full Changelog](https://github.com/liyasthomas/postwoman/compare/91c08a5e6305cc95a0df46a33fdd0013bf7339b4...v0.1.0)
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
Visit [releases](https://github.com/hoppscotch/hoppscotch/releases) for full changelog.

30
CODEOWNERS Normal file
View File

@@ -0,0 +1,30 @@
# CODEOWNERS is prioritized from bottom to top
# If none of the below matched
* @AndrewBastin @liyasthomas
# Packages
/packages/codemirror-lang-graphql/ @AndrewBastin
/packages/hoppscotch-cli/ @AndrewBastin
/packages/hoppscotch-common/ @amk-dev @AndrewBastin
/packages/hoppscotch-data/ @AndrewBastin
/packages/hoppscotch-js-sandbox/ @AndrewBastin
/packages/hoppscotch-ui/ @anwarulislam
/packages/hoppscotch-web/ @amk-dev
/packages/hoppscotch-selfhost-web/ @amk-dev
/packages/hoppscotch-sh-admin/ @JoelJacobStephen
/packages/hoppscotch-backend/ @ankitsridhar16 @balub
# Sections within Hoppscotch Common
/packages/hoppscotch-common/src/components @anwarulislam
/packages/hoppscotch-common/src/components/collections @nivedin @amk-dev
/packages/hoppscotch-common/src/components/environments @nivedin @amk-dev
/packages/hoppscotch-common/src/composables @amk-dev
/packages/hoppscotch-common/src/modules @AndrewBastin @amk-dev
/packages/hoppscotch-common/src/pages @AndrewBastin @amk-dev
/packages/hoppscotch-common/src/newstore @AndrewBastin @amk-dev
README.md @liyasthomas
# The lockfile has no owner
pnpm-lock.yaml

View File

@@ -2,75 +2,131 @@
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
Examples of behavior that contributes to a positive environment for our
community include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community
Examples of unacceptable behavior by participants include:
Examples of unacceptable behavior include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
professional setting
## Our Responsibilities
## Enforcement Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior. Maintainers are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned with our Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
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.
Further details of specific enforcement policies may be posted separately.
reported to the community leaders responsible for enforcement at
support@hoppscotch.io.
All complaints will be reviewed and investigated promptly and fairly.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of
actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the
community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations

View File

@@ -12,81 +12,6 @@ Please note we have a code of conduct, please follow it in all your interactions
2. Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
3. Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
Pull Request would represent. The versioning scheme we use is [SemVer](https://semver.org).
4. You may merge the Pull Request once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer merge it for you.
## Code of Conduct
### Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.
### Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
### Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior. Maintainers are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned with our Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
### Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
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 [INSERT EMAIL ADDRESS]. 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.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
### Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

View File

@@ -1,21 +0,0 @@
FROM node:12.10.0-alpine
LABEL maintainer="Liyas Thomas (liyascthomas@gmail.com)"
# Add git as the prebuild target requires it to parse version information
RUN apk add --update --no-cache \
git
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start"]

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 Liyas Thomas
Copyright (c) 2022
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

714
README.md
View File

@@ -1,456 +1,298 @@
<div align="center">
<a href="https://postwoman.io"><img src="static/logo.png" alt="Postwoman.io logo" height="160"></a>
<br>
<br>
<p>
<b>A free, fast and beautiful API request builder</b>
</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>
</p>
<a href="https://hoppscotch.io">
<img
src="https://avatars.githubusercontent.com/u/56705483"
alt="Hoppscotch"
height="64"
/>
</a>
<h3>
<b>
Hoppscotch
</b>
</h3>
<b>
Open Source API Development Ecosystem
</b>
<p>
[![Travis Build Status](https://img.shields.io/travis/com/liyasthomas/postwoman?logo=Travis)](https://travis-ci.com/liyasthomas/postwoman) [![GitHub release](https://img.shields.io/github/release/liyasthomas/postwoman/all?logo=GitHub)](https://github.com/liyasthomas/postwoman/releases/latest) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fpostwoman.io&logo=Postwoman)](https://postwoman.io) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen)](CONTRIBUTING.md) [![Financial Contributors on Open Collective](https://img.shields.io/opencollective/all/postwoman?logo=Open-Collective&label=financial+contributors)](https://opencollective.com/postwoman) [![Donate on PayPal](https://img.shields.io/badge/support-PayPal-blue?logo=PayPal)](https://www.paypal.me/liyascthomas) [![Chat on Telegram](https://img.shields.io/badge/chat-Telegram-blueviolet?logo=Telegram)](https://t.me/postwoman_app) [![Chat on Discord](https://img.shields.io/badge/chat-Discord-violet?logo=discord)](https://discord.gg/GAMWxmR) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fpostwoman.io%2F)](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)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen?logo=github)](CODE_OF_CONDUCT.md) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fhoppscotch.io&logo=hoppscotch)](https://hoppscotch.io) [![Tests](https://github.com/hoppscotch/hoppscotch/actions/workflows/tests.yml/badge.svg)](https://github.com/hoppscotch/hoppscotch/actions) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fhoppscotch.io%2F)](https://twitter.com/share?text=%F0%9F%91%BD%20Hoppscotch%20%E2%80%A2%20Open%20source%20API%20development%20ecosystem%20-%20Helps%20you%20create%20requests%20faster,%20saving%20precious%20time%20on%20development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=hoppscotch_io)
</p>
<p>
<sub>Built with ❤︎ by
<a href="https://github.com/liyasthomas">liyasthomas</a> and
<a href="https://github.com/liyasthomas/postwoman/graphs/contributors">contributors</a>
<sub>
Built with ❤︎ by
<a href="https://github.com/hoppscotch/hoppscotch/graphs/contributors">
contributors
</a>
</sub>
</p>
<br />
<p>
<a href="https://hoppscotch.io">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./packages/hoppscotch-common/public/images/banner-dark.png">
<source media="(prefers-color-scheme: light)" srcset="./packages/hoppscotch-common/public/images/banner-light.png">
<img alt="Hoppscotch" src="./packages/hoppscotch-common/public/images/banner-dark.png">
</picture>
</a>
</p>
</div>
_We highly recommend you take a look at the [**Hoppscotch Documentation**](https://docs.hoppscotch.io) to learn more about the app._
#### **Support**
[![Chat on Discord](https://img.shields.io/badge/chat-Discord-7289DA?logo=discord)](https://hoppscotch.io/discord) [![Chat on Telegram](https://img.shields.io/badge/chat-Telegram-2CA5E0?logo=telegram)](https://hoppscotch.io/telegram) [![Discuss on GitHub](https://img.shields.io/badge/discussions-GitHub-333333?logo=github)](https://github.com/hoppscotch/hoppscotch/discussions)
### **Features**
❤️ **Lightweight:** Crafted with minimalistic UI design.
⚡️ **Fast:** Send requests and get responses in real time.
🗄️ **HTTP Methods:** Request methods define the type of action you are requesting to be performed.
- `GET` - Requests retrieve resource information
- `POST` - The server creates a new entry in a database
- `PUT` - Updates an existing resource
- `PATCH` - Very similar to `PUT` but makes a partial update on a resource
- `DELETE` - Deletes resource or related component
- `HEAD` - Retrieve response headers identical to those of a GET request, but without the response body.
- `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
- `<custom>` - Some APIs use custom request methods such as `LIST`. Type in your custom methods.
🌈 **Theming:** Customizable combinations for background, foreground, and accent colors — [customize now](https://hoppscotch.io/settings).
- Choose a theme: System preference, Light, Dark, and Black
- Choose accent colors: Green, Teal, Blue, Indigo, Purple, Yellow, Orange, Red, and Pink
- Distraction-free Zen mode
_Customized themes are synced with your cloud/local session._
🔥 **PWA:** Install as a [Progressive Web App](https://web.dev/progressive-web-apps) on your device.
- Instant loading with Service Workers
- Offline support
- Low RAM/memory and CPU usage
- Add to Home Screen
- Desktop PWA
🚀 **Request:** Retrieve response from endpoint instantly.
1. Choose `method`
2. Enter `URL`
3. Send
- Copy/share public "Share URL"
- Generate/copy request code snippets for 10+ languages and frameworks
- Import `cURL`
- Label requests
🔌 **WebSocket:** Establish full-duplex communication channels over a single TCP connection.
📡 **Server-Sent Events:** Receive a stream of updates from a server over an HTTP connection without resorting to polling.
🌩 **Socket.IO:** Send and Receive data with the SocketIO server.
🦟 **MQTT:** Subscribe and Publish to topics of an MQTT Broker.
🔮 **GraphQL:** GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
- Set endpoint and get schema
- Multi-column docs
- Set custom request headers
- Query schema
- Get query response
🔐 **Authorization:** Allows to identify the end-user.
- None
- Basic
- Bearer Token
- OAuth 2.0
- OIDC Access Token/PKCE
📢 **Headers:** Describes the format the body of your request is being sent in.
📫 **Parameters:** Use request parameters to set varying parts in simulated requests.
📃 **Request Body:** Used to send and receive data via the REST API.
- Set `Content Type`
- FormData, JSON, and many more
- Toggle between key-value and RAW input parameter list
📮 **Response:** Contains the status line, headers, and the message/response body.
- Copy the response to the clipboard
- Download the response as a file
- View response headers
- View raw and preview HTML, image, JSON, and XML responses
**History:** Request entries are synced with your cloud/local session storage.
📁 **Collections:** Keep your API requests organized with collections and folders. Reuse them with a single click.
- Unlimited collections, folders, and requests
- Nested folders
- Export and import as a file or GitHub gist
_Collections are synced with your cloud/local session storage._
📜 **Pre-Request Scripts:** Snippets of code associated with a request that is executed before the request is sent.
- Set environment variables
- Include timestamp in the request headers
- Send a random alphanumeric string in the URL parameters
- Any JavaScript functions
👨‍👩‍👧‍👦 **Teams:** Helps you collaborate across your teams to design, develop, and test APIs faster.
- Create unlimited teams
- Create unlimited shared collections
- Create unlimited team members
- Role-based access control
- Cloud sync
- Multiple devices
👥 **Workspaces:** Organize your personal and team collections environments into workspaces. Easily switch between workspaces to manage multiple projects.
- Create unlimited workspaces
- Switch between personal and team workspaces
⌨️ **Keyboard Shortcuts:** Optimized for efficiency.
> **[Read our documentation on Keyboard Shortcuts](https://docs.hoppscotch.io/documentation/features/shortcuts)**
🌐 **Proxy:** Enable Proxy Mode from Settings to access blocked APIs.
- Hide your IP address
- Fixes [`CORS`](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross-Origin Resource Sharing) issues
- Access APIs served in non-HTTPS (`http://`) endpoints
- Use your Proxy URL
_Official proxy server is hosted by Hoppscotch - **[GitHub](https://github.com/hoppscotch/proxyscotch)** - **[Privacy Policy](https://docs.hoppscotch.io/support/privacy)**._
🌎 **i18n:** Experience the app in your language.
Help us to translate Hoppscotch. Please read [`TRANSLATIONS`](TRANSLATIONS.md) for details on our [`CODE OF CONDUCT`](CODE_OF_CONDUCT.md) and the process for submitting pull requests to us.
☁️ **Auth + Sync:** Sign in and sync your data in real-time across all your devices.
**Sign in with:**
- GitHub
- Google
- Microsoft
- Email
- SSO (Single Sign-On)[^EE]
**🔄 Synchronize your data:** Handoff to continue tasks on your other devices.
- Workspaces
- History
- Collections
- Environments
- Settings
**Post-Request Tests:** Write tests associated with a request that is executed after the request's response.
- Check the status code as an integer
- Filter response headers
- Parse the response data
- Set environment variables
- Write JavaScript code
🌱 **Environments:** Environment variables allow you to store and reuse values in your requests and scripts.
- Unlimited environments and variables
- Initialize through the pre-request script
- Export as / import from GitHub gist
<details>
<summary><i>Use-cases</i></summary>
---
**Read: _[Story behind Postwoman](https://dev.to/liyasthomas/i-created-postwoman-an-online-open-source-api-request-builder-41md), [Postwoman v1.0](https://dev.to/liyasthomas/postwoman-v1-0-a-free-fast-beautiful-alternative-to-postman-mn0)_**
- By storing a value in a variable, you can reference it throughout your request section
- 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
**Chat: _[Telegram](https://t.me/postwoman_app), [Discord](https://discord.gg/GAMWxmR)_**
---
**Donate: _[PayPal](https://www.paypal.me/liyascthomas), [Open Collective](https://opencollective.com/postwoman), [Patreon](https://www.patreon.com/liyasthomas)_**
</details>
🚚 **Bulk Edit:** Edit key-value pairs in bulk.
- Entries are separated by newline
- Keys and values are separated by `:`
- Prepend `#` to any row you want to add but keep disabled
🎛️ **Admin dashboard:** Manage your team and invite members.
- Insights
- Manage users
- Manage teams
📦 **Add-ons:** Official add-ons for hoppscotch.
- **[Hoppscotch CLI](https://github.com/hoppscotch/hoppscotch/tree/main/packages/hoppscotch-cli)** - Command-line interface for Hoppscotch.
- **[Proxy](https://github.com/hoppscotch/proxyscotch)** - A simple proxy server created for Hoppscotch.
- **[Browser Extensions](https://github.com/hoppscotch/hoppscotch-extension)** - Browser extensions that enhance your Hoppscotch experience.
[![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_16x16.png) **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/hoppscotch) &nbsp;|&nbsp; [![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_16x16.png) **Chrome**](https://chrome.google.com/webstore/detail/hoppscotch-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld)
> **Extensions fix `CORS` issues.**
_Add-ons are developed and maintained under **[Hoppscotch Organization](https://github.com/hoppscotch)**._
**For a complete list of features, please read our [documentation](https://docs.hoppscotch.io).**
## **Demo**
[hoppscotch.io](https://hoppscotch.io)
## **Usage**
1. Provide your API endpoint in the URL field
2. Click "Send" to simulate the request
3. View the response
## **Developing**
Follow our [self-hosting documentation](https://docs.hoppscotch.io/documentation/self-host/getting-started) to get started with the development environment.
## **Contributing**
Please contribute using [GitHub Flow](https://guides.github.com/introduction/flow). Create a branch, add commits, and [open a pull request](https://github.com/hoppscotch/hoppscotch/compare).
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**
We use [GitHub Actions](https://github.com/features/actions) for continuous integration. Check out our [build workflows](https://github.com/hoppscotch/hoppscotch/actions).
## **Changelog**
See the [`CHANGELOG`](CHANGELOG.md) file for details.
## **Authors**
This project owes its existence to the collective efforts of all those who contribute — [contribute now](CONTRIBUTING.md).
<div align="center">
<br>
<img src="static/images/screenshot1.png" alt="Screenshot1" width="100%">
<br>
<a href="https://github.com/hoppscotch/hoppscotch/graphs/contributors">
<img src="https://opencollective.com/hoppscotch/contributors.svg?width=840&button=false"
alt="Contributors"
width="100%" />
</a>
</div>
### Features ✨
## **License**
❤️ **Lightweight**: Crafted with minimalistic UI design - simple design is the best design.
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT) — see the [`LICENSE`](LICENSE) file for details.
⚡️ **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
- `HEAD` - Retrieve response headers identical to those of a GET request, but without the response body.
- `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
- `<custom>` - Some APIs use custom request methods such as `LIST`. Type in your custom methods.
🌈 **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 headings
_Customized themes are synced with local session storage_
🔥 **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)
- Offline support
- Low RAM/memory and CPU usage
- Add to Home Screen
- Desktop PWA
- ([full features](https://developers.google.com/web/progressive-web-apps))
🚀 **Request**: Retrieve response from endpoint instantly.
- Choose `method`
- Enter `URL` and `Path`
- Send
**Features:**
- Copy/share public "Share URL"
- Generate request code for `JavaScript XHR`, `Fetch` and `cURL`
- Copy generated request code to clipboard
- Import `cURL`
- Label requests
🔌 **WebSocket**: Establish full-duplex communication channels over a single TCP connection.
- Send and receive data
- Basic and Bearer Token authentication
📡 **Server Sent Events**: Receive a stream of updates from a server over a HTTP connection without resorting to polling.
🌩 **Socket.IO**: Send and Receive data with socketio server. SocketIO is popular websocket solution.
🦟 **MQTT**: Subscribe and Publish to topics of a MQTT Broker.
🔮 **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.
**Types:**
- None
- Basic
- Bearer Token
- OAuth 2.0
- OIDC Access Token/PKCE (Proof Key for Code Exchange)
📢 **Headers**: Describes the format the body of your request is being sent as.
- Add or remove Header list
📫 **Parameters**: Use request parameters to set varying parts in simulated requests.
📃 **Request Body**: Used to send and receive data via the REST API.
**Options:**
- 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 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
- Method
- Status code
- URL
- Path
- Timestamp
- Duration
- Pre-request script
_History entries can be sorted by any fields_
_Histories can be deleted one-by-one or all together_
📁 **Collections**: Keep your API requests organized with collections and folders. Reuse them with a single click.
**Options:**
- Create infinite collections, folders and requests
- Edit, delete, move, export, import and replace
_Collections are synced with local session storage_
🌐 **Proxy**: Enable Proxy Mode from Settings to access blocked APIs.
**Features:**
- Hide your IP address
- Fixes [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross Origin Resource Sharing) issues
- 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)**_
📜 **Pre-Request Scripts β**: Snippets of code associated with a request that are executed before the request is sent.
**Use-cases:**
- 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_
📄 **API Documentation**: Create and share dynamic API documentation easily, quickly.
**Usage:**
1. Add your requests to Collections and Folders
2. Export Collections and easily share your APIs with the rest of your team
3. Import Collections and Generate Documentation on-the-go
⌨️ **Keyboard Shortcuts**: Optimized for efficiency.
**Shortcuts:**
- Send Request <kbd>Ctrl</kbd> + <kbd>G</kbd>
- Save to Collections <kbd>Ctrl</kbd> + <kbd>S</kbd>
- Copy Request Link <kbd>Ctrl</kbd> + <kbd>K</kbd>
- Reset Request <kbd>Ctrl</kbd> + <kbd>L</kbd>
🌎 **i18n β**: Experience the app in your own language.
1. Scroll down to the footer
2. Click "Choose Language" icon button
3. Select your language from the menu
_Keep in mind: Translations aren't available for all source and target language combinations_
**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/liyasthomas/postwoman/tree/i18n) only!**_
📦 **Add-ons**: Official add-ons for Postwoman.
- **[Proxy β](https://github.com/postwoman-io/postwoman-proxy)** - A simple proxy server created for Postwoman
- **[CLI β](https://github.com/postwoman-io/postwoman-cli)** - A CLI solution for Postwoman
- **Browser Extensions** - Browser extensions that simplifies access to Postwoman
[![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_16x16.png) **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/postwoman) &nbsp;|&nbsp; [![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_16x16.png) **Chrome**](https://chrome.google.com/webstore/detail/postwoman-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld) ([GitHub](https://github.com/AndrewBastin/postwoman-extension))
>**Extensions fixes `CORS` issues.**
_Add-ons are developed and maintained under **[Official Postwoman Organization](https://github.com/postwoman-io)**._
☁️ **Auth + Sync**: Sign in and sync in real-time.
**Sign in with:**
- Google
- GitHub
**Sync:**
- History
- Collections
- Environments
- Notes
**Post-Request Tests β**: Write tests associated with a request that are executed after the request response.
**Use-cases:**
- Check the status code as an integer
- Filter response headers
- Parse the response data
📝 **Notes** : Instantly jot down notes, tasks or whatever you feel like as they come to your mind.
_Notes are only available for signed-in users_
🌱 **Environments** : Environment variables allow you to store and reuse values in your requests and scripts.
**Use-cases:**
- By storing a value in a variable, you can reference it throughout your request section
- 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/liyasthomas/postwoman/wiki).**
## Demo 🚀 [![Website](https://img.shields.io/website?url=https%3A%2F%2Fpostwoman.io&logo=Postwoman)](https://postwoman.io)
[postwoman.io](https://postwoman.io)
<a href="https://www.netlify.com">
<img src="https://www.netlify.com/img/global/badges/netlify-light.svg"/>
</a>
## Usage 💡
1. Specify your request `method`
2. Type in your API `URL` and `path`
3. Send request
4. Get response
You're done!
## Built with 🔧
* [Chromium](https://github.com/chromium/chromium) - Thanks for being so fast!
* HTML - For the web framework
* CSS - For styling components
* JavaScript - For magic!
* [Vue](https://vuejs.org/) - To add to the JavaScript magic!
* [Nuxt](https://nuxtjs.org/) - To add to the Vue magic!
## Developing 👷
#### Use a browser based development environment:
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/liyasthomas/postwoman)
#### Or, with 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`).
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.
#### Or, with docker-compose:
1. [Clone this repo](https://help.github.com/en/articles/cloning-a-repository) with git.
2. Run `docker-compose up`
3. Open development site by going to [http://localhost:3000](http://localhost:3000) in your browser.
## Docker 🐳 [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/liyasthomas/postwoman?logo=Docker)](https://hub.docker.com/r/liyasthomas/postwoman)
```bash
#pull
docker pull liyasthomas/postwoman
#run
docker run -p 3000:3000 liyasthomas/postwoman:latest
#build
docker build -t postwoman: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`).
3. Build the release files with `npm run build`.
4. Find the built project in `./dist`.
## Contributing 🍰
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 💚 [![Travis Build Status](https://img.shields.io/travis/com/liyasthomas/postwoman?logo=Travis)](https://travis-ci.com/liyasthomas/postwoman)
We use [Travis CI](https://travis-ci.com) for continuous integration. Check out our [Travis CI Status](https://travis-ci.com/liyasthomas/postwoman).
## Versioning 🔖 [![GitHub release](https://img.shields.io/github/release/liyasthomas/postwoman/all?logo=GitHub)](https://github.com/liyasthomas/postwoman/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).
## Change log 📝
See the [CHANGELOG](CHANGELOG.md) file for details.
## Authors 🔮
### Lead Developers
* **[Liyas Thomas](https://github.com/liyasthomas)** - *Author*
* **[John Harker](https://github.com/NBTX)** - *Lead developer*
* **[Andrew Bastin](https://github.com/andrewbastin)** - *Lead developer*
* **[James George](https://github.com/jamesgeorge007)** - *Lead maintainer*
* **[Caneco](https://twitter.com/caneco)** - *Logo and banner designer*
### Testing and Debugging
* ([contributors](https://github.com/liyasthomas/postwoman/graphs/contributors))
### Collaborators <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- 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>
</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>
</tr>
</table>
<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
See the list of [contributors](https://github.com/liyasthomas/postwoman/graphs/contributors) who participated in this project.
### Thanks
* [dev.to 👩‍💻👨‍💻](https://dev.to)
### Financial Contributors
Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/postwoman/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)]
<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>
#### Individuals
<a href="https://opencollective.com/postwoman"><img src="https://opencollective.com/postwoman/individuals.svg"></a>
### Code Contributors
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="https://github.com/liyasthomas/postwoman/graphs/contributors"><img src="https://opencollective.com/postwoman/contributors.svg?width=890&button=false" /></a>
## License 📄
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE](LICENSE) file for details.
## Acknowledgements 🙏
* Hat tip to anyone whose code was used
* Inspirations:
* [Dribbble](https://dribbble.com)
## Badges
<table>
<tr>
<th>Preview</th>
<th>Markdown code</th>
</tr>
<tbody>
<tr>
<td align="center" width="200px"><a href="https://postwoman.io"><br/><img src="https://img.shields.io/badge/Tested_on-Postwoman-202124?logo=Postwoman"/></a><br/><sub>Default<sub></td>
<td><code>[![Postwoman](https://img.shields.io/badge/Tested_on-Postwoman-202124?logo=Postwoman)](https://postwoman.io)</code></td>
</tr>
<tr>
<td align="center" width="200px"><a href="https://postwoman.io"><br/><img src="https://img.shields.io/badge/Tested_on-Postwoman-success?logo=Postwoman"/></a><br/><sub>Success<sub></td>
<td><code>[![Postwoman](https://img.shields.io/badge/Tested_on-Postwoman-success?logo=Postwoman)](https://postwoman.io)</code></td>
</tr>
<tr>
<td align="center" width="200px"><a href="https://postwoman.io"><br/><img src="https://img.shields.io/badge/Tested_on-Postwoman-critical?logo=Postwoman"/></a><br/><sub>Critical<sub></td>
<td><code>[![Postwoman](https://img.shields.io/badge/Tested_on-Postwoman-critical?logo=Postwoman)](https://postwoman.io)</code></td>
</tr>
<tr>
<td align="center" width="200px"><a href="https://postwoman.io"><br/><img src="https://img.shields.io/badge/Tested_on-Postwoman-blueviolet?logo=Postwoman"/></a><br/><sub>Custom<sub></td>
<td><code>[![Postwoman](https://img.shields.io/badge/Tested_on-Postwoman-blueviolet?logo=Postwoman)](https://postwoman.io)</code></td>
</tr>
<tr>
<td align="center" width="200px"><a href="https://postwoman.io"><br/><img src="https://img.shields.io/badge/your_text-Postwoman-hex_color_code?logo=Postwoman"/></a><br/><sub>Customize<sub></td>
<td><code>[![Postwoman](https://img.shields.io/badge/your_text-Postwoman-hex_color_code?logo=Postwoman)](https://postwoman.io)</code></td>
</tr>
</tbody>
</table>
<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>
<br>
<h3>Happy Coding ❤︎</h3>
</div>
[^EE]: Enterprise edition feature. [Learn more](https://docs.hoppscotch.io/documentation/self-host/getting-started).

27
SECURITY.md Normal file
View File

@@ -0,0 +1,27 @@
# Security Policy
This document outlines security procedures and general policies for the Hoppscotch project.
- [Security Policy](#security-policy)
- [Reporting a security vulnerability](#reporting-a-security-vulnerability)
- [Incident response process](#incident-response-process)
## Reporting a security vulnerability
Report security vulnerabilities by emailing the Hoppscotch Support team at support@hoppscotch.io.
The primary security point of contact from Hoppscotch Support team will acknowledge your email within 48 hours, and will send a more detailed response within 48 hours indicating the next steps in handling your report. After the initial reply to your report, the security team will endeavor to keep you informed of the progress towards a fix and full announcement, and may ask for additional information or guidance.
**Do not create a GitHub issue ticket to report a security vulnerability.**
The Hoppscotch team and community take all security vulnerability reports in Hoppscotch seriously. Thank you for improving the security of Hoppscotch. We appreciate your efforts and responsible disclosure and will make every effort to acknowledge your contributions.
Report security bugs in third-party modules to the person or team maintaining the module.
## Incident response process
In case an incident is discovered or reported, we will follow the following process to contain, respond, and remediate:
1. Confirm the problem and determine the affected versions.
2. Audit code to find any potential similar problems.
3. Prepare fixes for all releases still under maintenance. These fixes will be deployed as fast as possible to production.

33
TRANSLATIONS.md Normal file
View File

@@ -0,0 +1,33 @@
# Translations
Thanks for showing your interest in helping us to translate the software.
## Creating a new translation
Before you start working on a new language, please look through the [open pull requests](https://github.com/hoppscotch/hoppscotch/pulls) to see if anyone is already working on a translation. If you find one, please join the discussion and help us keep the existing translations up to date.
if there is no existing translation, you can create a new one by following these steps:
1. **[Fork the repository](https://github.com/hoppscotch/hoppscotch/fork).**
2. **Checkout the `main` branch for latest translations.**
3. **Create a new branch for your translation with base branch `main`.**
4. **Create target language file in the [`/packages/hoppscotch-common/locales`](https://github.com/hoppscotch/hoppscotch/tree/main/packages/hoppscotch-common/locales) directory.**
5. **Copy the contents of the source file [`/packages/hoppscotch-common/locales/en.json`](https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-common/locales/en.json) to the target language file.**
6. **Translate the strings in the target language file.**
7. **Add your language entry to [`/packages/hoppscotch-common/languages.json`](https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-common/languages.json).**
8. **Save and commit changes.**
9. **Send a pull request.**
_You may send a pull request before all steps above are complete: e.g., you may want to ask for help with translations, or getting tests to pass. However, your pull request will not be merged until all steps above are complete._
Completing an initial translation of the whole site is a fairly large task. One way to break that task up is to work with other translators through pull requests on your fork. You can also [add collaborators to your fork](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository) if you'd like to invite other translators to commit directly to your fork and share responsibility for merging pull requests.
## Updating a translation
### Corrections
If you notice spelling or grammar errors, typos, or opportunities for better phrasing, open a pull request with your suggested fix. If you see a problem that you aren't sure of or don't have time to fix, [open an issue](https://github.com/hoppscotch/hoppscotch/issues/new/choose).
### Broken links
When tests find broken links, try to fix them across all translations. Ideally, only update the linked URLs, so that translation changes will definitely not be necessary.

View File

@@ -0,0 +1,19 @@
:3000 {
try_files {path} /
root * /site/selfhost-web
file_server
}
:3100 {
try_files {path} /
root * /site/sh-admin-multiport-setup
file_server
}
:3170 {
reverse_proxy localhost:8080
}
:80 {
respond 404
}

View File

@@ -0,0 +1,37 @@
:3000 {
respond 404
}
:3100 {
respond 404
}
:3170 {
reverse_proxy localhost:8080
}
:80 {
# Serve the `selfhost-web` SPA by default
root * /site/selfhost-web
file_server
handle_path /admin* {
root * /site/sh-admin-subpath-access
file_server
# Ensures any non-existent file in the server is routed to the SPA
try_files {path} /
}
# Handle requests under `/backend*` path
handle_path /backend* {
reverse_proxy localhost:8080
}
# Catch-all route for unknown paths, serves `selfhost-web` SPA
handle {
root * /site/selfhost-web
file_server
try_files {path} /
}
}

73
aio_run.mjs Normal file
View File

@@ -0,0 +1,73 @@
#!/usr/local/bin/node
// @ts-check
import { execSync, spawn } from "child_process"
import fs from "fs"
import process from "process"
function runChildProcessWithPrefix(command, args, prefix) {
const childProcess = spawn(command, args);
childProcess.stdout.on('data', (data) => {
const output = data.toString().trim().split('\n');
output.forEach((line) => {
console.log(`${prefix} | ${line}`);
});
});
childProcess.stderr.on('data', (data) => {
const error = data.toString().trim().split('\n');
error.forEach((line) => {
console.error(`${prefix} | ${line}`);
});
});
childProcess.on('close', (code) => {
console.log(`${prefix} Child process exited with code ${code}`);
});
childProcess.on('error', (stuff) => {
console.log("error")
console.log(stuff)
})
return childProcess
}
const envFileContent = Object.entries(process.env)
.filter(([env]) => env.startsWith("VITE_"))
.map(([env, val]) => `${env}=${
(val.startsWith("\"") && val.endsWith("\""))
? val
: `"${val}"`
}`)
.join("\n")
fs.writeFileSync("build.env", envFileContent)
execSync(`npx import-meta-env -x build.env -e build.env -p "/site/**/*"`)
fs.rmSync("build.env")
const caddyFileName = process.env.ENABLE_SUBPATH_BASED_ACCESS === 'true' ? 'aio-subpath-access.Caddyfile' : 'aio-multiport-setup.Caddyfile'
const caddyProcess = runChildProcessWithPrefix("caddy", ["run", "--config", `/etc/caddy/${caddyFileName}`, "--adapter", "caddyfile"], "App/Admin Dashboard Caddy")
const backendProcess = runChildProcessWithPrefix("pnpm", ["run", "start:prod"], "Backend Server")
caddyProcess.on("exit", (code) => {
console.log(`Exiting process because Caddy Server exited with code ${code}`)
process.exit(code)
})
backendProcess.on("exit", (code) => {
console.log(`Exiting process because Backend Server exited with code ${code}`)
process.exit(code)
})
process.on('SIGINT', () => {
console.log("SIGINT received, exiting...")
caddyProcess.kill("SIGINT")
backendProcess.kill("SIGINT")
process.exit(0)
})

View File

@@ -1,7 +0,0 @@
# ASSETS
**This directory is not required, you can delete it if you don't want to use it.**
This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked).

View File

@@ -1,72 +0,0 @@
// @import url("https://fonts.googleapis.com/css?family=Poppins:500,700|Roboto+Mono:400&display=swap");
// @import url("https://fonts.googleapis.com/icon?family=Material+Icons&display=swap");
/* Material Design Icons */
@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
// Do not use font-display: swap for the icon font - it looks really bad when the page
// loads.
font-display: block;
src: url("~static/fonts/material-icons-v48.woff2") format("woff2");
}
.material-icons {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
height: 24px;
width: 24px;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
font-feature-settings: "liga";
border-radius: 50%;
}
/* poppins-500 - latin */
@font-face {
font-family: "Poppins";
font-style: normal;
font-weight: 500;
font-display: swap;
src: local("Poppins Medium"), local("Poppins-Medium"),
url("~static/fonts/poppins-v9-latin-500.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("~static/fonts/poppins-v9-latin-500.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* poppins-700 - latin */
@font-face {
font-family: "Poppins";
font-style: normal;
font-weight: 700;
font-display: swap;
src: local("Poppins Bold"), local("Poppins-Bold"),
url("~static/fonts/poppins-v9-latin-700.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("~static/fonts/poppins-v9-latin-700.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-mono-regular - latin */
@font-face {
font-family: "Roboto Mono";
font-style: normal;
font-weight: 400;
font-display: swap;
src: local("Roboto Mono"), local("RobotoMono-Regular"),
url("~static/fonts/roboto-mono-v7-latin-regular.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("~static/fonts/roboto-mono-v7-latin-regular.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

View File

@@ -1,923 +0,0 @@
$responsiveWidth: 768px;
::selection {
background-color: var(--ac-color);
color: var(--act-color);
}
::-webkit-scrollbar {
width: 4px;
height: 4px;
border-radius: 4px;
background-color: var(--bg-dark-color);
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: var(--fg-light-color);
&:hover {
background-color: var(--fg-color);
}
}
::placeholder {
color: var(--fg-light-color);
opacity: 0.3;
}
* {
box-sizing: border-box;
outline: 0;
border: 0;
}
html,
body {
background-color: var(--bg-color);
color: var(--fg-color);
font-weight: 500;
font-size: 14px;
font-family: "Poppins", "Roboto", "Noto", sans-serif;
line-height: 1.5;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
user-select: none;
padding: 0;
margin: 0;
scroll-behavior: smooth;
transition: all 0.2s ease-in-out;
}
body.afterLoad {
transition: background-color 0.2s ease-in-out;
}
body.sticky-footer footer {
opacity: 0.25;
}
a {
display: inline-flex;
color: inherit;
text-decoration: none;
transition: all 0.2s ease-in-out;
&.link {
color: var(--ac-color);
}
}
header,
footer {
& > div {
display: flex;
padding: 16px 8px;
width: 100%;
align-items: center;
justify-content: space-between;
}
}
.page-enter-active,
.page-leave-active,
.layout-enter-active,
.layout-leave-active {
transition: opacity 0.2s;
}
.page-enter,
.page-leave-active,
.layout-enter,
.layout-leave-active {
opacity: 0;
}
.wrapper {
min-height: 100vh;
display: flex;
flex-flow: column nowrap;
}
.wrapper .page {
min-height: calc(100vh - 153px);
}
.header,
.content,
.columns,
.footer {
display: flex;
flex: 1;
}
.nav-first,
.sticky-inner {
display: flex;
order: 1;
flex-flow: column;
position: sticky;
top: 0;
align-self: flex-start;
}
.nav-first {
z-index: 1;
height: 100vh;
padding: 0 8px;
background-color: var(--bg-dark-color);
transition: all 0.2s ease-in-out;
}
.main {
display: flex;
flex-flow: column;
flex: 1;
order: 2;
position: relative;
padding: 0 16px;
}
.nav-second {
display: flex;
width: 10%;
order: 3;
// comment below this to display
display: none;
}
nav.primary-nav {
display: flex;
flex-flow: column nowrap;
svg {
fill: var(--fg-light-color);
transition: all 0.2s ease-in-out;
}
a {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
padding: 14px;
border-radius: 50%;
background-color: var(--bg-light-color);
color: var(--fg-light-color);
fill: var(--fg-light-color);
margin: 8px 0;
height: 52px;
&:hover {
color: var(--fg-color);
fill: var(--fg-color);
svg {
fill: var(--fg-color);
}
}
&.nuxt-link-exact-active {
background-color: var(--ac-color);
color: var(--act-color);
fill: var(--act-color);
border-radius: 16px;
svg {
fill: var(--act-color);
}
}
}
}
nav.secondary-nav {
display: flex;
border-top: 1px dashed var(--brd-color);
ul {
display: flex;
flex-flow: column nowrap;
li {
display: flex;
a {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
padding: 14px;
border-radius: 50%;
background-color: var(--bg-dark-color);
color: var(--fg-light-color);
margin: 8px 0;
&:hover {
color: var(--fg-color);
}
&.current {
color: var(--ac-color);
fill: var(--ac-color);
}
}
}
}
}
h1,
h2,
h3,
h4 {
display: flex;
align-items: center;
margin: 0;
font-weight: 700;
}
hr {
border-bottom: 1px dashed var(--brd-color);
margin: 16px 0;
}
p {
transition: all 0.2s ease-in-out;
}
.tooltip {
$bgcolor: var(--tt-color);
$fgcolor: var(--fg-color);
display: block !important;
z-index: 10000;
transition: all 0.2s ease-in-out;
.tooltip-inner {
background: $bgcolor;
color: $fgcolor;
border-radius: 8px;
padding: 8px 16px;
font-size: 12px;
font-weight: 500;
box-shadow: 0 4px 24px rgba(black, 0.1);
}
.tooltip-arrow {
width: 0;
height: 0;
border-style: solid;
position: absolute;
margin: 5px;
border-color: $bgcolor;
z-index: 1;
}
&[x-placement^="top"] {
margin-bottom: 5px;
.tooltip-arrow {
border-width: 5px 5px 0 5px;
border-left-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
bottom: -5px;
left: calc(50% - 5px);
margin-top: 0;
margin-bottom: 0;
}
}
&[x-placement^="bottom"] {
margin-top: 5px;
.tooltip-arrow {
border-width: 0 5px 5px 5px;
border-left-color: transparent !important;
border-right-color: transparent !important;
border-top-color: transparent !important;
top: -5px;
left: calc(50% - 5px);
margin-top: 0;
margin-bottom: 0;
}
}
&[x-placement^="right"] {
margin-left: 5px;
.tooltip-arrow {
border-width: 5px 5px 5px 0;
border-left-color: transparent !important;
border-top-color: transparent !important;
border-bottom-color: transparent !important;
left: -5px;
top: calc(50% - 5px);
margin-left: 0;
margin-right: 0;
}
}
&[x-placement^="left"] {
margin-right: 5px;
.tooltip-arrow {
border-width: 5px 0 5px 5px;
border-top-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
right: -5px;
top: calc(50% - 5px);
margin-left: 0;
margin-right: 0;
}
}
&.popover {
.wrapper {
min-height: auto;
}
.popover-inner {
background: $bgcolor;
color: $fgcolor;
padding: 4px;
border-radius: 8px;
box-shadow: 0 5px 30px rgba(black, 0.1);
max-height: 256px;
overflow: auto;
}
.popover-arrow {
border-color: $bgcolor;
}
}
&[aria-hidden="true"] {
visibility: hidden;
opacity: 0;
transition: opacity 0.15s, visibility 0.15s;
}
&[aria-hidden="false"] {
visibility: visible;
opacity: 1;
transition: opacity 0.15s;
}
}
h3.title {
margin: 4px;
}
.info {
margin-left: 4px;
color: var(--fg-light-color);
}
.bg-color {
background-color: transparent;
}
button {
display: inline-flex;
align-items: center;
justify-content: center;
margin: 4px;
padding: 6px 16px;
border-radius: 20px;
background-color: var(--ac-color);
color: var(--act-color);
font-size: 16px;
font-family: "Poppins", "Roboto", "Noto", sans-serif;
font-weight: 700;
transition: all 0.2s ease-in-out;
fill: var(--act-color);
cursor: pointer;
span {
display: inline-flex;
margin-left: 8px;
}
&:not([disabled]):hover,
&:not([disabled]):active,
&:not([disabled]):focus {
color: var(--act-color);
fill: var(--act-color);
box-shadow: inset 0 0 0 2px var(--fg-color);
}
&.icon {
background-color: transparent;
color: var(--fg-light-color);
fill: var(--fg-light-color);
border-radius: 8px;
&:not([disabled]):hover,
&:not([disabled]):active,
&:not([disabled]):focus {
color: var(--fg-color);
fill: var(--fg-color);
box-shadow: none;
}
}
&.primary {
color: var(--ac-color);
&:not([disabled]):hover,
&:not([disabled]):active,
&:not([disabled]):focus {
background-color: var(--ac-color);
color: var(--act-color);
}
}
}
@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-radius: 16px;
background-color: var(--bg-dark-color);
transition: all 0.2s ease-in-out;
legend {
display: inline-block;
align-items: center;
justify-content: center;
color: var(--fg-color);
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease-in-out;
* {
vertical-align: middle;
}
i {
margin-left: 8px;
}
}
&.blue legend {
color: #57b5f9;
}
&.gray legend {
color: #bcc2cd;
}
&.green legend {
color: #50fa7b;
}
&.cyan legend {
color: #8be9fd;
}
&.purple legend {
color: #bd93f9;
}
&.orange legend {
color: #ffb86c;
}
&.pink legend {
color: #ff79c6;
}
&.red legend {
color: #ff5555;
}
&.yellow legend {
color: #f1fa8c;
}
}
fieldset:target,
section:target {
animation: highlight 2s ease;
}
@keyframes highlight {
50% {
box-shadow: 0 0 0 2px var(--ac-color);
}
}
input[type="file"],
input[type="radio"],
.hide-on-large-screen,
#installPWA,
.hidden {
display: none;
}
.method,
kbd,
select,
input,
textarea,
pre,
code {
display: inline-flex;
margin: 4px;
padding: 8px;
border-radius: 8px;
background-color: var(--bg-dark-color);
color: var(--fg-color);
font-size: 16px;
font-family: "Roboto Mono", monospace;
font-weight: 400;
line-height: 1;
transition: all 0.2s ease-in-out;
user-select: text;
width: calc(100% - 8px);
resize: vertical;
text-overflow: ellipsis;
&:not([readonly]):not(.ace_editor):hover,
&:not([readonly]):not(.ace_editor):active,
&:not([readonly]):not(.ace_editor):focus {
box-shadow: inset 0 0 0 2px var(--fg-light-color);
}
}
.method {
cursor: pointer;
&:hover,
&:active,
&:focus {
box-shadow: inset 0 0 0 2px var(--fg-light-color);
}
}
pre {
display: grid;
}
pre.ace_editor {
font-family: "Roboto Mono", monospace;
font-weight: 400;
z-index: 0;
}
kbd,
code,
pre {
width: auto;
}
.select-wrapper {
position: relative;
input {
text-transform: uppercase;
}
.trigger {
width: 100%;
}
&:after {
display: inline-block;
position: absolute;
pointer-events: none;
content: "\e313";
font-family: "Material Icons";
top: 14px;
right: 14px;
}
}
select {
height: 37px;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
&::-ms-expand {
display: none;
}
}
option {
background-color: var(--bg-color);
}
input[type="checkbox"] {
display: none;
&,
& + label {
vertical-align: middle;
cursor: pointer;
&:before {
content: "\2714";
border: 1px solid var(--fg-color);
border-radius: 8px;
display: inline-flex;
height: 16px;
width: 16px;
align-items: center;
justify-content: center;
margin: 8px 8px 8px 0;
color: transparent;
transition: all 0.2s ease-in-out;
}
}
&:checked + label:before {
background-color: var(--ac-color);
border-color: var(--ac-color);
color: var(--act-color);
}
}
.error:not(input),
.disabled:not(input),
[disabled] {
background-color: var(--err-color);
color: var(--fg-light-color);
fill: var(--fg-light-color);
cursor: not-allowed;
&.icon {
color: var(--err-color);
fill: var(--err-color);
}
}
label {
padding: 4px;
color: var(--fg-light-color);
transition: all 0.2s ease-in-out;
}
ul,
ol {
display: flex;
margin: 4px 0 4px;
padding: 0;
list-style-type: none;
ul,
ol {
margin: 0;
}
}
ul li,
ol li {
display: inline-flex;
flex-flow: column nowrap;
flex-grow: 1;
justify-content: center;
}
.flex-wrap {
display: flex;
align-items: center;
justify-content: space-between;
flex-grow: 1;
flex-direction: row;
* {
display: inline-flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
}
}
.show-on-small-screen {
display: flex;
}
.show-on-large-screen {
display: inline-flex;
flex: 1;
}
.info-response {
color: #ffeb3b;
}
.success-response {
color: #4bb543;
}
.redir-response {
color: #ff5722;
}
.cl-error-response {
color: #a63232;
}
.sv-error-response {
color: #b71c1c;
}
.missing-data-response {
background-color: var(--err-color);
}
.align-left {
text-align: left;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}
.mono {
font-family: "Roboto Mono", monospace;
font-weight: 400;
}
#response-details-wrapper {
position: relative;
overflow: hidden;
border-radius: 8px;
textarea {
margin: 0;
width: 100%;
line-height: 1;
}
.covers-response {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: white;
height: 100%;
width: 100%;
}
}
#send {
&.show {
display: flex;
position: fixed;
bottom: 86px;
left: 50%;
z-index: 10001;
transform: translateX(-50%);
box-shadow: 0 4px 24px rgba(black, 0.2);
transition: all .2s ease-in-out;
}
}
section {
display: flex;
flex-wrap: wrap;
border-radius: 16px;
}
.toasted-container .toasted {
justify-content: flex-start !important;
}
.toasted.info {
background-color: var(--ac-color) !important;
color: var(--act-color) !important;
font-weight: 700 !important;
}
.toasted.bubble .action {
color: inherit !important;
}
.toasted .action {
margin-left: auto !important;
}
.page-columns {
display: flex;
flex: 1;
flex-flow: column;
}
.inner-left {
display: flex;
order: 1;
}
.inner-right {
display: flex;
width: 30%;
order: 2;
margin-left: 16px;
}
@media (max-width: $responsiveWidth) {
.content,
.columns {
flex-flow: column;
}
.nav-first {
position: fixed;
top: auto;
bottom: 0;
height: auto;
padding: 0;
width: 100%;
background-color: var(--bg-color);
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.45);
}
nav.primary-nav {
flex-flow: row nowrap;
overflow: auto;
justify-content: space-between;
background-color: var(--bg-dark-color);
a {
background-color: transparent;
margin: 8px;
flex: 1;
&.nuxt-link-exact-active {
background-color: transparent;
color: var(--ac-color);
fill: var(--ac-color);
svg {
fill: var(--ac-color);
}
}
}
}
nav.secondary-nav {
display: none;
}
.main {
padding: 0 8px 68px;
}
ul,
ol {
flex-flow: column nowrap;
}
ul li,
ol li {
display: flex;
}
.hide-on-small-screen {
display: none;
}
.hide-on-large-screen,
.show-on-small-screen {
display: inline-flex;
}
.sticky-inner {
position: relative;
width: 100%;
}
.inner-left {
order: 0;
}
.inner-right {
margin-left: 0;
}
.toasted-container {
margin-bottom: 68px;
}
}

View File

@@ -1,107 +0,0 @@
/**
Main Themes:
- dark (default)
- light
- black
- auto
*/
// Dark is the default theme variant.
@mixin darkTheme {
// Background color
--bg-color: rgba(32, 33, 36, 1);
// Light Background color
--bg-light-color: rgba(255, 255, 255, 0.02);
// Dark Background color
--bg-dark-color: rgba(0, 0, 0, 0.1);
// Text color
--fg-color: rgba(255, 255, 255, 0.9);
// Light Text color
--fg-light-color: rgba(255, 255, 255, 0.5);
// Border color
--brd-color: rgba(255, 255, 255, 0.05);
// Error color
--err-color: rgba(255, 255, 255, 0.05);
// Acent color
--ac-color: rgba(80, 250, 123, 1);
// Active text color
--act-color: rgba(32, 33, 36, 1);
// Auto-complete color
--atc-color: rgba(32, 33, 36, 1);
// Tooltip color
--tt-color: rgba(53, 53, 53, 1);
}
@mixin lightTheme {
// Background color
--bg-color: rgba(255, 255, 255, 1);
// Light Background color
--bg-light-color: rgba(0, 0, 0, 0.02);
// Dark Background color
--bg-dark-color: rgba(0, 0, 0, 0.02);
// Text color
--fg-color: rgba(0, 0, 0, 0.9);
// Light Text color
--fg-light-color: rgba(0, 0, 0, 0.6);
// Border color
--brd-color: rgba(0, 0, 0, 0.1);
// Error color
--err-color: rgba(0, 0, 0, 0.1);
// Acent color
--ac-color: rgba(80, 250, 123, 1);
// Active text color
--act-color: rgba(255, 255, 255, 1);
// Auto-complete color
--atc-color: rgba(255, 255, 255, 1);
// Tooltip color
--tt-color: rgba(220, 220, 220, 1);
}
@mixin blackTheme {
// Background color
--bg-color: rgba(0, 0, 0, 1);
// Light Background color
--bg-light-color: rgba(255, 255, 255, 0.02);
// Dark Background color
--bg-dark-color: rgba(255, 255, 255, 0.02);
// Text color
--fg-color: rgba(255, 255, 255, 0.9);
// Light Text color
--fg-light-color: rgba(255, 255, 255, 0.5);
// Border color
--brd-color: rgba(255, 255, 255, 0.05);
// Error color
--err-color: rgba(255, 255, 255, 0.05);
// Acent color
--ac-color: rgba(80, 250, 123, 1);
// Active text color
--act-color: rgba(0, 0, 0, 1);
// Auto-complete color
--atc-color: rgba(0, 0, 0, 1);
// Tooltip color
--tt-color: rgba(18, 18, 18, 1);
}
:root {
@include darkTheme;
}
:root.light {
@include lightTheme;
}
:root.black {
@include blackTheme;
}
@media (prefers-color-scheme: dark) {
:root.auto {
@include darkTheme;
}
}
@media (prefers-color-scheme: light) {
:root.auto {
@include lightTheme;
}
}

View File

@@ -1,222 +0,0 @@
import * as cookie from "cookie"
import * as URL from "url"
import * as querystring from "querystring"
/**
* given this: [ 'msg1=value1', 'msg2=value2' ]
* output this: 'msg1=value1&msg2=value2'
* @param dataArguments
*/
const joinDataArguments = dataArguments => {
let data = ""
dataArguments.forEach((argument, i) => {
if (i === 0) {
data += argument
} else {
data += `&${argument}`
}
})
return data
}
const parseCurlCommand = curlCommand => {
let newlineFound = /\r|\n/.exec(curlCommand)
if (newlineFound) {
// remove newlines
curlCommand = curlCommand.replace(/\r|\n/g, "")
}
// yargs parses -XPOST as separate arguments. just prescreen for it.
curlCommand = curlCommand.replace(/ -XPOST/, " -X POST")
curlCommand = curlCommand.replace(/ -XGET/, " -X GET")
curlCommand = curlCommand.replace(/ -XPUT/, " -X PUT")
curlCommand = curlCommand.replace(/ -XPATCH/, " -X PATCH")
curlCommand = curlCommand.replace(/ -XDELETE/, " -X DELETE")
curlCommand = curlCommand.trim()
let parsedArguments = require("yargs-parser")(curlCommand)
let cookieString
let cookies
let url = parsedArguments._[1]
if (!url) {
for (let argName in parsedArguments) {
if (typeof parsedArguments[argName] === "string") {
if (["http", "www."].includes(parsedArguments[argName])) {
url = parsedArguments[argName]
}
}
}
}
let headers
const parseHeaders = headerFieldName => {
if (parsedArguments[headerFieldName]) {
if (!headers) {
headers = {}
}
if (!Array.isArray(parsedArguments[headerFieldName])) {
parsedArguments[headerFieldName] = [parsedArguments[headerFieldName]]
}
parsedArguments[headerFieldName].forEach(header => {
if (header.includes("Cookie")) {
// stupid javascript tricks: closure
cookieString = header
} else {
let colonIndex = header.indexOf(":")
let headerName = header.substring(0, colonIndex)
let headerValue = header.substring(colonIndex + 1).trim()
headers[headerName] = headerValue
}
})
}
}
parseHeaders("H")
parseHeaders("header")
if (parsedArguments.A) {
if (!headers) {
headers = []
}
headers["User-Agent"] = parsedArguments.A
} else if (parsedArguments["user-agent"]) {
if (!headers) {
headers = []
}
headers["User-Agent"] = parsedArguments["user-agent"]
}
if (parsedArguments.b) {
cookieString = parsedArguments.b
}
if (parsedArguments.cookie) {
cookieString = parsedArguments.cookie
}
let multipartUploads
if (parsedArguments.F) {
multipartUploads = {}
if (!Array.isArray(parsedArguments.F)) {
parsedArguments.F = [parsedArguments.F]
}
parsedArguments.F.forEach(multipartArgument => {
// input looks like key=value. value could be json or a file path prepended with an @
const [key, value] = multipartArgument.split("=", 2)
multipartUploads[key] = value
})
}
if (cookieString) {
const cookieParseOptions = {
decode: s => s,
}
// separate out cookie headers into separate data structure
// note: cookie is case insensitive
cookies = cookie.parse(cookieString.replace(/^Cookie: /gi, ""), cookieParseOptions)
}
let method
if (parsedArguments.X === "POST") {
method = "post"
} else if (parsedArguments.X === "PUT" || parsedArguments["T"]) {
method = "put"
} else if (parsedArguments.X === "PATCH") {
method = "patch"
} else if (parsedArguments.X === "DELETE") {
method = "delete"
} else if (parsedArguments.X === "OPTIONS") {
method = "options"
} else if (
(parsedArguments["d"] ||
parsedArguments["data"] ||
parsedArguments["data-ascii"] ||
parsedArguments["data-binary"] ||
parsedArguments["F"] ||
parsedArguments["form"]) &&
!(parsedArguments["G"] || parsedArguments["get"])
) {
method = "post"
} else if (parsedArguments["I"] || parsedArguments["head"]) {
method = "head"
} else {
method = "get"
}
let compressed = !!parsedArguments.compressed
let urlObject = URL.parse(url) // eslint-disable-line
// if GET request with data, convert data to query string
// NB: the -G flag does not change the http verb. It just moves the data into the url.
if (parsedArguments["G"] || parsedArguments["get"]) {
urlObject.query = urlObject.query ? urlObject.query : ""
let option = "d" in parsedArguments ? "d" : "data" in parsedArguments ? "data" : null
if (option) {
let urlQueryString = ""
if (!url.includes("?")) {
url += "?"
} else {
urlQueryString += "&"
}
if (typeof parsedArguments[option] === "object") {
urlQueryString += parsedArguments[option].join("&")
} else {
urlQueryString += parsedArguments[option]
}
urlObject.query += urlQueryString
url += urlQueryString
delete parsedArguments[option]
}
}
let query = querystring.parse(urlObject.query, null, null, {
maxKeys: 10000,
})
urlObject.search = null // Clean out the search/query portion.
const request = {
url,
urlWithoutQuery: URL.format(urlObject),
}
if (compressed) {
request["compressed"] = true
}
if (Object.keys(query).length > 0) {
request.query = query
}
if (headers) {
request.headers = headers
}
request["method"] = method
if (cookies) {
request.cookies = cookies
request.cookieString = cookieString.replace("Cookie: ", "")
}
if (multipartUploads) {
request.multipartUploads = multipartUploads
}
if (parsedArguments.data) {
request.data = parsedArguments.data
} else if (parsedArguments["data-binary"]) {
request.data = parsedArguments["data-binary"]
request.isDataBinary = true
} else if (parsedArguments["d"]) {
request.data = parsedArguments["d"]
} else if (parsedArguments["data-ascii"]) {
request.data = parsedArguments["data-ascii"]
}
if (parsedArguments["u"]) {
request.auth = parsedArguments["u"]
}
if (parsedArguments["user"]) {
request.auth = parsedArguments["user"]
}
if (Array.isArray(request.data)) {
request.dataArray = request.data
request.data = joinDataArguments(request.data)
}
if (parsedArguments["k"] || parsedArguments["insecure"]) {
request.insecure = true
}
return request
}
export default parseCurlCommand

View File

@@ -1,227 +0,0 @@
const redirectUri = `${window.location.origin}/`
// GENERAL HELPER FUNCTIONS
/**
* Makes a POST request and parse the response as JSON
*
* @param {String} url - The resource
* @param {Object} params - Configuration options
* @returns {Object}
*/
const sendPostRequest = async (url, params) => {
const body = Object.keys(params)
.map(key => `${key}=${params[key]}`)
.join("&")
const options = {
method: "post",
headers: {
"Content-type": "application/x-www-form-urlencoded; charset=UTF-8",
},
body,
}
try {
const response = await fetch(url, options)
const data = await response.json()
return data
} catch (err) {
console.error("Request failed", err)
throw err
}
}
/**
* Parse a query string into an object
*
* @param {String} searchQuery - The search query params
* @returns {Object}
*/
const parseQueryString = searchQuery => {
if (searchQuery === "") {
return {}
}
const segments = searchQuery.split("&").map(s => s.split("="))
const queryString = segments.reduce((obj, el) => ({ ...obj, [el[0]]: el[1] }), {})
return queryString
}
/**
* Get OAuth configuration from OpenID Discovery endpoint
*
* @returns {Object}
*/
const getTokenConfiguration = async endpoint => {
const options = {
method: "GET",
headers: {
"Content-type": "application/json",
},
}
try {
const response = await fetch(endpoint, options)
const config = await response.json()
return config
} catch (err) {
console.error("Request failed", err)
throw err
}
}
// PKCE HELPER FUNCTIONS
/**
* Generates a secure random string using the browser crypto functions
*
* @returns {Object}
*/
const generateRandomString = () => {
const array = new Uint32Array(28)
window.crypto.getRandomValues(array)
return Array.from(array, dec => `0${dec.toString(16)}`.substr(-2)).join("")
}
/**
* Calculate the SHA256 hash of the input text
*
* @returns {Promise<ArrayBuffer>}
*/
const sha256 = plain => {
const encoder = new TextEncoder()
const data = encoder.encode(plain)
return window.crypto.subtle.digest("SHA-256", data)
}
/**
* Encodes the input string into Base64 format
*
* @param {String} str - The string to be converted
* @returns {Promise<ArrayBuffer>}
*/
const base64urlencode = (
str // Converts the ArrayBuffer to string using Uint8 array to convert to what btoa accepts.
) =>
// btoa accepts chars only within ascii 0-255 and base64 encodes them.
// Then convert the base64 encoded to base64url encoded
// (replace + with -, replace / with _, trim trailing =)
btoa(String.fromCharCode.apply(null, new Uint8Array(str)))
.replace(/\+/g, "-")
.replace(/\//g, "_")
.replace(/=+$/, "")
/**
* Return the base64-urlencoded sha256 hash for the PKCE challenge
*
* @param {String} v - The randomly generated string
* @returns {String}
*/
const pkceChallengeFromVerifier = async v => {
const hashed = await sha256(v)
return base64urlencode(hashed)
}
// OAUTH REQUEST
/**
* Initiates PKCE Auth Code flow when requested
*
* @param {Object} - The necessary params
* @returns {Void}
*/
const tokenRequest = async ({
oidcDiscoveryUrl,
grantType,
authUrl,
accessTokenUrl,
clientId,
scope,
}) => {
// Check oauth configuration
if (oidcDiscoveryUrl !== "") {
const { authorization_endpoint, token_endpoint } = await getTokenConfiguration(oidcDiscoveryUrl)
authUrl = authorization_endpoint
accessTokenUrl = token_endpoint
}
// Store oauth information
localStorage.setItem("token_endpoint", accessTokenUrl)
localStorage.setItem("client_id", clientId)
// Create and store a random state value
const state = generateRandomString()
localStorage.setItem("pkce_state", state)
// Create and store a new PKCE code_verifier (the plaintext random secret)
const code_verifier = generateRandomString()
localStorage.setItem("pkce_code_verifier", code_verifier)
// Hash and base64-urlencode the secret to use as the challenge
const code_challenge = await pkceChallengeFromVerifier(code_verifier)
// Build the authorization URL
const buildUrl = () =>
`${authUrl + `?response_type=${grantType}`}&client_id=${encodeURIComponent(
clientId
)}&state=${encodeURIComponent(state)}&scope=${encodeURIComponent(
scope
)}&redirect_uri=${encodeURIComponent(redirectUri)}&code_challenge=${encodeURIComponent(
code_challenge
)}&code_challenge_method=S256`
// Redirect to the authorization server
window.location = buildUrl()
}
// OAUTH REDIRECT HANDLING
/**
* Handle the redirect back from the authorization server and
* get an access token from the token endpoint
*
* @returns {Object}
*/
const oauthRedirect = async () => {
let tokenResponse = ""
let q = parseQueryString(window.location.search.substring(1))
// Check if the server returned an error string
if (q.error) {
alert(`Error returned from authorization server: ${q.error}`)
}
// If the server returned an authorization code, attempt to exchange it for an access token
if (q.code) {
// Verify state matches what we set at the beginning
if (localStorage.getItem("pkce_state") != q.state) {
alert("Invalid state")
} else {
try {
// Exchange the authorization code for an access token
tokenResponse = await sendPostRequest(localStorage.getItem("token_endpoint"), {
grant_type: "authorization_code",
code: q.code,
client_id: localStorage.getItem("client_id"),
redirect_uri: redirectUri,
code_verifier: localStorage.getItem("pkce_code_verifier"),
})
} catch (err) {
console.log(`${error.error}\n\n${error.error_description}`)
}
}
// Clean these up since we don't need them anymore
localStorage.removeItem("pkce_state")
localStorage.removeItem("pkce_code_verifier")
localStorage.removeItem("token_endpoint")
localStorage.removeItem("client_id")
return tokenResponse
}
return tokenResponse
}
export { tokenRequest, oauthRedirect }

View File

@@ -1,51 +0,0 @@
export default () => {
//*** Determine whether or not the PWA has been installed. ***//
// Step 1: Check local storage
let pwaInstalled = localStorage.getItem("pwaInstalled") === "yes"
// Step 2: Check if the display-mode is standalone. (Only permitted for PWAs.)
if (!pwaInstalled && window.matchMedia("(display-mode: standalone)").matches) {
localStorage.setItem("pwaInstalled", "yes")
pwaInstalled = true
}
// Step 3: Check if the navigator is in standalone mode. (Again, only permitted for PWAs.)
if (!pwaInstalled && window.navigator.standalone === true) {
localStorage.setItem("pwaInstalled", "yes")
pwaInstalled = true
}
//*** If the PWA has not been installed, show the install PWA prompt.. ***//
let deferredPrompt = null
window.addEventListener("beforeinstallprompt", event => {
deferredPrompt = event
// Show the install button if the prompt appeared.
if (!pwaInstalled) {
document.querySelector("#installPWA").style.display = "inline-flex"
}
})
// When the app is installed, remove install prompts.
window.addEventListener("appinstalled", event => {
localStorage.setItem("pwaInstalled", "yes")
pwaInstalled = true
document.getElementById("installPWA").style.display = "none"
})
// When the app is uninstalled, add the prompts back
return async () => {
if (deferredPrompt) {
deferredPrompt.prompt()
let outcome = await deferredPrompt.userChoice
if (outcome === "accepted") {
console.log("Postwoman was installed successfully.")
} else {
console.log("Postwoman could not be installed. (Installation rejected by user.)")
}
deferredPrompt = null
}
}
}

View File

@@ -1,59 +0,0 @@
const axios = require("axios")
const fs = require("fs")
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 IS_DEV_MODE = process.argv.includes("--dev")
try {
;(async () => {
// Create the build data directory if it does not exist.
if (!fs.existsSync(PW_BUILD_DATA_DIR)) {
fs.mkdirSync(PW_BUILD_DATA_DIR)
}
let version = {}
// Get the current version name as the tag from Git.
version.name =
process.env.TRAVIS_TAG || runCommand("git", ["tag --sort=committerdate | tail -1"])
// FALLBACK: If version.name was unset, let's grab it from GitHub.
if (!version.name) {
version.name = (
await axios
.get("https://api.github.com/repos/liyasthomas/postwoman/releases")
// If we can't get it from GitHub, we'll resort to getting it from package.json
.catch(ex => ({
data: [
{
tag_name: require("./package.json").version,
},
],
}))
).data[0]["tag_name"]
}
// Get the current version hash as the short hash from Git.
version.hash = runCommand("git", ["rev-parse", "--short", "HEAD"])
// Get the 'variant' name as the branch, if it's not master.
version.variant =
process.env.TRAVIS_BRANCH ||
runCommand("git", ["branch"])
.split("* ")[1]
.split(" ")[0] + (IS_DEV_MODE ? " - DEV MODE" : "")
if (["", "master"].includes(version.variant)) {
delete version.variant
}
// Write version data into a file
fs.writeFileSync(`${PW_BUILD_DATA_DIR}/version.json`, JSON.stringify(version))
})()
} catch (ex) {
console.error(ex)
process.exit(FAIL_ON_ERROR ? 1 : 0)
}

3
commitlint.config.js Normal file
View File

@@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
}

View File

@@ -1,7 +0,0 @@
# COMPONENTS
**This directory is not required, you can delete it if you don't want to use it.**
The components directory contains your Vue.js Components.
_Nuxt.js doesn't supercharge these components._

View File

@@ -1,84 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("new_collection") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<input
type="text"
v-model="name"
:placeholder="$t('my_new_collection')"
@keyup.enter="addNewCollection"
/>
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="addNewCollection">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
import { fb } from "../../functions/fb"
export default {
props: {
show: Boolean,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
name: undefined,
}
},
methods: {
syncCollections() {
if (fb.currentUser !== null) {
if (fb.currentSettings[0].value) {
fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections)))
}
}
},
addNewCollection() {
if (!this.$data.name) {
this.$toast.info(this.$t("invalid_collection_name"))
return
}
this.$store.commit("postwoman/addNewCollection", {
name: this.$data.name,
})
this.$emit("hide-modal")
this.syncCollections()
},
hideModal() {
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -1,73 +0,0 @@
<template>
<modal v-if="show" @close="show = false">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("new_folder") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<input
type="text"
v-model="name"
:placeholder="$t('my_new_folder')"
@keyup.enter="addNewFolder"
/>
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="addNewFolder">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
export default {
props: {
show: Boolean,
collection: Object,
collectionIndex: Number,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
name: undefined,
}
},
methods: {
addNewFolder() {
this.$store.commit("postwoman/addNewFolder", {
folder: { name: this.$data.name },
collectionIndex: this.$props.collectionIndex,
})
this.hideModal()
},
hideModal() {
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -1,120 +0,0 @@
<template>
<div>
<div class="flex-wrap">
<div>
<button class="icon" @click="toggleShowChildren">
<i class="material-icons" v-show="!showChildren">arrow_right</i>
<i class="material-icons" v-show="showChildren">arrow_drop_down</i>
<i class="material-icons">folder</i>
<span>{{ collection.name }}</span>
</button>
</div>
<v-popover>
<button class="tooltip-target icon" v-tooltip="$t('more')">
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
<div>
<button class="icon" @click="$emit('add-folder')" v-close-popover>
<i class="material-icons">create_new_folder</i>
<span>{{ $t("new_folder") }}</span>
</button>
</div>
<div>
<button class="icon" @click="$emit('edit-collection')" v-close-popover>
<i class="material-icons">create</i>
<span>{{ $t("edit") }}</span>
</button>
</div>
<div>
<button class="icon" @click="removeCollection" v-close-popover>
<i class="material-icons">delete</i>
<span>{{ $t("delete") }}</span>
</button>
</div>
</template>
</v-popover>
</div>
<div v-show="showChildren">
<ul>
<li v-for="(folder, index) in collection.folders" :key="folder.name">
<folder
:folder="folder"
:folderIndex="index"
:collection-index="collectionIndex"
@edit-folder="editFolder(collectionIndex, folder, index)"
@edit-request="$emit('edit-request', $event)"
/>
</li>
<li v-if="collection.folders.length === 0 && collection.requests.length === 0">
<label>{{ $t("collection_empty") }}</label>
</li>
</ul>
<ul>
<li v-for="(request, index) in collection.requests" :key="index">
<request
:request="request"
:collection-index="collectionIndex"
:folder-index="-1"
:request-index="index"
@edit-request="
$emit('edit-request', {
request,
collectionIndex,
folderIndex: undefined,
requestIndex: index,
})
"
/>
</li>
</ul>
</div>
</div>
</template>
<style scoped lang="scss">
ul {
display: flex;
flex-direction: column;
}
ul li {
display: flex;
margin-left: 32px;
border-left: 1px solid var(--brd-color);
}
</style>
<script>
export default {
components: {
folder: () => import("./folder"),
request: () => import("./request"),
},
props: {
collectionIndex: Number,
collection: Object,
},
data() {
return {
showChildren: false,
selectedFolder: {},
}
},
methods: {
toggleShowChildren() {
this.showChildren = !this.showChildren
},
removeCollection() {
if (!confirm("Are you sure you want to remove this Collection?")) return
this.$store.commit("postwoman/removeCollection", {
collectionIndex: this.collectionIndex,
})
},
editFolder(collectionIndex, folder, folderIndex) {
this.$emit("edit-folder", { collectionIndex, folder, folderIndex })
},
},
}
</script>

View File

@@ -1,81 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("edit_collection") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<input
type="text"
v-model="name"
:placeholder="editingCollection.name"
@keyup.enter="saveCollection"
/>
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="saveCollection">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
export default {
props: {
show: Boolean,
editingCollection: Object,
editingCollectionIndex: Number,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
name: undefined,
}
},
methods: {
saveCollection() {
if (!this.$data.name) {
this.$toast.info(this.$t("invalid_collection_name"))
return
}
const collectionUpdated = {
...this.$props.editingCollection,
name: this.$data.name,
}
this.$store.commit("postwoman/editCollection", {
collection: collectionUpdated,
collectionIndex: this.$props.editingCollectionIndex,
})
this.$emit("hide-modal")
},
hideModal() {
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -1,71 +0,0 @@
<template>
<modal v-if="show" @close="show = false">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("edit_folder") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<input type="text" v-model="name" :placeholder="folder.name" @keyup.enter="editFolder" />
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="editFolder">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
export default {
props: {
show: Boolean,
collection: Object,
collectionIndex: Number,
folder: Object,
folderIndex: Number,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
name: undefined,
}
},
methods: {
editFolder() {
this.$store.commit("postwoman/editFolder", {
collectionIndex: this.$props.collectionIndex,
folder: { ...this.$props.folder, name: this.$data.name },
folderIndex: this.$props.folderIndex,
})
this.hideModal()
},
hideModal() {
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -1,139 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("edit_request") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<label for="selectLabel">{{ $t("label") }}</label>
<input
type="text"
id="selectLabel"
v-model="requestUpdateData.name"
@keyup.enter="saveRequest"
:placeholder="request.name"
/>
<label for="selectCollection">{{ $t("collection") }}</label>
<span class="select-wrapper">
<select type="text" id="selectCollection" v-model="requestUpdateData.collectionIndex">
<option :key="undefined" :value="undefined" hidden disabled selected>{{
$t("current_collection")
}}</option>
<option
v-for="(collection, index) in $store.state.postwoman.collections"
:key="index"
:value="index"
>
{{ collection.name }}
</option>
</select>
</span>
<label for="selectFolder">{{ $t("folder") }}</label>
<span class="select-wrapper">
<select type="text" id="selectFolder" v-model="requestUpdateData.folderIndex">
<option :key="undefined" :value="undefined">/</option>
<option v-for="(folder, index) in folders" :key="index" :value="index">
{{ folder.name }}
</option>
</select>
</span>
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="saveRequest">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
export default {
props: {
show: Boolean,
collectionIndex: Number,
folderIndex: Number,
request: Object,
requestIndex: Number,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
requestUpdateData: {
name: undefined,
collectionIndex: undefined,
folderIndex: undefined,
},
}
},
watch: {
"requestUpdateData.collectionIndex": function resetFolderIndex() {
// if user choosen some folder, than selected other collection, which doesn't have any folders
// than `requestUpdateData.folderIndex` won't be reseted
this.$data.requestUpdateData.folderIndex = undefined
},
},
computed: {
folders() {
const userSelectedAnyCollection = this.$data.requestUpdateData.collectionIndex !== undefined
if (!userSelectedAnyCollection) return []
return this.$store.state.postwoman.collections[this.$data.requestUpdateData.collectionIndex]
.folders
},
},
methods: {
saveRequest() {
const userSelectedAnyCollection = this.$data.requestUpdateData.collectionIndex !== undefined
const requestUpdated = {
...this.$props.request,
name: this.$data.requestUpdateData.name || this.$props.request.name,
collection: userSelectedAnyCollection
? this.$data.requestUpdateData.collectionIndex
: this.$props.collectionIndex,
folder: this.$data.requestUpdateData.folderIndex,
}
// pass data separately to don't depend on request's collection, folder fields
// probably, they should be deprecated because they don't describe request itself
this.$store.commit("postwoman/editRequest", {
requestOldCollectionIndex: this.$props.collectionIndex,
requestOldFolderIndex: this.$props.folderIndex,
requestOldIndex: this.$props.requestIndex,
requestNew: requestUpdated,
requestNewCollectionIndex: requestUpdated.collection,
requestNewFolderIndex: requestUpdated.folder,
})
this.hideModal()
},
hideModal() {
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -1,106 +0,0 @@
<template>
<div>
<div class="flex-wrap">
<div>
<button class="icon" @click="toggleShowChildren">
<i class="material-icons" v-show="!showChildren">arrow_right</i>
<i class="material-icons" v-show="showChildren">arrow_drop_down</i>
<i class="material-icons">folder_open</i>
<span>{{ folder.name }}</span>
</button>
</div>
<v-popover>
<button class="tooltip-target icon" v-tooltip="$t('more')">
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
<div>
<button class="icon" @click="editFolder" v-close-popover>
<i class="material-icons">edit</i>
<span>{{ $t("edit") }}</span>
</button>
</div>
<div>
<button class="icon" @click="removeFolder" v-close-popover>
<i class="material-icons">delete</i>
<span>{{ $t("delete") }}</span>
</button>
</div>
</template>
</v-popover>
</div>
<div v-show="showChildren">
<ul>
<li v-for="(request, index) in folder.requests" :key="index">
<request
:request="request"
:collection-index="collectionIndex"
:folder-index="folderIndex"
:request-index="index"
@edit-request="
$emit('edit-request', {
request,
collectionIndex,
folderIndex,
requestIndex: index,
})
"
/>
</li>
<li v-if="folder.requests.length === 0">
<label>{{ $t("folder_empty") }}</label>
</li>
</ul>
</div>
</div>
</template>
<style scoped lang="scss">
ul {
display: flex;
flex-direction: column;
}
ul li {
display: flex;
margin-left: 32px;
border-left: 1px solid var(--brd-color);
}
</style>
<script>
export default {
props: {
folder: Object,
collectionIndex: Number,
folderIndex: Number,
},
components: {
request: () => import("./request"),
},
data() {
return {
showChildren: false,
}
},
methods: {
toggleShowChildren() {
this.showChildren = !this.showChildren
},
selectRequest(request) {
this.$store.commit("postwoman/selectRequest", { request })
},
removeFolder() {
if (!confirm("Are you sure you want to remove this folder?")) return
this.$store.commit("postwoman/removeFolder", {
collectionIndex: this.collectionIndex,
folderIndex: this.folderIndex,
})
},
editFolder() {
this.$emit("edit-folder")
},
},
}
</script>

View File

@@ -1,286 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("import_export") }} {{ $t("collections") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
<div class="flex-wrap">
<span
v-tooltip="{
content: !fb.currentUser ? $t('login_first') : $t('replace_current'),
}"
>
<button :disabled="!fb.currentUser" class="icon" @click="syncCollections">
<i class="material-icons">folder_shared</i>
<span>{{ $t("import_from_sync") }}</span>
</button>
</span>
<button
class="icon"
@click="openDialogChooseFileToReplaceWith"
v-tooltip="$t('replace_current')"
>
<i class="material-icons">create_new_folder</i>
<span>{{ $t("replace_json") }}</span>
<input
type="file"
@change="replaceWithJSON"
style="display: none;"
ref="inputChooseFileToReplaceWith"
accept="application/json"
/>
</button>
<button
class="icon"
@click="openDialogChooseFileToImportFrom"
v-tooltip="$t('preserve_current')"
>
<i class="material-icons">folder_special</i>
<span>{{ $t("import_json") }}</span>
<input
type="file"
@change="importFromJSON"
style="display: none;"
ref="inputChooseFileToImportFrom"
accept="application/json"
/>
</button>
</div>
</li>
</ul>
</div>
<div slot="body">
<textarea v-model="collectionJson" rows="8"></textarea>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="exportJSON" v-tooltip="$t('download_file')">
{{ $t("export") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
import { fb } from "../../functions/fb"
export default {
data() {
return {
fb,
}
},
props: {
show: Boolean,
},
components: {
modal: () => import("../../components/ui/modal"),
},
computed: {
collectionJson() {
return JSON.stringify(this.$store.state.postwoman.collections, null, 2)
},
},
methods: {
hideModal() {
this.$emit("hide-modal")
},
openDialogChooseFileToReplaceWith() {
this.$refs.inputChooseFileToReplaceWith.click()
},
openDialogChooseFileToImportFrom() {
this.$refs.inputChooseFileToImportFrom.click()
},
replaceWithJSON() {
let reader = new FileReader()
reader.onload = event => {
let content = event.target.result
let collections = JSON.parse(content)
if (collections[0]) {
let [name, folders, requests] = Object.keys(collections[0])
if (name === "name" && folders === "folders" && requests === "requests") {
// Do nothing
}
} else if (collections.info && collections.info.schema.includes("v2.1.0")) {
collections = this.parsePostmanCollection(collections)
} else {
return this.failedImport()
}
this.$store.commit("postwoman/importCollections", collections)
this.fileImported()
}
reader.readAsText(this.$refs.inputChooseFileToReplaceWith.files[0])
},
importFromJSON() {
let reader = new FileReader()
reader.onload = event => {
let content = event.target.result
let collections = JSON.parse(content)
if (collections[0]) {
let [name, folders, requests] = Object.keys(collections[0])
if (name === "name" && folders === "folders" && requests === "requests") {
// Do nothing
}
} else if (collections.info && collections.info.schema.includes("v2.1.0")) {
collections = this.parsePostmanCollection(collections)
} else {
return this.failedImport()
}
this.$store.commit("postwoman/importCollections", collections)
this.fileImported()
}
reader.readAsText(this.$refs.inputChooseFileToImportFrom.files[0])
},
exportJSON() {
let text = this.collectionJson
text = text.replace(/\n/g, "\r\n")
let blob = new Blob([text], {
type: "text/json",
})
let anchor = document.createElement("a")
anchor.download = "postwoman-collection.json"
anchor.href = window.URL.createObjectURL(blob)
anchor.target = "_blank"
anchor.style.display = "none"
document.body.appendChild(anchor)
anchor.click()
document.body.removeChild(anchor)
this.$toast.success(this.$t("download_started"), {
icon: "done",
})
},
syncCollections() {
this.$store.commit("postwoman/replaceCollections", fb.currentCollections)
this.fileImported()
},
fileImported() {
this.$toast.info(this.$t("file_imported"), {
icon: "folder_shared",
})
},
failedImport() {
this.$toast.error(this.$t("import_failed"), {
icon: "error",
})
},
parsePostmanCollection(collection, folders = true) {
let postwomanCollection = folders
? [
{
name: "",
folders: [],
requests: [],
},
]
: {
name: "",
requests: [],
}
for (let collectionItem of collection.item) {
if (collectionItem.request) {
if (postwomanCollection[0]) {
postwomanCollection[0].name = collection.info ? collection.info.name : ""
postwomanCollection[0].requests.push(this.parsePostmanRequest(collectionItem))
} else {
postwomanCollection.name = collection.name ? collection.name : ""
postwomanCollection.requests.push(this.parsePostmanRequest(collectionItem))
}
} else if (collectionItem.item) {
if (collectionItem.item[0]) {
postwomanCollection[0].folders.push(this.parsePostmanCollection(collectionItem, false))
}
}
}
return postwomanCollection
},
parsePostmanRequest(requestObject) {
let pwRequest = {
url: "",
path: "",
method: "",
auth: "",
httpUser: "",
httpPassword: "",
passwordFieldType: "password",
bearerToken: "",
headers: [],
params: [],
bodyParams: [],
rawParams: "",
rawInput: false,
contentType: "",
requestType: "",
name: "",
}
pwRequest.name = requestObject.name
let requestObjectUrl = requestObject.request.url.raw.match(
/^(.+:\/\/[^\/]+|{[^\/]+})(\/[^\?]+|).*$/
)
pwRequest.url = requestObjectUrl[1]
pwRequest.path = requestObjectUrl[2] ? requestObjectUrl[2] : ""
pwRequest.method = requestObject.request.method
let itemAuth = requestObject.request.auth ? requestObject.request.auth : ""
let authType = itemAuth ? itemAuth.type : ""
if (authType === "basic") {
pwRequest.auth = "Basic Auth"
pwRequest.httpUser =
itemAuth.basic[0].key === "username" ? itemAuth.basic[0].value : itemAuth.basic[1].value
pwRequest.httpPassword =
itemAuth.basic[0].key === "password" ? itemAuth.basic[0].value : itemAuth.basic[1].value
} else if (authType === "oauth2") {
pwRequest.auth = "OAuth 2.0"
pwRequest.bearerToken =
itemAuth.oauth2[0].key === "accessToken"
? itemAuth.oauth2[0].value
: itemAuth.oauth2[1].value
} else if (authType === "bearer") {
pwRequest.auth = "Bearer Token"
pwRequest.bearerToken = itemAuth.bearer[0].value
}
let requestObjectHeaders = requestObject.request.header
if (requestObjectHeaders) {
pwRequest.headers = requestObjectHeaders
for (let header of pwRequest.headers) {
delete header.name
delete header.type
}
}
let requestObjectParams = requestObject.request.url.query
if (requestObjectParams) {
pwRequest.params = requestObjectParams
for (let param of pwRequest.params) {
delete param.disabled
}
}
if (requestObject.request.body) {
if (requestObject.request.body.mode === "urlencoded") {
let params = requestObject.request.body.urlencoded
pwRequest.bodyParams = params ? params : []
for (let param of pwRequest.bodyParams) {
delete param.type
}
} else if (requestObject.request.body.mode === "raw") {
pwRequest.rawInput = true
pwRequest.rawParams = requestObject.request.body.raw
}
}
return pwRequest
},
},
}
</script>

View File

@@ -1,232 +0,0 @@
<!--
TODO:
- probably refactor and pass event arguments to modals directly without unpacking
-->
<template>
<pw-section class="yellow" :label="$t('collections')" ref="collections">
<addCollection :show="showModalAdd" @hide-modal="displayModalAdd(false)" />
<editCollection
:show="showModalEdit"
:editingCollection="editingCollection"
:editingCollectionIndex="editingCollectionIndex"
@hide-modal="displayModalEdit(false)"
/>
<addFolder
:show="showModalAddFolder"
:collection="editingCollection"
:collectionIndex="editingCollectionIndex"
@hide-modal="displayModalAddFolder(false)"
/>
<editFolder
:show="showModalEditFolder"
:collection="editingCollection"
:collectionIndex="editingCollectionIndex"
:folder="editingFolder"
:folderIndex="editingFolderIndex"
@hide-modal="displayModalEditFolder(false)"
/>
<editRequest
:show="showModalEditRequest"
:collectionIndex="editingCollectionIndex"
:folderIndex="editingFolderIndex"
:request="editingRequest"
:requestIndex="editingRequestIndex"
@hide-modal="displayModalEditRequest(false)"
/>
<importExportCollections
:show="showModalImportExport"
@hide-modal="displayModalImportExport(false)"
/>
<div class="flex-wrap">
<div>
<button class="icon" @click="displayModalAdd(true)">
<i class="material-icons">add</i>
<span>{{ $t("new") }}</span>
</button>
</div>
<div>
<button class="icon" @click="displayModalImportExport(true)">
{{ $t("import_export") }}
</button>
<!-- <a
href="https://github.com/liyasthomas/postwoman/wiki/Collections"
target="_blank"
rel="noopener"
>
<button class="icon" v-tooltip="'Wiki'">
<i class="material-icons">help</i>
</button>
</a> -->
</div>
</div>
<p v-if="collections.length === 0" class="info">
Create new collection
</p>
<virtual-list
class="virtual-list"
:class="{ filled: collections.length }"
:size="152"
:remain="Math.min(5, collections.length)"
>
<ul>
<li v-for="(collection, index) in collections" :key="collection.name">
<collection
:collection-index="index"
:collection="collection"
@edit-collection="editCollection(collection, index)"
@add-folder="addFolder(collection, index)"
@edit-folder="editFolder($event)"
@edit-request="editRequest($event)"
/>
</li>
<li v-if="collections.length === 0">
<label>Collections are empty</label>
</li>
</ul>
</virtual-list>
<nuxt-link :to="localePath('doc')" :aria-label="$t('documentation')">
<button class="icon">
<i class="material-icons">books</i>
<span>{{ $t("generate_docs") }}</span>
</button>
</nuxt-link>
</pw-section>
</template>
<style scoped lang="scss">
.virtual-list {
max-height: calc(100vh - 286px);
}
ul {
display: flex;
flex-direction: column;
}
</style>
<script>
import collection from "./collection"
import { fb } from "../../functions/fb"
export default {
components: {
collection,
"pw-section": () => import("../layout/section"),
addCollection: () => import("./addCollection"),
addFolder: () => import("./addFolder"),
editCollection: () => import("./editCollection"),
editFolder: () => import("./editFolder"),
editRequest: () => import("./editRequest"),
importExportCollections: () => import("./importExportCollections"),
VirtualList: () => import("vue-virtual-scroll-list"),
},
data() {
return {
showModalAdd: false,
showModalEdit: false,
showModalImportExport: false,
showModalAddFolder: false,
showModalEditFolder: false,
showModalEditRequest: false,
editingCollection: undefined,
editingCollectionIndex: undefined,
editingFolder: undefined,
editingFolderIndex: undefined,
editingRequest: undefined,
editingRequestIndex: undefined,
}
},
computed: {
collections() {
return this.$store.state.postwoman.collections
},
},
async mounted() {
this._keyListener = function(e) {
if (e.key === "Escape") {
e.preventDefault()
this.showModalAdd = this.showModalEdit = this.showModalImportExport = this.showModalAddFolder = this.showModalEditFolder = this.showModalEditRequest = false
}
}
document.addEventListener("keydown", this._keyListener.bind(this))
},
methods: {
displayModalAdd(shouldDisplay) {
this.showModalAdd = shouldDisplay
},
displayModalEdit(shouldDisplay) {
this.showModalEdit = shouldDisplay
if (!shouldDisplay) this.resetSelectedData()
},
displayModalImportExport(shouldDisplay) {
this.showModalImportExport = shouldDisplay
},
displayModalAddFolder(shouldDisplay) {
this.showModalAddFolder = shouldDisplay
if (!shouldDisplay) this.resetSelectedData()
},
displayModalEditFolder(shouldDisplay) {
this.showModalEditFolder = shouldDisplay
if (!shouldDisplay) this.resetSelectedData()
},
displayModalEditRequest(shouldDisplay) {
this.showModalEditRequest = shouldDisplay
if (!shouldDisplay) this.resetSelectedData()
},
editCollection(collection, collectionIndex) {
this.$data.editingCollection = collection
this.$data.editingCollectionIndex = collectionIndex
this.displayModalEdit(true)
this.syncCollections()
},
addFolder(collection, collectionIndex) {
this.$data.editingCollection = collection
this.$data.editingCollectionIndex = collectionIndex
this.displayModalAddFolder(true)
this.syncCollections()
},
editFolder(payload) {
const { collectionIndex, folder, folderIndex } = payload
this.$data.editingCollection = collection
this.$data.editingCollectionIndex = collectionIndex
this.$data.editingFolder = folder
this.$data.editingFolderIndex = folderIndex
this.displayModalEditFolder(true)
this.syncCollections()
},
editRequest(payload) {
const { request, collectionIndex, folderIndex, requestIndex } = payload
this.$data.editingCollectionIndex = collectionIndex
this.$data.editingFolderIndex = folderIndex
this.$data.editingRequest = request
this.$data.editingRequestIndex = requestIndex
this.displayModalEditRequest(true)
this.syncCollections()
},
resetSelectedData() {
this.$data.editingCollection = undefined
this.$data.editingCollectionIndex = undefined
this.$data.editingFolder = undefined
this.$data.editingFolderIndex = undefined
this.$data.editingRequest = undefined
this.$data.editingRequestIndex = undefined
},
syncCollections() {
if (fb.currentUser !== null) {
if (fb.currentSettings[0].value) {
fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections)))
}
}
},
},
beforeDestroy() {
document.removeEventListener("keydown", this._keyListener)
},
}
</script>

View File

@@ -1,66 +0,0 @@
<template>
<div class="flex-wrap">
<div>
<button class="icon" @click="selectRequest()" v-tooltip="$t('use_request')">
<i class="material-icons">insert_drive_file</i>
<span>{{ request.name }}</span>
</button>
</div>
<v-popover>
<button class="tooltip-target icon" v-tooltip="$t('more')">
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
<div>
<button class="icon" @click="$emit('edit-request')" v-close-popover>
<i class="material-icons">edit</i>
<span>{{ $t("edit") }}</span>
</button>
</div>
<div>
<button class="icon" @click="removeRequest" v-close-popover>
<i class="material-icons">delete</i>
<span>{{ $t("delete") }}</span>
</button>
</div>
</template>
</v-popover>
</div>
</template>
<style scoped lang="scss">
ul {
display: flex;
flex-direction: column;
}
ul li {
display: flex;
padding-left: 16px;
border-left: 1px solid var(--brd-color);
}
</style>
<script>
export default {
props: {
request: Object,
collectionIndex: Number,
folderIndex: Number,
requestIndex: Number,
},
methods: {
selectRequest() {
this.$store.commit("postwoman/selectRequest", { request: this.request })
},
removeRequest() {
if (!confirm("Are you sure you want to remove this request?")) return
this.$store.commit("postwoman/removeRequest", {
collectionIndex: this.collectionIndex,
folderIndex: this.folderIndex,
requestIndex: this.requestIndex,
})
},
},
}
</script>

View File

@@ -1,190 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("save_request_as") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<label for="selectLabel">{{ $t("label") }}</label>
<input
type="text"
id="selectLabel"
v-model="requestData.name"
:placeholder="defaultRequestName"
@keyup.enter="saveRequestAs"
/>
<label for="selectCollection">{{ $t("collection") }}</label>
<span class="select-wrapper">
<select type="text" id="selectCollection" v-model="requestData.collectionIndex">
<option :key="undefined" :value="undefined" hidden disabled selected>{{
$t("select_collection")
}}</option>
<option
v-for="(collection, index) in $store.state.postwoman.collections"
:key="index"
:value="index"
>
{{ collection.name }}
</option>
</select>
</span>
<label for="selectFolder">{{ $t("folder") }}</label>
<span class="select-wrapper">
<select type="text" id="selectFolder" v-model="requestData.folderIndex">
<option :key="undefined" :value="undefined">/</option>
<option v-for="(folder, index) in folders" :key="index" :value="index">
{{ folder.name }}
</option>
</select>
</span>
<label for="selectRequest">{{ $t("request") }}</label>
<span class="select-wrapper">
<select type="text" id="selectRequest" v-model="requestData.requestIndex">
<option :key="undefined" :value="undefined">/</option>
<option v-for="(folder, index) in requests" :key="index" :value="index">
{{ folder.name }}
</option>
</select>
</span>
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="saveRequestAs">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
import { fb } from "../../functions/fb"
export default {
props: {
show: Boolean,
editingRequest: Object,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
defaultRequestName: "My Request",
requestData: {
name: undefined,
collectionIndex: undefined,
folderIndex: undefined,
requestIndex: undefined,
},
}
},
watch: {
"requestData.collectionIndex": function resetFolderAndRequestIndex() {
// if user choosen some folder, than selected other collection, which doesn't have any folders
// than `requestUpdateData.folderIndex` won't be reseted
this.$data.requestData.folderIndex = undefined
this.$data.requestData.requestIndex = undefined
},
"requestData.folderIndex": function resetRequestIndex() {
this.$data.requestData.requestIndex = undefined
},
},
computed: {
folders() {
const userSelectedAnyCollection = this.$data.requestData.collectionIndex !== undefined
if (!userSelectedAnyCollection) return []
const noCollectionAvailable =
this.$store.state.postwoman.collections[this.$data.requestData.collectionIndex] !==
undefined
if (!noCollectionAvailable) return []
return this.$store.state.postwoman.collections[this.$data.requestData.collectionIndex].folders
},
requests() {
const userSelectedAnyCollection = this.$data.requestData.collectionIndex !== undefined
if (!userSelectedAnyCollection) return []
const userSelectedAnyFolder = this.$data.requestData.folderIndex !== undefined
if (userSelectedAnyFolder) {
const collection = this.$store.state.postwoman.collections[
this.$data.requestData.collectionIndex
]
const folder = collection.folders[this.$data.requestData.folderIndex]
const requests = folder.requests
return requests
} else {
const collection = this.$store.state.postwoman.collections[
this.$data.requestData.collectionIndex
]
const noCollectionAvailable =
this.$store.state.postwoman.collections[this.$data.requestData.collectionIndex] !==
undefined
if (!noCollectionAvailable) return []
const requests = collection.requests
return requests
}
},
},
methods: {
syncCollections() {
if (fb.currentUser !== null) {
if (fb.currentSettings[0].value) {
fb.writeCollections(JSON.parse(JSON.stringify(this.$store.state.postwoman.collections)))
}
}
},
saveRequestAs() {
const userDidntSpecifyCollection = this.$data.requestData.collectionIndex === undefined
if (userDidntSpecifyCollection) {
this.$toast.error(this.$t("select_collection"), {
icon: "error",
})
return
}
const requestUpdated = {
...this.$props.editingRequest,
name: this.$data.requestData.name || this.$data.defaultRequestName,
collection: this.$data.requestData.collectionIndex,
}
this.$store.commit("postwoman/saveRequestAs", {
request: requestUpdated,
collectionIndex: this.$data.requestData.collectionIndex,
folderIndex: this.$data.requestData.folderIndex,
requestIndex: this.$data.requestData.requestIndex,
})
this.hideModal()
this.syncCollections()
},
hideModal() {
this.$emit("hide-modal")
this.$emit("hide-model") // for backward compatibility // TODO: use fixed event
},
},
}
</script>

View File

@@ -1,92 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("new_environment") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<input
type="text"
v-model="name"
:placeholder="$t('my_new_environment')"
@keyup.enter="addNewEnvironment"
/>
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="addNewEnvironment">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
import { fb } from "../../functions/fb"
export default {
props: {
show: Boolean,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
name: undefined,
}
},
methods: {
syncEnvironments() {
if (fb.currentUser !== null) {
if (fb.currentSettings[1].value) {
fb.writeEnvironments(JSON.parse(JSON.stringify(this.$store.state.postwoman.environments)))
}
}
},
addNewEnvironment() {
if (!this.$data.name) {
this.$toast.info(this.$t("invalid_environment_name"))
return
}
let newEnvironment = [
{
name: this.$data.name,
variables: [],
},
]
this.$store.commit("postwoman/importAddEnvironments", {
environments: newEnvironment,
confirmation: "Environment added",
})
this.$emit("hide-modal")
this.syncEnvironments()
},
hideModal() {
this.$data.name = undefined
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -1,207 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("edit_environment") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<ul>
<li>
<input
type="text"
v-model="name"
:placeholder="editingEnvironment.name"
@keyup.enter="saveEnvironment"
/>
</li>
</ul>
<ul>
<li>
<div class="flex-wrap">
<label for="variableList">{{ $t("env_variable_list") }}</label>
<div>
<button class="icon" @click="clearContent($event)" v-tooltip.bottom="$t('clear')">
<i class="material-icons">clear_all</i>
</button>
</div>
</div>
<textarea
id="variableList"
readonly
v-textarea-auto-height="variableString"
v-model="variableString"
:placeholder="$t('add_one_variable')"
rows="1"
></textarea>
</li>
</ul>
<ul v-for="(variable, index) in this.editingEnvCopy.variables" :key="index">
<li>
<input
:placeholder="$t('parameter_count', { count: index + 1 })"
:name="'param' + index"
:value="variable.key"
@change="
$store.commit('postwoman/setVariableKey', {
index,
value: $event.target.value,
})
"
autofocus
/>
</li>
<li>
<input
:placeholder="$t('value_count', { count: index + 1 })"
:name="'value' + index"
:value="
typeof variable.value === 'string' ? variable.value : JSON.stringify(variable.value)
"
@change="
$store.commit('postwoman/setVariableValue', {
index,
value: $event.target.value,
})
"
/>
</li>
<div>
<li>
<button
class="icon"
@click="removeEnvironmentVariable(index)"
v-tooltip.bottom="$t('delete')"
id="variable"
>
<i class="material-icons">delete</i>
</button>
</li>
</div>
</ul>
<ul>
<li>
<button class="icon" @click="addEnvironmentVariable">
<i class="material-icons">add</i>
<span>{{ $t("add_new") }}</span>
</button>
</li>
</ul>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="saveEnvironment">
{{ $t("save") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
import textareaAutoHeight from "../../directives/textareaAutoHeight"
export default {
directives: {
textareaAutoHeight,
},
props: {
show: Boolean,
editingEnvironment: Object,
editingEnvironmentIndex: Number,
},
components: {
modal: () => import("../../components/ui/modal"),
},
data() {
return {
name: undefined,
}
},
watch: {
editingEnvironment: function(update) {
this.name =
this.$props.editingEnvironment && this.$props.editingEnvironment.name
? this.$props.editingEnvironment.name
: undefined
this.$store.commit("postwoman/setEditingEnvironment", this.$props.editingEnvironment)
},
},
computed: {
editingEnvCopy() {
return this.$store.state.postwoman.editingEnvironment
},
variableString() {
const result = this.editingEnvCopy.variables
return result === "" ? "" : JSON.stringify(result)
},
},
methods: {
clearContent(e) {
this.$store.commit("postwoman/removeVariables", [])
e.target.innerHTML = this.doneButton
this.$toast.info(this.$t("cleared"), {
icon: "clear_all",
})
setTimeout(() => (e.target.innerHTML = '<i class="material-icons">clear_all</i>'), 1000)
},
addEnvironmentVariable() {
let value = { key: "", value: "" }
this.$store.commit("postwoman/addVariable", value)
},
removeEnvironmentVariable(index) {
let variableIndex = index
const oldVariables = this.editingEnvCopy.variables.slice()
const newVariables = this.editingEnvCopy.variables.filter(
(variable, index) => variableIndex !== index
)
this.$store.commit("postwoman/removeVariable", newVariables)
this.$toast.error(this.$t("deleted"), {
icon: "delete",
action: {
text: this.$t("undo"),
onClick: (e, toastObject) => {
this.$store.commit("postwoman/removeVariable", oldVariables)
toastObject.remove()
},
},
})
},
saveEnvironment() {
if (!this.$data.name) {
this.$toast.info(this.$t("invalid_environment_name"))
return
}
const environmentUpdated = {
...this.editingEnvCopy,
name: this.$data.name,
}
this.$store.commit("postwoman/saveEnvironment", {
environment: environmentUpdated,
environmentIndex: this.$props.editingEnvironmentIndex,
})
this.$emit("hide-modal")
},
hideModal() {
this.$data.name = undefined
this.$emit("hide-modal")
},
},
}
</script>

View File

@@ -1,57 +0,0 @@
<template>
<div class="flex-wrap">
<div>
<button class="icon" @click="$emit('select-environment')" v-tooltip="$t('use_environment')">
<i class="material-icons">insert_drive_file</i>
<span>{{ environment.name }}</span>
</button>
</div>
<v-popover>
<button class="tooltip-target icon" v-tooltip="$t('more')">
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
<div>
<button class="icon" @click="$emit('edit-environment')" v-close-popover>
<i class="material-icons">create</i>
<span>{{ $t("edit") }}</span>
</button>
</div>
<div>
<button class="icon" @click="removeEnvironment" v-close-popover>
<i class="material-icons">delete</i>
<span>{{ $t("delete") }}</span>
</button>
</div>
</template>
</v-popover>
</div>
</template>
<style scoped lang="scss">
ul {
display: flex;
flex-direction: column;
}
ul li {
display: flex;
padding-left: 16px;
border-left: 1px solid var(--brd-color);
}
</style>
<script>
export default {
props: {
environment: Object,
environmentIndex: Number,
},
methods: {
removeEnvironment() {
if (!confirm("Are you sure you want to remove this environment?")) return
this.$store.commit("postwoman/removeEnvironment", this.environmentIndex)
},
},
}
</script>

View File

@@ -1,160 +0,0 @@
<template>
<modal v-if="show" @close="hideModal">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("import_export") }} {{ $t("environments") }}</h3>
<div>
<button class="icon" @click="hideModal">
<i class="material-icons">close</i>
</button>
</div>
</div>
<div class="flex-wrap">
<span
v-tooltip="{
content: !fb.currentUser ? $t('login_first') : $t('replace_current'),
}"
>
<button :disabled="!fb.currentUser" class="icon" @click="syncEnvironments">
<i class="material-icons">folder_shared</i>
<span>{{ $t("import_from_sync") }}</span>
</button>
</span>
<button
class="icon"
@click="openDialogChooseFileToReplaceWith"
v-tooltip="$t('replace_current')"
>
<i class="material-icons">create_new_folder</i>
<span>{{ $t("replace_json") }}</span>
<input
type="file"
@change="replaceWithJSON"
style="display: none;"
ref="inputChooseFileToReplaceWith"
accept="application/json"
/>
</button>
<button
class="icon"
@click="openDialogChooseFileToImportFrom"
v-tooltip="$t('preserve_current')"
>
<i class="material-icons">folder_special</i>
<span>{{ $t("import_json") }}</span>
<input
type="file"
@change="importFromJSON"
style="display: none;"
ref="inputChooseFileToImportFrom"
accept="application/json"
/>
</button>
</div>
</li>
</ul>
</div>
<div slot="body">
<textarea v-model="environmentJson" rows="8"></textarea>
</div>
<div slot="footer">
<div class="flex-wrap">
<span></span>
<span>
<button class="icon" @click="hideModal">
{{ $t("cancel") }}
</button>
<button class="icon primary" @click="exportJSON" v-tooltip="$t('download_file')">
{{ $t("export") }}
</button>
</span>
</div>
</div>
</modal>
</template>
<script>
import { fb } from "../../functions/fb"
export default {
data() {
return {
fb,
}
},
props: {
show: Boolean,
},
components: {
modal: () => import("../../components/ui/modal"),
},
computed: {
environmentJson() {
return JSON.stringify(this.$store.state.postwoman.environments, null, 2)
},
},
methods: {
hideModal() {
this.$emit("hide-modal")
},
openDialogChooseFileToReplaceWith() {
this.$refs.inputChooseFileToReplaceWith.click()
},
openDialogChooseFileToImportFrom() {
this.$refs.inputChooseFileToImportFrom.click()
},
replaceWithJSON() {
let reader = new FileReader()
reader.onload = event => {
let content = event.target.result
let environments = JSON.parse(content)
this.$store.commit("postwoman/replaceEnvironments", environments)
}
reader.readAsText(this.$refs.inputChooseFileToReplaceWith.files[0])
this.fileImported()
},
importFromJSON() {
let reader = new FileReader()
reader.onload = event => {
let content = event.target.result
let environments = JSON.parse(content)
let confirmation = this.$t("file_imported")
this.$store.commit("postwoman/importAddEnvironments", {
environments,
confirmation,
})
}
reader.readAsText(this.$refs.inputChooseFileToImportFrom.files[0])
},
exportJSON() {
let text = this.environmentJson
text = text.replace(/\n/g, "\r\n")
let blob = new Blob([text], {
type: "text/json",
})
let anchor = document.createElement("a")
anchor.download = "postwoman-environment.json"
anchor.href = window.URL.createObjectURL(blob)
anchor.target = "_blank"
anchor.style.display = "none"
document.body.appendChild(anchor)
anchor.click()
document.body.removeChild(anchor)
this.$toast.success(this.$t("download_started"), {
icon: "done",
})
},
syncEnvironments() {
this.$store.commit("postwoman/replaceEnvironments", fb.currentEnvironments)
this.fileImported()
},
fileImported() {
this.$toast.info(this.$t("file_imported"), {
icon: "folder_shared",
})
},
},
}
</script>

View File

@@ -1,137 +0,0 @@
<template>
<pw-section class="green" icon="history" :label="$t('environments')" ref="environments">
<addEnvironment :show="showModalAdd" @hide-modal="displayModalAdd(false)" />
<editEnvironment
:show="showModalEdit"
:editingEnvironment="editingEnvironment"
:editingEnvironmentIndex="editingEnvironmentIndex"
@hide-modal="displayModalEdit(false)"
/>
<importExportEnvironment
:show="showModalImportExport"
@hide-modal="displayModalImportExport(false)"
/>
<div class="flex-wrap">
<div>
<button class="icon" @click="displayModalAdd(true)">
<i class="material-icons">add</i>
<span>{{ $t("new") }}</span>
</button>
</div>
<div>
<button class="icon" @click="displayModalImportExport(true)">
{{ $t("import_export") }}
</button>
</div>
</div>
<p v-if="environments.length === 0" class="info">
Create new environment
</p>
<virtual-list
class="virtual-list"
:class="{ filled: environments.length }"
:size="152"
:remain="Math.min(5, environments.length)"
>
<ul>
<li v-for="(environment, index) in environments" :key="environment.name">
<environment
:environmentIndex="index"
:environment="environment"
@edit-environment="editEnvironment(environment, index)"
@select-environment="$emit('use-environment', environment)"
/>
</li>
<li v-if="environments.length === 0">
<label>Environments are empty</label>
</li>
</ul>
</virtual-list>
</pw-section>
</template>
<style scoped lang="scss">
.virtual-list {
max-height: calc(100vh - 241px);
}
ul {
display: flex;
flex-direction: column;
}
</style>
<script>
import environment from "./environment"
import { fb } from "../../functions/fb"
const updateOnLocalStorage = (propertyName, property) =>
window.localStorage.setItem(propertyName, JSON.stringify(property))
export default {
components: {
environment,
"pw-section": () => import("../layout/section"),
addEnvironment: () => import("./addEnvironment"),
editEnvironment: () => import("./editEnvironment"),
importExportEnvironment: () => import("./importExportEnvironment"),
VirtualList: () => import("vue-virtual-scroll-list"),
},
data() {
return {
showModalImportExport: false,
showModalAdd: false,
showModalEdit: false,
editingEnvironment: undefined,
editingEnvironmentIndex: undefined,
}
},
computed: {
environments() {
return this.$store.state.postwoman.environments
},
},
async mounted() {
this._keyListener = function(e) {
if (e.key === "Escape") {
e.preventDefault()
this.showModalImportExport = false
}
}
document.addEventListener("keydown", this._keyListener.bind(this))
},
methods: {
displayModalAdd(shouldDisplay) {
this.showModalAdd = shouldDisplay
},
displayModalEdit(shouldDisplay) {
this.showModalEdit = shouldDisplay
if (!shouldDisplay) this.resetSelectedData()
},
displayModalImportExport(shouldDisplay) {
this.showModalImportExport = shouldDisplay
},
editEnvironment(environment, environmentIndex) {
this.$data.editingEnvironment = environment
this.$data.editingEnvironmentIndex = environmentIndex
this.displayModalEdit(true)
this.syncEnvironments
},
resetSelectedData() {
this.$data.editingEnvironment = undefined
this.$data.editingEnvironmentIndex = undefined
},
syncEnvironments() {
if (fb.currentUser !== null) {
if (fb.currentSettings[1].value) {
fb.writeEnvironments(JSON.parse(JSON.stringify(this.$store.state.postwoman.environments)))
}
}
},
},
beforeDestroy() {
document.removeEventListener("keydown", this._keyListener)
},
}
</script>

View File

@@ -1,78 +0,0 @@
<template>
<virtual-list
v-if="fb.currentFeeds.length !== 0"
class="virtual-list"
:class="{ filled: fb.currentFeeds.length }"
:size="180"
:remain="Math.min(6, fb.currentFeeds.length)"
>
<ul v-for="feed in fb.currentFeeds" :key="feed.id" class="entry">
<div class="show-on-large-screen">
<li class="info">
<label>
{{ feed.label || $t("no_label") }}
</label>
</li>
<button class="icon" @click="deleteFeed(feed)">
<i class="material-icons">delete</i>
</button>
</div>
<div class="show-on-large-screen">
<li class="info clamb-3">
<label>{{ feed.message || $t("empty") }}</label>
</li>
</div>
</ul>
</virtual-list>
<ul v-else>
<li>
<label class="info">{{ $t("empty") }}</label>
</li>
</ul>
</template>
<style scoped lang="scss">
.virtual-list {
max-height: calc(100vh - 294px);
}
ul,
ol {
flex-direction: column;
}
.entry {
border-bottom: 1px dashed var(--brd-color);
padding: 0 0 8px;
}
.clamb-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
</style>
<script>
import { fb } from "../../functions/fb"
export default {
components: {
VirtualList: () => import("vue-virtual-scroll-list"),
},
data() {
return {
fb,
}
},
methods: {
deleteFeed(feed) {
fb.deleteFeed(feed.id)
this.$toast.error(this.$t("deleted"), {
icon: "delete",
})
},
},
}
</script>

View File

@@ -1,69 +0,0 @@
<template>
<div>
<ul>
<div class="show-on-large-screen">
<li>
<input
:aria-label="$t('label')"
type="text"
autofocus
v-model="message"
:placeholder="$t('paste_a_note')"
@keyup.enter="formPost"
/>
</li>
</div>
<div class="show-on-large-screen">
<li>
<input
:aria-label="$t('label')"
type="text"
autofocus
v-model="label"
:placeholder="$t('label')"
@keyup.enter="formPost"
/>
</li>
<button
class="icon"
:disabled="!(this.message || this.label)"
value="Save"
@click="formPost"
>
<i class="material-icons">add</i>
<span>Add</span>
</button>
</div>
</ul>
</div>
</template>
<style scoped lang="scss">
ul,
ol {
flex-direction: column;
}
</style>
<script>
import { fb } from "../../functions/fb"
export default {
data() {
return {
message: null,
label: null,
}
},
methods: {
formPost() {
if (!(this.message || this.label)) {
return
}
fb.writeFeeds(this.message, this.label)
this.message = null
this.label = null
},
},
}
</script>

View File

@@ -1,262 +0,0 @@
<template>
<div>
<div>
<button class="icon" @click="signInWithGoogle" v-close-popover>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
class="material-icons"
>
<path
d="M12.24 10.285V14.4h6.806c-.275 1.765-2.056 5.174-6.806 5.174-4.095 0-7.439-3.389-7.439-7.574s3.345-7.574 7.439-7.574c2.33 0 3.891.989 4.785 1.849l3.254-3.138C18.189 1.186 15.479 0 12.24 0c-6.635 0-12 5.365-12 12s5.365 12 12 12c6.926 0 11.52-4.869 11.52-11.726 0-.788-.085-1.39-.189-1.989H12.24z"
/>
</svg>
<span>Google</span>
</button>
</div>
<div>
<button class="icon" @click="signInWithGithub" v-close-popover>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
class="material-icons"
>
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
/>
</svg>
<span>GitHub</span>
</button>
</div>
</div>
</template>
<script>
import firebase from "firebase/app"
import { fb } from "../../functions/fb"
export default {
data() {
return {
fb,
}
},
methods: {
showLoginSuccess() {
this.$toast.info(this.$t("login_success"), {
icon: "vpn_key",
})
},
signInWithGoogle() {
const provider = new firebase.auth.GoogleAuthProvider()
const self = this
firebase
.auth()
.signInWithPopup(provider)
.then(({ additionalUserInfo }) => {
if (additionalUserInfo.isNewUser) {
self.$toast.info(`${self.$t("turn_on")} ${self.$t("sync")}`, {
icon: "sync",
duration: null,
closeOnSwipe: false,
action: {
text: self.$t("yes"),
onClick: (e, toastObject) => {
fb.writeSettings("syncHistory", true)
fb.writeSettings("syncCollections", true)
fb.writeSettings("syncEnvironments", true)
self.$router.push({ path: "/settings" })
toastObject.remove()
},
},
})
}
self.showLoginSuccess()
})
.catch(err => {
// An error happened.
if (err.code === "auth/account-exists-with-different-credential") {
// Step 2.
// User's email already exists.
// The pending Google credential.
var pendingCred = err.credential
// The provider account's email address.
var email = err.email
// Get sign-in methods for this email.
firebase
.auth()
.fetchSignInMethodsForEmail(email)
.then(function(methods) {
// Step 3.
// If the user has several sign-in methods,
// the first method in the list will be the "recommended" method to use.
if (methods[0] === "password") {
// Asks the user their password.
// In real scenario, you should handle this asynchronously.
var password = promptUserForPassword() // TODO: implement promptUserForPassword.
auth
.signInWithEmailAndPassword(email, password)
.then(function(user) {
// Step 4a.
return user.linkWithCredential(pendingCred)
})
.then(function() {
// Google account successfully linked to the existing Firebase user.
self.showLoginSuccess()
})
return
}
self.$toast.info(`${self.$t("login_with")}`, {
icon: "vpn_key",
duration: null,
closeOnSwipe: false,
action: {
text: self.$t("yes"),
onClick: (e, toastObject) => {
// All the other cases are external providers.
// Construct provider object for that provider.
// TODO: implement getProviderForProviderId.
var provider = new firebase.auth.GithubAuthProvider()
// At this point, you should let the user know that they already has an account
// but with a different provider, and let them validate the fact they want to
// sign in with this provider.
// Sign in to provider. Note: browsers usually block popup triggered asynchronously,
// so in real scenario you should ask the user to click on a "continue" button
// that will trigger the signInWithPopup.
firebase
.auth()
.signInWithPopup(provider)
.then(function(result) {
// Remember that the user may have signed in with an account that has a different email
// address than the first one. This can happen as Firebase doesn't control the provider's
// sign in flow and the user is free to login using whichever account they own.
// Step 4b.
// Link to Google credential.
// As we have access to the pending credential, we can directly call the link method.
result.user
.linkAndRetrieveDataWithCredential(pendingCred)
.then(function(usercred) {
// Google account successfully linked to the existing Firebase user.
self.showLoginSuccess()
})
})
toastObject.remove()
},
},
})
})
}
})
},
signInWithGithub() {
const provider = new firebase.auth.GithubAuthProvider()
const self = this
firebase
.auth()
.signInWithPopup(provider)
.then(({ additionalUserInfo }) => {
if (additionalUserInfo.isNewUser) {
self.$toast.info(`${self.$t("turn_on")} ${self.$t("sync")}`, {
icon: "sync",
duration: null,
closeOnSwipe: false,
action: {
text: self.$t("yes"),
onClick: (e, toastObject) => {
fb.writeSettings("syncHistory", true)
fb.writeSettings("syncCollections", true)
fb.writeSettings("syncEnvironments", true)
self.$router.push({ path: "/settings" })
toastObject.remove()
},
},
})
}
self.showLoginSuccess()
})
.catch(err => {
// An error happened.
if (err.code === "auth/account-exists-with-different-credential") {
// Step 2.
// User's email already exists.
// The pending Google credential.
var pendingCred = err.credential
// The provider account's email address.
var email = err.email
// Get sign-in methods for this email.
firebase
.auth()
.fetchSignInMethodsForEmail(email)
.then(function(methods) {
// Step 3.
// If the user has several sign-in methods,
// the first method in the list will be the "recommended" method to use.
if (methods[0] === "password") {
// Asks the user their password.
// In real scenario, you should handle this asynchronously.
var password = promptUserForPassword() // TODO: implement promptUserForPassword.
firebase
.auth()
.signInWithEmailAndPassword(email, password)
.then(function(user) {
// Step 4a.
return user.linkWithCredential(pendingCred)
})
.then(function() {
// Google account successfully linked to the existing Firebase user.
self.showLoginSuccess()
})
return
}
self.$toast.info(`${self.$t("login_with")}`, {
icon: "vpn_key",
duration: null,
closeOnSwipe: false,
action: {
text: self.$t("yes"),
onClick: (e, toastObject) => {
// All the other cases are external providers.
// Construct provider object for that provider.
// TODO: implement getProviderForProviderId.
var provider = new firebase.auth.GoogleAuthProvider()
// At this point, you should let the user know that they already has an account
// but with a different provider, and let them validate the fact they want to
// sign in with this provider.
// Sign in to provider. Note: browsers usually block popup triggered asynchronously,
// so in real scenario you should ask the user to click on a "continue" button
// that will trigger the signInWithPopup.
firebase
.auth()
.signInWithPopup(provider)
.then(function(result) {
// Remember that the user may have signed in with an account that has a different email
// address than the first one. This can happen as Firebase doesn't control the provider's
// sign in flow and the user is free to login using whichever account they own.
// Step 4b.
// Link to Google credential.
// As we have access to the pending credential, we can directly call the link method.
result.user
.linkAndRetrieveDataWithCredential(pendingCred)
.then(function(usercred) {
self.showLoginSuccess()
})
})
toastObject.remove()
},
},
})
})
}
})
},
},
}
</script>

View File

@@ -1,38 +0,0 @@
<template>
<div>
<button class="icon" @click="logout" v-close-popover>
<i class="material-icons">exit_to_app</i>
<span>{{ $t("logout") }}</span>
</button>
</div>
</template>
<script>
import firebase from "firebase/app"
import { fb } from "../../functions/fb"
export default {
data() {
return {
fb,
}
},
methods: {
logout() {
fb.currentUser = null
const self = this
firebase
.auth()
.signOut()
.catch(err => {
self.$toast.show(err.message || err, {
icon: "error",
})
})
self.$toast.info(this.$t("logged_out"), {
icon: "vpn_key",
})
},
},
}
</script>

View File

@@ -1,38 +0,0 @@
<template>
<span>
<span class="argumentName">
{{ argName }}
</span>
:
<typelink :type="argType" :jumpTypeCallback="jumpCallback" />
</span>
</template>
<style scoped lang="scss"></style>
<script>
import typelink from "./typelink"
export default {
components: {
typelink: typelink,
},
props: {
gqlArg: Object,
},
computed: {
argName() {
return this.gqlArg.name
},
argType() {
return this.gqlArg.type
},
},
methods: {
jumpCallback(typeName) {},
},
}
</script>

View File

@@ -1,88 +0,0 @@
<template>
<div class="field-box">
<div class="field-title">
{{ fieldName }}
<span v-if="fieldArgs.length > 0">
(
<span v-for="(field, index) in fieldArgs" :key="index">
{{ field.name }}:
<typelink :gqlType="field.type" :jumpTypeCallback="jumpTypeCallback" />
<span v-if="index !== fieldArgs.length - 1">
,
</span>
</span>
) </span
>:
<typelink :gqlType="gqlField.type" :jumpTypeCallback="jumpTypeCallback" />
</div>
<div class="field-desc" v-if="gqlField.description">
{{ gqlField.description }}
</div>
<div class="field-deprecated" v-if="gqlField.isDeprecated">
{{ $t("deprecated") }}
</div>
</div>
</template>
<style scoped lang="scss">
.field-box {
padding: 16px;
margin: 4px;
border-bottom: 1px dashed var(--brd-color);
}
.field-deprecated {
background-color: yellow;
color: black;
display: inline-block;
padding: 4px 8px;
margin: 4px 0;
border-radius: 4px;
font-size: 14px;
font-weight: 700;
}
.field-desc {
color: var(--fg-light-color);
margin-top: 4px;
}
</style>
<script>
import typelink from "./typelink"
export default {
components: {
typelink: typelink,
},
props: {
gqlField: Object,
jumpTypeCallback: Function,
},
computed: {
fieldString() {
const args = (this.gqlField.args || []).reduce((acc, arg, index) => {
return (
acc +
`${arg.name}: ${arg.type.toString()}${
index !== this.gqlField.args.length - 1 ? ", " : ""
}`
)
}, "")
const argsString = args.length > 0 ? `(${args})` : ""
return `${this.gqlField.name}${argsString}: ${this.gqlField.type.toString()}`
},
fieldName() {
return this.gqlField.name
},
fieldArgs() {
return this.gqlField.args || []
},
},
}
</script>

View File

@@ -1,228 +0,0 @@
<template>
<div class="show-if-initialized" :class="{ initialized }">
<pre ref="editor"></pre>
</div>
</template>
<style lang="scss">
.show-if-initialized {
opacity: 0;
&.initialized {
opacity: 1;
}
& > * {
transition: none;
}
}
</style>
<script>
const DEFAULT_THEME = "twilight"
import ace from "ace-builds"
import * as gql from "graphql"
import { getAutocompleteSuggestions } from "graphql-language-service-interface"
import "ace-builds/webpack-resolver"
import "ace-builds/src-noconflict/ext-language_tools"
import debounce from "../../functions/utils/debounce"
export default {
props: {
value: {
type: String,
default: "",
},
theme: {
type: String,
required: false,
},
lang: {
type: String,
default: "json",
},
onRunGQLQuery: {
type: Function,
default: () => {},
},
options: {
type: Object,
default: {},
},
},
data() {
return {
initialized: false,
editor: null,
cacheValue: "",
validationSchema: null,
}
},
watch: {
value(value) {
if (value !== this.cacheValue) {
this.editor.session.setValue(value, 1)
this.cacheValue = value
}
},
theme() {
this.initialized = false
this.editor.setTheme(`ace/theme/${this.defineTheme()}`, () => {
this.$nextTick().then(() => {
this.initialized = true
})
})
},
lang(value) {
this.editor.getSession().setMode(`ace/mode/${value}`)
},
options(value) {
this.editor.setOptions(value)
},
},
mounted() {
let langTools = ace.require("ace/ext/language_tools")
const editor = ace.edit(this.$refs.editor, {
mode: `ace/mode/${this.lang}`,
enableBasicAutocompletion: true,
enableLiveAutocompletion: true,
...this.options,
})
// Set the theme and show the editor only after it's been set to prevent FOUC.
editor.setTheme(`ace/theme/${this.defineTheme()}`, () => {
this.$nextTick().then(() => {
this.initialized = true
})
})
// Set the theme and show the editor only after it's been set to prevent FOUC.
editor.setTheme(`ace/theme/${this.defineTheme()}`, () => {
this.$nextTick().then(() => {
this.initialized = true
})
})
const completer = {
getCompletions: (editor, _session, { row, column }, _prefix, callback) => {
if (this.validationSchema) {
const completions = getAutocompleteSuggestions(this.validationSchema, editor.getValue(), {
line: row,
character: column,
})
callback(
null,
completions.map(({ label, detail }) => ({
name: label,
value: label,
score: 1.0,
meta: detail,
}))
)
} else {
callback(null, [])
}
},
}
langTools.setCompleters([completer])
if (this.value) editor.setValue(this.value, 1)
this.editor = editor
this.cacheValue = this.value
editor.commands.addCommand({
name: "runGQLQuery",
exec: () => this.onRunGQLQuery(this.editor.getValue()),
bindKey: {
mac: "cmd-enter",
win: "ctrl-enter",
},
})
editor.commands.addCommand({
name: "prettifyGQLQuery",
exec: () => this.prettifyQuery(),
bindKey: {
mac: "cmd-p",
win: "ctrl-p",
},
})
editor.on("change", () => {
const content = editor.getValue()
this.$emit("input", content)
this.parseContents(content)
this.cacheValue = content
})
this.parseContents(this.value)
},
methods: {
prettifyQuery() {
try {
this.value = gql.print(gql.parse(this.editor.getValue()))
} catch (e) {
this.$toast.error(`${this.$t("gql_prettify_invalid_query")}`, {
icon: "error",
})
}
},
defineTheme() {
if (this.theme) {
return this.theme
} else {
return this.$store.state.postwoman.settings.THEME_ACE_EDITOR || DEFAULT_THEME
}
},
setValidationSchema(schema) {
this.validationSchema = schema
this.parseContents(this.cacheValue)
},
parseContents: debounce(function(content) {
if (content !== "") {
try {
const doc = gql.parse(content)
if (this.validationSchema) {
this.editor.session.setAnnotations(
gql.validate(this.validationSchema, doc).map(({ locations, message }) => ({
row: locations[0].line - 1,
column: locations[0].column - 1,
text: message,
type: "error",
}))
)
}
} catch (e) {
this.editor.session.setAnnotations([
{
row: e.locations[0].line - 1,
column: e.locations[0].column - 1,
text: e.message,
type: "error",
},
])
}
} else {
this.editor.session.setAnnotations([])
}
}, 2000),
},
beforeDestroy() {
this.editor.destroy()
},
}
</script>

View File

@@ -1,44 +0,0 @@
<template>
<div class="type-box">
<div class="type-title">{{ gqlType.name }}</div>
<div class="type-desc" v-if="gqlType.description">
{{ gqlType.description }}
</div>
<div v-if="gqlType.getFields">
<h5>{{ $t("fields") }}</h5>
<div v-for="field in gqlType.getFields()" :key="field.name">
<gql-field :gqlField="field" :jumpTypeCallback="jumpTypeCallback" />
</div>
</div>
</div>
</template>
<style scoped lang="scss">
.type-box {
padding: 16px;
margin: 4px 0;
}
.type-desc {
color: var(--fg-light-color);
margin-top: 4px;
}
.type-title {
font-weight: 700;
}
</style>
<script>
export default {
components: {
"gql-field": () => import("./field"),
},
props: {
gqlType: {},
jumpTypeCallback: Function,
},
}
</script>

View File

@@ -1,34 +0,0 @@
<template>
<span class="typelink" @click="jumpToType">{{ typeString }}</span>
</template>
<style scoped lang="scss">
.typelink {
color: var(--ac-color);
font-family: "Roboto Mono", monospace;
font-weight: 400;
cursor: pointer;
}
</style>
<script>
export default {
props: {
gqlType: null,
// (typeName: string) => void
jumpTypeCallback: Function,
},
computed: {
typeString() {
return this.gqlType.toString()
},
},
methods: {
jumpToType() {
this.jumpTypeCallback(this.gqlType)
},
},
}
</script>

View File

@@ -1,159 +0,0 @@
<template>
<div>
<p class="info">
{{ $t("donate_info1") }}
</p>
<p class="info">
{{ $t("donate_info2") }}
</p>
<div class="flex-wrap">
<span>
<a
href="https://opencollective.com/postwoman"
target="_blank"
rel="noopener"
v-tooltip.right="$t('one_time_recurring')"
>
<button class="icon">
<i class="material-icons">donut_large</i>
<span>{{ $t("open_collective") }}</span>
</button>
</a>
🔥 HOT
</span>
</div>
<div>
<a
href="https://www.paypal.me/liyascthomas"
target="_blank"
rel="noopener"
v-tooltip.right="$t('one_time')"
>
<button class="icon">
<i class="material-icons">payment</i>
<span>{{ $t("paypal") }}</span>
</button>
</a>
</div>
<div>
<a
href="https://www.patreon.com/liyasthomas"
target="_blank"
rel="noopener"
v-tooltip.right="$t('recurring')"
>
<button class="icon">
<i class="material-icons">local_parking</i>
<span>{{ $t("patreon") }}</span>
</button>
</a>
</div>
<div class="flex-wrap">
<span>
<a
href="https://github.com/sponsors/postwoman-io"
target="_blank"
rel="noopener"
v-tooltip.right="$t('recurring')"
>
<button class="icon">
<i class="material-icons">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
class="material-icons"
>
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
/>
</svg>
</i>
<span>GitHub</span>
</button>
</a>
🎉 NEW
</span>
</div>
<hr />
<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>.
</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>.
</p>
<div class="contributors">
<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>
</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>.
</p>
<div class="contributors">
<a href="https://opencollective.com/postwoman">
<img src="https://opencollective.com/postwoman/individuals.svg" />
</a>
</div>
<h3 class="title">Code Contributors</h3>
<p class="info">
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>
</div>
</div>
</template>
<style scoped lang="scss">
.contributors {
display: flex;
flex-flow: row nowrap;
overflow: auto;
padding: 8px 0;
margin: 8px 0;
max-width: calc(100vw - 72px);
}
</style>
<script>
export default {}
</script>

View File

@@ -1,98 +0,0 @@
<template>
<footer class="footer">
<div class="flex-wrap">
<span v-if="version.name" class="mono">
<a
class="footer-link"
:href="'https://github.com/liyasthomas/postwoman/releases/tag/' + version.name"
target="_blank"
rel="noopener"
v-tooltip="'GitHub'"
>
{{ version.name }}
</a>
<a
class="footer-link hide-on-small-screen"
href="https://www.netlify.com"
target="_blank"
rel="noopener"
>
Powered by Netlify
</a>
<!-- <span v-if="version.hash">
-
<a
:href="'https://github.com/liyasthomas/postwoman/commit/' + version.hash"
target="_blank"
rel="noopener"
>{{version.hash}}</a>
</span> -->
<!-- <span v-if="version.variant">({{version.variant}})</span> -->
</span>
<span>
<a href="https://liyasthomas.web.app" target="_blank" rel="noopener">
<button class="icon" v-tooltip="'Liyas Thomas'">
🦄
</button>
</a>
<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>
</a>
<v-popover>
<button class="icon" v-tooltip="$t('choose_language')">
<i class="material-icons">translate</i>
</button>
<template slot="popover">
<div v-for="locale in availableLocales" :key="locale.code">
<nuxt-link :to="switchLocalePath(locale.code)">
<button class="icon" v-close-popover>
{{ locale.name }}
</button>
</nuxt-link>
</div>
</template>
</v-popover>
</span>
</div>
</footer>
</template>
<style scoped lang="scss">
.footer {
flex-flow: column nowrap;
}
.footer-link {
margin: 8px 16px;
color: var(--fg-light-color);
&:hover {
color: var(--fg-color);
}
}
</style>
<script>
import * as version from "../../.postwoman/version.json"
export default {
data() {
return {
version: {},
}
},
beforeMount() {
// Set version data
this.version = version.default
},
computed: {
availableLocales() {
return this.$i18n.locales.filter(i => i.code !== this.$i18n.locale)
},
},
}
</script>

View File

@@ -1,411 +0,0 @@
<template>
<header class="header">
<div class="flex-wrap">
<span class="slide-in">
<nuxt-link :to="localePath('index')">
<h1 class="logo">Postwoman</h1>
</nuxt-link>
</span>
<span>
<a
href="https://github.com/liyasthomas/postwoman"
target="_blank"
aria-label="GitHub"
rel="noopener"
>
<button class="icon" aria-label="GitHub" v-tooltip="'GitHub'">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
class="material-icons"
>
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
/>
</svg>
</button>
</a>
<button
class="icon"
id="installPWA"
@click.prevent="showInstallPrompt()"
v-tooltip="$t('install_pwa')"
>
<i class="material-icons">offline_bolt</i>
</button>
<v-popover v-if="fb.currentUser === null">
<button class="icon" v-tooltip="$t('login_with')">
<i class="material-icons">vpn_key</i>
</button>
<template slot="popover">
<login />
</template>
</v-popover>
<v-popover v-else>
<button
class="icon"
v-tooltip="
(fb.currentUser.displayName || '<label><i>Name not found</i></label>') +
'<br>' +
(fb.currentUser.email || '<label><i>Email not found</i></label>')
"
aria-label="Account"
>
<img
v-if="fb.currentUser.photoURL"
:src="fb.currentUser.photoURL"
class="material-icons"
alt="Profile image"
/>
<i v-else class="material-icons">account_circle</i>
</button>
<template slot="popover">
<div>
<nuxt-link :to="localePath('settings')" v-close-popover>
<button class="icon">
<i class="material-icons">settings</i>
<span>
{{ $t("settings") }}
</span>
</button>
</nuxt-link>
</div>
<div>
<logout />
</div>
</template>
</v-popover>
<v-popover>
<button class="icon" v-tooltip="$t('more')">
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
<div>
<button class="icon" @click="showExtensions = true" v-close-popover>
<i class="material-icons">extension</i>
<span>{{ $t("extensions") }}</span>
</button>
</div>
<div>
<button class="icon" @click="showShortcuts = true" v-close-popover>
<i class="material-icons">keyboard</i>
<span>{{ $t("shortcuts") }}</span>
</button>
</div>
<div>
<button class="icon" @click="showSupport = true" v-close-popover>
<i class="material-icons">favorite</i>
<span>{{ $t("support_us") }}</span>
</button>
</div>
<div>
<button
class="icon"
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
>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"
/>
</svg>
<span>{{ $t("tweet") }}</span>
</button>
<button
v-if="navigatorShare"
class="icon"
@click="nativeShare"
v-close-popover
v-tooltip="$t('more')"
>
<i class="material-icons">share</i>
</button>
</div>
</template>
</v-popover>
</span>
</div>
<modal v-if="showExtensions" @close="showExtensions = false">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("extensions") }}</h3>
<div>
<button class="icon" @click="showExtensions = false">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<p class="info">
{{ $t("extensions_info1") }}
</p>
<div>
<a
href="https://addons.mozilla.org/en-US/firefox/addon/postwoman"
target="_blank"
rel="noopener"
>
<button class="icon">
<svg
class="material-icons"
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path
d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm8.003 8.657c-1.276-3.321-4.46-4.605-5.534-4.537 3.529 1.376 4.373 6.059 4.06 7.441-.307-1.621-1.286-3.017-1.872-3.385 3.417 8.005-4.835 10.465-7.353 7.687.649.168 1.931.085 2.891-.557.898-.602.983-.638 1.56-.683.686-.053-.041-1.406-1.539-1.177-.616.094-1.632.819-2.88.341-1.508-.576-1.46-2.634.096-2.015.337-.437.088-1.263.088-1.263.452-.414 1.022-.706 1.37-.911.228-.135.829-.507.795-1.23-.123-.096-.32-.219-.766-.193-1.736.11-1.852-.518-1.967-.808.078-.668.524-1.534 1.361-1.931-1.257-.193-2.28.397-2.789 1.154-.809-.174-1.305-.183-2.118-.031-.316-.24-.666-.67-.878-1.181 1.832-2.066 4.499-3.378 7.472-3.378 5.912 0 8.263 4.283 8.003 6.657z"
/>
</svg>
<span>Firefox</span>
<span class="icon" v-if="firefoxExtInstalled" v-tooltip="$t('installed')">
<i class="material-icons">done</i>
</span>
</button>
</a>
</div>
<div>
<a
href="https://chrome.google.com/webstore/detail/postwoman-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld"
target="_blank"
rel="noopener"
>
<button class="icon">
<svg
class="material-icons"
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path
d="M2.897 4.181c2.43-2.828 5.763-4.181 9.072-4.181 4.288 0 8.535 2.273 10.717 6.554-2.722.001-6.984 0-9.293 0-1.674.001-2.755-.037-3.926.579-1.376.724-2.415 2.067-2.777 3.644l-3.793-6.596zm5.11 7.819c0 2.2 1.789 3.99 3.988 3.99s3.988-1.79 3.988-3.99-1.789-3.991-3.988-3.991-3.988 1.791-3.988 3.991zm5.536 5.223c-2.238.666-4.858-.073-6.293-2.549-1.095-1.891-3.989-6.933-5.305-9.225-1.33 2.04-1.945 4.294-1.945 6.507 0 5.448 3.726 10.65 9.673 11.818l3.87-6.551zm2.158-9.214c1.864 1.734 2.271 4.542 1.007 6.719-.951 1.641-3.988 6.766-5.46 9.248 7.189.443 12.752-5.36 12.752-11.972 0-1.313-.22-2.66-.69-3.995h-7.609z"
/>
</svg>
<span>Chrome</span>
<span class="icon" v-if="chromeExtInstalled" v-tooltip="$t('installed')">
<i class="material-icons">done</i>
</span>
</button>
</a>
</div>
</div>
<div slot="footer"></div>
</modal>
<modal v-if="showShortcuts" @close="showShortcuts = false">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("shortcuts") }}</h3>
<div>
<button class="icon" @click="showShortcuts = false">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<div>
<label>{{ $t("send_request") }}</label>
<kbd>{{ getSpecialKey() }} G</kbd>
</div>
<div>
<label>{{ $t("save_to_collections") }}</label>
<kbd>{{ getSpecialKey() }} S</kbd>
</div>
<div>
<label>{{ $t("copy_request_link") }}</label>
<kbd>{{ getSpecialKey() }} K</kbd>
</div>
<div>
<label>{{ $t("reset_request") }}</label>
<kbd>{{ getSpecialKey() }} L</kbd>
</div>
</div>
<div slot="footer"></div>
</modal>
<modal v-if="showSupport" @close="showSupport = false">
<div slot="header">
<ul>
<li>
<div class="flex-wrap">
<h3 class="title">{{ $t("support_us") }}</h3>
<div>
<button class="icon" @click="showSupport = false">
<i class="material-icons">close</i>
</button>
</div>
</div>
</li>
</ul>
</div>
<div slot="body">
<contributors />
</div>
<div slot="footer"></div>
</modal>
</header>
</template>
<style scoped lang="scss">
@keyframes slideIn {
0% {
opacity: 0;
left: -16px;
}
100% {
opacity: 1;
left: 0px;
}
}
.slide-in {
position: relative;
animation: slideIn 0.2s forwards ease-in-out;
}
.logo {
font-size: 22px;
&:hover {
color: var(--ac-color);
}
}
</style>
<script>
import intializePwa from "../../assets/js/pwa"
import { hasExtensionInstalled } from "../../functions/strategies/ExtensionStrategy"
import { hasChromeExtensionInstalled } from "../../functions/strategies/ChromeStrategy"
import { getPlatformSpecialKey } from "../../functions/platformutils"
import firebase from "firebase/app"
import { fb } from "../../functions/fb"
export default {
components: {
modal: () => import("../ui/modal"),
login: () => import("../firebase/login"),
logout: () => import("../firebase/logout"),
contributors: () => import("./contributors"),
},
data() {
return {
// Once the PWA code is initialized, this holds a method
// that can be called to show the user the installation
// prompt.
showInstallPrompt: null,
showExtensions: false,
showShortcuts: false,
showSupport: false,
fb,
navigatorShare: navigator.share,
}
},
mounted() {
// Initializes the PWA code - checks if the app is installed,
// etc.
;(async () => {
this.showInstallPrompt = await intializePwa()
let cookiesAllowed = localStorage.getItem("cookiesAllowed") === "yes"
if (!cookiesAllowed) {
this.$toast.show(this.$t("we_use_cookies"), {
icon: "info",
duration: 5000,
theme: "toasted-primary",
action: [
{
text: this.$t("dismiss"),
onClick: (e, toastObject) => {
localStorage.setItem("cookiesAllowed", "yes")
toastObject.goAway(0)
},
},
],
})
}
let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"
// Just return if showExtensionsToast is "no"
if (!showExtensionsToast) return
setTimeout(() => {
if (!(hasExtensionInstalled() || hasChromeExtensionInstalled())) {
this.$toast.show(this.$t("extensions_info2"), {
icon: "extension",
duration: 5000,
theme: "toasted-primary",
action: [
{
text: this.$t("yes"),
onClick: (e, toastObject) => {
this.showExtensions = true
localStorage.setItem("showExtensionsToast", "yes")
toastObject.goAway(0)
},
},
{
text: this.$t("no"),
onClick: (e, toastObject) => {
this.$store.commit("setMiscState", {
value: false,
attribute: "showExtensionsToast",
})
localStorage.setItem("showExtensionsToast", "no")
toastObject.goAway(0)
},
},
],
})
}
}, 15000)
this._keyListener = function(e) {
if (e.key === "Escape") {
e.preventDefault()
this.showExtensions = this.showShortcuts = this.showSupport = false
}
}
document.addEventListener("keydown", this._keyListener.bind(this))
})()
},
methods: {
getSpecialKey: getPlatformSpecialKey,
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
}
},
},
computed: {
availableLocales() {
return this.$i18n.locales.filter(i => i.code !== this.$i18n.locale)
},
},
}
</script>

View File

@@ -1,488 +0,0 @@
<template>
<pw-section class="green" icon="history" :label="$t('history')" ref="history">
<ul>
<div class="show-on-large-screen">
<li id="filter-history">
<input
aria-label="Search"
type="search"
:placeholder="$t('search')"
v-model="filterText"
/>
</li>
<button class="icon">
<i class="material-icons">search</i>
</button>
</div>
</ul>
<virtual-list
class="virtual-list"
:class="{ filled: filteredHistory.length }"
:size="185"
:remain="Math.min(5, filteredHistory.length)"
>
<ul v-for="(entry, index) in filteredHistory" :key="index" class="entry">
<div class="show-on-large-screen">
<button
class="icon"
:class="{ stared: entry.star }"
@click="toggleStar(entry)"
v-tooltip="{
content: !entry.star ? $t('add_star') : $t('remove_star'),
}"
>
<i class="material-icons">
{{ entry.star ? "star" : "star_border" }}
</i>
</button>
<li>
<input
:aria-label="$t('label')"
type="text"
readonly
:value="entry.label"
:placeholder="$t('no_label')"
class="bg-color"
/>
</li>
<!-- <li>
<button
class="icon"
v-tooltip="{
content: !entry.usesScripts
? 'No pre-request script'
: 'Used pre-request script'
}"
>
<i class="material-icons">
{{ !entry.usesScripts ? "http" : "code" }}
</i>
</button>
</li> -->
<v-popover>
<button class="tooltip-target icon" v-tooltip="$t('options')">
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
<div>
<button
class="icon"
:id="'use-button#' + index"
@click="useHistory(entry)"
:aria-label="$t('edit')"
v-close-popover
>
<i class="material-icons">restore</i>
<span>{{ $t("restore") }}</span>
</button>
</div>
<div>
<button
class="icon"
:id="'delete-button#' + index"
@click="deleteHistory(entry)"
:aria-label="$t('delete')"
v-close-popover
>
<i class="material-icons">delete</i>
<span>{{ $t("delete") }}</span>
</button>
</div>
</template>
</v-popover>
</div>
<div class="show-on-large-screen">
<li class="method-list-item">
<input
:aria-label="$t('method')"
type="text"
readonly
:value="entry.method"
:class="findEntryStatus(entry).className"
:style="{ '--status-code': entry.status }"
/>
<span
class="entry-status-code"
:class="findEntryStatus(entry).className"
:style="{ '--status-code': entry.status }"
>{{ entry.status }}</span
>
</li>
</div>
<div class="show-on-large-screen">
<li>
<input
:aria-label="$t('url')"
type="text"
readonly
:value="entry.url"
:placeholder="$t('no_url')"
/>
</li>
<li>
<input
:aria-label="$t('path')"
type="text"
readonly
:value="entry.path"
:placeholder="$t('no_path')"
/>
</li>
</div>
<transition name="fade">
<div v-if="showMore" class="show-on-large-screen">
<li>
<input
:aria-label="$t('time')"
type="text"
readonly
:value="entry.time"
v-tooltip="entry.date"
/>
</li>
<li>
<input
:aria-label="$t('duration')"
type="text"
readonly
:value="entry.duration"
:placeholder="$t('no_duration')"
/>
</li>
<li>
<input
:aria-label="$t('prerequest_script')"
type="text"
readonly
:value="entry.preRequestScript"
:placeholder="$t('no_prerequest_script')"
/>
</li>
</div>
</transition>
</ul>
</virtual-list>
<ul :class="{ hidden: filteredHistory.length != 0 || history.length === 0 }">
<li>
<label>{{ $t("nothing_found") }} "{{ filterText }}"</label>
</li>
</ul>
<p v-if="history.length === 0" class="info">
{{ $t("history_empty") }}
</p>
<div v-if="history.length !== 0">
<div class="flex-wrap" v-if="!isClearingHistory">
<button
class="icon"
id="clear-history-button"
:disabled="history.length === 0"
@click="enableHistoryClearing"
>
<i class="material-icons">clear_all</i>
<span>{{ $t("clear_all") }}</span>
</button>
<v-popover>
<button class="tooltip-target icon" v-tooltip="$t('sort')">
<i class="material-icons">sort</i>
</button>
<template slot="popover">
<div>
<button class="icon" @click="sort_by_label()" v-close-popover>
<i class="material-icons">sort_by_alpha</i>
<span>{{ $t("label") }}</span>
</button>
</div>
<div>
<button class="icon" @click="sort_by_time()" v-close-popover>
<i class="material-icons">access_time</i>
<span>{{ $t("time") }}</span>
</button>
</div>
<div>
<button class="icon" @click="sort_by_status_code()" v-close-popover>
<i class="material-icons">assistant</i>
<span>{{ $t("status") }}</span>
</button>
</div>
<div>
<button class="icon" @click="sort_by_url()" v-close-popover>
<i class="material-icons">language</i>
<span>{{ $t("url") }}</span>
</button>
</div>
<div>
<button class="icon" @click="sort_by_path()" v-close-popover>
<i class="material-icons">timeline</i>
<span>{{ $t("path") }}</span>
</button>
</div>
<div v-if="showMore">
<button class="icon" @click="sort_by_duration()" v-close-popover>
<i class="material-icons">timer</i>
<span>{{ $t("duration") }}</span>
</button>
</div>
<div>
<button class="icon" @click="toggleCollapse()">
<i class="material-icons">
{{ !showMore ? "first_page" : "last_page" }}
</i>
<span>{{ !showMore ? $t("show_more") : $t("hide_more") }}</span>
</button>
</div>
</template>
</v-popover>
</div>
<div class="flex-wrap" v-else>
<label for="clear-history-button" class="info">
{{ $t("are_you_sure") }}
</label>
<div>
<button
class="icon"
id="confirm-clear-history-button"
@click="clearHistory"
v-tooltip="$t('yes')"
>
<i class="material-icons">done</i>
</button>
<button
class="icon"
id="reject-clear-history-button"
@click="disableHistoryClearing"
v-tooltip="$t('no')"
>
<i class="material-icons">close</i>
</button>
</div>
</div>
</div>
</pw-section>
</template>
<style scoped lang="scss">
.virtual-list {
max-height: calc(100vh - 294px);
[readonly] {
cursor: default;
}
}
.fade-enter-active,
.fade-leave-active {
transition: all 0.2s;
}
.fade-enter,
.fade-leave-to {
opacity: 0;
}
.stared {
color: #f8e81c !important;
}
ul,
ol {
flex-direction: column;
}
.method-list-item {
position: relative;
span {
position: absolute;
top: 10px;
right: 10px;
font-family: "Roboto Mono", monospace;
font-weight: 400;
background-color: transparent;
padding: 2px 6px;
border-radius: 8px;
}
}
.entry {
border-bottom: 1px dashed var(--brd-color);
padding: 0 0 8px;
}
@media (max-width: 720px) {
.virtual-list.filled {
min-height: 320px;
}
.labels {
display: none;
}
}
</style>
<script>
import { findStatusGroup } from "../../pages/index"
import { fb } from "../../functions/fb"
const updateOnLocalStorage = (propertyName, property) =>
window.localStorage.setItem(propertyName, JSON.stringify(property))
export default {
components: {
"pw-section": () => import("../layout/section"),
VirtualList: () => import("vue-virtual-scroll-list"),
},
data() {
return {
history:
fb.currentUser !== null
? fb.currentHistory
: JSON.parse(window.localStorage.getItem("history")) || [],
filterText: "",
showFilter: false,
isClearingHistory: false,
reverse_sort_label: false,
reverse_sort_time: false,
reverse_sort_status_code: false,
reverse_sort_url: false,
reverse_sort_path: false,
showMore: false,
}
},
computed: {
filteredHistory() {
this.history =
fb.currentUser !== null
? fb.currentHistory
: JSON.parse(window.localStorage.getItem("history")) || []
return this.history.filter(entry => {
const filterText = this.filterText.toLowerCase()
return Object.keys(entry).some(key => {
let value = entry[key]
value = typeof value !== "string" ? value.toString() : value
return value.toLowerCase().includes(filterText)
})
})
},
},
methods: {
clearHistory() {
if (fb.currentUser !== null) {
fb.clearHistory()
}
this.history = []
this.filterText = ""
this.disableHistoryClearing()
updateOnLocalStorage("history", this.history)
this.$toast.error(this.$t("history_deleted"), {
icon: "delete",
})
},
useHistory(entry) {
this.$emit("useHistory", entry)
},
findEntryStatus(entry) {
const foundStatusGroup = findStatusGroup(entry.status)
return (
foundStatusGroup || {
className: "",
}
)
},
deleteHistory(entry) {
if (fb.currentUser !== null) {
fb.deleteHistory(entry)
}
this.history.splice(this.history.indexOf(entry), 1)
if (this.history.length === 0) {
this.filterText = ""
}
updateOnLocalStorage("history", this.history)
this.$toast.error(this.$t("deleted"), {
icon: "delete",
})
},
addEntry(entry) {
this.history.push(entry)
updateOnLocalStorage("history", this.history)
},
enableHistoryClearing() {
if (!this.history || !this.history.length) return
this.isClearingHistory = true
},
disableHistoryClearing() {
this.isClearingHistory = false
},
sort_by_time() {
let byDate = this.history.slice(0)
byDate.sort((a, b) => {
let date_a = a.date.split("/")
let date_b = b.date.split("/")
let time_a = a.time.split(":")
let time_b = b.time.split(":")
let final_a = new Date(date_a[2], date_a[1], date_a[0], time_a[0], time_a[1], time_a[2])
let final_b = new Date(date_b[2], date_b[1], date_b[0], time_b[0], time_b[1], time_b[2])
if (this.reverse_sort_time) return final_b - final_a
else return final_a - final_b
})
this.history = byDate
this.reverse_sort_time = !this.reverse_sort_time
},
sort_by_status_code() {
let byCode = this.history.slice(0)
byCode.sort((a, b) => {
if (this.reverse_sort_status_code) return b.status - a.status
else return a.status - b.status
})
this.history = byCode
this.reverse_sort_status_code = !this.reverse_sort_status_code
},
sort_by_url() {
let byUrl = this.history.slice(0)
byUrl.sort((a, b) => {
if (this.reverse_sort_url) return a.url === b.url ? 0 : +(a.url < b.url) || -1
else return a.url === b.url ? 0 : +(a.url > b.url) || -1
})
this.history = byUrl
this.reverse_sort_url = !this.reverse_sort_url
},
sort_by_label() {
let byLabel = this.history.slice(0)
byLabel.sort((a, b) => {
if (this.reverse_sort_label) return a.label === b.label ? 0 : +(a.label < b.label) || -1
else return a.label === b.label ? 0 : +(a.label > b.label) || -1
})
this.history = byLabel
this.reverse_sort_label = !this.reverse_sort_label
},
sort_by_path() {
let byPath = this.history.slice(0)
byPath.sort((a, b) => {
if (this.reverse_sort_path) return a.path === b.path ? 0 : +(a.path < b.path) || -1
else return a.path === b.path ? 0 : +(a.path > b.path) || -1
})
this.history = byPath
this.reverse_sort_path = !this.reverse_sort_path
},
sort_by_duration() {
let byDuration = this.history.slice(0)
byDuration.sort((a, b) => {
if (this.reverse_sort_duration)
return a.duration === b.duration ? 0 : +(a.duration < b.duration) || -1
else return a.duration === b.duration ? 0 : +(a.duration > b.duration) || -1
})
this.history = byDuration
this.reverse_sort_duration = !this.reverse_sort_duration
},
toggleCollapse() {
this.showMore = !this.showMore
},
toggleStar(entry) {
if (fb.currentUser !== null) {
fb.toggleStar(entry, !entry.star)
}
entry.star = !entry.star
updateOnLocalStorage("history", this.history)
},
},
}
</script>

View File

@@ -1,56 +0,0 @@
<template>
<svg
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 612.001 612.001"
style="enable-background:new 0 0 612.001 612.001;"
xml:space="preserve"
>
<defs id="defs11" />
<g id="g3826" transform="translate(-516.40798,-163.88978)">
<circle
:fill="color"
transform="scale(1,-1)"
style="stroke-width:1.19531453"
r="178.70923"
cy="-501.55591"
cx="822.40845"
id="circle3814"
/>
<g id="g3820" transform="translate(516.40798,163.89028)">
<g id="g3818">
<path
:fill="color"
id="path3816"
data-old_color="#202124"
class="active-path"
data-original="#202124"
d="M 64.601,236.822 C 64.601,394.256 192.786,612 306.001,612 412.582,612 547.4,394.256 547.4,236.822 547.4,79.388 439.322,0 306,0 172.678,0 64.601,79.388 64.601,236.822 Z m 304.12,116.415 c 29.475,-29.475 70.598,-40.195 108.552,-32.173 8.021,37.954 -2.698,79.077 -32.173,108.552 -29.475,29.475 -70.598,40.195 -108.552,32.173 -8.022,-37.955 2.698,-79.078 32.173,-108.552 z M 134.727,321.063 c 37.954,-8.021 79.077,2.698 108.552,32.173 29.475,29.475 40.195,70.598 32.173,108.552 -37.954,8.021 -79.077,-2.698 -108.552,-32.173 -29.475,-29.476 -40.194,-70.598 -32.173,-108.552 z"
/>
</g>
</g>
</g>
</svg>
</template>
<style scoped lang="scss">
#circle3814 {
/* fill: var(--fg-color); */
fill: transparent;
}
/* #path3816 {
fill: var(--bg-color);
} */
</style>
<script>
export default {
props: {
color: {
type: String,
},
},
}
</script>

View File

@@ -1,55 +0,0 @@
<template>
<fieldset :id="label.toLowerCase()" :class="{ 'no-colored-frames': !frameColorsEnabled }">
<legend @click.prevent="collapse">
<span>{{ label }}</span>
<i class="material-icons">
{{ isCollapsed(label) ? "expand_more" : "expand_less" }}
</i>
</legend>
<div class="collapsible" :class="{ hidden: isCollapsed(label.toLowerCase()) }">
<slot />
</div>
</fieldset>
</template>
<style scoped lang="scss">
fieldset.no-colored-frames legend {
color: var(--fg-color);
}
</style>
<script>
export default {
computed: {
frameColorsEnabled() {
return this.$store.state.postwoman.settings.FRAME_COLORS_ENABLED || false
},
sectionString() {
return `${this.$route.path.replace(/\/+$/, "")}/${this.label}`
},
},
props: {
label: {
type: String,
default: "Section",
},
collapsed: {
type: Boolean,
},
},
methods: {
collapse({ target }) {
const parent = target.parentNode.parentNode
parent.querySelector(".collapsible").classList.toggle("hidden")
// Save collapsed section into the collapsedSections array
this.$store.commit("setCollapsedSection", this.sectionString)
},
isCollapsed(label) {
return this.$store.state.theme.collapsedSections.includes(this.sectionString) || false
},
},
}
</script>

View File

@@ -1,304 +0,0 @@
<template>
<aside class="nav-first">
<nav class="primary-nav">
<!--
We're using manual checks for linkActive because the query string
seems to mess up the nuxt-link active class.
-->
<nuxt-link
:to="localePath('index')"
:class="linkActive('/')"
v-tooltip.right="$t('home')"
:aria-label="$t('home')"
>
<logo alt class="material-icons" style="height: 24px;"></logo>
</nuxt-link>
<nuxt-link
:to="localePath('realtime')"
:class="linkActive('/realtime')"
v-tooltip.right="$t('realtime')"
>
<i class="material-icons">settings_input_hdmi</i>
</nuxt-link>
<nuxt-link
:to="localePath('graphql')"
:class="linkActive('/graphql')"
v-tooltip.right="$t('graphql')"
:aria-label="$t('graphql')"
>
<svg
class="material-icons"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
x="0px"
y="0px"
viewBox="0 0 400 400"
>
<g>
<g>
<g>
<rect
x="122"
y="-0.4"
transform="matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)"
width="16.6"
height="320.3"
/>
</g>
</g>
<g>
<g>
<rect x="39.8" y="272.2" width="320.3" height="16.6" />
</g>
</g>
<g>
<g>
<rect
x="37.9"
y="312.2"
transform="matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)"
width="185"
height="16.6"
/>
</g>
</g>
<g>
<g>
<rect
x="177.1"
y="71.1"
transform="matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)"
width="185"
height="16.6"
/>
</g>
</g>
<g>
<g>
<rect
x="122.1"
y="-13"
transform="matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)"
width="16.6"
height="185"
/>
</g>
</g>
<g>
<g>
<rect
x="109.6"
y="151.6"
transform="matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)"
width="320.3"
height="16.6"
/>
</g>
</g>
<g>
<g><rect x="52.5" y="107.5" width="16.6" height="185" /></g>
</g>
<g>
<g>
<rect x="330.9" y="107.5" width="16.6" height="185" />
</g>
</g>
<g>
<g>
<rect
x="262.4"
y="240.1"
transform="matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)"
width="14.5"
height="160.9"
/>
</g>
</g>
<path
d="M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8C373.5,259.9,379.2,281.2,369.5,297.9"
/>
<path
d="M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8C94.8,99,100.5,120.3,90.9,137"
/>
<path
d="M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7C61.4,320.3,40.1,314.6,30.5,297.9"
/>
<path
d="M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7C340.1,159.4,318.7,153.7,309.1,137"
/>
<path
d="M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9C234.9,380.1,219.3,395.8,200,395.8"
/>
<path
d="M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9C234.9,58.4,219.3,74,200,74"
/>
</g>
</svg>
</nuxt-link>
<nuxt-link
:to="localePath('doc')"
:class="linkActive('/doc')"
v-tooltip.right="$t('documentation')"
:aria-label="$t('documentation')"
>
<i class="material-icons">books</i>
</nuxt-link>
<nuxt-link
:to="localePath('settings')"
:class="linkActive('/settings')"
v-tooltip.right="$t('settings')"
:aria-label="$t('settings')"
>
<i class="material-icons">settings</i>
</nuxt-link>
</nav>
<div v-if="$route.path === '/'">
<nav class="secondary-nav">
<ul>
<li>
<a href="#request" v-tooltip.right="$t('request')">
<i class="material-icons">cloud_upload</i>
</a>
</li>
<li>
<a href="#options" v-tooltip.right="$t('options')">
<i class="material-icons">toc</i>
</a>
</li>
<li>
<a href="#response" v-tooltip.right="$t('response')">
<i class="material-icons">cloud_download</i>
</a>
</li>
</ul>
</nav>
</div>
<div v-else-if="$route.path === '/realtime'">
<nav class="secondary-nav">
<ul>
<li>
<a href="#request" v-tooltip.right="$t('request')">
<i class="material-icons">cloud_upload</i>
</a>
</li>
<li>
<a href="#response" v-tooltip.right="$t('communication')">
<i class="material-icons">cloud_download</i>
</a>
</li>
</ul>
</nav>
</div>
<div v-else-if="$route.path === '/graphql'">
<nav class="secondary-nav">
<ul>
<li>
<a href="#endpoint" v-tooltip.right="$t('endpoint')">
<i class="material-icons">cloud</i>
</a>
</li>
<li>
<a href="#schema" v-tooltip.right="$t('schema')">
<i class="material-icons">assignment_returned</i>
</a>
</li>
<li>
<a href="#query" v-tooltip.right="$t('query')">
<i class="material-icons">cloud_upload</i>
</a>
</li>
<li>
<a href="#response" v-tooltip.right="$t('response')">
<i class="material-icons">cloud_download</i>
</a>
</li>
</ul>
</nav>
</div>
<div v-else-if="$route.path === '/doc'">
<nav class="secondary-nav">
<ul>
<li>
<a href="#collections" v-tooltip.right="$t('collections')">
<i class="material-icons">folder</i>
</a>
</li>
<li>
<a href="#documentation" v-tooltip.right="'Documentation'">
<i class="material-icons">insert_drive_file</i>
</a>
</li>
</ul>
</nav>
</div>
<div v-else-if="$route.path === '/settings'">
<nav class="secondary-nav">
<ul>
<li>
<a href="#account" v-tooltip.right="$t('account')">
<i class="material-icons">person</i>
</a>
</li>
<li>
<a href="#theme" v-tooltip.right="$t('theme')">
<i class="material-icons">brush</i>
</a>
</li>
<li>
<a href="#extensions" v-tooltip.right="$t('extensions')">
<i class="material-icons">extensions</i>
</a>
</li>
<li>
<a href="#proxy" v-tooltip.right="$t('proxy')">
<i class="material-icons">public</i>
</a>
</li>
</ul>
</nav>
</div>
</aside>
</template>
<script>
export default {
components: {
logo: () => import("./logo"),
},
methods: {
linkActive(path) {
return {
"nuxt-link-exact-active": this.$route.path === path,
"nuxt-link-active": this.$route.path === path,
}
},
},
mounted() {
window.addEventListener("scroll", event => {
let mainNavLinks = document.querySelectorAll("nav ul li a")
let fromTop = window.scrollY
mainNavLinks.forEach(link => {
let section = document.querySelector(link.hash)
if (
section &&
section.offsetTop <= fromTop &&
section.offsetTop + section.offsetHeight > fromTop
) {
link.classList.add("current")
} else {
link.classList.remove("current")
}
})
})
},
watch: {
$route() {
// this.$toast.clear();
},
},
}
</script>

View File

@@ -1,58 +0,0 @@
<template>
<div>
<label for="log">{{ title }}</label>
<div name="log" class="realtime-log" ref="log">
<span v-if="log">
<span v-for="(logEntry, index) in log" :style="{ color: logEntry.color }" :key="index"
>@ {{ logEntry.ts }}{{ getSourcePrefix(logEntry.source) }}{{ logEntry.payload }}</span
>
</span>
<span v-else>{{ $t("waiting_for_connection") }}</span>
</div>
</div>
</template>
<style scoped lang="scss">
div.realtime-log {
margin: 4px;
padding: 8px 16px;
width: calc(100% - 8px);
border-radius: 8px;
background-color: var(--bg-dark-color);
color: var(--fg-color);
height: 256px;
overflow: auto;
&,
span {
font-size: 16px;
font-family: "Roboto Mono", monospace;
font-weight: 400;
}
span {
display: block;
white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
}
}
</style>
<script>
import { getSourcePrefix } from "~/functions/utils/string"
export default {
props: ["log", "title"],
methods: {
getSourcePrefix,
},
updated: function() {
this.$nextTick(function() {
if (this.$refs.log) {
this.$refs.log.scrollBy(0, this.$refs.log.scrollHeight + 100)
}
})
},
}
</script>

View File

@@ -1,261 +0,0 @@
<template>
<div>
<pw-section class="blue" :label="$t('request')">
<ul>
<li>
<label for="mqtt-url">{{ $t("url") }}</label>
<input id="mqtt-url" type="url" v-model="url" spellcheck="false" />
</li>
<div>
<li>
<label for="connect" class="hide-on-small-screen">&nbsp;</label>
<button id="connect" :disabled="!validUrl" @click="toggleConnection">
{{ this.connectionState ? $t("disconnect") : $t("connect") }}
<span>
<i class="material-icons">{{ !connectionState ? "sync" : "sync_disabled" }}</i>
</span>
</button>
</li>
</div>
</ul>
</pw-section>
<pw-section class="blue" :label="$t('communication')">
<ul>
<li>
<realtime-log :title="$t('log')" :log="this.log" />
</li>
</ul>
<ul>
<li>
<label for="pub_topic">{{ $t("mqtt_topic") }}</label>
<input id="pub_topic" type="text" v-model="pub_topic" spellcheck="false" />
</li>
<li>
<label for="mqtt-message">{{ $t("message") }}</label>
<input id="mqtt-message" type="text" v-model="msg" spellcheck="false" />
</li>
<div>
<li>
<label for="publish" class="hide-on-small-screen">&nbsp;</label>
<button id="publish" name="get" :disabled="!canpublish" @click="publish">
{{ $t("mqtt_publish") }}
<span>
<i class="material-icons">send</i>
</span>
</button>
</li>
</div>
</ul>
<ul>
<li>
<label for="sub_topic">{{ $t("mqtt_topic") }}</label>
<input id="sub_topic" type="text" v-model="sub_topic" spellcheck="false" />
</li>
<div>
<li>
<label for="subscribe" class="hide-on-small-screen">&nbsp;</label>
<button id="subscribe" name="get" :disabled="!cansubscribe" @click="toggleSubscription">
{{ subscriptionState ? $t("mqtt_unsubscribe") : $t("mqtt_subscribe") }}
<span>
<i class="material-icons">{{ subscriptionState ? "sync_disabled" : "sync" }}</i>
</span>
</button>
</li>
</div>
</ul>
</pw-section>
</div>
</template>
<script>
import Paho from "paho-mqtt"
import { wsValid } from "~/functions/utils/valid"
export default {
components: {
"pw-section": () => import("../../components/layout/section"),
realtimeLog: () => import("./log"),
},
data: function() {
return {
url: "wss://test.mosquitto.org:8081",
client: null,
pub_topic: "",
sub_topic: "",
msg: "",
connectionState: false,
log: null,
manualDisconnect: false,
subscriptionState: false,
}
},
computed: {
validUrl() {
return wsValid(this.url)
},
canpublish() {
return this.pub_topic != "" && this.msg != "" && this.connectionState
},
cansubscribe() {
return this.sub_topic != "" && this.connectionState
},
},
methods: {
connect() {
this.log = [
{
payload: this.$t("connecting_to", { name: this.url }),
source: "info",
color: "var(--ac-color)",
ts: new Date().toLocaleTimeString(),
},
]
let parseUrl = new URL(this.url)
this.client = new Paho.Client(
parseUrl.hostname,
parseUrl.port != "" ? Number(parseUrl.port) : 8081,
"postwoman"
)
this.client.connect({
onSuccess: this.onConnectionSuccess,
onFailure: this.onConnectionFailure,
useSSL: true,
})
this.client.onConnectionLost = this.onConnectionLost
this.client.onMessageArrived = this.onMessageArrived
},
onConnectionFailure() {
this.connectionState = false
this.log.push({
payload: this.$t("error_occurred"),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
},
onConnectionSuccess() {
this.connectionState = true
this.log.push({
payload: this.$t("connected_to", { name: this.url }),
source: "info",
color: "var(--ac-color)",
ts: new Date().toLocaleTimeString(),
})
this.$toast.success(this.$t("connected"), {
icon: "sync",
})
},
onMessageArrived(message) {
this.log.push({
payload: `Message: ${message.payloadString} arrived on topic: ${message.destinationName}`,
source: "info",
color: "var(--ac-color)",
ts: new Date().toLocaleTimeString(),
})
},
toggleConnection() {
if (this.connectionState) {
this.disconnect()
} else {
this.connect()
}
},
disconnect() {
this.manualDisconnect = true
this.client.disconnect()
this.log.push({
payload: this.$t("disconnected_from", { name: this.url }),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
},
onConnectionLost() {
this.connectionState = false
if (this.manualDisconnect) {
this.$toast.error(this.$t("disconnected"), {
icon: "sync_disabled",
})
} else {
this.$toast.error(this.$t("something_went_wrong"), {
icon: "error",
})
}
this.manualDisconnect = false
this.subscriptionState = false
},
publish() {
try {
this.client.publish(this.pub_topic, this.msg, 0, false)
this.log.push({
payload: `Published message: ${this.msg} to topic: ${this.pub_topic}`,
ts: new Date().toLocaleTimeString(),
source: "info",
color: "var(--ac-color)",
})
} catch (e) {
this.log.push({
payload:
this.$t("error_occurred") +
`while publishing msg: ${this.msg} to topic: ${this.pub_topic}`,
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
}
},
toggleSubscription() {
if (this.subscriptionState) {
this.unsubscribe()
} else {
this.subscribe()
}
},
subscribe() {
try {
this.client.subscribe(this.sub_topic, {
onSuccess: this.usubSuccess,
onFailure: this.usubFailure,
})
} catch (e) {
this.log.push({
payload: this.$t("error_occurred") + `while subscribing to topic: ${this.sub_topic}`,
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
}
},
usubSuccess() {
this.subscriptionState = !this.subscriptionState
this.log.push({
payload:
`Successfully ` +
(this.subscriptionState ? "subscribed" : "unsubscribed") +
` to topic: ${this.sub_topic}`,
source: "info",
color: "var(--ac-color)",
ts: new Date().toLocaleTimeString(),
})
},
usubFailure() {
this.log.push({
payload:
`Failed to ` +
(this.subscriptionState ? "unsubscribe" : "subscribe") +
` to topic: ${this.sub_topic}`,
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
},
unsubscribe() {
this.client.unsubscribe(this.sub_topic, {
onSuccess: this.usubSuccess,
onFailure: this.usubFailure,
})
},
},
}
</script>

View File

@@ -1,217 +0,0 @@
<template>
<div>
<pw-section class="blue" :label="$t('request')" ref="request">
<ul>
<li>
<label for="socketio-url">{{ $t("url") }}</label>
<input
id="socketio-url"
type="url"
spellcheck="false"
:class="{ error: !urlValid }"
v-model="url"
@keyup.enter="urlValid ? toggleConnection() : null"
/>
</li>
<div>
<li>
<label for="connect" class="hide-on-small-screen">&nbsp;</label>
<button :disabled="!urlValid" id="connect" name="connect" @click="toggleConnection">
{{ !connectionState ? $t("connect") : $t("disconnect") }}
<span>
<i class="material-icons">
{{ !connectionState ? "sync" : "sync_disabled" }}
</i>
</span>
</button>
</li>
</div>
</ul>
</pw-section>
<pw-section class="purple" :label="$t('communication')" id="response" ref="response">
<ul>
<li>
<realtime-log :title="$t('log')" :log="communication.log" />
</li>
</ul>
<ul>
<li>
<label for="event_name">{{ $t("event_name") }}</label>
<input
id="event_name"
name="event_name"
type="text"
v-model="communication.eventName"
:readonly="!connectionState"
/>
</li>
</ul>
<ul>
<li>
<label for="socketio-message">{{ $t("message") }}</label>
<input
id="socketio-message"
name="message"
type="text"
v-model="communication.input"
:readonly="!connectionState"
@keyup.enter="connectionState ? sendMessage() : null"
/>
</li>
<div>
<li>
<label for="send" class="hide-on-small-screen">&nbsp;</label>
<button id="send" name="send" :disabled="!connectionState" @click="sendMessage">
{{ $t("send") }}
<span>
<i class="material-icons">send</i>
</span>
</button>
</li>
</div>
</ul>
</pw-section>
</div>
</template>
<script>
import { socketioValid } from "~/functions/utils/valid"
import io from "socket.io-client"
export default {
components: {
"pw-section": () => import("../../components/layout/section"),
realtimeLog: () => import("./log"),
},
data() {
return {
url: "ws://",
connectionState: false,
io: null,
communication: {
log: null,
eventName: "",
input: "",
},
}
},
computed: {
urlValid() {
return socketioValid(this.url)
},
},
methods: {
toggleConnection() {
// If it is connecting:
if (!this.connectionState) return this.connect()
// Otherwise, it's disconnecting.
else return this.disconnect()
},
connect() {
this.communication.log = [
{
payload: this.$t("connecting_to", { name: this.url }),
source: "info",
color: "var(--ac-color)",
},
]
try {
this.io = new io(this.url)
this.io.on("connect", () => {
this.connectionState = true
this.communication.log = [
{
payload: this.$t("connected_to", { name: this.url }),
source: "info",
color: "var(--ac-color)",
ts: new Date().toLocaleTimeString(),
},
]
this.$toast.success(this.$t("connected"), {
icon: "sync",
})
})
this.io.on("message", data => {
this.communication.log.push({
payload: data,
source: "server",
ts: new Date().toLocaleTimeString(),
})
})
this.io.on("connect_error", error => {
this.handleError(error)
})
this.io.on("reconnect_error", error => {
this.handleError(error)
})
this.io.on("error", data => {
this.handleError()
})
this.io.on("disconnect", () => {
this.connectionState = false
this.communication.log.push({
payload: this.$t("disconnected_from", { name: this.url }),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
this.$toast.error(this.$t("disconnected"), {
icon: "sync_disabled",
})
})
} catch (ex) {
this.handleError(ex)
this.$toast.error(this.$t("something_went_wrong"), {
icon: "error",
})
}
},
disconnect() {
this.io.close()
},
handleError(error) {
this.disconnect()
this.connectionState = false
this.communication.log.push({
payload: this.$t("error_occurred"),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
if (error !== null)
this.communication.log.push({
payload: error,
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
},
sendMessage() {
const eventName = this.communication.eventName
const message = this.communication.input
if (this.io) {
// TODO: support only one argument now
// maybe should support more argument
this.io.emit(eventName, message, data => {
// receive response from server
this.communication.log.push({
payload: `[${eventName}] ${JSON.stringify(data)}`,
source: "server",
ts: new Date().toLocaleTimeString(),
})
})
this.communication.log.push({
payload: `[${eventName}] ${message}`,
source: "client",
ts: new Date().toLocaleTimeString(),
})
this.communication.input = ""
}
},
},
}
</script>

View File

@@ -1,160 +0,0 @@
<template>
<div class="page">
<pw-section class="blue" :label="$t('request')" ref="request">
<ul>
<li>
<label for="server">{{ $t("server") }}</label>
<input
id="server"
type="url"
:class="{ error: !serverValid }"
v-model="server"
@keyup.enter="serverValid ? toggleSSEConnection() : null"
/>
</li>
<div>
<li>
<label for="start" class="hide-on-small-screen">&nbsp;</label>
<button :disabled="!serverValid" id="start" name="start" @click="toggleSSEConnection">
{{ !connectionSSEState ? $t("start") : $t("stop") }}
<span>
<i class="material-icons">
{{ !connectionSSEState ? "sync" : "sync_disabled" }}
</i>
</span>
</button>
</li>
</div>
</ul>
</pw-section>
<pw-section class="purple" :label="$t('communication')" id="response" ref="response">
<ul>
<li>
<realtime-log :title="$t('events')" :log="events.log" />
<div id="result"></div>
</li>
</ul>
</pw-section>
</div>
</template>
<script>
import { sseValid } from "~/functions/utils/valid"
export default {
components: {
"pw-section": () => import("../layout/section"),
realtimeLog: () => import("./log"),
},
data() {
return {
connectionSSEState: false,
server: "https://express-eventsource.herokuapp.com/events",
sse: null,
events: {
log: null,
input: "",
},
}
},
computed: {
serverValid() {
return sseValid(this.server)
},
},
methods: {
toggleSSEConnection() {
// If it is connecting:
if (!this.connectionSSEState) return this.start()
// Otherwise, it's disconnecting.
else return this.stop()
},
start() {
this.events.log = [
{
payload: this.$t("connecting_to", { name: this.server }),
source: "info",
color: "var(--ac-color)",
},
]
if (typeof EventSource !== "undefined") {
try {
this.sse = new EventSource(this.server)
this.sse.onopen = event => {
this.connectionSSEState = true
this.events.log = [
{
payload: this.$t("connected_to", { name: this.server }),
source: "info",
color: "var(--ac-color)",
ts: new Date().toLocaleTimeString(),
},
]
this.$toast.success(this.$t("connected"), {
icon: "sync",
})
}
this.sse.onerror = event => {
this.handleSSEError()
}
this.sse.onclose = event => {
this.connectionSSEState = false
this.events.log.push({
payload: this.$t("disconnected_from", { name: this.server }),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
this.$toast.error(this.$t("disconnected"), {
icon: "sync_disabled",
})
}
this.sse.onmessage = event => {
this.events.log.push({
payload: event.data,
source: "server",
ts: new Date().toLocaleTimeString(),
})
}
} catch (ex) {
this.handleSSEError(ex)
this.$toast.error(this.$t("something_went_wrong"), {
icon: "error",
})
}
} else {
this.events.log = [
{
payload: this.$t("browser_support_sse"),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
},
]
}
},
handleSSEError(error) {
this.stop()
this.connectionSSEState = false
this.events.log.push({
payload: this.$t("error_occurred"),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
if (error !== null)
this.events.log.push({
payload: error,
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
},
stop() {
this.sse.onclose()
this.sse.close()
},
},
}
</script>

View File

@@ -1,182 +0,0 @@
<template>
<div class="page">
<pw-section class="blue" :label="$t('request')" ref="request">
<ul>
<li>
<label for="websocket-url">{{ $t("url") }}</label>
<input
id="websocket-url"
type="url"
spellcheck="false"
:class="{ error: !urlValid }"
v-model="url"
@keyup.enter="urlValid ? toggleConnection() : null"
/>
</li>
<div>
<li>
<label for="connect" class="hide-on-small-screen">&nbsp;</label>
<button :disabled="!urlValid" id="connect" name="connect" @click="toggleConnection">
{{ !connectionState ? $t("connect") : $t("disconnect") }}
<span>
<i class="material-icons">
{{ !connectionState ? "sync" : "sync_disabled" }}
</i>
</span>
</button>
</li>
</div>
</ul>
</pw-section>
<pw-section class="purple" :label="$t('communication')" id="response" ref="response">
<ul>
<li>
<realtime-log :title="$t('log')" :log="communication.log" />
</li>
</ul>
<ul>
<li>
<label for="websocket-message">{{ $t("message") }}</label>
<input
id="websocket-message"
name="message"
type="text"
v-model="communication.input"
:readonly="!connectionState"
@keyup.enter="connectionState ? sendMessage() : null"
/>
</li>
<div>
<li>
<label for="send" class="hide-on-small-screen">&nbsp;</label>
<button id="send" name="send" :disabled="!connectionState" @click="sendMessage">
{{ $t("send") }}
<span>
<i class="material-icons">send</i>
</span>
</button>
</li>
</div>
</ul>
</pw-section>
</div>
</template>
<script>
import { wsValid } from "~/functions/utils/valid"
export default {
components: {
"pw-section": () => import("../layout/section"),
realtimeLog: () => import("./log"),
},
data() {
return {
connectionState: false,
url: "wss://echo.websocket.org",
socket: null,
communication: {
log: null,
input: "",
},
}
},
computed: {
urlValid() {
return wsValid(this.url)
},
},
methods: {
toggleConnection() {
// If it is connecting:
if (!this.connectionState) return this.connect()
// Otherwise, it's disconnecting.
else return this.disconnect()
},
connect() {
this.communication.log = [
{
payload: this.$t("connecting_to", { name: this.url }),
source: "info",
color: "var(--ac-color)",
},
]
try {
this.socket = new WebSocket(this.url)
this.socket.onopen = event => {
this.connectionState = true
this.communication.log = [
{
payload: this.$t("connected_to", { name: this.url }),
source: "info",
color: "var(--ac-color)",
ts: new Date().toLocaleTimeString(),
},
]
this.$toast.success(this.$t("connected"), {
icon: "sync",
})
}
this.socket.onerror = event => {
this.handleError()
}
this.socket.onclose = event => {
this.connectionState = false
this.communication.log.push({
payload: this.$t("disconnected_from", { name: this.url }),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
this.$toast.error(this.$t("disconnected"), {
icon: "sync_disabled",
})
}
this.socket.onmessage = event => {
this.communication.log.push({
payload: event.data,
source: "server",
ts: new Date().toLocaleTimeString(),
})
}
} catch (ex) {
this.handleError(ex)
this.$toast.error(this.$t("something_went_wrong"), {
icon: "error",
})
}
},
disconnect() {
this.socket.close()
},
handleError(error) {
this.disconnect()
this.connectionState = false
this.communication.log.push({
payload: this.$t("error_occurred"),
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
if (error !== null)
this.communication.log.push({
payload: error,
source: "info",
color: "#ff5555",
ts: new Date().toLocaleTimeString(),
})
},
sendMessage() {
const message = this.communication.input
this.socket.send(message)
this.communication.log.push({
payload: message,
source: "client",
ts: new Date().toLocaleTimeString(),
})
this.communication.input = ""
},
},
}
</script>

View File

@@ -1,59 +0,0 @@
<template>
<div
class="color"
:data-color="color"
:class="{ active: active }"
v-tooltip="{ content: name || color }"
:style="{ backgroundColor: color }"
>
<i v-if="active" class="material-icons activeTick">done</i>
</div>
</template>
<style scoped lang="scss">
.color {
display: inline-flex;
align-items: center;
justify-content: center;
margin: 8px;
padding: 16px;
border-radius: 100%;
border: 3px solid var(--bg-dark-color);
cursor: pointer;
transition: all 0.2s ease-in-out;
&.fg {
color: var(--act-color);
}
&.active {
border: 3px solid var(--ac-color);
}
&.fg.active {
border: 3px solid var(--fg-color);
}
.activeTick {
position: absolute;
}
}
</style>
<script>
export default {
props: {
color: {
type: String,
required: true,
},
name: {
type: String,
},
active: {
type: Boolean,
default: false,
},
},
}
</script>

View File

@@ -1,147 +0,0 @@
<template>
<div class="show-if-initialized" :class="{ initialized }">
<pre ref="editor"></pre>
</div>
</template>
<style lang="scss">
.show-if-initialized {
opacity: 0;
&.initialized {
opacity: 1;
}
& > * {
transition: none;
}
}
</style>
<script>
const DEFAULT_THEME = "twilight"
import ace from "ace-builds"
import "ace-builds/webpack-resolver"
import jsonParse from "../../functions/jsonParse"
import debounce from "../../functions/utils/debounce"
export default {
props: {
value: {
type: String,
default: "",
},
theme: {
type: String,
required: false,
},
lang: {
type: String,
default: "json",
},
lint: {
type: Boolean,
default: true,
required: false,
},
options: {
type: Object,
default: {},
},
},
data() {
return {
initialized: false,
editor: null,
cacheValue: "",
}
},
watch: {
value(value) {
if (value !== this.cacheValue) {
this.editor.session.setValue(value, 1)
this.cacheValue = value
if (this.lint) this.provideLinting(value)
}
},
theme() {
this.initialized = false
this.editor.setTheme(`ace/theme/${this.defineTheme()}`, () => {
this.$nextTick().then(() => {
this.initialized = true
})
})
},
lang(value) {
this.editor.getSession().setMode("ace/mode/" + value)
},
options(value) {
this.editor.setOptions(value)
},
},
mounted() {
const editor = ace.edit(this.$refs.editor, {
mode: `ace/mode/${this.lang}`,
...this.options,
})
// Set the theme and show the editor only after it's been set to prevent FOUC.
editor.setTheme(`ace/theme/${this.defineTheme()}`, () => {
this.$nextTick().then(() => {
this.initialized = true
})
})
if (this.value) editor.setValue(this.value, 1)
this.editor = editor
this.cacheValue = this.value
editor.on("change", () => {
const content = editor.getValue()
this.$emit("input", content)
this.cacheValue = content
if (this.lint) this.provideLinting(content)
})
// Disable linting, if lint prop is false
if (this.lint) this.provideLinting(this.value)
},
methods: {
defineTheme() {
if (this.theme) {
return this.theme
}
return this.$store.state.postwoman.settings.THEME_ACE_EDITOR || DEFAULT_THEME
},
provideLinting: debounce(function(code) {
if (this.lang === "json") {
try {
jsonParse(code)
this.editor.session.setAnnotations([])
} catch (e) {
const pos = this.editor.session.getDocument().indexToPosition(e.start, 0)
this.editor.session.setAnnotations([
{
row: pos.row,
column: pos.column,
text: e.message,
type: "error",
},
])
}
}
}, 2000),
},
destroyed() {
this.editor.destroy()
},
}
</script>

View File

@@ -1,217 +0,0 @@
<template>
<div class="autocomplete-wrapper">
<input
type="text"
:placeholder="placeholder"
v-model="text"
@input="updateSuggestions"
@keyup="updateSuggestions"
@click="updateSuggestions"
@keydown="handleKeystroke"
ref="acInput"
:spellcheck="spellcheck"
:autocapitalize="spellcheck"
:autocorrect="spellcheck"
/>
<ul
class="suggestions"
v-if="suggestions.length > 0 && suggestionsVisible"
:style="{ transform: `translate(${suggestionsOffsetLeft}px, 0)` }"
>
<li
v-for="(suggestion, index) in suggestions"
@click.prevent="forceSuggestion(suggestion)"
:class="{ active: currentSuggestionIndex === index }"
:key="index"
>
{{ suggestion }}
</li>
</ul>
</div>
</template>
<style scoped lang="scss">
.autocomplete-wrapper {
position: relative;
input:focus + ul.suggestions,
ul.suggestions:hover {
display: block;
}
ul.suggestions {
display: none;
background-color: var(--atc-color);
position: absolute;
top: calc(100% - 4px);
margin: 0 4px;
left: 0;
padding: 0;
border-radius: 0 0 8px 8px;
z-index: 9999;
transition: transform 0.2s ease-out;
box-shadow: 0 5px 30px rgba(black, 0.1);
li {
width: 100%;
display: block;
padding: 8px 16px;
font-size: 16px;
font-family: "Roboto Mono", monospace;
font-weight: 400;
&:last-child {
border-radius: 0 0 8px 8px;
}
&:hover,
&.active {
background-color: var(--ac-color);
color: var(--act-color);
cursor: pointer;
}
}
}
}
</style>
<script>
const KEY_TAB = 9
const KEY_ESC = 27
const KEY_ARROW_UP = 38
const KEY_ARROW_DOWN = 40
export default {
props: {
spellcheck: {
type: Boolean,
default: true,
required: false,
},
placeholder: {
type: String,
default: "",
required: false,
},
source: {
type: Array,
required: true,
},
value: {
type: String,
default: "",
required: false,
},
},
watch: {
text() {
this.$emit("input", this.text)
},
},
data() {
return {
text: this.value,
selectionStart: 0,
suggestionsOffsetLeft: 0,
currentSuggestionIndex: -1,
suggestionsVisible: false,
}
},
methods: {
updateSuggestions(event) {
// Hide suggestions if ESC pressed.
if (event.which && event.which === KEY_ESC) {
event.preventDefault()
this.suggestionsVisible = false
this.currentSuggestionIndex = -1
return
}
// As suggestions is a reactive property, this implicitly
// causes suggestions to update.
this.selectionStart = this.$refs.acInput.selectionStart
this.suggestionsOffsetLeft = 12 * this.selectionStart
this.suggestionsVisible = true
},
forceSuggestion(text) {
let input = this.text.substring(0, this.selectionStart)
this.text = input + text
this.selectionStart = this.text.length
this.suggestionsVisible = true
this.currentSuggestionIndex = -1
},
handleKeystroke(event) {
switch (event.which) {
case KEY_ARROW_UP:
event.preventDefault()
this.currentSuggestionIndex =
this.currentSuggestionIndex - 1 >= 0 ? this.currentSuggestionIndex - 1 : 0
break
case KEY_ARROW_DOWN:
event.preventDefault()
this.currentSuggestionIndex =
this.currentSuggestionIndex < this.suggestions.length - 1
? this.currentSuggestionIndex + 1
: this.suggestions.length - 1
break
case KEY_TAB:
event.preventDefault()
let activeSuggestion = this.suggestions[
this.currentSuggestionIndex >= 0 ? this.currentSuggestionIndex : 0
]
if (activeSuggestion) {
let input = this.text.substring(0, this.selectionStart)
this.text = input + activeSuggestion
}
break
default:
break
}
},
},
computed: {
/**
* Gets the suggestions list to be displayed under the input box.
*
* @returns {default.props.source|{type, required}}
*/
suggestions() {
let input = this.text.substring(0, this.selectionStart)
return (
this.source
.filter(entry => {
return (
entry.toLowerCase().startsWith(input.toLowerCase()) &&
input.toLowerCase() !== entry.toLowerCase()
)
})
// Cut off the part that's already been typed.
.map(entry => entry.substring(this.selectionStart))
// We only want the top 6 suggestions.
.slice(0, 6)
)
},
},
mounted() {
this.updateSuggestions({
target: this.$refs.acInput,
})
},
}
</script>

View File

@@ -1,101 +0,0 @@
<template>
<transition name="modal" appear>
<div class="modal-backdrop">
<div class="modal-wrapper">
<div class="modal-container">
<div class="modal-header">
<slot name="header"></slot>
</div>
<div class="modal-body">
<slot name="body"></slot>
<!-- <div class="fade top"></div>
<div class="fade bottom"></div> -->
</div>
<div class="modal-footer">
<slot name="footer"></slot>
</div>
</div>
</div>
</div>
</transition>
</template>
<style scoped lang="scss">
.modal-backdrop {
position: fixed;
z-index: 998;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.32);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.modal-wrapper {
display: flex;
align-items: center;
justify-content: center;
flex-grow: 1;
}
.modal-container {
position: relative;
display: flex;
flex-grow: 1;
flex-direction: column;
margin: 16px;
padding: 16px;
transition: all 0.2s ease;
background-color: var(--bg-color);
border-radius: 16px;
box-shadow: 0px 16px 70px rgba(0, 0, 0, 0.5);
max-height: calc(100vh - 128px);
max-width: 720px;
}
.modal-body {
overflow: auto;
}
/*
* The following styles are auto-applied to elements with
* transition="modal" when their visibility is toggled
* by Vue.js.
*
* You can easily play with the modal transition by editing
* these styles.
*/
.modal-enter,
.modal-leave-active {
opacity: 0;
}
.modal-enter .modal-container,
.modal-leave-active .modal-container {
transform: scale(0.8);
transition: all 0.2s ease-in-out;
}
.fade {
position: absolute;
left: 16px;
right: 20px;
display: block;
height: 32px;
transition: all 0.2s;
&.top {
top: 68px;
background: linear-gradient(to bottom, var(--bg-color), transparent);
}
&.bottom {
bottom: 16px;
background: linear-gradient(to top, var(--bg-color), transparent);
}
}
</style>

View File

@@ -1,36 +0,0 @@
<template>
<div v-show="isActive">
<slot></slot>
</div>
</template>
<style scoped lang="scss"></style>
<script>
export default {
props: {
label: { type: String },
icon: { type: String },
id: { required: true },
selected: {
default: false,
},
},
data() {
return {
isActive: false,
}
},
// computed: {
// href() {
// return `#${this.name.toLowerCase().replace(/ /g, "-")}`
// },
// },
mounted() {
this.isActive = this.selected
},
}
</script>

View File

@@ -1,95 +0,0 @@
<template>
<div class="tabs-wrapper">
<div class="tabs">
<ul>
<li v-for="tab in tabs" :class="{ 'is-active': tab.isActive }">
<a :href="tab.href" @click="selectTab(tab)">
<i v-if="tab.icon" class="material-icons">
{{ tab.icon }}
</i>
<span v-if="tab.label">{{ tab.label }}</span>
</a>
</li>
</ul>
</div>
<div class="tabs-details">
<slot></slot>
</div>
</div>
</template>
<style scoped lang="scss">
.tabs-wrapper {
display: flex;
flex-flow: column nowrap;
flex-grow: 1;
.tabs {
-webkit-overflow-scrolling: touch;
display: flex;
white-space: nowrap;
overflow: auto;
ul {
display: flex;
width: 0px;
}
li {
display: inline-flex;
a {
display: flex;
align-items: center;
justify-content: center;
padding: 8px 16px;
color: var(--fg-light-color);
border-radius: 4px;
cursor: pointer;
.material-icons {
margin-right: 8px;
}
&:hover {
color: var(--fg-color);
}
}
&.is-active a {
background-color: var(--brd-color);
color: var(--fg-color);
}
}
}
}
@media (max-width: 768px) {
ul,
ol {
flex-flow: row nowrap;
}
}
</style>
<script>
export default {
data() {
return {
tabs: [],
}
},
created() {
this.tabs = this.$children
},
methods: {
selectTab({ id }) {
this.tabs.forEach(tab => {
tab.isActive = tab.id == id
})
},
},
}
</script>

View File

@@ -1,98 +0,0 @@
<template>
<div @click="toggle()">
<label class="toggle" :class="{ on: on }" ref="toggle">
<span class="handle"></span>
</label>
<label class="caption">
<slot />
</label>
</div>
</template>
<style scoped lang="scss">
$useBorder: false;
$borderColor: var(--fg-light-color);
$activeColor: var(--ac-color);
$inactiveColor: var(--fg-light-color);
$inactiveHandleColor: var(--bg-color);
$activeHandleColor: var(--act-color);
$width: 32px;
$height: 16px;
$handleSpacing: 4px;
$transition: all 0.2s ease-in-out;
div {
display: inline-block;
cursor: pointer;
}
label.caption {
vertical-align: middle;
cursor: pointer;
}
label.toggle {
position: relative;
display: inline-block;
width: $width;
height: $height;
border: if($useBorder, 2px solid $borderColor, none);
background-color: if($useBorder, transparent, $inactiveColor);
vertical-align: middle;
border-radius: 32px;
transition: $transition;
box-sizing: initial;
padding: 0;
margin: 8px 4px;
cursor: pointer;
.handle {
position: absolute;
display: inline-block;
top: 0;
bottom: 0;
left: 0;
margin: $handleSpacing;
background-color: $inactiveHandleColor;
width: #{$height - ($handleSpacing * 2)};
height: #{$height - ($handleSpacing * 2)};
border-radius: 100px;
pointer-events: none;
transition: $transition;
}
&.on {
background-color: $activeColor;
border-color: $activeColor;
.handle {
background-color: $activeHandleColor;
left: #{$width - $height};
}
}
}
</style>
<script>
export default {
props: {
on: {
type: Boolean,
default: false,
},
},
methods: {
toggle() {
const containsOnClass = this.$refs.toggle.classList.toggle("on")
this.$emit("change", containsOnClass)
},
},
}
</script>

View File

@@ -1,9 +0,0 @@
{
"baseUrl": "http://localhost:3000",
"integrationFolder": "tests/e2e/integration",
"screenshotsFolder": "tests/e2e/screenshots",
"fixturesFolder": "tests/e2e/fixtures",
"supportFile": "tests/e2e/support",
"pluginsFile": false,
"video": false
}

View File

@@ -1,6 +0,0 @@
{
"rules": {
".read": false,
".write": false
}
}

View File

@@ -1,8 +0,0 @@
export default {
name: "textareaAutoHeight",
update({ scrollHeight, clientHeight, style }) {
if (scrollHeight !== clientHeight) {
style.minHeight = `${scrollHeight}px`
}
},
}

48
docker-compose.deploy.yml Normal file
View File

@@ -0,0 +1,48 @@
# THIS IS NOT TO BE USED FOR PERSONAL DEPLOYMENTS!
# Internal Docker Compose Image used for internal testing deployments
version: "3.7"
services:
hoppscotch-db:
image: postgres:15
user: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: testpass
POSTGRES_DB: hoppscotch
healthcheck:
test:
[
"CMD-SHELL",
"sh -c 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}'"
]
interval: 5s
timeout: 5s
retries: 10
hoppscotch-aio:
container_name: hoppscotch-aio
build:
dockerfile: prod.Dockerfile
context: .
target: aio
environment:
- DATABASE_URL=postgresql://postgres:testpass@hoppscotch-db:5432/hoppscotch
- ENABLE_SUBPATH_BASED_ACCESS=true
env_file:
- ./.env
depends_on:
hoppscotch-db:
condition: service_healthy
command: ["sh", "-c", "pnpm exec prisma migrate deploy && node /usr/src/app/aio_run.mjs"]
healthcheck:
test:
- CMD
- curl
- '-f'
- 'http://localhost:80'
interval: 2s
timeout: 10s
retries: 30

Some files were not shown because too many files have changed in this diff Show More