Commit Graph

2668 Commits

Author SHA1 Message Date
Udhay-Adithya
a91e1e0aec feat: add scripts tab to request history 2025-06-23 22:48:03 +05:30
Udhay-Adithya
68318e6b90 feat: add preRequestScript and postRequestScript to HistoryRequestModel 2025-06-23 22:33:22 +05:30
Udhay-Adithya
f60c195510 feat: update RequestModel to include default preRequestScript and postRequestScript 2025-06-23 22:09:07 +05:30
Ashita Prasad
67af625ccb Create pre post script utilities 2025-06-22 22:29:11 +05:30
Ashita Prasad
9e686a8145 export flutter_js_services 2025-06-22 21:28:09 +05:30
Ashita Prasad
53fff89056 Update flutter_js_service.dart 2025-06-22 21:24:03 +05:30
Ashita Prasad
7d2c29cc0d Update kJSSetupScript & add js_utils.dart 2025-06-22 21:23:55 +05:30
Udhay-Adithya
12aa846792 feat: update scripts code pane to use ad dropdown button 2025-06-22 20:09:50 +05:30
Ankit Mahato
9cb7f0fe10 Merge branch 'main' into add-feature-scripts 2025-06-21 20:39:25 +05:30
Udhay-Adithya
858639ef92 feat: add scripting user guide 2025-06-20 21:30:09 +05:30
Ankit Mahato
330e1b82e6 Merge pull request #623 from FreeBono/resolve-issue-json
Add support comments in JSON request body #599
2025-06-15 17:00:38 +05:30
Ankit Mahato
e684f485b5 Update convert_utils_test.dart 2025-06-15 16:58:30 +05:30
Ankit Mahato
be093551b8 Update convert_utils_test.dart 2025-06-15 16:56:39 +05:30
Ankit Mahato
58cfcff626 Create http_request_utils.dart 2025-06-15 16:56:36 +05:30
Ankit Mahato
a61072c890 Rename 2025-06-15 16:56:26 +05:30
Ankit Mahato
8b67b5a9cc Update pubspec.yaml 2025-06-15 16:50:42 +05:30
Ankit Mahato
39564426c6 cleanup 2025-06-15 16:49:51 +05:30
Ankit Mahato
79c8df91a0 Update convert_utils_test.dart 2025-06-15 16:46:56 +05:30
Ankit Mahato
a4cf1729b0 Merge branch 'main' into resolve-issue-json 2025-06-15 16:28:06 +05:30
Ashita Prasad
adbae1298c Merge pull request #847 from surelyruchi/resolve-url-parsing-ip-port
Fix: prevent malformed URL error when parsing IP:PORT by adding defau…
2025-06-15 15:54:14 +05:30
Ashita Prasad
fb1def12e1 fixes 2025-06-15 15:52:54 +05:30
Ankit Mahato
2ebd0eed81 Create SECURITY.md 2025-06-12 05:40:19 +05:30
Udhay-Adithya
ad59d56975 refactor: replace TabView with DropdownButton 2025-06-05 21:10:06 +05:30
Udhay-Adithya
f158d5de12 fix: disable folding handles and line numbers in scripts editor gutter for now 2025-06-05 19:09:30 +05:30
Ashita Prasad
158d2f61dd Create manas_hejmadi.md 2025-06-02 01:42:29 +05:30
Ashita Prasad
b63504e114 Create udhay_adithya_j.md 2025-06-02 01:42:02 +05:30
Ashita Prasad
3d9709c1f0 Make API Dash compatible with Flutter 3.32.0 2025-05-25 14:28:35 +05:30
Ashita Prasad
1af84e9567 update pubspec.lock 2025-05-25 14:27:55 +05:30
Ashita Prasad
948cf90e65 Bug fix curl_parser 2025-05-25 14:10:14 +05:30
Ruchi Sharma
399f525705 Fix: prevent malformed URL error when parsing IP:PORT by adding default scheme if missing 2025-05-20 13:31:12 +05:30
Udhay-Adithya
fe4858ecd0 feat: update pre-request and post-response script handling in CollectionStateNotifier
- Changed return type of handlePreRequestScript and handlePostResponseScript to Future<RequestModel> for better type safety.
- Updated the logic to return the modified request model after executing scripts.
- Ensured that the request model is updated correctly in the sendRequest method after executing the pre-request script.
2025-05-19 16:54:32 +05:30
Ashita Prasad
792e458d40 Update settings_model_test.dart 2025-05-17 17:18:49 +05:30
Ashita Prasad
1ad2dd6d6a Update pubspec.yaml 2025-05-17 17:06:36 +05:30
Ashita Prasad
cff39c12e5 Update dashboard.dart 2025-05-17 17:02:26 +05:30
Ashita Prasad
6e638bb383 Add DashBot to settings 2025-05-17 16:57:16 +05:30
Ashita Prasad
b3b3127c55 Update settings_model.dart 2025-05-17 16:56:53 +05:30
Ashita Prasad
4473bce003 Update explain.dart 2025-05-17 16:48:25 +05:30
Ankit Mahato
59c14d13b2 Merge pull request #844 from Arshhasan/Headers,-Params-&-Form-data-text-fields-get-clipped-towards-bottom-for-longer-texts
Fix Issue[Mobile] #842 Headers, Params & Form data text fields get clipped towards bottom for longer texts
2025-05-17 04:17:09 +05:30
Ashita Prasad
6ec2b1d273 Update padding fix 2025-05-17 04:13:55 +05:30
Udhay Adithya
464dd9aff8 Merge branch 'foss42:main' into add-feature-scripts 2025-05-16 14:31:27 +05:30
Udhay-Adithya
14ff728870 fix: JS bridge message handling and script execution checks
Refines JS bridge handlers to process messages directly as typed arguments, removing unnecessary JSON decoding and clarifying error logs.
Updates logic to only execute post-response scripts when present and corrects a warning message.
2025-05-16 14:30:58 +05:30
Arshhasan
89cbf8312b [Mobile] #842 Headers, Params & Form data text fields get clipped towards bottom for longer texts 2025-05-16 13:13:07 +05:30
Arshhasan
95ed16c061 [Mobile] #842 Headers, Params & Form data text fields get clipped towards bottom for longer texts 2025-05-16 13:11:09 +05:30
Ashita Prasad
17c3c8a793 UX Fix: Field addition button removed from mobile 2025-05-10 00:43:50 +05:30
Ashita Prasad
ce219ddd42 Update measurements.dart 2025-05-10 00:42:42 +05:30
Ankit Mahato
8d06fc4cd0 UI friendly fix for issue #638 2025-05-04 22:35:21 +05:30
Udhay-Adithya
c2c67a7fca feat: implement post-response script handling and update environment variables 2025-05-02 01:26:52 +05:30
Udhay-Adithya
0645ab1a33 feat: allow scripts to modify environment variables
Refactors pre-request script execution to support environment variable manipulation.

Introduces a simplified key-value map for the environment within the JavaScript context, allowing easier script interaction. Updates the `ad.environment` JS API accordingly.

Implements logic on the Dart side to translate the structured environment model to the simple map before script execution and merge changes back from the map to the model afterward, persisting the modifications.
2025-05-01 20:14:00 +05:30
Udhay-Adithya
71c6818093 fix: move _selectedTabIndex declaration to class level 2025-05-01 17:50:56 +05:30
Udhay-Adithya
6344e8df21 feat: add indicator for request scripts
Shows an indicator on the 'Scripts' tab when pre-request or post-request scripts exist for the selected request.
Updates the selected tab text color in the scripts pane for better visibility.
2025-05-01 17:11:10 +05:30