Commit Graph

23 Commits

Author SHA1 Message Date
Fabian-Lars
02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370)
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -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
5eb72c24de
refactor: copy resources and sidecars on the Cargo build script (#3357) 2022-02-08 13:13:21 -03:00
Lucas Fernandes Nogueira
6330b66be7
fix(core): sidecar usage on Windows, closes #3341 (#3345) 2022-02-06 16:59:20 -03:00
Jacob
e57a303748
docs(examples): add missing Readme and clarify existing (#3327)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 17:56:57 -03:00
dependabot[bot]
4e6308c296
chore(deps): bump simple-get from 3.1.0 to 3.1.1 in /examples/sidecar (#3329)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 15:52:45 -03:00
Lucas Nogueira
c6ba7f6524
fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -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
dependabot[bot]
529912515e
chore(deps): bump node-fetch from 2.6.1 to 2.6.7 in /examples/sidecar (#3271)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 16:54:16 -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 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
4fa5ec9606
chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -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 Nogueira
cf54dcf9c8
feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) 2022-01-09 11:11:59 -03:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -03:00
Lucas Fernandes Nogueira
aecdfaf76f
fix(core): raw-window-handle dependency, closes #2460 (#2465) 2021-08-17 10:27:18 -03:00
Lucas Fernandes Nogueira
4a031add69
feat(core): expose set_activation_policy, closes #2258 (#2420)
* feat(core): expose `set_activation_policy`, closes #2258

* fix change file [skip ci]

* Update .changes/runtime-set-activation-policy.md [skip ci]

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>

* clippy

* allow unused mut on example

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-13 13:25:31 -03:00
Lucas Nogueira
2e2dc7c774
fix(core): temporary fix for clippy issue 2021-07-03 20:20:54 -03:00
Amr Bashir
66916b739f
chore: add .prettierrc in repo root (#2145) 2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
66efb43388
fix(docs): target triple detection script, closes #2084 (#2096) 2021-06-27 21:21:24 -03:00
Lucas Nogueira
feb7c6e4ac
fix(examples): sidecar example on Windows 2021-06-21 01:13:54 -03:00
Lucas Fernandes Nogueira
ec88e30617
feat(examples): add sidecar example (#1999) 2021-06-16 22:18:24 -03:00