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

Use new PublicPageResponse for sharing pages #403

Description

@juliusknorr

With nextcloud/server#8051 we have a common public page template for NC14+ that should be used by apps to render public pages.

The PR also introduced two custom classes for rendering the direct link and add to my nextcloud menu entries, like in the screenshot below:
bildschirmfoto vom 2018-01-25 20-39-27

The question is if we should just used those classes from the files_sharing app:

  • OCA\Files_Sharing\Template\ExternalShareMenuAction
  • OCA\Files_Sharing\Template\LinkMenuAction

Since the gallery app in bundled with the NC releases right now I see no problem that those are not part of the public API right now. Anyway it isn't that nice so we should probably also move them to the OCP namespace. Until now it seems the gallery app has copied the code that is required from files_sharing, but that doesn't seem to be a good solution to me as well. Any thoughts on that?

WIP branch: https://github.com/nextcloud/gallery/tree/public-page-response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions