Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Public page response #425

Merged
merged 5 commits into from
Apr 6, 2018
Merged

Public page response #425

merged 5 commits into from
Apr 6, 2018

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Apr 5, 2018

Use the new PublicPageResponse for NC14+ to render public pages that have the same header actions as the files_sharing app.

Fixes #403 and #358

Requires nextcloud/server#9084

image

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr added design Related to the design enhancement New feature or request 3. to review Waiting for reviews labels Apr 5, 2018
@juliusknorr juliusknorr added this to the Nextcloud 14 milestone Apr 5, 2018
Copy link
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unit tests fail; please update PageControllerTest as needed :-)

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
Copy link
Member Author

Tests are fixed, they still fail because the new classes from nextcloud/server#9084 are not available. Once that is merged they should run fine.

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@MorrisJobke
Copy link
Member

Tests are fixed, they still fail because the new classes from nextcloud/server#9084 are not available. Once that is merged they should run fine.

Retriggered them, because server PR was merged.

@codecov
Copy link

codecov bot commented Apr 6, 2018

Codecov Report

Merging #425 into master will increase coverage by 0.05%.
The diff coverage is 83.33%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #425      +/-   ##
============================================
+ Coverage     82.55%   82.61%   +0.05%     
  Complexity      360      360              
============================================
  Files            38       38              
  Lines          1313     1323      +10     
============================================
+ Hits           1084     1093       +9     
- Misses          229      230       +1
Impacted Files Coverage Δ Complexity Δ
lib/AppInfo/Application.php 74.37% <0%> (-0.38%) 28 <0> (ø)
lib/Controller/PageController.php 100% <100%> (ø) 12 <0> (ø) ⬇️

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 ac64fa1...bef5857. Read the comment docs.

@MorrisJobke MorrisJobke merged commit ac24a7a into master Apr 6, 2018
@oparoz
Copy link
Member

oparoz commented Apr 6, 2018

Look at all this beautiful green :)

@MorrisJobke MorrisJobke deleted the public-page-response branch April 6, 2018 11:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3. to review Waiting for reviews design Related to the design enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants