51132 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
c31d7ca2e0 Merge branch 'MDL-30851_master_wip' of git://github.com/grabs/moodle 2012-01-02 20:23:11 +01:00
Eloy Lafuente (stronk7)
6f68eabb7e Merge branch 'w52_MDL-30953_m23_pspell' of git://github.com/skodak/moodle 2012-01-02 20:19:43 +01:00
Eloy Lafuente (stronk7)
2a297e537d Merge branch 'MDL-30873' of git://github.com/timhunt/moodle 2012-01-02 20:16:02 +01:00
Eloy Lafuente (stronk7)
ae95489d68 MDL-30610 add missing savepoint to get the upgrade checks passing.
Note the savepoint is 100% unreachable, because of the exit() call.
But it's needed to have all the upgrade checks (CI) balanced and
passing.
2012-01-02 19:48:33 +01:00
Eloy Lafuente (stronk7)
5f7d519ecf MDL-30610 Version bump. Time to diverge!
Once all the pre 2.2 upgrade code has been deleted, we bump
main version.php to start diverging in master after the
initial 3-4 weeks of on-sync with 22_STABLE.
2012-01-02 19:31:49 +01:00
Petr Skoda
8b19cf4fc7 MDL-30953 fix utf-8 support in PSpell class
Credit for discover and proposed fix goes to David Hai Gootvilig, this patch is part of https://github.com/moodle/custom-tinymce_spellchecker_php/tree/MOODLE_22_2.0.6b which will be used in the next tinymce import. It was reported upstream as https://github.com/tinymce/tinymce_spellchecker_php/pull/5
2012-01-02 12:49:09 +01:00
Petr Skoda
c2d6b4f9ce MDL-30951 prevent fatal error when category sync enrolment not configured 2012-01-01 13:41:32 +01:00
Darko Miletic
afd2700f26 MDL-30783: Implemented fix 2011-12-30 12:33:57 -03:00
Darko Miletic
7db3d6216d MDL-30778: Implemented intendeduserrole support 2011-12-30 12:16:59 -03:00
Petr Skoda
4eaee2c85c MDL-30673 fix login autocompletion protection 2011-12-30 16:04:56 +01:00
Petr Skoda
6e9989dbd3 MDL-29917 prevent form autocompletion in most Moodle forms
The password autocompletion in case of Moodle makes sense only on the login page, the form autocompletion in general is most probably useful only on the user signup page.

This patch is compatible with html 5, unfortunately we have to ignore strict warnings in legacy xhtml 1.0 standard.
2011-12-30 14:38:52 +01:00
Petr Skoda
9574c2ef0d MDL-30950 remove references to removed admin block
Credit goes to Ralf Hilgenstock.
2011-12-30 12:04:41 +01:00
Petr Skoda
ca8fe0b00a MDL-30948 stop messaging suspended and deleted users 2011-12-29 17:01:10 +01:00
Petr Skoda
ff53a58b65 MDL-30926 fix course and module blog associations 2011-12-28 20:18:10 +01:00
Petr Skoda
daca599ff1 MDL-30943 fix forgotten admin/report/ references 2011-12-28 19:36:23 +01:00
Henning Bostelmann
096c30165b MDL-30031 Adaptive question behaviour: ignore invalid answers without penalty 2011-12-28 17:17:52 +00:00
Petr Skoda
282b5cc7e3 MDL-30945 add support for unenrolling of individual users + code cleanup 2011-12-28 16:56:46 +01:00
Petr Skoda
089fdbedf3 MDL-30809 do not add guest info to add course form if default instance prevented 2011-12-27 19:15:05 +01:00
Petr Skoda
a0fee9c07e MDL-30934 fix module delete cleanup
Credit goes to Rajiv Navada.
2011-12-27 14:59:45 +01:00
Petr Skoda
72f2318b83 MDL-30924 merge upstream pspell fix
See https://github.com/moodle/custom-tinymce_spellchecker_php/tree/MOODLE_22_2.0.6a
2011-12-27 14:01:05 +01:00
Mary Evans
9bb15cf956 MDL-30868 Fix for assignment view in theme_boxxie 2011-12-24 00:54:25 +00:00
Andreas Grabs
0f61fb72d8 MDL-30851 - Syntax error in analysis_course.php 2011-12-23 17:40:07 +01:00
Tim Hunt
ce70117bba MDL-30873 quiz: display an overall grade for preview users.
Also, don't display an overall grade unless there is at least one finished attempt.
2011-12-23 12:54:50 +00:00
Tim Hunt
35c37afc12 MDL-30802 question nav: fix questions link in front page course. 2011-12-23 12:54:29 +00:00
Tim Hunt
0c5abe6c3e MDL-30766 mod_quiz: fix edge cases of repaginate function. 2011-12-23 12:54:08 +00:00
Tim Hunt
820b41e34f MDL-30168 formslib: untangle automatic id generation.
Previously, we had overridden the _generateId method in almost all
subclasses; and then we mostly, but not always; ignored the value that
was generated there, and instead generated new (nicer) values in
MoodleQuickForm_Renderer::renderElement. Of course, that is not really a
logical place to (re)generate ids.

