Sam Hemelryk
3211569a6a
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Dan Poltawski
7a1ed64587
Merge branch 'w15_MDL-32323_m23_phpunit3' of git://github.com/skodak/moodle
2012-04-11 09:32:58 +08:00
Petr Skoda
4e5ff72ea7
MDL-32323 always verify that database PHPUnit extension is available
2012-04-10 21:15:33 +02:00
Petr Skoda
351f4bc248
MDL-32323 allow specification of test class in webrunner and add some explanation of parameters
2012-04-10 15:27:15 +02:00
Petr Skoda
d5d096d0db
MDL-32323 add php version of all-in-one phpunit init script
2012-04-10 15:27:14 +02:00
Petr Skoda
920f4efe51
MDL-32323 improve inline docs
2012-04-10 15:27:14 +02:00
Petr Skoda
b6b8a19316
MDL-32323 improve PHPUnit related diagnotic messages
2012-04-10 15:27:08 +02:00
Petr Skoda
27f27eb4f4
MDL-32323 add windows test database init script
2012-04-10 15:27:08 +02:00
Petr Skoda
31fb8724f6
MDL-32323 undo path mangling, we have to trust admins
2012-04-10 15:27:07 +02:00
Petr Skoda
2fde539255
MDL-32323 fix PHPUNIT_UTIL constant usage
2012-04-10 15:27:06 +02:00
Petr Skoda
4be2ad3660
MDL-32323 prevent concurrent execution of unit tests
2012-04-10 15:27:03 +02:00
Petr Skoda
3604563c79
MDL-32323 allow execution of tests through util.php and add option to include alternative phpunit files (for testing only!)
2012-04-10 15:27:02 +02:00
Petr Skoda
5987e6932c
MDL-32323 more magic to allow init.sh symlinks
...
from http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
2012-04-10 15:27:02 +02:00
Petr Skoda
93c4ee56c7
MDL-32323 fix skipped config rebuild in init script
2012-04-10 15:27:02 +02:00
Petr Skoda
6e2cff2d81
MDL-32323 minor phpunit related improvements and cleanup
2012-04-10 15:27:01 +02:00
Petr Skoda
7b0ff21385
MDL-32323 experimental web UI for execution of PHPUnit tests
...
It is not localised intentionally because only developers should use it…
2012-04-10 15:27:01 +02:00
Petr Skoda
4b17369567
MDL-32323 all-in-one PHPUnit init script
2012-04-10 15:27:01 +02:00
Sam Hemelryk
50f7bbf95c
MDL-30843 admin: Fixed up label for attribute
2012-04-10 12:35:26 +12:00
Sam Hemelryk
5bfeb5ffd3
Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle
2012-04-10 12:34:37 +12:00
Dan Poltawski
a973d320f1
Merge branch 'MDL-20438-update-notification' of git://github.com/mudrd8mz/moodle
2012-04-04 11:17:43 +08:00
Sam Hemelryk
b8f452165a
MDL-32009 reverting changes as they break installation
2012-04-04 14:37:37 +12:00
Sam Hemelryk
e96b10b121
MDL-32009 message: Small changes before integration
2012-04-04 14:20:07 +12:00
Sam Hemelryk
f1b06f6d54
Merge branch 'MDL-32009-master-1' of git://git.luns.net.uk/moodle
2012-04-04 14:19:32 +12:00
Petr Skoda
a3d5830a0a
MDL-32149 PHPUnit test support - part 2
...
Includes:
* constants refactoring
* reworked db table init
* support for $CFG->debug = -1
* functional DB tests
* fixed $DB->get_indexes() to not throw exceptions when table does not exist
* fix handling of user passwords in test db
* add debug info to exception messages
* removed unnecessary PHP debug errors from mathslib
* fixed @error suppression in get_string
* fixed PHPUnit error handler setup
* added timezone info to default install
2012-04-03 22:30:53 +02:00
Eloy Lafuente (stronk7)
46ed2f8b7f
Merge branch 'w14_MDL-32251_m23_strict3' of git://github.com/skodak/moodle
2012-04-03 21:17:58 +02:00
Dan Poltawski
8408d23c99
Merge branch 'w14_MDL-32250_m23_simpletest110' of git://github.com/skodak/moodle
2012-04-02 16:15:35 +08:00
Petr Skoda
54352ac979
MDL-32251 more E_STRICT fixes
2012-03-30 19:02:58 +02:00
David Mudrak
5a08e363f0
MDL-20438 removing sesskey checks from places where there is no sesskey support guaranteed yet
...
Thanks Petr Skoda for spotting this during the peer-review.
2012-03-30 11:08:48 +02:00
David Mudrak
8342171b52
MDL-20438 reintroducing plugin_management_page renderer method
...
See http://moodle.org/local/chatlogs/index.php?conversationid=9784#c340340
for the whole saga.
2012-03-30 11:05:42 +02:00
David Mudrak
a687fcac7a
MDL-20438 added a link to toggle the plugins check page back to the shorter list
2012-03-30 11:05:42 +02:00
David Mudrak
5344ddd116
MDL-20438 warn the admin that we are just showing available updates
...
This warning is displayed so that folks do not expect any sort of
auto-update ala Wordpress (yet).
2012-03-30 11:05:42 +02:00
David Mudrak
c6f008e747
MDL-20438 dropping get_core_update_info() method
...
There is now a single method get_update_info() used for both core and
plugins.
2012-03-30 11:05:41 +02:00
David Mudrak
96dd92376f
MDL-20438 display available updates during the upgrade, too
...
We are displaying available updates for installed plugins only. It was
decided (by me and Eloy) that we will not display info about available
Moodle update during the upgrade. It seems to be redundant as the admin
just uploaded a new version of Moodle so they probably chose what they
wanted.
2012-03-30 11:05:41 +02:00
David Mudrak
d8f18e5dd0
MDL-20438 admin/index.php now respects required maturity setting
2012-03-30 11:05:41 +02:00
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
2b135b05d8
MDL-20438 Making the plugins overview page space-friendly
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
Rossiani Wijaya
f9f281b8fe
MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag
2012-03-30 16:26:58 +08:00
Tim Hunt
9e4598293b
MDL-32039 qeupgradehelper: fix typos in the lang strings
2012-03-29 21:20:04 +01:00
Petr Skoda
caee6e6c26
MDL-32251 E_STRICT fixes part 3
2012-03-29 15:24:30 +02:00
Petr Skoda
0bb48cc2a1
MDL-32250 import latest SimpleTest 1.1.0
2012-03-29 15:07:53 +02: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