Commit graph

18076 commits

Author SHA1 Message Date
Petr Škoda
114e3209b1 MDL-42889 cleanup obsolete clam relatd code
Since 2.0 all uploaded files need to go through the file picker which does the scanning,
the idea is that it is more important to warn users that their computer is crawling
with viruses. All teachers are supposed to have local up-to-date antivirus software!

Since 2.0 we are not scanning existing files on server, in future we might use the
status flag in files table to indicate the file is problematic, but still we should
never detele anthing from the filedir...
2014-02-18 09:22:30 +08:00
Sam Hemelryk
c10affa57b Merge branch 'MDL-43997-master' of git://github.com/andrewnicols/moodle
Conflicts:
	lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
2014-02-18 09:31:32 +13:00
Sam Hemelryk
38226a3f4a Merge branch 'MDL-44161-master' of git://github.com/andrewnicols/moodle 2014-02-18 09:30:50 +13:00
Eloy Lafuente (stronk7)
1f09c26298 Merge branch 'MDL-41759-master' of https://github.com/jamiepratt/moodle 2014-02-17 15:45:01 +01:00
James Pratt
9d3d859c7f MDL-41759 quiz statistics : install.xml & upgrade.php difference 2014-02-17 19:25:10 +07:00
David Scotson
a0b767e741 MDL-44168 html: border=1 on regexdetect table 2014-02-17 11:45:51 +00:00
Damyon Wiese
9e72fa97a9 Merge branch 'MDL-41759-master' of https://github.com/jamiepratt/moodle 2014-02-17 15:32:45 +08:00
Damyon Wiese
1d35590029 Merge branch 'MDL-41755-master-v2' of git://github.com/jamiepratt/moodle 2014-02-17 15:01:45 +08:00
Andrew Nicols
0f722cfbe5 MDL-44214 Javascript: Allow for patching of modules in the simpleyui rollup
The moodlesimple (former simpleyui) rollup is included by a slightly
different mechanism to the the other YUI modules and this was missed off
the original yuipatchlevel implementation.
2014-02-17 14:46:09 +08:00
Dan Poltawski
89542d2888 MDL-33099 deprecatedlib: clarify some comments 2014-02-17 14:45:12 +08:00
Dan Poltawski
a24ef7d7cd Merge branch 'MDL-33099-master' of git://github.com/andrewnicols/moodle 2014-02-17 14:40:36 +08:00
Damyon Wiese
8053854592 Merge branch 'MDL-23514-master' of https://github.com/danielneis/moodle
Conflicts:
	lang/en/admin.php
2014-02-17 14:12:16 +08:00
Andrew Nicols
af64bc6179 MDL-33099 Javascript: Deprecate the ajaxenabled function 2014-02-17 14:11:21 +08:00
Andrew Nicols
cfa770b47b MDL-43997 Javascript: Make all informative dialogues display correctly
Most of the moodle core dialogue types should be shown modally, and
centred. They should also be shown on instantiation.

Rather than re-define all of these settings, this patch introduces a new
subclass of M.core.dialogue which sets them up with the same settings.
2014-02-17 10:49:45 +08:00
Jerome Mouneyrac
d14f5265b2 MDL-43723 restrict the drag and drop to the move icon instead of dragging the entire block header 2014-02-17 09:16:53 +08:00
Sam Hemelryk
487f74813e Merge branch 'MDL-42404_master' of git://github.com/dmonllao/moodle 2014-02-17 10:15:36 +13:00
Sam Hemelryk
fa52e6494d Merge branch 'MDL-44042-master' of git://github.com/andrewnicols/moodle
Conflicts:
	lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop-min.js
2014-02-17 09:06:58 +13:00
Sam Hemelryk
87643ff599 Merge branch 'MDL-44079-master' of git://github.com/andrewnicols/moodle
Conflicts:
	lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
2014-02-17 08:48:39 +13:00
Sam Hemelryk
80ce7e1a8d Merge branch 'MDL-43979-master' of git://github.com/andrewnicols/moodle 2014-02-17 08:27:48 +13:00
Andrew Nicols
4e55f11de2 MDL-44187 JavaScript: Remove data from debug footer 2014-02-16 20:43:30 +08:00
James Pratt
4922e79f3e MDL-41759 quiz statistics : break down responses for each variant 2014-02-14 15:23:04 +07:00
James Pratt
ac3e5ed7ba MDL-41755 tablelib : added a function to add multiple rows at once 2014-02-14 14:13:02 +07:00
Andrew Nicols
2173d5532b MDL-44161 Javascript: Include upstream patch for modal widget position jump
This is courtesty of the upstream pull request https://github.com/yui/yui3/pull/1636
2014-02-14 14:15:40 +08:00
Petr Škoda
fd0e019286 MDL-42541 stop using events for porfolion cron 2014-02-13 12:09:24 +08:00
Andrew Nicols
2ab0238ff6 MDL-44042 Javascript: Handle moving to the top of the current section with keyboard 2014-02-13 10:11:00 +08:00
David Monllao
e39a7f886e MDL-42404 behat: Adding yui-dialog to dialogue selector 2014-02-12 15:42:05 +08:00
apsdehal
7b218e86ab MDL-39337 html_writer: Added img() function
img function has been added to the html_writer.
use it by calling the function as shown:
html_writer::img('foo.com','Foo',array('title'=>'Foo2'));
This will result in the following string:
<img src="foo.com" alt="Foo" title="Foo2"/>
2014-02-12 01:03:02 +05:30
Andrew Nicols
bc0477392b MDL-44079 Javascript: Closing a tooltip should pass event details 2014-02-11 12:17:53 +08:00
Andrew Nicols
bf24abd221 MDL-44079 Javascript: Check whether a dialogue is focused before closing 2014-02-11 12:17:52 +08:00
Andrew Nicols
2f5c1441d7 MDL-43979 Javascript: Correct checking of attributes during dialogue init
Various dialogue attributes are optional and are provided by the parent and
not provided as attributes to the dialogue being initted.

