8000 Tags · google/modernstorage · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Tags: google/modernstorage

Tags

1.0.0-alpha06

Toggle 1.0.0-alpha06's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add support for file paths (#87)

* Deprecate SharedFileSystem in favor of AndroidFileSystem

Add support for Photo Picker metadata fetching

* Add appendingSink implementation

* Add support for file paths (makes interactions with Internal Storage possible)

* Implement delete for physical files

Add more internal storage tests

* Enable (temporarily) tests on GitHub Actions

* Apply spotless

* Update sample to use AndroidFileSystem

Disable tests (they're getting cancelled on GitHub Actions for no reason...)

* Improve greatly platform testing coverage

Deprecate Uri.toPath in favor of Uri.toOkioPath
Add scanFile method

* Upgrade version number

Update storage guide

* Fix type selection in photo picker

* Fix metadata fetchinf for photo picker URIs

* Updating storage guide

* Fix deprecation issue for the old createMediaStoreUri method

Update sample to use new createMediaStoreUri method

* Upgrade AGP to 7.1.1

1.0.0-alpha05

Toggle 1.0.0-alpha05's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add RequestAccess ActivityResultContract to request the right storage…

… permissions based (#84)

Update sample to use RequestAccess
Update permissions guide to include RequestAccess
Add navigation link to changelogs generated by GitHub

1.0.0-alpha04

Toggle 1.0.0-alpha04's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Get storage permissions & remove old packages (#77)

* Remove filesystem & mediastore modules (already deprecated)

* Add getReadFilesPermissions & getReadAndWriteFilesPermissions methods

Refactor storage permission checking logic to be more flexible for future usages

* Remove filesystem & mediastore modules (already deprecated)

* Add getReadFilesPermissions & getReadAndWriteFilesPermissions methods

Ref
8140
actor storage permission checking logic to be more flexible for future usages

* Change permissions check to bitwise operations

* Deprecate canReadFiles & canReadAndWriteFiles in favor of hasAccess

Deprecate getReadFilesPermissions & getReadAndWriteFilesPermissions in favor of getPermissions
Simplify StoragePermissions.getPermissions unit tests

* Add better support for Java usage

* Add Bill of Material (#78)

* Fix module versioning in documentation (#76)

* Add Bill of Material

* Fix build

Exclude BOM from adding metalava as it doesn't have api/current.api

Co-authored-by: Yacine Rezgui <rezgui.y@gmail.com>

* Update API metadata

* Fix documentation code tab snippets

* Avoid wasting useless workflow runs

* Use new StoragePermissions.hasAccess method

* Update guide with new StoragePermissions.hasAccess method

* Upgrade version number

Co-authored-by: Andreas <andreas.everos@gmail.com>

1.0.0-alpha03

Toggle 1.0.0-alpha03's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
New architecture based on Okio and separated utility libraries (#59)

* Rename sample folder

* Update Kotlin plugin & AGP

* Add storage artefact

* Remove views sample

* Add Compose sample generated files

* Add asset files for storage tests

* Upgrade to Okio 3.0.0-alpha11

Rename AndroidFileSystem to SharedFileSystem

* Create MediaStoreUtils for storage tests

* Add instrument test boilerplate

* Upgrade dependencies

* Implement source method in SharedFileSystem

Add extensions functions around Path and Uri conversions
Instrument tests are still in progress

* Update to Okio 3.0.0 stable

Implement sink method
Throw UnsupportedOperationException on unsupported methods

* Apply spotless

* Rename sample folder

* Remove IDE config files

* Implement metadataOrNull method in SharedFileSystem

Update spotlessApply run configuration

* Add manifest for tests

* Apply spotless

* Implement list method in SharedFileSystem

* Add first Storage Access Framework test

* Ignore Android Studio IDE files (not needed anymore)

* Add draft of permissions library

* Add initial experiments of photo picker API

* Add Photo Picker to SAF

* Add PhotoPicker ActivityResultContract

Apply spotless

* Merge permissions library

* Remove unused tests

* Add draft of a more generic method to check permissions

* Fix permissions check logic

* Add POM artifact metadata for new modules

* Rename Ownership parameter in StoragePermissions to CreatedBy

* Upgrading to AGP 7.0.4

Set test dependency precise version

* Remove TODO (type parameter is required for multiple mime types)

* Check storage permissions until Android 12 (S)

Update comments

* Add Permissions guide

* Add storage guide

Update storage metadata related classes
Update permissions guide
Change PhotoPicker type constants to Kotlin enum

* Generate API metadata for new libraries

Add metalava run configurations
Update dependencies

* Update API metadata to reflect @JvmInline annotations

Upgrade metalava Gradle plugin

* Add run sample configuration

* Add photo picker demo

Fix file metadata fetching for photo picker entries
Add MediaPreviewCard composable
Update storage guide

* Update Select Document File demo

* Simplify demo names

* Add scanUri and createMediaStoreUri methods in SharedFileSystem

Add AddMedia demo
Update API metadata

* Move demo logic to view model

Add placeholder for permissions demo

* Refactor demos

Remove unused code & string resources

* Simplify storage permissions parameters

Finish permissions demo
Simplify layout structure in SelectDocumentFileScreen
Update API metadata

* Simplify demo layouts structure

* Simplify demo layouts structure

Add sample text file

* Add AddFileToDownloads demo

Add audio in the list of options in AddMedia demo

* Add MediaStore tests

Update SAF tests

* Update createMediaStoreUri method

Fix compatibility issue on devices < API 29

* Apply Spotless

* Add tests in Github Actions

* Fix sample by updating SharedFilesystem API usage

* Implement delete method in SharedFileSystem

Enable legacyExternalStorage flag in test app

* Disable running instrumented tests on GitHub Actions

I need further tuning to get the right infrastructure and that will delay this release (which is already late)

* Update README.md

* Simplify root README.md file

* Bring back mediastore and filesystem packages to deprecate them

* Deprecate filesystem & storage modules

* Add deprecation notice in the fileystem & mediastore guides

* Add deprecation notice in the API metadata

* Upgrade modules version

Apply Dokka & Maven Publish plugins to the new modules
Upgrade dependencies

* Update API metadata
0