Lucas Fernandes Nogueira
8a1ae2deaf
feat(plugin): add option to use a Xcode project for iOS ( #9843 )
...
* wip
* add option to use xcode project
* configuration
* clear env
* add change file
* remove xcuserdatad
* delete xcuserstate
2024-05-24 08:23:41 -03:00
github-actions[bot]
51b5d581b5
Apply Version Updates From Current Changes ( #9752 )
...
* apply version updates
* fix tests
* fix tests
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-22 23:20:59 -03:00
Lucas Fernandes Nogueira
be95d8d37c
fix(utils): incorrect ToTokens impl for Capability ( #9782 )
2024-05-15 03:52:05 +03:00
github-actions[bot]
6968c40053
Apply Version Updates From Current Changes ( #9722 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-09 15:22:54 -03:00
Lucas Fernandes Nogueira
5a85ee2826
Revert "Apply Version Updates From Current Changes" ( #9723 )
...
This reverts commit 1bee4f279f
.
2024-05-09 14:02:22 -03:00
github-actions[bot]
1bee4f279f
Apply Version Updates From Current Changes ( #9693 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-05-09 12:28:30 -03:00
Lucas Fernandes Nogueira
a5205f179e
fix(utils): wrong ToTokens impl of the window proxy_url config ( #9691 )
2024-05-07 15:59:58 +03:00
github-actions[bot]
83acd85788
apply version updates ( #9639 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-05-07 00:02:54 +02:00
Hankung
3fbc1703f1
fix: schemars 0.8.18 compatibility ( #9676 )
...
* fix: schemars 0.8.18 compatibility
* fix cli cargo issue
* update tauri-utils v1
---------
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-05-06 23:22:35 +02:00
github-actions[bot]
ac9bfada4a
Apply Version Updates From Current Changes ( #9548 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-22 17:09:51 -03:00
Tony
a1e0e268f0
fix(utils): temp permission file names on windows ( #9477 )
...
* Replace `tauri:` with `tauri-`
* Add change file
* Apply suggestions from code review
* patch -> "patch:bug"
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-04-22 11:18:16 -03:00
Fabian-Lars
e64b8f1dce
chore: merge remote-tracking branch '1.x' into v2 ( #9479 )
...
* chore: port PR template from `dev` branch (#9004 )
* fix(runtime-wry): avoid panic during clipboard initialization on wayland (#9003 )
closes #8964
* ci: downgrade thread_local to 1.1.7 in msrv list (#9012 )
* Apply Version Updates From Current Changes (v1) (#9013 )
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
* fix(bundler): escape potentially problematic strings in an XML (#9040 )
* fix(bundler): escape potentially problematic strings in an XML (#9030 )
- replace characters invalid in XML with their escaped form to properly bundle resources with such characters in their pathnames.
* change file
* fix(cli): use `matched_path_or_any_parents` when checking if a file is ignored (#8903 )
* fix: taurignore ignoreing folders not working for watch
* docs: add to changes
* fix: panic: path is expected to be under the root
* Update taurignore-ignoring-folders-not-working-for-watch.md
* Update taurignore-ignoring-folders-not-working-for-watch.md
* fix(cli): migrate to stable features of `log` crate (#9119 )
* fix(cli): migrate to stable features of `log` crate
* to_cow_str
* Apply Version Updates From Current Changes (v1) (#9074 )
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
* fix(core/path): remove suffix in basename only once (#9166 )
* fix(core/path): remove suffix in basename only once
ref: #9064
* Update tooling/api/src/path.ts
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* fix(cli): Clone Options struct after mutating it. (#9188 )
* fix(bundler): Fix nsis resource paths on non-windows build systems. (#9281 )
* fix(bundler): Fix nsis resource paths on non-windows build systems.
* remove leftover from alternative
* fix(bundler/nsis): Don't use /R flag on installation dir (#9282 )
* fix(cli): upgrade heck to better support Chinese/Japanese prodcut name on Linux (#9298 )
* chore: fix clippy false positive (#9329 )
* fix(cli/info): fix crash when checking node version (#9411 )
closes #9396
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: bifs <127015052+bifs@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Jet Li <jing.i.qin@icloud.com>
2024-04-18 05:21:21 +02:00
github-actions[bot]
535691a711
Apply Version Updates From Current Changes ( #9348 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-04-15 09:32:40 -03:00
Tony
4973d73a23
feat: Add zoom hotkey polyfill for non windows platforms ( #9386 )
2024-04-08 22:42:51 +02:00
Tony
9273d7b379
feat(windows): Expose webview2 zoom hotkeys from wry ( #9352 )
...
* Expose webview2 zoom hotkeys from wry
* Add change file
* Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* Regenerate schema files
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-04-03 20:14:17 +02:00
Mariotaku
36b4c12497
feat(bundler): added provides, conflicts and replaces for deb and rpm ( #9331 )
...
* feat(bundler): added provides, conflicts and replaces for deb and rpm packages
* added change file
* update .changes/deb-rpm-provides-conflicts-replaces.md according to review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* inlined provides/conflicts/replaces(obsoletes) variables
* fmt
2024-04-03 18:02:56 +02:00
github-actions[bot]
1a58cdf2ed
Apply Version Updates From Current Changes ( #9279 )
...
* apply version updates
* fix bundler version
* fix bundler version
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-02 15:15:12 -03:00
Lucas Fernandes Nogueira
06833f4fa8
feat(ipc): enhance request URL checks, update wry, refactor file drop ( #9100 )
...
* feat(ipc): enhance request URL checks
* actually use req url
* fix windows, tests
* wry 0.38, file drop refactor
* wry 0.38.1
* adjust for windows [skip ci]
* wry 0.38.2 [skip ci]
* update to latest tao, wry, muda and tray-icon
* change tag
* serde
* use published crates
* downgrade cargo-platform to 0.1.7
---------
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-04-01 13:03:39 -03:00
Lucas Fernandes Nogueira
a804a70a7a
feat(isolation): script now removes itself to hide key from DOM ( #9328 )
2024-04-01 12:43:29 -03:00
Lucas Fernandes Nogueira
7c334cb185
feat(isolation): make encrypt key unextractable ( #9327 )
2024-04-01 12:43:19 -03:00
Vladimir Stoilov
259d845290
feat(bundler): add post/pre install/remove scripts for linux deb and rpm packages ( #9209 )
...
* feat(cli/add): add post/pre install/remove scripts for linux
* fix(cli): clippy errors
* fix(cli): remove script struct from deb/rpm bundle
* change files and aliases
2024-03-28 05:13:26 +02:00
Lucas Fernandes Nogueira
e7cd973123
fix(tauri-runtime-wry): window inner size regression on macOS, closes #9236 ( #9276 )
...
* fix(tauri-runtime-wry): window inner size regression on macOS, closes #9236
* lint
2024-03-26 11:38:57 -03:00
github-actions[bot]
f1df6b2c35
Apply Version Updates From Current Changes ( #9162 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-18 09:43:47 -03:00
Amr Bashir
7213b9e472
feat(cli/add): add default permission to capabilities ( #9124 )
...
* feat(cli/add): add default permission to capabilities
also cleanup `tauri add` command
* license headers & clippy
* print permission name
* do not error out if default permission is not set
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-13 11:58:25 -03:00
Lucas Fernandes Nogueira
e227fe02f9
feat(core): allow defining global API script on plugin build ( #9156 )
...
* feat(core): allow defining global API script on plugin build
Adds `tauri_plugin::Builder::global_api_script_path` so plugin authors can define the JavaScript global API bindings (supposed to be injected to `window.__TAURI__`) at compile time, so the string is only part of the binary when withGlobalTauri is true.
Currently this needs to be done manually at runtime (and it's always added to the binary via include_str).
* prefix variable
* use list of scripts instead of combining them
* static str
* header [skip ci]
* slice
2024-03-12 12:01:13 -03:00
github-actions[bot]
d349558abb
Apply Version Updates From Current Changes ( #9149 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-11 15:14:25 -03:00
Lucas Fernandes Nogueira
e673854c83
fix(acl): inconsistencies on urlpattern usage for remote domain URL ( #9133 )
...
* fix(acl): inconsistencies on urlpattern usage for remote domain URL
* remove println!
* typo
* fix tests
2024-03-11 13:39:17 -03:00
Lucas Fernandes Nogueira
490a6b424e
refactor(core): add setup() to the Assets trait ( #9147 )
...
* feat(core): allow swapping the assets implemenetation
* refactor(core): add setup() to the Assets trait
* code review
2024-03-11 13:38:32 -03:00
Dimitris Apostolou
26f0f71a40
chore: fix various typos ( #9131 )
2024-03-11 16:25:20 +02:00
github-actions[bot]
d701f29f17
Apply Version Updates From Current Changes ( #9117 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-07 19:56:45 -03:00
Lucas Fernandes Nogueira
3e472d0afc
refactor(acl): permission and capability platforms are optional ( #9115 )
...
* refactor(acl): permission and capability platforms are optional
* add iterator version
* fix build
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-07 14:18:15 -03:00
Lucas Fernandes Nogueira
4ef17d0833
refactor(acl): use URLPattern instead of glob for remote URLs ( #9116 )
2024-03-07 13:08:57 -03:00
github-actions[bot]
e7f245e81e
Apply Version Updates From Current Changes ( #9035 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-06 19:00:57 -03:00
renovate[bot]
cd05827f9f
chore(deps) Update Rust crate log to 0.4.21 (dev) ( #9091 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:32:43 -03:00
Lucas Fernandes Nogueira
9323fb7cda
fix(utils): ToTokens impl for ResolvedCommand broken on release ( #9087 )
2024-03-05 14:54:24 -03:00
Lucas Fernandes Nogueira
b5c7432769
feat(core): use a strict CSP on the isolation iframe ( #9086 )
2024-03-05 14:20:17 -03:00
Amr Bashir
bb23511ea8
feat: enhance multiple capabilities file format & fix mixed permissions schema ( #9079 )
...
* feat: enhance multiple capabilities file format & fix mixed permissions schema
* change files
2024-03-05 13:09:32 -03:00
Lucas Fernandes Nogueira
6a47dd212c
chore(utils): remove unused RemoteDomainAccessScope ( #9073 )
2024-03-04 21:10:45 -03:00
Amr Bashir
86fa339de7
fix(core): fix invalid path for Color
in context generation ( #9071 )
2024-03-04 17:03:55 -03:00
Lucas Fernandes Nogueira
6c06832246
fix(acl): scope resolution should be per window ( #9068 )
...
* fix(acl): scope resolution should be per window
* Update core/tauri-utils/src/acl/resolved.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* update snapshots
* lint
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-04 17:01:30 -03:00
Amr Bashir
9aa0d6e959
chore: remove unstable log features & use qualified log::<macro>
path ( #9069 )
...
* chore: remove unstable log features & use qualified `log::<macro>` path
* fmt
* fix build
2024-03-04 21:22:07 +02:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Amr Bashir
c68218b362
refactor(cli): add --no-bundle
flag, skip bundling on invalid formats ( #8990 )
...
* refactor(cli): add `--no-bundle` flag, skip bundling on invalid formats
* enhance bundle format parsing
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-29 10:49:42 -03:00
github-actions[bot]
ab060ebb34
Apply Version Updates From Current Changes ( #9000 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-29 00:06:59 -03:00
Lucas Fernandes Nogueira
d7f56fef85
feat(acl): allow a permission to apply to a subset of target platforms ( #9014 )
...
* feat(acl): allow a permission to apply to a subset of target platforms
* fix cli
2024-02-28 17:23:52 -03:00
Vitor Ayres
04440edce8
feat(utils): generate table markdown of permissions ( #9019 )
...
* generate table
* Create permission-table.md
2024-02-28 18:15:44 +02:00
Lucas Fernandes Nogueira
3657ad82f8
feat(core): allow defining permissions for the app commands ( #9008 )
...
* feat(core): allow defining permissions for the app commands
* global scope
* command scope
* write to disk
* lint
* fix path
* get autogenerated commands from generate_handler macro
* revert
* remove cli
* use const instead of empty str
2024-02-28 08:45:28 -03:00
github-actions[bot]
31a33d4680
Apply Version Updates From Current Changes ( #8980 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-02-26 23:05:51 -03:00
Amr Bashir
06d63d67a0
feat(cli): add new acl subcommands ( #8827 )
...
* unify `CI` var handling, and lay foundation for `permission` subcommand
* feat(cli/init&new): create `permissions` directory by default for plugins
* generate permissions with consistent pathing on windows and unix
* `pemrission create` initial implementation
* add ls command
* finalize `permission create` subcommand
* `permission rm` subcommand
* `permission add` subcommand
* remove empty `permission copy` subcommand
* clippy
* `capability create` subcommand and move modules under `acl` directory
* fix multiselect for `permission add` when capabilty doesn't have identifier
* clippy
* `create` -> `new` and change file
* license headers
* more license headers
* clippy
* Discard changes to examples/resources/src-tauri/.gitignore
* fix build
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-26 14:42:13 -03:00
Lucas Fernandes Nogueira
bc5b5e671a
chore(linux): remove CSP tag on custom protocol response ( #8984 )
2024-02-26 13:08:19 -03:00
github-actions[bot]
0606ab326b
Apply Version Updates From Current Changes ( #8938 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-22 18:50:24 -03:00
Lucas Fernandes Nogueira
a76fb118ce
refactor(core): allow configuring both local and remote URLs on capability ( #8950 )
2024-02-22 15:15:16 -03:00
github-actions[bot]
af646520cf
Apply Version Updates From Current Changes ( #8918 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-21 12:00:32 -03:00
Lucas Fernandes Nogueira
361ec37fd4
chore(deps): update to tao 0.26 ( #8932 )
...
* chore(deps): update to tao 0.26
* fallback to crate name
* move struct to runtime
* tests
2024-02-21 11:25:42 -03:00
github-actions[bot]
18ff84fc81
Apply Version Updates From Current Changes ( #8775 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-19 15:49:28 -03:00
Lucas Fernandes Nogueira
258494bd24
feat(core): add Manager::add_capability, closes #8799 ( #8806 )
...
* refactor(core): capabilities must be referenced on the Tauri config file
* add all capabilities by default
* feat(codegen): allow defining additional capabilities, closes #8798
* undo example
* lint
* move add_capability to runtime authority
* feat(core): add Manager::add_capability, closes #8799
* add change file
2024-02-19 11:59:20 -03:00
Lucas Fernandes Nogueira
f284f9c545
refactor: configure URLs instead of domains on capability remote ( #8898 )
2024-02-19 11:14:09 -03:00
Lucas Fernandes Nogueira
8d16a80d2f
feat(codegen): allow defining additional capabilities, closes #8798 ( #8802 )
...
* refactor(core): capabilities must be referenced on the Tauri config file
* add all capabilities by default
* feat(codegen): allow defining additional capabilities, closes #8798
* undo example
* lint
* move add_capability to runtime authority
* add change files
* go through code review
* fix tests
* remove tokens option
2024-02-19 11:13:36 -03:00
Lucas Nogueira
c426c0dca2
merge from 1.x
2024-02-19 08:03:05 -03:00
Lucas Nogueira
a4b82d9dba
chore: bump tauri-utils
2024-02-18 22:31:35 -03:00
Sam Willis
28fb036ce4
fix(core): Incorrect resource_dir when app run from new style target/PLATFORM+ARCH/(debug|release) dir ( #8852 )
...
* Fix resource_dir when app run from new target/someting/(debug|release) dir
* Update core/tauri-utils/src/platform.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* change file, update logic, add tests
* lint
* fix tests
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-18 15:10:21 -03:00
Lucas Fernandes Nogueira
83a68deb56
refactor(core): allow referencing capabilities on the Tauri config file ( #8797 )
...
* refactor(core): capabilities must be referenced on the Tauri config file
* add all capabilities by default
* refactor(cli): reference all capabilities by default
2024-02-18 10:42:09 -03:00
Lucas Fernandes Nogueira
0cb0a15ce2
feat(core): capabilities on multiwebview contexts ( #8789 )
...
* feat(core): capabilities on multiwebview contexts
* fix cli
* lint
* sort
2024-02-16 08:24:51 -03:00
Amr Bashir
5618f6d2ff
feat: relax plugin identifier requirements to alphanumeric and -
( #8856 )
...
closes #8820
2024-02-16 07:27:56 -03:00
Lucas Fernandes Nogueira
dd7571a780
fix(core): do not generate files if plugin has no permissions ( #8815 )
2024-02-07 22:26:16 -03:00
Fabian-Lars
ae0fe47c4c
fix(core): Compile error when bundle.license is set ( #8774 )
...
* fix(core): Compile error when bundle.license is set
* wrong package
2024-02-05 15:08:32 +02:00
github-actions[bot]
d54a2b055a
Apply Version Updates From Current Changes ( #8759 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-02-04 17:06:31 -03:00
Fabian-Lars
3bf6bc36da
docs: Fix broken config link ( #8752 )
...
* docs: Fix broken config link
* regen
2024-02-04 11:56:28 -03:00
Lucas Fernandes Nogueira
4e101f8016
refactor(core): enhance app rerun-if-changed for capabilities and frontend dist ( #8756 )
...
* refactor(core): enhance app rerun-if-changed for capabilities and frontend dist
* always rerun-if-changed=capabilities
* fix todo
* rerun if plugin permissions change
* add change files
2024-02-04 11:42:13 -03:00
Lucas Fernandes Nogueira
0f2789cd67
fix(build): do not rewrite unchanged schema ( #8757 )
...
* fix(build): do not rewrite unchanged schema
* typo
2024-02-04 12:45:59 +01:00
github-actions[bot]
88a1dd17c3
Apply Version Updates From Current Changes ( #8638 )
...
* apply version updates
* promote to beta
* fix check version
* update dependencies section [skip ci]
* update npm versions
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-03 10:59:09 -03:00
Fabian-Lars
4806f9fc70
fix(core): Rename FrontendDist::Dist to Dir ( #8743 )
...
* fix(core): Rename FrontendDist::Dist to Dir
* Directory
* fix totokens impl
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-03 09:08:20 -03:00
Lucas Fernandes Nogueira
0cdfda2876
refactor: move plugin functionality from tauri-build to tauri-plugin ( #8737 )
...
* refactor: move plugin functionality from tauri-build to tauri-plugin
* fixes
* fix build
* move docs function
* autogenerated
* fix path
2024-02-03 08:48:57 -03:00
Amr Bashir
8de308d1bf
feat(core): implement new config structure ( #8723 )
...
* feat(core): implement new config structure
RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md
* fixes
* remove tauri-plugin copy [skip ci]
* move platform specific configs
* fix build
* fix cli
* doctests
* change files
* read updater plugin config on CLI
* doctests
* remove env var from docs
* fix getting pubkey
* add migrations
* clippy
* update change file [skip ci]
* rename frontendDist to prodFrontend?
* Revert "rename frontendDist to prodFrontend?"
This reverts commit ef7394f085
.
* fix all_features check
* fix field name
* single license getter on bundler
* readd msiexec_args
* remove unused fixture
* update template
* Update .changes/tauri-bundle-settings-rfc-5.md
* Update .changes/config-restructure-rfc-5.md
* lint bundler, fix change file
* rename AppUrl to FrontendDist, add explicit variants for docs
* fix build
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-02-03 00:39:48 -03:00
Lucas Fernandes Nogueira
791e291a9f
fix(build): ignore changes on autogenerated files ( #8736 )
2024-02-02 20:55:27 -03:00
Lucas Fernandes Nogueira
a35b416e38
refactor(core): merge scope and commands resolving permission sets ( #8731 )
2024-02-02 09:18:59 -03:00
time-river
6639a579c7
feat(core): add support to setting a webview proxy, closes #4263 ( #8441 )
...
* feat(wry): support proxy in wry runtime
wry has been supported http/socks5 proxy in
[#1006 ](https://github.com/tauri-apps/wry/pull/1006 ), which has been
merged in [commit
3cc4d79](3cc4d79843
).
This patch aims to support its feature.
Signed-off-by: lin fu <river@vvl.me>
* Apply suggestions from code review
* Apply suggestions from code review
* Update core/tauri-runtime-wry/src/lib.rs
* Update core/tauri/src/window/mod.rs
* add macos-proxy flag
* add change file
* delete file
* update change file
* use macos-14 runner to test core
---------
Signed-off-by: lin fu <river@vvl.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-01 08:53:32 -03:00
Amr Bashir
a093682d2d
refactor(core): refactor and fix event system following multiwebview support ( #8621 )
...
* clippy
* refactor(core): refactor and fix event system following multiwebview support
* update documentation
* update js docs
* lint
* clippy
* update multiwindow example [skip ci]
* enhance event tests
* fix example
* Update .changes/tauri-event-after-multiwebview.md
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
* fix tests
* add diagram
* Add `App/AppHandle` even target
* Discard changes to examples/api/src-tauri/tauri-plugin-sample/permissions/schemas/schema.json
* revert accidental changes
* regenerate schemas
* fix doctests
* add helper methods
* update docs
* update api
* update docs [skip ci]
* update docs [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
2024-02-01 08:06:27 -03:00
Naman Garg
d6c7568c27
feat(bundler): Add files
option to the AppImage Configuration. ( #8720 )
...
* Add `files` option to Appimage
* Add .changes file
2024-02-01 02:53:26 +02:00
Amr Bashir
8ce51cec3b
feat: retain cli args when relaunching after update, closes #7402 ( #7718 )
...
* feat: retain cli args when relaunching after update, closes #7402
* 1.61 compatible OsString join
* fix msi impl as well
* fix tests
* Update .changes/tauri-bundler-nsis-args.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
* Update .changes/tauri-updater-retain-args.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
* more typos
* fix update args
* pull args from Env
* check if not empty
* pin memchr
* Update core.rs
* Update core.rs
* move /args
* fix build
* lint
* more lints
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2024-01-31 16:02:48 -03:00
Amr Bashir
9eaeb5a8cd
refactor: refactor parent APIs on WindowBuilder
( #8622 )
...
* refactor: refactor parent APIs on `WindowBuilder`
closes #8587 #1643
* fix build
* clippy
* support parent in JS and config
* change files
* fix build
* clippy
* fix doctests
* fix linux build
* fix doctests
* update docs
* fix api, update example to use JS API
* fix merge
* lint
* fix tests on windows
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-31 13:59:14 -03:00
Amr Bashir
a2fc3a6357
feat(api/window): add visible-on-all-workspaces, closes #8652 ( #8657 )
...
* feat(api/window): add visible-on-all-worksapces, closes #8652
* fix build and generate schema
* Update .changes/api-set-visible-on-all-workspaces.md
* revert permissions
* fix alias
* revert set_icon change
* add missing permission
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-01-31 12:36:39 -03:00
Amr Bashir
58fe2e812a
fix: improvements and ipc fixes for loading window content using custom protocol ( #8670 )
...
* fix: improvements and ipc fixes for loading window content using custom protocol
closes #5478
* Discard changes to tooling/cli/Cargo.lock
* clippy
* fix tests
* typo
* fix webviewurl deserialize
* resolve todo, fixes
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-31 09:38:25 -03:00
Lucas Fernandes Nogueira
9af90ca7f3
feat(ipc): improve error message when plugin command is not allowed ( #8681 )
...
* feat(ipc): improve error message when plugin command is not allowed
* reuse literal_struct macro
2024-01-30 16:54:10 +02:00
Fabian-Lars
38b8e67237
feat: Add support for deep links ( #8680 )
...
* initial windows impl
* macos
* adapt windows impl to config changes for macos
* debian
* add missing x-scheme-handler prefix
* bundle xdg-mime
* typo
* revert messed up fmt
* rm pnpm lock
* rm todo
* Update core/tauri-utils/src/config.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* Update core/tauri-utils/src/config.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* &Option<> -> Option<&>
* DL0 -> R7
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-29 18:59:45 +02:00
Lucas Fernandes Nogueira
57e3d43d96
feat(acl): generate schema for scope ( #8690 )
...
* feat(acl): generate schema for scope
* allow plugin to define its global scope schema
* refactor to use schemas folder instead of individual files
* change signature
* delete .schema.json files
2024-01-29 13:36:31 -03:00
Lucas Fernandes Nogueira
11de49788a
feat(cli): migrate allowlist scope ( #8698 )
...
* feat(cli): migrate allowlist scope
* fix tests
* lint
* fix totokens impl
2024-01-29 12:50:21 -03:00
Lucas Fernandes Nogueira
fd4bf94d4c
refactor(acl): allow extending scope on the capability file ( #8674 )
2024-01-24 23:36:07 -03:00
Amr Bashir
734d78f736
fix: generate $schema field always with forward slash ( #8673 )
2024-01-24 21:57:41 -03:00
Lucas Fernandes Nogueira
30a64a9cda
refactor: global scope error handling, fix usage with multiple plugins ( #8669 )
...
* refactor: global scope error handling, fix usage with multiple plugins
* lint
2024-01-24 20:57:46 -03:00
Lucas Fernandes Nogueira
4ca0932572
chore(plugin): use BTreeMap on plugin permission map ( #8668 )
2024-01-24 20:53:47 -03:00
Lucas Fernandes Nogueira
c77b40324e
refactor(core): add support to multiple webviews on a Tauri window ( #8280 )
...
* feat: update to latest wry
* wry dev branch [skip ci]
* fix linux [skip ci]
* refactor(runtime): split webview and window types
* split dispatch
* implement create_webview
* move webview message
* wip webview mod
* create webview manager, finish webview struct and builder
* fix tests and docs
* rename WindowUrl to WebviewUrl
* update examples
* event refactor
* update JS API
* fix events
* update example
* add WebviewWindow class on JS
* fix macos build
* allow creating window+webview on the same runtime call
* rename tauri://window-created to tauri://webview-created
* Window::add_child
* use inner_size from webview on macOS
* add multiwebview example
* automatically resize webviews on window resize
* fix tests
* set_position, set_size
* position, size getters
* set_focus
* add close fn
* update mock runtime
* lint [skip ci]
* fix inner_size getter [skip ci]
* import hwnd [skip ci]
* update webview bound ratios on set_size/set_position
* add auto_resize option
* fix android
* fix build on windows
* typo
* with_webview isnt desktop only
* add WebviewWindow rust struct (and builder)
* fix build on android
* license header
* fix macos/windows
* fix macos build
* resolve todo
* handle window not found
* hide unstable features
* document unstable feature [skip ci]
* webview plugin permissions
* hide more stuff
* fix doctests
* typos
* add change files
* fix examples
* rename hook
2024-01-24 11:05:18 -03:00
tweidinger
3c2f79f6f3
Tauri ACL/Allowlist v2 Implementation and Plugin System Refactor ( #8428 )
...
* tauri-plugin concept
* wip
* move command module to its own directory
* wip: new command traits and generated code
* wip: whip
* wip: static dispatch
there is a man standing behind me
* wip
* re-add authority
* fix build [skip ci]
* parse plugin permissions
* merge permission files [skip ci]
* parse capabilities [skip ci]
* resolve acl (untested) [skip ci]
* split functionality, add some docs
* remove command2 stuff
* actually check runtime authority
* small fixes [skip ci]
* add function to auto generate basic permission for a command [skip ci]
* retrieve command scope, implement CommandArg [skip ci]
* fix tests [skip ci]
* global scope
* lint
* license headers [skip ci]
* skip canonicalize
* separate scope type in example
* remove inlinedpermission struct [skip ci]
* permission file schema
* capabilities schema
* move items from tauri-plugin to tauri-utils
this allows tauri-plugin to depend on tauri directly again
which will be used by the runtime feature as a superset to
existing plugin traits
* enable schema and glob [skip ci]
* fix glob [skip ci]
* fix capability schema [skip ci]
* enhance schema for permission set possible values [skip ci]
* permission set can reference other sets [skip ci]
* setup tests for resolving ACL
* fixture for permission set [skip ci]
* remote context test and small fix[skip ci]
* ignore empty scope [skip ci]
* code review [skip ci]
* lint [skip ci]
* runtime fixes
* readd schema feature on tauri-config-schema [skip ci]
* remove plugin example from workspace, it breaks workspace features resolution [skip ci]
* scope as array, add test [skip ci]
* accept new shapshot [skip ci]
* core plugin permissions, default is now a set
* license headers
* fix on windows
* update global api
* glob is no longer optional on tauri-utils
* add missing permissions on api example [skip ci]
* remove ipc scope and dangerous remote access config
* lint
* fix asset scope usage
* create out dir [skip ci]
* reuse cargo_pkg_name [skip ci]
* capability window glob pattern [skip ci]
* add platforms for capability [skip ci]
* per platform schema [skip ci]
* lint [skip ci]
* rename allowlist build mod [skip ci]
* check restricted visibility
* simplify capability target [skip ci]
* hide codegen build behind tauri-build::try_run
* optimize build scripts [skip ci]
* fix tests
* tests for RuntimeAuthority::resolve_access
* remote domain glob pattern
* lint
---------
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-22 21:24:15 -03:00
Naman Garg
7aa30dec85
feat: Add Section, Priority and Changelog options ( #8620 )
...
* Init section, priority and changelog
* Add section. priority and changelog support
* fix variable name
* Add .changes file
* Fix Formatting
* Apply suggestions from code review
2024-01-17 04:21:46 +02:00
github-actions[bot]
e0b38d7434
Apply Version Updates From Current Changes ( #8438 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-01-16 18:11:50 -03:00
Palash Bansal
27bad32d4d
feat: Add files field in macos build config, closes #3290 ( #7798 )
...
* Add appContents field in macos tauri config.
* Change MacConfig::appContents to MacConfig::files to make it similar to DebConfig::files.
* Change appContents to files in helloworld/tauri.conf.json
* use common::copy_dir helper
* add change files [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 12:10:50 -03:00
Olivier Lemasle
091100acbb
feat(bundler): Add RPM packaging, closes #4402 ( #5202 )
...
* feat(bundler): Add RPM packaging
* feat(bundler): Update 'rpm' to 0.13.1
* Fix fmt
2023-12-23 18:38:15 +01:00
github-actions[bot]
5966812735
Apply Version Updates From Current Changes (v1) ( #8396 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-20 13:50:17 -03:00
Lucas Nogueira
a9b87c057d
Merge branch '1.x' into dev
2023-12-19 13:52:53 -03:00
Lucas Nogueira
6cd6d3fb32
chore(utils): add change file for #7964
2023-12-19 12:48:05 -03:00