Commit graph

451 commits

Author SHA1 Message Date
Jason Fowler
baffb422e6 MDL-35919 - Activity Chooser - Adding Aria attributes to improve accessibility 2013-08-12 13:18:57 +08:00
Dan Poltawski
f2b45ad65f Merge branch 'MDL-36002-master' of git://github.com/damyon/moodle
Conflicts:
	theme/base/style/core.css
	theme/bootstrapbase/style/moodle.css
2013-08-12 11:56:37 +08:00
Damyon Wiese
ade4695de0 MDL-36002 dragdrop: Add simulated event for keyboard drag drop.
This is to prevent any accidental state change in Y.DD.DDM.
2013-08-05 09:39:11 +08:00
Damyon Wiese
313e58519c MDL-36002 dragdrop: focus fix and exception catching
This sets the focus correctly after a cancel or drop event.
It also catches exceptions from the lock/unlock functions.
2013-08-02 16:34:24 +08:00
Sam Hemelryk
f803ce267f MDL-39814 actionmenu: tweaked the action menu post integration
The following changes have been made:
 * course_section_cm_edit_actions now allows the caller more options for the
   display of the action menu.
 * The site menu block now disables the JS enhancement of the actionmenu so
   that it displays as it did before. After more testing this seemed like the
   only option that worked in the limited space of the block when it had
   several modules.
 * draganddrop of resources now triggers the action menu enhancement as well.
 * Fixed display of title when the menu is not being enhanced by JS.
 * Fixed the alignment of the completion icon in the bootstrapbase theme.
 * Tweaked the CSS for the standard theme.
2013-08-01 13:05:04 +12:00
Damyon Wiese
7c271b918e MDL-36002 core: Make drag and drop keyboard friendly
This change adds keyboard support to core drag and drop.

Selecting a grab handle and hitting enter (or space) will
open a menu of possible drop targets and allow you to choose one.

The only other UI change this implies is we need to show the grab
for blocks.
2013-07-31 16:43:25 +08:00
Sam Hemelryk
ea5a01fbe5 MDL-39814 frontend: pre-integration fixes:
* Fixed IE8 display of icons.
* Fixed blocks using course renderer.
* Fixed behat tests.
* codecheckers fixes
* Removed alt from icons with descriptive text
* Tweaked actionmenu initialisation for performance
2013-07-30 16:15:58 +12:00
Sam Hemelryk
10fc156933 MDL-39814 frontend: added options to disable new action menus
Also:
 * Tidied up patch as per peer-reviews
2013-07-30 16:15:52 +12:00
Sam Hemelryk
3665af78ca MDL-39814 actionmenu: improved alignment, constraint handling, and accessibility 2013-07-30 16:15:26 +12:00
Sam Hemelryk
e5de4933b0 MDL-39814 frontend: redeveloped overlay to correct tab-flow
Also:
 * fixed zindex issue + spinner placement
 * added notes to course format and theme upgrade texts
 * fixed behat tests after action menu changes
2013-07-30 16:15:19 +12:00
Sam Hemelryk
cf69a00a1c MDL-39814 frontend: introduced an action_menu_action class 2013-07-30 16:15:05 +12:00
Sam Hemelryk
b59f2e3bef MDL-39814 frontend: improved display of activities and the menu 2013-07-30 16:14:56 +12:00
Sam Hemelryk
e282c679e3 MDL-39814 frontend: improvements to course/block editing 2013-07-30 16:07:26 +12:00
Sam Hemelryk
73b4c1da84 Merge branch 'MDL-40678-m' of git://github.com/andrewnicols/moodle 2013-07-30 08:55:35 +12:00
Eloy Lafuente (stronk7)
ae2605ec8d Merge branch 'wip-MDL-40540-m26' of git://github.com/samhemelryk/moodle 2013-07-23 22:56:34 +02:00
Sam Hemelryk
83fa6ab6ee MDL-40540 dock: the dock loader is now a proper sub module 2013-07-22 10:46:46 +12:00
Andrew Nicols
7868699535 MDL-40678 JavaScript: Split out moodle-core-notification into submodules 2013-07-20 20:21:31 +01:00
Andrew Nicols
fbd3143412 MDL-40799 JavaScript: Correct tooltip dependency on cache-base 2013-07-20 16:20:44 +01:00
Marina Glancy
576151c987 Merge branch 'MDL-40478-m' of git://github.com/andrewnicols/moodle 2013-07-17 11:09:08 +10:00
Eloy Lafuente (stronk7)
68d9f13273 Merge branch 'MDL-40477-m' of git://github.com/andrewnicols/moodle 2013-07-17 01:13:17 +02:00
Sam Hemelryk
a783d21066 MDL-40167 dock: tidied up className attribute 2013-07-15 09:46:03 +12:00
Sam Hemelryk
a69a7e89b8 MDL-40167 dock: tidy up after first peer-review 2013-07-15 09:46:03 +12:00
Sam Hemelryk
84192d7836 MDL-40167 dock: converted the dock JS to a YUI shifted module.
The patch converts the dock into a YUI shifter module and at
the same time improves several aspects of its operation.
The features of this patch include:
* Dock Module conversion.
* A loader that ensures we don't include the dock JS or its
  requirements unless actually required.
* We no longer include the dock JS for themes that don't
  enable it.
* Blocks no longer add registration events to the page
  instead a dockable attribute is added to the html and the
  loader looks for that.
