Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
84c997a
Fix PHP8 deprecation errors (optional params before required ones) #5…
sammarshallou May 12, 2022
4d9f8f3
Behat: blocks/workflow (tt) #655868
Mar 6, 2023
d3e0dd8
blocks/workflow: Fix PHP 8.1 issues #679599
May 17, 2023
b4db2af
M4.2: fix uses of depreated cron_setup_user #712282
timhunt Aug 22, 2023
b0c8630
Workflow error when moving workflow on - and error reporting code is …
Oct 6, 2023
f716949
YUI->AMD: Rewrite old JavaScript in block_workflow #693705
Oct 9, 2023
bd57442
Behat: PHP8.2: fix block_/report_workflow failures #743303
timhunt Dec 1, 2023
8289685
Workflow block: convert use of ajax.php into moodle web services #731174
Nov 21, 2023
10728db
Workflow block: convert use of ajax.php into moodle web services #731…
Dec 11, 2023
2f5cb0b
Workflow/TinyEditor: incorrectly keeps the cached data when comment a…
Jan 17, 2024
5aa3a64
Moodle 4.5 merge - replace deprecated get_plugin_list #863102
sammarshallou Jan 30, 2025
40a720d
Moodle 4.5 merge - fix miscellaneous Behat and PHPunit failures #863102
sammarshallou Feb 4, 2025
c3917ab
Theme: Technical debt - remove IE-specific rules #871250
sammarshallou Feb 25, 2025
fa0c926
Workflow: Enable logs to show whether a workflow email is sent #833550
Apr 9, 2025
e0ddda7
PHPUnit: Block_workflow, Component mod_chat does not support generato…
Sep 8, 2025
a12ff1a
Update ci.yml for gitaction
Jul 30, 2025
038baf2
fix code checker
Jul 30, 2025
533ef12
fix grunt error
Jul 30, 2025
7422e24
fix PHPunit
Jul 30, 2025
0c42999
fix behat
Jul 30, 2025
2ce1371
upgrade version
Jul 30, 2025
ab22617
fix icon too large issue
Aug 8, 2025
e4be79e
fix: replace string increment operator with safe numeric increment
Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ jobs:
matrix:
# Note: Workflow block has SQL that only works in Postgres.
include:
- php: '7.4'
moodle-branch: 'master'
database: 'pgsql'
- php: '7.4'
moodle-branch: 'MOODLE_311_STABLE'
database: 'pgsql'
- { php: '8.2', moodle-branch: MOODLE_405_STABLE, database: pgsql }
- { php: '8.3', moodle-branch: MOODLE_500_STABLE, database: pgsql }
- { php: '8.3', moodle-branch: main, database: pgsql }

services:
postgres:
image: postgres
image: postgres:15
env:
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
Expand All @@ -32,7 +29,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: plugin

Expand All @@ -45,16 +42,17 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, pgsql, mysqli
extensions: ${{ matrix.extensions }}
ini-values: max_input_vars=5000
coverage: none

- name: Deploy moodle-plugin-ci
run: |
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
# Add dirs to $PATH
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
# PHPUnit depends on en_AU.UTF-8 locale
sudo locale-gen en_AU.UTF-8
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV

- name: Install Moodle
run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1
Expand All @@ -67,8 +65,9 @@ jobs:
run: moodle-plugin-ci phplint

- name: phpcpd
continue-on-error: true
if: ${{ always() }}
run: moodle-plugin-ci phpcpd || true
run: moodle-plugin-ci phpcpd

- name: phpmd
if: ${{ always() }}
Expand Down
1 change: 1 addition & 0 deletions addworkflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* @copyright 2011 Lancaster University Network Services Limited
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

require_once(dirname(__FILE__) . '/../../config.php');
require_once(dirname(__FILE__) . '/locallib.php');

Expand Down
108 changes: 0 additions & 108 deletions ajax.php

This file was deleted.

11 changes: 11 additions & 0 deletions amd/build/comments.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading