Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to tauri beta, add permissions #862

Merged
merged 36 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d0565ca
New permissions, autogeneration, security policy
tillmann-crabnebula Dec 29, 2023
9243046
toml fixes, register permissions [skip ci]
lucasfernog Jan 7, 2024
fbf72c2
update to latest tauri [skip ci]
lucasfernog-crabnebula Jan 12, 2024
da791f0
update tauri, fix scopes, add schema [skip ci]
lucasfernog-crabnebula Jan 15, 2024
ceb051e
update scopes [skip ci]
lucasfernog-crabnebula Jan 17, 2024
dca164f
add permisions for commands on all plugins [skip ci]
lucasfernog-crabnebula Jan 17, 2024
42a8fa4
setup example capabilities [skip ci]
lucasfernog-crabnebula Jan 18, 2024
cd685f1
split capabilities [skip ci]
lucasfernog-crabnebula Jan 18, 2024
e404c33
update capabilities [skip ci]
lucasfernog-crabnebula Jan 19, 2024
d4d5ccb
update tauri [skip ci]
lucasfernog-crabnebula Jan 24, 2024
49c65c9
update fs scope impl [skip ci]
lucasfernog-crabnebula Jan 25, 2024
1f307c7
http scope [skip ci]
lucasfernog-crabnebula Jan 25, 2024
c803bc2
define global scope for fs and http
lucasfernog-crabnebula Jan 28, 2024
c4d2fc1
refactor shell scope [skip ci]
lucasfernog-crabnebula Jan 29, 2024
780a46d
add fs:scope permission [skip ci]
lucasfernog-crabnebula Jan 29, 2024
4018294
remove schemas
lucasfernog-crabnebula Jan 29, 2024
0f094a5
use ScopeObject [skip ci]
lucasfernog-crabnebula Jan 29, 2024
000f305
implement command scope for fs plugin
lucasfernog-crabnebula Jan 29, 2024
b77fbe3
add require_literal_leading_dot to fs config
lucasfernog-crabnebula Jan 29, 2024
b7fa943
use impl from instead
lucasfernog-crabnebula Jan 30, 2024
94802f3
license header
lucasfernog-crabnebula Jan 30, 2024
f0a779f
fix tests
lucasfernog-crabnebula Jan 30, 2024
0f0edd9
change file
lucasfernog-crabnebula Jan 30, 2024
a19c82a
update tauri
lucasfernog-crabnebula Feb 1, 2024
4f80f4a
update tauri
lucasfernog-crabnebula Feb 1, 2024
c581865
update tauri
lucasfernog-crabnebula Feb 2, 2024
85d4bb9
remove tauri-build from plugin deps
lucasfernog-crabnebula Feb 3, 2024
96b9b02
update config
lucasfernog-crabnebula Feb 3, 2024
0cd98f8
update updater e2e test
lucasfernog-crabnebula Feb 3, 2024
5ea1d57
tauri dev branch
lucasfernog-crabnebula Feb 3, 2024
b571b6b
merge from v2
lucasfernog-crabnebula Feb 3, 2024
d596a80
format [skip ci]
lucasfernog-crabnebula Feb 3, 2024
173e1e5
fix single-instance config usage [skip ci]
lucasfernog-crabnebula Feb 3, 2024
17c497c
update to beta
lucasfernog-crabnebula Feb 3, 2024
be27309
update vite
lucasfernog-crabnebula Feb 3, 2024
f481638
fmt
lucasfernog-crabnebula Feb 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 57 additions & 0 deletions .changes/beta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-js": patch
"biometric-js": patch
"cli-js": patch
"clipboard-manager-js": patch
"deep-link-js": patch
"dialog-js": patch
"fs-js": patch
"global-shortcut-js": patch
"http-js": patch
"log-js": patch
"nfc-js": patch
"notification-js": patch
"os-js": patch
"positioner-js": patch
"process-js": patch
"shell-js": patch
"sql-js": patch
"store-js": patch
"stronghold-js": patch
"updater-js": patch
"upload-js": patch
"websocket-js": patch
"window-state-js": patch
---

