28574 Commits

Author SHA1 Message Date
toyomoyo
af5c201302 MDL-11553, bulk user actions selection buttons do not work as expected 2007-10-03 08:26:13 +00:00
toyomoyo
2f5b642ef4 MDL-11535, error in block sql group by clause 2007-10-03 06:20:23 +00:00
moodler
75d97dad4e Automatic installer.php lang files by installer_builder (20071003) 2007-10-03 05:07:25 +00:00
jamiesensei
be801b8b3a 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. 2007-10-03 04:42:57 +00:00
toyomoyo
45b39af803 MDL-10353, in view.php we should not supply default course, otherwise calendar filters will not be set up properly (course filter wrong) 2007-10-03 04:21:53 +00:00
moodler
2125f23e19 Make sure that the role names gets filtered in get_assignable_roles() 2007-10-03 03:33:57 +00:00
moodler
997436fa36 Fixed the list of role names (order and filters) MDL-11143 2007-10-03 03:31:31 +00:00
jamiesensei
489984a7a2 fix for fatal error in tabs.php because of missing global var contexts. 2007-10-03 03:16:27 +00:00
skodak
178bcb7523 MDL-11568 warnings - can not use $USER->property when not logged in - quick fix, please review last commits 2007-10-02 23:08:00 +00:00
skodak
1f41940f20 MDL-11523 fixed - moving categories and courses around breaks paths and depths in context table + some notice fixes 2007-10-02 22:34:12 +00:00
skodak
9d9c5f15b5 only whitespace beautification 2007-10-02 21:45:49 +00:00
skodak
0b7a912035 MDL-11143 unimportant change 2007-10-02 21:45:02 +00:00
skodak
8e5da17a44 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
2007-10-02 21:38:53 +00:00
tjhunt
75afe0e7e4 PHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE. 2007-10-02 18:49:04 +00:00
whchuang
3838d99a86 added missing string definition for sectionerror. Fixed MDL-10766 2007-10-02 17:59:06 +00:00
skodak
c57be126c4 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 ;-) 2007-10-02 16:50:43 +00:00
skodak
266f6b5900 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
2007-10-02 16:20:45 +00:00
donal72
1ce61506e5 Version bump for roaming themes. Mods are to mnet_host table. MDL-11545 2007-10-02 16:15:14 +00:00
donal72
1673e13423 Choose the correct theme for SSO-authenticated users. Roaming themes 2007-10-02 16:14:39 +00:00
donal72
22882b6617 Add force_theme and theme attributes to peer class for Roaming Themes 2007-10-02 16:12:41 +00:00
donal72
fcf24328ca New files for config of MNet roaming themes 2007-10-02 16:10:19 +00:00
donal72
d53b8d4bbb Display new tabs for the 'Themes' config page in mnet 2007-10-02 16:09:17 +00:00
donal72
2aa1f9bdd9 Instantiate some new strings for roaming themes 2007-10-02 16:08:46 +00:00
donal72
5859f9bbd4 Some strings for roaming themes 2007-10-02 16:07:10 +00:00
donal72
38d507af71 Fix for version no. (date) in upgrade.php 2007-10-02 15:44:36 +00:00
donal72
ac4e96fccd New database fields in mnet_host for roaming themes 2007-10-02 15:43:11 +00:00
skodak
777b7ed2d1 adding caps for new gradebook settings into has_admin_caps() perf hack in block_admin_tree 2007-10-02 15:33:09 +00:00
skodak
78fa15afc1 fixed typo in last commit - undefined $sql 2007-10-02 15:24:19 +00:00
tjhunt
325898c61e MDL-11552 - Oops, I missed one bit when merging from OU Moodle. 2007-10-02 13:32:51 +00:00
tjhunt
aad9f920b1 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. 2007-10-02 13:30:51 +00:00
moodler
38cb976c80 Removing un-needed DISTINCT here actually solves MDL-11546
(after discussion with Martin Langhoff in Skype)
2007-10-02 09:45:00 +00:00
nfreear
806ebc150c Fixes MDL-11161, Activity type text ... beginning of activity links in Screen Reader...moved to end (also MDL- 7436) 2007-10-02 09:36:47 +00:00
martinlanghoff
5903fbf5e7 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.
2007-10-02 08:46:27 +00:00
martinlanghoff
bafd7e78e9 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
2007-10-02 08:39:44 +00:00
martinlanghoff
e4a5c864b5 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
2007-10-02 08:38:19 +00:00
martinlanghoff
ba2984bf2b 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...)
2007-10-02 08:34:10 +00:00
gbateson
caf971045a 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" 2007-10-02 07:46:49 +00:00
moodler
0719c922ef Fixed a notice relating to customcorners not being initialised 2007-10-02 07:16:09 +00:00
donal72
e945004fd1 Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users. 2007-10-02 06:45:40 +00:00
moodler
5f2a203fa0 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.
2007-10-02 06:18:30 +00:00
toyomoyo
165088f687 change participants of frontpage course to display all users, if current user has capability MDL-11143 2007-10-02 03:37:30 +00:00
mattc-catalyst
f476ae28eb 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>
2007-10-02 01:43:07 +00:00
gbateson
b2ae61320b 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 2007-09-30 04:21:52 +00:00
skodak
8df73369ce MDL-11517 reserved word MOD used in table alias in questions backup code 2007-09-29 16:26:13 +00:00
skodak
446f9d888a MDL-11516 removed Call-time pass-by-reference when using get_question_options() 2007-09-29 16:18:01 +00:00
skodak
b5116f2afd MDL-11510 added missing fields in new gradebook backup 2007-09-29 16:07:52 +00:00
skodak
b0dcd1288f 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 2007-09-29 13:48:41 +00:00
skodak
41b7618ba2 MDL-11462 fixed PARAM_URL inline focs, uncommented old regex in URL validation library - official TLD not required anymore 2007-09-29 11:01:34 +00:00
skodak
5cf5e181dd MDL-11504 added grade_letter -> grade_letters migration - will not be executed on dev sites where grade_letters already exists :-( 2007-09-28 21:58:02 +00:00
skodak
d926630485 MDL-11504 fixed defaults in grade_items/display; added decimals and display to grade_items_history 2007-09-28 21:00:31 +00:00