47281 Commits

Author SHA1 Message Date
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
Eloy Lafuente (stronk7)
a5743e866e Merge branch 'w13_MDL-22733_21_youtubeiframe' of git://github.com/skodak/moodle 2011-03-28 23:33:23 +02:00
Eloy Lafuente (stronk7)
5e44c5c998 Merge branch 'w13_MDL-26909_21_mediatests' of git://github.com/skodak/moodle 2011-03-28 22:08:15 +02:00
Eloy Lafuente (stronk7)
12abf305f8 Merge branch 'w13_MDL-26987_21_sclean' of git://github.com/skodak/moodle 2011-03-28 21:56:25 +02:00
Eloy Lafuente (stronk7)
63d6da51fe Merge branch 'w13_MDL-26913_20_sitecreated' of git://github.com/skodak/moodle 2011-03-28 19:58:49 +02:00
Eloy Lafuente (stronk7)
2326b8d301 Merge branch 'w13_MDL-26951_21_archetypes' of git://github.com/skodak/moodle 2011-03-28 19:38:48 +02:00
Eloy Lafuente (stronk7)
18318237d7 Merge branch 'w13_MDL-26991_21_legacy' of git://github.com/skodak/moodle 2011-03-28 19:25:03 +02:00
Petr Skoda
e1ce68c2f9 MDL-26991 use archetypes instead of deprecated 'legacy' when defining roles in enrol plugins 2011-03-28 19:19:54 +02:00
Eloy Lafuente (stronk7)
0a284930cf Merge branch 'w13_MDL-26966_21_urlparsing' of git://github.com/skodak/moodle 2011-03-28 19:05:07 +02:00
Eloy Lafuente (stronk7)
58937f7e57 Merge branch 'w13_MDL-26985_21_branching' of git://github.com/skodak/moodle 2011-03-28 18:09:29 +02:00
Petr Skoda
b2b9320570 Merge branch 'MDL-26425' of git://github.com/timhunt/moodle 2011-03-28 16:49:49 +02:00
Eloy Lafuente (stronk7)
37c2a8a035 Merge branch 'master' of git.moodle.org:/git/integration 2011-03-28 16:21:11 +02:00
Eloy Lafuente (stronk7)
a226727238 Merge branch 'w13_MDL-26990_21_missingrebuild' of git://github.com/skodak/moodle 2011-03-28 16:07:20 +02:00
Petr Skoda
ce14a7644e Merge branch 'MDL-26335' of github.com:mouneyrac/moodle 2011-03-28 15:15:23 +02:00
Eloy Lafuente (stronk7)
df8248b035 Merge branch 'MDL-26804-langlistcache_master' of git://github.com/mudrd8mz/moodle 2011-03-28 14:48:38 +02:00
Eloy Lafuente (stronk7)
e1feb94cd1 Merge branch 's8_MDL-26213_wiki_rewrite_file_url' of git://github.com/dongsheng/moodle 2011-03-28 11:48:58 +02:00
Dongsheng Cai
cfdac90f2b MOD-WIKI MDL-26213
1. Rewrite the image urls in diff.php and viewdiff.php
2. Fxied image urls in search.php
3. Add modcontext variable to avoid using duplicated
get_context_instance calls
2011-03-28 17:31:01 +08:00
Eloy Lafuente (stronk7)
b431645c89 Merge branch 'MDL-26932' of git://github.com/jennymgray/moodle 2011-03-28 11:03:44 +02:00
Eloy Lafuente (stronk7)
12c6a556b2 Merge branch 'm20_MDL-26939_plagiarism_restore' of git://github.com/danmarsden/moodle 2011-03-28 10:48:45 +02:00
Sam Hemelryk
223680f562 Merge branch 's8_MDL-26916_filepicker_paging' of git://github.com/dongsheng/moodle 2011-03-28 16:12:55 +08:00
Sam Hemelryk
628c600cd9 Merge branch 'm20_MDL-26957_forum_overview' of git://github.com/danmarsden/moodle 2011-03-28 16:10:39 +08:00
Sam Hemelryk
6db981b2ee Merge branch 'MDL-26906-2' of git://github.com/epsd/moodle 2011-03-28 16:03:15 +08:00
Sam Hemelryk
e1a7281ab2 Merge branch 'MDL-26077_message_strip_brackets2' of git://github.com/andyjdavis/moodle 2011-03-28 15:59:25 +08:00
Sam Hemelryk
e1339a6dda Merge branch 's8_MDL-26798_dropbox_repo' of git://github.com/dongsheng/moodle 2011-03-28 15:52:21 +08:00
Sam Hemelryk
bc071c7580 Merge branch 'w13_MDL-26992_21_uploadtemplates' of git://github.com/skodak/moodle 2011-03-28 14:29:50 +08:00
Sam Hemelryk
982e619d2a Merge branch 'w13_MDL-26989_21_enrolroles' of git://github.com/skodak/moodle 2011-03-28 14:10:44 +08:00
Sam Hemelryk
d2c4a97a70 Merge branch 'w13_MDL-26795_21_emailchange' of git://github.com/skodak/moodle 2011-03-28 13:54:39 +08:00
Petr Skoda
43070e6193 MDL-26992 fix broken upload users templates 2011-03-27 23:48:41 +02:00
Tim Hunt
a208aefbc4 MDL-26425 change all table subclasses to use parent::__construct 2011-03-27 20:06:45 +01:00
Tim Hunt
ba9164e575 MDL-26425 tablelib more cleanup, mostly to PHPdocs, following sam's comments. 2011-03-27 20:06:45 +01:00
Tim Hunt
76dc1e2527 MDL-26425 tablelib use html_writer when outputting rows and headers.
This includes refactoring to extract methods like sort_icon and show_hide_link which I think makes the code easier to read.

Note also the change to make_styles_string that makes it usable with html_writer. (Perhpas we need a css_writer classe ;-))
2011-03-27 20:06:44 +01:00