renovate[bot]
85b738fe68
chore(deps) Update Rust crate blake3 to 1.3 ( #3200 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:19:27 -03:00
renovate[bot]
ce8a37152a
chore(deps) Update create-tauri-app ( #3199 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:19:14 -03:00
renovate[bot]
b36c8232a0
chore(deps) Update Tauri CLI ( #3196 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:18:57 -03:00
renovate[bot]
30eae51426
chore(deps) Update Rust crate tempfile to 3.3.0 ( #3202 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:15:05 -03:00
renovate[bot]
39e67922b8
chore(deps) Update Tauri JS CLI ( #3197 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:13:15 -03:00
Ahmad AlHallak
c6e05380f7
fix: getter
macro panicking on RecvError
, closes #3188 ( #3192 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-10 15:33:35 -03:00
Lucas Nogueira
c077f44927
feat: force endpoint URL to use https on release [TRI-015] ( #41 )
2022-01-09 16:40:22 -03:00
Lucas Nogueira
d95cc83105
feat: enforce updater public key [TRI-015] ( #42 )
2022-01-09 16:37:03 -03:00
Lucas Nogueira
b43019a2b0
fix: shell allowlist scope
2022-01-09 16:31:40 -03:00
chip
2e212e1eac
use our current_exe
implementation in more places ( #39 )
2022-01-09 16:30:25 -03:00
david
be096623bf
feat(updater): refactor in-memory ( #37 )
...
* refactor: updater archive is now fully validated from memory
Signed-off-by: David Lemarier <david@lemarier.ca>
* fix CI
Signed-off-by: David Lemarier <david@lemarier.ca>
* make clippy happy
Signed-off-by: David Lemarier <david@lemarier.ca>
* update documentation and fmt
Signed-off-by: David Lemarier <david@lemarier.ca>
* cleanup and add final doc
Signed-off-by: David Lemarier <david@lemarier.ca>
* fmt
Signed-off-by: David Lemarier <david@lemarier.ca>
* make clippy happy
Signed-off-by: David Lemarier <david@lemarier.ca>
* remove unwanted clone
Signed-off-by: David Lemarier <david@lemarier.ca>
* [ci skip] cleanup
Signed-off-by: David Lemarier <david@lemarier.ca>
* run `http_updater_complete_process` on all platforms
Signed-off-by: David Lemarier <david@lemarier.ca>
* fix CI: `cargo test --all-features` on core tests
Signed-off-by: David Lemarier <david@lemarier.ca>
* fix appimage build
Signed-off-by: David Lemarier <david@lemarier.ca>
* update
Signed-off-by: David Lemarier <david@lemarier.ca>
* chore(deps) Update dependency @types/imagemin to v8 (#2635 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elvinas Predkelis <elvinas.predkelis@gmail.com>
Co-authored-by: edgex004 <edgex004@gmail.com>
Co-authored-by: Barry Simons <linuxuser586@gmail.com>
Co-authored-by: Kris Scott <kscott91@gmail.com>
Co-authored-by: grey4owl <66082492+grey4owl@users.noreply.github.com>
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Co-authored-by: Lucas Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Robert Buchanan <robbie.buchanan@ioneyed.com>
Co-authored-by: Kasper <kasperkh.kh@gmail.com>
Co-authored-by: Manuel Quarneti <manuelquarneti@gmail.com>
Co-authored-by: Stef Kors <stef.kors@gmail.com>
Co-authored-by: David D <1168397+davedbase@users.noreply.github.com>
Co-authored-by: Adilson Schmitt Junior <adilsonschj@gmail.com>
Co-authored-by: Bill Avery <wravery@users.noreply.github.com>
Co-authored-by: Julien Kauffmann <90217528+jkauffmann-legion@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
Co-authored-by: ThisSeanZhang <46880100+ThisSeanZhang@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
* Revert "chore(deps) Update dependency @types/imagemin to v8 (#2635 )"
This reverts commit c0285e873d
.
* [ci skip] fix errors
Signed-off-by: David Lemarier <david@lemarier.ca>
* [ci skip] fix build errors
Signed-off-by: David Lemarier <david@lemarier.ca>
* [ci skip] path `SafePathBuf` tests
Signed-off-by: David Lemarier <david@lemarier.ca>
* allow minisign legacy
Signed-off-by: David Lemarier <david@lemarier.ca>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Elvinas Predkelis <elvinas.predkelis@gmail.com>
Co-authored-by: edgex004 <edgex004@gmail.com>
Co-authored-by: Barry Simons <linuxuser586@gmail.com>
Co-authored-by: Kris Scott <kscott91@gmail.com>
Co-authored-by: grey4owl <66082492+grey4owl@users.noreply.github.com>
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Co-authored-by: Lucas Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Robert Buchanan <robbie.buchanan@ioneyed.com>
Co-authored-by: Kasper <kasperkh.kh@gmail.com>
Co-authored-by: Manuel Quarneti <manuelquarneti@gmail.com>
Co-authored-by: Stef Kors <stef.kors@gmail.com>
Co-authored-by: David D <1168397+davedbase@users.noreply.github.com>
Co-authored-by: Adilson Schmitt Junior <adilsonschj@gmail.com>
Co-authored-by: Bill Avery <wravery@users.noreply.github.com>
Co-authored-by: Julien Kauffmann <90217528+jkauffmann-legion@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
Co-authored-by: ThisSeanZhang <46880100+ThisSeanZhang@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-01-09 16:30:14 -03:00
Lucas Nogueira
24fa21c9b7
fix: build with all features
2022-01-09 16:29:56 -03:00
Lucas Fernandes Nogueira
4d89f60d77
refactor(core): prevent path traversal [TRI-012] ( #35 )
2022-01-09 16:28:56 -03:00
Lucas Fernandes Nogueira
d4db95e716
feat(core): shell execute API scope [TRI-002] ( #36 )
...
* feat(core): shell execute API scope [TRI-002]
* fix tests
* also check with empty extension
* lockfile
2022-01-09 16:28:22 -03:00
Lucas Nogueira
eae311e6e2
fix(core): ipc and tests
2022-01-09 16:27:57 -03:00
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