247 Commits

Author SHA1 Message Date
Aaron Barnes
5227344a07 MDL-26628 completion report: Fix hard coded strings in Completion report 2011-05-03 11:24:41 +08:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
David Mudrak
ea118bed0c MDL-20562 Do not use a capability name as a navigation node title
Ideally all reports should use their pluginname in the navigation tree.
In this particular case, the patch fixes two issues: using the
capability name as the report title in the navigation and incorrect
pluginname defined for coursereport_log.
2011-03-04 06:03:39 +01:00
Petr Skoda
2e98a7475a MDL-25626 fix previous incorrect fix incorrect cm id in completion report 2011-02-14 19:41:05 +01:00
Petr Skoda
b69f9a08d9 MDL-25626 fix incorrect cm id in completion report
credit goes to Aaron Barnes
2011-02-12 17:35:41 +01:00
Petr Skoda
46df3c6059 Merge branch 'MDL-25981' 2011-01-31 22:44:17 +01:00
Petr Skoda
9cedb80c5d MDL-26198 fix CSRF and missing access control + fix xhtml strict 2011-01-30 21:50:04 +01:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
sam marshall
1c6ed50500 completion MDL-25929 Remove progresstrackedroles option 2011-01-10 15:20:24 +00:00
Dan Poltawski
9e202d38c8 statistics MDL-25822 Fix broken navigation 2010-12-30 12:42:50 +00:00
Dan Poltawski
f9c2702ece statistics MDL-25822 Fix get_records_sql returning non-unique first column 2010-12-30 12:42:41 +00:00
Dan Poltawski
5b903967de statistics MDL-25822 multiple values in get_field_sql
A variety of get_field_sql calls returning multiple values, switched
to using MIN/MAX selects.
2010-12-30 10:30:07 +00:00
Sam Hemelryk
cf5a0dbdd4 course-reports MDL-24173 Course reports now use the report page layout + minor tweaks to the serenity theme. 2010-12-02 07:31:48 +00:00
Petr Skoda
516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Petr Skoda
ad26248c3a MDL-25053 invalid SQL syntax
postgresql requires AS when defining column aliases, credit goes to Alan Peter Carter
2010-11-05 07:29:24 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Sam Marshall
cfc3392582 MDL-24714: Completion report names inconsistent 2010-10-18 10:15:37 +00:00
Sam Hemelryk
7d8e60f5ee course-participation-report MDL-23603 Optimised SQL 2010-10-18 04:48:37 +00:00
Aaron Barnes
c8ea6c60ab MDL-24328 completion Check criteria are set before showing links to report 2010-10-06 02:23:50 +00:00
Sam Hemelryk
035f3a4f57 course-report-progress MDL-19794 Fixed up deprecated calls 2010-09-22 08:52:02 +00:00
Petr Skoda
fbaea88faa MDL-24321 switching to stdClass in /c*/ 2010-09-21 08:13:11 +00:00
Petr Skoda
4da048ae3e no cvs id tags! 2010-09-17 12:11:59 +00:00
Petr Skoda
bfe559a57e removing invalid PAGE call 2010-09-17 12:04:11 +00:00
Sam Hemelryk
d13864e640 course-reports MDL-24153 Course section names are now used in the reports dropdown. Kudos to Brandon for the patch. 2010-09-10 08:47: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
Petr Skoda
ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Petr Skoda
0f21a964a5 MDL-24079 fixing recent regressions caused by api changes in tablelib; sorry I did not find the problem earlier 2010-09-05 12:35:51 +00:00
Petr Skoda
72e9f8910d MDL-23184 activity names are in fact dir names 2010-09-02 18:34:39 +00:00
Petr Skoda
629e12fd81 MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL 2010-08-25 08:43:42 +00:00
Petr Skoda
f8e9c93a9a MDL-23784 fixed incorrect pix links 2010-08-12 18:30:32 +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
Sam Hemelryk
e67e026fd0 course-report-completion MDL-23451 Fixed block display 2010-07-23 03:47:44 +00:00
Aaron Barnes
c1a6ef1220 MDL-23281 Include course completion library 2010-07-19 04:06:51 +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
6236aba21b oh my, no more id cvs markers or closing php tags 2010-07-04 12:07:43 +00:00
David Mudrak
df52205e75 MDL-21695 Removed participationreport.html, text moved into wiki docs 2010-06-28 14:38:04 +00:00
David Mudrak
6235771854 MDL-21695 Replaced participantswithselectedusers.htm
No AMOScript here as the help file is outdated and should be translated
from scratch.
2010-06-28 14:37:48 +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
Sam Hemelryk
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Sam Hemelryk
7c4efe3bc4 navigation MDL-14632 Added fuzzy matching as a worst case scenario to find the active node and tidied up course report page layouts 2010-05-19 07:57:00 +00:00
Martin Dougiamas
9dcc69bec1 MDL-2631 admin -> manager in caps 2010-04-30 03:13:07 +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
Martin Dougiamas
760b2edbe1 More nav cleanups 2010-04-29 17:06:26 +00:00
Martin Dougiamas
07a737de56 Just cleaning up this log report in the nav menu 2010-04-29 16:59:58 +00:00
Sam Hemelryk
b6a56aeae0 navigation MDL-14632 Improved display conditions for progress report 2010-04-27 03:18:58 +00:00
Martin Dougiamas
4c14885683 MDL-22056 More tidying up of pluginnames for course reports, and more component names tidying 2010-04-22 15:54:20 +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
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00