Commit Graph
540 Commits
Author SHA1 Message Date
Vlad Kidanov 0da0542663 Merge pull request #420 from catalyst/general-fixes-501
Bug fixes and improvements
2026-08-05 10:05:41 +01:00
vlad.kidanov a093165caf Bug fixes and improvements
WR492688: Issue #32

Fix: the 'static' flag can no longer be set from a raw client value. It
is now only true if the request presents a 'statickey' matching an
HMAC-SHA256 of the outage id keyed with a per-site secret
(infopage::statickey(), lazily generated via set_config()/get_config()).
maintenance_static_page::create_from_outage() now sends that computed
statickey instead of static=1 when it internally fetches info.php, so
the legitimate static-generation path keeps working while external
forgery of the flag is no longer possible.

WR492688: Issue #33

WR492688: Version bump

Bug fixes and improvements

WR492688: Issue #32

Fix: the 'static' flag can no longer be set from a raw client value. It
is now only true if the request presents a 'statickey' matching an
HMAC-SHA256 of the outage id keyed with a per-site secret
(infopage::statickey(), lazily generated via set_config()/get_config()).
maintenance_static_page::create_from_outage() now sends that computed
statickey instead of static=1 when it internally fetches info.php, so
the legitimate static-generation path keeps working while external
forgery of the flag is no longer possible.

WR492688: Issue #33

WR492688: Version bump

fix
2026-07-20 14:51:01 +01:00
cameron1729 85d0657563 Merge pull request #418 from catalyst/fix-502-forcelogin-tests
Fix outage step test by forcing login default to off
2026-07-16 01:41:52 +08:00
Cameron Ball 88667c51e4 Fix outage step test by forcing login default to off 2026-07-16 01:37:04 +08:00
Sarah Cotton 5dd73b0909 Merge pull request #411 from sarahjcotton/WR489688-security-fix-501
WR489688: Security fix #30
2026-07-13 14:02:23 +01:00
Sarah Cotton 1a94b8e635 WR489688: Security fix #30 2026-06-25 15:10:18 +01:00
Tomo Tsuyuki 40fccef237 Revert "Fix URL is blocked message when not behind a proxy/load balancer"
This reverts commit 51db933862.
2026-06-18 12:00:11 +10:00
Tomo Tsuyuki dbc8e75092 issue #405: fix unit test failure 2026-06-18 10:02:04 +10:00
abhinavgandham 54eca9e3a1 Fixed examples table syntax in default settings behat file. 2026-01-22 19:48:35 +11:00
abhinavgandham e4be98f482 Removed more tests that are not needed. 2026-01-22 19:48:35 +11:00
abhinavgandham 2e2692facd Removed maintanance mode tests. 2026-01-22 19:48:35 +11:00
abhinavgandham e653bc4365 Removed maintenance later code in outagelib so that site does not go into hard cli mode when outage starts. 2026-01-22 19:48:35 +11:00
abhinavgandham 74de81ef7c Fixed PHPUnit test errors and failures. 2026-01-22 19:48:35 +11:00
abhinavgandham 990152f439 Fixed upgrade step. 2026-01-22 19:48:35 +11:00
abhinavgandham 5e0a3c015d Modified unit tests to remove autostart, and quickstart guide and readme. 2026-01-22 19:48:35 +11:00
abhinavgandham bf51ff6de9 Version bump and codechecker fixes. 2026-01-22 19:48:35 +11:00
abhinavgandham 6ca7cb6d7e Issue #390: Reverted new 'Force off' option and dropdown conversion. 2026-01-22 19:48:35 +11:00
Matthew Hilton 83cb36660b Merge pull request #400 from catalyst/issue-387-m501
Issue 387: Add metadata header to outage pages
2026-01-19 14:09:47 +10:00
Peter Burnett 2a7556eb75 chore: ci Fixes 2026-01-19 13:56:09 +10:00
Peter Burnett 425ef963fb Issue 387: Add metadata header to outage pages 2026-01-19 13:26:06 +10:00
Brendan Heywood b63af0465e Merge pull request #398 from catalyst/MOODLE_501_issue390
Issue #390: Changed outage auto-start default parameter from checkbox to dropdown with option to fully disable.
2026-01-15 20:17:37 +11:00
abhinavgandham a8d496121f Fixed default parameter in configselect and updated 'Force off' lang string. 2026-01-15 16:32:39 +10:00
abhinavgandham fdd5569324 Formatting fixes. 2026-01-15 14:10:23 +10:00
abhinavgandham a32c923aaa Included logic for 'Force off' setting. 2026-01-15 14:00:45 +10:00
abhinavgandham a96035be92 Issue #390: Changed outage auto-start default parameter from checkbox to dropdown with option to fully disable. 2026-01-14 13:36:54 +10:00
Brendan Heywood 0105891b2e Update README.md 2026-01-13 14:34:46 +10:00
Brendan Heywood 3fca6fe0af Merge pull request #396 from catalyst/MOODLE_501_branchtablefix
Issue #390: Fixed branch table formatting and github actions ci link to point to 5.1 in `README.md`.
2026-01-13 15:33:55 +11:00
abhinavgandham 79b7a0fa59 Issue #390: Fixed branch table formatting and github actions ci link to point to 5.1 in readme. 2026-01-13 14:06:55 +10:00
Brendan Heywood 59b6c63252 Fixed code standards 2026-01-13 14:48:59 +11:00
Brendan Heywood 8a204a9b25 Merge pull request #395 from catalyst/MOODLE_501_versionfix
Issue #390: fixed version.php plugin version, release and required moodle version.
2026-01-13 13:14:32 +11:00
abhinavgandham 245bc347d4 Added new line at the end of version.php. 2026-01-13 12:03:06 +10:00
abhinavgandham cc09171e82 Fixed comments indentation. 2026-01-13 11:47:11 +10:00
abhinavgandham c0ea1c1261 Issue #390: fixed version.php plugin version, release and required moodle version. 2026-01-13 11:31:09 +10:00
Brendan Heywood 2c25292a40 Merge pull request #393 from catalyst/MOODLE_501_codecleanup
Issue #390: Code cleanup to fix code standards codesniffer errors.
2026-01-12 17:56:13 +11:00
abhinavgandham 2b30fca670 Changed require_once path in behat_auth_outage.php 2026-01-12 16:23:44 +10:00
abhinavgandham 1183420b3b Issue #390: Code cleanup to fix code standards codesniffer errors. 2026-01-12 15:08:32 +10:00
Guillaume 845a370d6f Fix #314: Switch optional_param starttime to optional_param_array (#384)
* Fix #314: Switch optional_param starttime to optional_param_array

