47211 Commits

Author SHA1 Message Date
Petr Skoda
02c97e653d MDL-27007 fix incorrectly suspended user enrolment when uploading users
This bug surfaced after the recent change in enrol API, credit goes to Chaim Schendowich and Micky Fokken.
2011-04-09 12:09:23 +02:00
Petr Skoda
a32b68475a MDL-25826 add more HTMLPurifier integration tests 2011-04-09 11:46:13 +02:00
Petr Skoda
7df50029b4 MDL-25826 integrate HTMLPurifier 4.3.0 and improve performance
The new HTMLPurifier finally caches the schema properly eliminating both extra CPU cycles and disk writes. The repeated dir exists tests might cause problems on NFS shares.
2011-04-09 11:45:24 +02:00
Petr Skoda
88efb586b4 MDL-25826 import HTMLPurifier 4.3.0 2011-04-09 10:05:27 +02:00
Andrew Davis (andyjdavis)
13ba903634 enrol MDL-25718 added ability to recover user grades from grade history 2011-04-08 15:06:27 +08:00
Andrew Davis (andyjdavis)
d3a8184239 message MDL-26185 fixed the logic around email addy in user profile Vs in messaging preferences 2011-04-07 15:58:33 +08:00
Aparup Banerjee
ca3617c513 MDL-26319 moved cancel_backup() from backup_ui to cancel_process() in base_ui and renamed callers. fix for method inheritance in restore_ui. 2011-04-07 10:39:34 +08:00
Eloy Lafuente (stronk7)
54fb7e80fc MDL-27034 profiling - xhprof_table_sql improvement 2011-04-07 00:46:54 +02:00
Petr Skoda
6b14adf210 weekly release 2.1dev 2011-04-06 14:56:45 +02:00
Petr Skoda
a32ab0254c Merge branch 'MDL-26784-plugin-manager' of git://github.com/mudrd8mz/moodle 2011-04-06 11:26:20 +02:00
David Mudrak
7c9b837ea9 MDL-26784 Plugin manager: make sure that filter_active already exists
In case of upgrade from 1.9, the table filter_active does not exist yet.
There already was this checked at another place but it is needed to test
the table existence here as well.
2011-04-06 11:24:59 +02:00
Eloy Lafuente (stronk7)
11a6763546 MDL-26425 tablelib - fix tr class typo (detected @ MDL-27034) 2011-04-06 10:58:39 +02:00
Petr Skoda
5f27855ea4 MDL-26914 fix undefined CFG langcache property during install 2011-04-06 10:50:19 +02:00
Sam Hemelryk
62f7ce7989 PULL-574 MDL-26185 Reverted changes due failed testing + review 2011-04-06 16:33:47 +08:00
Petr Skoda
1d57f8622c revert MDL-26577 added session cleaning to groups_get_activity_group() that fixes an issue with dirty session data. refactored session cleaning into one function, added caching to reduce queries.
(reverse-merged from commit 0d1e49d46838f6916f93561866fdd83beaf24a0f) This change was causing fatal errors on the course level, I am going to fix it myself.
2011-04-05 18:33:35 +02:00
Sam Hemelryk
bbb79f47a7 messaging MDL-26185 Last minute fix of bug during integration, empty user preference causing error 2011-04-05 16:52:07 +08:00
Petr Skoda
773e3c5031 Merge branch 'MDL-26577_groups_api_refactor_take2' of git://github.com/nebgor/moodle 2011-04-05 10:19:16 +02:00
Aparup Banerjee
0d1e49d468 MDL-26577 added session cleaning to groups_get_activity_group() that fixes an issue with dirty session data. refactored session cleaning into one function, added caching to reduce queries. 2011-04-05 12:22:27 +08:00
Tony Levi
05edae9f89 MDL-27084: mod/feedback fix bad syntax in database query 2011-04-05 12:14:16 +09:30
Eloy Lafuente (stronk7)
21473e6cd7 Merge branch 'wip-MDL-26560-master' of git://github.com/samhemelryk/moodle 2011-04-04 23:21:49 +02:00
Eloy Lafuente (stronk7)
b76070db70 Merge branch 'wip-MDL-26858' of git://github.com/samhemelryk/moodle 2011-04-04 21:53:17 +02:00
Eloy Lafuente (stronk7)
a7174151db Merge branch 'MDL-11288-course-module-cloning' of git://github.com/mudrd8mz/moodle 2011-04-04 12:35:04 +02:00
Eloy Lafuente (stronk7)
4102345add Merge branch 'master' of git.moodle.org:/git/integration 2011-04-04 12:00:30 +02:00
Eloy Lafuente (stronk7)
a70ba1b069 Merge branch 'MDL-26931-blog-post-order_master' of git://github.com/mudrd8mz/moodle 2011-04-04 11:56:44 +02:00
Petr Skoda
33620e1772 Merge branch 'MDL-26784-plugin-manager' of git://github.com/mudrd8mz/moodle 2011-04-04 11:55:39 +02:00
Andrew Davis (andyjdavis)
656d17c2c6 gradebook MDL-20946 fixed average calculation where users have multiple gradeable roles 2011-04-04 11:35:47 +02:00
Petr Skoda
3d3ead8e35 Merge branch 'MDL-26914-lang-grand-parents' of git://github.com/mudrd8mz/moodle 2011-04-04 11:19:51 +02:00
Petr Skoda
1f67888540 Merge branch 'wip-MDL-25651' of git://github.com/jennymgray/moodle 2011-04-04 09:55:41 +02:00
Petr Skoda
7974c4ec03 Merge branch 'MDL-26542_empty_array' of git://github.com/stronk7/moodle 2011-04-04 09:49:12 +02:00
Sam Hemelryk
a1ead9a478 enrolments MDL-26560 Fixed panel.user bug with role assignments dialogue 2011-04-04 14:49:28 +08:00
Sam Hemelryk
af8851282e enrolments MDL-26858 Added finish user enrolments button to JS dialogue 2011-04-04 14:37:35 +08:00
Sam Hemelryk
637a8daf76 Merge branch 'MDL-26185_ms' of git://github.com/rwijaya/moodle 2011-04-04 13:30:55 +08:00
Sam Hemelryk
adb24226bf Merge branch 'MDL-27016' of git://github.com/MaryE/moodle 2011-04-04 13:08:37 +08:00
Sam Hemelryk
4632bb9668 Merge branch 'earlier_profiling' of git://github.com/stronk7/moodle 2011-04-04 11:16:33 +08:00
Rossiani Wijaya
9d61d9ac6d MDL-26185: simplify the logic of email message output and removing email address cache 2011-04-01 16:55:37 +08:00
Mary Evans
5deabe4338 Fix for MDL-27016 added min-width 2011-04-01 02:43:23 +01:00
Jenny Gray
52d1a8043c MDL-25651 add capability check to my private files navigation link 2011-03-31 14:44:35 +01:00
David Mudrak
91dedc324f MDL-26784 Strings for the new plugin manager
The new strings file core_plugin defines names of all plugin types
supported by Moodle. Some strings have already been defined elsewhere
and we use AMOS script here to copy their translation, if it is
available.

