moodle.git
11 years agoMDL-23948 making $ACCESSLIB_PRIVATE proper global
Petr Skoda [Thu, 26 Aug 2010 16:10:19 +0000 (16:10 +0000)]
MDL-23948 making $ACCESSLIB_PRIVATE proper global

11 years agoMDL-23949 fixed wrong preloading of caps caused by uninitialised $USER
Petr Skoda [Thu, 26 Aug 2010 15:44:42 +0000 (15:44 +0000)]
MDL-23949 fixed wrong preloading of caps caused by uninitialised $USER

11 years agoMDL-23948 we should make CFG global before assigning value to it, you could not inclu...
Petr Skoda [Thu, 26 Aug 2010 15:31:18 +0000 (15:31 +0000)]
MDL-23948 we should make CFG global before assigning value to it, you could not include our config.php from non-global scope before which was breaking external stuff

11 years agoMDL-23824 prevent header warnings on CLI after fatal config.php error detected
Petr Skoda [Thu, 26 Aug 2010 14:57:32 +0000 (14:57 +0000)]
MDL-23824 prevent header warnings on CLI after fatal config.php error detected

11 years agocompletion is trying to modify current db, it should use test prefix, but no idea...
Petr Skoda [Thu, 26 Aug 2010 10:01:39 +0000 (10:01 +0000)]
completion is trying to modify current db, it should use test prefix, but no idea if it really works; at least this change should help prevent damage on production sites

11 years ago"MDL-23917, fixed ignore_premission logic"
Dongsheng Cai [Thu, 26 Aug 2010 09:25:13 +0000 (09:25 +0000)]
"MDL-23917, fixed ignore_premission logic"

11 years agoAutomatic installer lang files (20100826)
AMOS bot [Thu, 26 Aug 2010 08:56:15 +0000 (08:56 +0000)]
Automatic installer lang files (20100826)

11 years agoMDL-23885 fixed file api encapsulation and lowering number of direcories in zip files
Petr Skoda [Thu, 26 Aug 2010 07:43:06 +0000 (07:43 +0000)]
MDL-23885 fixed file api encapsulation and lowering number of direcories in zip files

11 years agoforum MDL-23388 altered the logic around making users exempt from the forum post...
Andrew Davis [Thu, 26 Aug 2010 07:36:23 +0000 (07:36 +0000)]
forum MDL-23388 altered the logic around making users exempt from the forum post threshold

11 years agoassignment MDL-22852 changed url to moodle url.
Aparup Banerjee [Thu, 26 Aug 2010 07:28:16 +0000 (07:28 +0000)]
assignment  MDL-22852 changed url to moodle url.

11 years agoblocks MDL-23935 fixed abuse of moodle_page protected variables
Sam Hemelryk [Thu, 26 Aug 2010 06:27:47 +0000 (06:27 +0000)]
blocks MDL-23935 fixed abuse of moodle_page protected variables

11 years agoNOBUG: Tidied up coding style in navigationlib
Sam Hemelryk [Thu, 26 Aug 2010 06:23:14 +0000 (06:23 +0000)]
NOBUG: Tidied up coding style in navigationlib

11 years ago"MDL-23910, improved restore pre-ui, removed treeview, list backup files in tables...
Dongsheng Cai [Thu, 26 Aug 2010 06:19:46 +0000 (06:19 +0000)]
"MDL-23910, improved restore pre-ui, removed treeview, list  backup files in tables and sorted by created time"

11 years agobackup MDL-23918 Fixed up wording in the backup and restore stages.
Sam Hemelryk [Thu, 26 Aug 2010 05:17:46 +0000 (05:17 +0000)]
backup MDL-23918 Fixed up wording in the backup and restore stages.

11 years agobackup MDL-23904 Tweaking core CSS for backups
Sam Hemelryk [Thu, 26 Aug 2010 03:29:32 +0000 (03:29 +0000)]
backup MDL-23904 Tweaking core CSS for backups

11 years agorating MDL-23908 made some progress resolving the get roles with capability problem
Andrew Davis [Thu, 26 Aug 2010 02:58:55 +0000 (02:58 +0000)]
rating MDL-23908 made some progress resolving the get roles with capability problem

