Commit Graph

58 Commits

Author SHA1 Message Date
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
Daniel Thee Roperto 334fd907ad Fixed auth function signature. 2016-09-02 17:50:27 +10:00
Daniel Thee Roperto 7e7a8dd92f Set minimum requirement to Moodle 2.6 -- we may need to change for 2.7 later. 2016-09-02 15:56:09 +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 6ceb328aa4 Issue #12 - fixed language array causing travis to fail building. 2016-09-02 15:02:16 +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 729c8f521a Fixed InvalidArgumentException namespace - Issue #1 2016-09-02 13:32:26 +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 5f4ea51fcc Removing alien code. 2016-09-02 09:48:43 +10:00
Daniel Thee Roperto b9b6077ce4 Added tests for outagedb class - #1 2016-09-01 16:40:47 +10:00
Daniel Thee Roperto 44f826fd68 Added tests for outage and outageutils class - #1 2016-09-01 14:21:38 +10:00
Daniel Thee Roperto 1afb0493ea Fixed DELETE button - #12 2016-09-01 10:57:25 +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 72d77aea89 Changed outage page section names, basic update page structure created. 2016-08-30 18:38:56 +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
Daniel Thee Roperto ec44c25329 Changes to comply with codechecker. 2016-08-29 12:19:16 +10:00
Daniel Thee Roperto 8944d4c374 Merge branch 'development-prototype' 2016-08-25 17:15:13 +10:00