Lucas Fernandes Nogueira
758d28c8a2
refactor: core plugin permissions are now prefixed core:, closes #10359 ( #10390 )
...
* refactor: core plugin permissions are now prefixed core:, closes #10359
* code review
* expand reserved plugin names
* fix
* add core:default permission set
* fix permission usage
---------
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
2024-07-30 07:52:43 -03:00
Amr Bashir
c01e87ad46
refactor(cli/migrate): use oxc
kit to parse and migrate js/ts files ( #10198 )
...
* refactor(cli/migrate): use `oxc` kit to parse and migrate js/ts files
closes #10192
* fix tests
* use majic-string to perserve formatting
* more comments
* Discard changes to package.json
* Update cli-migrate-enhancemnets.md
* Update cli-migrate-enhancemnets.md
* more context
* add missing quotes, rename getcurrent
* fix change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-12 09:03:30 -03:00
Amr Bashir
f44a2ec47c
feat(cli): include default.toml and capabilities in plugin template ( #10030 )
...
* feat(cli): include default.toml and capabilities in plugin template
* replace execute usage with ping
* add to capabilities
* use default permission set
2024-06-11 13:06:46 +09:00
Dimitris Apostolou
26f0f71a40
chore: fix various typos ( #9131 )
2024-03-11 16:25:20 +02:00
Amr Bashir
b9e6a01879
refactor(cli): use tauri/custom-protocol
instead of relying on user having custom-protocol
in their cargo features ( #8937 )
...
* refactor(cli): use `tauri/custom-protocol` instead of relying on user having `custom-protocol` in their cargo features
* tauri-build dev cfg
* pass build-feature when building apk
* run beforeBuildCommand before first build for plugins
* clippy
* fix
* mut
* enhance dev/prod checks
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-26 15:17:45 -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
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives
mod to core
( #8273 )
2023-11-20 17:53:13 -03:00
Lucas Fernandes Nogueira
bfbbefdb9e
fix(cli): invalid plugin template ( #8161 )
2023-11-07 22:56:21 -03:00
Lucas Fernandes Nogueira
ebcc21e4b9
refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 ( #8057 )
2023-10-19 10:46:04 -03:00
Lucas Fernandes Nogueira
880266a7f6
chore: bump MSRV to 1.70 ( #8031 )
2023-10-17 11:08:15 -03:00
Amr Bashir
a63e71f979
refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri
module to primitives
( #7942 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers ( #6925 )
...
* chore: fix ci and cleanup leftovers
1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api
* remove leftover updater structs
* move updater under bundle and remove uneeded options
* fix cli on linux
* remove create_proxy
* clippy
* more clippy
* clippppy
* readd path api
* fix api example
* remove window allowlist
* remove window from allowlist config
* remove `all` allowlist option
* remove file_move
* lint
* fix windows build
* remvoe unused deps
* remvoe allowlist config option, move protocol to `security > asset_protocol`
* fix diffing features
* fmt and test
* fix scope alias
* change files
* android lint
* simplify allow_file impl
* Revert "simplify allow_file impl"
This reverts commit b8882f2fd0
.
* expose scopes
* remove unused error variants
* protocol-asset on docs.rs
* ignore reqwest on udeps
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Lucas Fernandes Nogueira
d48aaa150a
fix(cli): readd plugin example template Cargo.toml files ( #6894 )
2023-05-07 17:19:51 -07:00
Lucas Nogueira
55900a2968
Merge branch 'dev' into next
2023-04-03 09:58:27 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
14d03d426e
refactor(cli): enhance plugin commands for mobile ( #6289 )
2023-02-16 12:24:49 -03:00