Commit graph

3354 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
11ea5b96a8 Merge branch 'w15_MDL-27007_m21_userupload' of git://github.com/skodak/moodle 2011-04-11 01:20:41 +02:00
Petr Skoda
1c71748dd1 MDL-27121 fix incorrect check_moodle_environment() version parameter
This prevents Moodle 2.0 from using environment info for 2.1 in the installer and CLI upgrade.
2011-04-09 17:43:52 +02:00
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
33620e1772 Merge branch 'MDL-26784-plugin-manager' of git://github.com/mudrd8mz/moodle 2011-04-04 11:55:39 +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
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
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
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
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)
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)
58937f7e57 Merge branch 'w13_MDL-26985_21_branching' of git://github.com/skodak/moodle 2011-03-28 18:09:29 +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
Petr Skoda
43070e6193 MDL-26992 fix broken upload users templates 2011-03-27 23:48:41 +02:00
Petr Skoda
d38f419d5c MDL-26987 fix invalid DML syntax in spam cleaner tool 2011-03-27 16:14:22 +02:00
Petr Skoda
c102060deb MDL-26951 fix removing of archetype from role 2011-03-27 16:04:33 +02:00
Petr Skoda
c904cbbdd2 MDL-26985 new Moodle 2.1 requirements
For now only extra PHP 5.3.2 requirement compared to 2.0.
2011-03-26 22:02:42 +01:00
David Mudrak
a9cbd19bff MDL-26804 core_string_manager::get_list_of_translations() can use a cache again
This patch reimplements the internal cache that was used to store the
list of available translations in Moodle 1.x. By default, the method
get_list_of_translations() still uses the file
moodledata/cache/languages to store the list of available translations.
The location of that file can be redefined in config.php. The internal
format of the cache file is JSON now (used to be a plain text list).

The patch also fixes a usage of the global $CFG in translation_exists()
methods where the internal property should be used instead.
2011-03-24 21:51:30 +01:00
Petr Skoda
3bfb75a9ed Merge branch 'wip-MDL-26781' of git://github.com/sammarshallou/moodle 2011-03-21 19:10:15 +01:00
Petr Skoda
7b2dde5a80 Merge branch 'wip-MDL-26747' of git://github.com/sammarshallou/moodle 2011-03-21 19:06:28 +01:00
Sam Hemelryk
587a4ee42c Merge branch 'MDL-26827' of git://git.luns.net.uk/moodle 2011-03-21 17:23:13 +08:00
Sam Hemelryk
c889fb8372 Merge branch 'w12_MDL-26904_20_PHPLOL' of git://github.com/skodak/moodle 2011-03-21 17:19:06 +08:00
Sam Hemelryk
beb81f4947 Merged PULL-496/MDL-26859 and fixed incorrect defines 2011-03-21 17:13:20 +08:00
Sam Hemelryk
ee780aeeaf Merge branch 'w12_MDL-26876_20_blogformat' of git://github.com/skodak/moodle 2011-03-21 16:50:07 +08:00
Sam Hemelryk
d9738e84d6 Merged PULL-480/MDL-24877 and bumped version number to fix conflict 2011-03-21 15:58:19 +08:00
Petr Skoda
7119e1a0a7 MDL-26904 fix funny constant typo 2011-03-20 19:25:47 +01:00
Petr Skoda
8f6c1f3488 MDL-26859 improve blog access control and prevent unnecessary blog includes 2011-03-20 13:34:51 +01:00
Petr Skoda
d6614d667d MDL-26876 use correct blog post format when migrating to forum posts 2011-03-20 08:28:46 +01:00
Petr Skoda
22a7796343 MDL-26803 fix switched values of autosubscribe defaults in user upload 2011-03-16 20:00:06 +01:00
sam marshall
adaeccb66d MDL-26781 Ensure get_fast_modinfo $cm is compatible with get_record $cm 2011-03-16 15:03:01 +00:00
Tim Hunt
b6eb984a45 MDL-26747 Allow course reports to have settings.php 2011-03-16 14:45:02 +00:00
Dan Poltawski
f723bd3df5 blocks admin MDL-26827- allow blocks settings to be an admin externalpage
This borrows from Tim's technique for qtypes in 1650a33cb
2011-03-16 09:12:22 +00:00
Dongsheng Cai
2848b97948 MDL-24877, do not display all courses in course category tree if there are too many courses in moodle 2011-03-14 17:04:06 +08:00
Eloy Lafuente (stronk7)
3c38ad5d79 Merge branch 'MDL-26643' of git://github.com/nebgor/moodle 2011-03-14 01:57:08 +01:00
Eloy Lafuente (stronk7)
008011875c MDL-25352 fix tiny typo 2011-03-14 01:12:38 +01:00
Eloy Lafuente (stronk7)
5869d05bb7 Merge branch 'w11_MDL-25352_20_replace' of git://github.com/skodak/moodle 2011-03-14 01:10:35 +01:00
Petr Skoda
c3b5e8290b MDL-25352 fix multiple issues in admin/replace.php
Make sure admins know things can go wrong, MSSQL and Oracle were never working, fix block_html config saving issue, skip a lot more tables because the data there is serialised() or can not be changed in case of config tables, more warnings and checkbox confirmation.
2011-03-14 00:51:42 +01:00
Eloy Lafuente (stronk7)
22acfde076 Merge branch 'MDL-26733' of git://github.com/timhunt/moodle 2011-03-13 23:28:07 +01:00
Aparup Banerjee
2a5302b62d MDL-26643 added missing message property to discussion object used to upgrade blog 2011-03-11 14:28:45 +08:00
Tim Hunt
d93cafeaa1 MDL-26733 avoid possible notice in admin/user.php. 2011-03-08 17:48:05 +00:00
David Mudrak
1a4d6a5b60 MDL-26609 Display information about the current version during the upgrade
As Eloy Lafuente noticed in the tracker discussion, we display the
information about the current version in the browser window title but
not at the screen itself. The patch fixes that by displaying the
information in the page heading instead of the page title.

