Jun Pataleta [Tue, 25 Jul 2017 06:20:39 +0000 (14:20 +0800)]
MDL-59369 user: IR fixes
* Moved status_field to core_user\output namespace.
* Assigned status flags for the template context in order to determine
which label class to use for the given status.
Part of MDL-59290.
Jun Pataleta [Tue, 18 Jul 2017 07:00:00 +0000 (15:00 +0800)]
MDL-59369 user: Render status as highlighted labels
Jun Pataleta [Tue, 18 Jul 2017 03:59:46 +0000 (11:59 +0800)]
MDL-59369 enrol: Behat tests for plugin enrol actions
Jun Pataleta [Thu, 13 Jul 2017 14:20:10 +0000 (22:20 +0800)]
MDL-59369 user: Behat tests involving the Status column
Jun Pataleta [Thu, 13 Jul 2017 02:32:49 +0000 (10:32 +0800)]
MDL-59369 user: User enrolment status JS controls
* Add actions for editing user enrolment and unenrol
* Render user enrolment details in a modal
Jun Pataleta [Tue, 18 Jul 2017 03:55:31 +0000 (11:55 +0800)]
MDL-59369 enrol: Introduce data-action attribute for enrol action links
Jun Pataleta [Thu, 13 Jul 2017 02:32:20 +0000 (10:32 +0800)]
MDL-59369 enrol: Cleanup enrol pages
* Cleanup edit enrolment form.
* Improve edit enrol form validation error message.
* Add modal custom data flag to edit enrolment form to hide action
buttons if loaded via fragment.
* Point return URLs of edit enrolment and user unenrol pages back to
participants page.
Jun Pataleta [Thu, 13 Jul 2017 02:29:17 +0000 (10:29 +0800)]
MDL-59369 enrol: Edit user enrolment fragment
Jun Pataleta [Thu, 13 Jul 2017 02:28:02 +0000 (10:28 +0800)]
MDL-59369 enrol: New ws core_enrol_external::edit_user_enrolment
Jun Pataleta [Thu, 13 Jul 2017 02:18:15 +0000 (10:18 +0800)]
MDL-59369 user: Add status column to the participants table
Dan Poltawski [Tue, 25 Jul 2017 10:48:09 +0000 (11:48 +0100)]
Merge branch 'MDL-57698-master' of https://github.com/xow/moodle
Dan Poltawski [Tue, 25 Jul 2017 10:37:54 +0000 (11:37 +0100)]
Merge branch 'MDL-57791_master-fix3' of git://github.com/dmonllao/moodle
Dan Poltawski [Tue, 25 Jul 2017 10:06:27 +0000 (11:06 +0100)]
Merge branch 'MDL-58761_bad_regex_in_custom_step' of https://github.com/gthomas2/moodle
David Monllao [Tue, 25 Jul 2017 09:53:00 +0000 (11:53 +0200)]
Merge branch 'MDL-59453-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 25 Jul 2017 09:51:10 +0000 (10:51 +0100)]
Merge branch 'MDL-59425-master' of https://github.com/abias/moodle
David Monllao [Tue, 25 Jul 2017 09:17:07 +0000 (11:17 +0200)]
Merge branch 'MDL-59544-master-filemanagervalidation' of git://github.com/mudrd8mz/moodle
David Monllao [Tue, 25 Jul 2017 09:11:09 +0000 (11:11 +0200)]
Merge branch 'MDL-59485' of https://github.com/IMSGlobal/moodle
David Monllao [Tue, 25 Jul 2017 09:09:44 +0000 (11:09 +0200)]
Merge branch 'MDL-59578-master' of git://github.com/junpataleta/moodle
David Monllao [Tue, 25 Jul 2017 09:04:47 +0000 (11:04 +0200)]
MDL-57791 analytics: Set logstore during install
get_analytics_logstore updated to fix an edge case.
Dan Poltawski [Tue, 25 Jul 2017 08:52:03 +0000 (09:52 +0100)]
Merge branch 'MDL-59238-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 25 Jul 2017 08:04:59 +0000 (09:04 +0100)]
Merge branch 'MDL-59268-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 25 Jul 2017 07:04:52 +0000 (15:04 +0800)]
MDL-59367 user: Documentation fix
Andrew Nicols [Tue, 25 Jul 2017 07:02:55 +0000 (15:02 +0800)]
Merge branch 'MDL-59367-master' of git://github.com/damyon/moodle
Dan Poltawski [Tue, 25 Jul 2017 06:58:23 +0000 (07:58 +0100)]
Merge branch 'MDL-59432-master' of git://github.com/lameze/moodle
Dan Poltawski [Tue, 25 Jul 2017 06:31:34 +0000 (07:31 +0100)]
Merge branch 'MDL-59240-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 25 Jul 2017 02:44:05 +0000 (10:44 +0800)]
Merge branch 'MDL-56751-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 25 Jul 2017 00:27:36 +0000 (08:27 +0800)]
Merge branch 'MDL-57791_master-fix2' of git://github.com/dmonllao/moodle
Juan Leyva [Fri, 16 Jun 2017 11:32:34 +0000 (12:32 +0100)]
MDL-59238 mod_workshop: New WS mod_workshop_view_workshop
Juan Leyva [Fri, 16 Jun 2017 11:25:34 +0000 (12:25 +0100)]
MDL-59238 mod_workshop: Move event and completion to Workshop class
The completion set_module_viewed and the course_module_viewed event
code has been moved to the workshop class.
This change is consistent with other modules (like lesson, feedback or
quiz) and it is necessary to be able to use the new method via WS.
Juan Leyva [Fri, 16 Jun 2017 10:24:41 +0000 (11:24 +0100)]
MDL-59268 mod_workshop: New WS mod_workshop_get_user_plan
Juan Leyva [Thu, 15 Jun 2017 16:53:07 +0000 (17:53 +0100)]
MDL-59240 mod_workshop: New WS mod_workshop_get_access_information
Dan Poltawski [Mon, 24 Jul 2017 15:55:54 +0000 (16:55 +0100)]
Merge branch 'MDL-59436-master' of git://github.com/junpataleta/moodle
David Monllao [Mon, 24 Jul 2017 15:45:31 +0000 (17:45 +0200)]
MDL-57791 analytics: Compatibility with oracle
Also moved predictions test to analytics/tests/prediction_test.php
Andrew Davidson [Wed, 19 Jul 2017 12:40:26 +0000 (13:40 +0100)]
MDL-59499 coursemanagement: Rewitten expand and collapse
Also replace M.util.get_string() calls with core/str module
Andrew Davidson [Tue, 11 Jul 2017 11:33:08 +0000 (12:33 +0100)]
MDL-59499 - Fixed collapsing category javascript to use template rendering
David Monllao [Mon, 24 Jul 2017 11:24:31 +0000 (13:24 +0200)]
Merge branch 'MDL-57945-master' of git://github.com/danpoltawski/moodle
Dan Poltawski [Mon, 24 Jul 2017 11:15:52 +0000 (12:15 +0100)]
Merge branch 'MDL-59237-master' of git://github.com/jleyva/moodle
Dan Poltawski [Mon, 24 Jul 2017 11:06:20 +0000 (12:06 +0100)]
MDL-57945 css: remove no-browser-hacks ignores
The rule has been removed
David Monllao [Mon, 24 Jul 2017 11:03:10 +0000 (13:03 +0200)]
Merge branch 'MDL-59509-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 24 Jul 2017 10:35:14 +0000 (12:35 +0200)]
Merge branch 'MDL-59556-master' of https://github.com/abias/moodle
David Monllao [Mon, 24 Jul 2017 10:22:43 +0000 (12:22 +0200)]
Merge branch 'MDL-58906-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Mon, 24 Jul 2017 09:04:56 +0000 (10:04 +0100)]
Merge branch 'MDL-57791_master-fix1' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 24 Jul 2017 08:54:39 +0000 (09:54 +0100)]
Merge branch 'MDL-59572-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 24 Jul 2017 08:43:04 +0000 (10:43 +0200)]
MDL-57791 tests: Restore logstores pre-test state
Dan Poltawski [Mon, 24 Jul 2017 08:05:19 +0000 (09:05 +0100)]
Merge branch 'MDL-58174-master' of https://github.com/abias/moodle
Andrew Nicols [Mon, 24 Jul 2017 07:03:30 +0000 (15:03 +0800)]
Merge branch 'wip-MDL-38129-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Mon, 24 Jul 2017 06:38:46 +0000 (14:38 +0800)]
Merge branch 'analytics-34' of git://github.com/dmonllao/moodle
David Monllao [Thu, 20 Jul 2017 17:48:12 +0000 (19:48 +0200)]
MDL-57791 tool_analytics: From tool_models to tool_analytics
David Monllao [Wed, 19 Jul 2017 14:49:46 +0000 (16:49 +0200)]
MDL-57791 analytics: Fixes during integration review
This commit includes the following changes:
- cibot complains fixes
- removed randomly failing test
- fixed course_dropout return
- other minor fixes
David Monllao [Wed, 28 Jun 2017 07:17:56 +0000 (09:17 +0200)]
MDL-57791 analytics: Remove reference to removed config var
David Monllao [Fri, 23 Jun 2017 18:18:11 +0000 (20:18 +0200)]
MDL-57791 mlbackend_php: Minimum 2 samples per target value
David Monllao [Fri, 23 Jun 2017 14:10:40 +0000 (16:10 +0200)]
MDL-57791 analytics: No API calls during upgrades
David Monllao [Fri, 23 Jun 2017 09:05:27 +0000 (11:05 +0200)]
MDL-59065 mlbackend_python: Switch references to moodlehq fork
Part of MDL-57791 epic.
David Monllao [Fri, 23 Jun 2017 07:55:18 +0000 (09:55 +0200)]
MDL-57791 analytics: Add builtin models during upgrade
David Monllao [Fri, 23 Jun 2017 06:30:50 +0000 (08:30 +0200)]
MDL-57791 analytics: Add missing 'new' to throw
Also other code refinements. Credit to Mark Nelson.
David Monllao [Thu, 22 Jun 2017 12:05:20 +0000 (14:05 +0200)]
MDL-59212 analytics: Core indicators tests
Part of MDL-57791 epic.
David Monllao [Thu, 22 Jun 2017 07:18:27 +0000 (09:18 +0200)]
MDL-59212 analytics: Move API uses out of analytics dir
Part of MDL-57791 epic.
David Monllao [Wed, 21 Jun 2017 19:17:48 +0000 (21:17 +0200)]
MDL-59060 analytics: Allow all predictions to be retrieved
Part of MDL-57791 epic.
David Monllao [Wed, 21 Jun 2017 19:01:40 +0000 (21:01 +0200)]
MDL-59212 analytics: Abstract equal parts and accum time splittings
Part of MDL-57791 epic.
David Monllao [Wed, 21 Jun 2017 19:01:14 +0000 (21:01 +0200)]
MDL-59212 analytics: Expand unit test coverage
Part of MDL-57791 epic.
Damyon Wiese [Tue, 20 Jun 2017 08:23:59 +0000 (16:23 +0800)]
MDL-59060 analytics: Add paging to insights report
Part of MDL-57791 epic.
David Monllao [Tue, 20 Jun 2017 12:05:48 +0000 (14:05 +0200)]
MDL-59212 analytics: Analyser and static methods tests
Part of MDL-57791 epic.
David Monllao [Tue, 20 Jun 2017 07:16:22 +0000 (09:16 +0200)]
MDL-57791 analytics: Always absolute full class names
Some extra tiny changes as well.
David Monllao [Mon, 19 Jun 2017 14:03:51 +0000 (16:03 +0200)]
MDL-57791 analytics: Second review round
David Monllao [Fri, 16 Jun 2017 10:31:12 +0000 (12:31 +0200)]
MDL-59211 analytics: Make cibot happy
Part of MDL-57791 epic.
David Monllao [Thu, 15 Jun 2017 08:21:58 +0000 (10:21 +0200)]
MDL-57791 analytics: Changes after review
- Split model::predict in parts
- JS promises updated according to eslint-plugin-promise
- New API methods replacing direct DB queries
- Reduce insights nav link display cost
- Increase time limit as well as memory for big processes
- Move prediction action event to core
- Dataset write locking and others
- Refine last time range end time
- Removed dodgy splitting method id to int
- Replace admin_setting_predictor output_html overwrite for write_setting overwrite
- New APIs for access control
- Discard invalid samples also during prediction
David Monllao [Wed, 14 Jun 2017 10:32:27 +0000 (12:32 +0200)]
MDL-57791 analytics: Replace sql queries for API calls
David Monllao [Wed, 14 Jun 2017 10:31:58 +0000 (12:31 +0200)]
MDL-57791 insights: Templates examples
David Monllao [Tue, 13 Jun 2017 11:39:00 +0000 (13:39 +0200)]
MDL-57791 analytics: No UI in calculables APIs
David Monllao [Tue, 13 Jun 2017 10:14:26 +0000 (12:14 +0200)]
MDL-57791 analytics: Replace settings by get_archetype_roles
Ankit Agarwal [Tue, 13 Jun 2017 09:25:08 +0000 (11:25 +0200)]
MDL-59119 analytics: Fix references to wrong var
Part of MDL-57791 epic.
David Monllao [Tue, 13 Jun 2017 07:50:36 +0000 (09:50 +0200)]
MDL-59079 analytics: Restore low social breadth level
Until those activities have feedback_viewed (or friends) methods.
Part of MDL-57791 epic.
David Monllao [Tue, 13 Jun 2017 07:45:20 +0000 (09:45 +0200)]
MDL-59095 analytics: Update to use feedback_viewed API
Part of MDL-57791 epic.
David Monllao [Tue, 13 Jun 2017 07:36:30 +0000 (09:36 +0200)]
MDL-59010 analytics: Logstores initialised during tests
Part of MDL-57791 epic.
David Monllao [Tue, 13 Jun 2017 07:35:35 +0000 (09:35 +0200)]
MDL-59010 analytics: Direct db calls to logging API
Part of MDL-57791 epic.
David Monllao [Tue, 13 Jun 2017 05:12:48 +0000 (07:12 +0200)]
MDL-59174 enrollib: More flexibility for enrol_get_course_users
Part of MDL-57791 epic.
David Monllao [Mon, 12 Jun 2017 11:08:20 +0000 (13:08 +0200)]
MDL-59174 analytics: Analyser queries to enrollib
Part of MDL-57791 epic.
David Monllao [Mon, 12 Jun 2017 06:46:14 +0000 (08:46 +0200)]
MDL-59057 analytics: Unit test fixes
Updating tests according to courses - site_courses analysers change.
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 18:32:07 +0000 (20:32 +0200)]
MDL-59057 analytics: Split up course analyser in 2
One at course level so teachers can get insights and another
one at system level so the insights go to the site admin.
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 18:30:54 +0000 (20:30 +0200)]
MDL-59057 analytics: Get rid of week_before_course_start
It is useless at site level. It can be useful at course level but
I removed it in favour of single_range + is_valid_*
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 15:59:31 +0000 (17:59 +0200)]
MDL-57791 analytics: Delete should be an instance method
David Monllao [Fri, 9 Jun 2017 15:05:29 +0000 (17:05 +0200)]
MDL-57791 insights: Clarify insights-prediction boundaries
David Monllao [Fri, 9 Jun 2017 12:28:47 +0000 (14:28 +0200)]
MDL-59057 analytics: no_teaching model fixes
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 11:29:56 +0000 (13:29 +0200)]
MDL-59057 analytics: Standarize indicators and targets ids
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 11:01:30 +0000 (13:01 +0200)]
MDL-59057 analytics: Adapt tests to static models API changes
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 10:53:41 +0000 (12:53 +0200)]
MDL-59057 enrol: New enrol API method - by_ue_id
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 10:52:49 +0000 (12:52 +0200)]
MDL-59057 analytics: static models changes
Part of MDL-57791 epic.
David Monllao [Fri, 9 Jun 2017 10:51:13 +0000 (12:51 +0200)]
MDL-59057 analytics: Introduce static models
Part of MDL-57791 epic.
David Monllao [Thu, 8 Jun 2017 17:15:38 +0000 (19:15 +0200)]
MDL-57791 analytics: Increase time splitting field size
David Monllao [Tue, 6 Jun 2017 15:04:20 +0000 (17:04 +0200)]
MDL-59162 tool_models: Remove dependant models on uninstall
Part of MDL-57791 epic.
David Monllao [Tue, 6 Jun 2017 14:26:20 +0000 (16:26 +0200)]
MDL-59117 quiz: Move quiz indicators to the correct location
Part of MDL-57791 epic.
Ankit Agarwal [Fri, 2 Jun 2017 06:54:44 +0000 (12:24 +0530)]
MDL-59117 core_analytics: Move all indicators to respective modules
Part of MDL-57791 epic.
David Monllao [Tue, 6 Jun 2017 08:31:28 +0000 (10:31 +0200)]
MDL-57791 analytics: Ignored new 3rd party lib
David Monllao [Tue, 6 Jun 2017 07:23:28 +0000 (09:23 +0200)]
MDL-57791 analytics: Remove references to project inspire
David Monllao [Tue, 6 Jun 2017 07:08:48 +0000 (09:08 +0200)]
MDL-59152 mlbackend_php: Check PHP version
Part of MDL-57791 epic.
David Monllao [Tue, 6 Jun 2017 06:33:29 +0000 (08:33 +0200)]
MDL-57791 mlbackend_php: Remove unnecessary files
David Monllao [Tue, 6 Jun 2017 06:33:06 +0000 (08:33 +0200)]
MDL-57791 analytics: Build JS module
David Monllao [Fri, 2 Jun 2017 17:11:11 +0000 (19:11 +0200)]
MDL-57791 testing: Switch to analytics API namespace
David Monllao [Fri, 2 Jun 2017 17:10:45 +0000 (19:10 +0200)]
MDL-57791 testing: Add analytics test suite
David Monllao [Fri, 2 Jun 2017 06:09:50 +0000 (08:09 +0200)]
MDL-57791 testing: Add missing cachedef lang string