moodler [Thu, 4 Oct 2007 09:21:23 +0000 (09:21 +0000)]
Just a little tidying up in the user report (padding)
skodak [Thu, 4 Oct 2007 09:00:29 +0000 (09:00 +0000)]
MDL-11582 switch category item only if it is really there - forgot to add courseitem into condition
skodak [Thu, 4 Oct 2007 08:48:04 +0000 (08:48 +0000)]
moving the class instantiation a bit earlier so that we can safely modify it
skodak [Thu, 4 Oct 2007 08:36:34 +0000 (08:36 +0000)]
MDL-11582 switch category item only if it is really there
toyomoyo [Thu, 4 Oct 2007 08:22:55 +0000 (08:22 +0000)]
MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set
nicolasconnault [Thu, 4 Oct 2007 08:16:13 +0000 (08:16 +0000)]
MDL-11576 Added the groupsql clause to has_hidden_grades
nicolasconnault [Thu, 4 Oct 2007 08:02:00 +0000 (08:02 +0000)]
MDL-11576 New grade_item method has_hidden_grades(), which returns a simple count of hidden grades for the item.
nicolasconnault [Thu, 4 Oct 2007 07:44:13 +0000 (07:44 +0000)]
Instantiating a full $grade_item object, otherwise the get_displaytype() method is not available and causes a fatal error
toyomoyo [Thu, 4 Oct 2007 07:06:54 +0000 (07:06 +0000)]
MDL-11544, tags migrate script postgres db problem
nicolasconnault [Thu, 4 Oct 2007 07:02:44 +0000 (07:02 +0000)]
MDL-11581 Implemented gradedisplaytype in user reports
moodler [Thu, 4 Oct 2007 06:44:51 +0000 (06:44 +0000)]
Latest tags file
moodler [Thu, 4 Oct 2007 06:06:07 +0000 (06:06 +0000)]
FIxed a string name which changed
gbateson [Thu, 4 Oct 2007 05:32:27 +0000 (05:32 +0000)]
use target="$CFG->framename" instead of $CFG->frametarget when HotPot navigation is set to "Moodle navigation frame"so that Moodle does not get stuck in sub frame
toyomoyo [Thu, 4 Oct 2007 05:13:28 +0000 (05:13 +0000)]
merged fix for MDL-10353, after setting preferences user should return to same course view
moodler [Thu, 4 Oct 2007 05:12:43 +0000 (05:12 +0000)]
Automatic installer.php lang files by installer_builder (
20071004)
skodak [Wed, 3 Oct 2007 22:26:05 +0000 (22:26 +0000)]
prevent returning of invalid array from get_course_managers()
skodak [Wed, 3 Oct 2007 21:14:58 +0000 (21:14 +0000)]
MDL-11587 new grade_seq class similar to grade_tree but flat
skodak [Wed, 3 Oct 2007 20:24:59 +0000 (20:24 +0000)]
MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector
skodak [Wed, 3 Oct 2007 20:02:12 +0000 (20:02 +0000)]
MDL-11585 false is not allowed default in admin_setting_configselect constructor
stronk7 [Wed, 3 Oct 2007 18:39:38 +0000 (18:39 +0000)]
Moving some uses of deprecated functions to recordsets
in cron. MDL-11571 and MDL-11487.
Fixed wrong call to cleanup_dirty_contexts() and changed
to gc_cache_flags(). Please review. MDL-11347
mudrd8mz [Wed, 3 Oct 2007 16:39:08 +0000 (16:39 +0000)]
MDL-11344 Reverting commit 1.145 and keeping deprecated $string['editlang'] for backwards compatibility.
stronk7 [Wed, 3 Oct 2007 16:31:20 +0000 (16:31 +0000)]
Moving 3 functions from datalib to deprecatedlib. Only used
by admin/cron.php. First step of MDL-11571 and MDL-11487
skodak [Wed, 3 Oct 2007 14:38:55 +0000 (14:38 +0000)]
MDL-11143 fixed defaultfrongpageroleid typo and fixed notices during install and upgrade cause by undefined $CFG->defaultfrontpageroleid
skodak [Wed, 3 Oct 2007 14:16:04 +0000 (14:16 +0000)]
fixed context parameter in has_capability() call
skodak [Wed, 3 Oct 2007 14:13:13 +0000 (14:13 +0000)]
fixed incorrect use of forum contexts in search/documents/*
exe-cutor [Wed, 3 Oct 2007 12:36:48 +0000 (12:36 +0000)]
Adapted README due to attribute requirement change
moodler [Wed, 3 Oct 2007 12:24:06 +0000 (12:24 +0000)]
Fixed longtimenosee unenrolments. user_lastaccess and role_assignments were growing with uneccessary entries, to the point where memory limits were reached and in the end NO unenrolments were happening at all.
See MDL-11571
nicolasconnault [Wed, 3 Oct 2007 12:22:25 +0000 (12:22 +0000)]
MDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a dependency problem in moodlelib
moodler [Wed, 3 Oct 2007 12:04:02 +0000 (12:04 +0000)]
Don't use the 100 limit for debugging in anything lower than DEBUG_DEVELOPER mode
skodak [Wed, 3 Oct 2007 10:35:34 +0000 (10:35 +0000)]
MDL-11566 site summary now optional
moodler [Wed, 3 Oct 2007 09:12:01 +0000 (09:12 +0000)]
Fixed some notices but this needs review from Petr MDL-10383
toyomoyo [Wed, 3 Oct 2007 08:26:13 +0000 (08:26 +0000)]
MDL-11553, bulk user actions selection buttons do not work as expected
toyomoyo [Wed, 3 Oct 2007 06:20:23 +0000 (06:20 +0000)]
MDL-11535, error in block sql group by clause
moodler [Wed, 3 Oct 2007 05:07:25 +0000 (05:07 +0000)]
Automatic installer.php lang files by installer_builder (
20071003)
jamiesensei [Wed, 3 Oct 2007 04:42:57 +0000 (04:42 +0000)]
MDL-11139 "Need to pass courseid or cmid to this script when moving questions between categories " added COURSE to globals in function that redirects browser to contextmoveq page.
toyomoyo [Wed, 3 Oct 2007 04:21:53 +0000 (04:21 +0000)]
MDL-10353, in view.php we should not supply default course, otherwise calendar filters will not be set up properly (course filter wrong)
moodler [Wed, 3 Oct 2007 03:33:57 +0000 (03:33 +0000)]
Make sure that the role names gets filtered in get_assignable_roles()
moodler [Wed, 3 Oct 2007 03:31:31 +0000 (03:31 +0000)]
Fixed the list of role names (order and filters) MDL-11143
jamiesensei [Wed, 3 Oct 2007 03:16:27 +0000 (03:16 +0000)]
fix for fatal error in tabs.php because of missing global var contexts.
skodak [Tue, 2 Oct 2007 23:08:00 +0000 (23:08 +0000)]
MDL-11568 warnings - can not use $USER->property when not logged in - quick fix, please review last commits
skodak [Tue, 2 Oct 2007 22:34:12 +0000 (22:34 +0000)]
MDL-11523 fixed - moving categories and courses around breaks paths and depths in context table + some notice fixes
skodak [Tue, 2 Oct 2007 21:45:49 +0000 (21:45 +0000)]
only whitespace beautification
skodak [Tue, 2 Oct 2007 21:45:02 +0000 (21:45 +0000)]
MDL-11143 unimportant change
skodak [Tue, 2 Oct 2007 21:38:53 +0000 (21:38 +0000)]
MDL-11562 supportname and supportemail are are now initialized after admin user setup
MDL-11566 only site shortname, fullname and desc are required/displayed during installation
MDL-11567 fixed upgradesettings redirects if error in settings
MDL-11143 defaultfrontpageroleid moved to Frontpage settings page (easier to find), speedup
tjhunt [Tue, 2 Oct 2007 18:49:04 +0000 (18:49 +0000)]
PHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.
whchuang [Tue, 2 Oct 2007 17:59:06 +0000 (17:59 +0000)]
added missing string definition for sectionerror. Fixed MDL-10766
skodak [Tue, 2 Oct 2007 16:50:43 +0000 (16:50 +0000)]
DONAL, PLEASE START USING OUR DB EDITOR! the last commit did have invalid XML, incorrect next/prev attributes, different data in install.xml and upgrade.php; the main reason to have this editor was to prevent this type of critical errors ;-)
skodak [Tue, 2 Oct 2007 16:20:45 +0000 (16:20 +0000)]
MDL-11555 temporary patch for too long index on mysql - in mysql the limit is 333 unicode chars
move the gradebook cleanup to the end of upgrade.php - please keep it there
donal72 [Tue, 2 Oct 2007 16:15:14 +0000 (16:15 +0000)]
Version bump for roaming themes. Mods are to mnet_host table. MDL-11545
donal72 [Tue, 2 Oct 2007 16:14:39 +0000 (16:14 +0000)]
Choose the correct theme for SSO-authenticated users. Roaming themes
donal72 [Tue, 2 Oct 2007 16:12:41 +0000 (16:12 +0000)]
Add force_theme and theme attributes to peer class for Roaming Themes
donal72 [Tue, 2 Oct 2007 16:10:19 +0000 (16:10 +0000)]
New files for config of MNet roaming themes
donal72 [Tue, 2 Oct 2007 16:09:17 +0000 (16:09 +0000)]
Display new tabs for the 'Themes' config page in mnet
donal72 [Tue, 2 Oct 2007 16:08:46 +0000 (16:08 +0000)]
Instantiate some new strings for roaming themes
donal72 [Tue, 2 Oct 2007 16:07:10 +0000 (16:07 +0000)]
Some strings for roaming themes
donal72 [Tue, 2 Oct 2007 15:44:36 +0000 (15:44 +0000)]
Fix for version no. (date) in upgrade.php
donal72 [Tue, 2 Oct 2007 15:43:11 +0000 (15:43 +0000)]
New database fields in mnet_host for roaming themes
skodak [Tue, 2 Oct 2007 15:33:09 +0000 (15:33 +0000)]
adding caps for new gradebook settings into has_admin_caps() perf hack in block_admin_tree
skodak [Tue, 2 Oct 2007 15:24:19 +0000 (15:24 +0000)]
fixed typo in last commit - undefined $sql
tjhunt [Tue, 2 Oct 2007 13:32:51 +0000 (13:32 +0000)]
MDL-11552 - Oops, I missed one bit when merging from OU Moodle.
tjhunt [Tue, 2 Oct 2007 13:30:51 +0000 (13:30 +0000)]
MDL-11552 - Look for the name of an admin report inside the plugin's own lang dir before falling back to the main admin.php lang file.
moodler [Tue, 2 Oct 2007 09:45:00 +0000 (09:45 +0000)]
Removing un-needed DISTINCT here actually solves MDL-11546
(after discussion with Martin Langhoff in Skype)
nfreear [Tue, 2 Oct 2007 09:36:47 +0000 (09:36 +0000)]
Fixes MDL-11161, Activity type text ... beginning of activity links in Screen Reader...moved to end (also MDL- 7436)
martinlanghoff [Tue, 2 Oct 2007 08:46:27 +0000 (08:46 +0000)]
accesslib: dirty context handling now uses cache_flags
get_dirty_contexts() and mark_context_dirty() now use cache_flags
infrastructure. Remove deprecated cleanup_dirty_contexts() - this is
now handled by gc_cache_flags() in a more generic way.
martinlanghoff [Tue, 2 Oct 2007 08:39:44 +0000 (08:39 +0000)]
moodlelib: Introducing the cache_flags functions
These are functions for handling the volatile entries in the
cache_flags table.
get_cache_flags() - get array of current flags
set_cache_flag() - set a single flag
unset_cache_flag() - unset a single flag
gc_cache_flags() - garbage-collect expired flags
martinlanghoff [Tue, 2 Oct 2007 08:38:19 +0000 (08:38 +0000)]
version bump: introducing cache_flags table to store volatile time-bound flags
We are intending to use them for dirty context paths, lightweight
session entries for auth/ldap, and other similar uses...
MDL-11347
martinlanghoff [Tue, 2 Oct 2007 08:34:10 +0000 (08:34 +0000)]
dmllib: more consistent err handling for execute_sql() and others
Silent errors in execute_sql() have been causing us lots of grief.
Turns out that if you have dblogerror set, it _will_ write it to the
logs.
DMLlib wasn't consistent. Most "modern" codepaths were calling both
debugging() and the dblogerror idiom. So we make all calls to
$db->Execute() consistent.
(Some exceptions remain, mostly for hardcoded SQL, such as the SET
statements when we connect...)
gbateson [Tue, 2 Oct 2007 07:46:49 +0000 (07:46 +0000)]
added 4 new functions for Moodle 1.9 gradebook: "hotpot_get_user_grades", "hotpot_update_grades", "hotpot_grade_item_update" and "hotpot_grade_item_delete"
moodler [Tue, 2 Oct 2007 07:16:09 +0000 (07:16 +0000)]
Fixed a notice relating to customcorners not being initialised
donal72 [Tue, 2 Oct 2007 06:45:40 +0000 (06:45 +0000)]
Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users.
moodler [Tue, 2 Oct 2007 06:18:30 +0000 (06:18 +0000)]
Applied DISTINCT as per Martin Langhoff's solution in MDL-11381
user/index: ensure each user appears only once in participants list
Regardless of the number of enrolments, ensure we list a single entry
per user using DISTINCT. Much easier to manage than a GROUP BY.
toyomoyo [Tue, 2 Oct 2007 03:37:30 +0000 (03:37 +0000)]
change participants of frontpage course to display all users, if current user has capability MDL-11143
mattc-catalyst [Tue, 2 Oct 2007 01:43:07 +0000 (01:43 +0000)]
MDL-11538: lib/olson - bugfix, olson time-zone import doesn't deal with rule changes in the future
Author: Matt Clarkson <mattc@catalyst.net.nz>
gbateson [Sun, 30 Sep 2007 04:21:52 +0000 (04:21 +0000)]
use new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove slashes after preg_replace with "e" modifier, because when MSSQL Server is installed, PHP's "stripslashes()" does not remove slashes, even if the Moodle database is not MSSQL
skodak [Sat, 29 Sep 2007 16:26:13 +0000 (16:26 +0000)]
MDL-11517 reserved word MOD used in table alias in questions backup code
skodak [Sat, 29 Sep 2007 16:18:01 +0000 (16:18 +0000)]
MDL-11516 removed Call-time pass-by-reference when using get_question_options()
skodak [Sat, 29 Sep 2007 16:07:52 +0000 (16:07 +0000)]
MDL-11510 added missing fields in new gradebook backup
skodak [Sat, 29 Sep 2007 13:48:41 +0000 (13:48 +0000)]
MDL-10383 added new subarray into $SESSION->activegroup which store active group in groupings for users with accessallgroups permission - defaults to 0 on first use; this should solve the problem when user has accessallgroups only in one activity
skodak [Sat, 29 Sep 2007 11:01:34 +0000 (11:01 +0000)]
MDL-11462 fixed PARAM_URL inline focs, uncommented old regex in URL validation library - official TLD not required anymore
skodak [Fri, 28 Sep 2007 21:58:02 +0000 (21:58 +0000)]
MDL-11504 added grade_letter -> grade_letters migration - will not be executed on dev sites where grade_letters already exists :-(
skodak [Fri, 28 Sep 2007 21:00:31 +0000 (21:00 +0000)]
MDL-11504 fixed defaults in grade_items/display; added decimals and display to grade_items_history
skodak [Fri, 28 Sep 2007 20:12:43 +0000 (20:12 +0000)]
MDL-11495 grade letter setting improvements:
* in_null for decimals defaults checks
* store letter settings only in database - no cfg settings
* separate configuration page for letters only - pluginselector+admin tree
* new capability to manage grade letters - similar to scales and outcomes
* added grade_letters db index
* grade letters related minor bugfixing
nfreear [Fri, 28 Sep 2007 12:57:15 +0000 (12:57 +0000)]
Fixes MDL-11496, SQL error when deleting a unit via the (ou) Publisher - delete groupings.
skodak [Fri, 28 Sep 2007 11:08:44 +0000 (11:08 +0000)]
MDL-11495 removed GRADE_DECIMALS_DEFAULT null constant, is_null() used instead for tests, -1 used in menu options
nicolasconnault [Fri, 28 Sep 2007 08:46:25 +0000 (08:46 +0000)]
MDL-11406 Removed lang files from block folder, and put them in en_utf8 and fr_utf8
nicolasconnault [Fri, 28 Sep 2007 07:55:51 +0000 (07:55 +0000)]
MDL-11480 Reviewed, tested, and pplied Petr's patch.
toyomoyo [Fri, 28 Sep 2007 07:25:09 +0000 (07:25 +0000)]
adding a fieldset
toyomoyo [Fri, 28 Sep 2007 07:21:48 +0000 (07:21 +0000)]
minor fixes/typo for notes
toyomoyo [Fri, 28 Sep 2007 03:07:03 +0000 (03:07 +0000)]
minor fixes for bulk user actions, adding ?>, using delete_user() function to delete users, etc
toyomoyo [Fri, 28 Sep 2007 01:53:45 +0000 (01:53 +0000)]
MDL-11478, fixing a notice
stronk7 [Thu, 27 Sep 2007 23:37:42 +0000 (23:37 +0000)]
Passing $course to require_login() provides correct and
automatic navlinks to the course. MDL-11452
nicolasconnault [Thu, 27 Sep 2007 18:00:25 +0000 (18:00 +0000)]
MDL-11456 the .grade-report-grader table {} style was cascading down to the popups (which use tables, alas...), so I created a number of css classes which now control color, font etc for caption and feedback cells of the popup.
stronk7 [Thu, 27 Sep 2007 15:10:52 +0000 (15:10 +0000)]
_new is _blank
jmg324 [Thu, 27 Sep 2007 12:38:40 +0000 (12:38 +0000)]
generate_email_supportuser needs to set maildisplay for email_to_user to include proper support details.
skodak [Thu, 27 Sep 2007 09:58:40 +0000 (09:58 +0000)]
MDL-10791 format_float() now supports non-localised output too (. decimal separator forced)
skodak [Thu, 27 Sep 2007 08:41:19 +0000 (08:41 +0000)]
MDL-11472 fixed harcoded mdl_ prefix in sql queries
skodak [Thu, 27 Sep 2007 08:18:28 +0000 (08:18 +0000)]
MDL-11442 removed last instances of global $course
jamiesensei [Thu, 27 Sep 2007 08:17:09 +0000 (08:17 +0000)]
fixed closing of popup on saving question which was broken and also added closing of popup on cancel.
jamiesensei [Thu, 27 Sep 2007 07:41:58 +0000 (07:41 +0000)]
modifiedby and timemodified is now set when a question is created as well as createdby and timecreated instead of being left as zero
skodak [Thu, 27 Sep 2007 07:06:17 +0000 (07:06 +0000)]
MDL-11451 adding default ipaddress restriction and 7 days lifetime for user key