Commit graph

35 commits

Author SHA1 Message Date
Aaron Barnes
25e107e5a2 MDL-34795 completion: Add course_completed event 2012-08-14 10:16:40 +12:00
Aaron Barnes
a6fa8a7265 MDL-34243 completion: get_criteria() incorrectly passing object 2012-07-23 09:38:57 +12:00
Aaron Barnes
48bdd52172 MDL-33788 completion: SQL optimisation 2012-07-09 15:36:52 +12:00
Aaron Barnes
9b57d5bc38 MDL-32249 completion: Make grade criteria more consistent
Also, round course grades and remove hardcoded string.

Note: This patch also removes the ability to update the course grade
from the completion interface
2012-06-26 14:12:53 +12:00
Frederic Massart
ccc604a24d MDL-33398 Cron: fix wrong variable type in completion criterias 2012-05-31 12:50:38 +08:00
Aaron Barnes
28e0c239ec MDL-33398 completion: Fix coding error (should be arrays not objects) 2012-05-30 13:27:51 +12:00
Aaron Barnes
dbfcf440fa MDL-32203 completion: Fix issues with data object where clauses 2012-05-04 14:58:32 +12:00
Eloy Lafuente (stronk7)
291e168894 Revert "MDL-32249 completion: Round course grades and remove hardcoded string"
This reverts commit 412cecc32b.
2012-04-27 12:03:26 +02:00
Aaron Barnes
412cecc32b MDL-32249 completion: Round course grades and remove hardcoded string 2012-04-23 12:18:44 +12:00
Ankit Agarwal
f55ff38a1b MDL-30995 completion: updating PHPdocs as suggested by little smurfs 2012-03-14 14:39:36 +08:00
Ankit Agarwal
95dd54eea3 MDL-30995 Completion Fixedup some more PHP DOC issues 2012-03-12 16:13:35 +08:00
Sam Hemelryk
836375ec8a MDL-30995 completion: Fixed up PHPdocs for activity completion 2012-03-12 15:27:21 +08:00
Anita Viglinoe
a1b9872209 MDL-28283-master Completion Future dates can now be set as completion criteria 2012-02-13 09:05:10 +05:30
Sun Zhigang
29a9ba9130 MDL-29656 Fix bad string reference 2011-11-09 16:47:16 +08:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Eloy Lafuente (stronk7)
a7493463d1 Merge branch 'MDL-28248b' of https://github.com/totara/moodle 2011-08-24 03:39:23 +02:00
Aaron Barnes
b58f4df6ea MDL-28248 completion: Incorrect SQL for finding enrol start date 2011-08-24 12:05:34 +12:00
Aaron Barnes
4756710889 MDL-28397 completion: Activity completion criteria not showing grading
requirement

Credit goes to Evan Irving-Pease for the patch
2011-08-22 14:54:41 +12:00
Aaron Barnes
e874292134 MDL-25594 completion: Remove unused column from query
Which is also a reserved word.
2011-05-04 13:02:28 +12:00
Eloy Lafuente (stronk7)
419178d713 MDL-25708 recordsets - fix completion 2011-01-25 19:59:00 +01:00
sam marshall
1c6ed50500 completion MDL-25929 Remove progresstrackedroles option 2011-01-10 15:20:24 +00:00
Andrew Davis
e532ce752e completion MDL-24119 moved a string out of the code and into a lang file 2010-10-14 08:53:02 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda
7c109ea3f0 MDL-24276 "static abstract" combination is deprecated since PHP 5.2, replacing with our coding_style exception 2010-09-19 18:43:52 +00:00
Petr Skoda
4cc977a64d fixing messed up property_exists() regression - sorrrry 2010-09-17 20:36:49 +00:00
Petr Skoda
6142a4a5d2 fixed property_exists() 2010-09-17 20:13:23 +00:00
Aaron Barnes
3c63deb9a0 course completion: MDL-2631 Fix rare mark_completed bug 2010-08-26 23:08:58 +00:00
Aaron Barnes
24a3b34131 completion: MDL-2631 Improve queries, reports and fix problems checking for tracked users 2010-08-12 03:40:35 +00:00
Aaron Barnes
93b496b289 course completion: MDL-22797 Review course completion compatibility with new enrol internals
Also fixes MDL-23595
2010-08-03 00:22:33 +00:00
Aaron Barnes
fbc133e5ad course completion: MDL-22797 Review course completion compatibility with new enrol internals
Thanks to Iver Johnson for the patch

Also fixes MDL-23595
2010-08-03 00:15:55 +00:00
Aaron Barnes
8948253844 course completion: MDL-22797 Updating to use user_enrolments instead of the
old role_assignments table to find course participants
2010-07-19 03:27:52 +00:00
Eloy Lafuente
ffe5025874 NOBUG DB syntax - fix/improve some uses. I haven't tested completion, have you? 2010-07-05 22:48:07 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Martin Dougiamas
fe09ccbaed MDL-22185 I missed some field name changes (date) 2010-05-11 02:27:22 +00:00
Martin Dougiamas
2be4d090c0 course completion MDL-2631 Course completion feature - Thanks to Aaron Barnes and Catalyst IT for this significant contribution. It is now officially possible to finish a course!
Even though I've tweaked this and done some polishing, there is still plenty to do on it now in HEAD, mostly to do with UI, usability and strings, so we'll keep working on it.  Aaron already has a number of improvements to add to it.
2010-04-30 03:06:22 +00:00