11 years agobackup MDL-23904 Backup and restore UI improvements
Sam Hemelryk [Thu, 26 Aug 2010 02:18:13 +0000 (02:18 +0000)]
backup MDL-23904 Backup and restore UI improvements

11 years agobackup MDL-23885 committing Eloys patch so backup works with the revised file area...
Andrew Davis [Thu, 26 Aug 2010 02:15:11 +0000 (02:15 +0000)]
backup MDL-23885 committing Eloys patch so backup works with the revised file area system

11 years agoforms MDL-23891 Fixed up IE bug in JavaScript for finding reset buttons
Sam Hemelryk [Thu, 26 Aug 2010 02:05:47 +0000 (02:05 +0000)]
forms MDL-23891 Fixed up IE bug in JavaScript for finding reset buttons

11 years agoUpdated the HEAD build version to 20100826
Moodle Robot [Thu, 26 Aug 2010 00:46:43 +0000 (00:46 +0000)]
Updated the HEAD build version to 20100826

11 years agoMDL-23885 flattening filepool directory structure - hopefully this will lower the...
Petr Skoda [Wed, 25 Aug 2010 21:45:34 +0000 (21:45 +0000)]
MDL-23885 flattening filepool directory structure - hopefully this will lower the number of directories but still keep a reasonable number of files in each directory on large installs; see tracker for more details

11 years agoMDL-23925 hopefully finalised unit tests for case and accent insensitive problems
Petr Skoda [Wed, 25 Aug 2010 20:26:23 +0000 (20:26 +0000)]
MDL-23925 hopefully finalised unit tests for case and accent insensitive problems

11 years agoquiz MDL-23937 fix broken URL.
Tim Hunt [Wed, 25 Aug 2010 15:58:26 +0000 (15:58 +0000)]
quiz MDL-23937 fix broken URL.

11 years agoMake the answer entry box as big as will fit.
Tim Hunt [Wed, 25 Aug 2010 15:21:33 +0000 (15:21 +0000)]
Make the answer entry box as big as will fit.

11 years agoMDL-23934 customlang: MySQL does not like SELECT field, *
David Mudrak [Wed, 25 Aug 2010 11:52:49 +0000 (11:52 +0000)]
MDL-23934 customlang: MySQL does not like SELECT field, *

11 years agoMDL-23925 completely reverting binary comparison hack, we have to instruct admins...
Petr Skoda [Wed, 25 Aug 2010 11:18:37 +0000 (11:18 +0000)]
MDL-23925 completely reverting binary comparison hack, we have to instruct admins to setup case+accent sensitive collation as default instead

11 years agoMDL-23925 more unit tests that should help with diagnostics of collation issues;...
Petr Skoda [Wed, 25 Aug 2010 10:14:47 +0000 (10:14 +0000)]
MDL-23925 more unit tests that should help with diagnostics of collation issues; fixed utf-8 issues with first char of my nick

11 years agoMDL-23925 reverting changes, we need to fix uniqueness and collation issues first
Petr Skoda [Wed, 25 Aug 2010 09:35:18 +0000 (09:35 +0000)]
MDL-23925 reverting changes, we need to fix uniqueness and collation issues first

11 years agoMDL-20514 help string rewording
Helen Foster [Wed, 25 Aug 2010 09:32:45 +0000 (09:32 +0000)]
MDL-20514 help string rewording

11 years ago"NOBUG rename username from comment api, it supposed to be secret"
Dongsheng Cai [Wed, 25 Aug 2010 09:11:36 +0000 (09:11 +0000)]
"NOBUG rename username from comment api, it supposed to be secret"

11 years agorating MDL-23908 reformated the rating role hints
Andrew Davis [Wed, 25 Aug 2010 09:00:56 +0000 (09:00 +0000)]
rating MDL-23908 reformated the rating role hints

11 years agoMDL-23927 improved guest handling
Petr Skoda [Wed, 25 Aug 2010 08:58:22 +0000 (08:58 +0000)]
MDL-23927 improved guest handling