Eloy's original idea to put the information into the grey message box
would require a change of [upgradesure,core_admin] string because
unfortunately it does not expect $a as an object but as a plain string.
2011-03-04 05:59:08 +01:00
David Mudrak
dc41abd808 MDL-26609 Provide a link to a docs page for more help with Moodle versions and their maturity
Thanks Martin Dougiamas for this suggestion.
2011-03-04 05:59:08 +01:00
David Mudrak
3d673fc474 MDL-26609 Admins are warned if they try to install or upgrade to unstable version
The commit introduces four new constants that can be used to declare a
maturity level of Moodle core and, in the future, of extension plugins.
If the administrator is about to install or upgrade Moodle to a version
that is not considered as production-ready yet, a warning is displayed
before any change in the database.
2011-03-04 05:59:08 +01:00
Eloy Lafuente (stronk7)
5eb1e14aa4 Merge branch 'w09_MDL-26564_20_uploadusers' of git://github.com/skodak/moodle 2011-03-01 19:02:04 +01:00
Petr Skoda
2197b642b3 MDL-26564 print password when changed 2011-03-01 17:29:52 +01:00
Petr Skoda
faceca9176 MDL-26564 fix reversed password policy check 2011-03-01 17:22:00 +01:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
8cf42d248e Merge branch 'w09_MDL-26564_20_uploadusers' of git://github.com/skodak/moodle 2011-03-01 12:05:52 +01:00
David Mudrak
29cbe43189 MDL-13481 Strings fullname and shortname are now deprecated
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.

AMOS BEGIN
 CPY [fullname,core],[outcomefullname,core_grades]
 CPY [shortname,core],[outcomeshortname,core_grades]
 CPY [name,core],[rolefullname,core_role]
 CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
Petr Skoda
8bdb31ed54 MDL-26564 fix regressions and other problems in csv user upload
This patch fixes incorrect password creating, updating and resetting, updating of user fields, unsupported auth plugins are correctly identified, modification of mnethostid is prevented, fixed problem with email duplicates, new password is generated for users without email, etc. It also includes coding style improvements, more inline docs, future TODOs and license information.
2011-02-28 08:27:31 +01:00
Eloy Lafuente (stronk7)
c04c06dc8e Merge branch 'MDL-25616_recent_messages' of git://github.com/andyjdavis/moodle
Conflicts fixed:
	message/index.php
	message/lib.php
2011-02-15 19:26:21 +01:00