Commit Graph

2983 Commits

Author SHA1 Message Date
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
ede412f11b Update hive_services.dart 2025-05-17 23:42:10 +05:30
Ashita Prasad
b2ea4a4c16 format fix 2025-05-17 23:13:07 +05:30
Ashita Prasad
2863bdd951 fix formatting and imports 2025-05-17 23:03:43 +05:30
Ashita Prasad
962bf0f230 Update dashboard.dart 2025-05-17 22:51:32 +05:30
Ashita Prasad
1ba6a3fa67 Update dashbot.dart 2025-05-17 22:49:25 +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
6e3441f823 Merge branch 'main' into Dashbot_v2 2025-05-17 17:04:48 +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
Udhay-Adithya
36061f660a feat add pre-request script execution
Initializes JavaScript runtime during application startup.
Executes user-defined pre-request scripts before sending API requests, allowing modification of request details like URL, headers, and body.
Updates script execution environment for better scoping and uses synchronous evaluation.
2025-05-01 16:48:50 +05:30
Udhay Adithya
e936f382e0 Merge branch 'foss42:main' into add-feature-scripts 2025-05-01 16:47:38 +05:30
Ankit Mahato
a6e95e54a9 Merge pull request #831 from riojosdev/http-options-trace
added HTTP method `OPTIONS` (#822)
2025-04-27 05:19:14 +05:30
Ankit Mahato
169d97b166 Update history_models_test.dart 2025-04-27 05:13:48 +05:30
Ankit Mahato
f437b77973 Update history_models.dart 2025-04-27 05:13:42 +05:30
Ankit Mahato
897436bc70 Update http_service.dart 2025-04-27 05:08:39 +05:30