Commit Graph

23 Commits

Author SHA1 Message Date
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
4c4df53402 Issue #15 - Added countdown to navbar, redirect to info.php when ended. 2016-09-09 15:57:24 +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
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
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
9344b57eff Issue #9 - Improving frontend. 2016-09-06 19:53:18 +10:00
Brendan Heywood
034383f4f2 Removed br tag 2016-09-06 19:53:18 +10:00
Daniel Thee Roperto
583516a3c7 Issue #9 - Checking if outage is ongoing or just a warning. Improved hooks, tests and HTML output. 2016-09-06 17:17:26 +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
98de8a6c69 Basic form validation for create/edit outage. Checks if starttime is in past, stoptime is after starttime, warningduration is not zero and title size. Issue #7. 2016-09-05 16:33:06 +10:00
Daniel Thee Roperto
18e0583ba5 Issue #12 - fixed code standard problems preventing Travis to build. 2016-09-02 15:38:19 +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
2cf9afb5c5 Namespace changes, outagedb changed to used static methods instead on singleton, utils renamed to outagelib (better name when using the 'use' directive). Issue #1 2016-09-02 11:55:17 +10:00
Daniel Thee Roperto
1dafbc8672 Basic delete outage entry implemented. Still missing rules on which ones can be deleted. 2016-08-31 16:48:21 +10:00
Daniel Thee Roperto
9e1b5e8315 Editing outage entry implemented. 2016-08-31 16:19:50 +10:00
Daniel Thee Roperto
1d7a042e65 Several changes to easily integrate with moodle db api. Create outage page working. 2016-08-31 15:03:36 +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
0dea3d39a9 Code compliance. 2016-08-30 17:49:56 +10:00
Daniel Thee Roperto
f6cbd0f828 Building basic structure. 2016-08-30 14:35:00 +10:00