* convert default startime to timestamp

* fix error debug warning
2025-12-03 17:40:42 +11:00
Brendan Heywood 329c635b3a Merge pull request #385 from catalyst/fix-define-5-1
Fix bootstrap define #352
2025-11-29 16:46:26 +11:00
Brendan Heywood b932792cb0 Fix bootstrap define #352 2025-11-29 15:53:06 +11:00
Brendan Heywood 8bdfa9e222 Merge pull request #381 from catalyst/tweak-comment
Improve comments when blocked
2025-10-22 15:08:20 +10:00
Brendan Heywood 77ee908aed Improve comments when blocked 2025-10-22 14:19:54 +11:00
Dan Marsden 1e40a209b0 Merge pull request #380 from aspark21/patch-1
5.1+ path has changed due to MDL-83424
2025-09-22 02:45:37 +01:00
Dan Marsden 361250ed49 Moodle 5.1 branch. 2025-09-22 13:36:28 +12:00
Alistair Spark 0fd6a20e8e 5.1+ path has changed due to MDL-83424 2025-09-21 18:47:19 +01:00
Jason den Dulk 0222741c3d Merge pull request #379 from catalyst/378-add-install-check
Issue #378: Add install check to before_standard_top_of_body_html_generation()
2025-09-16 18:25:43 +10:00
jasondendulk 611c7a000c Issue #378: Add install check to before_standard_top_of_body_html_generation() 2025-09-16 08:54:15 +10:00
Kevin Pham f994a97a7d Merge pull request #369 from catalyst/368-clean-ob
[#368] Ensure output buffer is empty before serving files
2025-02-27 11:27:51 +11:00
Matthew Hilton da0f7c5865 [#368] Ensure output buffer is empty before serving files 2025-02-27 08:30:43 +10:00
Dan Marsden da080f8d65 Merge pull request #367 from SashaAnastasi/MOODLE_39_STABLE-phpunit10
outagelib: adjust exception trigger for phpunit10
2025-02-20 14:33:42 +13:00
Sasha Anastasi b01dd8723e remove superfluous conditional 2025-02-20 14:17:15 +13:00