Commit Graph

2054 Commits

Author SHA1 Message Date
Lucas Nogueira
766c4f2c57
refactor: unify fs read and write cmds for binary/text data [TRI-009] (#34) 2022-01-09 16:24:44 -03:00
Lucas Fernandes Nogueira
bf5667f21c
fix(core): resolve symbolic links on current_exe calls [TRI-048] (#33) 2022-01-09 16:21:21 -03:00
Ngo Iok Ui (Wu Yu Wei)
804a8b53da
Add note about local storage on stronghold plugin (#32) 2022-01-09 16:21:10 -03:00
Lucas Fernandes Nogueira
6ad702920f
feat(core): allowlist tests [TRI-028] (#28) 2022-01-09 16:20:55 -03:00
chip
fa21fe9ca6
fix typo in current_binary docs (#31) 2022-01-09 16:20:48 -03:00
chip
5f3487d0c4
Resolve symlinks during tauri::api::process::current_binary [TRI-047] (#29)
* create integration test for tauri process restart

most notably, this integration test is entirely self-contained and
should successfully run with a regular `cargo test`.

* cargo fmt

* canonicalize the current_binary path to resolve links

* add licensing metadata to restart test cargo project

* remove use statements for simpler restart test binary code

* allow windows to fail creating the symlink due to permissions

* provide an overload of information on current_binary

* add nested symlinking to the restart test

* user -> attacker

* grammar (i think)
2022-01-09 16:20:32 -03:00
Lucas Nogueira
6feb5a0c50
refactor(core): api feature flags, documentation (#26) 2022-01-09 16:20:13 -03:00
Lucas Fernandes Nogueira
85df94f2b0
feat(core): config for fixed webview2 runtime version path (#27) 2022-01-09 16:16:45 -03:00
Lucas Nogueira
a62faf2085
fix(covector): remove empty change file 2022-01-09 16:16:36 -03:00
Lucas Fernandes Nogueira
0ad1c6515f
feat(core): add http allowlist scope [TRI-008] (#24) 2022-01-09 16:16:12 -03:00
Lucas Nogueira
239bba5666
refactor(core): check notification permission on the Rust endpoint [TRI-017] (#23) 2022-01-09 16:15:47 -03:00
Lucas Nogueira
a48b8b18d4
feat(core): validate callbacks and event names [TRI-038] [TRI-020] (#21) 2022-01-09 16:12:29 -03:00
Lucas Nogueira
2f3a582c69
feat(cli.rs): strip release binaries [TRI-031] (#22) 2022-01-09 15:46:43 -03:00
Lucas Nogueira
153a6a44b3
fix(cli.rs): build on windows 2022-01-09 15:41:51 -03:00
Lucas Nogueira
5687b7fdcd
refactor: use macros to match core commands with allowlist conditionals [TRI-028] (#20) 2022-01-09 15:41:28 -03:00
Lucas Nogueira
828b9ee54c
fix: build failing on env validation on windows/macos 2022-01-09 15:20:14 -03:00
Lucas Nogueira
ae60a6e892
fix: use default values for scopes on serde 2022-01-09 15:19:08 -03:00
Lucas Nogueira
4fa5ec9606
chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -03:00
Lucas Nogueira
9b4c47c4f8
refactor(build): use cargo_toml instead of toml_edit for perf [TRI-023] 2022-01-09 14:59:06 -03:00
Lucas Nogueira
63921fada4
refactor: change tauri::api::open with argument to an enum [TRI-022] (#19) 2022-01-09 14:58:38 -03:00
Lucas Fernandes Nogueira
eed017287f
feat(core): add shell > sidecar allowlist and process feature flag [TRI-037] (#18) 2022-01-09 14:57:43 -03:00
Lucas Fernandes Nogueira
6fbd6dba52
feat(core): validate AppImage execution when env vars are set [TRI-041] (#17) 2022-01-09 14:57:29 -03:00
Lucas Nogueira
8259cd64c2
feat(core): inject CSP on data URLs [TRI-049] (#16) 2022-01-09 14:57:12 -03:00
Lucas Fernandes Nogueira
d4017d505c
chore: remove eprintln! usage on release [TRI-051] (#15) 2022-01-09 14:49:17 -03:00
Lucas Nogueira
d660cab38d
feat: enhance allowlist configuration [TRI-027] (#11) 2022-01-09 14:48:55 -03:00
Lucas Nogueira
2a7bf6d912
refactor(examples): improve security when rendering HTML strings [TRI-003] (#14) 2022-01-09 14:35:30 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] (#13) 2022-01-09 14:30:43 -03:00
Lucas Fernandes Nogueira
d42ccfb34f
feat: add clipboard flag to WebviewAttributes [TRI-032] (#12) 2022-01-09 14:30:31 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) 2022-01-09 14:30:04 -03:00
Lucas Nogueira
3420aa5031
refactor: IPC handler [TRI-019] (#9)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-09 14:17:29 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8
feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) 2022-01-09 11:11:59 -03:00
Lucas Nogueira
dd83217301
fix: build on windows 2022-01-09 10:58:06 -03:00
Lucas Nogueira
7209fdf732
refactor(core): load APPIMAGE and APPDIR env vars on startup [TRI-007] [TRI-041] 2022-01-09 10:57:29 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023] 2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 (#2971) 2022-01-07 16:55:30 -03:00
Lucas Fernandes Nogueira
0600099696
feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Kasper
983cecb795
Fix links (#3182) 2022-01-07 19:09:25 +01:00
Lucas Fernandes Nogueira
b7a2345b06
feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
renovate[bot]
0a857f8fdc
chore(deps) Update Tauri CLI (#3163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:38 -03:00
renovate[bot]
e637361e4c
chore(deps) Update Rust crate clap to v3.0.4 (#3159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:11 -03:00
renovate[bot]
294bb857c9
chore(deps) Update Tauri API Definitions (#3160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:48:03 -03:00
renovate[bot]
2d6d358298
chore(deps) Update Tauri JS CLI (#3164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:35 -03:00
renovate[bot]
03f60eb54a
chore(deps) Update create-tauri-app (#3166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:25 -03:00
renovate[bot]
2a94165901
chore(deps) Update Rust crate handlebars to 4.2 (#3171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:45:48 -03:00
FabianLars
ac1dfd8c30
feat(bundler): initialize msi install path with previous location (#3158) 2022-01-07 13:45:34 -03:00
Lucas Fernandes Nogueira
1e7c2cb6e6
docs(windows): document required NuGet configuration (#3173) 2022-01-07 13:44:55 -03:00
Hecatron
bc7973d10e
Added example for CPP Dll useage (#3157) 2022-01-07 12:37:31 -03:00
Kasper
4f9c9e6307
Restructure docs (#3180)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-07 09:30:23 -03:00
Lucas Nogueira
c7621aa019
chore: fix some clippy warnings 2022-01-06 10:39:21 -03:00