Commit Graph

123 Commits

Author SHA1 Message Date
hieuvu a3da58a9cb MDL-78312 core_user: add an 'exact match only' option 2023-09-13 20:22:22 +07:00
Marina Glancy 8fc1486d36 MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00
Andrew Nicols a3cc26f8bb MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
Eloy Lafuente (stronk7) ec75faf46c MDL-76390 tool_lp: Remove magic getter call
Since Moodle 3.3 (see MDL-57273), the magix getters and setters
for persistent classes are deprecated, instead get() and set()
must be used.
2022-11-20 14:50:46 +01:00
sam marshall 5e72715e4f MDL-71099 Lib: Move new user_fields class from core to core_user
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.

Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
sam marshall 558cc1b85e MDL-45242 Lib: Replace calls to deprecated functions
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
sam marshall 3f003455f3 MDL-45242 Lib: Replace direct references to ->showuseridentity 2021-03-08 09:20:18 +00:00
Jun Pataleta 6498f438a5 Merge branch 'MDL-65153-master' of git://github.com/damyon/moodle 2019-05-07 16:24:37 +08:00
Damyon Wiese 89da9b4900 MDL-65154 competencies: Filter course competencies
Add an activity filter to the course competencies screen.
2019-05-06 09:34:25 +08:00
Damyon Wiese 5a7b845059 MDL-65153 competencies: Urls course competencies
The template for the course competencies page expects a pluginbaseurl parameter
but the webservice that fetches when rendered by AJAX is missing this property.
2019-03-22 13:16:38 +08:00
Damyon Wiese f94786e0e1 MDL-63876 badges: Add competency criteria
Properly integration badges with competencies provided in Moodle.

Automatically grant the badge when the defined competencies are marked as proficient.
2019-03-29 11:31:15 +08:00
Damyon Wiese c0417b04ff MDL-53346 competencies: Show user learning plans
On the course competencies page, show the user their learning plans
that contain each of the course competencies.
2019-02-06 08:33:55 +08:00
Damyon Wiese a60e8ba51e MDL-59365 enrol_manual: Rewrite the yui enrolment popup in amd
The add/roles thing was only converted to bootstrap 2/4 markup and the yui left in place.

The modal for adding users to a course was unsavable so I rewrote it with an mform in a popup, still calling
the same (barely) modified ajax script.

The webservice for searching cohorts was taken from admin/tool/lp and moved into /cohort. I added a generic "cohort"
mform element at the same time.

