Skip to content

[RFC] merge viewer app into server repository#60480

Draft
susnux wants to merge 3769 commits into
masterfrom
chore/merge-viewer
Draft

[RFC] merge viewer app into server repository#60480
susnux wants to merge 3769 commits into
masterfrom
chore/merge-viewer

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented May 16, 2026

Summary

Viewer is a force-enabled required app for quite some time, it must be installed when using Nextcloud.
To make developers life easier and to reduce duplicated assets ( 🚀 they can be shared now with other server apps) I merged the repository with the full history into the server.

TODO

  • Adjust more Cypress tests
  • Adjust ESLint issues

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

skjnldsv and others added 30 commits August 4, 2025 07:58
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](raszi/node-tmp@v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
chore(deps): update dependency typescript to ^5.9.2 (master)
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
…-update

build: update node and npm engines versions
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
The ownerId is supposed to always be a string value, but if someone's
userId is a Numeric name, then file deletion breaks, because the ownerId
is taken in as Number.

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
feat: add API package to register handlers in init scripts
github-actions Bot and others added 13 commits April 30, 2026 00:03
…ss-8.5.12

Chore(deps): Bump postcss from 8.5.8 to 8.5.12
Bumps [actions/github-script](https://github.com/actions/github-script) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@ed59741...3a2844b)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ions/github-script-9.0.0

Chore(deps): Bump actions/github-script from 8.0.0 to 9.0.0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.8 to 8.1.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v7.0.8...5f6978f)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…er-evans/create-pull-request-8.1.1

Chore(deps): Bump peter-evans/create-pull-request from 7.0.8 to 8.1.1
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 7.1.9 to 7.2.0.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](cypress-io/github-action@783cb3f...b7a7441)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...de0fac2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ress-io/github-action-7.2.0

Chore(deps): Bump cypress-io/github-action from 7.1.9 to 7.2.0
…ions/checkout-6.0.2

Chore(deps): Bump actions/checkout from 6.0.0 to 6.0.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
feat(deps): Add Nextcloud 35 support on master
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
susnux added 7 commits May 16, 2026 16:29
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the chore/merge-viewer branch from 8a9e0e9 to 65b8a40 Compare May 16, 2026 14:37
susnux added 3 commits May 16, 2026 16:48
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the chore/merge-viewer branch from 3a13166 to 6e00e09 Compare May 16, 2026 14:48
@susnux
Copy link
Copy Markdown
Contributor Author

susnux commented May 16, 2026

What is you opinion on merging the Viewer into server?
From my point of view it should be done because its required (force-enabled) and shipped, so every time you clone the server repository you also need to have the viewer somewhere cloned to be able to properly run Nextcloud.
So it improves DX, reduces core Nextcloud asset size as dependencies can be shared and let us earlier informed if some cross dependencies break.

@AndyScherzinger @artonge @sorbaugh @skjnldsv

Merge with full history (as shown here) is possible and does not increase server size a lot, but before I put more effort into finish up the merge (see last 8 commits to align code bases) I would like to know if this is something we want to have or if we stick with external repository.

Target would be NC35+ and keep 34 and before in the external repository (stable branches) - that's why I ask this now directly after branch-off.

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.