Commit Graph

39 Commits

Author SHA1 Message Date
sam marshall f114cff65f 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
2011-06-27 15:26:54 +02:00
Aaron Barnes 4754c0edd1 MDL-27757 lib/completionlib.php: Load "enablecompletion" property if required 2011-06-10 13:54:45 +12:00
sam marshall a09897b4b1 MDL-26778 Completion unit tests broken by earlier change 2011-05-05 12:21:10 +01:00
sam marshall c5e3a242b1 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:50 +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
nicolasconnault aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
sam_marshall 905b1de634 MDL-19692: Completion tracking help icon enhancements 2009-07-14 14:00:34 +00:00
sam_marshall e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
samhemelryk 3564771d6b lib MDL-19236 added phpdocs and copyrights 2009-05-22 08:41:00 +00:00
samhemelryk 09639deda4 completionlib.php MDL-19236 added phpdocs and copyrights 2009-05-22 02:39:20 +00:00
sam_marshall 7a7dbd77d1 MDL-18427: Completion system does not require_once gradelib when used 2009-03-03 17:04:49 +00:00
sam_marshall ca6b2d6801 MDL-18403: Completion system can cause problems if grade completion is somehow enabled when completion is set to manual 2009-02-27 14:35:05 +00:00
skodak 1caea91efb MDL-17457 moved a lot of code into lib/db/install.php + other refactoring and cleanup 2009-01-11 09:41:48 +00:00
sam_marshall 82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
sam_marshall 002f56ef79 MDL-17412: Completion system unit tests were broken 2008-11-26 13:59:24 +00:00
skodak 9b0e2d6652 fixed syntax error ;-) 2008-10-24 17:54:58 +00:00
sam_marshall 35da0e8768 MDL-17003: Completion progress report needs paging system as large reports can kill browser 2008-10-24 16:20:37 +00:00
skodak 91537a888d MDL-16236 & operator is often not needed in PHP5 in method definition 2008-08-27 20:52:48 +00:00
skodak d7d875359f MDL-16235 yet more ;-) 2008-08-27 20:48:16 +00:00
skodak 0d5d12bde3 MDL-16235 whitespace terror :-D 2008-08-27 20:43:06 +00:00
sam_marshall 81f64ed3a4 MDL-15498: Completion: resetting state failed when activity set to manual completion (caused error when unlocking settings) 2008-07-31 14:42:29 +00:00
sam_marshall f94988555e MDL-15498: Completion: added idnumber to progress report table (if enabled) 2008-07-29 10:37:46 +00:00
sam_marshall 49f6e5f476 MDL-15498: Fixes to problems Petr identified with completion system checkin 2008-07-28 15:58:50 +00:00
sam_marshall 4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00