AMOS BEGIN
 CPY [settings,core],[settings,core_plugin]
 CPY [status,core],[status,core_plugin]
 CPY [missingfromdisk,core],[status_missing,core_plugin]
 CPY [nodatabase,core_admin],[status_nodb,core_plugin]
 CPY [authenticationplugins,core],[type_auth_plural,core_plugin]
 CPY [block,core],[type_block,core_plugin]
 CPY [blocks,core],[type_block_plural,core_plugin]
 CPY [coursereport,core],[type_coursereport,core_plugin]
 CPY [coursereports,core],[type_coursereport_plural,core_plugin]
 CPY [filter,core],[type_filter,core_plugin]
 CPY [courseformats,core],[type_format_plural,core_plugin]
 CPY [activitymodule,core],[type_mod,core_plugin]
 CPY [activitymodules,core],[type_mod_plural,core_plugin]
 CPY [plagiarism,core_plagiarism],[type_plagiarism,core_plugin]
 CPY [portfolio,core_portfolio],[type_portfolio,core_plugin]
 CPY [portfolios,core_portfolio],[type_portfolio_plural,core_plugin]
 CPY [questiontype,core_admin],[type_qtype,core_plugin]
 CPY [questiontypes,core_admin],[type_qtype_plural,core_plugin]
 CPY [repository,core_repository],[type_repository,core_plugin]
 CPY [theme,core],[type_theme,core_plugin]
 CPY [themes,core],[type_theme_plural,core_plugin]
 CPY [uninstallplugin,core_admin],[uninstall,core_plugin]
 CPY [version,core],[version,core_plugin]
 CPY [assignmenttype,mod_assignment],[subplugintype_assignment,mod_assignment]
 CPY [presets,mod_data],[subplugintype_datapreset_plural,mod_data]
 CPY [evaluationmethod,mod_workshop],[subplugintype_workshopeval,mod_workshop]
 CPY [strategy,mod_workshop],[subplugintype_workshopform,mod_workshop]
