Commit Graph

47 Commits

Author SHA1 Message Date
golenkovm
015300d098 Slow down warning bar checkfinished calls (#280)
* Slow down warning bar checkfinished calls

* Fix coding style after review
2022-01-28 09:58:03 +11:00
Mikhail Golenkov
c55b9271c4 Fix banner overlap 2021-03-25 13:20:51 +11:00
Jamie Stamp
aab2af04e8 Fix code style violations 2020-11-06 09:32:23 +00:00
Brendan Heywood
9ed0b74112 Added next 3 available window button for new outages #163 2020-03-26 01:30:03 +11:00
Mikhail Golenkov
c724e1abe4 Replace custom html button with OUTPUT->single_button #172. 2020-02-05 14:09:34 +11:00
Mikhail Golenkov
0137811f2b Hide Create outage button if there is an ongoing outage #172. 2020-02-04 17:03:59 +11:00
Nathan Nguyen
c820bb1c0b Fix day display 2018-12-06 15:42:56 +11:00
Nathan Nguyen
e1b6279437 user date 2018-12-06 15:07:58 +11:00
Dan Marsden
e84534f7b6 Fix #127 fix boost header when outage plugin in use. 2018-10-05 15:19:12 +13:00
Dan Marsden
3e5446d8d1 tidy up coding guideline travis failures. 2018-10-03 22:10:39 +13:00
Dan Marsden
6c489ad20e codiing guideline improvements to css file. 2018-10-03 15:50:27 +13:00
Dan Marsden
07e26e312c Convert deprecated pix_url calls. 2018-10-03 15:10:59 +13:00
Daniel Thee Roperto
75863e1a71 Fixed Moodle Code Style. 2017-05-19 09:40:23 +10:00
Matt Dawson
21eb6eb080 issue-115: added body class when outage is active 2017-05-18 16:10:55 +10: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
0c97b4be01 Applying moodle coding standards. 2016-11-10 19:29:43 +11:00
Daniel Thee Roperto
ce2da24b1b Issue #22 - Split maintenance.php into preview.php and file.php 2016-11-09 16:21:46 +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
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
e6921d6649 Issue #22 - Adding parameter to hide warning bar to be used when baking page. 2016-11-08 14:03:24 +11:00
Daniel Thee Roperto
d62b6f5b68 Issue #67 - CSS default behaviour. 2016-10-21 11:48:19 +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
2e363d1acf Issue #58 - Decided to support only Moodle 29+ however older versions may work if using an additional local plugin (skeleton included in the local_outage subfolder). 2016-09-29 10:17:41 +10:00
Daniel Thee Roperto
e09ae44f2f Issue #46 and #53 - Fixed failing tests on Moodle 27 and coding style issues. Fixed static page to reload only after the planned duration time. 2016-09-28 10:50:40 +10:00
Daniel Thee Roperto
58eeaccc75 Issue #46 - Added behat tests for the warning bar. Fixed failing unit tests for Moodle 27 28 and 29. Fixed javascript not considering stop time of an outage related to Issue #53. 2016-09-27 16:05:38 +10:00
Daniel Thee Roperto
6a78557487 Issue #46 - Merged new, edit and clone into a single page. Moodle code checker was complaining about duplicated code and it was right! 2016-09-27 10:10:52 +10:00
Daniel Thee Roperto
76d656072b Issue #52 - Fixed static page. 2016-09-26 10:27:49 +10:00
Daniel Thee Roperto
6b43ffe3b9 Issue #46 - Added behat tests to actions in manage page. 2016-09-25 19:39:00 +10:00
Daniel Thee Roperto
20b1884697 Issue #32 - Fixed JavaScript code to comply with Moodle 27 and Moodle 28 rules. 2016-09-23 16:15:05 +10:00
Daniel Thee Roperto
ded6b2d005 Issue #32 - UX improvements, detect end of outage and show in warning bar. Does not redirect user to info page anymore. 2016-09-23 15:53:28 +10:00
Daniel Thee Roperto
708622bbcd Issue #42 - Refactoring code according to Moodle Coding Style. 2016-09-21 19:04:22 +10:00
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
6de4f3b82a Merge branch 'issue38-getconfig' 2016-09-19 16:03:44 +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
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
aa378633f9 Issue #29 - UI improvements such as warning bar styling and texts. 2016-09-14 13:00:18 +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
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
46a503e383 Issue #28 - Inverted warning bar texts -- focus on countdown. 2016-09-12 18:32:16 +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
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