Lucas Nogueira
a76abc48f2
fix(config): doc for beforeDevCommand and beforeBuildCommand
2022-02-04 18:13:46 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches
2022-02-02 20:09:41 -03:00
chip
7c3db7a381
cache current binary path much sooner ( #45 )
...
* use ctor to cache starting executable
* clean up symlink checking logic
* changefile
* use wrapper for the static, put it in tauri_utils
* cargo +nightly fmt
* add license header to `StartingBinary`
* fix clippy warning
* fix: test
* simplify macOS dangerous flag detection
* update restart test to allow expected failure on macOS
* finish documentation
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-02-02 19:58:56 -03:00
Manuel Alabor
8ab8d52942
Fix #3288 : Add provider_short_name for macOS ( #3289 )
2022-01-27 15:22:30 -03:00
chip
10314cd5cf
feat(core): add argument parsing on shell scope ( #44 )
...
* feat: initial implementation
* feat: arg parser
* refactor: move codegen to context struct
* feat: regex validation
* fix tests
* fix: support magic argument value `-`
* feat: support value regex starting with `-`
* refactor: shell_scope mod, add happy path tests
* wip: scope command arguments
* wip: commands
* add better scoped errors and pattern matching
* add documentation to scoped command items
* support using the new shell scope for open
* use the proper items in tauri::scope during codegen
* shell-open uses ScopeError::Validation also
* use shell scoping for sidecar commands
* fix: cli.rs build
* fix: validation when arg list is empty
* require args in a non-fixed, non-empty config list
Co-authored-by: Chip Reed <chip@chip.sh >
2022-01-26 16:43:24 -03:00
chip
d5d6d2abc1
Isolation Pattern ( #43 )
...
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
2022-01-17 10:46:14 -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 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
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
85df94f2b0
feat(core): config for fixed webview2 runtime version path ( #27 )
2022-01-09 16:16:45 -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
2f3a582c69
feat(cli.rs): strip release binaries [TRI-031] ( #22 )
2022-01-09 15:46:43 -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 Nogueira
d660cab38d
feat: enhance allowlist configuration [TRI-027] ( #11 )
2022-01-09 14:48:55 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] ( #13 )
2022-01-09 14:30:43 -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
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
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023]
2022-01-09 10:55:09 -03:00
Lucas Nogueira
45eba33dc1
fix(cli.rs): plugin init --api usage
2022-01-03 20:00:58 -03:00
Kasper
62182383de
List categories in tooltips ( #3150 )
2022-01-01 21:55:29 -03:00
Lucas Nogueira
26dab690b7
fix(cli.rs): distDir validation
2021-12-10 12:24:45 -03:00
Lucas Fernandes Nogueira
4e3b366e64
feat(ci): automate config.md docs generation ( #2887 )
2021-11-14 09:26:41 -03:00
Jonas Kruckenberg
b5ee03a13a
feat(cli.rs): expose debug flag to beforeDev/beforeBuild commands ( #2727 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2021-10-08 11:30:06 -03:00
Lucas Fernandes Nogueira
8599313a0f
feat(cli.rs): env vars for beforeDev/beforeBuild commands, closes #2610 ( #2655 )
2021-09-26 01:25:35 -03:00
Lucas Fernandes Nogueira
b0a8c38a73
feat(docs): improve config documentation ( #2451 )
2021-08-16 16:52:10 -03:00
Lucas Fernandes Nogueira
9bfdeb42ef
feat(bundler): add config for WiX dialog image path ( #2449 )
2021-08-16 12:03:00 -03:00
Lucas Fernandes Nogueira
13003ec761
feat(bundler): add config for WiX banner path, closes #2175 ( #2448 )
2021-08-16 11:17:29 -03:00
Amr Bashir
05b9d81ee6
feat(api.js): add nodejs-inspired functions in path module ( #2310 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2021-08-02 10:58:09 -03:00
david
426a6b4996
feat(macOS): Implement tray icon template ( #2322 )
2021-07-29 15:29:59 -04:00
Ben Briggs
58129e0a95
feat(bundler) Update on Windows without UAC Prompt ( #2155 )
2021-07-15 10:38:03 -04:00
FabianLars
bc2c331dec
fix: center and focus not being allowed in config ( #2199 )
2021-07-12 11:59:32 -03:00
Lucas Nogueira
af634db275
feat(cli.rs): add skip_taskbar to conf schema
2021-07-04 00:06:41 -03:00
Lucas Nogueira
7660a23d22
fix(tooling): clippy
2021-07-03 23:49:01 -03:00
Amr Bashir
66916b739f
chore: add .prettierrc in repo root ( #2145 )
2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
9cd10df4d5
feat(core): allow disabling file drop handler, closes #2014 ( #2030 )
2021-06-21 10:55:14 -03:00
Lucas Fernandes Nogueira
b769c7f7da
feat(bundler): windows installer license, closes #2009 ( #2027 )
2021-06-21 10:36:13 -03:00
Lucas Fernandes Nogueira
4791961981
feat(bundler): allow setting wix language, closes #1976 ( #1988 )
2021-06-15 21:12:34 -03:00
Lucas Fernandes Nogueira
6ec54c53b5
feat(core): allow dev_path, dist_dir as array of paths, fixes #1897 ( #1926 )
...
* feat(core): allow `dev_path`, `dist_dir` as array of paths, fixes #1897
* fix: clippy
2021-05-31 11:42:10 -03:00
crapStone
2b814e9c93
added cargo features to tauri config ( #1824 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2021-05-13 17:01:15 -03:00
Lucas Fernandes Nogueira
c090927021
feat(core): system tray, closes #157 ( #1749 )
2021-05-09 08:15:37 -03:00
Lucas Fernandes Nogueira
5c1fe52c2b
feat(cli.rs): allow using cross instead of cargo, add target triple arg ( #1664 )
2021-04-30 15:16:14 -03:00
Lucas Fernandes Nogueira
9e87fe6a69
feat(bundler): allow including custom files on debian package, fix #1428 ( #1613 )
2021-04-25 01:46:04 -03:00
Lucas Fernandes Nogueira
d13afec204
feat(bundler): add option to skip webview2 runtime installation, closes #1606 ( #1612 )
2021-04-24 19:01:50 -03:00
Downtime
ebe755ac5c
feat: #1528 wix supports custom templates ( #1529 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2021-04-24 18:32:28 -03:00
Lucas Fernandes Nogueira
69ea51ec93
feat(bundler): implement wix fragments, closes #1528 ( #1601 )
2021-04-23 15:30:44 -03:00
Lucas Fernandes Nogueira
64d7625b28
fix(tests): update cli.js app fixture ( #1469 )
2021-04-13 01:47:34 -03:00
Lucas Fernandes Nogueira
aea614587b
refactor(repo): add /tooling folder ( #1457 )
2021-04-12 01:59:25 -03:00