item_rm_files()
now uses cloud end point. #315initialize_sciencebase_session()
has less warnings. #319 and #323initialize_sciencebase_session()
works at the terminal now. #317initialize_sciencebase_session()
caching works better. #318Improved handling of cached token.
In this release, sbtools underwent a significant migration from josso
login to keycloak
-based two factor authentication. See #314 for details of the changes.
A vignette showing the old and new login methods is now included see: vignette("sbtools")
In addition to login modifications, a pkgdown site was created, and the package code was reorganized significantly.
initialize_sciencebase_session()
to support tokenized login.session
object no longer returned by authenticate_sb()
current_session()
now returns the active login token.session_logout()
and session_age_reset()
there is now an internal function sbtools:::clean_session()
to accomplish the same goal.sbtools_DELETE()
as the method is no longer the accepted way to delete sciencebase items.item_publish_cloud()
to push files to S3 public cloud storage. #302httr::RETRY()
to be a bit more robust. #213keyring
Added checksum validation to both regular and cloud uploads.
CRAN checks on failing donttest examples.
item_upload_cloud()
and item_list_files()
and item_file_download()
.session_details()
, This is useful for pulling files directly from sciencebase via R functions that do not use the sbtools session for authentication. See session_details()
description for more.item_get_wfs()
function.master
branch to main
.facets
to locations that sciencebase files can be found. See item_list_files()
description for more info. Note that the response from
item_list_files()
has changed. A "facet" attribute which lists the name
of the facet the file came from is included.Versions 1.1.16 and 1.1.17 were minor changes for CRAN.
scrape_files
parameter to item_upload_files()
and item_append_files()
Version 1.1.10 to 1.1.14 are all minor changes for CRAN.
Fix items_create to properly handle cases creating one item
Add sbtools to user agent string
Alter item_list_children
to use query_sb
so item return limit can be > 1000.
raw
option removed to support this functionality.
Bunch of changes from reviews
item_get_parent
now returns sbitem
, not just ID
fixed probablem with query_sb_doi
query_sb_spatial
no longer has awkard bounding box specification,
just uses lat/long arrays and determines box from those
sb_ping
returns boolean TRUE/FALSE for success/fail
set_endpoint
no longer includes verbose message and properly uses match.arg
item_list_children
now returns list of sbitem
to be uniform with rest of sbtools
Lots of documentation updates and new demos
Fixed issue with query_sb_datatype
New and improved item_get_wfs
. Better performance and
no longer requires hard-to-install external dependencies.
Improved version of query_sb()
now requests useful metadata so
sbitem
list has key metadata
query_item_identifier()
now returns an sbitem
list instead of a
data.frame. Also, *_item_identifier()
funcitons now have unified
parameter order
On item_replace_files()
changed default on all
flag to FALSE
so it doesn't delete files by default.
Added item_rename_files()
to enable user to easily
rename files attached to items directly.