Benjamin Walker
f2b7d1c7dd
Display creation info on manage outage page
2026-01-25 13:41:57 +11:00
abhinavgandham
f0f3112ea1
Fixed PHPdoc.
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
073a682b01
CI codesniffer fixes.
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
7f968b2365
Issue #390 : Code cleanup to fix code standards codesniffer errors.
2026-01-12 17:18:47 +10:00
Brendan Heywood
1e3572be9f
Improve comments when blocked
2025-10-22 16:09:21 +11:00
jasondendulk
611c7a000c
Issue #378 : Add install check to before_standard_top_of_body_html_generation()
2025-09-16 08:54:15 +10: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
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
djarrancotleanu
0114db359b
Issue #358 : Use pix_icon to render icons
2025-01-30 10:50:43 +10:00
Niko Hoogeveen
3f79129774
Issue #358 : Added some extra styling for outage icons
2025-01-28 15:02:34 -05:00
djarrancotleanu
68959e336d
Fix #350 : Do not setcookie during unit tests
2024-11-25 15:42:36 +10:00
Jwalit Shah
e01fa3797e
[ #347 ] Fix typo in the title link
2024-10-16 11:49:56 +11: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
Matthew Hilton
bfa9569e3b
[ #340 ] Access key exclusion method
2024-08-19 14:31:14 +10:00
Matthew Hilton
97b118593d
cleanup: fixup to match coding standards
2024-08-05 15:22:03 +10:00
Benjamin Walker
541b2d4407
Implement new hook callbacks #334
2024-05-21 14:13:16 +10:00
ScottVerbeek
94afadac9d
issue #146 : display icon for calendar event
2024-01-05 13:22:12 +10:00
Srdjan
4aa5976ea8
Make Moodle linter happy. Mainly tests.
2023-07-04 15:04:30 +10:00
michaelkotlyar
755dcf8152
Improve date format method compatiability for PHP 8.1
2023-06-12 16:12:11 +12:00
Qihui Chan
89e2621bf6
Fix failed Github CI tests
2022-12-20 22:12:05 +10:00
Qihui Chan
9473db8c6e
Modify unit tests to declare expected output
2022-12-20 16:58:57 +10:00
Qihui Chan
b9cbf015ac
Add logging for maint mode config
2022-12-20 16:58:57 +10:00
Qihui Chan
b95fb97af5
Issue#308 Freeze the autostart in form if it is set in admin level config
2022-12-20 14:48:48 +10:00
Peterburnett
12f43447b7
Merge pull request #299 from catalyst/MOODLE_39_STABLE_ISSUE209
...
Issue#209 Remove as much db calls as possible in outage plugin
2022-07-26 14:21:45 +10:00
Qihui Chan
5465e5fe40
Issue#209 Remove db calls in get_active of outage
2022-07-25 11:13:25 +10:00
Sasha Anastasi
fe18931334
clibase.php: replace hardcoded admin userid
2022-07-22 10:34:52 +12:00
Jason den Dulk
c64a33c345
Issue #288 : Split allowed IPs settings into two.
...
Merge two settings when accessing config.
Bump version.
2022-04-28 09:47:58 +10:00
Anupama Dharmajan
1f5927c394
Add reusable workflows
2022-01-13 15:38:29 +11:00
Dmitrii Metelkin
94fc6fb540
Bypass permissions check when generating a static page to fix #263
2021-09-02 15:44:37 +10:00
Peter Burnett
34a716226e
Raised time limit for page generation
2021-07-28 10:09:00 +10:00
Andrew Madden
7c9bb96f1a
Closes #256 Add capability to control viewing outage info
2021-06-23 11:23:08 +10:00
Kateryna Degtyariova
17463f0d3e
Fix #234 pick up images from inline style background image.
2021-05-31 14:15:00 +10:00
Dan Marsden
207223fc2d
Merge pull request #250 from jcharaoui/fix-class-curl-not-found
...
Include filelib.php to fix class not found exception, fix #247
2021-05-06 10:22:40 +12:00
Dan Marsden
1f03af1968
Fix order of abstract/public - coding guideline failure.
2021-05-05 13:18:11 +12:00
Jerome Charaoui
84ad9759f4
Include filelib.php to fix class not found exception
2021-04-11 11:44:44 -04:00
Tomo Tsuyuki
a6bb7f4bc2
Fix #241 Do not render if layout are from some specific ones
2021-03-04 12:22:34 +11:00
Tomo Tsuyuki
07a8a41ad4
Partially fix #243 : fix codingcheck error and disable behat test
2021-03-04 12:02:57 +11:00
John Yao
116467429e
Fix issues for phpdoc check
...
Get rid of ci for moodle 37,38
2021-02-16 11:12:40 +11:00
Peter Burnett
7cd10ab05c
Updated DOM element matching to allow for "//" urls in images
2021-01-19 08:57:16 +10:00
Jamie Stamp
aab2af04e8
Fix code style violations
2020-11-06 09:32:23 +00:00
Jamie Stamp
42babf617b
Update inject method
2020-11-05 17:10:02 +00:00