* The dock module is properly documented and running YUIDoc
  gives good quality documentation.
* We no longer need the dock module registration or
  subcomponent.
* All events that can be delegated are now delegated.
* Removed unused variables and code left over after fixes.
* Support for docking blocks renderered using the new blocks
  render method. Better support for custom block regions.
2013-07-15 09:46:03 +12:00
Andrew Nicols
f320e8d00f MDL-40478 JavaScript: Support loading of YUI submodules in the yui-loader 2013-07-12 10:12:03 +01:00
Andrew Nicols
7cfe3ebbcc MDL-40477 JavaScript: Move YUI config functions out and deminify
This should make future development and debugging of these functions much
easier. It also allows us to write inline documentation for them.
2013-07-12 08:31:57 +01:00
Sam Hemelryk
018721e685 MDL-39842 js: fixed block drag and drop 2013-06-07 17:33:14 +12:00
Andrew Nicols
c966422e82 MDL-39355 JavaScript: Correct zIndex for tooltip 2013-04-25 17:05:07 +01:00
Andrew Nicols
569c9a3b90 MDL-39092 JavaScript: Remove Moodle YUI coverage JS files 2013-04-14 17:30:08 +01:00
Andrew Robert Nicols
56d465b2d3 MDL 38508 JavaScript: Split out AJAX and non-AJAX help
We need to keep these two separate as scripts which define AJAX_SCRIPT
before loading config.php will use a different default renderer and will
return appropriate exceptions which can be parsed by M.core.exception and
M.core.ajaxException correctly.

This also addresses an issue whereby a missing heading could break the
tooltip.
2013-04-08 21:01:20 +01:00
Eloy Lafuente (stronk7)
113f9a68bd Merge branch 'MDL-38520-m' of https://github.com/andrewnicols/moodle 2013-03-27 23:38:33 +01:00
Eloy Lafuente (stronk7)
9b79c017f9 Merge branch 'MDL-38473-m' of https://github.com/andrewnicols/moodle 2013-03-27 23:20:18 +01:00
Eloy Lafuente (stronk7)
f3804a0c00 Merge branch 'MDL-38472-m' of https://github.com/andrewnicols/moodle 2013-03-27 22:42:33 +01:00
Eloy Lafuente (stronk7)
cb39c6136b Merge branch 'MDL-38519-m' of https://github.com/andrewnicols/moodle 2013-03-27 22:29:21 +01:00
Eloy Lafuente (stronk7)
c4b39661b9 Merge branch 'MDL-38517-m' of https://github.com/andrewnicols/moodle 2013-03-27 21:43:30 +01:00
Eloy Lafuente (stronk7)
a8cdbbe053 Merge branch 'MDL-38471-m' of https://github.com/andrewnicols/moodle 2013-03-27 18:50:34 +01:00
Andrew Robert Nicols
a94dd7d2b8 MDL-38517 JavaScript: Migrate moodle-core-blocks to use Shifter 2013-03-24 18:39:57 +00:00
Eloy Lafuente (stronk7)
cfe6a96f0a Merge branch 'MDL-38470-m' of https://github.com/andrewnicols/moodle 2013-03-20 01:47:52 +01:00
Andrew Robert Nicols
c5952e06f1 MDL-38470 JavaScript: Rebuild moodle-core-tooltip with Shifter 2013-03-20 00:46:33 +00:00
Eloy Lafuente (stronk7)
354ec0691b Merge branch 'MDL-37664-master' of https://github.com/lucisgit/moodle 2013-03-19 23:31:21 +01:00
Andrew Robert Nicols
0653469e0c MDL-38520 JavaScript: Migrate moodle-core-formchangechecker to use Shifter 2013-03-18 22:36:56 +00:00
Andrew Robert Nicols
3756320fd0 MDL-38519 JavaScript: Migrate moodle-core-formautosubmit to use Shifter 2013-03-18 22:24:31 +00:00
Andrew Robert Nicols
74972abc29 MDL-38473 JavaScript: Migrate moodle-core-chooserdialogue to use Shifter 2013-03-14 01:25:44 +00:00
Andrew Robert Nicols
9488b9fbe0 MDL-38472 JavaScript: Migrate moodle-core-popuphelp to Shifter 2013-03-14 01:21:18 +00:00
Andrew Robert Nicols
5c0a9d479a MDL-38471 JavaScript: Migrate moodle-core-notification to use Shifter 2013-03-14 00:52:32 +00:00
Shamim Rezaie
ba23e9a57b MDL-37664 course: Fix drag & drop RTL mode issue 2013-03-12 15:43:40 +00:00
Aparup Banerjee
e14cc639f1 Merge branch 'MDL-38356-m' of git://github.com/andrewnicols/moodle 2013-03-12 13:37:25 +08:00
Brent Boghosian
7e21ee683b MDL-38356 Forms: Check that the form exists before applying changechecker
Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
2013-03-06 16:43:48 +00:00
Aparup Banerjee
fb3c1d2b34 Merge branch 'MDL-38067-m' of git://github.com/andrewnicols/moodle 2013-03-05 11:06:55 +08:00
Aparup Banerjee
23a6fca502 Merge branch 'MDL-34300-m' of git://github.com/andrewnicols/moodle 2013-03-05 10:37:33 +08:00
Sam Hemelryk
627a43917a MDL-37127 js: fixed indentation of tooltip.js 2013-03-05 14:11:35 +13:00