28588 Commits

Author SHA1 Message Date
skodak
9376f5a66a MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector 2007-10-03 20:24:59 +00:00
skodak
8dd5c1ee2f MDL-11585 false is not allowed default in admin_setting_configselect constructor 2007-10-03 20:02:12 +00:00
stronk7
fce3ef94e8 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
2007-10-03 18:39:38 +00:00
mudrd8mz
2dbc40f452 MDL-11344 Reverting commit 1.145 and keeping deprecated $string['editlang'] for backwards compatibility. 2007-10-03 16:39:08 +00:00
stronk7
59bef7283d Moving 3 functions from datalib to deprecatedlib. Only used
by admin/cron.php. First step of MDL-11571 and MDL-11487
2007-10-03 16:31:20 +00:00
skodak
3d811bc167 MDL-11143 fixed defaultfrongpageroleid typo and fixed notices during install and upgrade cause by undefined $CFG->defaultfrontpageroleid 2007-10-03 14:38:55 +00:00
skodak
0e4da9e34f fixed context parameter in has_capability() call 2007-10-03 14:16:04 +00:00
skodak
3fda6eb2fe fixed incorrect use of forum contexts in search/documents/* 2007-10-03 14:13:13 +00:00
exe-cutor
1432ac143d Adapted README due to attribute requirement change 2007-10-03 12:36:48 +00:00
moodler
1afb11e70b 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
2007-10-03 12:24:06 +00:00
nicolasconnault
ece966f06e MDL-11482 Resolved the sum icon issue (added a new x-bar icon) and resolved a dependency problem in moodlelib 2007-10-03 12:22:25 +00:00
moodler
c8bb8644c4 Don't use the 100 limit for debugging in anything lower than DEBUG_DEVELOPER mode 2007-10-03 12:04:02 +00:00
skodak
c626c2f460 MDL-11566 site summary now optional 2007-10-03 10:35:34 +00:00
moodler
e873679b8a Fixed some notices but this needs review from Petr MDL-10383 2007-10-03 09:12:01 +00:00
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