As a result, if the setting is not provided during init, we were assuming
that the value would be false rather than checking the real attribute.
2014-02-10 22:00:43 +08:00
Sam Hemelryk
72d953e19e Merge branch 'MDL-44059-master' of git://github.com/ankitagarwal/moodle 2014-02-10 15:58:36 +13:00
Ankit Agarwal
807241b991 MDL-44059 libraries: Add a method to return html for row instead of just printing it 2014-02-10 10:44:20 +08:00
Sam Hemelryk
52b7e8aa58 Merge branch 'MDL-43267-master-3' of git://github.com/andrewnicols/moodle 2014-02-10 14:53:51 +13:00
Sam Hemelryk
5e45f31d83 Merge branch 'MDL-42882-master' of git://github.com/danpoltawski/moodle 2014-02-10 13:12:57 +13:00
Sam Hemelryk
f10418699d Merge branch 'MDL-43969-master' of git://github.com/andrewnicols/moodle 2014-02-10 09:48:19 +13:00
Sam Hemelryk
db00b9c882 Merge branch 'MDL-43992-master' of git://github.com/andrewnicols/moodle 2014-02-10 09:40:13 +13:00
Sam Hemelryk
872b051fa3 Merge branch 'MDL-44020-MASTER' of git://github.com/jleyva/moodle 2014-02-10 09:30:57 +13:00
Sam Hemelryk
52aa25fd41 Merge branch 'MDL-44046' of https://github.com/merrill-oakland/moodle 2014-02-10 09:28:08 +13:00
Sam Hemelryk
179ddd105b Merge branch 'MDL-43804-master' of git://github.com/ankitagarwal/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2014-02-10 08:50:23 +13:00
Sam Hemelryk
065bc30c8d Merge branch 'MDL-43946' of https://github.com/merrill-oakland/moodle 2014-02-10 08:42:55 +13:00
Eric Merrill
2f31de4515 MDL-44046 gradebook Reduce duplicates returned during sortorder fixing. 2014-02-07 09:29:12 -05:00
Juan Leyva
925f4d6b16 MDL-44020 Add core_calendar_get_calendar_events function to the moodle mobile core service 2014-02-07 12:23:33 +01:00
Andrew Nicols
7e804d0cb4 MDL-43992 Javascript: Remove <return> key listener for confirmation
The listener was previously confirming, even when the cancel or 'No'
buttons were selected. However, having the default action as 'Confirm'
seems dangerous in this situation, so removing this option entirely.
2014-02-07 16:35:49 +08:00
Andrew Nicols
d4e438718e MDL-43969 Forms: Adjust ARIA attributes for short forms
The aria-live="polite" attribute is incorrectly added to the fieldset,
causing the entire fieldset to be read out on change in some browsers. This
is unnecessary.
It also does not announce the current state of the fieldset (collaped or
open) and should.
2014-02-07 16:17:13 +08:00
Andrew Nicols
8659df93f9 MDL-43267 Javascript: Improve focus before and after drag/drop 2014-02-07 15:10:09 +08:00
Andrew Nicols
02839a35f0 MDL-43267 Javascript: Remove aria drag/drop related attributes for drag/drop
Since we provide an alternative interface rather than describing the
locations for each drop, we should not add aria-grabbed, or
aria-dropeffect.
2014-02-07 13:36:41 +08:00
Andrew Nicols
34bcc6a95c MDL-43267 Javascript: Improve accessibility of keyboard move
Change the keyboard move descriptions to allow for more detailed
descriptions such as:
* "After 'X'"; or
* "To top of section 'Y'"
2014-02-07 13:36:41 +08:00
Petr Skoda
d65634044e MDL-43344 upgrade to latest Flowplayer 2014-02-07 13:12:43 +08:00
Eric Merrill
51ec2e451f MDL-43946 gradebook upgrade Improve SQL to find duplicate sortorders. 2014-02-05 09:56:34 -05:00
Dan Poltawski
6c704b1534 MDL-42882 upgrade: Improvements to upgrade code
Suggested by Petr:
* Don't rely on single user for upgrade
* Make the pathnamehash generation a bit clearer (and add
  a test to verify its correctly formed).
2014-02-05 14:38:39 +08:00