Update to tauri beta.
36 changes: 36 additions & 0 deletions .changes/permissions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"barcode-scanner-js": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"clipboard-manager-js": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"global-shortcut-js": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"nfc-js": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
---

Add permissions.
14 changes: 14 additions & 0 deletions .changes/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,40 @@
".changes/api-alpha.12.md",
".changes/api-alpha.13.md",
".changes/api-alpha.9.md",
".changes/beta.md",
".changes/biometric-initial-release.md",
".changes/deep-link-initial-release.md",
".changes/dialog-async-message-dialog.md",
".changes/dialog-default-path-windows-slash.md",
".changes/dialog-export-fileresponse.md",
".changes/dialog-message-android.md",
".changes/dialog-pin-rfd.md",
".changes/dialog-return-result.md",
".changes/fix-cmd-spawn-deadlock.md",
".changes/fix-debounced-event-type.md",
".changes/fix-deep-link-alpha-20.md",
".changes/fix-docs-build.md",
".changes/fix-emit-all-usage.md",
".changes/fix-fs-write-default-option.md",
".changes/fix-invoke-usage.md",
".changes/fix-notification-schedule-export.md",
".changes/fix-number-query-params.md",
".changes/fix-permission-notification.md",
".changes/fix-scheduled-notification.md",
".changes/fix-updater-macos.md",
".changes/fix-window-state-api.md",
".changes/fs-create-new.md",
".changes/fs-exists-2nd-arg.md",
".changes/fs-improve-error-message.md",
".changes/fs-improved-apis.md",
".changes/fs-replace-notify-debouncer.md",
".changes/fs-scope-tauri.md",
".changes/fs-trunacte-non-append.md",
".changes/fs-unwtach-rid.md",
".changes/fs-wiret-binary-file.md",
".changes/fs-write-panic.md",
".changes/global-shortcut-app-handle.md",
".changes/http-init-fetch-option-connectTimeout.md",
".changes/http-multipart-refactor.md",
".changes/http-plugin-refactor.md",
".changes/http-proxy-config.md",
Expand All @@ -48,6 +56,7 @@
".changes/os-OsType.md",
".changes/os-plugin-refactor.md",
".changes/os-reading-undefined.md",
".changes/permissions.md",
".changes/persisted-scope-asset.md",
".changes/persisted-scope-glob.md",
".changes/positioner-tray-flag.md",
Expand All @@ -61,15 +70,20 @@
".changes/tauri-alpha-15.md",
".changes/tauri-alpha.11.md",
".changes/tauri-alpha.12.md",
".changes/tauri-http-plugin-errror-invalid-rid.md",
".changes/tray-position.md",
".changes/updater-appimage.md",
".changes/updater-escaped-path.md",
".changes/updater-js-started-event.md",
".changes/updater-nsis-admin.md",
".changes/updater-nsis-basicui.md",
".changes/updater-nsis.md",
".changes/updater-on-chunk-fn-mut.md",
".changes/updater-plugin-refactor.md",
".changes/updater-proxy.md",
".changes/updater-string-replace-round2.md",
".changes/updater-string-replace.md",
".changes/updater.md",
".changes/upload-bufwriter.md",
".changes/v2-alpha.md",
".changes/websocket-fix-arg-name.md",
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ Cargo.lock
build
api-iife.js
init-iife.js
intermediates/
intermediates/
*schema.json
7 changes: 5 additions & 2 deletions .scripts/ci/check-license-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import readline from "readline";
const header = `Copyright 2019-2023 Tauri Programme within The Commons Conservancy
SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: MIT`;
const ignoredLicense = "// Copyright 2021 Jonas Kruckenberg";
const ignoredLicenses = [
"// Copyright 2021 Jonas Kruckenberg",
"// Copyright 2018-2023 the Deno authors.",
];

const extensions = [".rs", ".js", ".ts", ".yml", ".swift", ".kt"];
const ignore = [
Expand Down Expand Up @@ -44,7 +47,7 @@ async function checkFile(file) {
line.length === 0 ||
line.startsWith("#!") ||
line.startsWith("// swift-tools-version:") ||
line === ignoredLicense
ignoredLicenses.includes(line)
) {
continue;
}
Expand Down
Loading
Loading