Commit Graph

78 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
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
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
efee27af40 Solving all warnings from moodle-plugin-ci check. 2016-09-08 11:13:46 +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
4ff0e8fbcf Code standards. 2016-09-07 10:48:02 +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
f4abd4b84e Merge branch 'master' into issue16-hidemenu 2016-09-07 10:30:29 +10:00
Daniel Thee Roperto
cc495332ee Merge branch 'issue9-css' 2016-09-07 10:25:49 +10:00
Daniel Thee Roperto
3e340ba46a Merge branch 'issue9-fixsql' 2016-09-07 10:25:38 +10:00
Daniel Thee Roperto
117e6274d4 Merge branch 'issue9-outagebar' 2016-09-07 10:25:17 +10:00
Daniel Thee Roperto
5b19d3a0a1 Explicit content box on CSS - Issue #9 2016-09-07 10:22:10 +10:00
Daniel Thee Roperto
68cfce9b48 Issue #9 - Fixed outagedb::getactive() to make better usage of Moodle DB API, removing hardcoded LIMIT from SQL Query. 2016-09-07 09:51:48 +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
abe029afce Issue #9 - Fixed readme image placement. 2016-09-06 20:01:02 +10:00
Daniel Thee Roperto
9344b57eff Issue #9 - Improving frontend. 2016-09-06 19:53:18 +10:00
Brendan Heywood
180b30fe8c Added crumb trail node for new outages 2016-09-06 19:53:18 +10:00
Brendan Heywood
a37c798949 Added crumb trail items for edit page 2016-09-06 19:53:18 +10:00
Brendan Heywood
034383f4f2 Removed br tag 2016-09-06 19:53:18 +10:00
Brendan Heywood
a661197a0f Update README.md 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
Brendan Heywood
7150622fce Added crumb trail node for new outages 2016-09-06 17:14:16 +10:00
Brendan Heywood
99789a7770 Added crumb trail items for edit page 2016-09-06 17:08:23 +10:00
Brendan Heywood
c7f68f3a10 Removed br tag 2016-09-06 17:08:07 +10:00
Brendan Heywood
c33f1f5b94 Update README.md 2016-09-06 17:07:26 +10:00
Daniel Thee Roperto
be477ee787 Issue #9 - Fixed code standards. 2016-09-06 14:26:49 +10:00
Daniel Thee Roperto
4cccb518f3 Issue #9 - Fixed code standards. 2016-09-06 14:21:11 +10:00
Daniel Thee Roperto
d0c4a1c0be Issue #9 - Added missing method phpdocs 2016-09-06 14:11:10 +10:00
Daniel Thee Roperto
13418a6a28 Issue #9 - Hooks installed, getting current outage implemented, missing adding information to the UI. 2016-09-06 14:00:14 +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
Brendan Heywood
6055f52d64 Update .travis.yml 2016-09-05 16:33:06 +10:00
Brendan Heywood
4cea23cb08 Update README.md 2016-09-05 16:33:06 +10:00
Brendan Heywood
e4b1bf5790 Update README.md 2016-09-05 16:33:06 +10:00
Brendan Heywood
f353327a1d Update README.md 2016-09-05 16:33:06 +10:00
Brendan Heywood
51f17769cc Update README.md 2016-09-05 16:33:06 +10:00
Daniel Thee Roperto
f8034abc0e Added admin events to the Moodle log - Issue #14 2016-09-05 14:13:39 +10:00