I have fixed the code so that the _generateId method now uses the 'nice
id' algorithm from renderElement. This should make the whole code flow
more logical.

This make all our overriding of _generateId unnecessary.

We do need a special _generateId for radio buttons, because you often
have different radio buttons with the same name but different values.

This change should only change the ids on radio, checkbox and
advcheckbox elements. Previously, those were essentially random, so I
don't think anyone could have been relying on the particular values.

This commit also has new unit tests, first to test the basic _generateId
algorithm, and then to create and render an example form (including some
tricky things like repeat_elements) and chech the acutal ids in the
generated HTML.
2011-12-23 11:51:45 +00:00
Tim Hunt
658ad69fa0 MDL-27200 missing {} in various lang strings. 2011-12-23 11:51:24 +00:00
Petr Skoda
5c79b8ed91 MDL-30610 prevent upgrades from pre2.2.0 2011-12-23 10:42:25 +01:00
Petr Skoda
527c8239a2 MDL-30610 remove outdated question upgrade code 2011-12-23 10:39:34 +01:00
Petr Skoda
4034485eb7 MDL-30610 remove outdated quiz upgrade code 2011-12-23 10:38:13 +01:00
Petr Skoda
a2f5eaca6a MDL-30610 remove outdated theme upgrade code 2011-12-23 10:38:13 +01:00
Petr Skoda
2e210163ee MDL-30610 remove outdated main upgrade code 2011-12-23 10:38:13 +01:00
Petr Skoda
17510ff0fe MDL-30610 remove outdated workshop upgrade code 2011-12-23 10:38:12 +01:00
Petr Skoda
7c58c19fa3 MDL-30610 remove outdated admin tool upgrade code 2011-12-23 10:38:12 +01:00
Petr Skoda
ce5e39e6c7 MDL-30610 remove outdated report upgrade code 2011-12-23 10:38:12 +01:00
Petr Skoda
40e4cd435b MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
Petr Skoda
8ef9da055a MDL-30610 standardise empty upgrade script content 2011-12-23 10:38:11 +01:00
Petr Skoda
c5fb8b27b8 MDL-30610 remove outdated filter upgrade code 2011-12-23 10:38:11 +01:00
Petr Skoda
3751e28f1c MDL-30610 remove outdated enrol upgrade code 2011-12-23 10:38:11 +01:00
Petr Skoda
612d65d037 MDL-30610 remove outdated block upgrade code 2011-12-23 10:38:10 +01:00
Petr Skoda
5ea41be1b3 MDL-30610 remove outdated auth upgrade code 2011-12-23 10:38:10 +01:00
Petr Skoda
34c7280375 MDL-30786 no need for 1.9-2.2 upgrade info in 2.3 2011-12-23 10:35:32 +01:00
Petr Skoda
ec8935f576 MDL-30786 fix overview status of standard plugins to be deleted 2011-12-23 10:35:32 +01:00
Eloy Lafuente (stronk7)
2117dcb591 weekly release 2.3dev (on-sync version 22_STABLE) 2011-12-23 03:01:27 +01:00
Eloy Lafuente (stronk7)
4e25a9dbf1 Merge branch 'install_master' of git://github.com/amosbot/moodle 2011-12-23 02:52:54 +01:00
AMOS bot
b756f24c22 Automatically generated installer lang files 2011-12-23 00:31:16 +00:00
Eloy Lafuente (stronk7)
63637e9dd8 MDL-30760 question engine: reduce summary max size
MySQL only accepts 65536 (aprox) bytes in default TEXT
columns. So we define the max allowed as 32000 to allow
99.9% of utf-8 contents to fit. If some day MDL-19603 is
implemented and all current TEXTs are moved (MySQL) to
the BIG counterparts, this restriction can be out (MDL-19603).
2011-12-23 01:16:25 +01:00
Eloy Lafuente (stronk7)
91c10ddfa0 Merge branch 'MDL-29400_misleading_file_upload_status' of git://github.com/gerrywastaken/moodle 2011-12-22 09:48:23 +01:00
Gerard (Gerry) Caulfield
229278a71b MDL-29400 Fixing unset object bug encountered by Rajesh during testing 2011-12-22 14:00:44 +08:00
Sam Hemelryk
01856bf75e Merge branch 'wip-MDL-18128-master-version3' of git://github.com/abgreeve/moodle 2011-12-22 11:44:11 +13:00