Commit Graph

159 Commits

Author SHA1 Message Date
github-actions[bot] 70136b1fe8 Publish New Versions (v2) (#1047)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-21 09:01:05 -03:00
Lucas Fernandes Nogueira 62ce5df52c fix(notification): development mode check should use tauri::dev() (#1096) 2024-03-20 18:58:34 -03: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
阿良仔 9dec9605ed feat(clipboard): support readImage & writeImage (#845)
* feat(clipboard): support `read_image` & `write_image`

* fix plugin name

* platform specific bahavior

* remove unnecessary BufWriter

* improvement

* update example

* update example

* format

* header, fix change file

* use image from tauri

* fix ci

* update tauri, fix read

* image crate only on desktop [skip ci]

* Update plugins/authenticator/src/u2f_crate/protocol.rs [skip ci]

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* Update plugins/authenticator/src/u2f_crate/protocol.rs [skip ci]

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* update deps, address code review

* fix mobile [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-19 09:35:37 -03:00
i-c-b cb96aa0627 fix(fs): rename dir field to base_dir in WatchOptions, fixes #1081 (#1082)
* fix(fs): rename `dir` field to `base_dir` in `WatchOptions`, fixes #1081

* Create fix-fs-watcher-basedir.md
2024-03-16 11:01:49 +01:00
Tony 1d7dc86ec3 fix(updater): run cleanup before exit on Windows (#1070) 2024-03-13 16:12:21 +02:00
Fabian-Lars 35ea5956d0 fix(dialog): Create dialogs on main thread (#1073)
fixes https://github.com/tauri-apps/tauri/issues/6301
2024-03-13 15:41:23 +02:00
Tony a3b5396113 refactor!(updater): migrate run updater using powershell to ShellExecute (#1054)
* Migrate to ShellExecute

* Add change file

* Revert cargo.toml style

* Remove unused imports

* Migrate to windows-sys

* Use open instead of runas

* Use encode_wide instead of hstring

* small cleanup
2024-03-12 17:47:22 +02:00
Jason Tsai 040004a6b9 chore(shell): change schema property name command to cmd (#1069)
* chore: fix shell plugin `command` property in schema

* chore: add changelog
2024-03-12 15:20:56 +02: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
Tony 4e37316af0 fix(updater): fallback to passive mode & fix installerArgs deserialzation (#1051) 2024-03-11 17:29:16 +02: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 62dafda652 refactor!(global-shortcut): better APIs DX (#969)
* feat(global-shortcut): add `GlobalShortcutExt::register_with_handler`

ref: https://github.com/tauri-apps/plugins-workspace/issues/965

* clippy

* refactor apis to take closure by default

* change file

* Update .changes/global-shortcut-refactor.md

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>

* Update global-shortcut-refactor.md

* use option instead

* clippy

* update readme

* on_shortcut and with_shortcut

* map handler

* simplify events

* lint

---------

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-07 13:33:44 -03:00
github-actions[bot] 644eb448bb publish new versions (#1042)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-03-07 12:19:11 +01:00
Tony 79691e93e0 fix(store): with_store and StoreCollection become private in #1011 (#1040)
* Fix with_store become private in #1011

* Add change file
2024-03-07 11:52:33 +01:00
github-actions[bot] 5006717a7f publish new versions (#986) 2024-03-07 00:24:51 -03:00
Lucas Fernandes Nogueira cacf544d51 chore(deps): update to tauri beta.9 (#1037) 2024-03-07 00:08:52 -03:00
Fabian-Lars 16fc0f2ee3 fix(dialog): Remove Linux specific code for rfd 0.14 compatibility (#1033)
fixes #956
2024-03-06 19:38:51 +02:00
Tahmin Ahmed 735810237e fix: fix plugins/fs infinite loop on autoregen (#1029)
* Created safety check for redundant autogenerations

* Accounted for empty file case, added .changes file

* Update plugins/fs/build.rs
2024-03-06 19:30:13 +02: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 9586eabd5a chore(deps): update to open-rs@5.1 (#1021)
* chore(deps): update to `open-rs@5.1`

ref: #1003

* changefile
2024-03-04 18:28:53 +02:00
Tony 2397ec5937 fix: single instance doesn't shutdown immediately (#1019)
* Fix single instance doesn't shutdown immediately

* Add change file
2024-03-04 14:52:40 +01:00
Fabian-Lars 99bea2559c chore: Update tauri to beta.8 (#1005)
* chore: Update tauri to beta.8

fixes #1000

* Update and rename tauri-beta.7.md to tauri-beta-8.md
2024-02-29 19:34:43 +02:00
AHQ 9d4b25cf85 Bump tauri to v2 beta.7 (#1001)
* Bump tauri to v2 beta.7

* change file

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-02-28 19:03:51 +02:00
TukanDev dc6d3321e5 feat(clipboard): Implement HTML and clear functionality (#977)
* Implement arboard HTML features (desktop only) and ability to trigger clipboard clear

Signed-off-by: TukanDev <contact@tukandev.com>

* Update readme of clipboard plugin

Signed-off-by: TukanDev <contact@tukandev.com>

* Update plugins/clipboard-manager/src/desktop.rs

Propagate error for clear as requested

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* Update plugins/clipboard-manager/guest-js/index.ts

Change to camelCase as requested

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* Update plugins/clipboard-manager/guest-js/index.ts

use camelCase here too

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* Update README.md

Revert back as mentioned in HTML PR

* Update index.ts

After discussion  readHtml() is decided to be removed. Will follow and remove corresponding rust side function too.

* Strip all other existence of read_html out as determined in HTML support PR conversation

Signed-off-by: TukanDev <contact@tukandev.com>

* Apply requested changes v2

Signed-off-by: TukanDev <contact@tukandev.com>

* pnpm run build and cargo fmt

Signed-off-by: TukanDev <contact@tukandev.com>

* Update plugins/clipboard-manager/src/mobile.rs

fix ci calling

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* mobile read_html omg....

Signed-off-by: TukanDev <contact@tukandev.com>

* Update plugins/clipboard-manager/src/mobile.rs

* pnpm format....

Signed-off-by: TukanDev <contact@tukandev.com>

* error on mobile as well

* clear on mobile

* change file

---------

Signed-off-by: TukanDev <contact@tukandev.com>
2024-02-25 19:46:12 +02:00
Amr Bashir aa25c91bb0 feat(dialog): allow setting canCreateDirectories on macOS (#978)
* feat(dialog): allow setting `canCreateDirectories` on macOS

closes #949

* Discard changes to plugins/log/src/api-iife.js

* Discard changes to plugins/store/src/api-iife.js

* Discard changes to plugins/window-state/src/api-iife.js

* Update plugins/dialog/src/commands.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update plugins/dialog/src/commands.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update plugins/dialog/src/lib.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update plugins/dialog/guest-js/index.ts

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update plugins/dialog/guest-js/index.ts

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-02-23 21:05:29 +02: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
github-actions[bot] 267e39e250 Publish New Versions (v2) (#982)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-22 22:20:16 -03:00
Lucas Fernandes Nogueira 6d1e6218b5 fix(single-instance): wrong zbus import, closes #980 (#981) 2024-02-22 22:17:59 -03:00
lucasfernog e0d415e405 publish new versions 2024-02-21 14:40:33 -03:00
Lucas Nogueira 5ca9a80f45 chore: fix covector 2024-02-21 14:38:22 -03: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
Lucas Nogueira 14f381acf8 bump msrv 2024-02-21 13:34:10 -03:00
Lucas Nogueira 569defbe94 updates 2024-02-21 13:29:09 -03:00
Lucas Nogueira af6ebc8399 fmt 2024-02-19 17:17:22 -03:00
Lucas Nogueira 78abd7bdfb comma 2024-02-19 17:14:11 -03:00
Lucas Nogueira d98fa3e9fa rfd 0.14 2024-02-19 17:13:19 -03:00
Lucas Nogueira 8461cf1d1b chore: update to tauri beta.3 2024-02-19 17:10:49 -03:00
amrbashir 72db444401 feat(sql,store): add Builder::new
ref: https://github.com/tauri-apps/tauri/issues/8880
2024-02-19 15:54:56 +02:00
Tony 51ba4c5330 fix(fs): make rename third parameter optional (#962)
* Fix rename option can't be empty

* change file
2024-02-19 14:48:22 +02:00
Amr Bashir e856adc72c fix(shell): export open module (#939)
closes #934
2024-02-16 16:27:19 +01:00
i-c-b 2f0e30852a feat(core): recursive fs scope on directory file-drop event (#954)
* allow recursive fs scope on directory file-drop events

* Create allow-recursive-fs-scope-on-file-drop-directory.md

* Update .changes/allow-recursive-fs-scope-on-file-drop-directory.md
2024-02-15 16:55:51 +02:00
Amr Bashir 531123cad0 fix(fs/wtacher): fix incorrect type for rename events (#947) 2024-02-14 15:29:27 +02:00
Tony 2e7ef46d8b refactor!(dialog): change type field in JS to kind (#945)
* Fix dialog type not working

* gen files

* type -> kind

* update API example

---------

Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-02-14 01:05:54 +02:00
Lucas Nogueira 7659b9515d merge from v2 2024-02-03 17:05:27 -03:00
FabianLars 14f5961569 chore: merge v1 into v2 for the last time 2024-02-03 20:16:36 +01:00
lucasfernog 18e478aba0 publish new versions 2024-02-03 15:46:07 -03:00
Lucas Nogueira 2643a4c331 fix(ci): revert pre.json changes 2024-02-03 15:24:43 -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 506ce4835b refactor(updater): accomodate to new tauri config restructure (#924)
* refactor(updater): accomodate to new tauri config restructure

RFC#5 https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md

RFC#5 PR implementation: https://github.com/tauri-apps/tauri/pull/8723

* lint and update configs
2024-02-03 09:14:39 -03:00