Vlad Kidanov
76f76dc634
Merge pull request #421 from catalyst/general-fixes-t19
...
Bug fixes and improvements
2026-08-05 10:06:02 +01:00
vlad.kidanov
a4ee55c83e
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:58:28 +01:00
Sarah Cotton
b5f02de0c5
Merge pull request #414 from sarahjcotton/WR489688-security-fix-t19
...
WR489688: General fix #30
2026-07-14 14:09:03 +01:00
Sarah Cotton
ff63eb4233
WR489688: ci fixes
2026-06-25 15:30:40 +01:00
Sarah Cotton
7b2106555b
WR489688: Security fix #30
2026-06-25 15:12:58 +01:00
Dan Marsden
f45918a277
Merge pull request #371 from SashaAnastasi/TOTARA_19-fixes
...
Totara 19 fixes
2025-03-04 16:17:49 +13:00
Sasha Anastasi
478d0fc5c1
Run class in separate process ensuring tearDown method gets called
2025-03-04 08:18:47 +13:00
Sasha Anastasi
ca4a202752
Remove redundant use statements with non-compound name
2025-03-04 08:17:04 +13:00
Sasha Anastasi
25b9e553a5
update test fixture path
2025-02-27 15:33:10 +13:00
Sasha Anastasi
5cc215d819
add tearDown method to base runtest
2025-02-27 15:32:25 +13:00
Dan Marsden
e8c00be2dd
Merge pull request #370 from SashaAnastasi/TOTARA_19-t19_fixes
...
[T19] Fixes for totara19
2025-02-27 14:27:17 +13:00
Sasha Anastasi
ca213e4c04
flatten test directory structure
2025-02-27 10:17:25 +13:00
Sasha Anastasi
eac1575f51
use imports instead of namespaces
2025-02-27 09:09:06 +13:00
Sasha Anastasi
cff0f3fbe3
update test classes
2025-02-27 08:59:31 +13:00
Sasha Anastasi
ffb9e27456
add tearDown method to runtests
2025-02-26 16:40:41 +13:00
Dan Marsden
f842e2baa4
Merge pull request #366 from SashaAnastasi/TOTARA_19-phpunit10
...
outagelib: adjust exception trigger for phpunit10
2025-02-20 14:46:57 +13:00
Sasha Anastasi
f3d91cb044
remove superfluous conditional
2025-02-20 14:36:26 +13:00
Sasha Anastasi
a63ffed1bc
outagelib: adjust exception trigger for phpunit10
2025-02-20 12:33:01 +13:00
Dan Marsden
c99d8f12a0
Merge pull request #364 from catalyst/fix-t19-tests
...
[T19] Replace deprecated testcase classes with core_phpunit
2025-02-19 10:55:09 +13:00
Sasha Anastasi
d3b5ed73aa
Replace deprecated testcase classes with core_phpunit
2025-02-18 15:12:09 +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
Matthew Hilton
bfa9569e3b
[ #340 ] Access key exclusion method
2024-08-19 14:31:14 +10:00
Rossco Hellmans
abcb087a58
Merge pull request #342 from catalyst/fixup-ci-and-codingstandards
...
cleanup: fixup to match coding standards
2024-08-09 10:59:49 +10:00
Matthew Hilton
97b118593d
cleanup: fixup to match coding standards
2024-08-05 15:22:03 +10:00
Benjamin Walker
dae83f45ba
Change hook callback to string #336 ( #337 )
2024-05-24 15:56:32 +10:00
Brendan Heywood
c9b5a9ad92
Merge pull request #335 from catalyst/add-hook-callbacks-334
...
Implement new hook callbacks #334
2024-05-21 00:32:53 -05:00
Benjamin Walker
541b2d4407
Implement new hook callbacks #334
2024-05-21 14:13:16 +10:00
Dan Marsden
e281b59eb4
Merge pull request #331 from catalyst/330-fix-grammar-in-langstring
...
fix: small grammatical issue for default description
2024-03-22 18:39:27 +13:00
Kevin Pham
b90d17d84a
fix: small grammatical issue for default description
...
In speaking, we use a /ə/ before a consonant sound.
Resolves #330
2024-03-22 16:32:41 +11:00
Kevin Pham
24678ab31e
Merge pull request #329 from catalyst/issue-328-remove-fontawesome-map
...
issue #328 : remove unused fontawesome icon map
2024-01-05 14:33:54 +11:00
ScottVerbeek
94afadac9d
issue #146 : display icon for calendar event
2024-01-05 13:22:12 +10:00
ScottVerbeek
57b5a229c0
issue #328 : remove unused fontawesome icon map
2024-01-04 15:32:56 +10:00