Skip to content

Releases: labbots/google-drive-upload

Improvements to cleanup and auto update

03 Nov 12:01
Compare
Choose a tag to compare
gupload: Add _cleanup_config function

this function removes any expired tokens on the basis of expiry

will be useful once service accounts or multi account config implemented


gupload: Improve _cleanup and _auto_update function

check tmp access token file before comparing access token

fix access token in config file if was update when script was running

don't create a extra subshell for auto update


Move upload functions to new file [ upload-utils ] | Misc

* Arrange functions alphabatically

*  Move _extract_id from common to drive utils

* _collect_file_info: directly create info var

drive-utils: Functions related to google drive only

upload-utils: All Functions related to uploading a file ( excluding drive api functions ), pre and post upload functions

common-utils: Functions which cannot be added either in drive or upload utils


common-utils.bash: Don't log _url_decode trace when -D flag is used

for no reason, it just fills up the logs


README: Update credentials generation info

Rewrite logic for access token usage | More robust credentials checking | Misc

29 Oct 14:26
Compare
Choose a tag to compare

All changes

More robust credentials checking
 
Use exponential backoff method when -R flag is used

gupload: Handle more possible api errors when uploading

gupload: Rewrite logic for access token usage | Fix #113

Fix #115 | Fix pretty logging in tmux/screen | Misc

27 Oct 17:03
Compare
Choose a tag to compare

Hide cursor if ansi escapes are supported

gupload: Create hidden temp file in case mktemp is not available and make it more random

gupload: Manually kill all children pids

gupload: Rewrite logic for sub folder uploads | Fix #115

utils|gupload: Move access_token function to drive utils

Fix detection of ansi escapes support in screen or tmux

README: Fix codacy warnings

gupload: Create config file if it doesn't exist

gupload: Manually create info path folder

install.sh: Handle some edgecases for custom cmd name, path and value

CI: Always run format and merge test

Some fixes for posix install | Fix sharing for shared drives

16 Oct 10:01
Compare
Choose a tag to compare
v3.4.1

gupload: Fix sharing for shared drives

Global installation support | Standalone installation | Misc

08 Oct 00:42
Compare
Choose a tag to compare
  • Add more info in readme on how to use config files for automation

  • Fix edgecases where installation can fail, like root cases, not enough permissions.

  • Fine tune the permission handling

Tiny fix for auth setup

14 Sep 13:41
Compare
Choose a tag to compare
v3.3.2

bash/common-utils.bash: fix a typo

Resolve #95 | Some fixes for non-tty | Handle more edgecases in install script

12 Aug 09:28
Compare
Choose a tag to compare
v3.3.1

Resolve #101 | Fix -d flag for team drives

Allow globs as input | Improvements to install script | Code cleanup

09 Aug 09:54
Compare
Choose a tag to compare
Some misc improvements

* Remove more redundant code

* Check for any conflict before installation

* Add a check if terminal supportd ansi escapes

* Improve COLUMN detection in posix scripts

* Add a pure posix version of _bytes_to_human

* Fix an edge case in _json_value function

Fix interrupted uploads | Add --hide flag

26 Jul 13:07
Compare
Choose a tag to compare
upload: Fix interrupted upload

Adjust some logging

Fix a critical bug in posix scripts | Add new flags | Major improvements to non-interactive logging.

26 Jul 08:48
Compare
Choose a tag to compare

Almost all edgecases/mistakes have been handled, both in sync and upload scripts.

Handle all cases for reading input when not in terminal.

remove some unnecessary code execution