Commit Graph

519 Commits

Author SHA1 Message Date
abhinavgandham
b2c3fbd7b2 Removed more tests that are not needed. 2026-01-22 22:15:35 +11:00
abhinavgandham
840d2c39d9 Removed maintanance mode tests. 2026-01-22 22:15:35 +11:00
abhinavgandham
ddd56cd93f Removed maintenance later code in outagelib so that site does not go into hard cli mode when outage starts. 2026-01-22 22:15:35 +11:00
abhinavgandham
7d779f8fe9 Fixed PHPUnit test errors and failures. 2026-01-22 22:15:35 +11:00
abhinavgandham
ac29a02402 Modified unit tests to remove autostart, and quickstart guide and readme. 2026-01-22 22:15:35 +11:00
abhinavgandham
ffda33329c Codechecker fixes and removed other comments. 2026-01-22 22:15:35 +11:00
abhinavgandham
0bff6f5145 Issue #390: Reverted new 'Force off' option and dropdown conversion. 2026-01-22 22:15:35 +11:00
Matthew Hilton
bffd5f39f9 Merge pull request #388 from catalyst/issue-387
Issue 387: Add metadata header to outage pages
2026-01-19 12:47:02 +10:00
Peter Burnett
fcb2a681e7 Issue 387: Add metadata header to outage pages 2026-01-19 12:19:21 +10:00
abhinavgandham
59a62c4aa4 micro-bumped version in version.php. 2026-01-16 12:52:05 +11:00
abhinavgandham
073a682b01 CI codesniffer fixes. 2026-01-16 12:52:05 +11:00
abhinavgandham
da18e31dab Fixed default parameter in configselect and updated 'Force off' lang string. 2026-01-16 12:52:05 +11:00
abhinavgandham
1ef47a6233 Included logic for 'Force off' setting. 2026-01-16 12:52:05 +11:00
abhinavgandham
551a97142c Issue #390: Changed outage auto-start default parameter from checkbox to dropdown with option to fully disable. 2026-01-16 12:52:05 +11:00
Brendan Heywood
ceee32d889 Merge pull request #397 from catalyst/MOODLE_39_branchtable_unsupportedversion_fix
#Issue 390: Fixed branch table in readme and added version 501 as incompatible.
2026-01-13 16:51:12 +11:00
abhinavgandham
149223d10f #Issue 390: Fixed branch table in readme and added version 501 as incompatible. 2026-01-13 14:51:54 +10:00
Brendan Heywood
42b6ec3c87 Fix code standards 2026-01-13 14:50:05 +11:00
Brendan Heywood
6792b03ab0 Merge pull request #394 from catalyst/MOODLE_39_codecleanup
Issue #390: Code cleanup to fix code standards codesniffer errors.
2026-01-12 18:34:15 +11:00
abhinavgandham
7f968b2365 Issue #390: Code cleanup to fix code standards codesniffer errors. 2026-01-12 17:18:47 +10:00
Guillaume
42dbec5b4d Fix #314: Switch optional_param starttime to optional_param_array (#383)
* Fix #314: Switch optional_param starttime to optional_param_array

* convert default startime to timestamp

* fix error debug warning
2025-12-03 17:39:53 +11:00
Brendan Heywood
5d064a0bec Merge pull request #353 from catalyst/fix-define
Fix bootstrap define #352
2025-11-29 16:46:21 +11:00
Brendan Heywood
d16ae47a5f Fix bootstrap define #352 2025-11-29 15:51:50 +11:00
Brendan Heywood
1e3572be9f Improve comments when blocked 2025-10-22 16:09:21 +11: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
Sasha Anastasi
99452cb4f3 outagelib: adjust exception trigger for phpunit10 2025-02-20 13:01:11 +13:00
Dan Marsden
6e70c45547 Update README.md with latest supported branches. 2025-02-19 10:59:04 +13:00
Matthew Hilton
03362c084c Merge pull request #362 from catalyst/fix-blocked-url
Fix URL is blocked message when not behind a proxy/load balancer
2025-02-11 09:02:02 +10:00
Rossco Hellmans
51db933862 Fix URL is blocked message when not behind a proxy/load balancer
When there is no proxy/load balancer and curlsecurityblockedhosts is set to
default (i.e. has 127.0.0.1 in it) fetching the outage page will result in
a "The URL is blocked." message. This resolves that issue by passing
ignoresecurity to the curl object.
2025-02-10 16:36:34 +10:00
Misha Golenkov
11fbe64c46 Merge pull request #361 from catalyst/359-MOODLE_39_STABLE-fix
Issue #358: Use pix_icon to render icons
2025-01-30 13:32:00 +11:00
djarrancotleanu
0114db359b Issue #358: Use pix_icon to render icons 2025-01-30 10:50:43 +10:00
Djarran Cotleanu
aedf7a5a17 Merge pull request #359 from niko-hoogeveen/MOODLE_39_STABLE-issue358
Issue #358: Added some extra styling for outage icons
2025-01-30 09:25:36 +10:00
Niko Hoogeveen
3f79129774 Issue #358: Added some extra styling for outage icons 2025-01-28 15:02:34 -05:00
Dmitrii Metelkin
43d82333ca Merge pull request #355 from catalyst/issue354-39
Fix #354
2025-01-15 15:40:55 +11:00
david adamson
0dfede6084 Fix #354 2025-01-15 14:09:28 +11:00
Brendan Heywood
7f55f5d403 Merge pull request #351 from catalyst/issue-350-MOODLE_39_STABLE-test-errors
Fix #350: Do not setcookie during unit tests
2024-11-28 07:32:42 +11:00
djarrancotleanu
2a55769a86 Fix #350: Update unit tests with changes made to climaintenance.php 2024-11-27 09:55:51 +10:00
djarrancotleanu
68959e336d Fix #350: Do not setcookie during unit tests 2024-11-25 15:42:36 +10:00
Scott Verbeek
386a623bb3 Merge pull request #348 from catalyst/issue-347
[#347] Fix typo in the title link
2024-10-16 11:07:39 +10:00
Jwalit Shah
e01fa3797e [#347] Fix typo in the title link 2024-10-16 11:49:56 +11:00
Dan Marsden
5aac578c98 Merge pull request #346 from catalyst/fix343
Fix343
2024-10-01 11:44:20 +13:00
Dan Marsden
329e92445c Add supported 405 branch. 2024-10-01 10:27:31 +13:00
Dan Marsden
07d4fc89b8 Fix #343 - rename function to prevent unit test failure in 4.5 2024-10-01 10:25:56 +13:00
Matthew Hilton
a40e198d3e Merge pull request #345 from catalyst/access-key-fix
Fix: make access key and allowed ips OR conditional
2024-09-30 10:44:32 +10:00
Rossco Hellmans
c5485849d5 Fix: make access key and allowed ips OR conditional
Access keys and allowed IPs should be indpendant of each other and when
at least one of them is satisfied the user should be allowed in.
2024-09-27 12:34:47 +10:00
Rossco Hellmans
cba55cdc69 Merge pull request #341 from catalyst/access-key
[#340] Access key exclusion method
2024-08-20 10:26:53 +10:00