11 years agoMDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any...
Petr Skoda [Wed, 25 Aug 2010 08:56:07 +0000 (08:56 +0000)]
MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL

11 years agoMDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any...
Petr Skoda [Wed, 25 Aug 2010 08:43:42 +0000 (08:43 +0000)]
MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL

11 years agoMDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any...
Petr Skoda [Wed, 25 Aug 2010 08:32:59 +0000 (08:32 +0000)]
MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL

11 years agoMDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any...
Petr Skoda [Wed, 25 Aug 2010 08:30:52 +0000 (08:30 +0000)]
MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case

11 years agoMDL-21782 guest filed is not in course table any more
Petr Skoda [Wed, 25 Aug 2010 08:25:38 +0000 (08:25 +0000)]
MDL-21782 guest filed is not in course table any more

11 years ago"MDL-23917, fixed the capability check, comment api"
Dongsheng Cai [Wed, 25 Aug 2010 08:20:46 +0000 (08:20 +0000)]
"MDL-23917, fixed the capability check, comment api"

11 years agorating MDL-23908 moved a string
Andrew Davis [Wed, 25 Aug 2010 08:03:23 +0000 (08:03 +0000)]
rating MDL-23908 moved a string
AMOS BEGIN
 MOV [aggregatetype_help,mod_forum],[aggregatetype_help,core_rating]
AMOS END

11 years agorating MDL-23908 removed 2 strings
Andrew Davis [Wed, 25 Aug 2010 07:50:12 +0000 (07:50 +0000)]
rating MDL-23908 removed 2 strings

11 years agorating MDL-23908 moved a string
Andrew Davis [Wed, 25 Aug 2010 07:49:15 +0000 (07:49 +0000)]
rating MDL-23908 moved a string
AMOS BEGIN
 MOV [ratingtime,mod_forum],[rating,core_rating]
AMOS END

11 years ago"MDL-23917, by pass permission when view comments in front page"
Dongsheng Cai [Wed, 25 Aug 2010 07:47:22 +0000 (07:47 +0000)]
"MDL-23917, by pass permission when view comments in front page"

11 years agorating MDL-23908 moved around some strings
Andrew Davis [Wed, 25 Aug 2010 07:42:07 +0000 (07:42 +0000)]
rating MDL-23908 moved around some strings

11 years agorating MDL-23908 made roles information even clearer
Andrew Davis [Wed, 25 Aug 2010 07:18:56 +0000 (07:18 +0000)]
rating MDL-23908 made roles information even clearer

11 years ago"MDL-23917, added component parameter to comment api"
Dongsheng Cai [Wed, 25 Aug 2010 06:24:17 +0000 (06:24 +0000)]
"MDL-23917, added component parameter to comment api"

11 years ago"MDL-23917, automatically start comments block"
Dongsheng Cai [Wed, 25 Aug 2010 06:15:01 +0000 (06:15 +0000)]
"MDL-23917, automatically start comments block"

11 years agocalendar MDL-23932 Defaults now set when initialising a calendar_event object
Sam Hemelryk [Wed, 25 Aug 2010 06:08:16 +0000 (06:08 +0000)]
calendar MDL-23932 Defaults now set when initialising a calendar_event object

11 years ago"MDL-23917, fixed js error in comment block"
Dongsheng Cai [Wed, 25 Aug 2010 06:05:02 +0000 (06:05 +0000)]
"MDL-23917, fixed js error in comment block"

11 years ago"MDL-23917, move action parameter above"
Dongsheng Cai [Wed, 25 Aug 2010 05:56:48 +0000 (05:56 +0000)]
"MDL-23917, move action parameter above"

11 years ago"MDL-23382 added confirm button, credits to Stefan"
Dongsheng Cai [Wed, 25 Aug 2010 04:15:56 +0000 (04:15 +0000)]
"MDL-23382 added confirm button, credits to Stefan"

11 years ago"MDL-23917, display comments for not logged in users"
Dongsheng Cai [Wed, 25 Aug 2010 03:50:19 +0000 (03:50 +0000)]
"MDL-23917, display comments for not logged in users"

