mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Compare commits
5 Commits
MOODLE_501
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4fc4b4396 | ||
|
|
e632b1c2f9 | ||
|
|
b4d996125d | ||
|
|
f8d0d658fa | ||
|
|
a38deb7abf |
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -37,17 +37,13 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
database: ['pgsql', 'mariadb']
|
||||
moodle-branch: ['MOODLE_39_STABLE']
|
||||
database: ['mariadb']
|
||||
moodle-branch: ['MOODLE_35_STABLE']
|
||||
node: ['14.15.1']
|
||||
php: ['7.2', '7.3']
|
||||
php: ['7.1']
|
||||
include:
|
||||
- {moodle-branch: 'MOODLE_35_STABLE', php: '7.1', node: '14.15.1', database: 'mariadb'}
|
||||
- {moodle-branch: 'MOODLE_35_STABLE', php: '7.2', node: '14.15.1', database: 'mariadb'}
|
||||
- {moodle-branch: 'MOODLE_39_STABLE', php: '7.4', node: '14.15.1', database: 'mariadb'}
|
||||
- {moodle-branch: 'MOODLE_39_STABLE', php: '7.4', node: '14.15.1', database: 'pgsql'}
|
||||
- {moodle-branch: 'MOODLE_310_STABLE', php: '7.4', node: '14.15.1', database: 'mariadb'}
|
||||
- {moodle-branch: 'MOODLE_311_STABLE', php: '7.4', node: '14.15.1', database: 'pgsql'}
|
||||
- {moodle-branch: 'MOODLE_38_STABLE', php: '7.1', node: '14.15.1', database: 'mariadb'}
|
||||
- {moodle-branch: 'MOODLE_38_STABLE', php: '7.4', node: '14.15.1', database: 'pgsql'}
|
||||
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
|
||||
@@ -46,8 +46,10 @@ Branches
|
||||
| ----------------- | ----------- | ---- |
|
||||
| Moodle 2.7 to 3.2 | MOODLE_32_STABLE | 5.5+ |
|
||||
| Totara up to 10 | TOTARA_10 | 5.5+ |
|
||||
| Moodle 3.3+ | master | 7.0+ |
|
||||
| Totara 11+ | master | 7.0+ |
|
||||
| Moodle 3.3 to 3.8 | MOODLE_38_STABLE | 7.1+ |
|
||||
| Totara 11 to 12 | MOODLE_38_STABLE | 7.1+ |
|
||||
| Moodle 3.9+ | MOODLE_39_STABLE | 7.2+ |
|
||||
| Totara 13+ | MOODLE_39_STABLE | 7.2+ |
|
||||
|
||||
Screenshots
|
||||
-----------
|
||||
|
||||
@@ -65,6 +65,9 @@ class outagelib {
|
||||
* @param string $file file to be fetched
|
||||
*/
|
||||
public static function fetch_page($file) {
|
||||
global $CFG;
|
||||
require_once($CFG->libdir . '/filelib.php');
|
||||
|
||||
$curl = new curl();
|
||||
$contents = $curl->get($file);
|
||||
$info = $curl->get_info();
|
||||
|
||||
Reference in New Issue
Block a user