1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-30 13:32:50 +02:00

3907 Commits

Author SHA1 Message Date
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
Petr Skoda
17854cb92c MDL-32095 last E_STRICT fix for now 2012-03-28 22:48:18 +02:00
Aparup Banerjee
c2bc042330 Merge branch 'wip-mdl-31654' of git://github.com/rajeshtaneja/moodle 2012-03-27 13:22:01 +08: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
Iurii Kucherov
f38792ef05 MDL-31513 rename 'Edit service' to 'Save changes' 2012-03-26 12:11:53 +13:00
Petr Skoda
436b961381 MDL-32112 use constants for field and table limits
For now using the same JS hardcoding trick Eloy did the last time...
2012-03-24 11:45:36 +01:00
Rajesh Taneja
1b4d2d56d9 MDL-31654 users: Added check for custom profile fields, if wrong data is passed then user will not be able to proceed 2012-03-23 10:13:37 +08:00
Rajesh Taneja
bd8dc9ba0a MDL-31654 users: removed hardcoding and added docblock on top of tim's patch 2012-03-23 10:13:37 +08:00
tim@netspot.com.au
d6aea4cc34 MDL-31654 users: custom profile menu fields will convert values to keys, so it can be processed 2012-03-23 10:13:37 +08:00
Sam Hemelryk
7aea08e1b0 MDL-31857 phpunit: PHPDoc and typo fixes during integration 2012-03-22 10:45:17 +13:00
Sam Hemelryk
3222f6eca1 Merge branch 'w12_MDL-31857_m23_phpunit' of git://github.com/skodak/moodle 2012-03-22 10:44:04 +13:00
Petr Skoda
5bd4040866 MDL-31857basic phpunit support
Thanks Eloy Lafuente, Tim Hunt and Sam Hemelryk for valuable feedback and ideas.
2012-03-21 10:31:37 +01:00
Sam Hemelryk
ef844d0a15 Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
Petr Skoda
0f75e1e627 MDL-27553 admin: Fixed override bug 2012-03-19 20:21:33 +13:00
Petr Skoda
e2bb3c9275 MDL-32094 some more E_STRICT fixes 2012-03-18 20:40:20 +01:00
Petr Skoda
990e4b0ee9 MDL-32094 do not show html markup in cron errors 2012-03-18 18:43:56 +01:00
Petr Skoda
f4b8586a26 MDL-32094 our ageing SimpleTest integration is not going to be compatible with E_STRICT 2012-03-18 18:38:08 +01:00
Petr Skoda
f20edd5208 MDL-32094 fix various E_STRICT compatibility problems 2012-03-18 18:37:24 +01:00
Tim Hunt
9665ecd275 MDL-19125 module restrictions: use a capability
1. This used to use a complex legacy system which was buggy.

2. It now relies on a new mod/...:addinstance capability for each module.

3. All the legacy code has been stripped out.

4. Old restriction data is upgraded by creating the necessary permission
overrides. Similarly, when old backups are restored, the old settings
are converted to be overrides.

5. The required addinstance capabilities will be added as a separate
commit.

6. There is a developer debug warning about modules that are missing the
addinstance capability, unless they are MOD_ARCHETYPE_SYSTEM mods.
2012-03-15 17:11:27 +00:00
Jenny Gray
b33e6d8e8b MDL-31911 admin tools: moved loop after tools admin category created 2012-03-15 00:29:15 +01:00
Eloy Lafuente (stronk7)
f02702760a Merge branch 'wip-MDL-27405-m23' of git://github.com/samhemelryk/moodle 2012-03-13 22:35:04 +01:00
Ruslan Kabalin
0210ce1007 MDL-32009 messaging: Add message processor uninstall functionality 2012-03-12 16:39:51 +00:00
Sam Hemelryk
b0712163e6 MDL-27405 navigation: My courses branch now shows categories if navshowcategories is enabled 2012-03-12 09:42:41 +13:00
Petr Skoda
f13489df50 MDL-31985 remove LOB sizes from code and UI 2012-03-11 13:42:37 +01:00
Petr Skoda
05aae0a571 MDL-29514 drop support for enum data types 2012-03-10 21:36:48 +01:00
Eloy Lafuente (stronk7)
daf714ef12 MDL-31832 CLI upgrade will return 0 exit status if no upgrade is needed
Discussed with David, both points were valid but finally
we agreed about to consider the "no upgrade needed" exit
a normal/succesful one, mainly because it keeps previous
behavior the same (exit non-zero only for real errors).
2012-03-07 10:58:56 +01:00
David Mudrak
91c038f932 MDL-31832 CLI upgrade checks if the upgrade is actually needed 2012-03-07 10:58:07 +01:00
Eloy Lafuente (stronk7)
2ed7cc2730 Merge branch 'w10_MDL-31301_m23_textlibcleanup' of git://github.com/skodak/moodle 2012-03-06 16:06:53 +01:00
Petr Skoda
7e522ccbc8 MDL-27982 remove unsigned support from all UIs and APIs, keep only public API for BC 2012-03-06 12:02:11 +01:00
Petr Skoda
c3dd6b01fe MDL-27982 drop UNSIGNED attributes from all install.xml files 2012-03-06 12:01:10 +01:00
Tony Levi
a7c9609ba5 MDL-31819: admin: allow install to proceed when multiple admins exist already 2012-03-05 15:42:08 +13:00
Sam Hemelryk
8576f705f7 Merge branch 'MDL-31707' of git://github.com/stronk7/moodle 2012-03-05 15:21:29 +13:00
Sam Hemelryk
37b6e7a03c Merge branch 'MDL-29248' of git://github.com/stronk7/moodle 2012-03-05 13:54:46 +13:00