Commit graph

486 commits

Author SHA1 Message Date
David Monllao
683bed9182 MDL-30847 core Adding ARIA attribute to help windows 2012-09-17 09:26:42 +08:00
Martin Vögeli
2d0e682d8b MDL-31365 Fix for safebrowser and securewindow 2012-09-03 07:25:30 +02:00
Aparup Banerjee
87c12fec13 Merge branch 'MDL-34650' of git://github.com/rwijaya/moodle 2012-07-31 13:19:47 +08:00
Rossiani Wijaya
ecc5cc31ae MDL-34650 - accessibility compliance: Add <label> for form input text and select tag 2012-07-31 12:07:16 +08:00
Adrian Greeve
b0c6dc1cac MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8) 2012-07-27 10:10:46 +08:00
Dan Poltawski
b7db7803bc Merge branch 'w30_MDL-34299_m24_html5' of git://github.com/skodak/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-07-24 14:07:26 +08:00
Petr Škoda
13725b3797 MDL-34299 remove xmlstrictheaders setting and switch to html5 doctype by default
This fixes WCAG 2.0 compliance because we were already using HTML5 markup.

The strict XML headers setting never worked for production servers, developers
used browser validators for compliance testing. XHTML 5 option is relatively
similar to this obsolete option, but still it can not be used on production servers.

XHTML Strict 1.x was a standardised dead end, HTML5 is the new de-facto-standard
supported by all major browsers including latest versions of IE.

Please note nothing changes in our coding style because HTML5 is a superset of
several previous standards, it is recommended to use only features that are
already implemented in all our supported browsers.
2012-07-21 19:23:44 +02:00
Marina Glancy
c81f332876 MDL-34221 disabledIf support for filemanager and filepicker elements 2012-07-20 10:49:30 +08:00
Petr Škoda
d6fc8d94e2 MDL-34175 a few more renamed admin fixes 2012-07-06 07:53:44 +02:00
Eloy Lafuente (stronk7)
2173e56a29 Revert "MDL-30912 - lib - A tidy up of the submit url jump functions for greater ease with accessability."
This reverts commit 82203a1e4e.
2012-07-05 16:09:43 +02:00
Tim Hunt
fede0be5de MDL-34065 lib: improve two debugging messages.
If the string passed to get_string is empty, say that. Don't say that it
contains illegal characters.

When relying on the __call magic in plugin_renderer_base, when the
method cannot be found, include the right class name in the error
message.
2012-07-05 13:48:12 +02:00
Adrian Greeve
82203a1e4e MDL-30912 - lib - A tidy up of the submit url jump functions for greater ease with accessability. 2012-06-25 10:29:48 +08:00
Frederic Massart
322945e9ca MDL-33184 Filepicker: rephrased drag and drop sentence 2012-05-30 10:05:10 +08:00
Dan Poltawski
505978801f MDL-33162 filepicker: fix trailingw hitespace 2012-05-24 16:12:15 +08:00
Barbara Ramiro
a9352f1f3c MDL-33162, MDL-33183, MDL-33150 Adjusted styles filemanager, file picker and file picker form element
- MDL-33162 Vertical align text to the middle of 24px icon for table view and tree view both on filemanager and filepicker
- MDL-33183 Layout file picker on form element on edit profile for drag and drop with dashed border and animated arrow consistent with filemanager (outputrenderers.php)
- MDL-33150 Added more space in between tool buttons both for file manager and filepicker
2012-05-24 15:02:52 +08:00
Marina Glancy
906e7d89a5 MDL-31901: user renderer for filemanager, decrease html generation in filemanager.js and dndupload.js 2012-05-21 11:57:52 +08:00
Rossiani Wijaya
1dedecf260 MDL-30291 outputrenderers: fixed typo for 2012-05-14 10:25:05 +08:00
Aparup Banerjee
83c9d449e0 MDL-29624 Media embedding system : phpdoc tweaks. 2012-05-10 10:52:41 +08:00
sam marshall
daefd6eb97 MDL-29624 Media embedding system, part 1: new API and filter changes
Includes new API in medialib.php and core_media_renderer in outputrenderers.php.
Enable/disable settings moved from filter to systemwide appearance page.
Filter changed to use new API.

