renovate[bot]
af22ae0a97
chore(deps): update rust crate notify-debouncer-full to 0.6 (v2) ( #2889 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-08-03 22:10:31 +02:00
Amr Bashir
9ebbfb2e3c
feat(http): persist cookies on disk ( #1978 )
...
* enhance(http): persist cookies on disk
closes tauri-apps/tauri#11518
* clippy
* inline reqwest_cookie_store to fix clippy
* clippy
* Update .changes/persist-cookies.md
* Update plugins/http/src/reqwest_cookie_store.rs
* update example
* fallback to empty store if failed to load
* fix example
* persist cookies immediately
* clone
* lint
* .cookies filename
* prevent race condition
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-17 07:26:42 -03:00
Amr Bashir
a15eedf378
fix(http): avoid closing stream multiple times ( #2535 )
...
* fix(http): avoid closing stream multiple times
closes #2533
* use different signal than empty vec
2025-03-16 16:45:45 -03:00
Adriel Jansen Siahaya
d3183aa99d
fix(http): return response early in JS before waiting for chunks on the rust side ( #2522 )
2025-03-15 02:06:41 +02:00
Adriel Jansen Siahaya
cb38f54f4a
HTTP add stream support ( #2479 )
...
* feat: add stream support
* feat: add stream support
* Revert "feat: add stream support"
This reverts commit 5edea81680 .
* feat: add stream support
* Discard changes to pnpm-lock.yaml
* Discard changes to plugins/http/package.json
* fix(stream): change IPC packet
* fix: update stream message guest-js
* fix: return early when aborted
* fix: use InvokeResponseBody as packet
* fix: remove serde_bytes
* fix: remove reqwest response
* fix: content conversion bug
* fix: remove ReqwestResponses along with its implementations
* formatting and update changelog
* build api-iife.js
---------
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-03-08 15:45:05 -03:00
DiamondDrake
105136494c
feat(http): add dangerous settings / disable ssl verification - issue #518 ( #2204 )
2025-01-22 02:23:37 +02:00
Amr Bashir
a3b553ddb4
feat(http): add request and response tracing behind feature flag ( #2079 )
2024-11-21 17:08:34 +02:00
Fabian-Lars
51856e9e0a
docs: Remove header image from inline docs ( #2045 )
2024-11-13 16:07:29 +01:00
Amr Bashir
1f649c7f1f
chore: print a warning in development for forbidden headers ( #1981 )
...
* chore: print a warning in development for forbidden headers
closes #1979
* Update plugins/http/src/commands.rs
2024-10-30 15:26:46 +03:00
Niko Korvenlaita
cfd48b3b2e
feat: allow http calls without origin header ( #1941 )
2024-10-16 15:56:36 +03:00
Amr Bashir
9b2840db94
fix(http): retain headers order ( #1884 )
...
* fix(http): retain headers order
closes #1882
* simplify if
* actually set headers
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-09 08:07:46 -03:00
Amr Bashir
44273b9889
fix(shell): fix schema requiring sidecar property even though it is optional ( #1839 )
...
* fix(shell): fix schema requiring `sidecar` property even though it is optional
* fix clippy
* make `cmd` and `sidecar` exclusive
* make args optional
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-01 10:16:14 -03:00
renovate[bot]
de04935b2f
chore(deps): update rust crate urlpattern to 0.3 (v2) ( #1607 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-09-02 15:37:44 +02:00
Amr Bashir
ac9a25cc12
fix(http): use tokio oneshot channel for detecting abort ( #1395 )
...
* fix(http): properly handle aborting
closes #1376
* abort early in JS
* avoid using unnecessary mutexes
* fix lint
* update bundle
* simplify
2024-07-08 20:31:29 +03:00
Amr Bashir
28bc5c2e3e
feat(http): add http plugin version in user agent sting ( #1501 )
...
* feat(http): add http plugin version in user agent sting
* Update build.rs
2024-07-02 03:57:24 +03:00
Amr Bashir
da8a7bbe3a
fix(http): fix check logic to decide whether to set Origin header ( #1438 )
...
ref: https://github.com/tauri-apps/plugins-workspace/issues/1389#issuecomment-2150470335
2024-06-05 19:57:36 +03:00
Amr Bashir
0f739dbc48
feat(http): allow setting origin for unsafe headers ( #1392 )
...
* feat(http): allow setting `origin` for unsafe headers
closes #1389
* clippy
* Update .changes/http-origin-unsafe.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* Update commands.rs
* set origin not full url
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-05-30 22:09:32 +03:00
Amr Bashir
9d7ae45b0e
fix(http): include browser headers if not set by user ( #1354 )
...
* fix(http): include browser automatic headers if not set by user
close #1349
* fmt
* Update browser-headers.md
* lint
* generate api
2024-05-21 12:43:26 +02:00
renovate[bot]
290616d8e3
chore(deps): update tauri monorepo ( #1325 )
...
* chore(deps): update tauri monorepo
* enable ci for ver updates
* fix http
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-05-15 21:10:49 +02:00
Amr Bashir
58330f9ec1
feat(http): enable cookies and set origin header ( #1192 )
2024-05-14 01:39:36 +03:00
Fabian-Lars
0d4d029011
build: Update pnpm to v9 ( #1309 )
...
* build: Update pnpm to v9
* update actions
* remove last actions-rs usage
* clippy
* clippy again
* revert default feature
2024-05-13 17:03:04 +02:00
Amr Bashir
e3d41f4011
fix: use webview's resources table ( #1191 )
...
* fix: use webview's resources table
* fix clipboard into_img usage
* fix mobile
2024-04-18 03:19:24 +02:00
Lucas Fernandes Nogueira
a04ea2f382
refactor: only inject API IIFE script when withGlobalTauri is true ( #1071 )
...
* refactor: only inject API IIFE script when withGlobalTauri is true
* fmt
* update tauri
2024-03-19 15:03:20 -03:00
Lucas Fernandes Nogueira
c873e4d6c7
fix(http): inconsistencies on urlpattern usage on scope ( #1059 )
...
* fix(http): inconsistencies on urlpattern usage on scope
* fix tests
* enhance tests
2024-03-11 13:39:35 -03:00
Lorenzo Rizzotti
753c7be0a6
feat(http) add unsafe-headers feature flag ( #1050 )
...
* [http] add unsafe-headers feature flag
* change file
* fmt
2024-03-08 07:31:47 +02:00
Amr Bashir
0f67dfc9b4
feat(http): enhance scope config to accept string as well ( #1025 )
2024-03-07 00:10:45 -03:00
Lucas Fernandes Nogueira
cacf544d51
chore(deps): update to tauri beta.9 ( #1037 )
2024-03-07 00:08:52 -03:00
Lucas Fernandes Nogueira
ac520a2841
feat(http): enhance scope URL matching via urlpattern ( #1030 )
...
* feat(http): enhance scope URL matching via urlpattern
* update schema
2024-03-06 13:44:51 -03:00
Amr Bashir
ae56b13a4d
fix(http): allow User-Agent header to be set ( #983 )
...
* fix(http): allow `User-Agent` header to be set
closes #966
* lint
* fix build
2024-02-23 18:32:19 +02:00
Lucas Fernandes Nogueira
b1b9a02f9e
Merge pull request #971 from tauri-apps/chore/tauri-beta-3
...
chore: update to tauri beta.4
2024-02-21 14:32:22 -03:00
ppbl
3f81555fbf
fix(http): response with status code 204 ( #960 )
...
* Fix response construction with status code 204
* run pnpm build
2024-02-21 04:20:46 +02:00
Lucas Nogueira
8461cf1d1b
chore: update to tauri beta.3
2024-02-19 17:10:49 -03:00
Tillmann
d198c01486
feat: update to tauri beta, add permissions ( #862 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-02-03 15:14:41 -03:00
Amr Bashir
ae0cb92438
refactor(http): migrate to tauri's new resource table ( #834 )
...
* refactor(http): migrate to tauri's new resource table
* fmt
* change file
2024-01-02 21:55:57 +02:00
hygkui
1a347203a5
fix: fix http plugin fetch init with connectTimeout. ( #858 )
2023-12-28 18:07:52 +02:00
阿良仔
bfa87da848
feat(http): expose proxy configuration ( #824 )
...
* feat(http): add proxy config
* chore: build iife api
* chore: allow `too_many_arguments`
* improvement
* refactor: restructure code
* improvement
* format
2023-12-20 16:14:12 +02:00
Amr Bashir
1b98b85a1f
refactor: simplify rollup config and match @tauri-apps/api output style ( #722 )
...
* refactor: simplify rollup config and match `@tauri-apps/api` output style
* add license headers
* update api-iife.js [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-11-14 21:09:53 +02:00
Lucas Fernandes Nogueira
e438e0a62d
feat: update to alpha.17, typed mobile plugin IPC arguments ( #676 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-10-29 16:06:44 -03:00
Lucas Fernandes Nogueira
5c137365c6
chore: update to tauri alpha.16, api alpha.9 ( #673 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-10-20 13:50:18 -03:00
i-c-b
2cb0fa719b
fix(http): remove cmd property from http|fetch invoke, closes #587 ( #588 )
...
* Remove `cmd` property from `http|fetch` invoke
* Build generated JS file
* Create http-remove-cmd-property.md
* Fix incompatible declaration for reading body
Co-authored-by: Louis Bailleau <Bricklou@users.noreply.github.com >
* Build generated JS file
Co-authored-by: Louis Bailleau <Bricklou@users.noreply.github.com >
---------
Co-authored-by: Louis Bailleau <Bricklou@users.noreply.github.com >
2023-09-04 15:45:41 +03:00
Lucas Fernandes Nogueira
aec17a90fc
feat(http): improve performance ( #558 )
2023-08-14 15:53:55 -07:00
Amr Bashir
7d9df7297a
feat(http): refactor and improvements ( #428 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-08-07 08:33:00 -03:00
Simon Hyll
5fd597ddaf
docs: added banners and icons ( #443 )
...
* added banners and icons
* fix: formatting
2023-06-20 14:55:14 +03:00
Lucas Fernandes Nogueira
b131bc8f7c
feat(plugins): inject API on window.__TAURI__ ( #383 )
2023-05-23 14:20:14 -03:00
Lucas Fernandes Nogueira
5914fb9f36
chore: add license headers ( #384 )
...
* feat: check for license headers
* add headers
* format
2023-05-21 16:56:10 -03:00
Lucas Fernandes Nogueira
f4069f5588
docs: update README.md and remove allowlist information ( #381 )
2023-05-20 20:28:27 -03:00
Lucas Fernandes Nogueira
caf8456864
fix: adjust feature flags, wrong zip usage ( #367 )
2023-05-17 18:47:12 -03:00
Lucas Fernandes Nogueira
702b7b36bd
refactor: move deleted tauri APIs, prepare for next release ( #355 )
2023-05-13 12:32:30 -03:00
Lucas Fernandes Nogueira
937e6a5be6
feat: use tauri next branch, fix tests, MSRV 1.65 ( #354 )
2023-05-12 17:16:50 -03:00
Lucas Fernandes Nogueira
89fb40caac
feat(http): add plugin ( #325 )
2023-04-23 15:34:31 -03:00