Commit Graph

103 Commits

Author SHA1 Message Date
Dan Poltawski e4224a5ae1 Merge branch 'MDL-36346_23' of git://github.com/pauln/moodle into MOODLE_23_STABLE 2012-11-07 09:27:53 +08:00
Paul Nicholls c4851e8085 MDL-36346 - YUI2 SWF vulnerability, part 2 2012-11-07 14:09:20 +13:00
Dan Poltawski cb2829dea3 Merge branch 'MDL-36346_23' of git://github.com/pauln/moodle into MOODLE_23_STABLE 2012-11-06 16:20:14 +08:00
Paul Nicholls c43e6006e7 MDL-36346 - YUI2 SWF vulnerability 2012-11-06 14:55:48 +13:00
Dan Poltawski aafded3f42 Merge branch 'MDL-36023-MOODLE_23_STABLE' of git://git.luns.net.uk/moodle into MOODLE_23_STABLE 2012-11-06 09:36:08 +08:00
Andrew Robert Nicols 8516492cc4 MDL-36023 AJAX Move the instantiation of the dialogue to display time 2012-10-26 09:09:13 +08:00
Ruslan Kabalin e6b958d4db MDL-35767 Fix missing target event group check
Prevent interfering between items from different groups (and no groups)
2012-10-04 09:52:38 +01:00
Sam Hemelryk 4c6962068a Merge branch 'MDL-31976-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE 2012-09-26 08:20:37 +12:00
Andrew Robert Nicols cffbc80ac7 MDL-34328 Correct usage of e.drop when catching missed drag/drop events 2012-09-21 15:25:29 +01:00
Paul Nicholls 3f6970bf92 MDL-34328: block dragdrop - disallow dragging from show/hide and dock icons
Tell the YUI drag/drop delegate that the show/hide and dock icons are not valid drag handles.  Otherwise, a drag can be initiated by showing or hiding a block (probably not from docking one, but better safe than sorry).  Not strictly related to MDL-34328, but likely to be encountered whilst testing - and closely related to another patch for MDL-34328.