AMOS BEGIN
 MOV [flashanimation,filter_mediaplugin],[flashanimation,core_media]
 MOV [flashanimation_help,filter_mediaplugin],[flashanimation_desc,core_media]
 MOV [flashvideo,filter_mediaplugin],[flashvideo,core_media]
 MOV [flashvideo_help,filter_mediaplugin],[flashvideo_desc,core_media]
 MOV [html5audio,filter_mediaplugin],[html5audio,core_media]
 MOV [html5audio_help,filter_mediaplugin],[html5audio_desc,core_media]
 MOV [html5video,filter_mediaplugin],[html5video,core_media]
 MOV [html5video_help,filter_mediaplugin],[html5video_desc,core_media]
 MOV [mp3audio,filter_mediaplugin],[mp3audio,core_media]
 MOV [mp3audio_help,filter_mediaplugin],[mp3audio_desc,core_media]
 MOV [legacyquicktime,filter_mediaplugin],[legacyquicktime,core_media]
 MOV [legacyquicktime_help,filter_mediaplugin],[legacyquicktime_desc,core_media]
 MOV [legacyreal,filter_mediaplugin],[legacyreal,core_media]
 MOV [legacyreal_help,filter_mediaplugin],[legacyreal_desc,core_media]
 MOV [legacywmp,filter_mediaplugin],[legacywmp,core_media]
 MOV [legacywmp_help,filter_mediaplugin],[legacywmp_desc,core_media]
 MOV [legacyheading,filter_mediaplugin],[legacyheading,core_media]
 MOV [legacyheading_help,filter_mediaplugin],[legacyheading_desc,core_media]
 MOV [sitevimeo,filter_mediaplugin],[sitevimeo,core_media]
 MOV [sitevimeo_help,filter_mediaplugin],[sitevimeo_desc,core_media]
 MOV [siteyoutube,filter_mediaplugin],[siteyoutube,core_media]
 MOV [siteyoutube_help,filter_mediaplugin],[siteyoutube_desc,core_media]
AMOS END
2012-05-09 18:29:29 +01:00
Dan Poltawski
0dda790c05 Merge branch 'w18_MDL-32628_m23_avatarperf2' of git://github.com/skodak/moodle
Conflicts:
    lib/db/upgrade.php
	version.php
