Skip to content

[stable10] Release 10.2.0 rebased#35262

Merged
individual-it merged 28 commits into
stable10from
release-10.2.0-rebased
May 22, 2019
Merged

[stable10] Release 10.2.0 rebased#35262
individual-it merged 28 commits into
stable10from
release-10.2.0-rebased

Conversation

@phil-davis

@phil-davis phil-davis commented May 18, 2019

Copy link
Copy Markdown
Contributor

Description

git checkout release-10.2.0
git checkout -b release-10.2.0-rebased
git rebase stable10

resolve reported conflicts along the way...

git push --set-upstream origin release-10.2.0-rebased

The git rebase command happily drops commits where the code is already exactly in stable10. So that removes a lot of "rubbish" from the list.

The only conflicts were in README.md and tests/acceptance/features/webUISharingPublic/shareByPublicLink.feature - both of these were easy to sort out and do not effect run-time code anyway.

Motivation and Context

There is a mix of commits in release-10.2.0 branch. Some of them are also already in stable10 and some are not. There are other PRs that did not make it into 10.2 and are just in stable10 branch. When doing just a "straight" PR online from release-10.2.0 branch to stable10 there are various conflicts and it shows a long list of many commits that are actually in stable10 - e.g. see PR #35261

This PR tries to tidy things up a bit to make it easier to comprehend...

How Has This Been Tested?

CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • Backport (if applicable set "backport-request" label and remove when the backport was done)

@phil-davis

Copy link
Copy Markdown
Contributor Author

drone is not starting. There is currently some general problem with drone.

@phil-davis
phil-davis force-pushed the release-10.2.0-rebased branch from 74e4058 to 6f69def Compare May 20, 2019 14:28
@phil-davis
phil-davis requested a review from micbar May 20, 2019 14:28
@phil-davis

Copy link
Copy Markdown
Contributor Author

Rebased again just now to trigger drone CI.

@phil-davis
phil-davis force-pushed the release-10.2.0-rebased branch from 6f69def to eb9b6b5 Compare May 20, 2019 21:34
@codecov

codecov Bot commented May 20, 2019

Copy link
Copy Markdown

Codecov Report

Merging #35262 into stable10 will increase coverage by 0.09%.
The diff coverage is 78.43%.

Impacted file tree graph

@@              Coverage Diff               @@
##             stable10   #35262      +/-   ##
==============================================
+ Coverage       64.52%   64.61%   +0.09%     
- Complexity      20080    20089       +9     
==============================================
  Files            1289     1289              
  Lines           76947    76966      +19     
  Branches         1299     1300       +1     
==============================================
+ Hits            49650    49734      +84     
+ Misses          26916    26848      -68     
- Partials          381      384       +3
Flag Coverage Δ Complexity Δ
#javascript 53.85% <85.71%> (+0.64%) 0 <0> (ø) ⬇️
#phpunit 65.75% <75.67%> (+0.03%) 20089 <13> (+9) ⬆️
Impacted Files Coverage Δ Complexity Δ
apps/files/lib/Capabilities.php 100% <ø> (+100%) 2 <0> (ø) ⬇️
core/js/sharedialoglinkshareview.js 83.46% <ø> (ø) 0 <0> (ø) ⬇️
apps/files_sharing/js/PublicUploadView.js 67.39% <0%> (ø) 0 <0> (ø) ⬇️
...s/federatedfilesharing/lib/AppInfo/Application.php 45.89% <0%> (-0.97%) 19 <0> (ø)
version.php 100% <100%> (ø) 0 <0> (ø) ⬇️
...atedfilesharing/lib/Command/PollIncomingShares.php 98.52% <100%> (+0.41%) 13 <2> (+2) ⬆️
apps/federatedfilesharing/lib/FedShareManager.php 80.37% <100%> (+0.25%) 25 <0> (+1) ⬆️
lib/private/legacy/app.php 63.45% <100%> (+1.31%) 179 <0> (+5) ⬆️
...ederatedfilesharing/lib/FederatedShareProvider.php 62.66% <100%> (ø) 85 <4> (ø) ⬇️
...es_sharing/lib/Controller/Share20OcsController.php 87.29% <15.38%> (+1.38%) 204 <6> (-1) ⬇️
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a964a1...eb9b6b5. Read the comment docs.

@codecov

codecov Bot commented May 20, 2019