Note that the "invalid" config option for the delegate takes a string - not an array - but can have multiple selectors separated by commas.
2012-09-21 15:25:29 +01:00
Paul Nicholls 65c8ccc02e MDL-34328: block dragdrop - performance rewrite
Use YUI's DragDrop delegates for block dragdrop - one per block region - rather than initialising a Drag object for each individual block.
2012-09-21 15:25:29 +01:00
Frederic Massart 05daea0f6d MDL-31976 Accessbility: Action icons on course page do not need title attributes 2012-09-21 11:30:51 +08:00
Andrew Robert Nicols ca4548c1c2 MDL-34433 Check for existence of e and e.target in set_form_changed
This is required for cases when code directly calls set_form_changed as
happens with the filepicker.
2012-07-30 12:09:50 +08:00
Andrew Robert Nicols 8a172fa7cf MDL-33874 Don't warn about focussed form fields with the ignoredirty class 2012-07-18 09:35:12 +12:00
Andrew Robert Nicols e7bf0155f7 MDL-33874 Allow form fields to be ignored by the formchangechecker 2012-07-16 09:26:11 +12:00
Ruslan Kabalin d212244375 MDL-33890 Make course blocks less theme dependant
This fix checks that the empty block region is actaually the standard one, so
it can be hidden. The blocks move operating area is not resticted to page
content any more.
2012-07-09 10:02:34 +08:00
Andrew Robert Nicols 26992cf171 MDL-33926 Add window scrolling when drag/dropping 2012-06-25 15:27:46 +08:00
Andrew Robert Nicols dfe15e0ef9 MDL-33891 Ensure that listen events are cancelled correctly when closing the dialogue 2012-06-20 10:18:19 +01:00
Aparup Banerjee 3262f547fc Merge branch 'MDL-33649-master-2' of git://git.luns.net.uk/moodle 2012-06-20 15:19:18 +08:00
Aparup Banerjee 7189225b7a Merge branch 'MDL-33728-master-1' of git://git.luns.net.uk/moodle 2012-06-20 14:49:16 +08:00
Aparup Banerjee f65d3d1d18 Merge branch 'MDL-33703-master-3' of git://git.luns.net.uk/moodle 2012-06-20 14:39:58 +08:00
Andrew Robert Nicols baca909631 MDL-33703 Adjust chooser location when changing browser orientation or size 2012-06-19 15:33:07 +01:00
Andrew Robert Nicols 605f92ca1d MDL-33729 Ensure that the cancel_popup event is correctly called when using the [x] button on a chooser 2012-06-14 14:46:24 +01:00
Andrew Robert Nicols 7db27680f8 MDL-33728 Ensure that chooser dialogues are centred vertically 2012-06-14 10:55:16 +01:00
Andrew Robert Nicols b95b05085c MDL-33649 Hide page scrollbars when a chooser is open
This has the effect of preventing page scrolling which makes the chooser
difficult to use when there are many options or the page is too small.
2012-06-13 10:51:31 +01:00
Dan Poltawski 93de786561 Merge branch 'MDL-33292-master-3' of git://git.luns.net.uk/moodle 2012-06-12 17:18:18 +08:00
Dan Poltawski ac961e292a Merge branch 'MDL-33588-master-1' of git://git.luns.net.uk/moodle 2012-06-12 17:16:40 +08:00
Andrew Robert Nicols 984ec46e03 MDL-33292 Consume the new ability to move dialogues in chooser dialogues 2012-06-07 14:58:54 +01:00
Andrew Robert Nicols 371409f41e MDL-33588 Ensure that a drop target is defined before checking a drop group 2012-06-07 14:46:36 +01:00
Andrew Robert Nicols 255dd8d1e2 MDL-33482 Replaced modchooser with chooserdialogue 2012-06-07 18:09:14 +08:00
Dan Poltawski f18dd15d3e Merge branch 'wip-MDL-33321-master' of git://github.com/kwiliarty/moodle 2012-05-28 16:10:16 +08:00
Dan Poltawski 131bd2f68f Merge branch 'MDL-33192-master-1' of git://git.luns.net.uk/moodle 2012-05-28 11:47:22 +08:00
Sam Hemelryk d8a05d83b5 Merge branch 'MDL-32752-master-1' of git://git.luns.net.uk/moodle 2012-05-28 14:56:06 +12:00
Ruslan Kabalin a252a14835 MDL-33192: Prevent global DDM conflicting with others drag-drop instances. 2012-05-25 16:33:39 +01:00
Kevin Wiliarty ee45a48b9c turning off the hspace attribute on move icon image... 2012-05-24 03:07:46 -04:00
Andrew Robert Nicols d9bd472bee MDL-33135 Prevent duplicate form submission on the course activity chooser 2012-05-21 16:55:47 +01:00
Ruslan Kabalin 243e9bf984 MDL-32752: Drag-drop: Follow the ghost note if the drop target is missed.
Simulate drop_hit and substitute target of where ghost node was dropped last
time.
2012-05-21 13:59:44 +01:00
Andrew Robert Nicols af75421c54 MDL-30617 Adjustments to styling of module chooser
These changes fix several points and suggested changes:
* increase the size of the help popup to 800x600
* fix issues with centering of the dialogue
* swap next/cancel buttons
* convert next button to use string for 'Add'
* convert add text to 'Add an activity or resource'
2012-05-18 10:10:20 +01:00
Andrew Robert Nicols 01e0e7044a MDL-30617 Add a javascript interface for adding modules to a course
This interface allows for additional metadata, such as the module's help
and icon, to be displayed.
2012-05-18 00:27:16 +08:00
Dan Poltawski 96fdfb4486 Merge branch 'w19_MDL-32843_m23_yui351' of git://github.com/skodak/moodle 2012-05-09 11:24:40 +08:00
Andrew Robert Nicols 45b364b92c MDL-32654 Improve course javascript status spinner 2012-05-08 09:12:15 +01:00
Petr Skoda 353efa008d MDL-32843 import YUI 3.5.1 2012-05-08 09:21:27 +02:00
Ruslan Kabalin 5683815612 MDL-31263 Rewrite block drag/drop using YUI3 2012-04-24 13:25:43 +08:00
Ruslan Kabalin ae2afddcd6 MDL-31222 Create a core YUI3 Module for drag-drop 2012-04-23 21:28:39 +01:00
Eloy Lafuente (stronk7) 80695b2d51 MDL-32448 import YUI 3.5.0: update readme 2012-04-17 18:15:16 +02:00
Petr Skoda 36902e062e MDL-32448 import YUI 3.5.0 2012-04-16 11:59:43 +02:00
Andrew Robert Nicols 9188a9a037 MDL-31655 Warn users of unblurred but modified fields 2012-02-29 15:04:31 +00:00
Andrew Robert Nicols 88939271a1 MDL-31660 Rename form change detection javascript file 2012-02-29 14:50:52 +00:00
Andrew Robert Nicols 00e8d08dba MDL-31315 Ask before moving away from a modified form 2012-02-09 14:55:18 +00:00
Petr Skoda 9e44f79f57 MDL-29555 import YUI 3.4.1
To be backported to 2.1 stable soon.
2011-09-29 09:38:40 +02:00