Commit Graph

108 Commits

Author SHA1 Message Date
Udhay-Adithya
5eee413b01 feat: update terminal entry constructor to initialize timestamp by default 2025-09-10 13:04:07 +05:30
Udhay-Adithya
3bb9fb2531 refactor: split terminal models 2025-09-10 12:55:42 +05:30
Udhay-Adithya
6db0f61321 feat: add terminal state provider 2025-09-07 23:48:55 +05:30
Udhay-Adithya
ef093ae5c2 feat: add terminal models 2025-09-07 23:47:24 +05:30
Ankit Mahato
8810dc3a35 Fix SettingsModel equality for defaultAIModel map
Replaces direct comparison of defaultAIModel with mapEquals to ensure deep equality. Updates related tests to include defaultAIModel in test cases for serialization, deserialization, copyWith, and toString.
2025-08-31 20:13:45 +05:30
Ankit Mahato
7216697897 Fix defaultAIModel deserialization and serialization
Corrects the deserialization of defaultAIModel to ensure it is properly converted from dynamic to Map<String, Object?>. Also fixes a typo in the serialization key from 'defaultLLMSaveObject' to 'defaultAIModel'.
2025-08-29 02:21:27 +05:30
Ankit Mahato
9d50e3f09c Add default AI model selection to settings
Replaces the previous placeholder for default LLM selection with a working default AI model selector in settings. Updates SettingsModel and related providers to support storing and updating the default AI model as a JSON object. Integrates the selector UI and ensures new AI requests use the default model if set.
2025-08-29 01:27:32 +05:30
Ankit Mahato
6e1f2b4773 Refactor AI model selection and config handling 2025-08-28 06:42:32 +05:30
Manas Hejmadi
452020f720 AI Request History & Duplication Feature 2025-08-06 09:00:23 +05:30
Manas Hejmadi
97d4a7a45b AIRequests: Removed AIResponseModel & sendRequest implemented 2025-08-06 08:59:25 +05:30
Manas Hejmadi
d923996dc8 AIProviderSelector Impl & AI Models added to RequestModel 2025-08-06 08:39:35 +05:30
Manas Hejmadi
90b4b99135 Added LLMSelectorWidget & Integrated with APIDash Settings 2025-08-06 08:39:35 +05:30
Ankit Mahato
f4e0f82125 Merge branch 'main' into better_networking/sse 2025-08-05 06:18:21 +05:30
Udhay-Adithya
db93e82b5f fix: make authModel optional in HistoryRequestModel 2025-07-12 00:34:12 +05:30
Udhay-Adithya
6c5862cd85 refactor: move authModel to HttpRequestModel 2025-07-03 12:12:18 +05:30
Udhay-Adithya
3903277aa9 chore: resolve merge conflicts 2025-07-02 21:03:16 +05:30
Udhay-Adithya
bf170e1446 feat: remove AuthModel from HttpRequestModel and integrate into HistoryRequestModel and RequestModel 2025-07-01 01:15:55 +05:30
Udhay-Adithya
d046d50273 refactor: rename ApiAuthModel to AuthModel and authData to authModel 2025-07-01 01:03:52 +05:30
Udhay-Adithya
449e32521e feat: refactor authentication handling to use new ApiAuthModel and update related components 2025-07-01 01:00:59 +05:30
Udhay-Adithya
171a118d38 feat: add authentication support with APIAuthType and APIAuthModel
- Introduced APIAuthType enum for various authentication methods.
- Created APIAuthModel with basic authentication fields.
- Updated RequestModel to include authType and authData.
- Implemented EditAuthType widget for selecting and managing authentication.
- Enhanced CollectionStateNotifier to handle authentication updates.

:wq
2025-07-01 00:57:10 +05:30
Manas Hejmadi
882b393fdd SSE: Stopping/Cancelling implementation 2025-06-29 17:06:21 +05:30
Ankit Mahato
7096c2f301 Update request model 2025-06-29 01:21:52 +05:30
Ankit Mahato
fa70f497c5 Fixes 2025-06-28 20:56:02 +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
Ankit Mahato
9cb7f0fe10 Merge branch 'main' into add-feature-scripts 2025-06-21 20:39:25 +05:30
Ashita Prasad
b3b3127c55 Update settings_model.dart 2025-05-17 16:56:53 +05:30
Udhay Adithya
e936f382e0 Merge branch 'foss42:main' into add-feature-scripts 2025-05-01 16:47:38 +05:30
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
Rio Jos
a19c9ba093 http options method on history provider 2025-04-24 15:43:22 +05:30
Ashita Prasad
634d909b02 Update models.dart 2025-02-24 12:13:09 +05:30
Ashita Prasad
38c6d8ecf6 Move EnvironmentModel 2025-02-24 12:12:52 +05:30
Ashita Prasad
18f4687d30 Update HistoryMetaModel 2025-01-12 16:37:57 +05:30
Ashita Prasad
ba532462e4 Update request_model.g.dart 2025-01-11 13:46:47 +05:30
Ashita Prasad
4ba44b728f refactor 2024-12-21 17:37:21 +05:30
Clasherzz
42941bb737 changed Settings Model 2024-12-18 21:44:54 +05:30
Ashita Prasad
2bb54ec4d6 Add SupportedUriSchemes support 2024-12-15 07:37:18 +05:30
Ashita Prasad
46df82185d Update APIType in request model 2024-12-10 05:09:39 +05:30
Ashita Prasad
a6791f1165 update freezed models 2024-12-10 05:03:35 +05:30
Ashita Prasad
a3536b021b refactor 2024-10-22 07:06:06 +05:30
Ashita Prasad
3c51af39bc relocate core models 2024-10-21 10:05:06 +05:30
Ashita Prasad
59fdbae41d Workspace selector feature 2024-09-09 04:03:52 +05:30
Ashita Prasad
802d9e4607 workspace 2024-09-08 15:17:21 +05:30
DenserMeerkat
ce70a8d1c4 wip: envvar_utils_test 2024-07-29 16:18:10 +05:30
DenserMeerkat
b2cd91274f wip: manage history dialog 2024-07-22 00:56:44 +05:30
DenserMeerkat
2fc02eadd1 feat: history of requests 2024-07-21 19:55:32 +05:30
DenserMeerkat
d5feb0b091 wip: history request groups 2024-07-14 23:16:29 +05:30
DenserMeerkat
7852fe98e5 feat: environment autocomplete fields 2024-06-23 02:29:31 +05:30
DenserMeerkat
15ad597695 feat: environment editor 2024-06-15 02:47:19 +05:30
DenserMeerkat
7fcfe4f8e8 feat: environment pane 2024-06-13 18:47:52 +05:30