Commit graph

63921 commits

Author SHA1 Message Date
Dan Poltawski
ed07242713 MDL-39507 qtype_essay: hacky fix for unit tests
This is just to get the tests passing for integration purposes. Tim
may want to do a robust fix and revert this.
2013-08-13 10:47:19 +08:00
Damyon Wiese
bf7c86cfcf MDL-39851 M.core.dialogue: Various fixes
Items addressed
* Get rid of custom attribute srcNode
* Change extraClasses to a config only parameter.
* Change attribute fullscreen to a method.
* Restore the original window overflow value.
* Use setStyles instead of setStyle for performance.
* Tinymce end the zindex wars
* Prevent fullscreen dialogs in an iframe (tinymce managefiles plugin).
* tinymce: Cross browser fix for zindex on popups
* Use CSS for overflow changes (easier to keep track of the previous state).
* Fix Coding style for css changes
2013-08-13 10:42:01 +08:00
Damyon Wiese
c4bb131928 MDL-39851 filepicker: Fix for toolbar display wrapping on small screens 2013-08-13 10:39:52 +08:00
Damyon Wiese
c402943a33 MDL-39851 forms: Convert filemanager popups to M.core.dialogue 2013-08-13 10:39:36 +08:00
Damyon Wiese
d61c96b6b4 MDL-39851 javascript: Full screen dialogs on small screens
This change adds support to M.core.dialogue for showing fullscreen
dialogs on small screen sizes. There are 2 new configuration values that
can be set to control this when creating a dialog (responsive and responsiveWidth).

Setting responsive to false will disable this functionality completely (old behaviour).
Setting responsiveWidth controls the screen width that the dialog will switch to
fullscreen mode. Try not to think of the device that will be accessing the dialog,
but the width at which the content of the dialog needs to be displayed differently.

The activity chooser and the filepicker are the two dialogs that have been converted
in this patch. The filepicker first had to be converted to use M.core.dialog and not
Y.Panel.
2013-08-13 10:37:32 +08:00
Sam Hemelryk
969de2a200 Merge branch 'wip-mdl-39955' of git://github.com/rajeshtaneja/moodle 2013-08-13 14:13:13 +12:00
Dan Poltawski
f37c923d14 MDL-19171 fix trailing whitespace 2013-08-13 10:06:34 +08:00
Dan Poltawski
41e337dd82 Merge branch 'MDL-19171' of https://github.com/bostelm/moodle 2013-08-13 09:57:52 +08:00
Dan Poltawski
942a0e37d4 Merge branch 'MDL-39507' of git://github.com/timhunt/moodle 2013-08-13 09:52:35 +08:00
Rajesh Taneja
1cb1e5fe32 MDL-39955 completion: Added unittest for course_completed event 2013-08-13 09:43:38 +08:00
Rajesh Taneja
06f8ea7bf4 MDL-39955 completion: Added course_completed event 2013-08-13 09:43:38 +08:00
Sam Hemelryk
c0dfd035c4 Merge branch 'wip_MDL-40077' of https://github.com/jamiepratt/moodle 2013-08-13 10:49:12 +12:00
Sam Hemelryk
0c0efd71a1 Merge branch 'MDL-38191-master' of git://github.com/sammarshallou/moodle 2013-08-13 10:26:26 +12:00
Sam Hemelryk
615cf2d15a Merge branch 'MDL-41045-master' of git://github.com/sammarshallou/moodle 2013-08-13 10:19:34 +12:00
Sam Hemelryk
49c7794dcf Merge branch 'MDL-41082-master' of git://github.com/FMCorz/moodle 2013-08-13 10:16:14 +12:00
Sam Hemelryk
717d68544d Merge branch 'MDL-41004-master' of git://github.com/sammarshallou/moodle 2013-08-13 09:46:17 +12:00
Sam Hemelryk
acf6a06d5e Merge branch 'master_MDL-40773' of git://github.com/danmarsden/moodle 2013-08-13 09:45:03 +12:00
Sam Hemelryk
0ade13532b Merge branch 'MDL-39691' of git://github.com/jmvedrine/moodle 2013-08-13 09:41:27 +12:00
Sam Hemelryk
defb89c30c Merge branch 'MDL-41091' of git://github.com/timhunt/moodle 2013-08-13 09:38:40 +12:00
Sam Hemelryk
90fb4f39fd Merge branch 'MDL-41100-master' of git://github.com/FMCorz/moodle
Conflicts:
	version.php
