Commit Graph

113 Commits

Author SHA1 Message Date
Daniel Thee Roperto
e6a2231ba1 Issue #33 - Refactored code, created infopage_controller to control the display of an info page. 2016-09-21 11:23:23 +10:00
Daniel Thee Roperto
6824127624 Issue #23 - Generate a static template page every time an outage is created, updated or deleted. 2016-09-20 16:43:42 +10:00
Daniel Thee Roperto
edbbc2dd83 Added full phpunit coverage for classes in: cli and event 2016-09-19 20:05:21 +10:00
Daniel Thee Roperto
2959719c58 Minor changes in outagelib, added PhpDocs and simplified MOODLE_INTERNAL check. 2016-09-19 18:31:13 +10:00
Daniel Thee Roperto
6a81fd6304 Issue #37 - Ensure exceptions in the inject code, executed in virtually all pages, does not put the whole site down. 2016-09-19 18:17:44 +10:00
Daniel Thee Roperto
54b72de472 Issue #39 - Minor UI changes. 2016-09-19 17:50:43 +10:00
Daniel Thee Roperto
6de4f3b82a Merge branch 'issue38-getconfig' 2016-09-19 16:03:44 +10:00
Daniel Thee Roperto
a2d9f33a4c Merge branch 'issue27-cli' 2016-09-19 16:02:30 +10:00
Daniel Thee Roperto
2670485341 Issue #27 - Changed deltas for CLI from minutes to seconds. 2016-09-19 15:55:57 +10:00
Daniel Thee Roperto
671e7d5f67 Issue #38 - Ensuring we always have default values for plugin config. 2016-09-19 15:44:09 +10:00
Daniel Thee Roperto
f0ae7b8410 Issue #30 - Fixed stage values and broken tests. 2016-09-19 13:13:03 +10:00
Daniel Thee Roperto
f569157368 Issue #27 - CLI implemented. Added full test coverage to CLI classes. 2016-09-19 12:05:10 +10:00
Daniel Thee Roperto
2cfda63922 Issue #30 - Add finished flag to mark the real time that an outage was finished. 2016-09-15 18:24:36 +10:00
Daniel Thee Roperto
7ca44c74ab Fixed code inspections, missing phpdocs and code standards. 2016-09-15 14:01:45 +10:00
Daniel Thee Roperto
6041d945e1 Issue #29 - Fixed javascript error in jshint for Moodle 27 and 28. 2016-09-14 13:57:32 +10:00
Daniel Thee Roperto
5e873d766c Issue #29 - Fixed javascript redirection. 2016-09-14 13:41:45 +10:00
Daniel Thee Roperto
8648fc5d49 Merge branch 'issue29-polishingbar' 2016-09-14 13:24:01 +10:00
Daniel Thee Roperto
aa378633f9 Issue #29 - UI improvements such as warning bar styling and texts. 2016-09-14 13:00:18 +10:00
Daniel Thee Roperto
da39a78ca8 Issue #23 - Added option to clone an outage. 2016-09-13 17:41:10 +10:00
Daniel Thee Roperto
92681c7ec4 Issue #26 - Added the option to preview how a warning bar will look before and during an outage. 2016-09-13 17:26:21 +10:00
Daniel Thee Roperto
9cc954961a Merge branch 'master' into issue26-previewparams 2016-09-13 13:02:34 +10:00
Daniel Thee Roperto
feaca1d78e Issue #26 - Preview warning bar with parameters auth_outage_preview and auth_outage_delta 2016-09-13 12:58:01 +10:00
Daniel Thee Roperto
4451240807 Fixed warningbar.php formatting. 2016-09-13 12:27:40 +10:00
Daniel Thee Roperto
b636958e5b Fixed phpunit test for outage object. 2016-09-13 12:25:01 +10:00
Daniel Thee Roperto
46a503e383 Issue #28 - Inverted warning bar texts -- focus on countdown. 2016-09-12 18:32:16 +10:00
Daniel Thee Roperto
b8c08192d1 Issue #28 - Added hints for the edit outage form. 2016-09-12 18:22:50 +10:00
Daniel Thee Roperto
cbbb861fd8 Issue #8 - Fixed failing phpunit tests. 2016-09-12 17:52:08 +10:00
Daniel Thee Roperto
f05360bfc3 Issue #8 - Added calendar synchronization. 2016-09-12 16:32:13 +10:00
Daniel Thee Roperto
f109c0a5f7 Issue #11 - Added {{duration}} placeholder, changed default title. 2016-09-12 14:26:10 +10:00
Daniel Thee Roperto
928b72ba08 Issue #11 - Date time formating. 2016-09-12 14:05:45 +10:00
Daniel Thee Roperto
ee771daecf Issue #11 - Small fixed as suggested by Brendan. 2016-09-12 13:57:33 +10:00
Daniel Thee Roperto
25abb3ae82 Issue #11 - Manage lists outages in separate tables. 2016-09-12 12:58:16 +10:00
Daniel Thee Roperto
22f85930ce Issue #11 - TDD to get future and past outages (outagedb). 2016-09-12 12:10:22 +10:00
Daniel Thee Roperto
9f2c5b08d8 Issue #11 - Solved tests for outagedb get_all_active. 2016-09-12 11:53:42 +10:00
Daniel Thee Roperto
e13bc05f5e Issue #11 - Tests for outagedb get_all_active. 2016-09-12 11:49:11 +10:00
Daniel Thee Roperto
0d8ab19f83 Issue #11 - Renderer refactored. 2016-09-12 11:28:56 +10:00
Daniel Thee Roperto
96f9bb7ec2 Issue #11 - Standard manage table implemented, all outages still on the same table. 2016-09-12 11:12:12 +10:00
Daniel Thee Roperto
7edefc8462 BugFix - Fixed a problem that would not allow admins to use the system while in maintenance. 2016-09-12 09:55:57 +10:00
Daniel Thee Roperto
4462a9c07b Bugfix - Fixed problem preventing the creation of a new outage. 2016-09-12 09:53:50 +10:00
Daniel Thee Roperto
cf78e2e180 Issue #15 - If admin, do not redirect -- stop at 0:00:00. 2016-09-09 16:22:19 +10:00
Daniel Thee Roperto
4c4df53402 Issue #15 - Added countdown to navbar, redirect to info.php when ended. 2016-09-09 15:57:24 +10:00
Daniel Thee Roperto
64d09721cf Fixed form edit set_data() signature. Issue #17. 2016-09-09 12:12:52 +10:00
Daniel Thee Roperto
b1e001427b Fixed missing newlines at end of files. Issue #17. 2016-09-09 11:45:20 +10:00
Daniel Thee Roperto
6bb9320ef6 Outage remodelled both in DB and PHP Class. Issue #17. 2016-09-09 11:39:44 +10:00
Daniel Thee Roperto
4e46e934d0 WIP Issue #17 - Settings page done, missing forms and other references to warning duration and stop time. 2016-09-08 17:25:28 +10:00
Daniel Thee Roperto
07ee61f4f3 Issue #20 - Allow changing also past and present outages. 2016-09-08 15:23:15 +10:00
Daniel Thee Roperto
b8b3dc7f05 Merge branch 'master' of github.com:catalyst/moodle-auth_outage 2016-09-08 14:58:06 +10:00
Daniel Thee Roperto
2b862b44b2 Issue #13 - Added link to edit outage from info page. 2016-09-08 14:54:42 +10:00
Daniel Thee Roperto
54e6c40565 Issue #13 - Removed continue button from info page. Link to outage in warning bar opens in new tab. 2016-09-08 14:43:45 +10:00
Brendan Heywood
b4edc0e94a Lang tweak 2016-09-08 14:37:44 +10:00