2012-05-04 09:28:41 +08:00
Petr Skoda
4d254790c4 MDL-32628 add revision for user avatar images
This should finally resolve all avatar caching issues and should also help with performance.
2012-04-30 23:36:47 +02:00
Petr Skoda
f0202ae9a2 MDL-30686 improve accuracy of qualified_me() by trying PAGE->url first
This should help SSL proxies and returning to current page after require_login().
2012-04-27 13:39:18 +02:00
Ruslan Kabalin
5683815612 MDL-31263 Rewrite block drag/drop using YUI3 2012-04-24 13:25:43 +08:00
Sam Hemelryk
0064f3cfbb MDL-32393 navigation: Fixed up issue when rendering action_link instances for the navigation 2012-04-16 17:12:48 +12:00
Davo Smith
adce023069 MDL-31642 added 'max attachments' to filemanager and 'drag and drop' message inside the box 2012-03-01 11:57:32 +00:00
Sam Hemelryk
f8129210d2 MDL-30979 output: Further changes are validation 2012-02-17 14:53:11 +13:00
Sam Hemelryk
3d3fae7259 MDL-30979 output: Changes after peer-review 2012-02-17 14:53:10 +13:00
Sam Hemelryk
76be40ccf9 MDL-30979 output: Adjustments to match recent changes in coding style doc 2012-02-17 14:53:10 +13:00
Sam Hemelryk
7a3c215b7a MDL-30979 output: Fixed up phpdocs for renderers code 2012-02-17 14:53:10 +13:00
sam marshall
ea47046689 MDL-31153 File manager drag and drop English text improvement 2012-01-19 14:49:21 +00:00
Sam Hemelryk
7d1655a580 Merge branch 'dragdrop-for-master' of git://git.luns.net.uk/moodle 2012-01-10 11:52:09 +13:00
Davo Smith
f08fac7c89 MDL-29766 Add drag and drop upload to filemanager / filepicker elements 2012-01-09 17:27:32 +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 Davis
6278ce451f MDL-28710 rating: added some more classes to the html for entering ratings 2011-12-05 14:57:36 +08:00
Petr Skoda
fad8e0248c MDL-29030 move user log reporting to report_log plugin 2011-11-06 12:22:52 +01:00
Petr Skoda
ba50bd3d63 MDL-29030 fix remaining report linking hacks
Please note all plugin references from core should use callbacks, it is not ok to use capabilities or links to plugins because they may not be present in customised installs.
2011-11-06 12:22:50 +01:00
Eloy Lafuente (stronk7)
4ac92d2ac1 MDL-29029 admin_tool - fixed 2 ocurrences pointing to old paths 2011-09-19 18:54:30 +02:00
Aparup Banerjee
9568a4e87b Merge branch 'master' of git.moodle.org:/git/integration 2011-09-13 11:42:18 +08:00
Petr Skoda
1ad8143a30 MDL-28595 explain the need to install into new db if something fails during the initial install 2011-09-11 00:07:28 +02:00
Petr Skoda
3efe6bbb88 MDL-28595 do not print continue link if install fails 2011-09-10 23:57:11 +02:00
Sam Hemelryk
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Sam Hemelryk
871a3ec5fb MDL-28043 user Fixed context hack in pluginfile for user pics leading to init of page, theme and output for redirect 2011-09-06 11:29:05 +12:00
Eloy Lafuente (stronk7)
0312bf641c Merge branch 'wip-MDL-28596-master' of git://github.com/samhemelryk/moodle 2011-08-29 03:15:25 +02:00
Sam Hemelryk
7749e187cc MDL-28596 course Improved and modernised the production of module editing icons and added support for renderable content when rendering action_link components 2011-08-25 18:02:35 +12:00
Petr Skoda
72009b8777 MDL-28929 fix incorrect use if static placeholders in theme layouts 2011-08-21 21:01:31 +02:00
Sam Hemelryk
6c95e46a15 MDL-26979 custommenu Improved the custom menu CSS in base and all other core themes
* The custom menu now requires the YUI module directly rather than in its initialisation
* Improved the CSS in base so that it was more precise and more easily overrideable
* Reviewed the CSS for all core themes improving and removing !important from rules
2011-08-12 11:10:06 +08:00
Petr Skoda
cdbd37126d MDL-28279 remove flash client version blocking
Everybody is responsible for upgrades of Flash, there is no excuse any more.
2011-07-10 11:03:02 +02:00
David Mudrak
4564d58f9e MDL-28168 Multi-language support for custom_menu reimplemented
This is a reimplementation of the multi-language support for the
custom_menu class. The menu items now accept the forth optional
parameter with the explicit list of languages the item is valid for. If
no languages are listed, the item is valid for any language. The caller
of the custom_menu constructor must provide the user's current language
or null if the multi-language should not be supported (all items are
valid for any language then, regardless the definition).

See the attached unit tests for the examples of usage.
2011-07-07 11:30:04 +02:00
David Mudrak
155fffe6a4 MDL-28168 Improved custom_menu constructor
This improves custom_menu constructor by dropping support for useless
$text parameter and replacing it with the menu definition. This makes
custom_menu instance independent on the place where the menu is defined
($CFG->custommenuitems) and can be unit-tested. Also, multiple instances
of custom_menu can be instantiated now which can be interesting in the
future.
2011-07-07 11:30:03 +02:00
John Beedell
cab2c7ea6e MDL-27431 adjust help icon alt to be same as title for accessibility 2011-06-28 15:54:14 +01:00