Commit Graph

761 Commits

Author SHA1 Message Date
Lucas Nogueira c2115d8d21 chore: fill description field for new crates updater-js-v2.0.0-alpha.5 deep-link-js-v2.0.0-alpha.4 store-v2.0.0-alpha.6 biometric-v2.0.0-alpha.0 persisted-scope-v2.0.0-alpha.6 process-js-v2.0.0-alpha.5 clipboard-manager-v2.0.0-alpha.6 http-v2.0.0-alpha.7 dialog-js-v2.0.0-alpha.5 updater-v2.0.0-alpha.6 store-js-v2.0.0-alpha.5 biometric-js-v2.0.0-alpha.0 global-shortcut-v2.0.0-alpha.6 stronghold-v2.0.0-alpha.6 window-state-js-v2.0.0-alpha.5 os-js-v2.0.0-alpha.6 cli-js-v2.0.0-alpha.5 clipboard-manager-js-v2.0.0-alpha.5 log-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 nfc-js-v2.0.0-alpha.0 log-plugin-v2.0.0-alpha.6 stronghold-js-v2.0.0-alpha.6 upload-v2.0.0-alpha.6 websocket-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 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 barcode-scanner-js-v2.0.0-alpha.4 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
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
Lucas Fernandes Nogueira 2d6bfbfacf feat(fs): include full error message (#826) 2023-12-18 15:01:47 -03: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 log-js-v2.0.0-alpha.4 autostart-v2.0.0-alpha.5 stronghold-v2.0.0-alpha.5 window-state-v2.0.0-alpha.5 barcode-scanner-v2.0.0-alpha.3 notification-v2.0.0-alpha.6 authenticator-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 single-instance-v2.0.0-alpha.5 authenticator-js-v2.0.0-alpha.4 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 upload-js-v2.0.0-alpha.4 dialog-js-v2.0.0-alpha.4 updater-js-v2.0.0-alpha.4 updater-v2.0.0-alpha.5 positioner-js-v2.0.0-alpha.4 process-v2.0.0-alpha.5 clipboard-manager-js-v2.0.0-alpha.4 global-shortcut-v2.0.0-alpha.5 os-js-v2.0.0-alpha.5 dialog-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
2023-12-14 15:44:44 -03: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
Tillmann a848e1870a chore(barcode): Added security policy (#766) 2023-12-07 13:42:18 +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
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
kris-ava e7c72c9816 fix(updater): fix appimage extraction (#784)
* fix updater on linux

* review changes

* Apply suggestions from code review

* change file

---------

Co-authored-by: Kris Krolak <krzysiek.krolak@gmail.com>
2023-11-30 20:46:02 +02:00
pashokitsme 2e2c0a1b95 fix(dialog): fix message dialog return with custom buttons, fixes #711 (#769)
* fix confirm

* remove unnecessary lines

* fix

* change file
2023-11-27 19:55:26 +02:00
Fabian-Lars f49b391f10 Merge pull request #761 from tauri-apps/ci/features
ci: Test rust crates with all features enabled
2023-11-24 11:12:11 +01:00
Fabian-Lars df73183f2c test http without features 2023-11-23 22:30:25 +01:00
FabianLars bd0b015180 update notify version to match code 2023-11-23 22:05:01 +01:00
Fabian-Lars 7d1f3e7a08 ci: Test rust crates with all features enabled 2023-11-23 21:56:49 +01:00
Fabian-Lars 913b767c4b chore: Merge remote-tracking branch 'origin/v1' into v2 2023-11-23 20:47:28 +01:00
FabianLars 058d5dde0d Merge remote-tracking branch 'origin/v1' into v1-into-v2-again 2023-11-23 19:59:58 +01:00
Fabian-Lars 8c9ff2a2a9 chore: Add sponsors section to readme (#758)
* chore: Add sponsors section to readme

* which link style works in nested folders?

* add sponsors to plugin readmes

* use https links as src

* double test it with the pr branch

* revert last commit

* fmt
2023-11-23 17:18:09 +01:00
Kai Hata 5106b9d0c6 docs(localhost): incorrect usage of RemoteDomainAccessScope in README. (#757)
* Fix incorrect usage of RemoteDomainAccessScope in README.

* Fix incorrect usage of RemoteDomainAccessScope in README.
2023-11-23 11:03:33 +01:00
Fabian-Lars 0864c54147 fix(updater): replace url vars in query params (#756) 2023-11-22 16:08:24 +01:00
renovate[bot] 2d941a407b chore(deps): update dependency svelte-check to v3.6.1 (#755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-22 14:13:57 +01:00
renovate[bot] 0617e2354a chore(deps): update dependency rollup to v4.5.1 (#754)
* chore(deps): update dependency rollup to v4.5.1

* pnpm dedupe

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-11-22 13:58:45 +01:00
renovate[bot] e66b196852 chore(deps): update dependency vite to v5.0.2 (#753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 18:24:35 +01:00
renovate[bot] 32309c90d8 chore(deps): update dependency vite to v5.0.1 (#752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 14:56:57 +01:00
Amr Bashir 445c1e6cb6 feat(notifications): use the ligh windows-version crate (#750)
* feat(notifications): use the ligh `windows-version` crate

* Update desktop.rs

* optional
2023-11-21 14:23:47 +02:00
Amr Bashir 88d260d901 fix(fs): add options argument for exists function closes #734 (#744)
closes #734
2023-11-21 01:31:00 +02:00
renovate[bot] a3b506f559 chore(deps): update typescript-eslint monorepo to v6.12.0 (#748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 20:38:19 +01:00
renovate[bot] 0a387ea358 chore(deps): update dependency typescript to v5.3.2 (#747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 20:35:03 +01:00
renovate[bot] f16433be43 chore(deps): update dependency svelte to v4.2.7 (#743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 16:25:37 +01:00
Amr Bashir eea3df56ef fix: add back main, module and types field in top-level package.json (#742)
closes #738

`"moduleResolution": "node"` doesn't handle the `exports` field
2023-11-20 16:00:55 +02:00
renovate[bot] 53a1a7e436 chore(deps): update dependency vite to v5 (#732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:02:53 +01:00
renovate[bot] af3b36647c chore(deps): update dependency svelte to v4.2.6 (#741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 13:57:02 +01:00
renovate[bot] 20ef22fc3a chore(deps): update dependency eslint-config-standard-with-typescript to v40 (#740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-18 12:28:03 +01:00
renovate[bot] 4e6712ed40 chore(deps): update dependency rollup to v4.5.0 (#739)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-18 12:18:59 +01:00
renovate[bot] 8d6a60d4a2 chore(deps): update dependency eslint to v8.54.0 (#737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 23:19:20 +01:00
renovate[bot] 19529b6097 chore(deps): update dependency svelte to v4.2.5 (#736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 18:14:05 +01:00
renovate[bot] b11221a7c9 chore(deps): update dependency svelte to v4.2.4 (#733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 13:04:41 +01:00
Amr Bashir 5a8bbe2967 chore: remove dead code from updater test (#731) 2023-11-16 18:55:46 +02:00
renovate[bot] 642a195d34 fix(deps): update rust crate windows-sys to 0.52 (#730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 17:10:19 +02:00
Amr Bashir a3ca64275a fix(updater): Use escaped installer path to start the msi updater (#728)
* fix(updater): Use escaped installer path to start the msi updater

Continuation of #727

* change file

* fix build
2023-11-16 01:26:11 +02:00