Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/files/lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function getCapabilities() {
'privateLinksDetailsParam' => true,
'bigfilechunking' => true,
'blacklisted_files' => $this->config->getSystemValue('blacklisted_files', ['.htaccess']),
'favorites' => true
],
];
}
Expand Down
1 change: 1 addition & 0 deletions apps/files/tests/CapabilitiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ public function testGetCapabilities() {
$this->assertArrayHasKey('files', $result);
$this->assertArrayHasKey('privateLinksDetailsParam', $result['files']);
$this->assertTrue($result['files']['privateLinksDetailsParam']);
$this->assertTrue($result['files']['favorites']);
}
}
6 changes: 6 additions & 0 deletions changelog/unreleased/37673
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Add capability for the favorite files feature

The server is now exposing a new capability to advertise that the server supports the favorite files feature.

https://github.com/owncloud/core/pull/37673
https://github.com/owncloud/ocis-reva/issues/354