Dan Marsden
|
3639883d30
|
Don't use curl when running behat tests to get page outage.
Behat step improvements.
|
2018-10-05 13:45:08 +13:00 |
|
Dan Marsden
|
6c69d46ebe
|
Fix some behat steps.
|
2018-10-05 11:49:59 +13:00 |
|
Dan Marsden
|
c175333f88
|
Remove incorrect usage of example.com in tests.
remove http part of test - site might be https.
|
2018-10-03 22:55:09 +13:00 |
|
Dan Marsden
|
3e5446d8d1
|
tidy up coding guideline travis failures.
|
2018-10-03 22:10:39 +13:00 |
|
Dan Marsden
|
a33e80b4aa
|
Coding guidelines - tidy up some spacing in behat tests.
|
2018-10-03 15:46:11 +13:00 |
|
Dan Marsden
|
20df09d3e9
|
Revert "Temporarly disabling one scenario test, see Issue #68."
This reverts commit 42fec9e752.
|
2018-10-03 15:28:03 +13:00 |
|
Dan Marsden
|
ff59dac023
|
Revert "Travis is freezing with a few behat tests which creates outages. It works fine locally both manually and with selenium. Ignoring tests and opening issue #77 to deal with it later as the code works fine."
This reverts commit fc2349f312.
|
2018-10-03 15:27:21 +13:00 |
|
Dan Marsden
|
07e26e312c
|
Convert deprecated pix_url calls.
|
2018-10-03 15:10:59 +13:00 |
|
Daniel Thee Roperto
|
8036147931
|
Issue #129 - Stop maintenance after stoptime.
|
2018-04-26 16:00:11 +10:00 |
|
Daniel Thee Roperto
|
249f7cb78b
|
Making it compatible with Moodle 32+.
|
2017-09-06 13:35:58 +10:00 |
|
Daniel Thee Roperto
|
95cec83970
|
Fixed code style.
|
2017-05-19 09:41:57 +10:00 |
|
Daniel Thee Roperto
|
0b17efedba
|
Issue #104 - Allowed symlinks in dataroot, added unit tests.
|
2017-02-20 13:59:24 +11:00 |
|
Daniel Thee Roperto
|
0380c6ebec
|
Outage now honours ABORT_AFTER_CONFIG CLI_SCRIPT AJAX_SCRIPT and WS_SERVER
|
2016-12-21 14:38:31 +11:00 |
|
Daniel Thee Roperto
|
0ad53cde87
|
Added warning to manage outages page if host is not configured (inaccessible wwwroot).
|
2016-12-16 16:07:29 +11:00 |
|
Daniel Thee Roperto
|
6efbb0c2c7
|
Refactored tests.
|
2016-12-16 10:23:52 +11:00 |
|
Daniel Thee Roperto
|
38b1b5fe72
|
Issue #85 - Only remove additionalhtml if in the appropriate settings section.
|
2016-12-14 11:25:44 +11:00 |
|
Daniel Thee Roperto
|
7946dccd5e
|
Issue #88 - Injection should be prevented in settings even if symlinks are used.
|
2016-12-14 11:20:58 +11:00 |
|
Daniel Thee Roperto
|
32f48a2133
|
Issue #82 - Recreate templates when settings (allowed ips or blocks removed) is updated.
|
2016-12-05 11:48:13 +11:00 |
|
Daniel Thee Roperto
|
2f0d54c943
|
Fixed failing tests on Moodle before 30 (related to MDL-56250).
|
2016-11-18 10:03:19 +11:00 |
|
Daniel Thee Roperto
|
fc2349f312
|
Travis is freezing with a few behat tests which creates outages. It works fine locally both manually and with selenium. Ignoring tests and opening issue #77 to deal with it later as the code works fine.
|
2016-11-15 12:25:04 +11:00 |
|
Daniel Thee Roperto
|
7f264a85da
|
Code cleanup to meet code standards.
|
2016-11-14 19:20:46 +11:00 |
|
Daniel Thee Roperto
|
5961e82b85
|
Issue #22 - Self-refresh maintenance page every 5 minutes or the outage duration, whatever is lower.
|
2016-11-14 15:43:57 +11:00 |
|
Daniel Thee Roperto
|
3360d357d4
|
Added warnings in case plugin is not properly configured.
|
2016-11-14 15:02:30 +11:00 |
|
Daniel Thee Roperto
|
27c7558e57
|
Issue #22 - Added setting and implemented removing elements by basic CSS selector (only simple .class and #id can be used as of now).
|
2016-11-14 11:35:08 +11:00 |
|
Daniel Thee Roperto
|
0c97b4be01
|
Applying moodle coding standards.
|
2016-11-10 19:29:43 +11:00 |
|
Daniel Thee Roperto
|
33be3eef86
|
Refactored maintenance_static_page.php due to high complexity (more than 50).
|
2016-11-10 19:06:18 +11:00 |
|
Daniel Thee Roperto
|
af2e76e972
|
Issue #22 - Fetching url() inside CSS files.
|
2016-11-10 17:06:56 +11:00 |
|
Daniel Thee Roperto
|
4232ce1b6e
|
Issue #22 - Auto-detect mime types.
|
2016-11-10 15:03:07 +11:00 |
|
Daniel Thee Roperto
|
24759fe280
|
Issue #22 - Allowing tests to point to a file when a local URL was found. It will be used to test parsed contents later (parse CSS for example).
|
2016-11-10 14:04:05 +11:00 |
|
Daniel Thee Roperto
|
db6afa4c48
|
Issue #22 - Refactored to allow hooks in bootstrap.php instead of fetching the file from there.
|
2016-11-09 18:42:51 +11:00 |
|
Daniel Thee Roperto
|
afd17994fe
|
Issue #22 - Infopage now is not responsible for generating a static page anymore, hooked into maintenance_static_page.
|
2016-11-09 14:35:56 +11:00 |
|
Daniel Thee Roperto
|
146ad61ede
|
Issue #22 - Added PHPDocs.
|
2016-11-09 13:38:20 +11:00 |
|
Daniel Thee Roperto
|
cd3433655e
|
Issue #22 - Refactored maintenance_static_page and allowed generate preview page (different location than main template).
|
2016-11-09 13:26:55 +11:00 |
|
Daniel Thee Roperto
|
f086fc1af7
|
Issue #22 - Added headers to cache files and changed filenames to a sha1 hash of its contents.
|
2016-11-09 11:35:05 +11:00 |
|
Daniel Thee Roperto
|
6f4b6d3240
|
Issue #22 - WIP - Basic replacement for styles and images.
|
2016-11-08 18:49:54 +11:00 |
|
Daniel Thee Roperto
|
54c43d2508
|
Issue #2 - IP Block implementation.
|
2016-11-07 15:24:23 +11:00 |
|
Daniel Thee Roperto
|
42fec9e752
|
Temporarly disabling one scenario test, see Issue #68.
|
2016-11-02 18:16:35 +11:00 |
|
Daniel Thee Roperto
|
d37c0ce3e8
|
Fixed warnings, behat error and deprecated warnings.
|
2016-11-02 16:53:44 +11:00 |
|
Daniel Thee Roperto
|
f1b5959aff
|
Issue #65 - The additionalhtmltopofbody was being actually set with content when editing.
|
2016-10-21 11:31:09 +11:00 |
|
Daniel Thee Roperto
|
e07ae94cd2
|
Fixed PHPUnit table problem after uninstalling plugin.
|
2016-10-19 12:20:20 +11:00 |
|
Daniel Thee Roperto
|
e6f983e141
|
Issue #63 - Fixed calendar_test.php warnings.
|
2016-10-19 10:32:22 +11:00 |
|
Daniel Thee Roperto
|
38dbb6deaa
|
Issue #64 - Fixed problems detected by Behat test.
|
2016-10-19 10:30:26 +11:00 |
|
Daniel Thee Roperto
|
6985d33dc6
|
Issue #57 - Calendar entry not removed on uninstall -- Fixed failing unit tests.
|
2016-10-18 14:49:59 +11:00 |
|
Daniel Thee Roperto
|
f652c9ecf0
|
Issue #57 - Calendar entry not removed on uninstall.
|
2016-10-18 14:05:05 +11:00 |
|
Daniel Thee Roperto
|
fa2228697d
|
Behat will fail with Moodle 27, 28, 29 because the local/outage plugin is required for those versions. Removed those versions from behat tests.
|
2016-10-17 13:55:20 +11:00 |
|
Daniel Thee Roperto
|
59bedb3168
|
Fixed behat problem with the 'execute' function.
|
2016-10-17 13:22:45 +11:00 |
|
Daniel Thee Roperto
|
35bff58ac3
|
Fixed behat steps and features to comply with behat 2.5 (until Moodle 30).
|
2016-10-17 10:01:35 +11:00 |
|
Daniel Thee Roperto
|
50689c3b4c
|
Version 1.0.2 - Updated code standards to comply with Moodle CI Bot checks.
|
2016-10-12 15:04:30 +11:00 |
|
Daniel Thee Roperto
|
c7b0cc2410
|
Issue #36 - Fixed missing or inconsistent PhpDocs. Version is now: 1.0.1
|
2016-10-04 16:07:40 +11:00 |
|
Daniel Thee Roperto
|
2903326d0d
|
Issue #36 - Changed english titles to conform with plugin contribution checklist.
|
2016-10-03 11:15:19 +11:00 |
|