Skip to content

Commit

Permalink
v1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
klpprd committed Jul 15, 2020
1 parent c759c42 commit a26db7d
Show file tree
Hide file tree
Showing 207 changed files with 6,910 additions and 7,252 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## 1.8.0 - 2020-07-15
### Changed
- Nextcloud url does not need to be the WebDAV Url - server url and WebDAV url are supported

## 1.7.0 - 2020-07-15
### Added
- new command to download a folder
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ npm install nextcloud-node-client
``

## Security and access management
The client requires the WebDAV url of the nextcloud server and the credentials.
The client requires the url of the nextcloud server and the credentials.

Use an app specific password generated in the security - devices & sessions section of the nextcloud settings.

Expand All @@ -80,7 +80,7 @@ Credentials can be specified in the environment:
```
NEXTCLOUD_USERNAME= "<your user name>"
NEXTCLOUD_PASSWORD = "<your password>"
NEXTCLOUD_URL= "https://<your nextcloud host>/remote.php/webdav"
NEXTCLOUD_URL= "https://<your nextcloud host>"
```

The cloud service configuration `VCAP_SERVICES` can be used alternativley (refer to the Cloud Foundry documentation for details).
Expand All @@ -93,7 +93,7 @@ The client is able to access the service credentials by providing the instance n
{
"credentials": {
"password": "<your password>",
"url": "https://<your nextcloud host>/remote.php/webdav",
"url": "https://<your nextcloud host>",
"username": "<your user name>"
},
"name": "<your service instance name>"
Expand All @@ -119,7 +119,7 @@ Creating a nextcloud client
{ password: "<your password>",
username: "<your user name>",
},
url: "https://<your nextcloud host>/remote.php/webdav",
url: "https://<your nextcloud host>",
});

const client = new Client(server);
Expand Down Expand Up @@ -426,17 +426,23 @@ A code coverage of 100% is aspired

## Todo list

### Sharing
Share with
* user
* usergroup
* email-address

### Search
* Search for files api
* client in github actions - upload files

### Server API
* support also the nextcloud server url instead of the WebDAV url only
* <strike>support also the nextcloud server url instead of the WebDAV url only</strike>

### Download
* <strike>download folder contents example</strike>
* <strike>download folder contents to disk recursively</strike>

### Search
* Search for files api
* client in github actions - upload files

### Upload
* <strike>upload local file on disk to nextcloud</strike>
* <strike>upload local folder on disk to nextcloud recursively</strike>
Expand Down Expand Up @@ -476,12 +482,6 @@ Create file and get file using streams
* subscribe to events and register handler functions
* telegram support

### Sharing
Share with
* user
* usergroup
* email-address

### notifications
basic methods are available since 1.2.0 without strong typing
* notification object
Expand All @@ -490,7 +490,7 @@ basic methods are available since 1.2.0 without strong typing
* Introduction of exception classes instead of error codes (breaking change)
* <strike>Move from codecov to coveralls</strike>
* move to eslint instead of using tslint
* remove I from all interfaces - (breaking change)
* remove "I" from all interfaces - (breaking change)

### Search
* Search for files api
Expand Down
Loading

0 comments on commit a26db7d

Please sign in to comment.