Releases: devld/go-drive
Release v0.6.2
fix: WebDAV 500 error
Full Changelog: v0.6.1...v0.6.2
Release v0.6.1
What's Changed
- feat: WebDAV supports send file by redirecting if available
- fix: #35
- fix: temp dir can be outside of data dir
Release v0.6.0
New features
Files searching
Support indexing and searching files. Currently only bleve searcher is available.
Searching can be enabled in the configuration like below.
# Search configuration
search:
enabled: true
# searcher type: currently only bleve is supported
type: bleve
Please note: Searching might consume too much memory.
[OneDrive] support OneDrive for China(世纪互联版)
Release v0.5.3
fix: tasks not started cannot be deleted
Release v0.5.2
fix: Google Drive configuration; login failed retrying
Release v0.5.0
Features
-
Support to access via WebDAV(#15)
It's disabled by default, you can enable it as follows
# WebDAV access configuration web-dav: enabled: true prefix: /dav # allow anonymous access? allow-anonymous: false
Release v0.4.0
Breaking changes
Startup arguments moved to the configuration file
You will need to modify the default configuration file if you start go-drive
with some arguments.
Database schema changed
It will not work properly if you upgrade from previous versions.
You can manually migrate the database to upgrade by the following steps:
You will need the
sqlite3
command-line tool.
-
Stop
go-drive
-
Backup some tables
sqlite3 data.db <<EOF | sed 's/INSERT INTO path_mount/INSERT INTO path_mount(path, name, mount_at)/' > BACKUP.sql
.mode insert path_mount
select path, name, mount_at from path_mount;
EOF
sqlite3 data.db <<EOF | sed 's/INSERT INTO path_permissions/INSERT INTO path_permissions(path, subject, permission, policy)/' >> BACKUP.sql
.mode insert path_permissions
select path, subject, permission, policy from path_permissions;
EOF
- Drop old tables
sqlite3 data.db <<EOF
drop table path_mount;
drop table path_permissions;
EOF
-
Start
go-drive
and then stop it to make it create missing tables -
Recover data
cat BACKUP.sql | sqlite3 data.db
New features
Add support for MySQL
Now you can use MySQL. For details, please see the configuration file.
Use the external tool to generate thumbnails
Now you can configure the generator for thumbnails. For details, please see the configuration file.
Release v0.3.1
chore: add builds for musl
Release v0.3.0
Breaking Changes
- Drive API changed. Add Context on all APIs
New Features
- FTP support
Bug Fixes
- use
manager.Uploader
upload API for S3 - S3 CompletePutObject failed with 'file exists'
- OneDrive GetURL returns unexpected status code 200 instead of 302
Improvements
- more file types supported for thumbnail
Other Changes
- configurable app name
Release v0.2.0
fix issues