Commit graph

10197 commits

Author SHA1 Message Date
Martin Dougiamas
3455494c39 MDL-19698 Fixing regression caused by new SimplePie 2010-07-21 05:17:06 +00:00
Dongsheng Cai
98e7ae6388 "MDL-23434, fixed accepted_types for filepicker" 2010-07-21 05:17:05 +00:00
Sam Hemelryk
f9bf32f82d navigation MDL-23439 Moved inclusion of resource lib file up within the load_module_settings 2010-07-21 02:53:52 +00:00
Andrew Davis
43b92251be rss MDL-23391 made lib/rsslib.php more generic 2010-07-21 02:11:53 +00:00
Jonathan Harker
9f24170cb8 MDL-20876 - updating third-party library readme_moodle with changes.
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2010-07-21 01:25:04 +00:00
David Mudrak
c6575befff MDL-22910 Fixed regression - problem with DISTINCT + text field in MSSQL/Oracle 2010-07-20 09:02:23 +00:00
Martin Dougiamas
dc2c9bd795 MDL-23391 rss cache is now inside the dataroot/cache with the others, so it doesn't need separate purging 2010-07-20 08:28:00 +00:00
Jonathan Harker
355593f123 MDL-19418 Fix up a couple of stray deprecated ereg and eregi_replace calls. 2010-07-20 06:13:18 +00:00
Dongsheng Cai
4a5a96b1e8 "MDL-13766, added icon for tinymce button" 2010-07-20 05:55:10 +00:00
Sam Hemelryk
f4136193b7 mod-assignment MDL-22686 Implemented solution for overflow hidden of submission table 2010-07-20 05:19:22 +00:00
Jonathan Harker
7785dc2e9f lib, auth, webservice: MDL-20876 fix deprecated split() calls. 2010-07-20 01:38:54 +00:00
Jonathan Harker
bed733c237 lib: MDL-20876 third-party libs - fix deprecated split() calls.
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2010-07-20 01:29:36 +00:00
Jonathan Harker
fcbf4b6fac lib/pear MDL-20876 fix deprecated split() calls to use explode, str_split or preg_split
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2010-07-20 01:16:55 +00:00
Inaki
5704585cf4 enrol/ldap: MDL-22784 Conversion of the LDAP enrolment plugin to the new enrolment infrastructure.
We've moved some of the LDAP auth plugin "knowledge" of different LDAP
servers to a common library, and we've added support for nested groups
enrolments for selected LDAP servers.

Lots of changes in the language pack, as all the plugin messages have been
internationali[sz]ed (it also includes renaming of quite a few string
identifiers).

During plugin settings migration, we rename 'version' setting to
'ldap_version', as we store the plugin version itself as a setting in the
plugin config table and the two collided.

Performance is not great for larga data sets but this can be improved later
(20000 users, 4000 courses and 100 users/course take around 1h25m on a somewhat
tuned postgresql-8.4 on a 2.66GHz Core2 Duo w/ 4 GB of RAM).