11 years ago"MDL-23915 fixed js error in comment"
Dongsheng Cai [Wed, 25 Aug 2010 03:28:34 +0000 (03:28 +0000)]
"MDL-23915 fixed js error in comment"

11 years agofilter MDL-23903 fixed problems with youtube handling in the multimedia filter
Andrew Davis [Wed, 25 Aug 2010 02:16:50 +0000 (02:16 +0000)]
filter MDL-23903 fixed problems with youtube handling in the multimedia filter

11 years agorating MDL-23908 altered the way the role hints for ratings work
Andrew Davis [Wed, 25 Aug 2010 01:41:15 +0000 (01:41 +0000)]
rating MDL-23908 altered the way the role hints for ratings work

11 years agoMDL-23905 fix regression in mod_resource pluginfile.php migration
Ashley Holman [Wed, 25 Aug 2010 01:40:10 +0000 (01:40 +0000)]
MDL-23905 fix regression in mod_resource pluginfile.php migration

11 years agomod-data MDL-23656 Convert mod-data-preset to use the new file API
Sam Hemelryk [Wed, 25 Aug 2010 01:22:15 +0000 (01:22 +0000)]
mod-data MDL-23656 Convert mod-data-preset to use the new file API

11 years agobackup MDL-23559 Moved UI validation routines from backup_setting to backup_setting_u...
Sam Hemelryk [Wed, 25 Aug 2010 01:14:25 +0000 (01:14 +0000)]
backup MDL-23559 Moved UI validation routines from backup_setting to backup_setting_ui and fixed label validation problems

11 years agoUpdated the HEAD build version to 20100825
Moodle Robot [Wed, 25 Aug 2010 00:46:29 +0000 (00:46 +0000)]
Updated the HEAD build version to 20100825

11 years agoMDL-21696 Added new admin report for language customization
David Mudrak [Tue, 24 Aug 2010 23:19:11 +0000 (23:19 +0000)]
MDL-21696 Added new admin report for language customization

11 years agoMDL-21696 Getting rid of legacy language customization stuff
David Mudrak [Tue, 24 Aug 2010 23:17:19 +0000 (23:17 +0000)]
MDL-21696 Getting rid of legacy language customization stuff

11 years agoMDL-23925, MDL-23888 new sql_ilike() and sql_binary_equal() - this should finally...
Petr Skoda [Tue, 24 Aug 2010 21:50:53 +0000 (21:50 +0000)]
MDL-23925, MDL-23888 new sql_ilike() and sql_binary_equal() - this should finally allow us to solve many collation issues consistently for all supported databases; please note this changes some behaviour for non-english languages when mysql used; expect more commits that actually make use of these new features

11 years agoMDL-23898 backup - avoid role assignments for deleted users
Eloy Lafuente [Tue, 24 Aug 2010 21:05:47 +0000 (21:05 +0000)]
MDL-23898 backup - avoid role assignments for deleted users

11 years agoMDL-23825 commented disabledif calls until this bug is solved so that calcualted...
Pierre Pichet [Tue, 24 Aug 2010 15:32:02 +0000 (15:32 +0000)]
MDL-23825 commented disabledif calls until this bug is solved so that calcualted and numerical questions can be edited

11 years agoremove no more used string 'decfractionof'
Pierre Pichet [Tue, 24 Aug 2010 15:04:26 +0000 (15:04 +0000)]
remove no more used string 'decfractionof'

11 years agoMDL-23796 backup - delete temp hack in choice, not needed because parser now handles...
Eloy Lafuente [Tue, 24 Aug 2010 14:12:41 +0000 (14:12 +0000)]
MDL-23796 backup - delete temp hack in choice, not needed because parser now handles that ok

11 years agoMDL-23796 backup - improve parser to discard whitespace-empty tags
Eloy Lafuente [Tue, 24 Aug 2010 14:07:31 +0000 (14:07 +0000)]
MDL-23796 backup - improve parser to discard whitespace-empty tags

11 years agoMDL-23922 preventing invalid modifications of PAGE object
Petr Skoda [Tue, 24 Aug 2010 13:39:13 +0000 (13:39 +0000)]
MDL-23922 preventing invalid modifications of PAGE object