The webservice for searching for users was taken from the original ajax script.
2017-07-11 13:47:26 +01:00
Frederic Massart f5f02ac0d3 MDL-57273 core: Migrating some exporters from tool_lp & core_competency 2017-01-20 12:56:18 +08:00
Jun Pataleta e9b4bca0f8 MDL-53917 tool_lp: Show course competency notice appropriately
Show course competency notice only if the user has a
moodle/competency:competencygrade capability.
2016-04-29 15:23:44 +08:00
Frederic Massart 5aa9ded503 MDL-53773 tool_lp: Missing validate_context call in external function
Just sneaking that in as I noticed it while fixing RTL.
2016-04-18 11:06:01 +08:00
Frederic Massart 91e5464282 MDL-53700 competency: Making CiBoT happier 2016-04-18 11:06:00 +08:00
Frederic Massart 81de839f37 MDL-53700 competency: Migrating external functions to core 2016-04-18 11:05:59 +08:00
Frederic Massart 767f66c028 MDL-53700 competency: Migrating the competency API to core 2016-04-18 11:05:59 +08:00
Frederic Massart 72018c0a1c MDL-53700 competency: Migrating exporters to core 2016-04-18 11:05:59 +08:00
Frederic Massart 67bc0eaf38 MDL-53700 competency: Migrate main classes to core 2016-04-18 11:05:59 +08:00
Frederic Massart 1f7699533c MDL-53645 tool_lp: Address FIXME comments 2016-04-18 10:59:01 +08:00
Dan Poltawski d846a535a6 MDL-53645 tool_lp: Various trivial bugs identified during review 2016-04-18 10:59:01 +08:00
Damyon Wiese cd378576e7 MDL-53374 tool_lp: Add progressbar to learning plans 2016-04-18 10:59:01 +08:00
Damyon Wiese 96f4d771bf MDL-52979 tool_lp: Fix user_competency_course summaries
Only show ratings from the course on course competency pages.
2016-04-18 10:59:01 +08:00
Damyon Wiese f1979b60a1 MDL-52743 tool_lp: Course competency statistics
Note - the statistics you see depends on whether you can recieve competency
ratings in the course. So students see their own progress as a %. Graders
see the least proficient competencies for the course.
2016-04-18 10:59:01 +08:00
Damyon Wiese eb0d340c52 MDL-53452 tool_lp: Use an exporter for course_competency_settings 2016-04-18 10:59:00 +08:00
Damyon Wiese 9785dd8174 MDL-53452 tool_lp: Change update_course_competency_settings param to stdClass
Allows for future settings to be added without changing the function signature.
2016-04-18 10:59:00 +08:00
Damyon Wiese 5cb320c10b MDL-53452 competencies: Remove suggestion feature (except tests). 2016-04-18 10:58:59 +08:00
Damyon Wiese 7ba074873c MDL-53452 competencies: Add course and admin setting to push competency ratings outside a course 2016-04-18 10:58:59 +08:00
Issam Taboubi a4f1b030f2 MDL-53472 tool_lp: Improve user navigation flow in competency frameworks 2016-04-18 10:58:59 +08:00
Frederic Massart f864aa4c4a MDL-53473 tool_lp: Improvement to navigation flow of templates 2016-04-18 10:58:58 +08:00
Issam Taboubi 8c9cb5ec05 MDL-52919 tool_lp: Show the path when listing competencies 2016-04-18 10:58:58 +08:00
Frederic Massart 1f58618863 MDL-53186 tool_lp: Removing push for review when adding competencies 2016-04-18 10:58:58 +08:00
Serge Gauthier 71cb304ad8 MDL-53186 tool_lp: Send competencies in review from evidence interface 2016-04-18 10:58:58 +08:00
Frederic Massart 96c2b8477f MDL-53453 cbe: PHP Docs and coding style adjustments 2016-04-18 10:58:57 +08:00
Damyon Wiese 3edcd295eb MDL-51042 tool_lp: Add useful statistics to the template competencies page. 2016-04-18 10:58:56 +08:00
Issam Taboubi 640201536a MDL-53189 tool_lp: Create event for user competency viewed 2016-04-18 10:58:55 +08:00
Frederic Massart 0fe5aac733 MDL-53282 tool_lp: Extend list_frameworks to support string search 2016-04-18 10:58:54 +08:00
Damyon Wiese 24fc4e30b6 MDL-53062 cbe: Fix errors in course_module_summary_exporter
We should take the cm_info as required related data so we can pick the
fields we want to export from it.
2016-04-18 10:58:53 +08:00
Frederic Massart d17cbbfbad MDL-52691 tool_lp: Add note support to competency rating 2016-04-18 10:58:53 +08:00
Damyon Wiese f446b2e133 MDL-52534 cbe: Fixes from peer review (linking competencies to activities) 2016-04-18 10:58:53 +08:00
Damyon Wiese db65073748 MDL-52534 tool_lp: Competencies can be attached to activities 2016-04-18 10:58:53 +08:00
Issam Taboubi 3e6a8e1694 MDL-52960 tool_lp: Created event for competency viewed 2016-04-18 10:58:52 +08:00
Frederic Massart ad6d3004f6 MDL-52749 tool_lp: Adding a user competency page 2016-04-18 10:58:52 +08:00
Frederic Massart 97244310c2 MDL-52827 tool_lp: Consider role overrides when searching users 2016-04-18 10:58:52 +08:00
Damyon Wiese 940235b762 MDL-52827 tool_lp: Fix SQL for filtering users by permission on user context 2016-04-18 10:58:52 +08:00
Serge Gauthier 305eaf3845 MDL-52712 tool_lp: Create event for template viewed 2016-04-18 10:58:51 +08:00
Issam Taboubi f73a29c181 MDL-52710 tool_lp: Create event for framework viewed 2016-04-18 10:58:51 +08:00
Serge Gauthier 8fabc73882 MDL-52675 tool_lp: When deleting template delete or unlink derived plans 2016-04-18 10:58:51 +08:00