AMOS BEGIN
  MOV [description,enrol_ldap],[pluginname_desc,enrol_ldap]
  MOV [enrol_ldap_autocreate,enrol_ldap],[autocreate,enrol_ldap]
  MOV [enrol_ldap_autocreate_key,enrol_ldap],[autocreate_key,enrol_ldap]
  MOV [enrol_ldap_autocreation_settings,enrol_ldap],[autocreation_settings,enrol_ldap]
  MOV [enrol_ldap_bind_dn,enrol_ldap],[bind_dn,enrol_ldap]
  MOV [enrol_ldap_bind_dn_key,enrol_ldap],[bind_dn_key,enrol_ldap]
  MOV [enrol_ldap_bind_pw,enrol_ldap],[bind_pw,enrol_ldap]
  MOV [enrol_ldap_bind_pw_key,enrol_ldap],[bind_pw_key,enrol_ldap]
  MOV [enrol_ldap_bind_settings,enrol_ldap],[bind_settings,enrol_ldap]
  MOV [enrol_ldap_category,enrol_ldap],[category,enrol_ldap]
  MOV [enrol_ldap_category_key,enrol_ldap],[category_key,enrol_ldap]
  MOV [enrol_ldap_contexts,enrol_ldap],[contexts,enrol_ldap]
  MOV [enrol_ldap_course_fullname,enrol_ldap],[course_fullname,enrol_ldap]
  MOV [enrol_ldap_course_fullname_key,enrol_ldap],[course_fullname_key,enrol_ldap]
  MOV [enrol_ldap_course_idnumber,enrol_ldap],[course_idnumber,enrol_ldap]
  MOV [enrol_ldap_course_idnumber_key,enrol_ldap],[course_idnumber_key,enrol_ldap]
  MOV [enrol_ldap_course_search_sub,enrol_ldap],[course_search_sub,enrol_ldap]
  MOV [enrol_ldap_course_settings,enrol_ldap],[course_settings,enrol_ldap]
  MOV [enrol_ldap_course_shortname,enrol_ldap],[course_shortname,enrol_ldap]
  MOV [enrol_ldap_course_shortname_key,enrol_ldap],[course_shortname_key,enrol_ldap]
  MOV [enrol_ldap_course_summary,enrol_ldap],[course_summary,enrol_ldap]
  MOV [enrol_ldap_course_summary_key,enrol_ldap],[course_summary_key,enrol_ldap]
  MOV [enrol_ldap_editlock,enrol_ldap],[editlock,enrol_ldap]
  MOV [enrol_ldap_ldap_encoding,enrol_ldap],[ldap_encoding,enrol_ldap]
  MOV [enrol_ldap_ldap_encoding_key,enrol_ldap],[ldap_encoding_key,enrol_ldap]
  MOV [enrol_ldap_general_options,enrol_ldap],[general_options,enrol_ldap]
  MOV [enrol_ldap_group_memberofattribute,enrol_ldap],[group_memberofattribute,enrol_ldap]
  MOV [enrol_ldap_group_memberofattribute_key,enrol_ldap],[group_memberofattribute_key,enrol_ldap]
  MOV [enrol_ldap_host_url,enrol_ldap],[host_url,enrol_ldap]
  MOV [enrol_ldap_host_url_key,enrol_ldap],[host_url_key,enrol_ldap]
  MOV [enrol_ldap_idnumber_attribute,enrol_ldap],[idnumber_attribute,enrol_ldap]
  MOV [enrol_ldap_idnumber_attribute_key,enrol_ldap],[idnumber_attribute_key,enrol_ldap]
  MOV [enrol_ldap_memberattribute,enrol_ldap],[memberattribute,enrol_ldap]
  MOV [enrol_ldap_memberattribute_isdn,enrol_ldap],[memberattribute_isdn,enrol_ldap]
  MOV [enrol_ldap_memberattribute_isdn_key,enrol_ldap],[memberattribute_isdn_key,enrol_ldap]
  MOV [enrol_ldap_nested_groups,enrol_ldap],[nested_groups,enrol_ldap]
  MOV [enrol_ldap_nested_groups_key,enrol_ldap],[nested_groups_key,enrol_ldap]
  MOV [enrol_ldap_nested_groups_settings,enrol_ldap],[nested_groups_settings,enrol_ldap]
  MOV [enrol_ldap_objectclass,enrol_ldap],[objectclass,enrol_ldap]
  MOV [enrol_ldap_objectclass_key,enrol_ldap],[objectclass_key,enrol_ldap]
  MOV [enrol_ldap_opt_deref,enrol_ldap],[opt_deref,enrol_ldap]
  MOV [enrol_ldap_opt_deref_key,enrol_ldap],[opt_deref_key,enrol_ldap]
  MOV [enrol_ldap_roles,enrol_ldap],[roles,enrol_ldap]
  MOV [enrol_ldap_search_sub_key,enrol_ldap],[search_sub_key,enrol_ldap]
  MOV [enrol_ldap_server_settings,enrol_ldap],[server_settings,enrol_ldap]
  MOV [enrol_ldap_template,enrol_ldap],[template,enrol_ldap]
  MOV [enrol_ldap_template_key,enrol_ldap],[template_key,enrol_ldap]
  MOV [enrol_ldap_updatelocal,enrol_ldap],[updatelocal,enrol_ldap]
  MOV [enrol_ldap_user_attribute,enrol_ldap],[user_attribute,enrol_ldap]
  MOV [enrol_ldap_user_attribute_key,enrol_ldap],[user_attribute_key,enrol_ldap]
  MOV [enrol_ldap_user_contexts,enrol_ldap],[user_contexts,enrol_ldap]
  MOV [enrol_ldap_user_contexts_key,enrol_ldap],[user_contexts_key,enrol_ldap]
  MOV [enrol_ldap_user_search_sub,enrol_ldap],[user_search_sub,enrol_ldap]
  MOV [enrol_ldap_user_settings,enrol_ldap],[user_settings,enrol_ldap]
  MOV [enrol_ldap_user_type,enrol_ldap],[user_type,enrol_ldap]
  MOV [enrol_ldap_user_type_key,enrol_ldap],[user_type_key,enrol_ldap]
  MOV [enrol_ldap_version,enrol_ldap],[version,enrol_ldap]
  MOV [enrol_ldap_version_key,enrol_ldap],[version_key,enrol_ldap]
  MOV [search_sub_key,enrol_ldap],[course_search_sub_key,enrol_ldap]
