Releases: dabbu-knowledge-platform/cli
Releases · dabbu-knowledge-platform/cli
Dabbu CLI v3.3.0
Features added
- Add default values feature [dcc7e10]
- when creating a new drive, the values entered the first time are preserved
- when you create a new drive with the same provider, the default values are used to fill in the fields (such as base path, client ID, client secret, etc)
- Add the help command [ef9aad2]
- Add a config command [4e2baff, c66d753]
- alias: config, conf or cfg
- usage: config <get | set | del> [value to set]
- you can get any field, nested fields accessed using dots
- you can set only current drive, server URL and default values for drive creation (see #65)
- you can delete only history, a default value or a specific drive
- added a del() method to utils/config.util.ts
Bug fixes
- Close oauth callback server once response is received [c7c2f71]
Documentation
- Change logo (final one!) [6008d33]
- Make readme concise, update links [c488d3b, 3bf308c, d702775, 3fc6c42]
Builds/CI
- Add colours and .sh extensions to scripts [37b28fd]
Dabbu CLI v3.2.0
Features added
- Add the PRINT_ERRORS environment variable for printing errors to console [dc2b6b3]
Bug Fixes
- Use the name returned by server for downloaded file [3b12a8d]
- this is because some providers (like google drive/gmail) add an extension to the file name (e.g. docx or zip) so it can be opened on the user's computer through the file manager (most file managers associate apps with file extensions)
- Fix crash on startup when checking creds and server url is null [efcd2bf]
Changes
- Change logo (again! it will probably go through a few more iterations until we are happy with it, PRs welcome!) [f799b61]
- Add instructions for creating oauth client for google drive, gmail and one drive to a single detailed gist and direct users to that [3e7dc67]
Builds/CI
- Don't add version to artifact name [7de6fe8]
- it confuses some linux distros while parsing the package name
Dabbu CLI v3.1.0
Features added
- Add
pwd
command [3610074]- shows current drive name, provider and path
- also displays list of drives
Fixes/changes
Dabbu CLI v3.0.1
Fixes
- Fixed issue with copy command - wrong file name displayed in loading indicator [5ad094b]
- Fixed issue with copy command - when copying files on hard drive from disk to disk [918c853]
- fixes itself when trying the same operation again once or twice
- Fixed issue with copy command - encountered 404 when copying a file from the root of a drive [c6920ef]
- Automatically register a new client if server does not recognise creds [0aeb411]
Builds/CI
- Add fail fast flag to all bash scripts except the package script [b3c2557, 9a0a2f2]
- Fix incorrect path to compiled js files [e598e43]
- Fix copy-paste error in comments of package script [9696392]
- Remove package-lock.json from git add command in bump-version script [3149ecb]
Docs
- Add new logo [2ee8cf2]
Dabbu CLI v3.0.0
Changes
- Typescript rewrite
- Knowledge drive removed temporarily, it is being rewritten in Typescript
- Use Files API Server v3 APIs
- add support for client ID - API key authentication required by v3 server
- Add logging
- Logs are stored locally ONLY, in the config directory
- Windows:
%APPDATA%\Dabbu CLI\logs\dabbu-cli.log
- MacOS:
/Users/<username>/Library/Dabbu CLI/logs/dabbu-cli.log
- Linux:
($HOME OR $XDG_CONFIG_HOME)/.config/Dabbu CLI/logs/dabbu-cli.log
- Windows:
- These logs contain sensitive information, please be careful to remove sensitive information while posting them publicly. Work is underway to mask this sensitive information.
- Logs are stored locally ONLY, in the config directory
Fixes
- Fix error 400 while attempting to create new drive
Documentation
- Add logo, demo image to README.
- Add install instructions for each OS to README.
Builds/CI
- Build packages for different operating systems for direct download
- Windows: Generic
ZIP
- The generic zip (for win, macos, linux) contains:
- Manual page (or manpage)
- Logo
- Desktop entry (
.desktop
file) - License file
- Readme file
- Version file
- Binary file (named
dabbu-cli
ordabbu-cli.exe
)
- The
.exe
needs to be run every time you want to start the CLI in Windows
- The generic zip (for win, macos, linux) contains:
- MacOS:
PKG
file, GenericZIP
- The MacOS package contains the man page, but no desktop entry (need to start it from terminal by typing
dabbu-cli
) - TODO: Find out how to create a desktop entry
- The MacOS package contains the man page, but no desktop entry (need to start it from terminal by typing
- Linux:
DEB
file,RPM
file,PACMAN
package,APK
file, GenericZIP
- The Linux packages contain man pages and desktop entries for the CLI
- Windows: Generic
- Automatic releases only from the develop branch
- Add bash scripts for all jobs
Tests
- Use Jest to test
- Added dummy test
- TODO: Add actual unit tests
Style/Format
- Add
ts
files to.editorconfig
- Use ESLint to lint typescript files
Dabbu CLI v2.7.2-alpha.1
Dabbu CLI v2.7.2-alpha.0
Dabbu CLI v2.7.1
Bug fixes
-
fix(read): folder path is always null [fbbd944]
- typo in code, did not specify .length in slice() function call
-
fix(utils): remove unnecessary \n while printing token expiry [99ec1bf]
-
fix(list): don't print no of files/folders in dir twice [9997c23]
-
fix(list): show number of files listed at the end if no of files > 50 [6eb8290]
- also show headers when listing files, they were not shown since last release due to a bug
-
fix(spinner): hide spinner while printing access token expiry time [973cd34]
-
fix(prompt): show / in prompt if in root dir [59edb12]
Documentation
- docs: add code of conduct [9bf14ba]
- fix(contributing): update instructions regarding linter [035d18e]
- docs(readme): copy website intro, install and getting started parts to readme [8fc2929]
Legal stuff
- docs: change copyright headers to Dabbu Knowledge Platform [6467227]
Build/CI
- fix(version script): fetch tags before generating release notes [87ab616]
Dabbu CLI v2.7.0
Features added
- feat(logging): log errors only if env var PRINT_ERRORS is set [544f51a]
- run
PRINT_ERRORS=true dabbu-cli
to enable verbose error logging
- run
- feat(list method/
ls
): folders are returned first (though this might not be seen when the result is more than 50 items long) - feat(list api): implement pagination [d641cfc]
- results are requested in batches of 50
- as the results come in, they are printed
- only exception is the hard drive provider, as it does not support pagination
Bug fixes
- fix(spinner): use only one spinner throughout the CLI [4615dcc, 59daa55]
- fix(oauth): 400 error while refreshing access token [cca941e]
- send auth metadata in query param or request body based on send-auth-metadata-in variable in provider-fields.json
- fix(setup): init method had names with _ [9e90719]
- changed them to -
Changes to install script
- feat(install scipt): add comments, rename -f to -d (for dry run) and remove -o in install script [3054fed]
- fix(bump version script): don't push tags, else ci doesn't release assets [15257a9]