Commit graph

2440 commits

Author SHA1 Message Date
Chandraprakash Pandey
680439a1b0
fix(common): improve responsive layout and overflow in realtime pages (#5843)
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-02-18 14:28:43 +05:30
James George
28a6569f42 chore: merge hoppscotch/patch into hoppscotch/next 2026-02-18 11:34:09 +05:30
James George
a22389cda0
fix: auto-recover from corrupted sandbox state (#5874) 2026-02-18 10:25:47 +05:30
Eve
98aa0368fb
fix(common): correctly resolve secret environment variables in basic auth header (#5879)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-02-16 18:21:11 +05:30
Kanhaiya Pandey
2ad2f46e6a
feat(common): URL encode/decode context menu actions (#5782)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-02-16 16:55:47 +05:30
Anwarul Islam
ff906b7c96
fix(common): correctly load mock servers on initialization and workspace change (#5832)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-02-05 15:39:47 +05:30
James George
20bfac04fe chore: bump CLI version 2026-02-05 12:56:11 +05:30
James George
5310b9fb40
fix(cli): strip module prefix before script execution (#5835) 2026-02-05 10:39:04 +05:30
James George
32114fc8ef chore: bump version to 2026.1.1 2026-02-04 22:54:23 +05:30
Nivedin
809c07e84c
fix(common): correctly populate OpenAPI response examples (#5831) 2026-02-04 22:53:17 +05:30
Mir Arif Hasan
bf11e7ee22
chore(backend): upgrade nodemailer dependency to v8 (#5833) 2026-02-04 18:40:13 +05:30
Mir Arif Hasan
37e9207b43
fix(backend): resolve database connection leak in infra-config operations (#5825) 2026-02-04 17:25:00 +05:30
No jae gun
2dc3463b69
fix(backend): use duration instead of timestamp for auth cookie maxAge (#5821)
The maxAge option in Express's res.cookie() expects a duration in milliseconds, not an absolute timestamp. The previous code was adding `Date.now()` to the validity period, causing cookies to expire decades in the future instead of the intended 1 day / 7 days.

This was particularly problematic on macOS due to stricter cookie handling by Safari/WebKit.

Addresses #5818

Co-authored-by: njg7194 <njg7194@users.noreply.github.com>
2026-02-04 11:08:07 +05:30
Leonic
3c0938da9d
fix(common): prevent support menu from triggering in editors (#5811) 2026-02-03 23:46:08 +05:30
Mayank Jain
fcf31a4fd8
fix: broken scroll on latest chrome versions (#5816)
Co-authored-by: nivedin <nivedinp@gmail.com>
2026-02-03 12:07:54 +05:30
Leonic
fbe0b8fd10
fix(common): handle null request ref in InspectionService for test-runner tabs (#5814)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-01-29 23:09:34 +05:30
James George
645ecb55d8 fix: prevent memory leaks in experimental scripting sandbox (#5800)
- Cache and reuse a single `FaradayCage` WASM instance to avoid repeated allocations.
- Dispose `InspectionService` watchers via `effectScope` to prevent accumulation on tab switch.
- Use `Set` for environment variable key lookups in validation.
- Dispose Monaco editor models on component unmount.
2026-01-28 11:47:31 +05:30
James George
913863bd09 chore: bump CLI version 2026-01-23 21:20:36 +05:30
James George
8991f2a490 chore: bump version to 2026.1.0 2026-01-23 21:18:39 +05:30
Leonic
dcc36d2a35
feat(common): display user roles in member stack tooltips (#5793) 2026-01-23 20:44:10 +05:30
abhibarkade
fb09afbd71
feat(common): show full request path in tab tooltip (#5750)
Co-authored-by: Code3B <97300790+code3b@users.noreply.github.com>
2026-01-23 20:30:35 +05:30
Shreyas
6348d17955
fix(desktop): use store dir for unified store path (#5799)
The desktop shell was reading from `instance/hoppscotch-unified.store` while the webapp writes to `store/hoppscotch-unified.store`. This caused the app to lose track of the last connected instance on restart.

Closes FE-1121
2026-01-23 18:20:00 +05:30
Shreyas
c64928885f
feat(desktop): host mapping infra for cloud orgs (#5795) 2026-01-23 15:07:44 +05:30
Leonic
65046526f0
fix(common): ignore shift keybindings in CodeMirror editors (#5794) 2026-01-23 14:35:02 +05:30
Swanand Keskar
05875cc65b
docs(desktop): add installation instruction using Homebrew (#5790)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-23 11:45:58 +05:30
shaezard
1824990980
fix: add teamID/userUid filter to updateMany queries, Fixed Row level locking to prevent deadlocks and achieve ~100x performance improvement (#5647)
* fix: add teamID/userUid filter to updateMany queries

Prevents cross-user/cross-team orderIndex corruption

* fix: fix orderIndex of existing collections

* feat(backend): add cascade delete for collections

- Add onDelete: Cascade to TeamCollection parent relationship
- Add onDelete: Cascade to UserRequest → UserCollection relationship
- Remove manual recursive deleteCollectionData methods
- Simplify deleteUserCollection and deleteTeamCollection services
- Add Prisma migration for cascade delete foreign keys

Resolves #5654

* refactor(team-collection): remove manual deleteCollectionData method

Resolves #5654

* fix(backend): fixed locking mechanisms for collections and requests

- User/Team Collection/Requests

Resolves #5666

---------

Co-authored-by: Abdur Rahman Daanish <abdurrahman_daanish@intuit.com>
2026-01-23 00:32:48 +06:00
James George
a998d6c493
feat(js-sandbox): add extensive Web Crypto API support (#5791) 2026-01-22 17:30:06 +05:30
Jorge Alexander Taberoa Jimenez
4e717d79a5
chore(common): complete missing Spanish translations (#5761)
Co-authored-by: Jorge Alexander Taberoa Jimenez <taberoajorge@users.noreply.github.com>
2026-01-22 17:07:12 +05:30
Mir Arif Hasan
4f13549ed2
chore: security patch for the dependency chain v2026.1.0 (#5786)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-01-21 23:25:40 +05:30
Nivedin
69c7c2d9ad
fix(common): restore scrolling on response panel (#5783) 2026-01-20 19:26:01 +05:30
James George
27b817f627
feat: migrate ESLint to v9 across packages (#5773)
Co-authored-by: curiouscorrelation <curiouscorrelation@gmail.com>
2026-01-20 14:48:55 +05:30
Mir Arif Hasan
992579e285
fix: improve endpoint parsing in parseExample method (#5762) 2026-01-20 12:46:13 +06:00
Anwarul Islam
194c9496aa
fix(common): prevent duplication of request ID when duplicating requests (#5781) 2026-01-19 14:27:58 +05:30
NoobFullStack
4d862c2f4b
feat(common): update and complete Dutch translations for Hoppscotch UI (#5734)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-01-16 22:12:48 +05:30
NoobFullStack
823d9055a2
fix(common): correct typo in repo French locale (#5733) 2026-01-16 19:37:46 +05:30
NarekCodes
818f9ab0ca
feat(common): add armenian translation (#5740) 2026-01-16 19:35:28 +05:30
Gerard Balaoro
bdc2d33f50
feat(common): use jq for JSON response filtering (#5703)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-01-15 15:02:56 +05:30
Chhavi Goyal
bbb7fdf819
fix(common): prevent hang when highlighting large responses (#5714)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-01-15 13:52:17 +05:30
James George
dfe3d05c5a
fix(cli): inherit collection variables in folders without own variables (#5771) 2026-01-14 19:54:36 +05:30
James George
d3144f99fb
fix: strip comments from JSON request bodies in CLI (#5769)
Fixes collections with JSON comments failing in the CLI with `SerializationException` while working fine in the app, where comments are stripped before sending requests, but the CLI was sending them as-is, breaking APIs like AWS Cognito that expect valid JSON.
2026-01-14 17:06:30 +05:30
Aaron Fort Garcia
254eb3c958
fix(common): environment variable mapping when referencing other variables (#5704) 2026-01-14 13:12:16 +05:30
aparna-bhatt
6c2128fbed
feat(common): add copy functionality to console output entries (#5743)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-01-12 13:24:52 +05:30
James George
84c3e8642c fix: enable scrolling for console tab in response section
Adds `overflow-auto` to `HttpResponse` component to create a scroll container
that enables console entries to scroll when content exceeds viewport.
Removes unnecessary `overflow-y-auto` from `ConsolePanel` component since scrolling
is now handled at the `HttpResponse` level.

Fixes the console tab scrolling issue by following the same component-level
approach as PR #5695 (Settings/Profile scroll fix).
2026-01-09 17:11:29 +05:30
Shreyas
b3b609d0b4
perf(desktop): cache store path resolution (#5747) 2026-01-06 14:08:29 +05:30
James George
9693a82a87 chore: bump version to 2025.12.1 2026-01-05 16:15:09 +05:30
James George
f34e06b7d1 fix: remove redundant label on the Desktop App
Follow up of 67dff5f.
2026-01-05 16:13:34 +05:30
Mir Arif Hasan
212b15890e
chore: apply ThrottlerBehindProxyGuard across controllers (#5746) 2026-01-05 14:02:56 +06:00
James George
67dff5fe0f refactor: backport cloud for orgs related foundational changes
- Remove organization branding updates.
- Update `Hoppscotch Cloud` organization sidebar item.
- Ensure organization switcher sidebar isn't displayed on the central cloud instance.
2025-12-22 13:06:59 +05:30
Stanislav Horáček
29d8b6cc77
chore(common): Czech translation updates (#5672)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-21 20:06:14 +05:30
Denny Jiang
7092e77fe0
chore(common): Chinese translation improvements (#5699) 2025-12-21 20:04:49 +05:30
Yun Juhwan
24eb33707c
chore(common): update product name in Korean translation for consistency (#5660)
Replaces phonetic Korean translations with the original product name, matching the approach used in other Asian locales (ja, cn).
2025-12-21 19:53:16 +05:30
Anwarul Islam
3c2bc6caf3
feat(common): create and manage example responses in collections (#5652)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-19 23:14:21 +05:30
James George
d91c554fca chore: cleanup organization sidebar i18n strings
- Remove unused i18n keys (organizations, no_orgs, expand, collapse, status badges).
- Consolidate inactive org tooltips into single key.
- Simplify `multi_account_notice` text for clarity.
2025-12-19 23:09:23 +05:30
Mir Arif Hasan
442242c8ca
chore: security patch for the quic-go vulnerability (#5710)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: Nahid Hasan <52489202+nahidhasan94@users.noreply.github.com>
2025-12-19 21:00:22 +05:30
James George
440868d635 chore: bump version to 2025.12.0 2025-12-19 17:19:24 +05:30
James George
c9d0ea78bb chore: i18n string addition
Informational message indicating each organization instance maintains its own authentication state.
2025-12-19 17:18:23 +05:30
Aaron Fort Garcia
c7e453455b
fix(common): resolve Postman API key authorization header import mapping (#5701) 2025-12-19 17:11:22 +05:30
James George
a0bc22968d docs(common): clarify desktop organization switching behavior 2025-12-19 12:48:48 +05:30
James George
3d8810ec74
feat(common): add platform support for organization switcher (#5708)
Extends the organization platform definition to support switching between multiple organizations and displaying custom branding (logo and name) in the application header. Adds shared utilities for file uploads and avatar generation, including deterministic colour support.

These changes enable the Cloud for Organizations tier to offer:
- Multi-organization switching via sidebar UI.
- Custom logo uploads for organization branding.
- Seamless navigation between different organization instances.
2025-12-19 12:39:50 +05:30
Shreyas
824dce79d0
feat(desktop): url focus and mru tab shortcuts (#5683)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-16 17:25:56 +05:30
James George
745fc9d1f6 fix: resolve CodeMirror editor syntax highlighting issues
Revert `@codemirror/view` dependency bump.
2025-12-15 13:34:52 +05:30
Anwarul Islam
c55fbda1f6
fix(common): restore scrolling on settings and profile pages (#5695) 2025-12-15 13:23:42 +05:30
Shreyas
e025b8c8e1
perf(webapp-server): opt for build over run time (#5644)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-15 11:54:37 +05:30
Mir Arif Hasan
05927f3d4d
chore: security patch for the dependency chain v2025.12.0 (#5678)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-12 16:58:35 +05:30
Chhavi Goyal
973572d060
fix: improve keyboard shortcuts (#5601)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-12 14:23:59 +05:30
Shreyas
65ee147681
fix(desktop): align vendored instance version (#5687)
This fixes the stale vendored display version.

 `VENDORED_INSTANCE_CONFIG` currently stores old instance version
 `25.9.0` and while other components do override this correctly, it'd be
 better to keep this consistent per release.

 Closes FE-1102
2025-12-11 14:23:09 +05:30
James George
3527f217c9 chore: bump version to 2025.11.2 2025-12-10 18:58:30 +05:30
Mir Arif Hasan
92e3f52b47
chore: add sslmode support to PrismaService database URL parser (#5671) 2025-12-10 12:19:17 +06:00
preeyaX
d67a85b128
fix(common): remove double scrollbar in response pane (#5665)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-12-09 19:28:28 +05:30
Chhavi Goyal
e51676eea0
fix(common): environment variables not detected in request body editors (#5616)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-12-09 18:53:14 +05:30
Nilanshu-Ankit
420aa7eda0
fix(common): increase modal dialog width for bigger screen (#5631)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-12-08 17:50:07 +05:30
Shreyas
87d1cccb82
feat(desktop): atomic write for registry persistence (#5658)
This implements atomic writes for registry.json using a temporary file and renaming to prevent file corruption on Windows 11.
2025-12-04 14:34:22 +05:30
James George
f88c81fccc test(cli): prevent flaky CLI E2E tests by detecting generic REQUEST_ERROR patterns 2025-12-04 12:57:47 +05:30
Anwarul Islam
f232886717
feat(common): adjust layout for created server info display in mock server (#5655) 2025-12-04 11:50:06 +05:30
Mir Arif Hasan
52735a166d
fix: add database URL parsing to PrismaService (#5656)
* fix: add database URL parsing to PrismaService

* fix: feedback

* chore: add pool connectivity check to PrismaService
2025-12-04 11:55:22 +06:00
James George
77d0956180 chore: bump version to 2025.11.1 2025-12-03 23:02:12 +05:30
Mir Arif Hasan
008335c715
feat: add auto-create collection option to mock server creation (#5637)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2025-12-03 23:01:06 +05:30
Nivedin
cd82eb212d
fix: remove ref_id field before collection exports and address race conditions (#5626)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-03 23:00:25 +05:30
hyunbikim
4efe86f2e0
fix: support dots/dashes in environment variable autocomplete (#5630)
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2025-12-02 23:12:15 +05:30
jaeyonglee-int
aed032391f
fix: ensure correct parser for xml and plaintext (#5597)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-02 17:23:51 +05:30
Mir Arif Hasan
88c7e189cf
hotfix: clean up published docs with deleted collections (#5624) 2025-12-02 14:07:08 +06:00
Nivedin
217563e7dd
fix: prevent clear response action in response examples and test runner (#5641) 2025-12-02 13:28:53 +05:30
Nivedin
ab52efc075
feat: improve documentation UI and add published docs indicators (#5620)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2025-11-27 12:29:29 +05:30
Nima Akbarzadeh
1e8edd2c9c
docs(cli): add workspace dependency build requirements to README (#5440) 2025-11-26 20:22:40 +05:30
James George
c6c86e8db2 fix(cli): prevent false test skips for intentional error scenarios
Refined network retry logic to distinguish between transient infrastructure
failures and intentional test errors, preventing incorrect test skips in
JUnit validation scenarios.

1. Network Error Detection (utils.ts)
   - Renamed `hasNetworkError` → `hasLowLevelNetworkError` for clarity
   - Removed REQUEST_ERROR from retry patterns (too generic, matches intentional bad URLs)
   - Now only retries on unambiguous TCP/DNS errors: ECONNRESET, EAI_AGAIN,
     ENOTFOUND, ETIMEDOUT, ECONNREFUSED
   - Preserved TEST_SCRIPT_ERROR detection when concurrent with REQUEST_ERROR
     (the actual CI failure mode from undefined response objects)
   - Added comprehensive JSDoc explaining when to use vs plain runCLI

2. JUnit XML Validation (test.spec.ts, 4 locations)
   - Removed REQUEST_ERROR and TEST_SCRIPT_ERROR from XML retry patterns
   - Only retry when low-level errors corrupt XML structure
   - Prevents skipping tests with intentional errors in collections
     (test-junit-report-export-coll.json has intentional invalid-url and
     script reference errors for validation)

3. Test Corrections
   - Fixed: "Fails to display console logs..." test now uses plain runCLI
     (test expects errors from legacy sandbox, shouldn't use retry)
   - Added: Environment version tests (v0, v1, v2) now use runCLIWithNetworkRetry
     (use echo.hoppscotch.io, expect success, benefit from retry)
   - Removed: Obsolete SKIP_EXTERNAL_TESTS env var check (retry logic handles this)
2025-11-26 19:39:38 +05:30
KvS
9f703c9b5b
fix(common): GraphQL argument addition and click event propagation (#5448)
Co-authored-by: Viraj <kunwar.suryavanshi@sapiens.com>

Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com>
2025-11-26 14:34:03 +05:30
Fahed Khan
4c1911c007
feat(common): add erase response functionality with keybindings (#5435)
Co-authored-by: nivedin <nivedinp@gmail.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-26 14:24:16 +05:30
Shreyas
fdbec04703
fix: guard tauri calls with kernel check (#5619) 2025-11-26 11:34:47 +05:30
James George
c50076ef2e chore: bump dependencies
Follow up to #5590.
2025-11-26 11:06:57 +05:30
James George
0bf8e08874 chore: formatting updates 2025-11-26 10:40:39 +05:30
James George
62aa4440c6 chore: bump CLI version 2025-11-26 10:39:54 +05:30
James George
7bcd268725 chore: bump version to 2025.11.0 2025-11-26 10:39:09 +05:30
James George
f2f015c1c8
feat(scripting-revamp): add support for sending requests in scripting context (#5596) 2025-11-26 09:52:00 +05:30
Anwarul Islam
16f08e2a50
feat(common): add better ux to profile page by enabling routing for each tab (#5544)
Co-authored-by: Nivedin <53208152+nivedin@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-11-25 23:06:56 +05:30
Nivedin
a5fb7cb0d2
fix: API documentation UI flow improvements (#5618) 2025-11-25 23:06:02 +05:30
Anwarul Islam
03212386fb
feat: add platform-specific import support for personal collections (#5570)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-25 22:03:21 +05:30
Anwarul Islam
77af577778
feat: mock server feature enhancements (#5609)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-25 19:34:54 +05:30
Shreyas
f834cc87d3
feat(desktop): portable phase-3: instance manager (#5421)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-25 18:09:18 +05:30
Shreyas
017341928c
fix(common): agent interceptor dependency compat (#5613)
Fixes agent interceptor registration broken by dependency update

---------

Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-25 14:44:41 +05:30
Nivedin
e63bfe3723
feat: API Documentation (#5499)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-25 11:26:57 +05:30