Commit Graph

878 Commits

Author SHA1 Message Date
github-actions[bot] 70136b1fe8 Publish New Versions (v2) (#1047)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
os-v2.0.0-beta.3 websocket-v2.0.0-beta.3 cli-v2.0.0-beta.3 single-instance-v2.0.0-beta.4 clipboard-manager-v2.1.0-beta.0 notification-v2.0.0-beta.3 stronghold-v2.0.0-beta.3 autostart-v2.0.0-beta.3 updater-v2.0.0-beta.3 deep-link-v2.0.0-beta.3 window-state-v2.0.0-beta.3 log-plugin-v2.0.0-beta.3 positioner-v2.0.0-beta.3 nfc-v2.0.0-beta.3 upload-v2.0.0-beta.3 dialog-v2.0.0-beta.3 barcode-scanner-v2.0.0-beta.3 clipboard-manager-js-v2.1.0-beta.0 global-shortcut-v2.0.0-beta.3 http-v2.0.0-beta.3 localhost-v2.0.0-beta.3 process-v2.0.0-beta.3 shell-v2.0.0-beta.3 biometric-v2.0.0-beta.3 authenticator-v2.0.0-beta.3 persisted-scope-v2.0.0-beta.3 sql-v2.0.0-beta.3 fs-v2.0.0-beta.3 store-v2.0.0-beta.4
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
Fabian-Lars 7b9fa6607b chore(template): Replace {{name}} with PLUGIN_NAME (#1088)
fixes #1052
2024-03-18 09:40:37 +01: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
DK Liao 14c858391d docs: Update positioner readme (#1072) 2024-03-13 10:36:59 +01: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
Han 69d45a06a6 chore(examples): example incorrect command (#1068) 2024-03-12 10:16:39 +01: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
Naman Garg bff722451d docs(sql): Fix minor typo (#1048) 2024-03-08 00:07:08 +01: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>
store-v2.0.0-beta.3
2024-03-07 12:19:11 +01:00
DK Liao 75d82868b2 docs(positioner): Update positioner readme to new tray api (#1041)
`on_system_tray_event` is now reworked into `on_tray_icon_event`
2024-03-07 12:15:46 +01:00
Fabian-Lars 685c4094c5 ci: Change paths-filter's base to v2 branch (#1043)
Currently it compares it to the default branch (v1) which makes it always run all plugin checks. While i plan to change default branches soon i still need a bit more time for this.
2024-03-07 12:11:42 +01:00
Fabian-Lars c281df8d79 ci: Move cargo target dir to /mnt (#1039)
Currently our publishing workflow fails _twice_ because it runs out of disk space. https://github.com/tauri-apps/plugins-workspace/actions/runs/8182433330/job/22373757645#step:8:8499

A month ago github changed the azure vms for public repos which resulted in a size decrease of the root partition by ~10gb (though i kinda doubt this is the sole reason because it doesn't fail once, but twice).
At the same time the /mnt partition was increased to a whopping 75gb, over 60gb of it unused, since the root partition only has ~20gb free space we'll let rust save its artifact into /mnt hoping that we're actually dealing with space issues and not something else...
2024-03-07 11:56:39 +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) notification-v2.0.0-beta.2 window-state-js-v2.0.0-beta.2 global-shortcut-js-v2.0.0-beta.2 websocket-js-v2.0.0-beta.2 clipboard-manager-js-v2.0.0-beta.2 global-shortcut-v2.0.0-beta.2 stronghold-js-v2.0.0-beta.2 upload-js-v2.0.0-beta.2 localhost-v2.0.0-beta.2 log-js-v2.0.0-beta.2 updater-js-v2.0.0-beta.2 sql-v2.0.0-beta.2 cli-js-v2.0.0-beta.2 authenticator-v2.0.0-beta.2 shell-js-v2.0.0-beta.2 http-js-v2.0.0-beta.2 biometric-v2.0.0-beta.2 biometric-js-v2.0.0-beta.2 http-v2.0.0-beta.2 store-v2.0.0-beta.2 store-js-v2.0.0-beta.2 single-instance-v2.0.0-beta.3 shell-v2.0.0-beta.2 process-v2.0.0-beta.2 dialog-v2.0.0-beta.2 positioner-js-v2.0.0-beta.2 dialog-js-v2.0.0-beta.2 os-v2.0.0-beta.2 autostart-js-v2.0.0-beta.2 clipboard-manager-v2.0.0-beta.2 log-plugin-v2.0.0-beta.2 stronghold-v2.0.0-beta.2 nfc-js-v2.0.0-beta.2 notification-js-v2.0.0-beta.2 autostart-v2.0.0-beta.2 deep-link-js-v2.0.0-beta.2 cli-v2.0.0-beta.2 positioner-v2.0.0-beta.2 fs-v2.0.0-beta.2 window-state-v2.0.0-beta.2 deep-link-v2.0.0-beta.2 sql-js-v2.0.0-beta.2 websocket-v2.0.0-beta.2 process-js-v2.0.0-beta.2 nfc-v2.0.0-beta.2 persisted-scope-v2.0.0-beta.2 os-js-v2.0.0-beta.2 barcode-scanner-js-v2.0.0-beta.2 authenticator-js-v2.0.0-beta.2 updater-v2.0.0-beta.2 fs-js-v2.0.0-beta.2 upload-v2.0.0-beta.2 barcode-scanner-v2.0.0-beta.2 2024-03-07 00:24:51 -03: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
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
Rigidity d9870f1948 docs: improve tauri-plugin-store readme and code example (#996)
* Improve tauri-plugin-store readme and code example

* Remove advanced error handling section and fix inaccuracy

* Switch to expect
2024-03-06 06:08:35 +02:00
Victor Aremu 54cd4a58b8 chore(stronghold): readme typo (#1028) 2024-03-05 11:21:24 +01:00
Victor Aremu 570fb8f335 feat: Improve Stronghold (v2) README with usage examples (#1023)
feat: add client side usage
2024-03-05 02:03:44 +02:00
Ahmed Elkhoudiry 22f5acf240 feat(store): Add android & iOS support (#1011)
* update cli

* init android module

* upgdate gitignore

* add desktop and mobile

* android

* ios

* lib

* remove comment

* cargo fmt

* skip empty file creation

* android comments

* apple path

* Discard changes to plugins/store/ios/README.md

* stop auto directories creation

* Update README.md
2024-03-04 21:02:17 +02:00
Fabian-Lars 8a5e05cd83 fix: Fix comp with latest beta (#1018)
* fix: Fix comp with latest beta

* linux
2024-03-04 19:59:24 +02: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
Tillmann f59436dad0 Added Security Policy to All Plugins (#930)
* Added contact and security policy to remaining plugins and the repository

* Added default security policy to shared template
2024-02-27 11:43:31 -03: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>
single-instance-v2.0.0-beta.2
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
Lucas Fernandes Nogueira 7c6d9fd956 Merge pull request #948 from tauri-apps/release-v2
Publish New Versions (v2)
upload-v2.0.0-beta.1 shell-js-v2.0.0-beta.1 process-js-v2.0.0-beta.1 clipboard-manager-v2.0.0-beta.1 store-v2.0.0-beta.1 biometric-js-v2.0.0-beta.1 http-js-v2.0.0-beta.1 autostart-v2.0.0-beta.1 fs-js-v2.0.0-beta.1 http-v2.0.0-beta.1 notification-v2.0.0-beta.1 biometric-v2.0.0-beta.1 store-js-v2.0.0-beta.1 persisted-scope-v2.0.0-beta.1 deep-link-js-v2.0.0-beta.1 single-instance-v2.0.0-beta.1 cli-v2.0.0-beta.1 window-state-v2.0.0-beta.1 deep-link-v2.0.0-beta.1 global-shortcut-v2.0.0-beta.1 upload-js-v2.0.0-beta.1 dialog-js-v2.0.0-beta.1 stronghold-js-v2.0.0-beta.1 websocket-js-v2.0.0-beta.1 localhost-v2.0.0-beta.1 barcode-scanner-js-v2.0.0-beta.1 clipboard-manager-js-v2.0.0-beta.1 global-shortcut-js-v2.0.0-beta.1 positioner-js-v2.0.0-beta.1 stronghold-v2.0.0-beta.1 fs-v2.0.0-beta.1 positioner-v2.0.0-beta.1 updater-js-v2.0.0-beta.1 websocket-v2.0.0-beta.1 autostart-js-v2.0.0-beta.1 dialog-v2.0.0-beta.1 updater-v2.0.0-beta.1 sql-v2.0.0-beta.1 shell-v2.0.0-beta.1 process-v2.0.0-beta.1 cli-js-v2.0.0-beta.1 barcode-scanner-v2.0.0-beta.1 nfc-v2.0.0-beta.1 os-v2.0.0-beta.1 window-state-js-v2.0.0-beta.1 os-js-v2.0.0-beta.1 nfc-js-v2.0.0-beta.1 sql-js-v2.0.0-beta.1 notification-js-v2.0.0-beta.1 authenticator-v2.0.0-beta.1 log-plugin-v2.0.0-beta.1 authenticator-js-v2.0.0-beta.1 log-js-v2.0.0-beta.1
2024-02-21 14:42:46 -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 ac8251774a remove dbus 2024-02-21 13:59:43 -03:00
Lucas Nogueira 7039c9b995 fmt, clippy 2024-02-21 13:39:40 -03:00
Lucas Nogueira 14f381acf8 bump msrv 2024-02-21 13:34:10 -03:00