Commit graph

11453 commits

Author SHA1 Message Date
Martin Dougiamas
e4f413b4b3 MDL-23302 Credit to Aparup. New cap moodle/user:manageownfiles to control private user files area 2010-07-22 09:05:13 +00:00
Andrew Davis
64fbb8c476 filters MDL-23456 turned on filtering for mod intros 2010-07-22 08:44:09 +00:00
Sam Hemelryk
785d6603dd backup MDL-23109 Implemented base restore UI within Moodle and linked through the navigation. 2010-07-22 07:48:02 +00:00
Petr Skoda
003ffc8565 MDL-23474 user password hashing - removed unnecessary user record update, improved docs and fixed the content of password field in user record after update 2010-07-22 07:43:18 +00:00
Andrew Davis
aa28106896 glossary MDL-23369 made glossary item autolink filter popups the right size 2010-07-22 05:51:40 +00:00
Petr Skoda
c7b0e5e187 enable circular reference collector when available 2010-07-21 20:32:09 +00:00
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