AMOS END
2010-07-19 21:52:52 +00:00
Eloy Lafuente
3e09bb690b MDL-23400 accesslib - get_assignable_roles() now accepts $user param 2010-07-19 17:51:17 +00:00
Dongsheng Cai
be85f7ab94 "MDL-23307, server file plugin display current course files by default" 2010-07-19 17:44:23 +00:00
Martin Dougiamas
82af55d7e3 MDL-23367 First cut at moving the private files interface under /user. Has a few small bugs, working on them. 2010-07-19 13:21:16 +00:00
Petr Skoda
09e6fedbf1 'user' is now full core subsystem 2010-07-19 10:10:51 +00:00
Petr Skoda
db42bc5aaa deprecation notice, use standard PHP libs instead 2010-07-19 08:56:25 +00:00
Petr Skoda
9c67fd9107 fixed comment typo 2010-07-19 08:54:18 +00:00
Petr Skoda
0a8f8a65cd MDL-19698 deprecated assign new by ref in simpletest lib 2010-07-19 08:53:16 +00:00
Petr Skoda
0ad09db03b MDL-19698 deprecated assign new by ref in spikephpconverage 2010-07-19 08:47:57 +00:00
Petr Skoda
b62740391c MDL-19698 deprecated assign new by ref in pear spreadsheet/excel 2010-07-19 08:40:00 +00:00
Petr Skoda
6d504dc07f MDL-19698 deprecated assign new by ref in QuickForms 2010-07-19 08:38:28 +00:00
Petr Skoda
e4361ed601 MDL-19698 deprecated assign new by ref in our libs 2010-07-19 08:31:00 +00:00
Petr Skoda
bd69b9dbac MDL-19698 deprecated assign new by ref in our forms code 2010-07-19 08:29:25 +00:00
Petr Skoda
73f272016a MDL-19698 importing latest dev version of simplepie, this should fix most PHP5.3 deprecated issues 2010-07-19 08:22:58 +00:00
Andrew Davis
d5f25d957e rss MDL-23383 moved the RSS cache to /dataroot/cache/rss 2010-07-19 06:46:23 +00:00
Aaron Barnes
8948253844 course completion: MDL-22797 Updating to use user_enrolments instead of the
old role_assignments table to find course participants
2010-07-19 03:27:52 +00:00
Dan Marsden
2481a0466d Moodle Tinymce plugin - MDL-23356 convert tabs to spaces. 2010-07-19 02:57:57 +00:00
Dan Marsden
47d0b1d535 Moodle Tinymce plugin - fix syntax - thanks to Mauno for report/fix 2010-07-19 02:55:11 +00:00
Eloy Lafuente
8bc29d46b4 MDL-21840 backup - table for files handling on restore. Big thanks to MySQL for being so... limited? 2010-07-18 11:03:07 +00:00
Petr Skoda
8b32a7aa1f MDL-23306 fixed broken area backup and potential recursion issues in standard mod areas 2010-07-18 09:05:13 +00:00
Petr Skoda
3db2ddbd53 MDL-23361 fixed sloppy upgrade logic, sorry 2010-07-18 08:21:21 +00:00
Martin Dougiamas
34a988e25f MDL-23183 Made the block config form a little more robust (check file AND class, not just file) 2010-07-18 08:05:00 +00:00
Martin Dougiamas
ba6c97eeae MDL-23167 Upgraded "Purge caches" to a full admin page with a confirm button, and added a link to it in the footer for developers. 2010-07-18 07:17:01 +00:00
David Mudrak
152a2273be MDL-22787 MNet: Fixing regressions in auth_mnet caused by changes in enrol_mnet
This smells - IMHO auth_enrol should not do anything with the enrolment
related information. These two plugins seem to be tied too much...
2010-07-17 22:34:12 +00:00
David Mudrak
d5bd0b0169 MDL-22787 MNet: implementation of enrol_mnet server-side service methods 2010-07-17 22:29:28 +00:00
David Mudrak
ac61800289 MDL-22787 Drop legacy MNet enrolment tables defined in main install.xml
The tables were used for caching of XML-RPC results only, no upgrade is
needed. The functionality of these tables is now handled by new tables
defined by mnetservice_enrol plugin.
2010-07-17 22:18:32 +00:00
David Mudrak
fe73e93545 MDL-22787 MDL-21993 New mnetservice plugin type
This commit introduces new plugin type called mnetservice. Once the MNet
framework is redesigned, this plugin will define the service itself, the
strings for it and the the client tools for administrator. The server
side is implemented mainly in enrol_mnet plugin which publishes xml-rpc
methods.

