52182 Commits

Author SHA1 Message Date
David Mudrak
2f5904d920 MDL-20438 new administration settings for the update notifications machinery 2012-03-30 11:05:41 +02:00
David Mudrak
55585f3ac0 MDL-20438 initial support for checking available core update
In case of Moodle code itself, there is no plugin_manager like class
available so the checker class itself must be aware of versions and
actually do the checks. On the other hand, we can always rely that
version, release and maturity are always returned by the remote server.
2012-03-30 11:05:41 +02:00
David Mudrak
e761138997 MDL-20438 colorize available updates for a plugin based on the update's maturity level 2012-03-30 11:05:41 +02:00
David Mudrak
37f75ad459 MDL-20438 colorize the maturity warning at the admin notifications page 2012-03-30 11:05:41 +02:00
David Mudrak
00ea11f82e MDL-20438 sesskey check to execute fetch() 2012-03-30 11:05:40 +02:00
David Mudrak
c7f3ab4381 MDL-20438 moodle code maturity must be always defined in version.php now
This code was a temporary solution used during the development of the
maturity checks feature.
2012-03-30 11:05:40 +02:00
David Mudrak
7d8de6d84a MDL-20438 updated response format support
Multiple component updates are supported now. Code cleanup and
refactoring.
2012-03-30 11:05:40 +02:00
David Mudrak
3204daeae3 MDL-20438 The Plugins overview admin page now provides a way to check for updates 2012-03-30 11:05:40 +02:00
David Mudrak
2b47947ef5 MDL-20438 A set of unittests to illustrate the update checking integration in the plugin_manager 2012-03-30 11:05:40 +02:00
David Mudrak
dd119e21fa MDL-20438 Let plugin_manager class use the service provided by the new available_update_checker
All plugininfo classes now have new property that holds their remote
status information.
2012-03-30 11:05:40 +02:00
David Mudrak
cd0bb55f84 MDL-20438 Introducing new available_update_checker class
The purpose of the class is to fetch the information about available
updates for the Moodle core and/or Moodle components from a remote site
and cache it locally.
2012-03-30 11:05:40 +02:00
David Mudrak
00ef3c3ed1 MDL-20438 Introducing plugininfo classes factory and plugin manager unit tests 2012-03-30 11:05:40 +02:00
David Mudrak
9c26cf7060 MDL-20438 New moodle_major_version() function
We will need to know our major version to fetch the relevant data from remote
servers. This patch also fixes yet another place where the version used
to be hard-coded.
2012-03-30 11:05:40 +02:00
David Mudrak
2b135b05d8 MDL-20438 Making the plugins overview page space-friendly 2012-03-30 11:05:40 +02:00
David Mudrak
4ed266809c MDL-20438 Change the order of plugin types at the overview pages 2012-03-30 11:05:40 +02:00
David Mudrak
d26f3ddde7 MDL-20438 New plugins overview panel displaying some stats 2012-03-30 11:05:39 +02:00
David Mudrak
b6ad85946d MDL-20438 Refactoring pluginlib before adding anything new
These changes are motivated by feedback from Tim Hunt (17 October 2011
in the developers chat room). The combination of using an interface, but
then putting all the useful information in public fields, was not good
design of this library. So I am merging the plugin_information interface
and the plugintype_base class into a new abstract class plugininfo_base.
This new class defines the basic API of all information holding
subclasses. This does not change the code, just puts the documentation
closer to the methods they are actually implemented.
2012-03-30 11:05:39 +02:00
Eloy Lafuente (stronk7)
a280078197 weekly release 2.3dev 2012-03-29 13:25:53 +02:00
Eloy Lafuente (stronk7)
db5d8b66c0 Merge branch 'install_master' of git://github.com/amosbot/moodle 2012-03-29 13:19:59 +02:00
Dan Poltawski
a4051353d1 Revert "Merge branch 'MDL-31914-master-4' of git://git.luns.net.uk/moodle"
This reverts commit 296c0247c6cc9e525721fc92b5a78c7146e6887d, reversing
changes made to 2511b0742a3695298d8216fe9723581c089909d7.

Conflicts:

	lib/db/upgrade.php
	version.php