Copy link
Copy Markdown

Codecov Report

Merging #35262 into stable10 will increase coverage by 0.09%.
The diff coverage is 78.43%.

Impacted file tree graph

@@              Coverage Diff               @@
##             stable10   #35262      +/-   ##
==============================================
+ Coverage       64.54%   64.64%   +0.09%     
- Complexity      20080    20089       +9     
==============================================
  Files            1289     1289              
  Lines           76923    76943      +20     
  Branches         1299     1300       +1     
==============================================
+ Hits            49651    49738      +87     
+ Misses          26891    26821      -70     
- Partials          381      384       +3
Flag Coverage Δ Complexity Δ
#javascript 53.85% <85.71%> (+0.64%) 0 <0> (ø) ⬇️
#phpunit 65.78% <75.67%> (+0.03%) 20089 <13> (+9) ⬆️
Impacted Files Coverage Δ Complexity Δ
apps/files/lib/Capabilities.php 100% <ø> (+100%) 2 <0> (ø) ⬇️
core/js/sharedialoglinkshareview.js 83.46% <ø> (ø) 0 <0> (ø) ⬇️
apps/files_sharing/js/PublicUploadView.js 67.39% <0%> (ø) 0 <0> (ø) ⬇️
...s/federatedfilesharing/lib/AppInfo/Application.php 45.89% <0%> (-0.97%) 19 <0> (ø)
version.php 100% <100%> (ø) 0 <0> (ø) ⬇️
...atedfilesharing/lib/Command/PollIncomingShares.php 98.52% <100%> (+0.41%) 13 <2> (+2) ⬆️
apps/federatedfilesharing/lib/FedShareManager.php 80.37% <100%> (+0.25%) 25 <0> (+1) ⬆️
lib/private/legacy/app.php 63.45% <100%> (+1.31%) 179 <0> (+5) ⬆️
...ederatedfilesharing/lib/FederatedShareProvider.php 62.66% <100%> (ø) 85 <4> (ø) ⬇️
...es_sharing/lib/Controller/Share20OcsController.php 87.29% <15.38%> (+1.38%) 204 <6> (-1) ⬇️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c084bf...7fe2d2c. Read the comment docs.

patrickjahns and others added 15 commits May 21, 2019 21:32
The uploader is expecting the progress bar element to be in the DOM when
created. This fix makes sure to append the PublicUploadView's element to
the DOM before rendering it.
…load

Remove share permission check from the file upload
js file.

Signed-off-by: Sujith H <sharidasan@owncloud.com>
File uploads should also be checked if they
are aborted or not. This would help to check
if the file is aborted or not. If aborted then
it would be cleared from the list.

Signed-off-by: Sujith H <sharidasan@owncloud.com>
Vincent Petry and others added 4 commits May 21, 2019 21:32
When user tries to change the permission from
permission 15 to permission 7 ( i.e, View/Download/
Upload), the permissions are not updated properly.
The reason for this is due to the overwriting
of newpermission variable with permission 15.
This changeset removes the overwriting to newpermission
variable.

Signed-off-by: Sujith H <sharidasan@owncloud.com>
Remove update permission for Download/View/Upload
option for public link. And hence the behaviour of
public links created using this option has changed.
1. User cannot delete the files/folders inside this public link.
2. User cannot update the files which are already present
in the public link
3. User cannot rename files.

Signed-off-by: Sujith H <sharidasan@owncloud.com>
@phil-davis
phil-davis force-pushed the release-10.2.0-rebased branch from eb9b6b5 to 8402aed Compare May 21, 2019 15:48
@phil-davis

Copy link
Copy Markdown
Contributor Author

I rebased again to try and get clean CI. It would be good to get this PR merged.

patrickjahns and others added 9 commits May 22, 2019 05:50
… upload check

The public link edit template was outside public upload check.
And hence for creating the public link for files the full
permission option was shown. This change tries to address
the issue.

Signed-off-by: Sujith H <sharidasan@owncloud.com>
Signed-off-by: Patrick Jahns <github@patrickjahns.de>
Signed-off-by: Patrick Jahns <github@patrickjahns.de>
Signed-off-by: Patrick Jahns <github@patrickjahns.de>
@phil-davis
phil-davis force-pushed the release-10.2.0-rebased branch from 8402aed to 7fe2d2c Compare May 22, 2019 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.