Commit graph

2391 commits

Author SHA1 Message Date
Mir Arif Hasan
ae5b745f5c
test(backend): account for race conditions in verifyMagicLinkTokens test suite (#4969) 2025-04-08 20:32:01 +05:30
Shreyas
9cc8b68077
fix(kernel): deterministic form data processing (#4945) 2025-04-08 14:50:04 +05:30
Nivedin
3cf286a443
fix(common): OpenAPI response example status code bug (#4966)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-04-08 14:46:29 +05:30
Nivedin
a263113147
chore: add organization dashboard link to profile dropdown (#4952) 2025-04-07 19:56:29 +05:30
Shreyas
3803735d28
fix(web): add explicit headers following prior normalization (#4951)
These changes add explicit `Content-Type` headers to direct (via `native` interceptor)
authentication requests after changes made in [PR #4931](https://github.com/hoppscotch/hoppscotch/pull/4931) that modified how `Content-Type`
headers are handled in the `relay` plugin.

In [issue #4905](https://github.com/hoppscotch/hoppscotch/issues/4905), that was about Hoppscotch Agent and Native interceptor inconsistently
handling `Content-Type` headers. The issue had two main manifestations,
duplicate headers - when overriding the `Content-Type` header in the UI or using OAuth2 authentication, the agent
would send multiple `Content-Type` headers to the web server. This caused undefined behavior
and often 400 errors for backends that don't accept duplicate headers.
And inconsistent overrides - even when the content type was explicitly set (for example to
`application/json;v=2`), the agent/native would inconsistently apply this override. Server
logs revealed that roughly 50% of requests would use the correct override value, while the
others would revert to the default `application/json`.

The two-part solution implemented first in [PR #4911](https://github.com/hoppscotch/hoppscotch/pull/4911) addressed the duplicate headers issue
by implementing header normalization before final relay. This prevented duplicate headers
with different casing from being sent and [PR #4931](https://github.com/hoppscotch/hoppscotch/pull/4931) then resolved the inconsistent override
behavior by removing the automatic `Content-Type` header insertion in the `ContentHandler`
component. As explained in the PR description, this was a temporary workaround until we
implement a HTTP/2-compliant solution with proper normalization.

While the fixes in PR #4911 and #4931 correctly resolved the header inconsistency issues
for general API requests, they introduced a new problem: **requests that previously relied
on the automatic `Content-Type` insertion now have no `Content-Type` header at all**.

This mainly affects direct calls around authentication flows in the desktop module, which
were using the `content.json()` functionality without explicitly setting `Content-Type`
headers, relying on the automatic insertion that has now been removed.

These changes add the now-required explicit `Content-Type` headers to three
authentication-related API calls in the desktop platform module:

- **The initial user details GraphQL query**:
```javascript
headers: {
  Authorization: `Bearer ${accessToken}`,
  "Content-Type": "application/json",
},
```

- **The magic link email submission endpoint**:
```javascript
headers: {
  "Content-Type": "application/json",
},
```

- **The token verification endpoint**:
```javascript
headers: {
  "Content-Type": "application/json",
},
```

This will make sure that authentication flows continue to work properly with the native
interceptor after the header handling changes.

As noted in [PR #4931](https://github.com/hoppscotch/hoppscotch/pull/4931), this is considered a **temporary solution**. The plan is to revisit the
content-type handling when we implement a more comprehensive HTTP/2-compliant header
normalization system in the kernel layer.

While HTTP/1.1 headers are case-insensitive
per [RFC 7230](https://tools.ietf.org/html/rfc7230), inconsistent handling across server implementations can treat differently-cased
variations as distinct headers. HTTP/2 ([RFC 7540](https://tools.ietf.org/html/rfc7540)) mandates converting all header field
names to lowercase, which would prevent these issues altogether. In such cases, relying
fully on `MediaType` interface from the kernel will help handling these edge-cases.
2025-04-04 14:45:05 +05:30
Nivedin
fb2b677faf
fix: import bug with extension and agent interceptors (#4932)
Co-authored-by: curiouscorrelation <curiouscorrelation@gmail.com>
2025-03-28 17:52:45 +05:30
Christoffer Hjalmarsson
0c361faeab
fix(common): oauth2 basic header encoding (#4927) 2025-03-28 13:46:22 +05:30
Anwarul Islam
9e541a8a4b
feat: format JSON responses having text/plain content type (#4916)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-28 13:38:32 +05:30
jamesgeorge007
4e29810f69 chore: i18n string entry updates 2025-03-27 23:23:09 +05:30
Andrew Bastin
ba64fea681
chore: bump vulnerable dependencies (#4943) 2025-03-27 22:45:29 +05:30
Nivedin
f564b2e34f
feat: Agent registration UX flow updates (#4942)
Co-authored-by: curiouscorrelation <curiouscorrelation@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-27 21:09:23 +05:30
jamesgeorge007
3c535b2ad4 chore: bump version to 2025.3.0 2025-03-27 13:15:30 +05:30
Anwarul Islam
24fbe3e01a
feat(common): create new requests without siphoning data from the previous one (#4909)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-27 12:49:42 +05:30
Anwarul Islam
bedb0ffdb6
fix(common): improve authorization header handling (#4818) 2025-03-26 17:12:41 +05:30
Christoffer Hjalmarsson
ba165bc505
fix(common): oauth2 password flow not respecting scopes (#4940) 2025-03-26 16:50:36 +05:30
Pranay Pandey
b9ea5f7916
feat: search requests by endpoint in personal workspace (#4779)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-26 15:22:14 +05:30
Shreyas
d00c219401
fix(desktop): enable cookie support for sh-desktop (#4939) 2025-03-26 15:01:36 +05:30
Shreyas
72ff950d91
fix(relay): avoid override with header passthrough (#4931)
The current implementation causes duplicate `Content-Type` headers when users
override headers in the UI or use OAuth2 authentication with the agent.
Web servers receive multiple `Content-Type` headers which causes
undefined behavior and 400 errors for backends that don't accept duplicate headers.

This also fixes inconsistent behavior when overriding the `Content-Type` header
with custom values (e.g., `application/json;v=2`).

While HTTP/1.1 headers are case-insensitive per RFC 7230, inconsistent handling
across server implementations can treat differently-cased variations (e.g.,
"Content-Type" vs "content-type") as distinct headers. HTTP/2 (RFC 7540) mandates
converting all header field names to lowercase, which would prevent this issue.

This patch removes the automatic content-type header insertion, allowing user-defined
headers to take precedence without duplication. The is a temporary
workaround until we implement a HTTP/2-compliant solution with proper normalization.

This was implemented initially to support moving lower level handling
towards the kernel, although since the larger refactor has been slightly
deferred in favor of stability, this change is suitable for current
state.

This will be revisited when we implement HTTP/2 compliant header handling in the
kernel layer as part of our upcoming kernel efforts.

Use the following request to test this out on Desktop app and Agent and
override `Content-Type` header to `application/json;=v2`:

```
curl --request POST \
  --url 'https://echo.qubit.codes/?qp=1' \
  --header 'Content-Type: application/json;v=2' \
  --data '{ "test-key": "test-value" }'
```
2025-03-25 16:34:27 +05:30
SimonAllen
f5beabed1e
chore(i18n): update tw translation (#4920) 2025-03-25 16:32:25 +05:30
Nivedin
e43d0f1b70
feat: add search in environment selector and sidebar (#4872)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-24 22:18:19 +05:30
Anwarul Islam
1a2b9516c9
feat(common): click to activate environment from sidebar as primary (#4873)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-21 13:22:46 +05:30
jamesgeorge007
d8e297f61e chore: merge main into next 2025-03-19 16:52:23 +05:30
Shreyas
86c0bb619d
fix(infra): deterministic env var ordering (#4893)
This change sorts environment variables alphabetically before they're
processed with import-meta-env that injects them into the index.html.
This makes sure consistent hashes across pod restarts when there aren't
any functional changes made to the `.env` file.

The issue was affecting desktop app reconnections after k8s pod restarts.

The cause was non-deterministic env var ordering (a sideeffect of `Map`)
during the import-meta-env injection process. Even when the env vars
themselves didn't change, their order in the injected JSON could change,
ultimately resulting in different file hashes.

This fix ensures that regardless of the order in which env vars are
provided by the runtime, they will be sorted alphabetically before being
written to the build.env file.
2025-03-19 16:08:47 +05:30
Shreyas
18c233b9f9
fix(common): normalize headers before final relay (#4911) 2025-03-19 15:47:41 +05:30
Nivedin
346a1a3688
fix: resolve issues around import via URL (#4906) 2025-03-19 15:10:20 +05:30
jamesgeorge007
8c67c832d2 chore: bump version to 2025.2.3 2025-03-19 14:41:08 +05:30
Shreyas
51124e91b5
fix(desktop): fix missing ca certs when client certs are not present (#4888) 2025-03-19 14:37:55 +05:30
Shreyas
60cc41f745
fix(desktop): preserve formdata ordering (#4892) 2025-03-19 14:04:13 +05:30
Anwarul Islam
5f3a7754d5
fix(common): handle missing host and basePath in OpenAPI URL parsing (#4908)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-19 13:50:03 +05:30
Shreyas
2b5395011a
fix(common): pre-process proxy response to base type (#4910) 2025-03-19 13:12:32 +05:30
Nivedin
e2e5d4f1d5
fix: resolve issues around rendering HTML response previews (#4890)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-18 13:32:07 +05:30
jamesgeorge007
176e924bed fix: prevent dev server crashes due to breaking changes in the vue-i18n suite of tools
Migrate from `vite-plugin-vue-i18n` to `@intlify/unplugin-vue-i18n`.
2025-03-18 12:29:18 +05:30
Shreyas
03130a5317
fix(kernel): pre-req transformers for backcompat (#4883) 2025-03-17 14:28:49 +05:30
Nivedin
094ba7dfe4
chore: replace old interceptor component with new one (#4887)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-14 20:50:05 +05:30
Chhavi Goyal
622b753c55
fix: preserve hierarchy during personal collection imports (#4815)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-14 13:46:04 +05:30
Anwarul Islam
924a7c778e
feat: improve graphql query builder (#4742)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-03-13 17:02:14 +05:30
jamesgeorge007
84dc586582 chore: merge main into next 2025-03-13 16:34:58 +05:30
Shreyas
212cd4969d
docs(desktop): include windows specific caveats (#4884) 2025-03-13 16:25:25 +05:30
Anwarul Islam
f63474cd06
fix(common): correct coordinates calculation for selection end position (#4826) 2025-03-13 13:56:04 +05:30
Nivedin
acd190f3e9
fix: update the newline key in codemirror (#4876)
Co-authored-by: Jai A P <jai.jap.318@gmail.com>
2025-03-12 15:51:23 +05:30
jamesgeorge007
6bd2574cba chore: bump agent version to 0.1.6 2025-03-12 14:08:06 +05:30
jamesgeorge007
05399d874a chore: bump version to 2025.2.2 2025-03-12 13:59:11 +05:30
luzpaz
a8bf6c0611
fix: resolve typos across packages (#4867) 2025-03-12 13:53:08 +05:30
jamesgeorge007
e6fee11305 fix: persist active workspace selection
This is observed particularly in the cloud offering. The proposed changes ensure the relevant login state is confirmed before the network call, maintaining backwards compatibility with SH.
2025-03-11 16:04:03 +05:30
jamesgeorge007
d3f0e8303a chore: merge main into patch 2025-03-10 22:47:15 +05:30
Shreyas
9dc158877e
docs(desktop): update README (#4864)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-10 22:46:15 +05:30
Shreyas
dd3bf52711
feat(kernel): isolate type ser/de to platform (#4860) 2025-03-10 22:45:51 +05:30
Shreyas
3f37a055b1
feat(desktop): update check timeout (#4868)
`2s` -> `5s`
2025-03-10 22:41:57 +05:30
luzpaz
072c759cd0
fix: typos in packages/hoppscotch-common/src/platform (#4855) 2025-03-10 12:53:42 +05:30
Shreyas
81f2dce531
fix(agent): version bumps (#4849) 2025-03-06 18:16:09 +05:30
Shreyas
8319914caf
fix(desktop): increase bundle download timeout (#4844) 2025-03-06 16:44:29 +05:30
Shreyas
2bed24307a
fix(common): proxy interceptor json response decode (#4840) 2025-03-06 15:58:03 +05:30
jamesgeorge007
ced98b997a chore: bump version to 2025.2.1
Bump Agent version to `0.1.5`.
2025-03-06 15:41:15 +05:30
jamesgeorge007
32e38367d5 chore: add missing i18n string entries 2025-03-06 15:37:49 +05:30
James George
e5be5ff227
fix(common): resolve issues around shared workspace invite validation (#4836) 2025-03-06 12:53:49 +05:30
Anwarul Islam
f3840e4342
fix(common): make cursorPosition field optional in HoppGQLDocument type (#4834) 2025-03-05 19:55:07 +05:30
Nivedin
6ce0fb8897
fix: environment variable not working on auth (#4829) 2025-03-05 19:50:16 +05:30
Nivedin
ce99617aac
fix(common): exception while clicking request history entries (#4832) 2025-03-05 19:14:55 +05:30
Shreyas
42f90d3f05
fix: enable aws auth passthrough (#4825) 2025-03-05 18:31:59 +05:30
Shreyas
8be8178b05
fix: support for apikey auth for native interceptors (#4821) 2025-03-05 14:15:37 +05:30
Shreyas
3f5e7ea9c0
fix(agent): mention name in updater dialog (#4822) 2025-03-05 13:45:39 +05:30
Shreyas
5f0acab055
fix: kernel-io calls via openExternalLink (#4807) 2025-03-05 13:03:55 +05:30
Nivedin
ae0303415a
fix: order request while fetching from db (#4814) 2025-03-04 20:51:55 +05:30
Shreyas
36d71fc127
fix(common): extension port to relay regression (#4806) 2025-03-04 16:58:33 +05:30
Nivedin
baa1703309
fix: update embed redirect URL (#4805) 2025-03-04 16:20:42 +05:30
Shreyas
22c341896d
fix: version bump regression for sh-desktop and agent (#4801) 2025-03-03 15:59:27 +05:30
Shreyas
fac3bec988
feat(desktop): stablize updater ux and window state (#4798) 2025-03-03 15:00:04 +05:30
Shreyas
8bfa8c98f5
fix(agent): typescript build warnings (#4800)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-03-03 14:16:42 +05:30
Shreyas
02bf634f25
fix(common): PersistenceService call site compat (#4799) 2025-03-03 12:39:48 +05:30
Shreyas
4fc1942344
fix(desktop): cache size for larger bundles, dev server, lints (#4796) 2025-02-28 22:18:51 +05:30
Shreyas
d4125ffd7b
chore: bump version in webapp server (#4795) 2025-02-28 16:49:44 +05:30
Shreyas
a1e581632d
fix(desktop): change updater endpoint and some UX improvements (#4794)
fix: change updater endpoint and better UX
2025-02-28 14:59:01 +05:30
Shreyas
a6147f4ce4
feat: platform independent core and the new desktop app (#4684)
* feat(desktop): init

* feat(desktop): external app download and setup

* feat(desktop): offload app load to plugin system

* perf(desktop): add rdbms facade and caching layer

* feat: parallelize signing, shared trust, lru cache

* feat: webapp encoder + compressor + hasher server

* feat(desktop): app autoupdate with hashed loader

* feat(kernel): init `hoppscotch-kernel`

* feat(kernel): `io`

* feat(kernel): `network`

* feat(kernel): `network` - native interceptor

* feat(kernel): `network` - interceptor - rest

* feat(kernel): `network` - interceptor - graphql

* feat(kernel): `network` - interceptor - capabilities

* feat(kernel): `network` - interceptor - `FormData`

* feat(kernel): `network` - interceptor - `oauth2.0`

* feat(kernel): `store`

* feat(desktop): dragging, traffic light, plugin workspaces

* feat(kernel|wip): `store`

* feat(kernel): `network` - capabilities - with active

* feat(kernel|wip): `network` - interceptor - `proxy`

* feat(kernel|wip): `network` - relay ext

* feat(kernel): `network` - interceptor - `proxy`

* feat(kernel): `network` - interceptor - decoding

* feat(kernel): `network` - interceptor - Kernel Err

* feat(kernel): `network` - flow transformation

* feat(kernel): `network` - request status

* fix(desktop): repositioning traffic lights on fullscreen exit

* feat(kernel): `network` - interceptor - `agent`

* feat(kernel): `store` - track updates

* feat(kernel): `network` - interceptor - extension

* feat(kernel): `network` - updates as overrides

* feat(interceptor): pre-process request encoding

* fix(ui): mismatched extension button size/position

* feat(kernel): `network` - interceptor - `browser`

* feat(native): common certs componsable

* fix(kernel): interceptor selection store and json parse

* feat(kernel): `network` - consistent multipart encoding

* feat(kernel): `network` - interceptor - `OAuth2.0`

* feat(kernel): `network` - interceptor - cookie support

* feat(agent): registration list, log-sink, relay

* feat(kernel): `network` - interceptor subtitles

* feat(kernel): `store` - persist network settings

* fix(agent): encrypted ser/de certificate requests

* feat(kernel): `kernelInterceptor` spotlight service

* fix(kernel): gql introspection edge-case schema

* ref: conditionals for migrated components

* feat(kernel): `localaccess` capability via relay

* feat(kernel): `network` - explicit types and lint

* feat(kernel): `store` - isolate host and platform

* feat(kernel): `store` - persistence service

* fix(infra): whitelisted origins, non-std engines

* feat(desktop): impl deep-link callbacks

* feat(kernel): `auth`

* feat(kernel): `io` - event listeners

* feat(kernel): platform migration

* fix: dep `vue` import on Win 11

Fixes `error TS2305: Module '"vue"' has no exported member
'VueConstructor'.` arising from `splitpane` dependency.

* fix(webapp-server): platform independent res paths

* feat(desktop): auth and emit via embedded server

* feat(platform): host, csp and bundle compatibility

- Bundle name format for using as host
- Windows UI handler HWND casting and version detection
- CSP headers type handling in URI protocol
- Protocol whitelist in env config

* feat(desktop|wip): login flow with `auth-tokens`

feat(desktop|wip): typesafe auth

* feat(backend): `auth` token flow, gql/websocket

feat(desktop): working auth for gql

feat: gql client with refresh token

* feat(backend): `auth` token flow, authorization bearer

* fix(gen): qualifier clash when invalidating cache

* feat(common): coordinated initialization service

* fix(desktop): appload persistence in data json

* feat(desktop|wip): desktop icons and updater

* fix: typos in readme docs

* fix: docker ignore copying on windows

* fix: update `.lock` file after rebase

* fix: `persistenceService` setup in tests

* fix: remove old console logs

* fix: console error on invalid schema

Show console error if default value is used when loading invalid data from
local storage

* fix(test): `PersistenceService` methods

* fix(test): `PersistenceService` rest tab state

* fix(test): `PersistenceService` gql tab state

* fix(test): `PersistenceService` global env

* fix(test): `PersistenceService` mqtt request

* fix(test): `PersistenceService` sse request

* fix(test): `PersistenceService` socketio request

* fix(test): `PersistenceService` websocket request

* fix(test): `PersistenceService` secret environment

* fix(test): `PersistenceService` selected env

* fix(test): `PersistenceService` collections

* fix(test): `PersistenceService` environments

* fix(test): `PersistenceService` history

* fix(test): `PersistenceService` settings

* fix(test): `PersistenceService` migrations

* fix(test): `InspectionService` request inspector

* feat(desktop): button to clear bundle/key cache

This is useful when there are partial updates to the web app or bundle gen server
which haven't been correctly propagated when the app bundle was downloaded.

If the user were to change the self host instance without updating the
desktop app; which is possible albeit rarely under very certain circumstances,
desktop app will refuse to load the bundle, this is because the desktop app
cannot differentiate between partial updates vs incorrect bundle being hosted
since both will fail verification.

The button lets the user decide what should be the appropriate action,
clear the bundle and trust the hosted app
or make sure the app is built and hosted correctly.

* fix(desktop): enforce one version per instance

This was part of a leftover scaffolding from development.

* fix(desktop): bundle url not stored after download

* fix(desktop): stalling progress on updates

* fix(backend): helper to parse cookie into kv-pairs

* feat(desktop): launch session on working endpoints

* fix(common): preserve `auth` structure and default

* fix: loading native networking with kernel mode

* fix: fallback for unhandled response error

* fix: `urlencoded` content request processing

* feat: `interceptor` - error mapping for `browser`

* fix: backwards compatibility for `digest` auth

* fix: platform check for `initializationService`

* fix: `interceptor` - analytics `strategy` resolution

* fix: `interceptor` - check for `cookies` component

* fix: enable digest auth support for `native`

* test: `interceptor` - kernel interceptor

* fix(relay): `grantType` casing for OAuth2.0

* test(wip): kernel transformers

* fix(relay): auth headers discarding others

* fix(desktop): http version deserialization

* fix(common): `grantType` extractor, auth processor

* fix: `PersistenceService` - parsing edge cases

* fix(infra): post rebase fixup

* fix(web): component structure and lint

* fix(desktop): cohesive splash opener, scroll url section

* fix: explicit auto auth and docs on url auth

* fix(relay): special chars failing proxy auth

* fix: finer cert control setting option

* fix: post-rebase fixup

* feat(appload): ability to vendor pre-built bytes

* fix: avoid copying over `target` dir in containers

* fix: auth key missing in capability set

* fix(desktop): relax `refresh_token` requirement

This is to support Firebase token

* fix(desktop): normalization for Windows WebView

* feat(desktop): instance switcher and vendored app

* fix(desktop): merge artifacts and conflicts

* feat(desktop): instance switcher improvements

* fix: derive instance name from normalized name

* fix: pkg links, lints and UI edge cases

* feat(desktop): restore window state after relaunch

* fix(desktop): distinguish header for cloud/default

* fix: instance switcher in web mode

* fix: close dropdown on new instance modal

* fix: whitelist vendored app origin

* feat(desktop): platform parity - `collections`

* fix: history entries population desync

* fix(desktop): check for history storage status

* fix(desktop): safe parse `globalEnv`

* feat(desktop): platform parity - `environment`

* fix: use settings store for proxy url

* fix: lint, unused imports

* fix: proxy input enabled for other interceptors

* feat: reverse proxy for desktop app server

* fix: duplicate entries after connecting to sh

* fix: specify instance org qualified

* fix: remove debugging logs

* feat(desktop): enable `devtools` in release builds

* fix(desktop): prepend protocol validation edgecase

* feat(desktop): clear cache on removing instance

* fix: better response toast message

* fix: avoid reverse proxy for webapp server

* fix(desktop): ignore subpath in instance name

* feat: switcher ui/ux improvements

* feat: more switcher ui/ux improvements

* feat(server): specify bundle version at build time

* fix(desktop): missing migration as rebase artifact

* fix: minor switcher ui/ux improvement

* fix: rebase artifacts

* fix: consolidated toast on success

* fix: missing i18n strings

* fix(desktop): handle drag and drop fe side

* feat: confirmation modal on instance removal

* chore: minor UI update

* chore: minor UI changes

* fix: gql connection partial refactor

* fix: resolve merge artifacts

* chore: prod lint

* feat(desktop): better desktop app update ux

* fix: broken gql connection.ts

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2025-02-28 00:01:25 +05:30
Akash K
3563e1eb16
chore: move openapi validation and dereferencing to a worker (#4789) 2025-02-26 19:04:15 +05:30
jamesgeorge007
c7a7ec3bb2 chore: update lock file 2025-02-24 20:51:45 +05:30
Akash K
5b1b3dddb1
chore: openapi importer bug fixs (#4775)
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-24 20:47:42 +05:30
Anwarul Islam
903448186b
fix: ensure GraphQL connection sends authentication headers (#4746)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-24 17:28:45 +05:30
jamesgeorge007
d8875043cd chore: bump version to 2025.2.0 2025-02-24 12:36:00 +05:30
James George
49430528e5
refactor: foundational changes to support subdomain based cloud instances (#4704) 2025-02-24 12:24:28 +05:30
Nivedin
23633a99a1
chore: remove top level awaits (#4778)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-21 23:02:03 +05:30
Nivedin
da2597d4db
feat: updated the hard coded proxy url with the server fetched (#4773) 2025-02-20 21:16:48 +05:30
Anwarul Islam
c802056d44
fix: request validation issue on load persistence tab (#4759)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-20 16:29:43 +05:30
Shreyas
6df6eec34b
test(cli): temporarily skip digest auth test (#4770) 2025-02-20 15:59:09 +05:30
luzpaz
ce0eaf1d84
fix: typos under hoppscotch-selfhost-desktop package (#4766) 2025-02-20 13:45:29 +05:30
Joel Jacob Stephen
7f84c52c83
feat(sh-admin): introduce input validations to server configurations (#4642)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-19 20:11:20 +05:30
Nivedin
4200b00c04
fix: close context menu while scrolling (#4763) 2025-02-19 15:54:32 +05:30
Stéfany Larissa
bb36d32359
fix: cURL header imports without trailing space (#4724) 2025-02-19 13:18:02 +05:30
Anwarul Islam
6d21c8c9eb
feat: visual enhancement for inactive fields (#4760)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-19 12:36:15 +05:30
luzpaz
b70da04ab5
chore: fix typos in .vue component files (#4749) 2025-02-18 23:47:14 +05:30
Claudio Pennati
35a471f120
fix: import openapi file servers url detection (#4373)
Co-authored-by: Claudio Pennati <claudio.pennati@lastminute.com>
2025-02-07 15:21:18 +05:30
jamesgeorge007
98a2631ba4 chore: bump version to 2025.1.1 2025-02-07 14:53:00 +05:30
Anwarul Islam
ede275425b
fix: properties not inherited while importing from postman (#4725)
Update collection-level platform definitions

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-07 14:45:51 +05:30
Dmitry
6bc6899fea fix(selfhost-desktop): add alias for querystring (#4658)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
2025-02-07 14:31:08 +05:30
med8bra
37b7ddf2b0 fix(import/postman): handle non-string form values (#4645)
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-02-07 14:31:08 +05:30
Dmitry
0aa509e804 chore: prettify collection contents before export (#4687)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-02-07 14:30:03 +05:30
Jared Miller
9e227982c9
Correct the english response body lost return msg (#4656) 2025-02-06 15:17:31 +05:30
Kumar Shivendu
4884a84bef
feat: support rust reqwest code generation (#4697)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-02-06 14:51:10 +05:30
shuaixr
fd3bf0e63e
fix: ensure correct body for application/x-www-form-urlencoded in all code exports (#4712) 2025-02-06 14:42:30 +05:30
Anwarul Islam
e967b3361d
fix: schema generation issue on test runner (#4711)
fix: schema generation issue on test runner
2025-01-30 23:57:14 +05:30
Joel Jacob Stephen
135060bc4a
chore(common): updated collection import string for activity logs (#4710) 2025-01-30 20:36:07 +05:30
jamesgeorge007
812daaaf06 chore: disable resizing the custom request naming style textarea field
AI Experiments in the cloud offering.
2025-01-30 16:56:01 +05:30
jamesgeorge007
e96232133d chore: resolve lint errors 2025-01-30 16:32:52 +05:30
jamesgeorge007
86ea3e427c chore: restore the ability to disable tracking request history 2025-01-30 13:34:01 +05:30
jamesgeorge007
7be23dfb59 chore: bump version to 2025.1.0 2025-01-30 11:23:20 +05:30
Anwarul Islam
499505397f
feat: graphql document generation from docs (#4626)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-01-30 11:15:37 +05:30
Joel Jacob Stephen
0a83894e6a
feat(common): introducing history ui provider service to hoppscotch-common (#4706)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-01-29 23:07:30 +05:30
Govind.S.B
d436af587c
feat(ai-exp): add support for custom request naming scheme (#4703)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-01-29 20:24:39 +05:30
Anwarul Islam
104f628862 chore: collection runner improvements (#4685) 2025-01-29 20:04:02 +05:30
Nivedin
2b9a334881
chore: add warning prompt for same response name (#4699)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-01-29 14:30:01 +05:30
Anwarul Islam
fa1159da53
fix authorization hierarchy in postman import (#4686)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-01-29 13:32:57 +05:30
halillusion
e22fbecb56
Update tr.json (#4679)
Fix typos and complete missing definitions for Turkish language.
2025-01-28 23:07:46 +05:30
Stéfany Larissa
685347dd4c
chore: update pt-br translation (#4682) 2025-01-28 22:40:44 +05:30
Stanislav Horáček
c9a0a3ae8d
Update Czech localization (#4650)
update Czech localization
2025-01-28 22:21:45 +05:30
jamesgeorge007
9746e92c27 chore: bump sh-desktop version to 24.12.2 2025-01-27 14:49:32 +05:30
jamesgeorge007
b54edd2edb chore: bump version to 2024.12.2 2025-01-27 14:27:46 +05:30
jamesgeorge007
b48c982ea6 chore: bump version to 2024.12.1
Bump CLI version to `0.20.2`
2025-01-15 18:45:19 +05:30
Akash K
8b70d7f419
feat: support for sending client credentials via basic auth header (#4635)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-01-15 18:43:05 +05:30
Akash K
a16402e94d
chore: add missing i18n string entry (#4639) 2024-12-23 13:38:49 +05:30
Akash K
553f4d7a8f
fix: do not show an empty body element when bulk editing (#4638)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-12-23 12:18:06 +05:30
Govind.S.B
c578b79f39
refactor: move AI request naming style to settings (#4636)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
2024-12-20 20:39:12 +05:30
jamesgeorge007
aa17448317 chore: bump version to 2024.12.0
Bump CLI version to `0.20.1`.
2024-12-20 20:07:04 +05:30
Govind.S.B
e16db0ca32
feat: UI for test scripts generation (#4637)
AI experiments

Co-authored-by: amk-dev <akash.k.mohan98@gmail.com>
2024-12-20 18:17:31 +05:30
Joel Jacob Stephen
a3912d3ed2
fix(sh-admin): resolve record retrieval limits in pending invites section by implementing pagination (#4624) 2024-12-19 22:48:14 +05:30
Anwarul Islam
d9d656269c
feat: collection runner refinements (#4609)
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-12-19 20:06:52 +05:30
Akash K
0ae21e2c2e
feat: add bulk edit mode support in multipart/form-data (#4630)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-12-19 18:52:05 +05:30
Nivedin
6fd93b9f5d
chore: run collection modal updates (#4633)
Adds loading state for the runner modal and enables the `CLI` tab for personal collections.
2024-12-19 15:22:30 +05:30
Mir Arif Hasan
8aa816c38e
fix: read data from DB for latest value (#4623)
HSB-515
2024-12-18 22:53:09 +05:30
Lorenzo Ryan
1cf5d23118
fix: inherited headers and auth included in code generation (#4482)
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-12-18 19:13:08 +05:30
Nivedin
efd6bf9d5b
chore: update collection runner modal UI (#4618) 2024-12-18 17:29:13 +05:30
Akash K
bd22c8c1a9 feat: disable tracking request history (#4607)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-12-18 11:18:29 +05:30
Nivedin
a332fd1f69 fix: add tab id while opening tab (#4587) 2024-12-18 11:18:29 +05:30
Joel Jacob Stephen
5ad998f54a refactor: updated dates format displayed in admin dashboard (#4605) 2024-12-18 11:18:29 +05:30
Mir Arif Hasan
e30a6c9db5 feat(backend): add the ability to disable tracking request history (#4594)
HSB-505
2024-12-18 11:18:29 +05:30
Raphael Hehl
12f4849061
feat(backend): update Microsoft strategy to handle multiple scopes (#4604)
Co-authored-by: Raphael.Hehl <Raphael.Hehl@deutschebahn.com>
2024-12-12 16:10:52 +05:30
James George
a08c6f6b3e
chore(cli): drop Node.js v18 support (#4583) 2024-12-02 21:49:46 +05:30
Anwarul Islam
e2e769db71
chore: collection runner enhancements and ui clean up (#4564)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-28 17:55:00 +05:30
Akash K
d2401d6ceb
chore: add inspection warning for proxy interceptor with binary data (#4569) 2024-11-28 13:21:29 +05:30
jamesgeorge007
69b94886a6 chore: bump version to 2024.11.0 2024-11-27 17:44:55 +05:30
Shreyas
22515582c5
chore: show warning for interceptors not supporting binary data (#4566)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-27 16:53:30 +05:30
Akash K
a66771bbd0
feat: add autocomplete for multipart/formdata individual content types (#4565) 2024-11-27 15:20:28 +05:30
Akash K
9cc1e47b39
fix: show file chip for the selected file in binary body (#4562)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-27 15:05:35 +05:30
Mir Arif Hasan
5dccce39b4
feat: env file sync with infra config (#4545) 2024-11-26 19:52:51 +05:30
Akash K
80d7dd046d
feat: support for binary body (#4466)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-26 19:48:01 +05:30
Joel Jacob Stephen
37bf0567ea
refactor(sh-admin): updated documentation links in dashboard (#4560)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-26 19:13:08 +05:30
Anwarul Islam
e8ed938b4c
feat: collection runner (#3600)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-11-26 15:56:09 +05:30
jamesgeorge007
f091c1bdc5 chore: remove reference to ReqType enum
The `ReqType` enum isn't available in the cloud context since the BE only deals with teams and GQL isn't supported under the same, hence there isn't a use case to differentiate between request types from the cloud BE context.
2024-11-26 12:30:54 +05:30
Mir Arif Hasan
c9fb5bf45c
fix: return 0 complexity for introspection fields (#4549) 2024-11-25 19:25:40 +05:30
Nivedin
b81cf87fd6
chore: update response original request version (#4555)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-25 18:34:03 +05:30
Akash K
2721fd9bf6
chore: continue openapi imports on error with a partial import (#4535) 2024-11-25 12:50:20 +05:30
Akash K
b706a43d2e
feat: collection import summaries (#4489)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-25 11:42:26 +05:30
Akash K
c74c42ebaf
feat: add individual content types for formadata (#4550)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-24 19:36:10 +05:30
shobanrajm
b78cd57884
feat: collection CLI runner with iterations and data feed (#4475)
Co-authored-by: Shoban <mshobanr@ford.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-22 22:38:51 +05:30
James George
e040f44245
fix: resolve GraphQL collection tree and tab dissociation issues (#4537) 2024-11-22 22:31:00 +05:30
Joel Jacob Stephen
73f3e54c00
feat: introducing user guidance and error management helpers in admin dashboard (#4548) 2024-11-22 22:22:34 +05:30
jamesgeorge007
dad15133f4 chore: resolve lint errors 2024-11-21 17:30:52 +05:30
jamesgeorge007
c9ac305b95 chore: merge hoppscotch/main into hoppscotch/next 2024-11-13 14:25:47 +05:30
Akash K
1dc0cee536
feat: show login dialogue for features behind login (#4431) 2024-11-13 12:41:39 +05:30
jamesgeorge007
908f936f50 chore: bump version to 2024.10.2 2024-11-12 22:35:30 +05:30
Anwarul Islam
e1fbe68796
hotfix: graphql connection error handler (#4523)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-11-12 21:15:48 +05:30
Shreyas
3de3209d5e
fix(cli): use os-specific invalid paths for tests (#4518) 2024-11-07 13:26:24 +05:30
Andrew Bastin
80dbe8c8fe
fix: clicking on run query without connecting connects without docs polling (#4516) 2024-11-07 12:28:04 +05:30
Andrew Bastin
e87ec8c026 chore: bump version to 2024.10.1 2024-11-06 20:50:08 +05:30
jamesgeorge007
3fc43cc9b9 test: bump timeout
Specify timeout at the CLI e2e test suite level.
2024-11-06 19:22:54 +05:30
Shreyas
ecf5d9f6d2
fix(agent): propagate default values to persistent store (#4511) 2024-11-06 15:00:52 +05:30
James George
6a9d056dee
fix(selfhost-desktop): specify Digest Auth support for Proxy interceptor (#4505) 2024-11-06 11:46:38 +05:30
Mir Arif Hasan
d3999b9510
chore: user deletetion if not solo team owner (#4508) (HSB-497) 2024-11-05 21:18:23 +05:30
Andrew Bastin
6ad2b5a3bb
fix: correct broken codemirror-lang-graphql in node 22 (#4514) 2024-11-05 16:06:39 +05:30
James George
223dd25788
chore: introduce supportsDigestAuth field at the interceptor service level (#4498) 2024-10-30 21:44:14 +05:30
Shreyas
8643819926
chore(agent): bump version to 0.1.2 (#4497)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-10-30 21:11:32 +05:30
jamesgeorge007
c3518cf678 chore: add showInterceptorWarningForDigestAuth field under platformFeatureFlags
Introduce a new platform-level feature flag indicating whether to display a warning via the inspector regarding supported interceptor alongside Digest Auth.
2024-10-30 18:28:15 +05:30
James George
8ac934599a
fix: process headers correctly in Digest Auth and other updates (#4494) 2024-10-30 17:12:19 +05:30
Anwarul Islam
1236e6b719
fix: scrollbar appearing on digest auth input fields and other improvements (#4492)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-29 20:35:13 +05:30
Andrew Bastin
108315d1b4 chore: bump version to 24.10.0 2024-10-29 17:25:37 +05:30
Shreyas
75bac21b46
feat(desktop): add CA cert and HTTP proxy support for native interceptor (#4491) 2024-10-29 17:13:32 +05:30
Anwarul Islam
4b2f04df82
feat: add support for Digest authorization (#4339)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-10-29 12:34:40 +05:30
Mir Arif Hasan
161e598809
feat: user workspace stats api added (#4467) (HSB-495)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-10-28 23:53:53 +05:30
Pranay Pandey
936c97b53a
feat: add button to export test results as json (#4419)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-10-28 21:23:21 +05:30
Anwarul Islam
20c4767dce
fix: trailing comma makes json invalid (#4416)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-28 21:04:08 +05:30
shobanrajm
84f0f478d4
fix: postman env variables are to be imported as secrets (#4474)
Co-authored-by: Shoban <mshobanr@ford.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-28 16:58:12 +05:30
Nivedin
3722be0de1
fix: codegen breaking in example tab and minor UI updates (#4478)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-28 16:09:40 +05:30
Raphael Hehl
479cbfe1c8
chore: improve German translation (#4461)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-10-25 14:17:22 +05:30
subframe7536
0be7836d40
feat(i18n/cn): update CN translation (#4457) 2024-10-25 14:09:48 +05:30
Sawako
c743298c0d
fix(i18n/es): fixed translation errors and translated missing keys (#4455)
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
2024-10-25 13:50:25 +05:30
Nivedin
c72ded2251
chore: environment highlight colour schema update (#4464)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-25 13:01:38 +05:30
Shreyas
8dc471f33f
feat: hoppscotch-relay for request forwarding (#4471) 2024-10-25 01:36:15 +05:30
Shreyas
58407ae9dd
feat(ci): portable and installer build workflow for hoppscotch-agent (#4472) 2024-10-25 01:29:10 +05:30
jamesgeorge007
8e8073424d fix: syntax highlighting in editor views
Pin `@codemirror/view` to `v6.25.1`.
2024-10-24 22:14:05 +05:30
Shreyas
bd7bd97809
feat: portable version of hoppscotch-agent (#4468) 2024-10-24 15:46:20 +05:30
Shreyas
f52219bb95
feat: openssl based hoppscotch-relay for request forwarding (#4442) 2024-10-24 14:20:51 +05:30
Andrew Bastin
deedf35bf0 fix: type errors in tab service 2024-10-24 04:02:07 +05:30
James George
7aa43232cc
chore: bump dependencies (#4444) 2024-10-24 03:25:55 +05:30
Shreyas
7dfb06c137
chore(desktop): major version dependency bumps (#4443) 2024-10-23 21:59:18 +05:30
Shreyas
aef11e329f
chore(agent): major version dependency bump (#4446) 2024-10-23 21:22:19 +05:30
Joel Jacob Stephen
79aefed322
chore(sh-admin): bump dependencies (#4433)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-23 18:51:00 +05:30
Pranay Pandey
cf0978bce0
feat: add the ability to configure query params encoding for requests (#4412)
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-23 18:44:21 +05:30
Joel Jacob Stephen
0e00eeb950
feat: introducing ability to set custom collection import size limit (#4440) 2024-10-23 18:34:40 +05:30
James George
f10fac9f44
fix: resolve empty state image correctly in profile page (#4456) 2024-10-22 22:04:18 +05:30
xLansang
b6fba6f50e
fix: prevent keypress actions in the loading state (#4462)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-22 22:00:30 +05:30
jamesgeorge007
cd1f7bb6b7 chore: merge hoppscotch/main into hoppscotch/next 2024-10-21 14:56:17 +05:30
Andrew Bastin
9da5f63e70 chore: bump version to 2024.9.3 2024-10-17 16:58:51 +05:30
Andrew Bastin
88295cc6e4
fix: i18n strings not falling back correctly (#4447) 2024-10-17 16:27:17 +05:30
Mir Arif Hasan
fa59dc9faf
fix: downgrade eslint related package (#4445) (HSB-494) 2024-10-17 15:59:02 +05:30
Mir Arif Hasan
2a95ee8d19
feat: hoppscotch-backend dependency update (#4426) (HSB-489) 2024-10-17 03:16:54 +05:30
Andrew Bastin
28727cd6c2 chore: bump version 2024.9.2 2024-10-14 21:19:45 +05:30
Joel Jacob Stephen
30079b842d
fix(sh-admin): resolve i18n strings correctly on error toast with remove member action (#4429) 2024-10-11 20:47:10 +05:30
Akash K
79bf0d0363
fix: add full request as request context (#4422)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-10 18:11:58 +05:30
Dmitry
bb21b13471
fix: resolve personal environments correctly while editing via quick peek (#4384)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-10-10 17:15:54 +05:30
Andrew Bastin
cda1ed5f94 chore: bump version to 2024.9.1 2024-10-05 21:05:11 +05:30
Andrew Bastin
8e91078f43
fix: comments being stripped out of json request body (#4402) 2024-10-04 23:41:40 +05:30
Andrew Bastin
fdb250a608 chore: bump agent version to 0.1.1 2024-10-04 13:00:32 +05:30
Andrew Bastin
771f57841a chore: update public key 2024-10-03 22:47:34 +05:30
Andrew Bastin
025a8fc0cb chore: update agent updater config 2024-10-03 22:20:45 +05:30
Andrew Bastin
cd25ba7d92 chore: agent should emit updater artifacts 2024-10-03 21:55:34 +05:30
Andrew Bastin
f75900ed30
feat: hoppscotch agent and agent interceptor (#4396)
Co-authored-by: CuriousCorrelation <CuriousCorrelation@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-03 20:26:30 +05:30
shuaixr
0f27cf2d49
fix: correct SVG rendering issue by adjusting blob type (#3565) (#4397) 2024-10-03 19:04:45 +05:30
Anwarul Islam
a283edec6e
fix: prettify JSON request body with comments (#4399)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-10-03 18:56:01 +05:30
Nivedin
8535004023
fix: add fallback for type field in restTabState schema (#4398) 2024-10-03 18:24:07 +05:30
jamesgeorge007
ebb7eeade4 fix: show loading spinner while submitting prompt generation feedback 2024-10-01 17:07:30 +05:30
Akash K
c90aaec65d
fix: update copy + improve ux on ai experiments (#4393)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-10-01 16:17:31 +05:30
Nivedin
1a7860035f
fix: request variable list item remove bug (#4392) 2024-10-01 14:12:29 +05:30
Anwarul Islam
dcdcdeb1db
feat: support for comments on application/json request body (#4335) 2024-10-01 14:08:01 +05:30
jamesgeorge007
3d9dc36d77 chore: bump version to 2024.9.0 2024-10-01 13:10:52 +05:30
jamesgeorge007
9e6b8b6e40 chore: remove $nowISO from pre-defined variables list 2024-10-01 12:50:15 +05:30
Akash K
0b5a424b69
feat: modify body with ai & feedback on ai requests hoppscotch-common bindings (#4386)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-30 22:21:14 +05:30
James George
5e9f8743d4
feat: extend duplicate collection to personal workspace in SH (#4368) 2024-09-30 21:20:19 +05:30
Nivedin
58857be650
feat: save api responses (#4382)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-30 19:06:53 +05:30
Akash K
fdf5bf34ed
feat: support import collections between workspaces (#4377)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-30 18:42:09 +05:30
Kishan Jadav
e4d9f82a75 feat: support for predefined variables (#3886)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-30 14:33:40 +05:30
Akash K
db8cf229ac
chore: make client secret optional across grant types (#4363)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-27 17:20:26 +05:30
Balu Babu
fc37196354
chore: export single User/Team Collection (#4359)
* chore: added query to export single TeamCollection data

* chore: added query to export single UserCollection data

* chore: fixed typo

* chore: completed requested changes in PR review
2024-09-27 16:55:47 +05:30
Anwarul Islam
421e6b76c9
feat: add generate data schema option in spotlight searcher (#4356) 2024-09-27 16:47:55 +05:30
Balu Babu
062b0fdda0
chore: addition of new GQL subscription for UserCollection duplication (#4358)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-26 22:54:44 +05:30
James George
5742968eda
feat: duplicate global environment under team workspaces (#4334)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-09-25 18:14:55 +05:30
Shreyas
7ab1a0a6e3
fix(desktop): content security policy config preventing app launch (#4365)
fix(desktop): content security policy config preventing desktop app launch
2024-09-23 17:02:22 +05:30
Palak Chopra
bfe3b3a9c3
refactor: make global environment a versioned entity (#4216)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-23 17:01:14 +05:30
HelixY2J
1701961335
feat: add loading state for import actions (#4217)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-23 17:00:48 +05:30
Andrew Bastin
e9e1366cc8 chore: revert vite-plugin-pages and vite-plugin-pwa versions 2024-09-20 14:20:14 +05:30
Akash K
626b5fea7f
chore: preemptly update pwa settings to avoid missing files in the service worker cache (#4344)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-09-19 19:09:14 +05:30
Dmitry
5a06e52389
feat(filename): added filename in download functional (#4329)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-09-19 18:23:40 +05:30
Nivedin
875e2fae97
fix: workspace environment list reset (#4361) 2024-09-19 18:17:07 +05:30
Andrew Bastin
c2e9e3dfe2 chore: bump version to 2024.8.3 2024-09-19 18:04:34 +05:30
Shreyas
e554bde64d
feat(desktop): faster launch with resolved desktop app startup issues (#4357) 2024-09-18 18:24:26 +05:30
jcgurango
cf2b1b50fa
fix: preserve description while toggling field enabled status (#4340)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-09-11 19:06:49 +05:30
Andrew Bastin
7f18a847fa chore: update vulnerable dependencies 2024-09-11 14:21:31 +05:30
Andrew Bastin
2bc46ed6cb chore: bump version to 2024.8.2 2024-09-11 13:45:19 +05:30
Dmitry
35cc8c247d
fix(status): fix import status message (#4325)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
2024-09-11 13:05:05 +05:30
Nivedin
53839e1091
fix: close context menu when no text is selected (#4337) 2024-09-11 11:40:21 +05:30
James George
a395643387
fix: ensure cross-platform compatibility with file exports (#4336) 2024-09-10 12:53:33 +05:30
Andrew Bastin
3b29a56ba0 chore: bump version to 2024.8.1 2024-09-01 21:31:29 +05:30
Andrew Bastin
519b520913
fix: sidebar codegen crashing and AWS Signature Auth flow (#4315)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2024-09-01 21:25:06 +05:30
Anwarul Islam
c2fb6aee3f
chore: AWS Signature Authorization type flow updates (#4311)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-08-30 20:28:27 +05:30
Anwarul Islam
15efbc887c
feat: graphql response schema ui (#4310)
feat: data schema added for graphql response
2024-08-30 17:38:01 +05:30
James George
9ca899a28a
feat(cli): add support for AWS Signature Authorization type (#4305) 2024-08-30 14:12:32 +05:30
Anwarul Islam
703b71de2c
feat: add support for AWS Signature auth type (#4142)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-08-30 14:00:13 +05:30
Nivedin
5a2eed60c9
fix: resolve multiple UI issues and account for description field in syncing context (#4309)
* fix: collection properties header bulk update editor bug

* chore: add migration step while resolving `headers` in the syncing context

Resolve type errors.

* fix: prevent inifinite loading state in add environments modal

Toggle back the loading state if attempting to create an environment from a team workspace without specifying a name.

* fix: tab change when clicking computed auth

* fix: ensure tab change action works in GQL headers view

`Go to Authorization tab` action.

* chore: account for REST params while adding description fields

Writing to store after pulling from the syncing context.

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-08-30 12:15:19 +05:30
Anwarul Islam
9ad6a419c1
feat: new ui for response interface generation (#4105)
* feat: codegen body added

* feat: new ui added for response interface

* feat: generate code component added

* chore: default collection tab

* feat: generate data schema

* chore: clean up

* chore: minor code refactor

* fix: only render if `isDrawerOpen` is true

* chore: clean up

* chore: clean up

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
2024-08-30 12:10:52 +05:30
Andrew Bastin
a177bdced0 chore: update vulnerable dependencies 2024-08-29 18:03:44 +05:30
Andrew Bastin
c048c31c6b chore: bump version to 2024.8.0 2024-08-29 16:01:37 +05:30
Akash K
9a86d0c207
feat: support importing HAR ( Http Archive Format ) files (#4307)
* feat: import har files to hoppscotch

* chore: fix some edge cases

* chore: exclude query params from the generated request endpoint

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-08-29 14:33:07 +05:30
Akash K
181ad098e0
feat: ability to refresh tokens for oauth flows (#4302)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-08-29 13:27:31 +05:30
Nivedin
2ed7221182
fix: colour mode bug in profile page (#4304) 2024-08-28 18:48:59 +05:30
Dmitry
34f5617adc
chore(lang): update ru locale #2 (#4298)
chore(lang): update ru locale

Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
2024-08-28 13:58:33 +05:30
Nivedin
3e2c72bdb2
feat: sort environments alphabetically (#4280)
* feat: sort environments alphabetically in sidebar and selector

* fix: correct typo in i18n string key

* fix: rename and export team environments bug

* chore: added sortEnvironments util function

* chore: ads doc

* chore: cleanup

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-08-28 13:16:10 +05:30
Anwarul Islam
43730d66f6
feat: description field for request parameters and headers (#4187)
* feat: key-value component added for reuse

* chore: inspection result added

* chore: add `HoppRESTRequest` schema `v7`

* feat: add `description` for field for REST request headers

* feat: add `description` for field for GraphQL request headers

* fix: synchronization logic b/w bulk edit context and the default view

- Add `HoppGQLRequest` schema `v6`.
- Fix pre-existing issue with changes in bulk edit context not immediately reflecting in the default GQL request headers view.

* feat: support importing `description` fields from external sources

* test: fix failing tests

* chore: include description field for computed headers

Headers computed based on authorization info & inherited entries.

* feat: add `description` field for headers at the collection level

Add `HoppCollection` schema `v3`.

* test: fix failing tests

* ci: update tests workflow target branch trigger

* chore: cleanup

* chore: cleanup

* chore: rely on type inference

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-08-27 14:30:12 +05:30
James George
33b0a54af1
feat(cli): add support for request variables (#4275)
feat: add support for request variables in the CLI
2024-08-26 19:21:29 +05:30
Mir Arif Hasan
10e8f4ef19
HSB-482 fix: add env missing checks (#4282)
fix: add env missing checks
2024-08-26 16:36:15 +05:30
Christian Hansen
a8822badcf
chore: updated and corrected Danish translations. (#4290)
Update da.json with correct Danish
2024-08-26 12:43:14 +05:30
Dmitry
3e2b9f8e2b
chore(lang): update ru locale (#4295)
Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
2024-08-26 12:22:46 +05:30
Andrew Bastin
ef3193ad6d chore: merge hoppscotch/main into hoppscotch/next 2024-08-23 15:05:01 +05:30
Nivedin
f115c4ab8e
fix: persist request execution context between tabs (#4284) 2024-08-22 22:40:21 +05:30
Andrew Bastin
0218555909 chore: bump version to 2024.7.2 2024-08-21 21:12:34 +05:30
Andrew Bastin
e8319a08df
fix: issues with port binding in different container runtimes (#4279) 2024-08-21 19:07:53 +05:30
James George
559c71e39b
fix: sync all settings actions in SH (#4263) 2024-08-20 01:22:10 +05:30
Anwarul Islam
775051bac3
chore: update WhatsNewDialog UI and position (#4252)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-08-20 01:21:34 +05:30
Nivedin
9fdde2b788
fix: reset currentEnv if there is a shared workspace change (#4255)
* fix: reset currentEnv if there is a shared workspace change

* chore: cleanup

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-08-19 15:43:32 +05:30
Dmitry
f1cb417a5e
fix: improvement for body tab and RawBody empty string bug (#4273)
* feat(body-label): added label that showing tab is not empty

* fix(body-raw): value is not updated when was empty

---------

Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
2024-08-19 15:42:35 +05:30
Tasnim Tantawi
d15e809dcb
fix: update Arabic translations (#4260)
* Complete Arabic translation

* add removed translations

* chore: format doc

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
2024-08-19 15:40:14 +05:30
Mir Arif Hasan
67f0324521
HSB-473 feat: encrypt sensitive data before storing in db (#4212)
* feat: encryption added on onMuduleInit

* feat: encryption changes added on sh admin mutations and query

* chore: fetch minimum column from DB

* feat: data encryption added on account table

* test: infra config test case update

* chore: env example modified

* chore: update variable name

* chore: refactor the code

* feat: client-ids made encrypted

* chore: encrypted auth client id's

---------

Co-authored-by: Balu Babu <balub997@gmail.com>
2024-08-14 13:04:12 +05:30
Andrew Bastin
3f78bf1062 chore: bump version to 2024.7.1 2024-08-08 20:14:55 +05:30
Andrew Bastin
afea75694f
refactor: slim down the backend containers (#4233)
* refactor: slim down the backend containers

* refactor: make containers run as non-root user in container

* chore: correct casing for the build stage definitions

* chore: remove docker compose version field as its obsolete

* chore: optimise chown and chmod into the COPY command itself

* chore: add package overrides for packages with reported vulns

* chore: add pnpm to containers + set workdir dir to the backend project

* fix: permission issues with the fe containers

* chore: define env variables on AIO
2024-08-08 11:31:13 +05:30
Paul Vogel
bbda18c728
i18n: Fix german translation for "label" (#4240) 2024-08-07 21:47:32 +05:30
James George
a8bcc75467
fix: ensure Content-Type header priority in the CLI (#4242)
- Ensure the `Content-Type` header takes priority over the value set in the request body.
- Introduces `HoppRESTRequest` schema `v6` with `text/xml` added under the supported content types.
2024-08-07 21:46:27 +05:30
Akash K
31b691bb37
chore: add ai renames at more places (#4244)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-08-07 21:43:32 +05:30
James George
1fdb0f2d04
chore: hide duplicate Global environment action for a team workspace (#4245) 2024-08-07 21:42:37 +05:30
jamesgeorge007
1908625297 fix: use correct callback URL for GitHub provider infra config 2024-08-06 23:12:03 +05:30
Paul Vogel
8e58b58b6f
i18n: Add german translations for section "access token" (#4241)
Add german translations for the access token section
2024-08-06 17:39:54 +05:30
artu-ole
f05966b335
fix: path not taken into account for socket.io connection without token auth (#4226)
fix: path not taken into account for socket.io connection
2024-08-06 17:35:50 +05:30
Muhammed Ajmal M
5bccab0aa0
fix: add to parameters regex (#4238) 2024-08-06 15:18:14 +05:30
Balu Babu
0140208753
chore: user management api additions (#4231)
* feat: added route to delete users in user management api's

* chore: added lastLoggedOn and lastActiveOn fields to user response type

* chore: changed return type

* chore: changed target to prod for hopp-old-backend service
2024-08-05 15:31:59 +05:30
James George
4fd6d6ddb4
fix(cli): remove postinstall script (#4229) 2024-07-31 19:10:11 +05:30
Akash K
40f93fc7f4
chore: add analytics event for ai experiments (#4224) 2024-07-30 18:55:09 +05:30
Akash K
adb7782b58
chore: enable ai experiments by default in settings (#4223) 2024-07-30 18:32:32 +05:30
Andrew Bastin
a9fc7e6a62 chore: bump version to 2024.7.0 2024-07-30 14:41:12 +05:30
Akash K
d68cfb313e
feat: hoppscotch-common & platform additions for ai experiments (#4222)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-07-30 12:16:44 +05:30
Joel Jacob Stephen
2a37235229
fix(sh-admin): resolved issue while rendering images (#4221)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-07-29 22:59:02 +05:30
Mir Arif Hasan
e26528cedf
fix: infra token expriry check on guard (#4219)
fix: null check added in infraToken expiry check on guard
2024-07-29 19:38:17 +05:30
James George
c9f92282bf
feat: duplicate REST/GraphQL collections (#4211)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-07-29 18:37:34 +05:30
Joel Jacob Stephen
c24d5c5302
feat(sh-admin): introducing infra-tokens to admin dashboard (#4202)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-07-29 17:50:06 +05:30
Mir Arif Hasan
783d911f8d
HSB-462 feat: infra token module and sh apis (#4191)
* feat: infra token module added

* feat: infra token guard added

* feat: token prefix removed

* feat: get pending invites api added

* docs: swagger doc added for get user invites api

* feat: delete user invitation api added

* feat: get users api added

* feat: update user api added

* feat: update admin status api added

* feat: create invitation api added

* chore: swagger doc update for create user invite

* feat: interceptor added to track last used on

* feat: change db schema

* chore: readonly tag added

* feat: get user by id api added

* fix: return type of a function

* feat: controller name change

* chore: improve token extractino

* chore: added email validation logic

---------

Co-authored-by: Balu Babu <balub997@gmail.com>
2024-07-29 12:36:18 +05:30
Nivedin
c88ea5c8b2
fix: auth bug when value is a secret environment (#4210)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-07-27 20:54:16 +05:30
James George
5f96cda5e2
feat(cli): add support for JUnit reporter (#4189) 2024-07-26 22:56:58 +05:30
jamesgeorge007
ecf0901491 chore: merge hoppscotch/main into hoppscotch/next 2024-07-26 22:39:48 +05:30
Joel Jacob Stephen
9e445cda84
refactor(sh-admin): updated invite flow for the admin dashboard (#4176)
* feat: new success invite link modal introduced

* refactor: replaced button with lucide icon

* style: vertical padding to lucide icon

* feat: new success invite modal component

* refactor: hide copy link button when there are no pending invites

* refactor: changed copy link button to copy invite link

* chore: minor UI update

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
2024-07-26 20:14:41 +05:30
Balu Babu
9cde6c597b
feat: duplicate team and user collections (#4207)
* chore: created new mutation for team-collection duplication

* feat: completed duplication function in TeamCollection module

* feat: user-collection duplication complete

* chore: changed duplicated title suffix for collections

* chore: added return type to argument for duplication mutation in user-collections

* chore: capitalized duplicate in duplicate collection service4 methods

* chore: changed target of hopp-old-backend service to prod
2024-07-24 21:55:08 +05:30
Balu Babu
df730e4d21
feat: Ability to toggle cookies to work in HTTP (#4194)
* feat: added new env variable

* feat: made http secure cookie conditional

* chore: added comments to env files

* chore: changed target of hopp-old-backend service to prod
2024-07-24 21:44:39 +05:30
Andrew Bastin
4457eeb74c chore: bump versions 2024-07-22 22:12:32 +05:30
jamesgeorge007
bf5d62364d chore: bump CLI tests timeout 2024-07-22 19:21:16 +05:30
Dmitry
f913899ad5
fix: fix issue for multipart/form-data and cookie header (#4172)
* fix(multipart-formdata): fix type for data variable

* fix(multipart-formdata): fix parameter filter for unsetted file

* fix(multipart-formdata): add mime type for sending file

* fix(multipart-formdata): add application/octet-stream by default mimetype

* fix(multipart-formdata): remove content-type: multipart/form-data header

* fix(multipart-formdata): remove cookie cookie header if not present

* fix(multipart-formdata): fix content-type filter

---------

Co-authored-by: Dmitry Mukovkin <d.mukovkin@cft.ru>
2024-07-22 18:33:38 +05:30
Nivedin
7652dab9c4
fix: codemirror search bar misaligned (#4203)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-07-22 17:04:53 +05:30
Anwarul Islam
801df8ea97
feat: persist HTML response preview preference (#4177)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-07-19 16:18:55 +05:30
Nivedin
25a519a2e9
fix: wrap line button showing inconsistency bug (#4188) 2024-07-18 15:20:57 +05:30
Nivedin
8c6b80dc42
fix: embeds response and request option section getting hidden bug (#4181)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-07-18 15:13:43 +05:30
Nivedin
7ebc9a6fd6
fix: secret variables being populated as undefined on code snippets (#4180) 2024-07-18 14:44:37 +05:30
Paul Vogel
7ad3f660ae
i18n: add german translations (#4196)
Add german translations
2024-07-18 14:26:09 +05:30
Paul Vogel
199a7234fa
i18n: fix existing german translations (#4195)
Fix existing german translations
2024-07-18 14:19:46 +05:30
Anwarul Islam
90bb470b3a
fix: <img> is flex's immediate child therefore it stretch to its parent width (#4173)
* fix: img is flex immediate child and renders in full width

* chore: remove unnecesary use of flex
2024-07-17 21:34:08 +05:30
Nivedin
1dee1e1b1a
chore: cleanup i18n translations (#4166) 2024-07-05 17:52:50 +03:00
Muhammed Ajmal M
71ac013a38
fix: ctrl+enter inserting newline in code (#4108)
* fix: ctrl+enter inserting newline in code

* chore: add 'cmd+enter' to the key list

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
2024-07-02 15:07:27 +05:30
Nivedin
fe79c47d1f
fix: codemirror crashing due to cursor not updating (#4151)
fix: cursor not updating while filtering
2024-07-02 13:41:20 +05:30
Akash K
2917d50c6a
feat: copyable invite links (#4153)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-06-28 18:48:10 +03:00
Joel Jacob Stephen
0c06f26893
refactor(sh-admin): improvements to invite links in dashboard (#4152) 2024-06-28 16:15:40 +03:00
Andrew Bastin
fba22ea687 refactor: move pwa update toast to the bottom center 2024-06-28 15:10:04 +03:00
Andrew Bastin
fd60c630fd refactor: remove auto dismissal of whats new toast and move it to the bottom left 2024-06-28 15:05:16 +03:00
Mir Arif Hasan
7deb49b244
HSB-453 hotfix: remove !! operator (#4150)
fix: remove !! operator
2024-06-28 14:32:24 +05:30
jamesgeorge007
ac84166b8b chore: update documentation link references 2024-06-28 11:49:09 +05:30
jamesgeorge007
07e7180dc9 chore: update CLI documentation link references
Bump CLI version.
2024-06-28 11:16:47 +05:30
Joel Jacob Stephen
1d1462df69
feat(sh-admin): introducing advanced SMTP configurations and invite links to dashboard (#4087)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-06-27 22:15:50 +03:00
Anwarul Islam
b851d3003c
feat: added change log prompt for PWA updates (#4098)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-06-27 19:03:33 +03:00
James George
3b70668162
feat: CLI collection runner command generation UI flow (#4141)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-06-27 19:17:56 +05:30
James George
a9afb17dc0
feat(cli): access team workspace collections and environments (#4095)
Co-authored-by: nivedin <nivedinp@gmail.com>
2024-06-27 18:11:29 +05:30
Mir Arif Hasan
fa2f73ee40
HSB-439 feature: invite link with SMTP optional (#4078)
* feat: env variable added in infra-config for smtp enable status

* feat: event emitter added

* feat: added advance mailer configurations from infra config

* test: fix test cases

* feat: added query to see is smtp enabled or not

* feat: email auth provider disabled on smtp disable

* chore: restrict on update directly instead of dedicated mutation

* fix: feedback resolved

* chore: modify mailer module

* chore: error handle in mailer functions

* chore: removed unused imports

* chore: remove event-emit

* chore: update env example

* test: fix broken test cases

* chore: feedback resolved

* chore: isSMTPEnabled moved to infra config resolver

* fix: email can not reenable if smtp not enabled
2024-06-27 17:53:40 +05:30
Joel Jacob Stephen
b3e42bf7c3
feat(sh-admin): introducing last active status to users table and individual user's page in dashboard (#4077)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-06-26 12:30:40 +05:30
jamesgeorge007
25fd35770a fix: regression with missing lucide icon pack
Add `@iconify-json/lucide` as a dev dependency to all packages that consume `unplugin-icons`.
2024-06-26 11:59:21 +05:30
Andrew Bastin
762cd2207b chore: bump version to 2024.6.0 2024-06-25 21:29:30 +05:30
Andrew Bastin
1da5dde0ba refactor: bump dioc to 3.0.2 2024-06-25 20:54:25 +05:30
Mir Arif Hasan
190a3b8eaf
fix: crashes in user last login interceptor (#4146)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2024-06-25 17:15:04 +05:30
Andrew Bastin
aead9e6c98 feat: client certificates and ability to skip ssl cert verification in desktop app (#4111)
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
2024-06-25 16:57:07 +05:30
Joel Jacob Stephen
5e3bc01922
refactor(common): improvements to banner handling logic (#4123) 2024-06-25 15:14:52 +05:30
Andrew Bastin
9479258acb chore: merge hoppscotch/patch into hoppscotch/next 2024-06-24 16:09:12 +05:30
Andrew Bastin
7baabebcee chore: merge hoppscotch/main into hoppscotch/patch
there was a hotfix to update the CLI version with a patch release
2024-06-24 16:07:43 +05:30
Andrew Bastin
6e63c723b7 chore: bump cli to 0.8.1 due to new hopp-data schema change 2024-06-24 16:04:39 +05:30
Nivedin
fac90ac342
fix: styling issue on selection in codemirror (#4122) 2024-06-24 12:15:04 +05:30
Anwarul Islam
9d02c8e6c9
feat: added codegen tab in the sidebar (#4099) 2024-06-24 12:03:19 +05:30
Anwarul Islam
d45f15e9cb
fix: prevent unwanted variable wrapping during Insomnia import (#4076)
feat: conditionally check path variable
2024-06-24 11:46:50 +05:30
James George
021ecf17ce
feat: introduce personal access tokens for authorization (#4094)
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
2024-06-24 11:45:31 +05:30
Nivedin
257974325e
fix: large content scroll bug in codemirror editor (#4138) 2024-06-21 23:27:22 +05:30
Mir Arif Hasan
c2085b8b6f
HSB-450 feature: user last active on (#4121)
* feat: userLastActiveOnInterceptor added and update func added in userService

* chore: changed user model parameter description

* chore: commented out docker volume for hopp-old-service

* chore: changed backend to work with secure cookies

---------

Co-authored-by: Balu Babu <balub997@gmail.com>
2024-06-21 12:40:21 +05:30
Andrew Bastin
cfb77f2bfe chore: merge hoppscotch/patch into hoppscotch/next 2024-06-20 22:26:42 +05:30
Andrew Bastin
c2cb295bcb chore: bump version to 2024.3.4 2024-06-14 04:14:16 +05:30
Andrew Bastin
31f1e1b21a
fix: headers having different values with the same key are not shown (#4112)
* feat: allow ability for multiple headers with the same key to be shown

* chore: remove extension inspector in selfhost-desktop

* chore: cleanup

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-06-12 14:11:43 +05:30
Akash K
93807bfe8f
fix: make client credential optional in authcode + pkce flow (#4114)
* fix: make client credential optional

* test: update test fixtures

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2024-06-12 14:10:54 +05:30
Andrew Bastin
e3ad0c9e2e feat: add ability for platforms to define custom login selector ui 2024-06-11 06:20:02 +05:30
Balu Babu
465ea2b4e0
chore: changed the returned status type for errors in the access-tokens (#4107)
* chore: changed the returned status type for errors in the access-token interceptor

* chore: removed unused pagination args
2024-06-07 12:08:35 +05:30
Alexandre Rodrigues Batista
f13478da86 fix(sh-desktop): add missing @hoppscotch/data to selfhost-desktop (#4097) 2024-06-06 20:37:45 +05:30
Joel Jacob Stephen
5805826994
refactor(sh-admin): improved error handling and dynamic user actions in admin dashboard (#4044)
* feat: new helper functions for better error management

* refactor: new i18n strings

* refactor: better error handling in invite modal and members component

* refactor: better user management

* refactor: better error handling in config handler

* refactor: updated logic of dynamic action row

* refactor: better naming for computed properties

* feat: new error message when an admin tries to invite himself

* refactor: updated error message when user is already invited

* refactor: reverted i18n string for user already invited back to the old string

* refactor: removed show prop from invite modal

* refactor: improved implementation for getting the compiled error messages

* feat: new error message when email inputted is of an invalid format

* refactor: minor optimization

---------

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-06-03 17:17:46 +05:30
islamzeki
5fd7c28894
locale: update tr i18n translations (#4057)
* Update tr.json

i18n

* Update tr.json

i18n

* Update tr.json

l10n

* Update tr.json

l10n based on en.json

* Update tr.json

* Update tr.json
2024-06-03 14:35:32 +05:30
Joel Jacob Stephen
b601a2f55f
fix(sh-admin): saving changes to server configurations post a failed attempt will require a page reload in dashboard (#4081)
* fix: resolved an issue with server restart component

* refactor: early return if any mutation fails when initiating server restart

* fix: ensure further attempts go through after a failed reset configs action

---------

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-06-03 14:31:44 +05:30
Nivedin
bece13e6b0
fix: precision lost when json is beautified (#4086) 2024-06-03 14:30:31 +05:30
Nivedin
d0350ec789
fix: add previous value as optional in test schema env diff (#4071)
* fix: add previous value as optional

* refactor: remove method chaining for consistency

---------

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2024-06-03 14:29:48 +05:30
Nivedin
5c214a8da0
fix: persist interceptor state for logged out user (#4060)
* fix: persist interceptor state for loged out user

* refactor: update interceptor section in settings page

* chore: update settings page interceptor section UI

* chore: minoir ui and code refactor
2024-06-03 14:28:58 +05:30
Balu Babu
4bd23a8f4c
feat: adding support for hopp-cli in self-host Hoppscotch (#4079)
* feat: created a new table to store user PATs

* chore: renamed UserTokens table name to PersonalAccessToken

* chore: added unique property to token column

* chore: made expiresOn field optional

* chore: created access-token module

* feat: created access-token rest routes

* chore: created a new auth guard for PATs

* chore: scaffolded routes in team collection and environments modules for CLI

* chore: created method to update lastUsedOn property for accessTokens

* chore: created interceptor to update lastUsedOn property of PAT

* feat: interceptor to update lastUpdatedOn property complete

* chore: removed unused imports in access-token interceptor

* chore: moved routes to fetch collection and environment into access-token module

* feat: added routes to fetch collections and environments for CLI

* chore: modified access-token interceptor

* chore: removed log statement from interceptor

* chore: added team member checking logic to ForCLI methods in team collection and environments module

* chore: changed return error messages to those defined in spec

* chore: added comments to all service methods

* chore: removed unused imports

* chore: updated testcases for team-environments module service file

* chore: added and updated testcases

* chore: removed unneseccary SQL from auto-generated migration sql for PAT

* chore: remobed JWTAuthGuard from relevant routes in PAT controllers file

* chore: modified token for auth in PATAuthGuard

* chore: changed error codes in some certain service methods in access-token module

* feat: worked on feedback for PR review

* chore: renamed service method in access-token module

* chore: removed console log statements

* chore: modified cli error type

* test: fix broken test case

* chore: changed target of hopp-old-backend to prod

---------

Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2024-05-28 16:39:50 +05:30
Mir Arif Hasan
f4f3fdf2d5
HSB-445 feature: storing user last login timestamp (#4074)
* feat: lastLoggedOn added in schema and service function

* feat: add lastLoggedOn logic for magic link

* test: update test cases

* feat: add lastLoggedOn in gql model

* fix: nullable allowed in model attribute

* fix: resolve feedback

* feat: user last login interceptor added
2024-05-27 21:49:42 +05:30
Mir Arif Hasan
b7a3ae231b
HSB-431 fix: email case sensitive in email provider (#4042)
* feat: code level email insensitivity added

* test: fix broken test case

* chore: updated testcase for findUserByEmail in user module

---------

Co-authored-by: Balu Babu <balub997@gmail.com>
2024-05-15 12:37:35 +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
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
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 b99f3c5aaea0bec3701bd6f81c105b490f9aaa55.

* Revert "feat: isServiceConfigured modified"

This reverts commit eaa6f105bbed494de72cea472043b825bee2e206.
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