2026-08-23 22:25:24 +04:00
# Moodle Webhooks
2017-10-19 07:04:14 +04:00
2026-08-23 22:25:24 +04:00
`local_webhooks` is a Moodle local plugin under active modernization.
2017-10-19 07:04:14 +04:00
2026-08-23 22:25:24 +04:00
## Status
2017-10-26 11:35:49 +04:00
2026-08-23 22:25:24 +04:00
[Gitea ](https://code.popov.link/moodle/local_webhooks ) is the source of truth. GitHub is intentionally a stale mirror.
2017-10-26 11:35:49 +04:00
2026-08-23 22:25:24 +04:00
The `develop` branch is unreleased modernization work toward `6.0.0` and is not production-ready. Synchronous delivery and the legacy administration/configuration UI are disabled, so this branch sends no webhook requests.
2017-10-19 07:04:14 +04:00
2026-08-23 22:25:24 +04:00
## Current CI baseline
2017-10-19 07:04:14 +04:00
2026-08-24 00:21:28 +04:00
Gitea Actions currently runs three blocking compatibility checks:
- Moodle `5.2.2` on PHP `8.4` with PostgreSQL `16` ;
- Moodle `5.2.2` on PHP `8.4` with MySQL `8.4` ;
- Moodle `4.5.13` LTS on PHP `8.1.34` with PostgreSQL `16` .
This is an incremental development baseline, not the final support matrix.
2017-10-19 07:04:14 +04:00
2026-08-23 22:25:24 +04:00
Run the same checks from the repository root with Docker:
2017-10-19 07:04:14 +04:00
2026-08-23 22:58:57 +04:00
PostgreSQL:
2017-10-19 07:04:14 +04:00
```bash
2026-08-23 22:58:57 +04:00
export COMPOSE_PROJECT_NAME = local_webhooks_local_postgresql
2026-08-23 22:25:24 +04:00
docker compose build --pull ci
2026-08-23 22:58:57 +04:00
docker compose up --abort-on-container-exit --exit-code-from ci ci
docker compose down --volumes --remove-orphans --rmi local
```
MySQL:
```bash
export COMPOSE_PROJECT_NAME = local_webhooks_local_mysql
docker compose --profile mysql build --pull ci-mysql
docker compose --profile mysql up --abort-on-container-exit --exit-code-from ci-mysql ci-mysql
docker compose --profile mysql down --volumes --remove-orphans --rmi local
2017-10-19 07:04:14 +04:00
```
2026-08-24 00:21:28 +04:00
Moodle 4.5 LTS with PostgreSQL:
```bash
export COMPOSE_PROJECT_NAME = local_webhooks_local_moodle45_postgresql
docker compose --profile moodle45 build --pull ci-moodle45
docker compose --profile moodle45 up --abort-on-container-exit --exit-code-from ci-moodle45 ci-moodle45
docker compose --profile moodle45 down --volumes --remove-orphans --rmi local
```
2017-10-19 07:04:14 +04:00
## License
2026-08-23 22:25:24 +04:00
[GNU GPLv3 ](LICENSE.txt ). Copyright (c) [Valentin Popov ](mailto:info@valentineus.link ).