Commit Graph

301 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira 4654591d82 fix(deep-link): allow empty config values (#1732) 2024-09-04 08:18:42 -03:00
Lucas Fernandes Nogueira feb1e93fcb feat(dialog): implement save API on iOS (#1707) 2024-09-02 21:13:43 -03:00
Fabian-Lars ff134a8ca4 Remove authenticator plugin (#1723) 2024-09-03 02:41:19 +03:00
Amr Bashir f8255e1db5 feat(updater): allow passing headers & timeout in Update.download* methods (#1661)
closes #1634
2024-09-03 01:02:16 +03:00
Lucas Fernandes Nogueira 51819c601f fix(fs): writeFile command implementation on Android (#1708) 2024-09-02 13:13:53 -03:00
Tony f7280c8830 fix(fs): can't use Windows path (#1710)
* Fix fs can't use Windows path

* Add change file

* Implement `Deserialize` instead

* Rename FilePath's visitor to FilePathVisitor

* Add todo and test

* Clippy

* Unused variable
2024-09-02 18:24:37 +03:00
Lucas Fernandes Nogueira 0cb99bdaf1 fix(dialog): iOS file picker default to file selection instead of photo (#1706) 2024-09-02 17:43:13 +03:00
Tony 17e8014b69 fix(window-state): saving a minimized window's state changes its position to -32000 (#1702)
* Don't store position on minimized

* Add change file

* ?
2024-09-02 15:58:25 +08:00
github-actions[bot] de732d0ab0 publish new versions (#1683)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-29 15:47:05 -03:00
Lucas Fernandes Nogueira e2e97db519 feat: use PermissionState type from tauri, closes #979 (#1701) 2024-08-29 15:40:38 -03:00
Lucas Fernandes Nogueira 9ea9e05944 chore(deps): update to tauri rc.7 (#1699)
* chore(deps): update to tauri rc.7

* update api [skip ci]

* downgrade sqlx [skip ci]
2024-08-28 19:21:37 -03:00
Lucas Fernandes Nogueira 0c040bcc9a fix(store): remove Android and iOS plugins, closes #1256 (#1695)
The Android and iOS support introduced on #1011 is not really supported - the Tauri path API correctly resolves the cache directory on mobile, and we can access those directly using Rust code.

This is a breaking change because we no longer uses the same directory to store the files - app_cache_dir returns a different location
2024-08-27 14:18:02 -03:00
Lucas Fernandes Nogueira 0d5e7e2892 feat(fs): scope-*-recursive permission allows read dir, closes #1307 (#1696)
We could instead document that you should also enable `scope-*-index`, it is more a matter of semantics.
2024-08-27 14:17:30 -03:00
mikoto2000 448846b834 feat(fs): resolve content URIs on Android (#1658)
* Implemented writeTextFile on Android.

* Added license headers.

* fix fmt checks.

* implement more file APIs

* change file

* cleanup

* refactor dialog plugin to leverage new FS APIs

* implement metadata functions

* fix build

* expose FS rust API

* resolve resources on android

* update pnpm

* update docs

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-23 13:35:53 -03:00
Amr Bashir 3c52f30ea4 chore(deps): update windows-sys crate to 0.59 and global-hotkey to 0.6 (#1665)
* chore(deps): update windows-sys crate to `0.59`

* update global-hotkey as well

* change files
2024-08-21 17:04:03 +03:00
Amr Bashir f690777a91 refacator(dialog): mark FileResponse as #[non_exhaustive] (#1660)
* recator(dialog): mark `FileResponse` as `#[non_exhaustive]`

closes #1623

* change file
2024-08-21 16:14:58 +03:00
github-actions[bot] f946a7cf1f publish new versions (#1680)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-19 21:36:15 -03:00
Lucas Fernandes Nogueira b914775898 fix: explicitly set a minimum macOS version for older Swift versions (#1679)
ref https://github.com/tauri-apps/tauri/pull/10687
2024-08-19 16:29:22 -03:00
github-actions[bot] 121f68b449 publish new versions (#1616) 2024-08-17 07:55:31 -03:00
Lucas Nogueira ec067a5997 chore: trigger CI 2024-08-17 07:50:48 -03:00
Lucas Fernandes Nogueira 5d170a5444 chore(deps): tauri 2.0.0-rc.3 (#1671)
* chore(deps): tauri 2.0.0-rc.3

* fix builds

* fix deep link [skip ci]
2024-08-17 07:40:57 -03:00
Twilight 84f8bd5e1e fix(http): properly invoke abort (#1662)
Co-authored-by: amrbashir <github@amrbashir.me>
2024-08-14 19:18:32 +03:00
mikoto2000 bc7eecf420 feat(dialog): Implemented android save dialog. (#1657)
* Implemented android save dialog.

* small cleanup

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-13 08:41:30 -03:00
Lucas Fernandes Nogueira 7701392500 fix(updater): linux not retaining AppImage permissions, enhance tests (#1636)
* fix(updater): linux not retaining AppImage permissions, enhance tests

- adds a test for migration from v1 to v2
- extends the existing integration test to actually verify if the app was updated

* remove test framework

* fix macos test

* fix windows

* wait on windows

* fix wix

* typo

* fmt

* install webkit2gtk-4.0 on ci

* fix npm command on windows

* fix test on windows

* ubuntu-22.04

---------

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
2024-08-12 14:59:53 -03:00
AHQ 6b079cfdd1 refactor(android): Remove targetSdk = 34 from every gradle build files (#1649)
* remove targetSdk

* changelog

* fix md file

* Add the -js ones as well

* remove -js ones
2024-08-12 07:11:04 -03:00
Lucas Fernandes Nogueira 5f68990297 chore(fs): update API documentation (#1645)
* chore(fs): update API documentation

* fmt

---------

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
2024-08-12 00:54:29 -03:00
Fabian-Lars 2c00c0292c fix: use _ as word boundary in IIFE var names (#1630)
* fix: use `_` as word boundary in IIFE var names

* Revert "fix: use `_` as word boundary in IIFE var names"

This reverts commit 396ed3fa56.

* Reapply "fix: use `_` as word boundary in IIFE var names"

This reverts commit f31de7dab3.
2024-08-07 14:14:17 +02:00
Lucas Nogueira 4db635f19b feat: bump to RC 2024-08-02 12:05:44 -03:00
Fabian-Lars 9606089b2a feat: Add geolocation and haptics plugins (#1599)
* init geolocation plugin

* ios impl (w/o js api)

* generate ts api

* use newer tauri commit

* add temporary postinstall

* include src in files

* guest-js

* just ship dist-js for now

* fix watcher

* fix android compile error

* fix android build for real

* fix heading type

* initial getCurrentPosition android impl (wip)

* prevent panics if errors (strings) are sent over the channel

* Add android watchPosition implementation

* init haptics plugin (android)

* ios and new apis (ANDROID IS LIKELY BROKEN - MAY NOT EVEN COMPILE)

* use tauri-specta that accounts for raw fn arg idents

* add complete android support (it's not working great due to random soft-/hardware support)

* fix(haptics): Fix the NotificationFeedbackType::Success and Version (#1)

* Fix success feedback and version

* Apply suggestions from code review

* Update package.json

---------

Co-authored-by: Fabian-Lars <118197967+FabianLars-crabnebula@users.noreply.github.com>

* android: improve permission callback handling

* keep track of ongoing perms requests

* rebuild

* license headers

* rm sqlite feat

* fmt

* what diff u talkin bout?

* ignore dist-js again

* fix audits

* dedupe api.js

* clippy

* changefiles

* readmes

* clean up todos

* rm dsstore

* rm wrong feats

* mirror

* covector

* rebuild

* ios requires the wry feature

* lint

* update lock

---------

Co-authored-by: fabianlars <fabianlars@fabianlars.de>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Naman Garg <155433377+naman-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-08-02 10:45:47 -03:00
Lucas Fernandes Nogueira 34df132fb1 feat(shell): enhance regex validators to match on entire string (#1603) 2024-08-02 10:03:35 -03:00
github-actions[bot] 518b529a19 publish new versions (#1590)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-07-31 14:27:45 +02:00
Tony 6de87966ec chore: add missing tauri beta 25 change file (#1597)
* Add tauri beta 25 change file

* Generate schema
2024-07-31 14:25:53 +02:00
Fabian-Lars 99d6ac0f95 chore: Use range specifier for api.js version (#1606) 2024-07-31 14:25:19 +02:00
Tony e847cedc1f fix(deps): use no default features on tauri (#1402)
* Use no default feature on tauri

* Add change file

* typo

* Revert lock file conflict

* Use wry on iOS
2024-07-30 11:12:24 +02:00
Fabian-Lars 2b269f1b6d fix(fs): Apply requireLiteralLeadingDot config (#1585)
* fix(fs): Apply requireLiteralLeadingDot config

* fix deserialization

* reword changefile [skip ci]
2024-07-25 16:11:26 +02:00
github-actions[bot] 647d8894fe publish new versions (#1580)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-07-24 22:10:38 -03:00
Jacob Bolda 5ec310199f remove cargo package, publish without verification (#1581)
* remove cargo package, publish without verification

* remove custom publish with features, --no-verify should handle it now
2024-07-24 21:57:33 -03:00
Jacob Bolda bb09c7ca6e ci: npm publish with provenance (#1582)
* npm publish with provenance

* update token to allow creating id-token
2024-07-24 16:40:11 +03:00
Lucas Fernandes Nogueira 20a1d24ee0 feat(log): add Builder::split to get the raw logger implementation (#1579)
* feat(log): add Builder::split to get the raw logger implementation

This function lets you split the Builder to return the raw logger implementation along the TauriPlugin to be registered. Useful to pipe the logger to other implementations such as multi_log or tauri-plugin-devtools, allowing the plugin to be used along other logging systems.

* clippy

* covector
2024-07-23 23:32:21 -03:00
FabianLars d8bfdc73a6 ci: Fix covector getPublishedVersion url config 2024-07-23 14:50:30 +02:00
github-actions[bot] 22bb0e5b61 publish new versions (#1551)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-07-23 13:54:08 +02:00
renovate[bot] 37cb9a6681 fix(deps): update rust crate sqlx to 0.8 (v2) (#1575)
* fix(deps): update rust crate sqlx to 0.8

* fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-07-23 13:40:59 +02:00
Fabian-Lars 725ff4295e fix(notification/windows): Grant permission without invoking backend (#1556)
* fix(notification/windows): Grant permission without invoking backend

* fmt
2024-07-23 13:10:58 +02:00
FabianLars 93bdb6d133 Revert "fix(notification/windows): Grant permission without invoking backend"
This reverts commit 4c120d4176.
2024-07-16 13:22:21 +02:00
FabianLars 4c120d4176 fix(notification/windows): Grant permission without invoking backend 2024-07-16 13:21:10 +02:00
Jacob Bolda 8824a24e15 covector published pkg check with built-in API call (#1541) 2024-07-15 11:48:40 -05:00
Tony f83b9e9813 enhance(updater): use named tempfile on Windows (#1544)
* Use named tempfile on Windows

* append installer

* Add change file

* Fix ci

* Wrap in a folder

* Name temp dir for eaiser debugging

* format

* temp_dir

* target_os

* Document use updater_builder instead
2024-07-15 18:43:42 +08:00
github-actions[bot] 7d926ee5b9 publish new versions (#1517)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-07-12 19:42:56 -03:00
Lucas Fernandes Nogueira 22a17980ff feat: update to tauri beta.24 (#1537)
* feat: update to tauri beta.24

* remove .tauri

* pnpm build
2024-07-12 17:59:17 -03:00
Naman Garg 08243e94c7 feat(biometrics): Improve Rust API docs (#1532)
* Improve Rust API docs

* Add changes file
2024-07-10 03:18:38 +03:00