Commit Graph

  • 6b43ffe3b9 Issue #46 - Added behat tests to actions in manage page. Daniel Thee Roperto 2016-09-25 19:39:00 +10:00
  • a49693b7d2 Issue #46 - Added behat scenarios to test manage page. Daniel Thee Roperto 2016-09-25 18:41:51 +10:00
  • b7a4aa4a9a Issue #46 - Improved manage outage page. Daniel Thee Roperto 2016-09-25 18:39:52 +10:00
  • 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. Daniel Thee Roperto 2016-09-25 13:57:19 +10:00
  • 2fd8b307a6 Issue #49 - Changed default settings param type from TEXT to RAW_TRIMMED for 'default description' and 'css'. Daniel Thee Roperto 2016-09-25 13:29:33 +10:00
  • 09c8c645c5 Issue #55 - Fixed: cannot create or edit outage using GUI because field autostart is missing. Daniel Thee Roperto 2016-09-25 13:22:30 +10:00
  • 5b964fd29f Issue #54 - Fixed property names and related tests. Daniel Thee Roperto 2016-09-25 00:51:33 +10:00
  • fbef0f52cf Issue #46 - Improved behat for default settings. Daniel Thee Roperto 2016-09-24 22:21:18 +10:00
  • 4241762a1b Issue #46 - Implemented a basic behat test to check saving the default settings. Daniel Thee Roperto 2016-09-23 23:25:08 +10:00
  • 375c76dbf8 Merge branch 'master' into issue19-behat Daniel Thee Roperto 2016-09-23 19:33:42 +10:00
  • 20b1884697 Issue #32 - Fixed JavaScript code to comply with Moodle 27 and Moodle 28 rules. Daniel Thee Roperto 2016-09-23 16:15:05 +10:00
  • ded6b2d005 Issue #32 - UX improvements, detect end of outage and show in warning bar. Does not redirect user to info page anymore. Daniel Thee Roperto 2016-09-23 15:53:28 +10:00
  • 80ed7b69ad Issue45 - Fixed: Inverted action buttons from planned and history tables. Daniel Thee Roperto 2016-09-22 18:06:50 +10:00
  • 5df01b342e Fixed insepections, refactored to reduce complexity (phpmd warning). Daniel Thee Roperto 2016-09-22 16:47:07 +10:00
  • b302d9dfa5 Issue #21 - Added flag to outages, if set it will automatically start the maintenance mode once the outage starts. Daniel Thee Roperto 2016-09-22 14:26:52 +10:00
  • 708622bbcd Issue #42 - Refactoring code according to Moodle Coding Style. Daniel Thee Roperto 2016-09-21 18:38:12 +10:00
  • 19b66629a8 Issue #41 - Changed assertNotFalse (not available in older phpunit) to assertTrue(is_object()) to check if events are not false (not found). Daniel Thee Roperto 2016-09-21 12:24:29 +10:00
  • e6a2231ba1 Issue #33 - Refactored code, created infopage_controller to control the display of an info page. Daniel Thee Roperto 2016-09-20 20:00:33 +10:00
  • 6824127624 Issue #23 - Generate a static template page every time an outage is created, updated or deleted. Daniel Thee Roperto 2016-09-20 14:54:24 +10:00
  • edbbc2dd83 Added full phpunit coverage for classes in: cli and event Daniel Thee Roperto 2016-09-19 20:05:21 +10:00
  • 2959719c58 Minor changes in outagelib, added PhpDocs and simplified MOODLE_INTERNAL check. Daniel Thee Roperto 2016-09-19 18:31:13 +10:00
  • 6a81fd6304 Issue #37 - Ensure exceptions in the inject code, executed in virtually all pages, does not put the whole site down. Daniel Thee Roperto 2016-09-19 18:17:44 +10:00
  • 54b72de472 Issue #39 - Minor UI changes. Daniel Thee Roperto 2016-09-19 17:06:16 +10:00
  • 6de4f3b82a Merge branch 'issue38-getconfig' Daniel Thee Roperto 2016-09-19 16:03:44 +10:00
  • a2d9f33a4c Merge branch 'issue27-cli' Daniel Thee Roperto 2016-09-19 16:02:30 +10:00
  • 2670485341 Issue #27 - Changed deltas for CLI from minutes to seconds. Daniel Thee Roperto 2016-09-19 15:55:57 +10:00
  • 671e7d5f67 Issue #38 - Ensuring we always have default values for plugin config. Daniel Thee Roperto 2016-09-19 15:05:20 +10:00
  • f0ae7b8410 Issue #30 - Fixed stage values and broken tests. Daniel Thee Roperto 2016-09-19 13:13:03 +10:00
  • f569157368 Issue #27 - CLI implemented. Added full test coverage to CLI classes. Daniel Thee Roperto 2016-09-16 17:26:48 +10:00
  • 2cfda63922 Issue #30 - Add finished flag to mark the real time that an outage was finished. Daniel Thee Roperto 2016-09-15 18:24:36 +10:00
  • 7ca44c74ab Fixed code inspections, missing phpdocs and code standards. Daniel Thee Roperto 2016-09-15 14:01:45 +10:00
  • 6041d945e1 Issue #29 - Fixed javascript error in jshint for Moodle 27 and 28. Daniel Thee Roperto 2016-09-14 13:57:32 +10:00
  • 5e873d766c Issue #29 - Fixed javascript redirection. Daniel Thee Roperto 2016-09-14 13:41:45 +10:00
  • 8648fc5d49 Merge branch 'issue29-polishingbar' Daniel Thee Roperto 2016-09-14 13:24:01 +10:00
  • aa378633f9 Issue #29 - UI improvements such as warning bar styling and texts. Daniel Thee Roperto 2016-09-14 10:21:23 +10:00
  • da39a78ca8 Issue #23 - Added option to clone an outage. Daniel Thee Roperto 2016-09-13 14:50:11 +10:00
  • 92681c7ec4 Issue #26 - Added the option to preview how a warning bar will look before and during an outage. Daniel Thee Roperto 2016-09-13 16:00:44 +10:00
  • 9cc954961a Merge branch 'master' into issue26-previewparams Daniel Thee Roperto 2016-09-13 13:02:34 +10:00
  • feaca1d78e Issue #26 - Preview warning bar with parameters auth_outage_preview and auth_outage_delta Daniel Thee Roperto 2016-09-13 11:30:35 +10:00
  • 4451240807 Fixed warningbar.php formatting. Daniel Thee Roperto 2016-09-13 12:27:40 +10:00
  • b636958e5b Fixed phpunit test for outage object. Daniel Thee Roperto 2016-09-13 12:25:01 +10:00
  • 46a503e383 Issue #28 - Inverted warning bar texts -- focus on countdown. Daniel Thee Roperto 2016-09-12 18:32:16 +10:00
  • b8c08192d1 Issue #28 - Added hints for the edit outage form. Daniel Thee Roperto 2016-09-12 18:22:50 +10:00
  • cbbb861fd8 Issue #8 - Fixed failing phpunit tests. Daniel Thee Roperto 2016-09-12 17:52:08 +10:00
  • f05360bfc3 Issue #8 - Added calendar synchronization. Daniel Thee Roperto 2016-09-12 16:32:13 +10:00
  • f109c0a5f7 Issue #11 - Added {{duration}} placeholder, changed default title. Daniel Thee Roperto 2016-09-12 14:26:10 +10:00
  • 928b72ba08 Issue #11 - Date time formating. Daniel Thee Roperto 2016-09-12 14:05:45 +10:00
  • ee771daecf Issue #11 - Small fixed as suggested by Brendan. Daniel Thee Roperto 2016-09-12 13:57:33 +10:00
  • 25abb3ae82 Issue #11 - Manage lists outages in separate tables. Daniel Thee Roperto 2016-09-12 12:58:16 +10:00
  • 22f85930ce Issue #11 - TDD to get future and past outages (outagedb). Daniel Thee Roperto 2016-09-12 12:10:22 +10:00
  • 9f2c5b08d8 Issue #11 - Solved tests for outagedb get_all_active. Daniel Thee Roperto 2016-09-12 11:53:42 +10:00
  • e13bc05f5e Issue #11 - Tests for outagedb get_all_active. Daniel Thee Roperto 2016-09-12 11:49:11 +10:00
  • 0d8ab19f83 Issue #11 - Renderer refactored. Daniel Thee Roperto 2016-09-12 11:28:56 +10:00
  • 96f9bb7ec2 Issue #11 - Standard manage table implemented, all outages still on the same table. Daniel Thee Roperto 2016-09-12 11:12:12 +10:00
  • 7edefc8462 BugFix - Fixed a problem that would not allow admins to use the system while in maintenance. Daniel Thee Roperto 2016-09-12 09:55:57 +10:00
  • 4462a9c07b Bugfix - Fixed problem preventing the creation of a new outage. Daniel Thee Roperto 2016-09-12 09:53:50 +10:00
  • cf78e2e180 Issue #15 - If admin, do not redirect -- stop at 0:00:00. Daniel Thee Roperto 2016-09-09 16:22:19 +10:00
  • 4c4df53402 Issue #15 - Added countdown to navbar, redirect to info.php when ended. Daniel Thee Roperto 2016-09-09 15:57:24 +10:00
  • 64d09721cf Fixed form edit set_data() signature. Issue #17. Daniel Thee Roperto 2016-09-09 12:12:52 +10:00
  • b1e001427b Fixed missing newlines at end of files. Issue #17. Daniel Thee Roperto 2016-09-09 11:45:20 +10:00
  • 6bb9320ef6 Outage remodelled both in DB and PHP Class. Issue #17. Daniel Thee Roperto 2016-09-09 11:39:44 +10:00
  • 4e46e934d0 WIP Issue #17 - Settings page done, missing forms and other references to warning duration and stop time. Daniel Thee Roperto 2016-09-08 17:25:28 +10:00
  • 07ee61f4f3 Issue #20 - Allow changing also past and present outages. Daniel Thee Roperto 2016-09-08 15:23:15 +10:00
  • b8b3dc7f05 Merge branch 'master' of github.com:catalyst/moodle-auth_outage Daniel Thee Roperto 2016-09-08 14:58:06 +10:00
  • 2b862b44b2 Issue #13 - Added link to edit outage from info page. Daniel Thee Roperto 2016-09-08 14:54:42 +10:00
  • 54e6c40565 Issue #13 - Removed continue button from info page. Link to outage in warning bar opens in new tab. Daniel Thee Roperto 2016-09-08 14:43:45 +10:00
  • b4edc0e94a Lang tweak Brendan Heywood 2016-09-08 14:37:44 +10:00
  • a4de5d6bf1 Issue #10 - Added link to warning bar and info page. Daniel Thee Roperto 2016-09-08 14:31:51 +10:00
  • efee27af40 Solving all warnings from moodle-plugin-ci check. Daniel Thee Roperto 2016-09-08 11:13:46 +10:00
  • 2a120f0ebe Renamed methods, files and language keywords in order to match Moodle style. Issue #16 Daniel Thee Roperto 2016-09-07 11:31:58 +10:00
  • 4ff0e8fbcf Code standards. Daniel Thee Roperto 2016-09-07 10:48:02 +10:00
  • a63d2f9d4c Simplified code to check if enabled. Issue #16 Daniel Thee Roperto 2016-09-07 10:40:06 +10:00
  • f4abd4b84e Merge branch 'master' into issue16-hidemenu Daniel Thee Roperto 2016-09-07 10:30:29 +10:00
  • cc495332ee Merge branch 'issue9-css' Daniel Thee Roperto 2016-09-07 10:25:49 +10:00
  • 3e340ba46a Merge branch 'issue9-fixsql' Daniel Thee Roperto 2016-09-07 10:25:38 +10:00
  • 117e6274d4 Merge branch 'issue9-outagebar' Daniel Thee Roperto 2016-09-07 10:25:17 +10:00
  • 5b19d3a0a1 Explicit content box on CSS - Issue #9 Daniel Thee Roperto 2016-09-07 10:21:33 +10:00
  • 68cfce9b48 Issue #9 - Fixed outagedb::getactive() to make better usage of Moodle DB API, removing hardcoded LIMIT from SQL Query. Daniel Thee Roperto 2016-09-07 09:51:48 +10:00
  • 0251377852 Issue #16 - Check if plugin is enabled before adding menu items. Daniel Thee Roperto 2016-09-06 22:39:47 +10:00
  • 38fbb1efe1 Merge branch 'master' into issue1-behat -- Using Issue #19 = 2016-09-06 21:54:26 +10:00
  • abe029afce Issue #9 - Fixed readme image placement. Daniel Thee Roperto 2016-09-06 20:01:02 +10:00
  • 9344b57eff Issue #9 - Improving frontend. Daniel Thee Roperto 2016-09-06 19:51:47 +10:00
  • 180b30fe8c Added crumb trail node for new outages Brendan Heywood 2016-09-06 17:14:16 +10:00
  • a37c798949 Added crumb trail items for edit page Brendan Heywood 2016-09-06 17:08:23 +10:00
  • 034383f4f2 Removed br tag Brendan Heywood 2016-09-06 16:47:51 +10:00
  • a661197a0f Update README.md Brendan Heywood 2016-09-06 17:07:26 +10:00
  • 583516a3c7 Issue #9 - Checking if outage is ongoing or just a warning. Improved hooks, tests and HTML output. Daniel Thee Roperto 2016-09-06 17:17:26 +10:00
  • 7150622fce Added crumb trail node for new outages Brendan Heywood 2016-09-06 17:14:16 +10:00
  • 99789a7770 Added crumb trail items for edit page Brendan Heywood 2016-09-06 17:08:23 +10:00
  • c7f68f3a10 Removed br tag Brendan Heywood 2016-09-06 16:47:51 +10:00
  • c33f1f5b94 Update README.md Brendan Heywood 2016-09-06 17:07:26 +10:00
  • be477ee787 Issue #9 - Fixed code standards. Daniel Thee Roperto 2016-09-06 14:26:49 +10:00
  • 4cccb518f3 Issue #9 - Fixed code standards. Daniel Thee Roperto 2016-09-06 14:21:11 +10:00
  • d0c4a1c0be Issue #9 - Added missing method phpdocs Daniel Thee Roperto 2016-09-06 14:11:10 +10:00
  • 13418a6a28 Issue #9 - Hooks installed, getting current outage implemented, missing adding information to the UI. Daniel Thee Roperto 2016-09-06 14:00:14 +10:00
  • aca6a0122e WIP Issue #9 - Fixed message on all pages, need to work on UI and DB. Daniel Thee Roperto 2016-09-05 19:50:26 +10:00
  • 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. Daniel Thee Roperto 2016-09-05 15:01:22 +10:00
  • 6055f52d64 Update .travis.yml Brendan Heywood 2016-09-05 13:24:44 +10:00
  • 4cea23cb08 Update README.md Brendan Heywood 2016-09-05 12:48:18 +10:00
  • e4b1bf5790 Update README.md Brendan Heywood 2016-09-05 12:47:32 +10:00