Commit graph

417 commits

Author SHA1 Message Date
Mir Arif Hasan
f5aee59448
chore: change session config (#5289) 2025-07-29 14:32:57 +05:30
jamesgeorge007
1537734374 chore: bump version to 2025.7.0 2025-07-28 23:48:07 +05:30
Mir Arif Hasan
8f5eed5151
chore: migrate to @db.Timestamptz(3) and remove luxon dependency (#5283)
* feat: remove deprecated env sync

* feat: using infraConfig in bootstrap

* chore: migrate to TIMESTAMPTZ and remove luxon dependency

* chore: remove luxon deps

* Revert "feat: using infraConfig in bootstrap"

This reverts commit 147dba632f095dad816afdd4e46ed736e8a3b8ff.

* chore: cleanup
2025-07-28 21:32:14 +06:00
Mir Arif Hasan
0b7d31a20c
feature: reduce .env usage and move configurations to admin dashboard (#5194)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-07-28 16:46:30 +05:30
Mir Arif Hasan
37671ac9e7
chore(backend): prevent clear text transmission of sensitive cookie (#5274) 2025-07-28 16:18:38 +05:30
Mir Arif Hasan
37cca6cfc9
chore: security patches for the dependency chain (#5278) 2025-07-28 15:53:25 +05:30
jamesgeorge007
636d350c0f chore: bump version to 2025.6.1 2025-07-14 14:28:51 +05:30
jamesgeorge007
d674a2e8d2 chore: bump version to 2025.6.0 2025-06-25 14:15:29 +05:30
Krish Prajapati
08e5fa974c
refactor(backend): enhance auth strategies with type safety and better error handling (#5066)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2025-06-25 14:02:01 +05:30
jamesgeorge007
580cf60766 chore: bump version to 2025.5.4 2025-06-24 14:44:25 +05:30
jamesgeorge007
8a88016d00 chore: bump version to 2025.5.2 2025-06-18 18:05:26 +05:30
jamesgeorge007
9493b30a84 chore: bump version to 2025.5.2 2025-06-10 14:11:38 +05:30
jamesgeorge007
caeddac94c chore: bump version to 2025.5.1 2025-05-29 15:14:19 +05:30
jamesgeorge007
a80573603b chore: bump version to 2025.5.0 2025-05-27 13:35:29 +05:30
Mir Arif Hasan
e7aba8a914
chore(backend): update dependencies (#5085) 2025-05-22 16:32:58 +05:30
Mir Arif Hasan
7ee33abdef
HSB-514 refactor: remove unused CollType GQL enum (#5074)
chore: removed unused CollType GQL enum
2025-05-16 16:55:56 +06:00
Binayak Bhattacharjee
9b0e1af92d
chore(backend): configure CORS for development and production environments (#4430)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2025-05-14 12:29:24 +05:30
Mir Arif Hasan
46e5792965
chore: hoppscotch-backend code formatting, minor lint fixes, and refactoring (#5061)
* chore: prettier formatting applied

* chore: added some lint fixed

* fix: few lint errors

* chore: prisma and pubsub are now global module

* chore: add encapsulation consistency in service files

* chore: made a cast function private

* chore: cast function made private

* refactor: module imports

* refactor: posthog spelling
2025-05-09 15:37:20 +06:00
jamesgeorge007
c28e4103a8 chore: merge hoppscotch/main into hoppscotch/next 2025-05-08 16:44:12 +05:30
jamesgeorge007
b5e19c9d46 chore: bump version to 2025.4.2 2025-05-08 15:38:54 +05:30
Akhil
f26d32c4e4
refactor: rename enum TeamMemberRole to TeamAccessRole (#5053)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2025-05-07 17:56:10 +05:30
jamesgeorge007
9e8ecd97d0 chore: bump version to 2025.4.1 2025-05-07 16:21:39 +05:30
Mir Ishfaq Hussain
cccd711507
refactor(backend): formatting updates in TeamEnvironmentsService (#4388)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2025-04-29 14:37:03 +05:30
Raphael Hehl
cb52a582ac
feat(backend): add getTracker method for IP extraction (#3535)
Co-authored-by: Raphael Hehl <Raphael.Hehl@deutschebahn.com>
2025-04-29 14:29:01 +05:30
Andrew Bastin
decbb56c9f chore: bump vulnerable dependencies 2025-04-28 15:11:15 +05:30
jamesgeorge007
3219cb3b5d chore: bump version to 2025.4.0 2025-04-25 20:47:28 +05:30
jamesgeorge007
236db8396b chore: bump version to 2025.3.2 2025-04-15 13:16:56 +05:30
Akhil
4460751389
fix: account for templates directory in ARM images (#4992) 2025-04-15 13:13:53 +05:30
jamesgeorge007
9a5b5323ab chore: bump version to 2025.3.1 2025-04-09 19:47:01 +05:30
Mir Arif Hasan
ae5b745f5c
test(backend): account for race conditions in verifyMagicLinkTokens test suite (#4969) 2025-04-08 20:32:01 +05:30
jamesgeorge007
3c535b2ad4 chore: bump version to 2025.3.0 2025-03-27 13:15:30 +05:30
jamesgeorge007
8c67c832d2 chore: bump version to 2025.2.3 2025-03-19 14:41:08 +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
ced98b997a chore: bump version to 2025.2.1
Bump Agent version to `0.1.5`.
2025-03-06 15:41:15 +05:30
Nivedin
ae0303415a
fix: order request while fetching from db (#4814) 2025-03-04 20:51:55 +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
jamesgeorge007
d8875043cd chore: bump version to 2025.2.0 2025-02-24 12:36:00 +05:30
jamesgeorge007
98a2631ba4 chore: bump version to 2025.1.1 2025-02-07 14:53:00 +05:30
jamesgeorge007
7be23dfb59 chore: bump version to 2025.1.0 2025-01-30 11:23:20 +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
jamesgeorge007
aa17448317 chore: bump version to 2024.12.0
Bump CLI version to `0.20.1`.
2024-12-20 20:07:04 +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
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
jamesgeorge007
69b94886a6 chore: bump version to 2024.11.0 2024-11-27 17:44:55 +05:30
Mir Arif Hasan
5dccce39b4
feat: env file sync with infra config (#4545) 2024-11-26 19:52:51 +05:30
Mir Arif Hasan
c9fb5bf45c
fix: return 0 complexity for introspection fields (#4549) 2024-11-25 19:25:40 +05:30
jamesgeorge007
908f936f50 chore: bump version to 2024.10.2 2024-11-12 22:35:30 +05:30