Release files for 2.4.0 (#833)

* Release files for 2.4.0
This commit is contained in:
abraunegg 2020-03-23 09:18:06 +11:00 committed by GitHub
parent 6f85d539da
commit feb3d96a7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 14 deletions

View file

@ -3,6 +3,33 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## 2.4.0 - 2020-03-22
### Fixed
* Fixed how the application handles 429 response codes from OneDrive (critical update)
* Fixed building on Alpine Linux under Docker
* Fixed how the 'username' is determined from the running process for logfile naming
* Fixed file handling when a failed download has occured due to exiting via CTRL-C
* Fixed an unhandled exception when OneDrive throws an error response on initialising
* Fixed the handling of moving files into a skipped .folder when skip_dotfiles = true
* Fixed the regex parsing of response URI to avoid potentially generating a bad request to OneDrive, leading to a 'AADSTS9002313: Invalid request. Request is malformed or invalid.' response.
### Added
* Added a Dockerfile for building on Rasberry Pi / ARM platforms
* Implement Feature: warning on big deletes to safeguard data on OneDrive
* Implement Feature: delete local files after sync
* Implement Feature: perform skip_dir explicit match only
* Implement Feature: provide config file option for specifying the Client Identifier
### Changed
* Updated the 'Client Identifier' to a new Application ID
### Updated
* Updated relevant documentation (README.md, USAGE.md) to add new feature details and clarify existing information
* Update completions to include the --force-http-2 option
* Update to always log when a file is skipped due to the item being invalid
* Update application output when just authorising application to make information clearer
* Update logging output when using sync_list to be clearer as to what is actually being processed and why
## 2.3.13 - 2019-12-31
### Fixed
* Change the sync list override flag to false as default when not using sync_list

20
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for onedrive v2.4.0-dev.
# Generated by GNU Autoconf 2.69 for onedrive v2.4.0.
#
# Report bugs to <https://github.com/abraunegg/onedrive>.
#
@ -579,8 +579,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='onedrive'
PACKAGE_TARNAME='onedrive'
PACKAGE_VERSION='v2.4.0-dev'
PACKAGE_STRING='onedrive v2.4.0-dev'
PACKAGE_VERSION='v2.4.0'
PACKAGE_STRING='onedrive v2.4.0'
PACKAGE_BUGREPORT='https://github.com/abraunegg/onedrive'
PACKAGE_URL=''
@ -1217,7 +1217,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures onedrive v2.4.0-dev to adapt to many kinds of systems.
\`configure' configures onedrive v2.4.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1278,7 +1278,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of onedrive v2.4.0-dev:";;
short | recursive ) echo "Configuration of onedrive v2.4.0:";;
esac
cat <<\_ACEOF
@ -1389,7 +1389,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
onedrive configure v2.4.0-dev
onedrive configure v2.4.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@ -1406,7 +1406,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by onedrive $as_me v2.4.0-dev, which was
It was created by onedrive $as_me v2.4.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@ -2158,7 +2158,7 @@ fi
PACKAGE_DATE="December 2019"
PACKAGE_DATE="March 2020"
@ -3138,7 +3138,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by onedrive $as_me v2.4.0-dev, which was
This file was extended by onedrive $as_me v2.4.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -3191,7 +3191,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
onedrive config.status v2.4.0-dev
onedrive config.status v2.4.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

View file

@ -9,7 +9,7 @@ dnl - commit the changed files (configure.ac, configure)
dnl - tag the release
AC_PREREQ([2.69])
AC_INIT([onedrive],[v2.4.0-dev], [https://github.com/abraunegg/onedrive], [onedrive])
AC_INIT([onedrive],[v2.4.0], [https://github.com/abraunegg/onedrive], [onedrive])
AC_CONFIG_SRCDIR([src/main.d])

View file

@ -3,7 +3,7 @@
## Linux Packages
This project has been packaged for the following Linux distributions:
* Fedora, simply install with `sudo dnf install onedrive`
* Fedora, available via package repositories as [onedrive](https://koji.fedoraproject.org/koji/packageinfo?packageID=26044)
* Arch Linux, available from AUR as [onedrive-abraunegg](https://aur.archlinux.org/packages/onedrive-abraunegg/)
* Debian, available from the package repository as [onedrive](https://packages.debian.org/sid/net/onedrive)
* Slackware, available from the slackbuilds.org repository as [onedrive](https://slackbuilds.org/repository/14.2/network/onedrive/)
@ -14,7 +14,7 @@ This project has been packaged for the following Linux distributions:
Distribution packages may be of an older release when compared to the latest release that is [available](https://github.com/abraunegg/onedrive/releases). If a package is out of date, please contact the package maintainer for resolution.
#### Important information for Ubuntu users:
Whilst there are [onedrive](https://packages.ubuntu.com/search?keywords=onedrive&searchon=names&suite=all&section=all) packages available for Ubuntu, **DO NOT INSTALL 'onedrive' FROM THE AVAILABLE UBUNTU PACKAGES**. The packages are out of date and should never be used. Compile from source for all Ubuntu platforms. If you are passionate about changing this, consider publishing the up-to-date release on a PPA. Instructions [here](https://itsfoss.com/ppa-guide/) (or become the package manager for onedrive!)
Whilst there are [onedrive](https://packages.ubuntu.com/search?keywords=onedrive&searchon=names&suite=all&section=all) packages available for Ubuntu, **DO NOT INSTALL 'onedrive' FROM THE AVAILABLE UBUNTU PACKAGES**. The packages are out of date and should not be used. Compile from source for all Ubuntu platforms. If you are passionate about changing this, consider publishing the up-to-date release on a PPA. Instructions [here](https://itsfoss.com/ppa-guide/) (or become the Ubuntu package manager for onedrive!)
## Build Requirements
* Build environment must have at least 1GB of memory & 1GB swap space

View file

@ -946,7 +946,6 @@ final class OneDriveApi
// 400 - Bad Request
case 400:
// Bad Request .. how should we act?
log.vlog("OneDrive returned a 'HTTP 400 - Bad Request' - gracefully handling error");
// make sure this is thrown so that it is caught
throw new OneDriveException(http.statusLine.code, http.statusLine.reason, response);