A Moodle repository plugin that integrates ownCloud Infinite Scale with Moodle's file picker. It enables Moodle users to browse, select, and link files stored in oCIS directly through the native Moodle file picker interface, using OpenID Connect for authentication and the oCIS PHP SDK for file operations.
Follow the steps below to install and configure the Moodle repository plugin.
- Moodle 4.2+
- PHP 8.1+
- oCIS 5.0+
- oCIS PHP SDK
- Copy this repository into your Moodle
repository/ocis/directory. - Run
composer installto fetch dependencies. - Configure the OAuth2 service in Moodle to connect to your oCIS instance.
- Enable the repository plugin in Moodle's administration panel.
For detailed setup including TLS certificate configuration (self-signed certs, Docker development environment), see INSTALL.md.
This plugin bridges Moodle (4.2+) and oCIS (5.0+), allowing educational institutions to use oCIS as a file storage backend for their learning management system.
This component is part of the oCIS Docker image.
Depends on the oCIS PHP SDK.
Star this repo and Watch for release notifications!
We welcome contributions! Please read the Contributing Guidelines and our Code of Conduct before getting started.
- 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.
- DCO Sign-off: Every commit must carry a
Signed-off-byline: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.
Do not open a public GitHub issue for security vulnerabilities.
Report vulnerabilities at https://security.owncloud.com -- see SECURITY.md.
Bug bounty: YesWeHack ownCloud Program
This project is licensed under the GPL-3.0.
The Kiteworks Open Source Program Office, operating under the ownCloud 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, 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.
The OSPO is driving a strategic relicensing of ownCloud repositories toward the Apache License 2.0, following the Apache Software Foundation's third-party license policy.
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: GPL-3.0 (Category X per Apache policy -- cannot be included in Apache-2.0 works).
Migration prerequisites for this repository:
- CLA/DCO coverage: All past contributors must have signed agreements permitting relicensing
- Copyleft dependency audit: All GPL dependencies must be replaced or isolated
- Complete relicensing: GPL-3.0 is a strong copyleft license; migration requires full relicensing of all files