Commit Graph

2586 Commits

Author SHA1 Message Date
Udhay-Adithya
fadf49372f feat: add support for pre-request scripts
Introduces `preRequestScript` and `postRequestScript` fields to the request model to store user-defined scripts.

Implements a service using `flutter_js` to execute JavaScript pre-request scripts before a request is sent.
The script can access and modify request data (like headers, body, URL) and environment variables.

Adds bridging to forward JavaScript `console.log`, `console.warn`, and `console.error` calls to the Dart console for easier debugging
2025-04-25 23:26:31 +05:30
Udhay-Adithya
839d8b5c00 feat: add JavaScript scripting foundation
Introduces a JavaScript setup script that defines the `ad` helper object.
This `ad` object exposes APIs for manipulating request data, accessing response details, and managing environment variables within scripts.

Adds an `evaluate` function to execute JS code using the `flutter_js` runtime and log results or errors.
This establishes the core infrastructure for pre-request and post-response scripting.
2025-04-25 22:34:02 +05:30
Udhay-Adithya
f97b39a103 feat: add flutter_js dependency and implement JS runtime service 2025-04-22 14:39:06 +05:30
Udhay-Adithya
346e4c3ef0 feat: refactor code highlighting and add scripts editor pane
- replace `flutter_highlighter` and `highlighter` with `flutter_highlight` and `highlight`.
- add `flutter_code_editor` dependency.
- introduce a new scripts editor pane in the REST request view.
2025-04-22 14:34:43 +05:30
Udhay-Adithya
ef3867ef43 feat: add scripts tab to request pane and update tab structure 2025-04-21 23:31:55 +05:30
Ankit Mahato
0606b38b7a Update ROADMAP.md 2025-04-20 15:30:44 +05:30
Ankit Mahato
0f7783bf19 Merge pull request #818 from WannaCry016/patch-5
Fix Issue #630 Unable to override Content-Type header charset
2025-04-20 03:11:08 +05:30
Ankit Mahato
287bc45aa5 Fix http.Request preparation 2025-04-20 03:09:49 +05:30
Ankit Mahato
834aef6f3d Adding more tests 2025-04-20 03:06:48 +05:30
Ankit Mahato
5da0df54ab Update map_extensions.dart 2025-04-20 02:32:48 +05:30
Ankit Mahato
29cb1e2744 Update response_model_test.dart 2025-04-20 00:51:53 +05:30
Ankit Mahato
b3cbb8686b Merge branch 'main' into patch-5 2025-04-20 00:31:56 +05:30
Ankit Mahato
5337d5aa4f Update http_service.dart 2025-04-20 00:25:09 +05:30
Ankit Mahato
fa5e9b3bfe Adding test case for #630 2025-04-19 21:21:51 +05:30
Ayushman Pal
fe5b927b01 Update http_service.dart 2025-04-17 13:58:31 +05:30
Ashita Prasad
ac3f2649f4 Merge pull request #814 from himanshusingh0905/idea_himanshu_api_testing_agent
Possible architectures of AI Agent for API Testing and Tool Definition Generation
2025-04-15 02:48:25 +05:30
Himanshu
d5fc3b5d53 fix architecture1 diagram 2025-04-14 23:55:58 +05:30
Himanshu
7ea551f889 api testing agent idea add 2025-04-14 23:22:11 +05:30
Ankit Mahato
086886c9ae Merge pull request #812 from D528lgym/main
Akim.yml
2025-04-13 00:59:31 +05:30
Ankit Mahato
4deeec3a2a Update pubspec.yaml 2025-04-13 00:58:48 +05:30
Ankit Mahato
8184569d60 Delete main.yml 2025-04-13 00:57:04 +05:30
Ankit Mahato
f7df502109 Update main.yml 2025-04-13 00:56:12 +05:30
D528lgym
4d8d19a014 Create main.yml 2025-04-13 03:11:01 +08:00
Ankit Mahato
f532f20660 fix json syntax highlighting after light/dark mode is switched 2025-04-13 00:08:11 +05:30
Ankit Mahato
8ebf4c8e20 Update headerfield_test.dart 2025-04-13 00:06:52 +05:30
Ankit Mahato
3e12372b54 Update example 2025-04-13 00:06:48 +05:30
Ankit Mahato
76150da928 Publish json_field_editor 1.2.1 2025-04-12 23:59:15 +05:30
Ankit Mahato
6ad6dc91c4 Merge pull request #787 from badnikhil/resolve-issue-672
fixed codepane horizontal scroll
2025-04-12 22:55:11 +05:30
Ankit Mahato
218d9f2c66 Update splitview_drawer.dart 2025-04-12 22:50:23 +05:30
Ankit Mahato
c490acfb98 Merge pull request #811 from tihom4537/main
Update API Testing Suite Proposal – Design Draft GSOC 2025
2025-04-12 05:15:57 +05:30
Nikhil
793d3ebfdc Merge branch 'foss42:main' into resolve-issue-672 2025-04-11 07:26:17 +05:30
Ankit Mahato
b8cf1eeda8 Merge pull request #788 from badnikhil/resolve-issue-697
updated rust codegen
2025-04-10 04:46:54 +05:30
tihom4537
102fae887c updated draft proposal GSOC 2025 2025-04-10 03:31:06 +05:30
tihom4537
ec377b14c0 updated draft proposal GSOC 2025 2025-04-10 03:26:03 +05:30
tihom4537
06abf9cf9e Updated Draft Proposal GSOC 2025 2025-04-10 01:45:34 +05:30
Nikhil
b31f9d184b tests added 2025-04-09 05:03:59 +05:30
Ankit Mahato
ccdba6f482 Update editor_json.dart 2025-04-09 03:54:52 +05:30
Ankit Mahato
79185f2995 Update json_text_field_editor_test.dart 2025-04-09 03:53:51 +05:30
Ankit Mahato
cb1a47b697 Update json_text_field_editor_test.dart 2025-04-09 03:30:08 +05:30
Ankit Mahato
f8d7186cbe Replace json_text_field with json_field_editor 2025-04-09 03:24:42 +05:30
Ankit Mahato
6f726ac6c4 pub update 2025-04-09 03:24:21 +05:30
Ankit Mahato
474b9d7112 Add package json_field_editor 2025-04-09 03:21:33 +05:30
Ankit Mahato
01871b397c Merge pull request #780 from synapsecode/minor_bugfix/body_json_editor
Fixes Rare '<optimized out>' Exception when changing Body Content-Type back to json
2025-04-09 01:25:25 +05:30
kushagradwi
7686aeea8d Add files via upload 2025-04-08 23:54:47 +05:30
Ankit Mahato
01990884e3 Merge pull request #807 from bbl-sh/main
Application for GSoc Review
2025-04-08 23:47:40 +05:30
Ankit Mahato
6c24499847 Merge pull request #808 from DHEERXJ/patch-1
GSoC 2025 Proposal for API Dash
2025-04-08 23:46:22 +05:30
Dheeraj Krishna
7640c75d04 Create Application_Dheeraj_Krishna_DashBot.md 2025-04-08 23:04:41 +05:30
бхушан
40f309f9d9 added my proposal 2025-04-08 23:00:40 +05:30
бхушан
65f22b429b added image diagram 2025-04-08 22:57:03 +05:30
Ankit Mahato
f7a0095822 Merge pull request #804 from 19Doors/main
Add proposal for authentication, sakaar_srivastava
2025-04-08 22:09:33 +05:30