Commit graph

671 commits

Author SHA1 Message Date
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
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
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
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
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
Anwarul Islam
924a7c778e
feat: improve graphql query builder (#4742)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-03-13 17:02:14 +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
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
Shreyas
dd3bf52711
feat(kernel): isolate type ser/de to platform (#4860) 2025-03-10 22:45:51 +05:30
luzpaz
072c759cd0
fix: typos in packages/hoppscotch-common/src/platform (#4855) 2025-03-10 12:53:42 +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
ce99617aac
fix(common): exception while clicking request history entries (#4832) 2025-03-05 19:14:55 +05:30
Shreyas
5f0acab055
fix: kernel-io calls via openExternalLink (#4807) 2025-03-05 13:03: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
02bf634f25
fix(common): PersistenceService call site compat (#4799) 2025-03-03 12:39:48 +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
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
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