Commit Graph

2011 Commits

Author SHA1 Message Date
renovate[bot] 9b99416965 fix(deps): update tauri monorepo (#815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-21 14:19:25 +01:00
github-actions[bot] 38b5d37b54 Publish New Versions (v2) (#843)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
http-v2.0.0-alpha.8 http-js-v2.0.0-alpha.6 deep-link-v2.0.0-alpha.5
2023-12-20 14:29:57 -03:00
Lucas Fernandes Nogueira 8b1d821a37 fix(deep-link): issue with tauri alpha.20 emit breaking change (#844) 2023-12-20 14:05:24 -03: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
Trevor Fitzgerald 7de603ebff fix(fs-watch): Fix DebouncedEvent type to match what notify-rs returns (#840) 2023-12-20 12:03:34 +01:00
renovate[bot] 35d821cbf1 chore(deps): update dependency eslint-plugin-n to v16.5.0 (#842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 11:24:56 +01:00
Lucas Nogueira c2115d8d21 chore: fill description field for new crates updater-js-v2.0.0-alpha.5 clipboard-manager-v2.0.0-alpha.6 dialog-js-v2.0.0-alpha.5 global-shortcut-v2.0.0-alpha.6 stronghold-v2.0.0-alpha.6 clipboard-manager-js-v2.0.0-alpha.5 process-v2.0.0-alpha.6 single-instance-v2.0.0-alpha.6 cli-v2.0.0-alpha.6 sql-js-v2.0.0-alpha.5 http-js-v2.0.0-alpha.5 nfc-v2.0.0-alpha.0 notification-js-v2.0.0-alpha.5 dialog-v2.0.0-alpha.6 deep-link-v2.0.0-alpha.4 window-state-v2.0.0-alpha.6 upload-js-v2.0.0-alpha.5 notification-v2.0.0-alpha.7 shell-js-v2.0.0-alpha.5 window-state-js-v2.0.0-alpha.5 os-js-v2.0.0-alpha.6 http-v2.0.0-alpha.7 cli-js-v2.0.0-alpha.5 process-js-v2.0.0-alpha.5 persisted-scope-v2.0.0-alpha.6 store-v2.0.0-alpha.6 biometric-v2.0.0-alpha.0 deep-link-js-v2.0.0-alpha.4 store-js-v2.0.0-alpha.5 log-js-v2.0.0-alpha.5 biometric-js-v2.0.0-alpha.0 updater-v2.0.0-alpha.6 stronghold-js-v2.0.0-alpha.6 global-shortcut-js-v2.0.0-alpha.5 localhost-v2.0.0-alpha.6 os-v2.0.0-alpha.6 fs-v2.0.0-alpha.6 positioner-v2.0.0-alpha.6 positioner-js-v2.0.0-alpha.5 fs-js-v2.0.0-alpha.5 sql-v2.0.0-alpha.6 websocket-v2.0.0-alpha.6 log-plugin-v2.0.0-alpha.6 nfc-js-v2.0.0-alpha.0 upload-v2.0.0-alpha.6 shell-v2.0.0-alpha.6 websocket-js-v2.0.0-alpha.5 2023-12-20 00:10:26 -03:00
github-actions[bot] 8c6d96e645 Publish New Versions (v2) (#832)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
autostart-js-v2.0.0-alpha.5 autostart-v2.0.0-alpha.6 authenticator-v2.0.0-alpha.6 barcode-scanner-v2.0.0-alpha.4 authenticator-js-v2.0.0-alpha.5 barcode-scanner-js-v2.0.0-alpha.4
2023-12-19 23:56:51 -03:00
Lucas Nogueira 7bdc32079c fix(ci): set dependencies on covector config 2023-12-19 23:21:37 -03:00
Lucas Fernandes Nogueira 10b80391fc refactor(fs): use scope from tauri core (#825)
* fix(fs): scope checks on Android

On Android, when we call canonicalize() on "/data/user/0/appid" (which is the data dir), the result is a "/data/data/appid" path, so we need to adjust our scope for that.

* use scope from core

* update persisted-scope

* fix build

* dev branch
2023-12-19 23:19:01 -03:00
Tillmann 1eaf640255 Added Security Policy and Threat Model for Log Plugin (#828)
* Initial threat model and security contact

* Corrections and finalize policy
2023-12-19 22:25:42 -03:00
Amr Bashir 69a1fa099c feat(fs): improved API (#751)
* feat(fs): improved API

* fmt

* fix unix builds

* again

* clippy

* clippy

* fix import in docs examples

* fmt, clippy

* Update linux.rs

* add API for watch

* fix with `watcher` feature flag

* use baseDir for all commands

* do not export close function

* fix build

* organize and address review comments

* fmt

* generated files

* rename FsFile to FileHandle, move APIs and docs

* extend example

* extend `Resource`

* actually extend it

---------

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-19 22:08:34 -03:00
Lucas Fernandes Nogueira 2cf8faa3e1 chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13 (#839)
* chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13

* fix lockfile
2023-12-20 00:18:05 +02:00
Amr Bashir e5f979f91a fix(core/updater): check if installer args are not empty before passing -ArgumentList (#818) 2023-12-19 17:37:27 -03:00
Lucas Nogueira 8df28a9875 feat(mobile): add biometric plugin (#829)
* chore: update deps, make mobile script paths relative

* feat(biometric): setup plugin folder

* feat: implement iOS

* add api

* android

* fix plugin name

* also check empty info.plist entry

* add example

* fix android

* supress

* lint

* better explanation

* add partners & contributed by

* change ext

* license headers

* update vite

* add covector setup

* tauri/dox removed

* add example

* docs

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-19 11:16:13 -03:00
Lucas Nogueira fe79adb5c7 feat(mobile): add NFC plugin (#830)
* feat: scaffold NFC plugin, initial iOS code

* adjust script paths (api example)

* update entitlements & plist

* update class name

* update api

* sketch api, remove desktop

* update response data

* add write fn

* remove commands

* fixes for write mode

* check nfc state before using the APIs

* fix(example): downgrade internal-ip to v7

* feat: typed iOS arguments

* update swift requirement

* android updates

* update tauri

* fix icon

* update example

* fix build

* fix notification example

* fix clipboard

* fix ios notification build

* fix info.plist

* update tauri

* add change file

* fmt

* update to new args class syntax :( [skip ci]

* add lang code handling in RTD_TEXT helper (written payload is broken without it)

* update nfc to latest tauri. use tauri from git

* update lockfile

* android: add initial nfc writer implementation

* check sdk version for pendingintent flag

* quicksaving basic ndef reading that doesn't crash

* add basic ndef reading (android)

* small cleanup

* change pending action type

* validate available state

* gradle 8.0.0

* use session class

* implement keep session alive

* fix notification crash??

* remove dox feature, fix breaking changes

* update dependencies

* fix shell tests [skip ci]

* fmt [skip ci]

* type safe args

* scan kind options

* commit .idea files

* update api

* update example

* fix app check

* alertmessage options for iOS

* default to tag on example

* fix(ios): always close session on write, remove keepsessionalive option

* add kind input to write options

* empty records if message not found

* fill tag metadata for ndef read

* add contributors

* update vite

* covector setup

* tauri/dox removed

* docs and examples

* fmt [skip ci]

---------

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-19 10:50:31 -03:00
Fabian-Lars 7c59e3785b feat(dialog): Re-export FileResponse (#837)
closes #835
2023-12-19 15:35:53 +02:00
Amr Bashir b1c6a7885e fix(core/dialog): reconstruct path using appropriate separator (#820)
* fix(core/dialog): reconstruct path using appropriate separator

ref: tauri-apps/tauri#8074

* Reference original issue [skip ci]
2023-12-18 21:09:04 -03:00
renovate[bot] 563ca73de0 chore(deps): update typescript-eslint monorepo to v6.15.0 (#831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 21:02:55 +01:00
Lucas Fernandes Nogueira 2d6bfbfacf feat(fs): include full error message (#826) 2023-12-18 15:01:47 -03:00
renovate[bot] 27eb8c74af chore(deps): update dependency eslint-plugin-security to v2 (#817)
* chore(deps): update dependency eslint-plugin-security to v2

* legacy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-12-18 12:25:52 +01:00
renovate[bot] 4aa61dcc9e chore(deps): update dependency eslint-config-standard-with-typescript to v43 (#823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-17 14:46:20 +01:00
renovate[bot] e6b6748085 chore(deps): update dependency eslint-plugin-import to v2.29.1 (#819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-17 13:49:00 +01:00
renovate[bot] 90fef3ae2d chore(deps): update dependency rollup to v4.9.1 (#827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-17 13:39:08 +01:00
renovate[bot] cc352416e5 chore(deps): update dependency eslint to v8.56.0 (#822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-17 13:30:28 +01:00
github-actions[bot] 68cb23f9c0 Publish New Versions (v2) (#723)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
sql-v2.0.0-alpha.5 cli-js-v2.0.0-alpha.4 stronghold-js-v2.0.0-alpha.5 autostart-v2.0.0-alpha.5 stronghold-v2.0.0-alpha.5 global-shortcut-js-v2.0.0-alpha.4 autostart-js-v2.0.0-alpha.4 clipboard-manager-v2.0.0-alpha.5 http-v2.0.0-alpha.6 shell-js-v2.0.0-alpha.4 upload-v2.0.0-alpha.5 deep-link-v2.0.0-alpha.3 cli-v2.0.0-alpha.5 fs-v2.0.0-alpha.5 deep-link-js-v2.0.0-alpha.3 sql-js-v2.0.0-alpha.4 websocket-v2.0.0-alpha.5 store-v2.0.0-alpha.5 single-instance-v2.0.0-alpha.5 authenticator-js-v2.0.0-alpha.4 barcode-scanner-v2.0.0-alpha.3 notification-v2.0.0-alpha.6 log-js-v2.0.0-alpha.4 authenticator-v2.0.0-alpha.5 window-state-v2.0.0-alpha.5 updater-js-v2.0.0-alpha.4 clipboard-manager-js-v2.0.0-alpha.4 global-shortcut-v2.0.0-alpha.5 os-v2.0.0-alpha.5 store-js-v2.0.0-alpha.4 process-js-v2.0.0-alpha.4 log-plugin-v2.0.0-alpha.5 http-js-v2.0.0-alpha.4 persisted-scope-v2.0.0-alpha.5 notification-js-v2.0.0-alpha.4 localhost-v2.0.0-alpha.5 window-state-js-v2.0.0-alpha.4 barcode-scanner-js-v2.0.0-alpha.3 fs-js-v2.0.0-alpha.4 shell-v2.0.0-alpha.5 websocket-js-v2.0.0-alpha.4 positioner-v2.0.0-alpha.5 upload-js-v2.0.0-alpha.4 process-v2.0.0-alpha.5 positioner-js-v2.0.0-alpha.4 os-js-v2.0.0-alpha.5 dialog-v2.0.0-alpha.5 dialog-js-v2.0.0-alpha.4 updater-v2.0.0-alpha.5
2023-12-14 15:44:44 -03:00
renovate[bot] 5e73de50e7 chore(deps): update dependency rollup to v4.9.0 (#816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 17:34:12 +01:00
FabianLars 46dfb75d92 Revert "fix(deps): update dependency @tauri-apps/api to v1.5.2 (#814)"
This reverts commit 3af968ce8f.
2023-12-12 11:18:20 +01:00
renovate[bot] 3af968ce8f fix(deps): update dependency @tauri-apps/api to v1.5.2 (#814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 11:14:47 +01:00
renovate[bot] 4f8df2f86b chore(deps): update typescript-eslint monorepo to v6.14.0 (#813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 20:33:27 +01:00
Fabian-Lars 387c2f9e0c chore: Update Tauri to alpha.18 (#802) 2023-12-11 15:41:42 -03:00
Fabian-Lars 78e60e6618 fix(updater): Typo in error enum (#812) 2023-12-11 15:19:05 -03:00
renovate[bot] 65ea3d9adf chore(deps): update dependency rollup to v4.8.0 (#807)
* chore(deps): update dependency rollup to v4.8.0

* dedupe

* let renovate run dedupe

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-12-11 09:45:39 +01:00
renovate[bot] 776ff9c97e chore(deps): update dependency eslint-plugin-n to v16.4.0 (#811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 08:11:50 +01:00
renovate[bot] 5c883bdd33 chore(deps): update dependency prettier to v3.1.1 (#809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-10 11:21:11 +01:00
renovate[bot] af2892f6a1 chore(deps): update dependency eslint-config-standard-with-typescript to v42 (#808)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-09 17:21:14 +01:00
Fabian-Lars a5792e220a chore: Update rustix in lockfile (#806)
https://github.com/tauri-apps/plugins-workspace/security/dependabot/36
2023-12-07 15:44:55 +01:00
Fabian-Lars eef088dde4 chore(websocket): Convert websocket example to vanilla ts (#805)
* chore(websocket): Convert ws example to vanilla-ts

* fix gitignore
2023-12-07 15:03:37 +01:00
Tillmann a848e1870a chore(barcode): Added security policy (#766) 2023-12-07 13:42:18 +01:00
renovate[bot] 8d00fc08f0 fix(deps): update rust crate tokio-tungstenite to 0.21 (#804)
* fix(deps): update rust crate tokio-tungstenite to 0.21

* http version mismatch

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-12-07 10:27:31 +01:00
renovate[bot] c7336bc330 chore(deps): update dependency typescript to v5.3.3 (#803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 21:46:26 +01:00
Mitchell van der Hoeff f4b2674fd5 fix(sql): Encode JSON numbers as f64 to fix JSON_EXTRACT queries (#797)
Signed-off-by: Mitchell van der Hoeff <8631205+mitchelljustin@users.noreply.github.com>
2023-12-06 15:20:35 +01:00
renovate[bot] 84208e0a53 chore(deps): update dependency vite to v5.0.6 (#794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 13:08:24 +01:00
renovate[bot] 2a28c81da6 chore(deps): update dependency vite to v5.0.5 [security] (#801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 13:03:44 +01:00
renovate[bot] 56750d31e6 chore(deps): update dependency @sveltejs/kit to v1.27.7 (#799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-05 19:38:37 +01:00
Michael Howell 0e3e3d4eac fix(dialog): Pin rfd to 0.12 to prevent freeze on Linux (#796)
* Do not use rfd 0.12.1

https://github.com/PolyMeilex/rfd/pull/152
conflicts with the way tauri uses it.

> Yeah, this is a decent solution, not much else we can do about this global state bs on C side.
>
> This will obviously blow up as soon as someone has other code that also uses GTK, but let's ignore that for now, as I want to get rid of GTK backend one day anyway (#66).

Yes, Tauri is other code that also uses GTK, and it does, indeed, blow up. The best way around this is to stop using rfd entirely (they're planning to drop the GTK backend, which will probably break since the XDG Portal API doesn't cover message dialogs).

* Update dialog-pin-rfd.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-12-05 19:31:08 +01:00
renovate[bot] 899c6262f8 chore(deps): update typescript-eslint monorepo to v6.13.2 (#795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 21:58:04 +01:00
renovate[bot] 6a19feca1d chore(deps): update dependency eslint-config-prettier to v9.1.0 (#790)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 11:20:43 +01:00
renovate[bot] ad5ec05e26 chore(deps): update dependency eslint to v8.55.0 (#789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 08:04:18 +01:00
renovate[bot] b67dc85936 chore(deps): update dependency @tauri-apps/cli to v1.5.7 (#788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 22:36:17 +01:00