11 years agoMDL-23221 help string rewording
Helen Foster [Tue, 24 Aug 2010 13:38:54 +0000 (13:38 +0000)]
MDL-23221 help string rewording

11 years agorating MDL-23908 added info to module config to help the user with rating permissions
Andrew Davis [Tue, 24 Aug 2010 13:06:49 +0000 (13:06 +0000)]
rating MDL-23908 added info to module config to help the user with rating permissions

11 years agoMDL-23916 JS now allowed on private /my/ pages again
Petr Skoda [Tue, 24 Aug 2010 09:14:09 +0000 (09:14 +0000)]
MDL-23916 JS now allowed on private /my/ pages again

11 years agoMDL-23911 login as session can be only terminated by logout, this should improve...
Petr Skoda [Tue, 24 Aug 2010 08:50:53 +0000 (08:50 +0000)]
MDL-23911 login as session can be only terminated by logout, this should improve security on pages where user may enter JS that only he/she can see - such as the /my/index.php

11 years ago"MDL-23894, added user quota limit to filesedit form"
Dongsheng Cai [Tue, 24 Aug 2010 07:52:12 +0000 (07:52 +0000)]
"MDL-23894, added user quota limit to filesedit form"

11 years agobackup MDL-23909 fixed error in backup when navigating to a previous stage.
Sam Hemelryk [Tue, 24 Aug 2010 07:47:10 +0000 (07:47 +0000)]
backup MDL-23909 fixed error in backup when navigating to a previous stage.

11 years agoNOBUG: Added missing quotes to database preset header call
Sam Hemelryk [Tue, 24 Aug 2010 07:32:25 +0000 (07:32 +0000)]
NOBUG: Added missing quotes to database preset header call

11 years ago"MDL-23894 fixed user quota limit"
Dongsheng Cai [Tue, 24 Aug 2010 07:18:08 +0000 (07:18 +0000)]
"MDL-23894 fixed user quota limit"

11 years agolesson MDL-23907 fixed - $DB->get_records first selected field should be unique.
Aparup Banerjee [Tue, 24 Aug 2010 06:47:46 +0000 (06:47 +0000)]
lesson  MDL-23907 fixed - $DB->get_records first selected field should be unique.

11 years ago"MDL-23819, old wiki has binary data stored in db, which is not supported anymore...
Dongsheng Cai [Tue, 24 Aug 2010 06:45:33 +0000 (06:45 +0000)]
"MDL-23819, old wiki has binary data stored in db, which is not supported anymore, so we have to ignore the bad data without breaking upgrade process"

11 years ago"MDL-23823 allow users pick same file multi times in html editor"
Dongsheng Cai [Tue, 24 Aug 2010 06:29:24 +0000 (06:29 +0000)]
"MDL-23823 allow users pick same file multi times in html editor"

11 years agorestore MDL-23862 Course restore link in front page settings is now active again
Sam Hemelryk [Tue, 24 Aug 2010 03:52:52 +0000 (03:52 +0000)]
restore MDL-23862 Course restore link in front page settings is now active again

11 years agorestore MDL-23559 Setting more appropriate param type for UI label PARAM_TEXT instead...
Sam Hemelryk [Tue, 24 Aug 2010 03:29:04 +0000 (03:29 +0000)]
restore MDL-23559 Setting more appropriate param type for UI label PARAM_TEXT instead of PARAM_ALPHAEXT

11 years agoUpdated the HEAD build version to 20100824
Moodle Robot [Tue, 24 Aug 2010 00:47:48 +0000 (00:47 +0000)]
Updated the HEAD build version to 20100824

11 years agoMDL-21696 Extending string_manager::load_component_strings() API to ignore customized...
David Mudrak [Mon, 23 Aug 2010 16:51:45 +0000 (16:51 +0000)]
MDL-21696 Extending string_manager::load_component_strings() API to ignore customized translation

This seems to be the easiest way how to get current information about
the _local strings without re-implementing the logic of
load_string_manager() itself.

