Commit Graph

121 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
f2a30d8bc5 refactor(core): use ayatana appindicator by default, keep option to use gtk (#3916) 2022-04-19 17:33:17 -03:00
Lucas Fernandes Nogueira
f67ae6bd60 fix(core): set bundle id for notifications on macOS (#3839) 2022-04-01 23:35:29 -03:00
Lucas Fernandes Nogueira
edad9f4f55 refactor(core): add RunEvent::WindowEvent (#3793) 2022-03-28 17:26:25 -03:00
Lucas Nogueira
d5c06f0240 chore: update lockfiles 2022-03-28 15:23:27 -03:00
Lucas Fernandes Nogueira
f6e32ee188 feat(core): add dangerous option to disable compile time CSP injection (#3775) 2022-03-28 11:55:54 -03:00
Lucas Fernandes Nogueira
bf89a05fcf fix(core): dialog parent window on macOS, closes #3312 (#3753) 2022-03-23 13:31:15 -03:00
Lucas Nogueira
e974f8fbae fix(examples): api build on macOS 2022-03-11 22:57:16 -03:00
Lucas Fernandes Nogueira
49546c5269 feat(build): print error context (#3644) 2022-03-09 21:01:26 -03:00
Lucas Fernandes Nogueira
834ccc5153 feat(core): reimplement readTextFile for performance (#3631) 2022-03-07 11:34:33 -03:00
Lucas Fernandes Nogueira
8c9358725a refactor(core): move png and ico behind Cargo features (#3588) 2022-03-05 14:19:24 -03:00
Lucas Fernandes Nogueira
3fe0260f4c feat(core): allow CSP configuration to be an object, ref #3533 (#3603) 2022-03-04 21:18:39 -03:00
Lucas Fernandes Nogueira
141133a414 feat(core): add WindowBuilder type (#3598) 2022-03-04 21:18:22 -03:00
Lucas Fernandes Nogueira
983ccb815b feat(core): allow denying paths on the fs and asset scopes (#3607) 2022-03-03 17:32:12 -03:00
Lucas Fernandes Nogueira
0f1558980a fix(core): docs.rs on Windows and macOS (#3566)
Co-authored-by: chip <chip@chip.sh>
2022-03-02 13:08:42 -03:00
Lucas Fernandes Nogueira
944b124ce0 feat(core): enhance HTTP scope glob validation, closes #3507 (#3515) 2022-02-24 10:06:19 -03:00
Lucas Fernandes Nogueira
b571c249dc chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -03:00
Lucas Fernandes Nogueira
a975551461 fix(cli): duplicated short flag for signer sign, closes #3483 (#3492) 2022-02-17 17:57:29 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab refactor(cli.js): run on separate thread (#3436) 2022-02-13 13:50:51 -03:00
Lucas Fernandes Nogueira
3a4c016061 fix(core): change default freezePrototype to false, closes #3416 #3406 (#3423) 2022-02-12 10:28:05 -03:00
Lucas Nogueira
317d5dd17d docs(api): document shell scope 2022-02-11 15:04:00 -03:00
github-actions[bot]
0876bbbb57 Apply Version Updates From Current Changes (#2522)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 18:03:25 -03:00
Lucas Fernandes Nogueira
2403e732df feat(cli.rs): add tests to node binding, delete cli.js (#3381)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Lucas Fernandes Nogueira
7b7a3a89d1 feat(core): update serialize-to-javascript dependency (#3363) 2022-02-09 01:24:35 -03:00
Lucas Fernandes Nogueira
55aa22de80 feat(core): add Window#open_devtools API, closes #1213 (#3350) 2022-02-07 10:04:33 -03:00
Lucas Fernandes Nogueira
03fc92c830 fix(core): resolve request instead of panicking on asset protocol (#3347) 2022-02-06 23:54:47 -03:00
Lucas Fernandes Nogueira
9b34055264 fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Lucas Fernandes Nogueira
af329f2722 feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Fernandes Nogueira
4818531aba refactor(core): add blocking dialog APIs, improve docs, closes #3255 (#3270) 2022-02-05 00:43:19 -03:00
Lucas Nogueira
6ea4626337 fix(examples): API example compilation issues 2022-02-04 18:31:54 -03:00
Lucas Nogueira
c6ba7f6524 fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
675d171eed fix(core): tests, lint 2022-02-04 14:03:27 -03:00
Lucas Nogueira
320bb0b52a fix(examples): API example shell scope configuration 2022-02-02 21:02:27 -03:00
Lucas Nogueira
0d1e3219b4 Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
Lucas Nogueira
b82e2b5cf7 feat(core): configure HTTP scope using glob patterns 2022-01-31 10:30:32 -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
Jonas Kruckenberg
ce03909fb6 [feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00
Lucas Nogueira
b43019a2b0 fix: shell allowlist scope 2022-01-09 16:31:40 -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
5687b7fdcd refactor: use macros to match core commands with allowlist conditionals [TRI-028] (#20) 2022-01-09 15:41:28 -03:00
Lucas Nogueira
4fa5ec9606 chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -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 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
Amr Bashir
4143ffd427 fix(cli.js): detect CARGO_TARGET_DIR for local run (#3147)
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run

* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Fernandes Nogueira
2212bd5d75 fix: dialog default path on Linux, closes #3091 (#3123) 2021-12-27 13:03:51 -03:00
Lucas Fernandes Nogueira
35588b2e04 fix(cli.rs): check default arch at runtime, closes #3067 (#3078) 2021-12-27 10:49:59 -03:00
Lucas Fernandes Nogueira
7cc95e10ec feat(core): add Menu::with_items, closes #2807 (#2966) 2021-12-27 10:48:13 -03:00