-
Notifications
You must be signed in to change notification settings - Fork 55
docs(ospo): community health rollout v2 — README, agents.md, health files #601
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
Open
dj4oC
wants to merge
1
commit into
master
Choose a base branch
from
ospo/community-health-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Code of Conduct | ||
|
|
||
| This project follows the ownCloud Code of Conduct. | ||
|
|
||
| Please read the full Code of Conduct at: | ||
| **<https://owncloud.com/contribute/code-of-conduct/>** | ||
|
|
||
| By participating in this project, you agree to abide by its terms. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,9 @@ | ||
| ## Submitting issues | ||
| # Contributing | ||
|
|
||
| If you have questions about how to install or use ownCloud, please direct these to the [mailing list][mailinglist] or our [forum][forum]. We are also available on [IRC][irc]. | ||
| Thank you for your interest in contributing to this project! | ||
|
|
||
| ### Short version | ||
| Please read the full contributing guidelines at: | ||
| **<https://owncloud.com/contribute/>** | ||
|
|
||
| * The [**issue template can be found here**][template]. Please always use the issue template when reporting issues. | ||
|
|
||
| ### Guidelines | ||
| * Please search the existing issues first, it's likely that your issue was already reported or even fixed. | ||
| - Go to one of the repositories, click "issues" and type any word in the top search/command bar. | ||
| - You can also filter by appending e. g. "state:open" to the search string. | ||
| - More info on [search syntax within github](https://help.github.com/articles/searching-issues) | ||
| * This repository ([documents](https://github.com/owncloud/contacts/issues)) is *only* for issues within the ownCloud documents code. | ||
| * __SECURITY__: Report any potential security bug to security@owncloud.com following our [security policy](https://owncloud.org/security/) instead of filing an issue in our bug tracker | ||
| * Report the issue using our [template][template], it includes all the information we need to track down the issue. | ||
|
|
||
| Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues. | ||
|
|
||
| [template]: https://raw.github.com/owncloud/core/master/issue_template.md | ||
| [mailinglist]: https://mailman.owncloud.org/mailman/listinfo/owncloud | ||
| [forum]: https://forum.owncloud.org/ | ||
| [irc]: https://webchat.freenode.net/?channels=owncloud&uio=d4 | ||
|
|
||
| ### Contribute Code and translations | ||
| Please check [core's contribution guidelines](https://github.com/owncloud/core/blob/master/CONTRIBUTING.md) for further information about contributing code and translations. | ||
| For development setup, coding standards, and pull request process, | ||
| see the README in this repository. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,81 +1,138 @@ | ||
| ownCloud application to integrate Collabora Online | ||
| ================================================== | ||
| [](https://sonarcloud.io/dashboard?id=owncloud_richdocuments) | ||
| [](https://sonarcloud.io/dashboard?id=owncloud_richdocuments) | ||
| [](https://sonarcloud.io/dashboard?id=owncloud_richdocuments) | ||
| # Richdocuments (Collabora Online for ownCloud) | ||
|
|
||
| Collabora Online for ownCloud provides collaborating editing functions for text documents, spreadsheets and presentations inside ownCloud for improved productivity. | ||
| <!-- OSPO-managed README | Generated: 2026-04-16 | v2 --> | ||
|
|
||
| See also: https://owncloud.com/collabora/collaborative-editing/ | ||
| [](LICENSE) [](https://kiteworks.com/opensource) [](https://hub.docker.com/r/owncloud/server) | ||
|
|
||
| Richdocuments integrates Collabora Online with ownCloud Server, enabling real-time collaborative editing of documents, spreadsheets and presentations directly within the ownCloud web interface. The app uses the WOPI (Web Application Open Platform Interface) protocol to bridge ownCloud's file storage with the Collabora Online document editing server. | ||
|
|
||
| ## Part of Classic (OC10) | ||
|
|
||
| This app is part of the [ownCloud Server (OC10)](https://github.com/owncloud/core) ecosystem, providing online document editing capabilities through the Collabora Online integration. It is available on the [ownCloud Marketplace](https://marketplace.owncloud.com/apps/richdocuments). | ||
|
|
||
| The ownCloud Server is available on [Docker Hub](https://hub.docker.com/r/owncloud/server). | ||
|
|
||
| ## Getting Started | ||
|
|
||
| Follow the steps below to install and configure Collabora Online integration. | ||
|
|
||
| ### Installation | ||
|
|
||
| Install from the [ownCloud Marketplace](https://marketplace.owncloud.com/apps/richdocuments), or manually: | ||
|
|
||
| ```bash | ||
| cd apps | ||
| git clone https://github.com/owncloud/richdocuments.git | ||
| php occ app:enable richdocuments | ||
| ``` | ||
|
|
||
| ### Configuration | ||
|
|
||
| - Set WOPI Server URL | ||
| Set the WOPI server URL: | ||
|
|
||
| ``` | ||
| $ occ config:app:set richdocuments wopi_url --value [your-host-public-ip]:8098 | ||
| ``` | ||
| ```bash | ||
| occ config:app:set richdocuments wopi_url --value [your-host-public-ip]:8098 | ||
| ``` | ||
|
|
||
| - Enable/Disable Secure View and set its settings | ||
| Enable Secure View: | ||
|
|
||
| ``` | ||
| $ occ config:app:set richdocuments secure_view_option --value true | ||
| $ occ config:app:set richdocuments watermark_text --value "Restricted to {viewer-email}" | ||
| $ occ config:app:set richdocuments secure_view_open_action_default --value true | ||
| ``` | ||
| ```bash | ||
| occ config:app:set richdocuments secure_view_option --value true | ||
| occ config:app:set richdocuments watermark_text --value "Restricted to {viewer-email}" | ||
| occ config:app:set richdocuments secure_view_open_action_default --value true | ||
| ``` | ||
|
|
||
| ### Developing | ||
| ### Development | ||
|
|
||
| The easiest way to integrate Collabora with development instance of ownCloud is by disabling SSL for Collabora. | ||
| Start a Collabora server for development (SSL disabled): | ||
|
|
||
| - Start Collabora Server with default settings | ||
| ```bash | ||
| docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" \ | ||
| -e "username=admin" -e "password=admin" \ | ||
| --name collabora --cap-add MKNOD collabora/code:6.4.8.6 | ||
| ``` | ||
|
|
||
| ``` | ||
| $ docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" -e "username=admin" -e "password=admin" --name collabora --cap-add MKNOD collabora/code:6.4.8.6 | ||
| ``` | ||
| Build the ownCloud Web connector: | ||
|
|
||
| - Access Collabora Admin at `http://[your-host-public-ip]:9980/loleaflet/dist/admin/admin.html` e.g. `172.16.12.95`, | ||
| ```bash | ||
| pnpm install | ||
| pnpm build | ||
| ``` | ||
|
|
||
| - Set in `Settings -> Admin -> Additional -> Collabora Online server -> http://[your-host-public-ip]:9980` | ||
| ## Documentation | ||
|
|
||
| - [Collabora Online for ownCloud](https://owncloud.com/collabora/collaborative-editing/) | ||
| - [ownCloud Server Admin Manual](https://doc.owncloud.com/server/latest/admin_manual/) | ||
|
|
||
| ### Installation | ||
| ## Community & Support | ||
|
|
||
| NOTE: Collabora server needs to be reachable from ownCloud server, and Collabora server needs to be able to reach ownCloud server | ||
| **[Star](https://github.com/owncloud/richdocuments)** this repo and **Watch** for release notifications! | ||
|
|
||
| NOTE: it is possible to use Collabora Online’s integration with re-compiled and/or re-branded backends. | ||
| - [ownCloud Website](https://owncloud.com) | ||
| - [Community Discussions](https://github.com/orgs/owncloud/discussions) | ||
| - [Matrix Chat](https://app.element.io/#/room/#owncloud:matrix.org) | ||
| - [Documentation](https://doc.owncloud.com) | ||
| - [Enterprise Support](https://owncloud.com/contact-us/) | ||
| - [OSPO Home](https://kiteworks.com/opensource) | ||
|
|
||
| ## Installing connector for ownCloud Web | ||
| ## Contributing | ||
|
|
||
| You will need: | ||
| * [ownCloud server](https://owncloud.com/download-server/#owncloud-server) with ownCloud Web (it can be compiled from source code or installed from the [official marketplace](https://marketplace.owncloud.com/apps/web)). | ||
| * Official ownCloud Collabora Online integration app. You can install it from the [ownCloud marketplace](https://marketplace.owncloud.com/apps/richdocuments). | ||
| We welcome contributions! Please read the [Contributing Guidelines](CONTRIBUTING.md) | ||
| and our [Code of Conduct](CODE_OF_CONDUCT.md) before getting started. | ||
|
|
||
| To enable work within ownCloud web, register the connector in the ownCloud Web config.json: | ||
| ### Workflow | ||
|
|
||
| * If you installed ownCloud Web from the official marketplace, the path is `<owncloud-root-catalog>/config/config.json` | ||
| * If you compiled it from source code yourself using [this instruction](https://owncloud.dev/clients/web/backend-oc10/#running-web), the path is `<owncloud-web-root-catalog>/config/config.json`. | ||
| - **Rebase Early, Rebase Often!** We use a rebase workflow. Always rebase on the target branch before submitting a PR. | ||
| - **Dependabot**: Automated dependency updates are managed via Dependabot. Review and merge dependency PRs promptly. | ||
| - **Signed Commits**: All commits **must** be PGP/GPG signed. See [GitHub's signing guide](https://docs.github.com/en/authentication/managing-commit-signature-verification). | ||
| - **DCO Sign-off**: Every commit must carry a `Signed-off-by` line: | ||
| ``` | ||
| git commit -s -S -m "your commit message" | ||
| ``` | ||
| - **GitHub Actions Policy**: Workflows may only use actions that are (a) owned by `owncloud`, (b) created by GitHub (`actions/*`), or (c) verified in the GitHub Marketplace. | ||
|
|
||
| To register the connector, use these lines: | ||
| ## Translations | ||
|
|
||
| ``` | ||
| "external_apps": [ | ||
| { | ||
| "id": "richdocuments", | ||
| "path": "http(s)://<owncloud-10-server-address>/index.php/apps/richdocuments/js/richdocuments.js" | ||
| } | ||
| ] | ||
| ``` | ||
| Help translate this project on Transifex: | ||
| **<https://explore.transifex.com/owncloud-org/owncloud/>** | ||
|
|
||
| ## Compiling the connector for ownCloud Web | ||
| Please submit translations via Transifex -- do not open pull requests for translation changes. | ||
|
|
||
| Build all the dependencies: | ||
| ## Security | ||
|
|
||
| ``` | ||
| yarn install | ||
| ``` | ||
| Build the resulting file `js/web/richdocuments.js`: | ||
| **Do not open a public GitHub issue for security vulnerabilities.** | ||
|
|
||
| ``` | ||
| yarn build | ||
| ``` | ||
| Report vulnerabilities at **<https://security.owncloud.com>** -- see [SECURITY.md](SECURITY.md). | ||
|
|
||
| Bug bounty: [YesWeHack ownCloud Program](https://yeswehack.com/programs/owncloud-bug-bounty-program) | ||
|
|
||
| ## License | ||
|
|
||
| See [LICENSE](LICENSE) for license details. | ||
|
|
||
| ## About the ownCloud OSPO | ||
|
|
||
| The [Kiteworks Open Source Program Office](https://kiteworks.com/opensource), operating under | ||
| the [ownCloud](https://owncloud.com) brand, launched on May 5, 2026, to steward the open source | ||
| ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, | ||
| community health, and sustainable collaboration between the open source community and | ||
| [Kiteworks](https://www.kiteworks.com), which acquired ownCloud in 2023. | ||
|
|
||
| - **OSPO Home**: <https://kiteworks.com/opensource> | ||
| - **GitHub**: <https://github.com/owncloud> | ||
| - **ownCloud**: <https://owncloud.com> | ||
|
|
||
| For questions about the OSPO or licensing, contact ospo@kiteworks.com. | ||
|
|
||
| ### License Migration to Apache 2.0 | ||
|
|
||
| The OSPO is driving a strategic relicensing of ownCloud repositories toward the | ||
| [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), following | ||
| the [Apache Software Foundation's third-party license policy](https://www.apache.org/legal/resolved.html). | ||
|
|
||
| Individual repositories will migrate as their audit is completed. The LICENSE file | ||
| in each repo reflects its **current** license status (not the target). | ||
|
|
||
| **Current license: Not detected.** The OSPO will determine the current license status of this | ||
| repository before planning any migration steps. If you know the intended license, please open an | ||
| issue or contact ospo@kiteworks.com. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Security Policy | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| **Do NOT open a public GitHub issue for security vulnerabilities.** | ||
|
|
||
| Please report security issues responsibly via: | ||
| **<https://security.owncloud.com>** | ||
|
|
||
| You can also report vulnerabilities through our YesWeHack bug bounty program: | ||
| **<https://yeswehack.com/programs/owncloud-bug-bounty-program>** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Support | ||
|
|
||
| For support with this project, please use the following channels: | ||
|
|
||
| - **Enterprise Support**: <https://owncloud.com/contact-us/> | ||
| - **Community discussions**: https://github.com/orgs/owncloud/discussions | ||
| - **Matrix Chat**: <https://app.element.io/#/room/#owncloud:matrix.org> | ||
| - **Documentation**: <https://doc.owncloud.com> | ||
|
|
||
| Please do not use GitHub issues for general support questions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| # agents.md — richdocuments | ||
|
|
||
| ## Repository Overview | ||
|
|
||
| Richdocuments is an ownCloud Server (OC10) app that integrates Collabora Online for real-time collaborative editing of office documents. It uses the WOPI protocol to connect ownCloud's file storage with the Collabora Online editing server, supporting documents, spreadsheets and presentations. | ||
|
|
||
| - **Classification:** Classic (OC10) | ||
| - **Activity Status:** Active | ||
| - **License:** No license detected (pending OSPO audit) | ||
| - **Language:** JavaScript, PHP | ||
|
|
||
| ## Architecture & Key Paths | ||
|
|
||
| - `appinfo/` — ownCloud app metadata (info.xml, routes, etc.) | ||
| - `lib/` — PHP backend logic (WOPI integration, controllers) | ||
| - `src/` — TypeScript/JavaScript frontend source (ownCloud Web connector) | ||
| - `js/` — Compiled JavaScript output | ||
| - `css/` — Stylesheets | ||
| - `templates/` — PHP templates for server-side rendering | ||
| - `l10n/` — Localization/translation files | ||
| - `tests/` — PHPUnit and integration tests | ||
| - `admin.php` / `settings.php` — Admin settings UI | ||
| - `Makefile` — Build orchestration | ||
| - `composer.json` — PHP dependencies | ||
| - `package.json` — JavaScript dependencies | ||
| - `vite.config.ts` — Vite build configuration for Web connector | ||
|
|
||
| ## Development Conventions | ||
|
|
||
| - PHP backend follows ownCloud app structure (`appinfo/info.xml`, `lib/`) | ||
| - JavaScript/TypeScript frontend built with Vite | ||
| - Code style enforced by phpcs (`phpcs.xml`) and Prettier | ||
| - `CONTRIBUTING.md` present at repo root | ||
| - SonarCloud used for quality analysis | ||
|
|
||
| ## Build & Test Commands | ||
|
|
||
| ```bash | ||
| make appstore # Build for marketplace distribution | ||
| pnpm install # Install JavaScript dependencies | ||
| pnpm build # Build ownCloud Web connector | ||
| composer install # Install PHP dependencies | ||
| phpunit -c phpunit.xml # Run PHP unit tests | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we list the |
||
| ``` | ||
|
|
||
| ## Important Constraints | ||
|
|
||
| - **No license file detected:** This repository currently lacks a formal LICENSE file. The OSPO is working on the license audit as part of the Apache 2.0 migration strategy. | ||
| - **Copyleft + Apache 2.0 migration:** The broader ownCloud organization is migrating repositories to Apache 2.0. Copyleft dependencies must be audited before migration. | ||
| - **WOPI dependency:** Requires a running Collabora Online server reachable from the ownCloud server, and vice versa. | ||
| - **Dual frontend:** Has both a classic OC10 frontend (`js/`) and an ownCloud Web connector (`src/` built with Vite). | ||
|
|
||
|
|
||
| ## OSPO Policy Constraints | ||
|
|
||
| ### GitHub Actions | ||
| - **Only** use actions owned by `owncloud`, created by GitHub (`actions/*`), verified on the GitHub Marketplace, or verified by the ownCloud Maintainers. | ||
| - Pin all actions to their full commit SHA (not tags): `uses: actions/checkout@<SHA> # vX.Y.Z` | ||
| - Never introduce actions from unverified third parties. | ||
|
|
||
| ### Dependency Management | ||
| - Dependabot is configured for automated dependency updates. | ||
| - Review and merge Dependabot PRs as part of regular maintenance. | ||
| - Do not introduce new dependencies without discussion in an issue first. | ||
|
|
||
| ### Git Workflow | ||
| - **Rebase policy**: Always rebase; never create merge commits. Use `git pull --rebase` and `git rebase` before pushing. | ||
| - **Signed commits**: All commits **must** be PGP/GPG signed (`git commit -S -s`). | ||
| - **DCO sign-off**: Every commit needs a `Signed-off-by` line (`git commit -s`). | ||
| - **Conventional Commits & Squash Merge**: Use the [Conventional Commits](https://www.conventionalcommits.org/) format where the repository enforces it. Many repos use squash merge, where the PR title becomes the commit message on the default branch — apply Conventional Commits format to PR titles as well. A reusable GitHub Actions workflow enforces this. | ||
|
|
||
| ## Context for AI Agents | ||
|
|
||
| - This is an ownCloud Server (OC10) app, not an oCIS extension. | ||
| - The PHP backend handles WOPI protocol communication with Collabora Online. | ||
| - The `src/` directory contains a Vite-based TypeScript frontend for the ownCloud Web connector. | ||
| - Configuration is done via `occ config:app:set` commands. | ||
| - The app has both SonarCloud and phpcs integration for code quality. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.