AMOS BEGIN
 MOV [remoteenrolhosts_desc,core_mnet],[clientname_help,mnetservice_enrol]
AMOS END
2010-07-17 22:18:07 +00:00
Eloy Lafuente
d1c1105248 MDL-21432 backup - make itemname bigger so it can store file component/area named 2010-07-17 11:23:52 +00:00
Petr Skoda
985acc939b MDL-23204 fixed conversion of new core text formats 2010-07-16 10:21:53 +00:00
Petr Skoda
f5d7298dc0 MDL-23204 fixed course section format upgrade 2010-07-16 09:37:01 +00:00
Sam Hemelryk
6db3eee02b enrol MDL-23117 Implements the other users UI for users with roles in a course but not enrolled.
At the same time this commit introduces a standardised dialogue YUI module to enrol and implements it across the board.
This commit also addresses MDL-23292 and MDL-23319.
2010-07-16 08:30:06 +00:00
Martin Dougiamas
ad0ae2610f MDL-23187 Generic ratings and comments permissions now appear on course pages, AND are added to authenticated user role. You need these PLUS specific module permissions to actually be able to do any ratings/comments, so it makes sense to show them. Not happy about usability of needing two permissions to switch it on but it does give a lot of extra control. 2010-07-16 07:47:23 +00:00
Petr Skoda
2eeade8174 unset old htmleditor just once 2010-07-16 07:13:52 +00:00
Andrew Davis
55d95d90f9 rating MDL-23328 made date restriction of ratings work correctly 2010-07-16 06:30:30 +00:00
Andrew Davis
a74bea1257 rss MDL-23315 fixed error when moving threads between forums 2010-07-16 02:46:26 +00:00
Petr Skoda
835d78ff9e MDL-22056 simplified component name handling + converting reports to proper pluginname
AMOS BEGIN
 MOV [capability,report_capability],[pluginname,report_capability]
 MOV [questioninstances,report_questioninstances],[pluginname,report_questioninstances]
 MOV [reportsecurity,report_security],[pluginname,report_security]
 MOV [spamcleaner,report_spamcleaner],[pluginname,report_spamcleaner]
AMOS END
2010-07-15 17:13:45 +00:00
Petr Skoda
730eae9ca5 MDL-22056 simplified string name handling 2010-07-15 16:32:26 +00:00