69 Commits

Author SHA1 Message Date
Rajesh Taneja
137d94f335 MDL-39955 completion: Added course_module_completion_updated event
Conflicts:

	lib/tests/completionlib_advanced_test.php
2013-08-09 17:04:34 +08:00
Frederic Massart
8ca0c12370 MDL-39536 completion: Prevent DB call when fetching activities 2013-06-04 12:57:10 +08:00
Yuliya Bozhko
278065528a MDL-35073 badges: Open badges integration
The badges feature allows to integrate Mozilla "Open Badges" to issue, assign,
manage and display digital badges in Moodle. This feature supports:
-- badge creation and issuing based on criteria
-- badge baking and verification service
-- direct pushing of internal badges to external backpack
-- interanl and external badge display in Moodle
-- Moodle block to display latest badges
2013-04-02 15:49:02 +08:00
Dan Poltawski
68a6d87684 Merge branch 'MDL-37473' of git://github.com/srynot4sale/moodle 2013-01-22 11:14:19 +08:00
Dan Poltawski
8b16bbfc68 Merge branch 'MDL-35556d' of git://github.com/srynot4sale/moodle 2013-01-15 13:15:31 +08:00
Aaron Barnes
3b461a0801 MDL-37473 completion: Add missing cap checks to tracked users functions
Namely get_num_tracked_users and is_tracked_user()
2013-01-11 14:41:05 +13:00
Frederic Massart
e40bd74620 MDL-36550 usability: CSS updates on course page 2012-11-26 17:00:29 +08:00
Aaron Barnes
5bb05a469a MDL-35556 completion: Improve user completion data permission checking 2012-11-12 00:13:36 +13:00
Dan Poltawski
cd1a9d05e8 Revert "MDL-35556 completion: Improve user completion data permission checking"
This reverts commit f493d528c20b023a8b847a44161b82b05f8fc6c8.
2012-11-09 16:50:09 +08:00
Aaron Barnes
f493d528c2 MDL-35556 completion: Improve user completion data permission checking 2012-11-05 19:03:18 +13:00
Dan Poltawski
99da334454 Merge branch 'MDL-34228-master' of git://github.com/sammarshallou/moodle 2012-10-16 16:19:25 +08:00
Marina Glancy
b46be6adf4 MDL-35339 Better cache reset for get_fast_modinfo(), allow exec get_fast_modinfo($courseid) 2012-10-15 14:08:15 +08:00
sam marshall
b61924d482 MDL-34228 Completion: Add capability that controls if a user is shown in reports 2012-10-04 10:50:10 +01:00
Aaron Barnes
1caeb4b450 MDL-32386 completion: Fix incorrect method parameters 2012-08-27 10:57:52 +12:00
Eloy Lafuente (stronk7)
7f4de36ddb MDL-31957 Course reset: Add missing global 2012-08-23 02:04:13 +02:00
sam marshall
5ae17b09a8 MDL-31957 Course reset: Does not erase activity completion data 2012-08-17 10:35:44 +01:00
Sam Hemelryk
395b805f97 Merge branch 'MDL-34225' of git://github.com/nebgor/moodle 2012-07-23 14:04:09 +12:00
Petr Škoda
c8b3346cfd MDL-33180 delete the last traces of SimpleTest - ciao and thanks 2012-07-21 10:11:50 +02:00
Aparup Banerjee
60829d8094 MDL-34225 course completion : moved criteria classes into criteria subdir 2012-07-12 12:04:36 +08:00
Aparup Banerjee
7534234322 MDL-34225 course completion : move /lib/completion/* up to /completion 2012-07-10 11:06:41 +08:00
sam marshall
38d06fea66 MDL-32107 Activity completion: should use get_enrolled_sql instead of reinventing wheel 2012-06-01 12:25:59 +01:00
Aaron Barnes
dbfcf440fa MDL-32203 completion: Fix issues with data object where clauses 2012-05-04 14:58:32 +12:00
Petr Skoda
4218d813bf MDL-32251 add missing spikephpcoverage modification info, improve coding style in competionlib 2012-04-03 07:59:39 +02:00
Petr Skoda
caee6e6c26 MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
Aaron Barnes
94db27498d MDL-27469 scorm: Add extra activity completion conditions 2012-03-21 09:48:38 +13:00
Eloy Lafuente (stronk7)
7142a75563 MDL-30995 completion: switch one type & name for correctness 2012-03-14 18:14:36 +01: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
sam marshall
24e14bc7a6 MDL-26647 (5) Support showuseridentity on course and activity completion reports 2011-11-04 13:57:15 +00:00
sam marshall
a854bca3cf MDL-28021 Completion system can create inconsistent database rows
This change includes:

(1) update deletes older versions of inconsistent rows
(2) update drops one index and replaces it with a new unique index
(3) fixed to ensure that when it decides whether to insert or update
    it uses current database state and not cached info
(4) unit tests updated to test #3

Conflicts:

	lib/db/upgrade.php
	version.php
2011-06-27 15:25:13 +02:00
Aaron Barnes
7075e37e0c MDL-27757 lib/completionlib.php: Load "enablecompletion" property if required 2011-06-10 13:58:41 +12:00
sam marshall
1cec45f1c0 MDL-26778 Completion unit tests broken by earlier change 2011-05-05 12:10:27 +01:00
sam marshall
6553cda7c9 MDL-26778 Change to completion should immediately affect nav block
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
Aparup Banerjee
c4a88609fe MDL-26594 renamed named param causing oracle reserved word error. - thanks to Luca Mazzola 2011-03-09 17:04:09 +08:00
Eloy Lafuente (stronk7)
29650825ad PULL-99, MDL-25929 progresstrackedroles out. Fixed conflicts and whitespace 2011-01-24 11:55:57 +01:00
sam marshall
1c6ed50500 completion MDL-25929 Remove progresstrackedroles option 2011-01-10 15:20:24 +00:00
sam marshall
2af26b123d completion MDL-25927 Added old function back as deprecated, to preserve API compatibility 2011-01-10 14:08:10 +00:00
sam marshall
563e97b8b9 completion MDL-25927 Change print_help_icon to display_help_icon (returns html instead of printing) 2011-01-10 13:04:54 +00:00
Sam Marshall
fd546aaadd Activity completion MDL-24746 Altering grade in assignment, clearing override in grader does not alter completion value 2010-10-18 17:02:58 +00:00
Aaron Barnes
5642a8e515 MDL-24081 completion Fixing sql injections and use of sql_ilike() 2010-09-08 02:32:43 +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
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Martin Dougiamas
250c0533ef MDL-2631 Avoid some notices about missing CFG variables during install 2010-05-27 06:49:31 +00:00
Sam Marshall
c4893595fc Completion tracking: NOBUG Added missing phpdoc comment. 2010-05-11 13:49:24 +00:00
David Mudrak
c8dcb793c4 MDL-21695 Yet some completion help strings fix
AMOS BEGIN
 HLP completion/completionicons.html,[completionicons_help,core_completion]
AMOS END
2010-05-05 00:03:13 +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
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00