AMOS END
2011-03-31 13:59:05 +02:00
David Mudrak
b9934a173a MDL-26784 Improved plugins check screen and the new plugins management screen
This patch introduces new lib/pluginlib.php library that provides
unified access meta-information about all present plugin types. The
library defines plugin_manager singleton that in turn gathers
information about all present plugins and their status. The list of
plugins can be rendered either as plugins check table or plugins control
panel.

This makes print_plugins_table() function obsolete and because it is not
expected to be called by any contrib plugin, the function is removed.
CSS for the legacy table generated by print_plugins_table() is cleaned
up.
2011-03-31 13:59:05 +02:00
David Mudrak
fa82056328 MDL-11288 Added ability to duplicate module in the course
Internally, the new script modduplicate.php performs a single activity
backup and restore and then moves the newly created copy right below the
original.
2011-03-31 13:39:05 +02:00
David Mudrak
74a4c9a9ee MDL-26914 When installing a lang pack, install all the grandparents too
All places where a language pack is installed now use the new language
package installer that takes case of the parental dependencies.
2011-03-31 12:21:05 +02:00
David Mudrak
15e16f0e93 MDL-26914 Added new language pack installer class and unit tests for it
The new class wraps some common coding patterns to install a language
pack via component_installer. Most notably it deals with the parental
dependency of the language packs.

The new class should also be the only place holding the information
about the location of language packs for the given Moodle version.
2011-03-31 12:20:54 +02:00
Ankit Agarwal
899d5e2d50 MDL-26931 Order blog entries by the creation date 2011-03-31 11:50:57 +02:00
Tim Hunt
71811083ba MDL-27035 table_sql forgets to set countparams. 2011-03-30 20:25:43 +01:00
Eloy Lafuente (stronk7)
c7ce62f9c8 MDL-26542 get_in_or_equal - adding $onemptyitems + tests 2011-03-30 18:22:53 +02:00
Eloy Lafuente (stronk7)
c646dd26ea MDL-26891 profiling - earlier runs
This allows profiling to be started earlier in the
setup.php execution, by configuring everything in
the config.php file. That way some interesting code
is also profiled, like DB connections, load of config records...

100% compatible with normal profiling and enabled via
special setting $CFG->earlyprofilingenabled

Example (to be put on config.php):

$CFG->earlyprofilingenabled = true;
$CFG->profilingautofrec = 3;
$CFG->profilingincluded = '/*';
$CFG->profilingallowme = true;

(to enable early profiling for 1/3 of any requests while also
allowing to use the PROFILEME PGC)
2011-03-30 18:08:38 +02:00
Petr Skoda
dae6b38c51 sync version with stable 2011-03-30 18:01:39 +02:00
Petr Skoda
0947b90b98 weekly release 2011-03-30 14:32:49 +02:00
Petr Skoda
3b6d215b91 Merge branch 'MDL-26964-moodle_url-anchor_master' of git://github.com/mudrd8mz/moodle 2011-03-29 09:57:20 +02:00
Helen Foster
4b59f327cd MDL-26744 enrol meta lang string improvement thanks to Ray Lawrence 2011-03-28 23:58:27 +02:00