Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use path and name from shares jail if it is configured #183

Closed
wants to merge 70 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
03901f3
[tests-only] bump core commit id 2021/04/06 (#1614)
kiranparajuli589 Apr 6, 2021
42d43c9
[Build-deps]: Bump github.com/go-ldap/ldap/v3 from 3.2.4 to 3.3.0 (#1…
dependabot[bot] Apr 6, 2021
695231f
[Build-deps]: Bump github.com/aws/aws-sdk-go from 1.37.30 to 1.38.13 …
dependabot[bot] Apr 6, 2021
3a66114
[Build-deps]: Bump github.com/onsi/ginkgo from 1.15.2 to 1.16.0 (#1611)
dependabot[bot] Apr 6, 2021
d691efc
[Build-deps]: Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0…
dependabot[bot] Apr 6, 2021
a8c6140
docs: update "getting-started" and "concepts" (#1609)
sudo-sturbia Apr 7, 2021
3d7c824
Add wrappers for EOS and EOS Home storage drivers (#1624)
ishank011 Apr 9, 2021
46e3efb
eos: fixes for enabling file sharing (#1619)
ishank011 Apr 9, 2021
1765ae8
Make local file connector more error tolerant (#1625)
Daniel-WWU-IT Apr 9, 2021
7e733a5
[Build-deps]: Bump github.com/ReneKroon/ttlcache/v2 from 2.3.0 to 2.4…
dependabot[bot] Apr 13, 2021
42ab66a
[Build-deps]: Bump github.com/onsi/ginkgo from 1.16.0 to 1.16.1 (#1623)
dependabot[bot] Apr 13, 2021
5657cab
[Build-deps]: Bump google.golang.org/grpc from 1.36.1 to 1.37.0 (#1621)
dependabot[bot] Apr 13, 2021
a7acbd3
Skip file check for OCM data transfers (#1636)
ishank011 Apr 13, 2021
a4b5148
implement checksums in the owncloud storage driver (#1629)
C0rby Apr 14, 2021
10ef400
Mentix site authorization status fix (#1634)
Daniel-WWU-IT Apr 14, 2021
7c0af17
Skip x386 arch for darwin
ishank011 Apr 19, 2021
f08ed45
v1.7.0
ishank011 Apr 19, 2021
65208c2
Fix recycle to different location (#1541)
aduffeck Apr 19, 2021
d1042c3
Added partner (#1646)
marpapdtu Apr 19, 2021
3de7ce4
[tests-only] Bump core commit id (#1639)
phil-davis Apr 20, 2021
0cb297c
Make storage-registry rules in toml more readable (#1648)
ishank011 Apr 20, 2021
d2ee39b
updated core commit to the latest upto 2021/04/15 (#1642)
kiranparajuli589 Apr 21, 2021
9f6ab8e
Fix get user share as grantee in json backend (#1650)
butonic Apr 21, 2021
8171b41
Introduce Named Services (#1509)
refs Apr 21, 2021
aabac66
the facto -> a de facto (#1653)
michielbdejong Apr 21, 2021
f8230df
Update link to OCM (#1651)
michielbdejong Apr 21, 2021
6fc0227
[docs-only] Add atomicity docs for decomposedfs operations (#1645)
aduffeck Apr 21, 2021
105e51d
Improve json marshalling of share protobuf messages (#1655)
ishank011 Apr 22, 2021
a2cfffc
updated core commit to the latest upto 2021/04/22 (#1660)
Talank Apr 23, 2021
98b5863
[Build-deps]: Bump github.com/grpc-ecosystem/go-grpc-middleware (#1661)
dependabot[bot] Apr 23, 2021
d1d113e
Cache resources from share getter methods in OCS (#1643)
ishank011 Apr 26, 2021
4760859
[docs-only] Run `make build` instead of `make` (#1658)
michielbdejong Apr 26, 2021
561dc73
update core commit id to the latest upto 2021-04-28 (#1667)
SwikritiT Apr 28, 2021
f152923
Bump core commit id (#1670)
phil-davis Apr 30, 2021
eb2d638
[tests-only] Bump core commit id (#1675)
phil-davis Apr 30, 2021
69bd21f
Fix public file shares (#1666)
C0rby Apr 30, 2021
c539cca
[Build-deps]: Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2 (#1681)
dependabot[bot] May 5, 2021
174e4de
[Build-deps]: Bump github.com/onsi/gomega from 1.11.0 to 1.12.0 (#1687)
dependabot[bot] May 6, 2021
f7364ec
[Build-deps]: Bump github.com/aws/aws-sdk-go from 1.38.13 to 1.38.34 …
dependabot[bot] May 6, 2021
204c41b
Filter shares based on type in OCS (#1683)
ishank011 May 7, 2021
a34018a
Deprecate using errors.New and fmt.Errorf (#1673) (#1680)
gmgigi96 May 7, 2021
dfd523d
Bump commit IDs 2021-05-06 (#1686)
Talank May 7, 2021
71ce0a9
Add cache warmup strategy for OCS resource infos (#1664)
ishank011 May 7, 2021
28500a8
Mint scope-based access tokens for RBAC (#1669)
ishank011 May 7, 2021
d0cb49f
Bump core commit id for tests (#1692)
phil-davis May 7, 2021
e2c3841
Add user profile picture to capabilities (#1694)
pascalwengerter May 7, 2021
b2ac93b
Bump lodash from 4.17.20 to 4.17.21 in /docs (#1697)
dependabot[bot] May 10, 2021
0fc001d
fix move in the owncloud storage driver (#1696)
C0rby May 10, 2021
4e6adea
[Build-deps]: Bump github.com/rs/zerolog from 1.21.0 to 1.22.0 (#1708)
dependabot[bot] May 17, 2021
531057e
[Build-deps]: Bump google.golang.org/grpc from 1.37.0 to 1.37.1 (#1704)
dependabot[bot] May 17, 2021
56c89e0
[Build-deps]: Bump github.com/aws/aws-sdk-go from 1.38.34 to 1.38.40 …
dependabot[bot] May 17, 2021
a28db08
docker-build: reduce all the reva* image sizes (#1705)
SamuAlfageme May 17, 2021
039f3f4
add checksum headers to the tus preflight response (#1702)
May 17, 2021
8ea3ae0
[tests-only] Bump core commit id for tests (#1701)
saw-jan May 17, 2021
3387212
Add reliability calculations support to Mentix (#1649)
Daniel-WWU-IT May 17, 2021
d1f4c0f
add feature to debug suites in ci (#1707)
saw-jan May 17, 2021
72e1c88
Refactor sharing (#1685)
May 17, 2021
11dfdd1
Fix: use the -static ldflag only for the 'build-ci' target (#1718)
SamuAlfageme May 20, 2021
089f837
[Build-deps]: Bump google.golang.org/grpc from 1.37.1 to 1.38.0 (#1716)
dependabot[bot] May 20, 2021
3aba8fa
bump core commit id as of 20210518 (#1712)
saw-jan May 20, 2021
2327bce
fix response format (#1724)
May 21, 2021
2d20b0e
[Build-deps]: Bump github.com/ReneKroon/ttlcache/v2 from 2.4.0 to 2.5…
dependabot[bot] May 25, 2021
597e362
[Build-deps]: Bump github.com/ory/fosite from 0.39.0 to 0.40.1 (#1726)
dependabot[bot] May 25, 2021
b1d57b9
Datatx createtransfershare (#1725)
redblom May 25, 2021
c7df38f
allow full paths targets
labkode Mar 31, 2021
1e16364
add changelog
labkode Mar 31, 2021
765e21f
fix logic
labkode Apr 1, 2021
f296b4f
more fixes
labkode Apr 1, 2021
4209caa
use full paths for file target
labkode Apr 6, 2021
fee1db9
use path and name from shares jail if it is configured
butonic May 6, 2021
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
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The test runner source for API tests
CORE_COMMITID=bf88f4d4a96d981008131fbb2fcbab7d51dfa600
CORE_COMMITID=aacaf7b5cb431713040219c72e91d7883f845652
CORE_BRANCH=master
21 changes: 18 additions & 3 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ def cephService():

# Pipeline definitions
def main(ctx):
# In order to run specific parts only, specify the parts as
# ocisIntegrationTests(6, [1, 4]) - this will only run 1st and 4th parts
# implemented for: ocisIntegrationTests, owncloudIntegrationTests and s3ngIntegrationTests
return [
buildAndPublishDocker(),
buildOnly(),
Expand Down Expand Up @@ -636,9 +639,13 @@ def localIntegrationTestsOcis():
],
}

def ocisIntegrationTests(parallelRuns):
def ocisIntegrationTests(parallelRuns, skipExceptParts = []):
pipelines = []
debugPartsEnabled = (len(skipExceptParts) != 0)
for runPart in range(1, parallelRuns + 1):
if debugPartsEnabled and runPart not in skipExceptParts:
continue

pipelines.append(
{
"kind": "pipeline",
Expand Down Expand Up @@ -705,9 +712,13 @@ def ocisIntegrationTests(parallelRuns):

return pipelines

def owncloudIntegrationTests(parallelRuns):
def owncloudIntegrationTests(parallelRuns, skipExceptParts = []):
pipelines = []
debugPartsEnabled = (len(skipExceptParts) != 0)
for runPart in range(1, parallelRuns + 1):
if debugPartsEnabled and runPart not in skipExceptParts:
continue

pipelines.append(
{
"kind": "pipeline",
Expand Down Expand Up @@ -774,9 +785,13 @@ def owncloudIntegrationTests(parallelRuns):

return pipelines

def s3ngIntegrationTests(parallelRuns):
def s3ngIntegrationTests(parallelRuns, skipExceptParts = []):
pipelines = []
debugPartsEnabled = (len(skipExceptParts) != 0)
for runPart in range(1, parallelRuns + 1):
if debugPartsEnabled and runPart not in skipExceptParts:
continue

pipelines.append(
{
"kind": "pipeline",
Expand Down
3 changes: 3 additions & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ updateDocsWhiteList:
- tests-only
- Tests-Only
- Build-deps
- docs-only
- Docs-only
- Docs-Only

updateDocsTargetFiles:
- changelog/unreleased/
302 changes: 302 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,305 @@
Changelog for reva 1.7.0 (2021-04-19)
=======================================

The following sections list the changes in reva 1.7.0 relevant to
reva users. The changes are ordered by importance.

Summary
-------

* Fix #1619: Fixes for enabling file sharing in EOS
* Fix #1576: Fix etag changing only once a second
* Fix #1634: Mentix site authorization status changes
* Fix #1625: Make local file connector more error tolerant
* Fix #1526: Fix webdav file versions endpoint bugs
* Fix #1457: Cloning of internal mesh data lost some values
* Fix #1597: Check for ENOTDIR on readlink error
* Fix #1636: Skip file check for OCM data transfers
* Fix #1552: Fix a bunch of trashbin related issues
* Fix #1: Bump meshdirectory-web to 1.0.2
* Chg #1562: Modularize api token management in GRAPPA drivers
* Chg #1452: Separate blobs from metadata in the ocis storage driver
* Enh #1514: Add grpc test suite for the storage provider
* Enh #1466: Add integration tests for the s3ng driver
* Enh #1521: Clarify expected failures
* Enh #1624: Add wrappers for EOS and EOS Home storage drivers
* Enh #1563: Implement cs3.sharing.collaboration.v1beta1.Share.ShareType
* Enh #1411: Make InsecureSkipVerify configurable
* Enh #1106: Make command to run litmus tests
* Enh #1502: Bump meshdirectory-web to v1.0.4
* Enh #1502: New MeshDirectory HTTP service UI frontend with project branding
* Enh #1405: Quota querying and tree accounting
* Enh #1527: Add FindAcceptedUsers method to OCM Invite API
* Enh #1149: Add CLI Commands for OCM invitation workflow
* Enh #1629: Implement checksums in the owncloud storage
* Enh #1528: Port drone pipeline definition to starlark
* Enh #110: Add signature authentication for public links
* Enh #1495: SQL driver for the publicshare service
* Enh #1588: Make the additional info attribute for shares configurable
* Enh #1595: Add site account registration panel
* Enh #1506: Site Accounts service for API keys
* Enh #116: Enhance storage registry with virtual views and regular expressions
* Enh #1513: Add stubs for storage spaces manipulation

Details
-------

* Bugfix #1619: Fixes for enabling file sharing in EOS

https://github.com/cs3org/reva/pull/1619

* Bugfix #1576: Fix etag changing only once a second

We fixed a problem with the owncloud storage driver only considering the mtime with a second
resolution for the etag calculation.

https://github.com/cs3org/reva/pull/1576

* Bugfix #1634: Mentix site authorization status changes

If a site changes its authorization status, Mentix did not update its internal data to reflect
this change. This PR fixes this issue.

https://github.com/cs3org/reva/pull/1634

* Bugfix #1625: Make local file connector more error tolerant

The local file connector caused Reva to throw an exception if the local file for storing site
data couldn't be loaded. This PR changes this behavior so that only a warning is logged.

https://github.com/cs3org/reva/pull/1625

* Bugfix #1526: Fix webdav file versions endpoint bugs

Etag and error code related bugs have been fixed for the webdav file versions endpoint and
removed from the expected failures file.

https://github.com/cs3org/reva/pull/1526

* Bugfix #1457: Cloning of internal mesh data lost some values

This update fixes a bug in Mentix that caused some (non-critical) values to be lost during data
cloning that happens internally.

https://github.com/cs3org/reva/pull/1457

* Bugfix #1597: Check for ENOTDIR on readlink error

The deconstructed storage driver now handles ENOTDIR errors when `node.Child()` is called
for a path containing a path segment that is actually a file.

https://github.com/owncloud/ocis/issues/1239
https://github.com/cs3org/reva/pull/1597

* Bugfix #1636: Skip file check for OCM data transfers

https://github.com/cs3org/reva/pull/1636

* Bugfix #1552: Fix a bunch of trashbin related issues

Fixed these issues:

- Complete: Deletion time in trash bin shows a wrong date - Complete: shared trash status code -
Partly: invalid webdav responses for unauthorized requests. - Partly: href in trashbin
PROPFIND response is wrong

Complete means there are no expected failures left. Partly means there are some scenarios
left.

https://github.com/cs3org/reva/pull/1552

* Bugfix #1: Bump meshdirectory-web to 1.0.2

Updated meshdirectory-web mod to version 1.0.2 that contains fixes for OCM invite API links
generation.

https://github.com/sciencemesh/meshdirectory-web/pull/1

* Change #1562: Modularize api token management in GRAPPA drivers

This PR moves the duplicated api token management methods into a seperate utils package

https://github.com/cs3org/reva/issues/1562

* Change #1452: Separate blobs from metadata in the ocis storage driver

We changed the ocis storage driver to keep the file content separate from the metadata by
storing the blobs in a separate directory. This allows for using a different (potentially
faster) storage for the metadata.

**Note** This change makes existing ocis storages incompatible with the new code.

We also streamlined the ocis and the s3ng drivers so that most of the code is shared between them.

https://github.com/cs3org/reva/pull/1452

* Enhancement #1514: Add grpc test suite for the storage provider

A new test suite has been added which tests the grpc interface to the storage provider. It
currently runs against the ocis and the owncloud storage drivers.

https://github.com/cs3org/reva/pull/1514

* Enhancement #1466: Add integration tests for the s3ng driver

We extended the integration test suite to also run all tests against the s3ng driver.

https://github.com/cs3org/reva/pull/1466

* Enhancement #1521: Clarify expected failures

Some features, while covered by the ownCloud 10 acceptance tests, will not be implmented for
now: - blacklisted / ignored files, because ocis/reva don't need to blacklist `.htaccess`
files - `OC-LazyOps` support was [removed from the
clients](https://github.com/owncloud/client/pull/8398). We are thinking about [a state
machine for uploads to properly solve that scenario and also list the state of files in progress
in the web ui](https://github.com/owncloud/ocis/issues/214). The expected failures
files now have a dedicated _Won't fix_ section for these items.

https://github.com/owncloud/ocis/issues/214
https://github.com/cs3org/reva/pull/1521
https://github.com/owncloud/client/pull/8398

* Enhancement #1624: Add wrappers for EOS and EOS Home storage drivers

For CERNBox, we need the mount ID to be configured according to the owner of a resource. Setting
this in the storageprovider means having different instances of this service to cater to
different users, which does not scale. This driver forms a wrapper around the EOS driver and
sets the mount ID according to a configurable mapping based on the owner of the resource.

https://github.com/cs3org/reva/pull/1624

* Enhancement #1563: Implement cs3.sharing.collaboration.v1beta1.Share.ShareType

Interface method Share() in pkg/ocm/share/share.go now has a share type parameter.

https://github.com/cs3org/reva/pull/1563

* Enhancement #1411: Make InsecureSkipVerify configurable

Add `InsecureSkipVerify` field to `metrics.Config` struct and update examples to include
it.

https://github.com/cs3org/reva/issues/1411

* Enhancement #1106: Make command to run litmus tests

This updates adds an extra make command to run litmus tests via make. `make litmus-test`
executes the tests.

https://github.com/cs3org/reva/issues/1106
https://github.com/cs3org/reva/pull/1543

* Enhancement #1502: Bump meshdirectory-web to v1.0.4

Updated meshdirectory-web version to v.1.0.4 bringing multiple UX improvements in provider
list and map.

https://github.com/cs3org/reva/issues/1502
https://github.com/sciencemesh/meshdirectory-web/pull/2
https://github.com/sciencemesh/meshdirectory-web/pull/3

* Enhancement #1502: New MeshDirectory HTTP service UI frontend with project branding

We replaced the temporary version of web frontend of the mesh directory http service with a new
redesigned & branded one. Because the new version is a more complex Vue SPA that contains image,
css and other assets, it is now served from a binary package distribution that was generated
using the [github.com/rakyll/statik](https://github.com/rakyll/statik) package. The
`http.services.meshdirectory.static` config option was obsoleted by this change.

https://github.com/cs3org/reva/issues/1502

* Enhancement #1405: Quota querying and tree accounting

The ocs api now returns the user quota for the users home storage. Furthermore, the ocis storage
driver now reads the quota from the extended attributes of the user home or root node and
implements tree size accounting. Finally, ocdav PROPFINDS now handle the
`DAV:quota-used-bytes` and `DAV:quote-available-bytes` properties.

https://github.com/cs3org/reva/pull/1405
https://github.com/cs3org/reva/pull/1491

* Enhancement #1527: Add FindAcceptedUsers method to OCM Invite API

https://github.com/cs3org/reva/pull/1527

* Enhancement #1149: Add CLI Commands for OCM invitation workflow

This adds a couple of CLI commands, `ocm-invite-generate` and `ocm-invite-forward` to
generate and forward ocm invitation tokens respectively.

https://github.com/cs3org/reva/issues/1149

* Enhancement #1629: Implement checksums in the owncloud storage

Implemented checksums in the owncloud storage driver.

https://github.com/cs3org/reva/pull/1629

* Enhancement #1528: Port drone pipeline definition to starlark

Having the pipeline definition as a starlark script instead of plain yaml greatly improves the
flexibility and allows for removing lots of duplicated definitions.

https://github.com/cs3org/reva/pull/1528

* Enhancement #110: Add signature authentication for public links

Implemented signature authentication for public links in addition to the existing password
authentication. This allows web clients to efficiently download files from password
protected public shares.

https://github.com/cs3org/cs3apis/issues/110
https://github.com/cs3org/reva/pull/1590

* Enhancement #1495: SQL driver for the publicshare service

https://github.com/cs3org/reva/pull/1495

* Enhancement #1588: Make the additional info attribute for shares configurable

AdditionalInfoAttribute can be configured via the `additional_info_attribute` key in the
form of a Go template string. If not explicitly set, the default value is `{{.Mail}}`

https://github.com/cs3org/reva/pull/1588

* Enhancement #1595: Add site account registration panel

This PR adds a site account registration panel to the site accounts service. It also removes
site registration from the xcloud metrics driver.

https://github.com/cs3org/reva/pull/1595

* Enhancement #1506: Site Accounts service for API keys

This update adds a new service to Reva that handles site accounts creation and management.
Registered sites can be assigned an API key through a simple web interface which is also part of
this service. This API key can then be used to identify a user and his/her associated (vendor or
partner) site.

Furthermore, Mentix was extended to make use of this new service. This way, all sites now have a
stable and unique site ID that not only avoids ID collisions but also introduces a new layer of
security (i.e., sites can only be modified or removed using the correct API key).

https://github.com/cs3org/reva/pull/1506

* Enhancement #116: Enhance storage registry with virtual views and regular expressions

Add the functionality to the storage registry service to handle user requests for references
which can span across multiple storage providers, particularly useful for cases where
directories are sharded across providers or virtual views are expected.

https://github.com/cs3org/cs3apis/pull/116
https://github.com/cs3org/reva/pull/1570

* Enhancement #1513: Add stubs for storage spaces manipulation

This PR adds stubs for the storage space CRUD methods in the storageprovider service and makes
the expired shares janitor configureable in the publicshares SQL driver.

https://github.com/cs3org/reva/pull/1513


Changelog for reva 1.6.0 (2021-02-16)
=======================================

Expand Down
Loading