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

Fix: allow opening PDF with Collabora #2298

Merged
merged 2 commits into from
Jul 26, 2022
Merged

Conversation

Raudius
Copy link
Contributor

@Raudius Raudius commented Jul 4, 2022

Summary

Fixes regression where PDFs could not be opened with collabora since we moved to using the Viewer app (#1820).

Adds the context menu option to edit PDFs, and registers the actions with the files app. For the action handler we call the new viewer method openWith (nextcloud/viewer#1273).

TODO

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

@Raudius Raudius self-assigned this Jul 4, 2022
@Raudius Raudius added enhancement New feature or request 3. to review Ready to be reviewed labels Jul 4, 2022
@Raudius Raudius requested review from julien-nc and juliushaertl and removed request for julien-nc July 4, 2022 10:51
src/viewer.js Outdated Show resolved Hide resolved
css/filetypes.scss Outdated Show resolved Hide resolved
css/filetypes.scss Outdated Show resolved Hide resolved
@julien-nc julien-nc self-requested a review July 14, 2022 10:42
filter: var(--background-invert-if-dark);
}

body.dark .icon-richdocuments {
Copy link
Member

Choose a reason for hiding this comment

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

Let's drop it since we have one branch per major Nextcloud version ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! We will add it manually for the backports?

@Raudius Raudius force-pushed the enh/fix_context_menu branch 2 times, most recently from 29211ac to 959a538 Compare July 26, 2022 12:24
Raudius and others added 2 commits July 26, 2022 17:55
Signed-off-by: Raul <r.ferreira.fuentes@gmail.com>
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
@juliushaertl juliushaertl merged commit be349e9 into master Jul 26, 2022
@juliushaertl juliushaertl deleted the enh/fix_context_menu branch July 26, 2022 13:17
@juliushaertl
Copy link
Member

@Raudius Mind to take care of the backport manually as it needs adjustments anyways as you stated above?

@juliushaertl
Copy link
Member

Already back ported manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Edit pdf files with Collabora Online isn't available any more
3 participants