Commit Graph

3372 Commits

Author SHA1 Message Date
Siddharth Gelera
1874ef7a1f chore: lint fixes 2025-09-25 16:35:20 +05:30
Siddharth Gelera
f0aae8bcc0 chore: lint fixes 2025-09-25 16:31:23 +05:30
Siddharth Gelera
a2ca5ef65b fix: typo 2025-09-25 16:03:58 +05:30
Siddharth Gelera
ad70c12712 chore: fix message queue flush logic
Ensure that the flushQueue method checks for the existence of the message queue before processing.

Refactor WebSocket test fixtures for better readability by correcting indentation and structure.
2025-09-25 16:01:46 +05:30
Siddharth Gelera
f4dce1e44e chore: fix lang constructs 2025-09-25 15:56:22 +05:30
Siddharth Gelera
7b89ccebf5 chore: base format 2025-09-25 15:46:59 +05:30
Siddharth Gelera
b4e5c67fd7 chore: reformat 2025-09-25 15:39:40 +05:30
Siddharth Gelera
835e850a73 chore: reformat 2025-09-25 15:26:46 +05:30
Siddharth Gelera
9bfbffe914 chore: reformat 2025-09-25 15:17:52 +05:30
Siddharth Gelera
f962a2c04a chore: reformat 2025-09-25 15:15:14 +05:30
Siddharth Gelera
6188a65b13 chore: reset formatting 2025-09-25 14:57:12 +05:30
Siddharth Gelera
dc6ab16221 fix: use body directly 2025-09-24 18:08:45 +05:30
Siddharth Gelera
0c8c7933c8 Merge branch 'main' into feat/websocket-engine 2025-09-24 15:46:08 +05:30
Siddharth Gelera
6acf38fac1 refactor: replace decoder with type in WebSocket message handling 2025-09-24 15:42:28 +05:30
Pragadesh-45
e4f8945e89 fix: add Linux support for xdg-portal version in Electron app (#5618) 2025-09-24 01:53:41 +05:30
John Vester
e6c136d2bb Merge pull request #5582 from johnjvester/5579_correct_spelling
5579 - correct spelling error and introduce constant to avoid duplication
2025-09-24 00:40:58 +05:30
Siddharth Gelera
a79ad21807 feat: enhance WebSocket message handling with decoder support
- Added decoder field to WebSocket messages in various components.
- Updated prettify functionality to handle XML and JSON formats.
- Modified Redux state to include decoder information.
- Adjusted schema validation to accommodate decoder field.
2025-09-23 18:45:23 +05:30
Siddharth Gelera (reaper)
f24e1e78fe chore: ESLint atomic diff based formatting (#5592)
* chore: atomic diff based formatting
2025-09-23 13:36:34 +05:30
Siddharth Gelera
e40d99e515 feat: add WSRequestBodyMode component and language detection
- Introduced a new component for selecting request body modes (JSON, XML, TEXT).
- Implemented auto-detection of language for the request body content.
- Created a styled wrapper for improved UI presentation.
2025-09-22 15:44:22 +05:30
Siddharth Gelera
ec9b321e53 fix: faster queue 2025-09-19 19:36:56 +05:30
Pooja
87d8c5ccb7 fix: env name overflow (#5598) 2025-09-19 19:36:37 +05:30
Siddharth Gelera
db9a615c71 feat: inherit timeout from app prefs 2025-09-19 13:09:28 +05:30
Pragadesh-45
17d5629627 refactor: Replace SingleLineEditor with MultiLineEditor in EnvironmentVariables components and add masking functionality (#5576)
* refactor: Replace SingleLineEditor with MultiLineEditor in EnvironmentVariables components and add masking functionality
- Adjusted related components to support the new editor and its features, including toggling visibility for secret values.

---------

Co-authored-by: lohit-bruno <lohit@usebruno.com>
2025-09-18 22:31:09 +05:30
Siddharth Gelera
39546be3dd fix(ShareCollection): update non-exportable request types handling
Refactor hasGrpcRequests to hasNonExportableRequestTypes,
returning an object with a flag and types of requests that
will not be exported.
2025-09-18 18:07:37 +05:30
Siddharth Gelera
36134386da chore: cleanup 2025-09-18 17:59:29 +05:30
Siddharth Gelera
76e49edbbd fix(ws-client): rename timeout to handshakeTimeout
Updated the WebSocket connection options to use 'handshakeTimeout' instead of 'timeout' for clarity.
2025-09-18 17:56:45 +05:30
Siddharth Gelera
b61bcacabf test(websocket): update BRU_FILE_NAME to use regex
Changed BRU_FILE_NAME from a string to a regex pattern for better matching.
2025-09-18 17:42:41 +05:30
Siddharth Gelera
a99087b671 test(websocket): refactor to use constant for BRU_FILE_NAME
Updated the test cases to utilize a constant for the BRU_FILE_NAME regex pattern for better maintainability and readability.
2025-09-18 17:41:31 +05:30
Siddharth Gelera
9b1019bb3a chore: cleanup 2025-09-18 17:37:17 +05:30
Siddharth Gelera
2a674786e2 test(websocket): add headers handling in tests
- Implemented logic to send headers in websocket messages.
- Added tests for websocket connections and message handling.
- Created locators for common elements in websocket tests.
2025-09-18 17:21:53 +05:30
Siddharth Gelera
c0b2cc914d chore: formatting changes batch 6 2025-09-18 17:01:40 +05:30
Siddharth Gelera
b1f7b8ec6c chore: for now avoid oauth2 2025-09-18 16:38:00 +05:30
Siddharth Gelera
aee294e271 chore: clean up 2025-09-18 16:32:39 +05:30
Siddharth Gelera
419bb436c3 chore: format settings batch 4 2025-09-18 16:26:01 +05:30
Siddharth Gelera
0ab9c927e7 chore: format changes batch 3 2025-09-18 16:10:58 +05:30
Siddharth Gelera
f077d0f861 chore: formatting fixes batch 2 2025-09-18 15:59:35 +05:30
Siddharth Gelera
ee3543535d formatting fixes - batch 1 2025-09-18 15:45:31 +05:30
Sanjai Kumar
4321846dbd feat: Add end-to-end tests for collection run reports (#5562)
* feat: Add end-to-end tests for collection run reports
2025-09-18 15:20:28 +05:30
Siddharth Gelera
1a33f2e83f feat: enhance WebSocket message handling and styling 2025-09-18 15:14:08 +05:30
Siddharth Gelera
875060155a fix: make the view a lot more compact 2025-09-18 14:52:37 +05:30
Siddharth Gelera
2bf9983448 fix: hexdump on sent messages 2025-09-18 14:48:50 +05:30
Siddharth Gelera
3fc2fa2d57 tests(websockets): move it a folder up 2025-09-18 14:16:53 +05:30
Siddharth Gelera
d209272e16 feat(websockets): add websocket tests 2025-09-18 14:10:04 +05:30
Pooja
f3d4ac84d8 fix: environment list scroll (#5585) 2025-09-18 11:23:49 +05:30
Sanjai Kumar
de52ceea48 refactor: moved sample collection JSON to resources folder inside bruno-electron and updated electron-builder-config (#5581) 2025-09-17 20:45:33 +05:30
Pooja
65e69e77b3 revamp: collection and global env selector dropdown (#5542)
* revamp: collection and global env selector dropdown

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Pragadesh-45 <54320162+Pragadesh-45@users.noreply.github.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
Co-authored-by: sanish-bruno <sanish@usebruno.com>
Co-authored-by: bernborgess <bernborgesse@outlook.com>
Co-authored-by: lohit <lohit@usebruno.com>
Co-authored-by: Its-Treason <39559178+Its-treason@users.noreply.github.com>
Co-authored-by: jayakrishnancn <jayakrishnancn@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-17 19:35:00 +05:30
Siddharth Gelera
11a967ef50 feat: beautify the code editor in each message 2025-09-17 19:11:05 +05:30
Siddharth Gelera
daa1ab60cb fix: avoid duplicate messages
avoid message getting queued and sent twice
2025-09-17 17:48:38 +05:30
Siddharth Gelera
f2cdf8d595 fix: remove unused content-type check in WebSocket request preparation 2025-09-17 17:00:11 +05:30
Siddharth Gelera
400d494f45 chore: pkg updates 2025-09-17 16:47:33 +05:30