Commit graph

12762 commits

Author SHA1 Message Date
Davo Smith
f08fac7c89 MDL-29766 Add drag and drop upload to filemanager / filepicker elements 2012-01-09 17:27:32 +00:00
sam marshall
487de67c48 MDL-6102 Default time format incorrectly has leading zeros on 12-hour times (e.g. 03:57 PM) 2012-01-09 11:38:59 +00:00
Aparup Banerjee
bb9546d0c7 Merge branch 'wip-MDL-30583-master' of git://github.com/samhemelryk/moodle 2012-01-09 13:44:36 +08:00
Sam Hemelryk
2e40a94cff Merge branch 'w02_MDL-31005_m23_contextlevelname' of git://github.com/skodak/moodle 2012-01-09 16:12:24 +13:00
Sam Hemelryk
0e743da2b4 Merge branch 'w02_MDL-30717_m23_usercreated' of git://github.com/skodak/moodle 2012-01-09 14:03:10 +13:00
Sam Hemelryk
b07646fcf7 MDL-30928 lib: Fixed whitespace 2012-01-09 13:57:06 +13:00
Sam Hemelryk
1bec282c06 Merge branch 'w02_MDL-30928_m23_deletetimes' of git://github.com/skodak/moodle 2012-01-09 13:52:37 +13:00
Eloy Lafuente (stronk7)
4b89edd948 Merge branch 'MDL-30966-print-object' of git://github.com/mudrd8mz/moodle 2012-01-09 00:33:02 +01:00
Sam Hemelryk
df121fb287 Merge branch 'master_MDL-31043' of git://github.com/danmarsden/moodle 2012-01-09 12:23:11 +13:00
Sam Hemelryk
4037098eba MDL-30583 navigation: Added setting to control display of front page activities on the navigation 2012-01-09 09:49:34 +13:00
Petr Skoda
9fcbc4640d MDL-31005 fix strict coding style warning in context_helper
PHP54 compatibility
2012-01-08 15:39:03 +01:00
Petr Skoda
1fb6f5ab67 MDL-30717 update user->timemodified in update_user_record() 2012-01-08 15:03:53 +01:00
Petr Skoda
549a8b74b3 MDL-30717 add missing time created info in create_user_record()
Credit goes to Luis Gustavo Mueller de Alcantara.
2012-01-08 15:03:52 +01:00
Petr Skoda
e7157a0054 MDL-30928 include course and user deletion time in event
Credit goes to Luis Gustavo Mueller de Alcantara.
2012-01-08 14:29:18 +01:00
David Mudrak
68e550e6b2 MDL-30966 print_object() output made CLI-friendly 2012-01-06 22:48:12 +01:00
Tim Hunt
c2f5e2ab81 MDL-30635 enable standard cron for all question and quiz plugin types.
* Support for old non-standard cron for quiz reports dropped. (Standard
cron support was added in 2.2

* Cron support added for qbehaviour, qformat and quizacces plugins.

* qtypes were already supported in the standard way.
2012-01-06 18:42:35 +00:00
Dan Marsden
0f6d934941 MDL-31043 allow themes to set custommenu instead of using global settings 2012-01-06 12:48:01 +13:00
Andrew Robert Nicols
696c748da7 MDL-31013 Add iconsmall class to 'Export to portfolio' icon 2012-01-04 10:27:08 +00:00
Eloy Lafuente (stronk7)
45ad2d871c Merge branch 'wip-MDL-26869-m23-after-MDL-26155' of git://github.com/samhemelryk/moodle 2012-01-04 03:08:24 +01:00
Eloy Lafuente (stronk7)
a46eb101b3 Merge branch 'w52_MDL-30945_m23_unenrol' of git://github.com/skodak/moodle 2012-01-04 01:51:10 +01:00
Eloy Lafuente (stronk7)
96f888506c Merge branch 'w52_MDL-30948_m23_messagesuspended' of git://github.com/skodak/moodle 2012-01-04 00:47:48 +01:00
Sam Hemelryk
3b53b85b47 Merge branch 'w52_MDL-29917_m23_autocomplete' of git://github.com/skodak/moodle 2012-01-04 10:58:03 +13:00
Sam Hemelryk
44d5c138a2 Merged branch 'w52_MDL-30548_m23_suspenduser' of git://github.com/skodak/moodle.git with conflict resolution 2012-01-04 10:50:20 +13:00
Eloy Lafuente (stronk7)
bb2308a33a Merge branch 'wip-MDL-26155-m23' of git://github.com/samhemelryk/moodle
Conflicts:
	admin/settings/security.php
2012-01-03 17:26:31 +01:00
Petr Skoda
daa8b1ac06 MDL-30948 do not generate new passwords for suspended accounts because they would not get any emails 2012-01-03 16:48:15 +01:00
Petr Skoda
4ad72c284d MDL-30548 support user suspended flag in admin UI
This patch includes:
* user management suspend UI tweaks and other coding style improvements
* suspended info in user profiles
* suspend option in advanced edit form
* suspended user filtering
* hidden user fields option for suspended field

Thanks Sam Hemelryk for valuable feedback.
2012-01-03 16:35:21 +01:00
Aparup Banerjee
d7ca9b68ca Merge branch 'wip-mdl-29844' of git://github.com/rajeshtaneja/moodle.git - resolved conflict 2012-01-03 12:29:12 +08:00
Eloy Lafuente
90911c4ff9 MDL-29844 Administration: Added new config for users to login for viewing profile image 2012-01-03 11:53:49 +08:00
Sam Hemelryk
44141b1881 Merge branch 'w52_MDL-30786_m23_todelete' of git://github.com/skodak/moodle 2012-01-03 16:35:36 +13:00
Sam Hemelryk
eacb470338 Merge branch 'w52_MDL-30924_m23_pspell' of git://github.com/skodak/moodle 2012-01-03 12:49:06 +13:00
Sam Hemelryk
466973a143 Merge branch 'w52_MDL-30934_m23_modules' of git://github.com/skodak/moodle 2012-01-03 12:26:14 +13:00
Sam Hemelryk
d0a8d04551 Merge branch 'MDL-30802' of git://github.com/timhunt/moodle 2012-01-03 11:26:02 +13:00
Sam Hemelryk
221dd28b65 Merge branch 'MDL-30168_tim2' of git://github.com/timhunt/moodle 2012-01-03 11:15:04 +13:00
Sam Hemelryk
03273b5357 Merge branch 'MDL-29821' of git://github.com/bostelm/moodle 2012-01-03 10:11:58 +13:00
Sam Hemelryk
83f78f8dac MDL-26869 admin: Added page to view admin categories and included in navigation with a new setting 2012-01-03 09:39:10 +13:00
Sam Hemelryk
d79883ab7f MDL-26155 string: Improved validation when constructing lang_strings if debugging is enabled 2012-01-03 09:09:40 +13:00
Sam Hemelryk
e6d40f8ac2 MDL-26155 string: Implemented moodle_string class 2012-01-03 09:04:58 +13: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)
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
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
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
ca8fe0b00a MDL-30948 stop messaging suspended and deleted users 2011-12-29 17:01:10 +01: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
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
Tim Hunt
35c37afc12 MDL-30802 question nav: fix questions link in front page course. 2011-12-23 12:54:29 +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
Petr Skoda
5c79b8ed91 MDL-30610 prevent upgrades from pre2.2.0 2011-12-23 10:42:25 +01:00
Petr Skoda
2e210163ee MDL-30610 remove outdated main upgrade code 2011-12-23 10:38:13 +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