2013-08-13 09:37:02 +12:00
Sam Hemelryk
6648f17384 Merge branch 'wip-MDL-41114-master' of git://github.com/marinaglancy/moodle 2013-08-13 09:32:48 +12:00
Sam Hemelryk
bbf434b639 Merge branch 'MDL-41050-master' of git://github.com/sammarshallou/moodle 2013-08-13 09:27:50 +12:00
Sam Hemelryk
23b7f1dfcf Merge branch 'MDL-41033' of git://github.com/rwijaya/moodle 2013-08-13 09:24:12 +12:00
Sam Hemelryk
61f2c458d5 Merge branch 'MDL-40711-master' of git://github.com/ankitagarwal/moodle 2013-08-13 09:12:24 +12:00
Sam Hemelryk
41b0597855 Merge branch 'MDL-40852_master' of git://github.com/dmonllao/moodle 2013-08-13 09:10:28 +12:00
Sam Hemelryk
761b48df59 Merge branch 'MDL-40996' of git://github.com/timhunt/moodle 2013-08-13 09:08:15 +12:00
Sam Hemelryk
cd0103fa60 Merge branch 'MDL-40673_master' of git://github.com/dmonllao/moodle 2013-08-13 09:03:45 +12:00
Sam Hemelryk
f37d53296d Merge branch 'wip-MDL-40871-master' of git://github.com/abgreeve/moodle 2013-08-13 08:57:15 +12:00
Sam Hemelryk
1e6ac6957e Merge branch 'MDL-30895-master' of https://github.com/mouneyrac/moodle 2013-08-13 08:45:43 +12:00
Sam Hemelryk
3ad7a71e1f NOBUG: fixed whitespace 2013-08-13 08:41:09 +12:00
Sam Hemelryk
8fa5ad6212 Merge branch 'MDL-35931-master' of git://github.com/phalacee/moodle 2013-08-13 08:38:33 +12:00
Sam Hemelryk
97907a85f1 Merge branch 'MDL-35919-master' of git://github.com/phalacee/moodle 2013-08-13 08:36:01 +12:00
Sam Hemelryk
8e9709f8bf Merge branch 'MDL-35934' of git://github.com/rwijaya/moodle 2013-08-13 08:33:12 +12:00
sam marshall
07e720010a MDL-41146 Backup: backup_includes_files can leak memory 2013-08-12 13:49:26 +01:00
Petr Škoda
96f81ea385 MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init 2013-08-12 13:01:47 +02:00
Frederic Massart
0528361cc1 MDL-39954 event: Changing get_legacy_eventname to public static 2013-08-12 17:35:30 +08:00
Frederic Massart
3785358d47 MDL-39954 event: Delocalise get_description 2013-08-12 17:35:30 +08:00
Frederic Massart
b3fbd91805 MDL-39954 assignment_upload: Replacing old-style event_trigger 2013-08-12 17:35:29 +08:00
Frederic Massart
523698dc4c MDL-39954 assignment_online: Replacing old-style event_trigger 2013-08-12 17:35:29 +08:00
Frederic Massart
cbf4b0e6f6 MDL-39954 mod_workshop: Log method can return array of parameters 2013-08-12 17:35:29 +08:00
Frederic Massart
62b3b99784 MDL-39954 mod_forum: Replacing old-style events_trigger 2013-08-12 17:35:29 +08:00
Frederic Massart
7dceb50057 MDL-39954 assignsubmission_onlinetext: Replacing old-style events_trigger 2013-08-12 17:35:28 +08:00
Frederic Massart
e3d2d06480 MDL-39954 assignsubmission_file: Replacing old-style events_trigger 2013-08-12 17:35:28 +08:00
Tim Hunt
e2b388c1a4 MDL-39507 questions: fix pluginfile URLs before format_text.
This commit build's on Jean-Michel's work, tidying up a few lose ends.
2013-08-12 10:32:02 +01:00
Dan Poltawski
88ce8a1cb0 Merge branch 'MDL-27655' of git://github.com/timhunt/moodle 2013-08-12 16:41:29 +08:00
Frederic Massart
a04cbf61c8 MDL-39954 mod_assign: Replace old-style event assessable_submitted 2013-08-12 16:26:41 +08:00
Frederic Massart
caa06f4b45 MDL-39954 mod_assign: add_to_log can return an array of parameters 2013-08-12 16:26:41 +08:00
Frederic Massart
e185f72d58 MDL-39954 core: Abstract event assessable_submitted & assessable_uploaded 2013-08-12 16:26:41 +08:00
Dan Poltawski
e64f5d367a Merge branch 'MDL-30001' of git://github.com/jmvedrine/moodle 2013-08-12 15:54:53 +08:00
Dan Poltawski
7064ef523b Merge branch 'wip-mdl-40044' of git://github.com/rajeshtaneja/moodle 2013-08-12 14:27:35 +08:00