2012-03-29 16:07:30 +08:00
AMOS bot
0f78e4911c Automatically generated installer lang files 2012-03-29 00:31:42 +00:00
Eloy Lafuente (stronk7)
3f0cb423b2 Merge branch 'w13_MDL-32095_m23_strict2' of git://github.com/skodak/moodle 2012-03-28 22:49:38 +02:00
Petr Skoda
17854cb92c MDL-32095 last E_STRICT fix for now 2012-03-28 22:48:18 +02:00
Petr Skoda
b137739b5e MDL-32095 fix outputlib test to setup debug level properly 2012-03-28 22:47:57 +02:00
Petr Skoda
e63f95d7c1 MDL-12730 new debug levels (support strict) + upgrade from old ones 2012-03-28 16:39:42 +02:00
Dan Poltawski
0094c90c79 MDL-31775 lesson: fix undefined variable warnings 2012-03-27 20:01:06 +08:00
Eloy Lafuente (stronk7)
296c0247c6 Merge branch 'MDL-31914-master-4' of git://git.luns.net.uk/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-03-27 10:10:17 +02:00
Dan Poltawski
2511b0742a Merge branch 'MDL-32028' of git://github.com/nebgor/moodle 2012-03-27 14:46:52 +08:00
Aparup Banerjee
c2bc042330 Merge branch 'wip-mdl-31654' of git://github.com/rajeshtaneja/moodle 2012-03-27 13:22:01 +08:00
Dan Poltawski
4767d32611 Merge branch 'MDL-30235' of git://github.com/lazydaisy/moodle 2012-03-27 12:37:08 +08:00
Aparup Banerjee
5eee9f7ade Merge branch 'w13_MDL-32109_m23_fastpurify' of git://github.com/skodak/moodle 2012-03-27 10:15:18 +08:00
Aparup Banerjee
f3810b2ee2 Merge branch 'wip-MDL-32106-master' of git://github.com/marinaglancy/moodle 2012-03-27 10:10:05 +08:00
Aparup Banerjee
1cc4412c89 Merge branch 'MDL-31869_message_search_roles' of git://github.com/andyjdavis/moodle 2012-03-27 09:58:44 +08:00
Sam Hemelryk
a7cd1f5a53 Merge branch 'MDL-22510-master' of git://github.com/ankitagarwal/moodle 2012-03-27 11:03:19 +13:00
Sam Hemelryk
5dc1a544ea Merge branch 'MDL-11378-master-2' of git://git.luns.net.uk/moodle 2012-03-27 10:05:43 +13:00
Sam Hemelryk
c194925278 Merge branch 'master_MDL-32147' of git://github.com/danmarsden/moodle 2012-03-27 09:51:40 +13:00
Eloy Lafuente (stronk7)
a176999cc5 Merge branch 'MDL-32202' of git://github.com/stronk7/moodle 2012-03-26 21:36:08 +02:00
Eloy Lafuente (stronk7)
704f82e2bf MDL-32202 scorm: fix 2 invalid default="null" definitions
Note the whole file has been changed because its previous
(manual!) commit leaded to incorrect indentation, but really
only 2 definitions have been changed:

scorm->completionstatusrequired
scorm->completionscorerequired
2012-03-26 21:27:47 +02:00
Eloy Lafuente (stronk7)
9ee910e69c MDL-32112 mysql: change rename sql generator to pass validation 2012-03-26 19:57:58 +02:00
Eloy Lafuente (stronk7)
43616f61f1 Merge branch 'w13_MDL-32112_m23_dbman' of git://github.com/skodak/moodle 2012-03-26 19:40:58 +02:00
Petr Skoda
e807c0be4f MDL-32095 fix event handler classes to be E_STRICT compatible 2012-03-26 16:04:47 +02:00
Petr Skoda
748e96512b MDL-32095 fix backup API to be E_STRICT compatible 2012-03-26 16:04:16 +02:00
Petr Skoda
5ec6c45fd4 MDL-32095 fix backup API to be E_STRICT 2012-03-26 15:30:04 +02:00
Petr Skoda
68a7c9a696 MDL-32095 some more E_STRICT fixes 2012-03-26 11:47:15 +02:00
Dan Poltawski
9e1a4be29d Merge branch 'MDL-31775' of git://github.com/rwijaya/moodle 2012-03-26 14:39:10 +08:00
Dan Poltawski
113022e559 Merge branch 'MDL-32172' of git://github.com/rwijaya/moodle 2012-03-26 12:23:15 +08:00
Dan Poltawski
a05c669af0 Merge branch 'master_MDL-31856_choice_responses_inconsistently_displayed' of git://github.com/kanikagoyal/moodle 2012-03-26 12:09:32 +08:00
Dan Poltawski
91216d5095 Merge branch 'MDL-27710' of git://github.com/rwijaya/moodle 2012-03-26 11:28:21 +08:00
Dan Poltawski
2ce1efb8ac Merge branch 'master_MDL-32080' of git://github.com/danmarsden/moodle 2012-03-26 10:51:38 +08:00
Marina Glancy
400d228e51 MDL-32106: fixed JS bug - when html element did not exist the script stopped 2012-03-26 09:52:01 +08:00