Commit Graph

1472 Commits

Author SHA1 Message Date
Ankit Mahato
625254b20f Refactor auth handling in HTTP request functions
Removed redundant AuthModel parameter from sendHttpRequest and streamHttpRequest functions, now using authModel from HttpRequestModel directly. Updated all usages, tests, and related logic to reflect this change. Improved streaming response handling in CollectionStateNotifier and HttpResponseModel.
2025-08-06 02:42:23 +05:30
Ankit Mahato
81e967b1b3 Update collection_providers.dart 2025-08-06 00:44:00 +05:30
Ankit Mahato
d491f0540d Refactor SSE response handling and display
Updated response body widgets to handle SSE output as a list of strings instead of a single string. Adjusted view options for SSE-related media types and refactored SSEDisplay to be a stateless widget that accepts a list of SSE events. This improves clarity and consistency in handling and displaying SSE responses.
2025-08-06 00:32:02 +05:30
Ankit Mahato
ce2f98af07 import update 2025-08-05 23:03:48 +05:30
Ankit Mahato
3d8cf8ea2b Refactor SSE display widget styling and layout
Updated the SSE display widget to use ListView with improved padding and card styling. Switched to consistent use of kCodeStyle and theme-based colors, and simplified font size and color handling for better dark/light mode support.
2025-08-05 22:47:53 +05:30
Ankit Mahato
af87942bdd Remove unused imports from test and widget files
Cleaned up several files by removing unused import statements to improve code clarity and reduce unnecessary dependencies.
2025-08-05 21:22:16 +05:30
Ankit Mahato
be16016d95 Refactor dark mode color blending to extension method
Moved dark mode color blending logic to a Color extension (toDark) in the design system. Updated usages in ui_utils.dart and related tests to use the new extension. Removed the old getDarkModeColor function for cleaner and more idiomatic code organization.
2025-08-05 21:17:39 +05:30
Ankit Mahato
d1fe07ac8d Add 'Stop' label constant and use in SendButton
Introduces kLabelStop to consts.dart and updates SendButton to use the new constant when isStreaming is true, improving consistency in label management.
2025-08-05 19:50:13 +05:30
Ankit Mahato
9772ff9e5e Rename variables for clarity in CollectionStateNotifier
Renamed respModel and historyM to httpResponseModel and historyModel for improved code readability and consistency within the CollectionStateNotifier class.
2025-08-05 13:09:47 +05:30
Ankit Mahato
254530d9ae Refactor null checks in CollectionStateNotifier
Improved readability by expanding null checks with braces in CollectionStateNotifier methods. Also added a non-null assertion for historyM when adding a history request.
2025-08-05 12:48:54 +05:30
Ankit Mahato
f4e0f82125 Merge branch 'main' into better_networking/sse 2025-08-05 06:18:21 +05:30
Udhay Adithya
1347d4ccfc Merge branch 'foss42:main' into scripting-tests 2025-07-18 20:00:10 +05:30
Manas Hejmadi
835d7a0cea SSE: RAW Mode added & SSEDisplay: kCodeStyle used 2025-07-16 19:29:29 +05:30
Ankit Mahato
744b8c0994 Fix dropdown labels 2025-07-14 01:51:50 +05:30
Ankit Mahato
245a7b79ac Fix EditGraphQLRequestPane provider 2025-07-14 01:09:54 +05:30
Ankit Mahato
862319b3df Update hisotry rwquest pane auth 2025-07-14 01:01:44 +05:30
Ankit Mahato
972d8be6b0 Add AuthPage 2025-07-14 01:01:21 +05:30
Ankit Mahato
394835187a turns fields optional 2025-07-14 01:00:49 +05:30
Ankit Mahato
32dcbda803 JWT refactor 2025-07-12 23:36:27 +05:30
Ankit Mahato
1e10606ebf Remove comments from JWT 2025-07-12 18:05:40 +05:30
Ankit Mahato
447cbd4fa7 refactor for digest 2025-07-12 18:04:19 +05:30
Ankit Mahato
13a4000569 refactor imports 2025-07-12 16:22:47 +05:30
Ankit Mahato
568927b369 rename AuthTextField 2025-07-12 16:22:38 +05:30
Ankit Mahato
5d89dfddaa Update consts.dart 2025-07-12 16:18:31 +05:30
Ankit Mahato
7925a385f6 Update bearer_auth_fields.dart 2025-07-12 16:18:29 +05:30
Ankit Mahato
759e90663d Update basic_auth_fields.dart 2025-07-12 16:18:19 +05:30
Ankit Mahato
5afce7438b Update consts.dart 2025-07-12 15:52:47 +05:30
Ankit Mahato
99c38c4f96 refactor API Key auth 2025-07-12 15:52:10 +05:30
Ankit Mahato
9850b7a044 Update auth widgets export 2025-07-12 15:24:57 +05:30
Udhay-Adithya
db2f5af773 refactor: move auth_textfield to widgets folder 2025-07-12 00:49:48 +05:30
Udhay-Adithya
db93e82b5f fix: make authModel optional in HistoryRequestModel 2025-07-12 00:34:12 +05:30
Udhay Adithya
50d84ba6f0 Merge branch 'foss42:main' into scripting-tests 2025-07-12 00:19:23 +05:30
Udhay Adithya
65f375c69e Merge branch 'foss42:main' into basic-auth 2025-07-12 00:19:13 +05:30
Manas Hejmadi
458e8c4fbe Modified SSE Display to support DarkMode 2025-07-08 04:12:04 +05:30
Udhay-Adithya
38eb527703 feat: update APIAuthType enum to include display types for authentication options 2025-07-07 22:41:25 +05:30
Udhay-Adithya
127b2c1efc fix: disable onChanged for read-only auth fields 2025-07-07 22:32:14 +05:30
Udhay-Adithya
38d8e8e76b fix: update tooltip icon color and size 2025-07-07 22:28:18 +05:30
Udhay-Adithya
e838654b2d feat: enhance authentication fields with additional info 2025-07-07 22:25:54 +05:30
Manas Hejmadi
c58f6e6705 collection_providers_test: SSE Output in ResponseBody tested 2025-07-07 20:14:09 +05:30
Udhay-Adithya
a13d3d57d3 tests: add auth fields widget tests(coverage 98.4%) 2025-07-07 12:39:45 +05:30
Udhay-Adithya
d5ca13b356 feat: enhance JWT support with private key handling and additional algorithms 2025-07-06 12:19:27 +05:30
Manas Hejmadi
c5ce3bd3c4 SSE: Stop & Cancel Request buttons show up correctly 2025-07-04 16:20:35 +05:30
Manas Hejmadi
2ab6de6a62 Refactored makeStreamedRequest out & replaced sendHttpRequest underlying code 2025-07-03 19:27:49 +05:30
Udhay-Adithya
92af4fba77 feat: add digest authentication 2025-07-03 19:24:56 +05:30
Udhay-Adithya
6c5862cd85 refactor: move authModel to HttpRequestModel 2025-07-03 12:12:18 +05:30
Manas Hejmadi
ce1a463d75 SSE onDone cleanup fix & moved SSEDisplay to its own file 2025-07-03 03:46:50 +05:30
Manas Hejmadi
4207974b0e streamHttpRequest: Fixed TCP Length Clipping issue & Refactored Code 2025-07-03 02:27:16 +05:30
Manas Hejmadi
aef57df466 streamHttpRequest: Major Restructuring & other review changes 2025-07-03 01:01:07 +05:30
Udhay-Adithya
4284f47fe6 fix: add missing crypto dependency to better_networking package
add missing auth tab in HistoryRequestPane
2025-07-02 22:25:45 +05:30
Udhay-Adithya
a11c833822 refactor: move auth models to better_networking package 2025-07-02 22:07:47 +05:30