11 years agoMDL-23901 copy/paste style migration of glossary to export via pluginfile.php
Petr Skoda [Mon, 23 Aug 2010 14:42:31 +0000 (14:42 +0000)]
MDL-23901 copy/paste style migration of glossary to export via pluginfile.php

11 years agoNOMDL Added new core function to get a component version
David Mudrak [Mon, 23 Aug 2010 14:24:38 +0000 (14:24 +0000)]
NOMDL Added new core function to get a component version

11 years agoMDL-17678 typo fix thanks to reporter Chardelle Busch
Helen Foster [Mon, 23 Aug 2010 12:10:17 +0000 (12:10 +0000)]
MDL-17678 typo fix thanks to reporter Chardelle Busch

11 years agoMDL-15093 fixed recent LIKE escape regression
Petr Skoda [Mon, 23 Aug 2010 08:06:02 +0000 (08:06 +0000)]
MDL-15093 fixed recent LIKE escape regression

11 years agorestore MDL-23796 Temp fix for issue preventing choice mod from being restored if...
Sam Hemelryk [Mon, 23 Aug 2010 07:40:29 +0000 (07:40 +0000)]
restore MDL-23796 Temp fix for issue preventing choice mod from being restored if the backup was made with specific settings

11 years agoMDL-23897 adding miissing cleanup of draft areas
Petr Skoda [Mon, 23 Aug 2010 07:33:02 +0000 (07:33 +0000)]
MDL-23897 adding miissing cleanup of draft areas

11 years agoUpper case name for brick
Martin Dougiamas [Mon, 23 Aug 2010 03:04:42 +0000 (03:04 +0000)]
Upper case name for brick

11 years agoblocks-dock MDL-23891 Avoided use of broken YUI ancestor function in IE
Sam Hemelryk [Mon, 23 Aug 2010 02:55:04 +0000 (02:55 +0000)]
blocks-dock MDL-23891 Avoided use of broken YUI ancestor function in IE

11 years agoMDL-14238 - removing whitespaces.
Rossiani Wijaya [Mon, 23 Aug 2010 02:32:24 +0000 (02:32 +0000)]
MDL-14238 - removing whitespaces.

11 years agonavigation MDL-23881 Labels are now added to the navigation but the display property...
Sam Hemelryk [Mon, 23 Aug 2010 02:03:54 +0000 (02:03 +0000)]
navigation MDL-23881 Labels are now added to the navigation but the display property is set to false.

11 years agoUpdated the HEAD build version to 20100823
Moodle Robot [Mon, 23 Aug 2010 00:46:48 +0000 (00:46 +0000)]
Updated the HEAD build version to 20100823

11 years agoMDL-23781 lesson - files upgrade fatal error fixed
Eloy Lafuente [Sun, 22 Aug 2010 21:02:56 +0000 (21:02 +0000)]
MDL-23781 lesson - files upgrade fatal error fixed

11 years agoMDL-14679 more phpdocs improvements - fixed param types
Petr Skoda [Sun, 22 Aug 2010 19:32:37 +0000 (19:32 +0000)]
MDL-14679 more phpdocs improvements - fixed param types

11 years agoMDL-14679 more phpdocs improvements
Petr Skoda [Sun, 22 Aug 2010 19:26:48 +0000 (19:26 +0000)]
MDL-14679 more phpdocs improvements

11 years agoMDL-15093 get_tables might be fetching too many tables because "_" was not quoted...
Petr Skoda [Sun, 22 Aug 2010 19:20:23 +0000 (19:20 +0000)]
MDL-15093 get_tables might be fetching too many tables because "_" was not quoted, it was not a big problem because tables are validated once more later

11 years agoMDL-15093 improved coding style
Petr Skoda [Sun, 22 Aug 2010 19:17:06 +0000 (19:17 +0000)]
MDL-15093 improved coding style

11 years agoMDL-14679 more return types added
Petr Skoda [Sun, 22 Aug 2010 19:06:06 +0000 (19:06 +0000)]
MDL-14679 more return types added

11 years agofixed comment typo
Petr Skoda [Sun, 22 Aug 2010 19:01:09 +0000 (19:01 +0000)]
fixed comment typo