Commit Graph

799 Commits

Author SHA1 Message Date
Lucas Nogueira dac8b6331c fix(ci): commig schemas window-state-js-v2.0.0-beta.0 dialog-js-v2.0.0-beta.0 positioner-v2.0.0-beta.0 updater-js-v2.0.0-beta.0 upload-v2.0.0-beta.0 websocket-v2.0.0-beta.0 log-plugin-v2.0.0-beta.0 websocket-js-v2.0.0-beta.0 fs-v2.0.0-beta.0 os-v2.0.0-beta.0 autostart-js-v2.0.0-beta.0 clipboard-manager-js-v2.0.0-beta.0 nfc-v2.0.0-beta.0 log-js-v2.0.0-beta.0 stronghold-v2.0.0-beta.0 dialog-v2.0.0-beta.0 global-shortcut-js-v2.0.0-beta.0 biometric-v2.0.0-beta.0 barcode-scanner-js-v2.0.0-beta.0 positioner-js-v2.0.0-beta.0 stronghold-js-v2.0.0-beta.0 fs-js-v2.0.0-beta.0 updater-v2.0.0-beta.0 global-shortcut-v2.0.0-beta.0 notification-js-v2.0.0-beta.0 authenticator-js-v2.0.0-beta.0 deep-link-v2.0.0-beta.0 store-js-v2.0.0-beta.0 autostart-v2.0.0-beta.0 biometric-js-v2.0.0-beta.0 store-v2.0.0-beta.0 window-state-v2.0.0-beta.0 clipboard-manager-v2.0.0-beta.0 deep-link-js-v2.0.0-beta.0 shell-js-v2.0.0-beta.0 process-js-v2.0.0-beta.0 http-v2.0.0-beta.0 cli-js-v2.0.0-beta.0 authenticator-v2.0.0-beta.0 shell-v2.0.0-beta.0 process-v2.0.0-beta.0 single-instance-v2.0.0-beta.0 localhost-v2.0.0-beta.0 cli-v2.0.0-beta.0 sql-js-v2.0.0-beta.0 barcode-scanner-v2.0.0-beta.0 os-js-v2.0.0-beta.0 nfc-js-v2.0.0-beta.0 http-js-v2.0.0-beta.0 persisted-scope-v2.0.0-beta.0 notification-v2.0.0-beta.0 sql-v2.0.0-beta.0 upload-js-v2.0.0-beta.0 2024-02-03 18:46:36 -03:00
Lucas Fernandes Nogueira 8502b90287 Merge pull request #859 from tauri-apps/release-v2
Publish New Versions (v2)
2024-02-03 18:28:39 -03:00
Lucas Nogueira fe10ab488f beta.1 2024-02-03 18:16:49 -03:00
Lucas Nogueira 7659b9515d merge from v2 2024-02-03 17:05:27 -03:00
Lucas Fernandes Nogueira 5673a416a8 Merge pull request #927 from tauri-apps/v1v2
chore: merge v1 into v2 for the last time
2024-02-03 16:58:35 -03:00
FabianLars ee910bfcce come on, that felt personal 2024-02-03 20:29:33 +01:00
FabianLars 331a3eaf06 unlucky typo lol 2024-02-03 20:28:12 +01:00
FabianLars cb5ff764a6 license 2024-02-03 20:26:49 +01:00
FabianLars 0688416425 lint 2024-02-03 20:23:09 +01:00
FabianLars 14f5961569 chore: merge v1 into v2 for the last time 2024-02-03 20:16:36 +01:00
Lucas Nogueira 63afaf1dfa fmt 2024-02-03 15:46:18 -03:00
Lucas Nogueira abd0176cc1 beta 2024-02-03 15:46:15 -03: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
Lucas Fernandes Nogueira 15dc7060e8 fix(shell): deadlock on read line error (#923) 2024-02-01 00:01:23 -03:00
Shubham Parihar 18cb861b52 type: add OpenDialogReturn generic type (#919)
* type: add OpenDialogReturn generic type

* chore: run pnpm format

* type: export OpenDialogReturn type

* chore: run pnpm format
2024-01-30 02:08:46 +02:00
Lucas Fernandes Nogueira 8dea78ac7d fix(notification): scheduled notifications not working (#909)
* fix(notification): scheduled notifications not working

* do not use toJSON since it doesnt work on isolation pattern

* fmt
2024-01-24 13:02:11 -03:00
Daniel Faust 61edbbec0a feat(fs/watch): migrate to notify-debouncer-full (#885)
* Add support for notify-debouncer-full

* Add fs watch to demo

* Remove notify-debouncer-mini

* Rename RawEvent to WatchEvent

* Add full type definition for EventKind

* Remove `track file ids` option from fs watcher

* Update plugins/fs/guest-js/index.ts
2024-01-18 20:35:49 +02:00
Amr Bashir 0879a87a7e refactor(updater): migrate to tauri's new resource table (#899)
* refactor(updater): migrate to tauri's new resource table

* fmt

* fmt

* Create updater-js-started-event.md
2024-01-18 12:48:44 +01:00
Amr Bashir 8505a756b5 chore: add change file for updater proxy change (#907) 2024-01-17 17:51:20 +02:00
Zhang San 4e2e77580c feat(updater) support proxy (#891)
* add proxy support

Signed-off-by: San Zhang <sanzhang@mail.com>

* 1. change string to url for proxy type
2. add proxy option in js api

Signed-off-by: San Zhang <sanzhang@mail.com>

* fix fmt issue

Signed-off-by: San Zhang <sanzhang@mail.com>

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

---------

Signed-off-by: San Zhang <sanzhang@mail.com>
2024-01-17 16:47:26 +02:00
Anton Piliugin 8a3db790b8 fix(updater): fix readme and types (#903)
* Types fix

* generate files
2024-01-17 01:45:22 +02:00
Olivier Lemasle bf5a21d5b2 fix(dialog): On Android, do not add a Cancel button to message dialogs (#873) 2024-01-11 04:30:32 +02:00
阿良仔 1b1d795b58 fix(notification): export the missing Schedule class (#874)
* fix: export the missing `Schedule` class

* remove `ScheduleData`
2024-01-03 13:34:15 +01:00
Amr Bashir ae0cb92438 refactor(http): migrate to tauri's new resource table (#834)
* refactor(http): migrate to tauri's new resource table

* fmt

* change file
2024-01-02 21:55:57 +02:00
阿良仔 ea8eadce85 fix(fs): match default value of create option with js documentation (#865)
* fix(fs): inconsistency in guest-js & rust side

* Update .changes/fix-fs-write-default-option.md
2024-01-02 20:44:09 +02:00
lopo be5aebdec9 docs(log): update readme code example for v2 (#869) 2024-01-01 12:24:41 +01:00
Matthias Lohscheidt b9d29a0154 docs(sql): Add migrations section to README (#867)
Add section about migration management.
2023-12-31 16:42:22 +01:00
hygkui 1a347203a5 fix: fix http plugin fetch init with connectTimeout. (#858) 2023-12-28 18:07:52 +02:00
github-actions[bot] e80626cf81 Publish New Versions (v2) (#854)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
dialog-v2.0.0-alpha.7 fs-v2.0.0-alpha.7 http-v2.0.0-alpha.9 persisted-scope-v2.0.0-alpha.7 fs-js-v2.0.0-alpha.6
2023-12-28 10:37:04 -03:00
Amr Bashir 2e2fc8de69 fix(fs): use correct arg name for unwatch (#857)
* fix(fs): use correct arg name for unwatch

* fmt
2023-12-28 11:18:44 +01:00
Trevor Fitzgerald 85f8419682 fix(fs): Fix DebouncedEvent type to match what notify-rs returns (#848)
* fix(fs): Fix DebouncedEvent type to match what notify-rs returns

* Update fix-debounced-event-type.md
2023-12-27 15:39:05 +02:00
Amr Bashir c60123093d fix(fs): fix panic due to unwrap & truncate by default (#847)
* fix(fs): fix panic due to unwrap & truncate by default

closes #846

* fmt and change file
2023-12-27 15:27:45 +02: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
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 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 window-state-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