Commit graph

3484 commits

Author SHA1 Message Date
Nadav Kavalerchik
f63a9af78e MDL-39682 Forms, File Picker, Themes: Fix alignment of Form's Labels and Input elements in RTL mode (theme/clean) 2013-08-28 21:15:49 +03:00
Damyon Wiese
aff220edd9 MDL-36002 dragdrop: Implement keyboard dragdrop for blocks
This is for the NEW block drag and drop code - not the other one :)
All it does it add proper drag handles.
2013-08-22 16:37:49 +08:00
Damyon Wiese
9ead041cdb Revert "MDL-40931 useragent: separated user agent functionality into a lib"
This reverts commit af62237d0e.
This reverts commit 87a4194fdc.
This reverts commit b2c66eb60c.

Conflicts:

	version.php
2013-08-22 13:31:25 +08:00
Sam Hemelryk
b89fbc4615 Merge branch 'MDL-41159-master' of git://github.com/damyon/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-08-21 10:56:00 +12:00
Damyon Wiese
89959d9ad1 Merge branch 'wip-MDL-40931-m26' of git://github.com/samhemelryk/moodle 2013-08-20 16:45:33 +08:00
Dan Poltawski
7d7e0292cb Merge branch 'wip-MDL-40974-m26' of git://github.com/samhemelryk/moodle 2013-08-20 15:13:02 +08:00
Dan Poltawski
bfa4c3f358 Merge branch 'MDL-36002-master' of git://github.com/damyon/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-08-20 12:17:16 +08:00
Dan Poltawski
54a868d3be Merge branch 'MDL-39236-master' of git://github.com/nadavkav/moodle 2013-08-20 10:59:31 +08:00
Dan Poltawski
599d7d9bdf Merge branch 'MDL-30839-master' of git://github.com/phalacee/moodle 2013-08-19 17:40:37 +08:00
Damyon Wiese
26ae471585 Merge branch 'MDL-40896' of git://github.com/timhunt/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-08-19 15:38:23 +08:00
Jason Fowler
0c99005a9a MDL-30839 Accessibility, Forms - Improve accessibility or error messages 2013-08-19 09:54:41 +08:00
Nadav Kavalerchik
373c610ed1 MDL-39703 Roles, Themes: Fix "Add role" dialog width and position, in RTL mode (theme/clean) 2013-08-18 21:51:51 +03:00
Nadav Kavalerchik
6700806403 MDL-39236 - Right align table cells during install process, when in RTL mode (theme/standard, actually theme/base) 2013-08-16 11:53:14 +03:00
Sam Hemelryk
af62237d0e MDL-40931 useragent: separated user agent functionality into a lib
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-16 09:02:01 +12:00
Sam Hemelryk
25c605a526 MDL-40974 course: fixed group mode icon now has tooltip 2013-08-16 08:59:01 +12:00
Tim Hunt
2f7827b241 MDL-40896 Add missing question edit CSS to bootstrapbase. 2013-08-15 12:18:00 +01:00
Damyon Wiese
dd66b6ab48 MDL-36002 core: Make drag and drop keyboard friendly (round 2) 2013-08-15 14:39:00 +08:00
Damyon Wiese
fd782261de MDL-39851 javascript: Fixes for filepicker dialogs
Fixes display issues with the filepicker dialogs that were
converted to M.core.dialogue.

Note: These dialogue use table based layouts and the table width is not
counted in the form that it sits in. I have changed the dialogues to have
a wider width but for really small screens this causes horizontal scrolling.

The only solution for that is to rewrite all the filepicker/filemanager dialogs
to use css for layout.
2013-08-15 10:52:24 +08:00
Sam Hemelryk
702d1f853e Revert "MDL-36002 core: Make drag and drop keyboard friendly"
This reverts commit 7c271b9, 313e585, ade4695, and 70b4027

Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-08-15 13:59:06 +12:00
Damyon Wiese
048422dd8e MDL-41159 theme: Remove z-index from file manager context menu icon 2013-08-13 11:31:21 +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
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
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
Sam Hemelryk
45f133884e Merge branch 'MDL-36005-master' of git://github.com/damyon/moodle
Conflicts:
	version.php
2013-08-12 10:38:06 +12:00
Marina Glancy
fd6d13bab1 Merge branch 'MDL-36011-master' of git://github.com/damyon/moodle 2013-08-05 17:15:38 +10:00
Petr Škoda
6b32d6bc93 MDL-40995 simplify minify integration and fix all known issues 2013-08-03 17:16:17 +02:00
Damyon Wiese
fdf70473a5 MDL-36011 tablelib: Make column headers expand/collapse links accessible. 2013-08-02 11:24:53 +08:00
Damyon Wiese
a3e57854fc MDL-36005 formslib: Move the help icons out of the form labels for accessibility. 2013-08-01 16:39:34 +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
202fcfa130 MDL-39814 frontend: increased size of editing icons for activities 2013-07-30 16:15:12 +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
Nadav Kavalerchik
a14af68453 MDL-40902 - Align breadcrumbs to the right in RTL mode (theme/clean, bootstrapbase) 2013-07-28 23:21:00 +03:00
Jason Fowler
343dc4ae25 MDL-39748 - Grading - Fixing the increasing height regression
Conflicts:

	theme/bootstrapbase/style/moodle.css
2013-07-24 15:27:54 +08:00
Sam Hemelryk
feb34ff4e8 Merge branch 'w30_MDL-23493_m26_fonts' of https://github.com/skodak/moodle 2013-07-24 19:19:47 +12:00
Petr Škoda
964485a3a0 MDL-23493 fix borked regex matching for non-standard font extensions 2013-07-24 08:58:23 +02:00
Eloy Lafuente (stronk7)
01994ecee9 Merge branch 'MDL-40544_master' of https://github.com/nadavkav/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-07-23 22:39:13 +02:00
Eloy Lafuente (stronk7)
6aa9735cb0 Merge branch 'MDL-40589_master' of https://github.com/nadavkav/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-07-23 22:34:16 +02:00
Eloy Lafuente (stronk7)
6abf3556fd Merge branch 'MDL-40189_master' of https://github.com/nadavkav/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-07-23 22:28:54 +02:00
Eloy Lafuente (stronk7)
172dda0090 Merge branch 'MDL-40071_master' of https://github.com/nadavkav/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-07-23 22:10:08 +02:00
Eloy Lafuente (stronk7)
3b117e79ce Merge branch 'MDL-40082_master' of https://github.com/nadavkav/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-07-23 12:16:11 +02:00
Damyon Wiese
7ea41b4a94 Merge branch 'wip-MDL-39748-master' of git://github.com/phalacee/moodle 2013-07-23 14:16:31 +08:00
Jason Fowler
7e222836f0 MDL-39748 - Grading Methods - Fixing input field widths for Rubrics 2013-07-23 12:06:38 +08:00