Commit Graph

25 Commits

Author SHA1 Message Date
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
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
5db5bed914 Issue #22 - Created bootstrap.php to intercept the execution before Moodle finished loading. 2016-11-09 16:56:04 +11:00
Daniel Thee Roperto
54c43d2508 Issue #2 - IP Block implementation. 2016-11-07 15:24:23 +11:00
Daniel Thee Roperto
d37c0ce3e8 Fixed warnings, behat error and deprecated warnings. 2016-11-02 16:53:44 +11:00
Daniel Thee Roperto
22c158949c Issue #61 - Default value for CSS not saving. 2016-10-19 10:53:37 +11:00
Daniel Thee Roperto
50e3495c85 Issue #48 and Issue #49 - Changed durations text field to duration, eliminating the problem of negative values. Invalid values will become blank and therefore use our hardcoded defaults. 2016-09-25 13:57:50 +10:00
Daniel Thee Roperto
2fd8b307a6 Issue #49 - Changed default settings param type from TEXT to RAW_TRIMMED for 'default description' and 'css'. 2016-09-25 13:29:33 +10:00
Daniel Thee Roperto
5b964fd29f Issue #54 - Fixed property names and related tests. 2016-09-25 00:51:33 +10:00
Daniel Thee Roperto
fbef0f52cf Issue #46 - Improved behat for default settings. 2016-09-24 22:21:18 +10:00
Daniel Thee Roperto
b302d9dfa5 Issue #21 - Added flag to outages, if set it will automatically start the maintenance mode once the outage starts. 2016-09-22 14:58:29 +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
671e7d5f67 Issue #38 - Ensuring we always have default values for plugin config. 2016-09-19 15:44:09 +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
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
a4de5d6bf1 Issue #10 - Added link to warning bar and info page. 2016-09-08 14:31:51 +10:00
Daniel Thee Roperto
2a120f0ebe Renamed methods, files and language keywords in order to match Moodle style. Issue #16 2016-09-07 11:31:58 +10:00
Daniel Thee Roperto
a63d2f9d4c Simplified code to check if enabled. Issue #16 2016-09-07 10:40:06 +10:00
Daniel Thee Roperto
0251377852 Issue #16 - Check if plugin is enabled before adding menu items. 2016-09-06 22:39:47 +10:00
Daniel Thee Roperto
aca6a0122e WIP Issue #9 - Fixed message on all pages, need to work on UI and DB. 2016-09-05 19:50:26 +10:00
Daniel Thee Roperto
06b3e4f918 Issue #12: English references removed, using language pack, except on code related to Issue #11 later. 2016-09-02 14:42:01 +10:00
Daniel Thee Roperto
d9b852792e Improved outage class encapsulation. Added outagedb as DB Context. Other minor changes. 2016-08-31 11:26:27 +10:00
Daniel Thee Roperto
72d77aea89 Changed outage page section names, basic update page structure created. 2016-08-30 18:38:56 +10:00
Daniel Thee Roperto
f6cbd0f828 Building basic structure. 2016-08-30 14:35:00 +10:00
Daniel Thee Roperto
03a49d7d21 Basic settings and database 2016-08-25 17:14:48 +10:00