ayang
fef76bd504
feat(fs): add the size method to get the size of a file or directory ( #2095 )
2024-11-26 14:09:42 +02:00
Fabian-Lars
fecfd5533a
fix(fs)!: use tauri::scope::fs::Scope ( #2070 )
2024-11-21 16:57:25 +02:00
Fabian-Lars
51856e9e0a
docs: Remove header image from inline docs ( #2045 )
2024-11-13 16:07:29 +01:00
Fabian-Lars
fc9b189e83
fix(fs): ignore OS specific paths in scope deserialization ( #1837 )
2024-09-26 02:43:33 +03:00
Amr Bashir
a2fe55512f
refactor: add methods and implement traits for FilePath and SafeFilePath ( #1727 )
...
* refactor: add methods and implement traits for `FilePath` and `SafeFilePath`
closes #1726
* clippy
* path -> as_path
* fix prettierignore
* Discard changes to Cargo.lock
* Discard changes to Cargo.toml
* update tauri deps
2024-09-05 14:12:40 +03:00
Tony
f7280c8830
fix(fs): can't use Windows path ( #1710 )
...
* Fix fs can't use Windows path
* Add change file
* Implement `Deserialize` instead
* Rename FilePath's visitor to FilePathVisitor
* Add todo and test
* Clippy
* Unused variable
2024-09-02 18:24:37 +03:00
mikoto2000
448846b834
feat(fs): resolve content URIs on Android ( #1658 )
...
* Implemented writeTextFile on Android.
* Added license headers.
* fix fmt checks.
* implement more file APIs
* change file
* cleanup
* refactor dialog plugin to leverage new FS APIs
* implement metadata functions
* fix build
* expose FS rust API
* resolve resources on android
* update pnpm
* update docs
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-23 13:35:53 -03:00
Lucas Fernandes Nogueira
22a17980ff
feat: update to tauri beta.24 ( #1537 )
...
* feat: update to tauri beta.24
* remove .tauri
* pnpm build
2024-07-12 17:59:17 -03:00
Lucas Fernandes Nogueira
772f2bc349
chore: bump tauri to 2.0.0-beta.14 ( #1136 )
...
* chore: bump tauri
* pin tauri, change file
2024-04-02 18:31:15 -03:00
Amr Bashir
f39d362add
feat(fs): enhance scope config to accept string as well ( #1053 )
...
* feat(fs): enhance scope config to accept string as well
* clippy
* Update protocol.rs
* regression resolving path variables
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-03-26 11:37:03 -03:00
Lucas Fernandes Nogueira
a04ea2f382
refactor: only inject API IIFE script when withGlobalTauri is true ( #1071 )
...
* refactor: only inject API IIFE script when withGlobalTauri is true
* fmt
* update tauri
2024-03-19 15:03:20 -03:00
i-c-b
2f0e30852a
feat(core): recursive fs scope on directory file-drop event ( #954 )
...
* allow recursive fs scope on directory file-drop events
* Create allow-recursive-fs-scope-on-file-drop-directory.md
* Update .changes/allow-recursive-fs-scope-on-file-drop-directory.md
2024-02-15 16:55:51 +02:00
Tillmann
d198c01486
feat: update to tauri beta, add permissions ( #862 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-02-03 15:14:41 -03:00
Lucas Fernandes Nogueira
10b80391fc
refactor(fs): use scope from tauri core ( #825 )
...
* fix(fs): scope checks on Android
On Android, when we call canonicalize() on "/data/user/0/appid" (which is the data dir), the result is a "/data/data/appid" path, so we need to adjust our scope for that.
* use scope from core
* update persisted-scope
* fix build
* dev branch
2023-12-19 23:19:01 -03:00
Amr Bashir
69a1fa099c
feat(fs): improved API ( #751 )
...
* feat(fs): improved API
* fmt
* fix unix builds
* again
* clippy
* clippy
* fix import in docs examples
* fmt, clippy
* Update linux.rs
* add API for watch
* fix with `watcher` feature flag
* use baseDir for all commands
* do not export close function
* fix build
* organize and address review comments
* fmt
* generated files
* rename FsFile to FileHandle, move APIs and docs
* extend example
* extend `Resource`
* actually extend it
---------
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-12-19 22:08:34 -03:00
Lucas Fernandes Nogueira
4e2cef9b70
chore(deps): update to tauri alpha.12 ( #593 )
2023-09-07 00:11:07 -03:00
Simon Hyll
5fd597ddaf
docs: added banners and icons ( #443 )
...
* added banners and icons
* fix: formatting
2023-06-20 14:55:14 +03:00
Lucas Fernandes Nogueira
b131bc8f7c
feat(plugins): inject API on window.__TAURI__ ( #383 )
2023-05-23 14:20:14 -03:00
Lucas Fernandes Nogueira
ac76abcebd
refactor: move fs-watch to fs ( #369 )
2023-05-17 22:50:45 -03:00
Lucas Fernandes Nogueira
702b7b36bd
refactor: move deleted tauri APIs, prepare for next release ( #355 )
2023-05-13 12:32:30 -03:00
Lucas Fernandes Nogueira
4b66ba03a5
feat(global-shortcut): add plugin ( #324 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-04-18 22:18:14 -03:00
Lucas Fernandes Nogueira
4539c03f95
feat(fs): add plugin ( #308 )
2023-04-16 08:53:19 -03:00