Skip to content

Commit

Permalink
M4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Oct 7, 2023
1 parent 135696f commit b89f95b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 55 deletions.
42 changes: 7 additions & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,23 @@ jobs:
runs-on: ubuntu-22.04

services:
postgres:
image: postgres:10.0
env:
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
mariadb:
image: mariadb:10.5
image: mariadb:10.6
env:
MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_CHARACTER_SET_SERVER: "utf8mb4"
MYSQL_COLLATION_SERVER: "utf8mb4_unicode_ci"
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3

strategy:
fail-fast: false
matrix:
include:
- php: 7.2
moodle-branch: 'MOODLE_39_STABLE'
database: pgsql
- php: 7.2
moodle-branch: 'MOODLE_39_STABLE'
database: mariadb
- php: 7.4
moodle-branch: 'MOODLE_400_STABLE'
database: pgsql
- php: 7.4
moodle-branch: 'MOODLE_400_STABLE'
database: mariadb
- php: 8.0
# The following line is only needed if you're going to run php8 jobs and your
# plugin needs xmlrpc services.
extensions: xmlrpc-beta
moodle-branch: MOODLE_400_STABLE
database: pgsql
- php: 8.0
# The following line is only needed if you're going to run php8 jobs and your
# plugin needs xmlrpc services.
extensions: xmlrpc-beta
moodle-branch: MOODLE_400_STABLE
database: mariadb
php: ['8.0', '8.2']
moodle-branch: ['MOODLE_403_STABLE']
database: [mariadb]

steps:
- name: Check out repository code
Expand All @@ -69,7 +41,7 @@ jobs:

- name: Initialise moodle-plugin-ci
run: |
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
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
sudo locale-gen en_AU.UTF-8
Expand Down
52 changes: 32 additions & 20 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Moodle theme selector (block)

A block to quickly change themes. Great for theme developers!

[![Build Status](https://travis-ci.org/gjb2048/moodle-block_theme_selector.svg?branch=master)](https://travis-ci.org/gjb2048/moodle-block_theme_selector)

About
=====
* copyright © 2015-onwards G J Barnard in respect to modifications of original code:
Expand All @@ -29,41 +27,52 @@ This version works with:
- Moodle 3.8 version 2019111800.00 (Build: 20191118) and above within the 3.8 branch.
- Moodle 3.9 version 2020061500.00 (Build: 20200615) and above within the 3.9 branch.
- Moodle 3.10 version 2020110900.00 (Build: 20201109) and above within the 3.10 branch.
- Moodle 3.11 version 2021051700.00 (Build: 20210517) and above within the 3.11 branch.
- Moodle 4.0 version 2022041900.00 (Build: 20220419) and above within the 4.0 branch.
- Moodle 4.1 version 2022112800.00 (Build: 20221128) and above within the 4.1 branch.
- Moodle 4.2 version 2023042400.00 (Build: 20230424) and above within the 4.2 branch.
- Moodle 4.3 version 2023100900.00 (Build: 20231009) and above within the 4.3 branch.

Installing Moodle links
-----------------------
Please ensure that your hardware and software complies with 'Requirements' in 'Installing Moodle' on:
'docs.moodle.org/29/en/Installing_Moodle'
'docs.moodle.org/30/en/Installing_Moodle'
'docs.moodle.org/31/en/Installing_Moodle'
'docs.moodle.org/32/en/Installing_Moodle'
'docs.moodle.org/33/en/Installing_Moodle'
'docs.moodle.org/34/en/Installing_Moodle'
'docs.moodle.org/35/en/Installing_Moodle'
'docs.moodle.org/36/en/Installing_Moodle'
'docs.moodle.org/37/en/Installing_Moodle'
'docs.moodle.org/38/en/Installing_Moodle'
'docs.moodle.org/39/en/Installing_Moodle'
'docs.moodle.org/310/en/Installing_Moodle'
respectively.
- [Moodle 2.9](https://docs.moodle.org/29/en/Installing_Moodle)
- [Moodle 3.0](https://docs.moodle.org/30/en/Installing_Moodle)
- [Moodle 3.1](https://docs.moodle.org/31/en/Installing_Moodle)
- [Moodle 3.2](https://docs.moodle.org/32/en/Installing_Moodle)
- [Moodle 3.3](https://docs.moodle.org/33/en/Installing_Moodle)
- [Moodle 3.4](https://docs.moodle.org/34/en/Installing_Moodle)
- [Moodle 3.5](https://docs.moodle.org/35/en/Installing_Moodle)
- [Moodle 3.6](https://docs.moodle.org/36/en/Installing_Moodle)
- [Moodle 3.7](https://docs.moodle.org/37/en/Installing_Moodle)
- [Moodle 3.9](https://docs.moodle.org/38/en/Installing_Moodle)
- [Moodle 3.9](https://docs.moodle.org/39/en/Installing_Moodle)
- [Moodle 3.10](https://docs.moodle.org/310/en/Installing_Moodle)
- [Moodle 3.11](https://docs.moodle.org/311/en/Installing_Moodle)
- [Moodle 4.0](https://docs.moodle.org/400/en/Installing_Moodle)
- [Moodle 4.1](https://docs.moodle.org/401/en/Installing_Moodle)
- [Moodle 4.2](https://docs.moodle.org/402/en/Installing_Moodle)
- [Moodle 4.3](https://docs.moodle.org/403/en/Installing_Moodle)

Free Software
=============
The theme selector block is 'free' software under the terms of the GNU GPLv3 License, please see 'COPYING.txt'.

It can be obtained for free from:
https://github.com/gjb2048/moodle-block_theme_selector
https://github.com/gjbarnard/moodle-block_theme_selector

You have all the rights granted to you by the GPLv3 license. If you are unsure about anything, then the
FAQ - http://www.gnu.org/licenses/gpl-faq.html - is a good place to look.

If you reuse any of the code then I kindly ask that you make reference to the theme.

If you make improvements or bug fixes then I would appreciate if you would send them back to me by forking from
https://github.com/gjb2048/moodle-block_theme_selector and doing a 'Pull Request' so that the rest of the
https://github.com/gjbarnard/moodle-block_theme_selector and doing a 'Pull Request' so that the rest of the
Moodle community benefits.

Installation
============
1. Follow [Moodle's instructions for installing plugins](http://docs.moodle.org/29/en/Installing_plugins#Installation).
1. Follow Moodle's instructions for installing plugins, see: Installing Moodle links.
2. Turn editing mode on.
3. Go to Site administration -> Plugins -> Blocks -> Theme selector and decide if you want URL switching or not.
When URL Switching is off only users with the 'moodle/site:config' capability will be able to change themes.
Expand All @@ -80,5 +89,8 @@ See Changes.md
Me
==
G J Barnard MSc. BSc(Hons)(Sndw). MBCS. CEng. CITP. PGCE.
Moodle profile: http://moodle.org/user/profile.php?id=442195.
Web profile : http://about.me/gjbarnard

- Moodle profile | [Moodle.org](https://moodle.org/user/profile.php?id=442195)
- @gjbarnard | [X](https://twitter.com/gjbarnard)
- Web profile | [About.me](https://about.me/gjbarnard)
- Website | [Website](https://gjbarnard.co.uk)

0 comments on commit b89f95b

Please sign in to comment.