Marina Glancy [Fri, 28 Mar 2014 02:26:01 +0000 (10:26 +0800)]
MDL-35305 wiki: backup and restore files
Thanks to Tatsuya Shirai for the patch
Marina Glancy [Thu, 27 Mar 2014 08:52:07 +0000 (16:52 +0800)]
weekly release 2.7dev
Marina Glancy [Thu, 27 Mar 2014 08:52:07 +0000 (16:52 +0800)]
NOBUG: Fixed file access permissions
Marina Glancy [Thu, 27 Mar 2014 08:52:06 +0000 (16:52 +0800)]
NOBUG: Fixed SVG browser compatibility
Marina Glancy [Thu, 27 Mar 2014 08:52:05 +0000 (16:52 +0800)]
Merge branch 'install_master' of git://git.moodle.org/moodle-install
Damyon Wiese [Thu, 27 Mar 2014 04:26:51 +0000 (12:26 +0800)]
MDL-43883 Fix wiki behat tests to work with Atto
Damyon Wiese [Thu, 13 Mar 2014 09:04:19 +0000 (17:04 +0800)]
MDL-43883 Behat: Fix deprecation and move custom matches to the editor field only.
Rajesh Taneja [Thu, 27 Mar 2014 03:44:13 +0000 (11:44 +0800)]
MDL-44084 behat: Fixed setting value for form editor
AMOS bot [Thu, 27 Mar 2014 00:48:26 +0000 (00:48 +0000)]
Automatically generated installer lang files
Dan Poltawski [Wed, 26 Mar 2014 08:25:39 +0000 (16:25 +0800)]
Merge branch 'MDL-43784-master-fixup' of git://github.com/FMCorz/moodle
Frederic Massart [Wed, 26 Mar 2014 08:18:13 +0000 (16:18 +0800)]
MDL-43784 behat: Removed usage of Afterburner in a feature
Rajesh Taneja [Wed, 26 Mar 2014 07:56:21 +0000 (15:56 +0800)]
MDL-44084 behat: Fixed behat set_value for atto editor
Petr Škoda [Wed, 26 Mar 2014 07:16:37 +0000 (15:16 +0800)]
MDL-44316 move the tag context upgrade to the end and fix issues
Jetha Chan [Wed, 26 Mar 2014 07:12:57 +0000 (15:12 +0800)]
MDL-42588 mod_scorm: option for displaying activity name
Added option to display or hide activity name on SCORM player.
Rajesh Taneja [Wed, 26 Mar 2014 06:45:30 +0000 (14:45 +0800)]
MDL-44557 behat: Resize window only possible with javascript
Marina Glancy [Wed, 26 Mar 2014 06:10:53 +0000 (14:10 +0800)]
Merge branch 'wip-mdl-44557' of git://github.com/rajeshtaneja/moodle
Rajesh Taneja [Wed, 26 Mar 2014 04:13:46 +0000 (12:13 +0800)]
MDL-44557 behat: Allow nehat to resize window
Run all behat with medium (1024x768) screen size to
avoid failures with small screen size. Also, added
feature to let scenario chnage screen size if need be.
Mark Nelson [Wed, 26 Mar 2014 03:43:13 +0000 (20:43 -0700)]
MDL-44316 upgrade: fix to ensure upgraded and new installations have matching 'tag_instance' tables
Sam Hemelryk [Wed, 26 Mar 2014 03:35:47 +0000 (16:35 +1300)]
Merge branch 'w13_MDL-44510_m27_phpunit4' of https://github.com/skodak/moodle
Petr Škoda [Wed, 26 Mar 2014 03:32:09 +0000 (11:32 +0800)]
MDL-44510 fix class guessing in phpunit 4
Frederic Massart [Wed, 26 Mar 2014 03:09:48 +0000 (11:09 +0800)]
MDL-43784 tests: Commenting tests relying on deprecated themes
Marina Glancy [Wed, 26 Mar 2014 02:02:06 +0000 (10:02 +0800)]
Merge branch 'MDL-44084-master' of git://github.com/damyon/moodle
Marina Glancy [Tue, 25 Mar 2014 10:03:54 +0000 (18:03 +0800)]
MDL-44084 atto: correct standard plugins list and namespace bug fix
Damyon Wiese [Tue, 11 Mar 2014 03:06:59 +0000 (11:06 +0800)]
MDL-43883 Atto behat: Make the set_field js handle atto or simple textarea
Damyon Wiese [Fri, 7 Mar 2014 02:48:24 +0000 (10:48 +0800)]
MDL-43883 Atto Behat: Remove deprecated step
Damyon Wiese [Fri, 7 Mar 2014 02:12:00 +0000 (10:12 +0800)]
MDL-43883 Atto behat: Rubrics are expecting magic tweaking in text from tinymce.
Damyon Wiese [Thu, 13 Feb 2014 07:57:44 +0000 (15:57 +0800)]
MDL-43883 Behat: Make Atto the default text editor and adjust behat to use it.
Damyon Wiese [Mon, 10 Mar 2014 03:06:13 +0000 (11:06 +0800)]
MDL-44487 Atto: Restrict size of image preview in popup.
Instead of only restricting the width, we set a max-width and max-height in css.
We also make the dialog a bit wider so it looks better in clean.
Andrew Nicols [Tue, 11 Mar 2014 04:57:47 +0000 (12:57 +0800)]
MDL-44164 atto: Refactor the world
Jerome Mouneyrac [Tue, 25 Feb 2014 03:24:36 +0000 (11:24 +0800)]
MDL-44128 Atto: fix keyboard navigation for the dropdowns
Damyon Wiese [Mon, 10 Mar 2014 08:39:21 +0000 (16:39 +0800)]
MDL-44219 Atto: Convert selection logic to use Rangy JS Library
This removes alot of complex, hard to test, hard to debug code from the editor so
we can focus on the things we want to spend time on. Rangy seems a good choice for
browser support, stability and features.
Sam Hemelryk [Thu, 27 Feb 2014 22:21:53 +0000 (11:21 +1300)]
MDL-44219 editor_atto: reinvent the event wheel for the atto editor
Damyon Wiese [Wed, 5 Mar 2014 08:25:29 +0000 (16:25 +0800)]
MDL-44063 Atto: Set the default block element to p (if the browser supports it)
Also insert an empty paragraph by default and remove it on save.
Jason Fowler [Tue, 25 Feb 2014 07:57:50 +0000 (15:57 +0800)]
MDL-44215 Atto: Setting toolbar to break at predetermined point
Andrew Nicols [Fri, 7 Mar 2014 17:01:10 +0000 (01:01 +0800)]
MDL-44225 atto_equation: Set focus after adding equation from toolbar
Andrew Davis [Mon, 24 Feb 2014 03:41:21 +0000 (11:41 +0800)]
MDL-44226 editor_atto: refactored the accessibility checker to make it usable by users who don't know html
Andrew Nicols [Thu, 6 Mar 2014 02:25:24 +0000 (10:25 +0800)]
MDL-44475 editor_atto: Stop using deprecating functionality
Sam Hemelryk [Tue, 25 Feb 2014 21:54:22 +0000 (10:54 +1300)]
MDL-44220 atto_image: added image alignment control
Andrew Davis [Tue, 4 Feb 2014 02:41:46 +0000 (10:41 +0800)]
MDL-43864 editor_atto: added a prevent autolink button to atto
Jason Fowler [Thu, 20 Feb 2014 00:44:55 +0000 (08:44 +0800)]
MDL-44223 Atto: Setting images to display a place holder when src is broken
Sam Hemelryk [Thu, 20 Feb 2014 01:53:50 +0000 (14:53 +1300)]
MDL-44040 editor: implemented shortcuts for bold, italic, underline and undo
Andrew Davis [Thu, 20 Feb 2014 03:28:21 +0000 (11:28 +0800)]
MDL-44218 editor_atto: prevent atto getting massive and allow the user to resize it
Sam Hemelryk [Tue, 25 Feb 2014 19:43:13 +0000 (08:43 +1300)]
MDL-44221 editor_atto: convert plugins to use insert_html_at_focus_point
Sam Hemelryk [Mon, 24 Feb 2014 01:39:55 +0000 (14:39 +1300)]
MDL-44221 editor_atto: fixed bug creating table in IE <= 10
This involved introducing a insert_html_at_focus_point method for
the editor and using that instead of insertHTML
Sam Hemelryk [Fri, 28 Feb 2014 01:06:47 +0000 (14:06 +1300)]
MDL-44228 editor_atto: added missing outdent icon
Jerome Mouneyrac [Tue, 25 Feb 2014 06:39:53 +0000 (14:39 +0800)]
MDL-44228 add Atto sub-plugins admin table
Jerome Mouneyrac [Tue, 25 Feb 2014 06:03:38 +0000 (14:03 +0800)]
MDL-44227 Atto: the screenreader helper now displays some texts when alt or title don\'t exist
Jason Fowler [Wed, 19 Feb 2014 07:16:46 +0000 (15:16 +0800)]
MDL-44216 Atto: Reversing the indent outdent buttons
Damyon Wiese [Wed, 12 Feb 2014 09:32:03 +0000 (17:32 +0800)]
MDL-44092 Atto: Add selectionchanged event and listeners in the buttons.
This means the buttons can indicate the state of the text under the cursor.
Jerome Mouneyrac [Thu, 13 Feb 2014 09:17:34 +0000 (17:17 +0800)]
MDL-43863 Add Undo/Redo plugins to Atto
Frederic Massart [Thu, 13 Feb 2014 07:52:12 +0000 (15:52 +0800)]
MDL-44125 atto_align: Style with CSS whenever possible
Frederic Massart [Thu, 13 Feb 2014 04:14:13 +0000 (12:14 +0800)]
MDL-44125 atto_align: New plugin for text alignment
Damyon Wiese [Fri, 7 Feb 2014 03:06:36 +0000 (11:06 +0800)]
MDL-43855 Atto: Add an equation editor
This equation editor relies on whatever the currently configured filter is to do the rendering.
If there is no filter that handles latex ($$ blah $$) - this plugin will not show up.
This will not work with the solutions on the forums of adding MathJax in the header of the page,
but it will work with a real mathjax filter written for Moodle (work in progress). It works with
the existing tex filter.
Damyon Wiese [Mon, 10 Feb 2014 14:06:58 +0000 (22:06 +0800)]
MDL-44067 Atto: Improve table editing controls.
Remove flaky inline menu icons - instead clicking on the table button, when
you are in a table shows the context menu for the current cell.
I removed all the special code for 'atto_control' - because it did not work very well. Having non-contenteditable
nodes inside a contenteditable region seems in expose bugs in different browsers.
Damyon Wiese [Thu, 13 Feb 2014 06:35:48 +0000 (14:35 +0800)]
MDL-44127 Atto: Improve Atto API to allow plugins with multiple buttons/menus
Damyon Wiese [Thu, 13 Feb 2014 05:39:32 +0000 (13:39 +0800)]
MDL-44126 Atto: List of minor fixes from review.
toolbar order (base it on tinymce)
change plain to paragraph
default for collapse plugin should be 5 groups
fix alignment of table dialogue form
insert newlines in html generated by table plugin
rename accessibility helper to screenreader helper
remove accessibility hint for images and media files
fix some broken plugin names
style table captions
remove verbose accessibility hints
Damyon Wiese [Thu, 13 Feb 2014 07:01:34 +0000 (15:01 +0800)]
MDL-44032: Atto - move bootstrap changes into overrides file.
Marina Glancy [Wed, 26 Mar 2014 02:01:06 +0000 (10:01 +0800)]
Merge branch 'MDL-44596-master' of git://github.com/ankitagarwal/moodle
Jerome Mouneyrac [Wed, 12 Feb 2014 05:37:24 +0000 (13:37 +0800)]
MDL-43869 New Atto plugin switch language LTR/RTL
Frederic Massart [Wed, 12 Feb 2014 07:33:07 +0000 (15:33 +0800)]
MDL-43870 atto_title: Remove quoted style
Frederic Massart [Wed, 12 Feb 2014 05:13:35 +0000 (13:13 +0800)]
MDL-43870 atto_indent: Removing browser styling after execCommand
Damyon Wiese [Wed, 12 Feb 2014 13:08:15 +0000 (21:08 +0800)]
MDL-43934 Atto: Rename shifter meta files to the correct name.
This could have caused yui to fetch extra files because the dependencies might not have been loaded.
Damyon Wiese [Mon, 3 Feb 2014 02:55:44 +0000 (10:55 +0800)]
MDL-43854 Atto: Add collapse toolbar plugin
Frederic Massart [Fri, 7 Feb 2014 10:32:44 +0000 (18:32 +0800)]
MDL-43954 editor_atto: Fix styling for IE8 in clean and standard
Rossiani Wijaya [Tue, 11 Feb 2014 04:03:33 +0000 (12:03 +0800)]
MDL-44032 Atto editor: add subscript and superscript plugins
Damyon Wiese [Tue, 4 Feb 2014 04:51:21 +0000 (12:51 +0800)]
MDL-43867 Atto: Accessibility improvements.
1/ Set the aria-labelledby attribute on the contenteditable div (find the label from
original textarea)
2/ Store/restore the selection for the contenteditable div when it is focused. This allows
you to select some text, then go to the toolbar and click a button, and the selection
will be restored before the button effect is applied.
3/ Add an accessibility helper plugin.
From testing in all screenreaders, I found that all of their support for contenteditable is not great.
They treat it like a textbox - which means you can type and edit text, but it tells you nothing about
the styles, links or images in the editor. So I added a button to the toolbar, that is only accessible
when navigating via keyboard, that opens an accesssibility helper dialogue. The dialogue shows the list
of current styles, a global list of all links, and a global list of all images. Choosing an image or link
from here, will focus on the editable region, and select the link/image.
4/ Add an accessibility checker plugin to Atto.
Checks for images with no alt, images and links with filenames as alternate text/link text, and contrast ratios
less than WCAG 2.0 AA.
Frederic Massart [Fri, 7 Feb 2014 05:24:24 +0000 (13:24 +0800)]
MDL-43953 editor_atto: Trigger form change when editing content
Frederic Massart [Mon, 10 Feb 2014 04:16:25 +0000 (12:16 +0800)]
MDL-43968 editor_atto: Copying latest TinyMCE icons to core pix/e
Frederic Massart [Mon, 10 Feb 2014 09:37:31 +0000 (17:37 +0800)]
MDL-44064 editor_atto: Do not die when a plugin is missing
Damyon Wiese [Wed, 5 Feb 2014 03:57:42 +0000 (11:57 +0800)]
MDL-43990 Atto: Add a function for changing the formatting of the selected block.
Damyon Wiese [Mon, 10 Feb 2014 03:19:19 +0000 (11:19 +0800)]
MDL-43861 Atto: Fix for toolbar menu repaint bug in chrome.
Rossiani Wijaya [Mon, 10 Feb 2014 03:04:28 +0000 (11:04 +0800)]
MDL-43861: Atto Plugins: create new plugin for font and background colors
Damyon Wiese [Mon, 10 Feb 2014 01:54:18 +0000 (09:54 +0800)]
MDL-44003 Atto: Set type="button" on atto toolbar buttons.
To prevent them accidentally becoming the default submit buttons for the form.
Frederic Massart [Fri, 7 Feb 2014 04:19:07 +0000 (12:19 +0800)]
MDL-44003 editor_atto: Identify the submit buttons in plugins
Frederic Massart [Tue, 4 Feb 2014 07:31:46 +0000 (15:31 +0800)]
MDL-43862 atto_managefiles: New plugin to manage files
AMOS BEGIN
CPY [hasmissingfiles,tinymce_managefiles],[hasmissingfiles,atto_managefiles]
CPY [deleteselected,tinymce_managefiles],[deleteselected,atto_managefiles]
CPY [unusedfilesdesc,tinymce_managefiles],[unusedfilesdesc,atto_managefiles]
CPY [unusedfilesheader,tinymce_managefiles],[unusedfilesheader,atto_managefiles]
AMOS END
Frederic Massart [Fri, 31 Jan 2014 03:54:13 +0000 (11:54 +0800)]
MDL-43859 atto_smiley: New plugin to insert smileys
Damyon Wiese [Tue, 4 Feb 2014 14:03:32 +0000 (22:03 +0800)]
MDL-43869 Atto: Fix broken repositories.
The previous change on this issue accidentally fixed a selector,
so the repository API was recieving a valid node instead of null.
This means that it calls it's undocumented and dodgy callbacks on the node,
which are really calls directly to the TinyMCE API (just well buried).
But - by not setting the editor_target property, the api will not do
the secret handshakes.
Frederic Massart [Thu, 30 Jan 2014 11:06:49 +0000 (19:06 +0800)]
MDL-43858 atto_charmap: New plugin to insert special characters
Damyon Wiese [Fri, 31 Jan 2014 05:10:15 +0000 (13:10 +0800)]
MDL-43869 Atto: Add functions to get the nodes from the elementids.
If plugins try and do this themselves with Y.one, they will fall foul of the
qtype essay page bug which uses : in the id for form elements.
This is an alternative solution, to escaping the ids, which seemed unreliable for older
version of ie.
Frederic Massart [Mon, 3 Feb 2014 03:09:53 +0000 (11:09 +0800)]
MDL-43950 editor_atto: Add arguments to plugin callback params_for_js
Damyon Wiese [Thu, 30 Jan 2014 08:48:31 +0000 (16:48 +0800)]
MDL-43857: Auto clean tag bloat from word/openoffice/googledocs
The cleanup rules are pulled from both testing of live docs, and the
jquery clean plugin. I tested with googledocs, libreoffice, word 2003
and word 2013.
Damyon Wiese [Wed, 29 Jan 2014 08:06:18 +0000 (16:06 +0800)]
MDL-43869 Atto: id escaping so Atto works with when there is : in the id.
(Quiz)
Also includes fixes for Atto when the repositories should not be displayed.
Damyon Wiese [Tue, 28 Jan 2014 12:01:05 +0000 (20:01 +0800)]
MDL-43853 Atto: Performance. Turbocharge the loader.
Rewrite the atto plugin loader so that:
A) We have a real settings.php page and can edit the toolbar.
B) All plugins are loaded at the same time (not serially)
C) All plugins share the YUI sandbox (more performance boost).
I had to change the loading API for this - but there are not non-core uses yet,
this is the best time to break it.
Damyon Wiese [Tue, 28 Jan 2014 06:12:32 +0000 (14:12 +0800)]
MDL-43842 Atto: Remove licence and README.txt
Damyon Wiese [Tue, 28 Jan 2014 05:58:47 +0000 (13:58 +0800)]
MDL-43842 Atto: Move pix-icons into core pix folder.
Damyon Wiese [Tue, 28 Jan 2014 05:43:59 +0000 (13:43 +0800)]
MDL-43842: Import atto back into core
Ankit Agarwal [Tue, 25 Mar 2014 10:09:37 +0000 (18:09 +0800)]
MDL-44596 logging: Refecator code to use component_callback() and get_plugin_list_with_function()
Ankit Agarwal [Thu, 20 Mar 2014 04:12:50 +0000 (12:12 +0800)]
MDL-44596 logging: Add some tests to log stores to test the new support methods
Ankit Agarwal [Thu, 20 Mar 2014 04:12:25 +0000 (12:12 +0800)]
MDL-44596 logging: Add callbacks to all reports that support log stores
Ankit Agarwal [Thu, 20 Mar 2014 04:11:30 +0000 (12:11 +0800)]
MDL-44596 logging: Improve management interfaces for reports and stores
This patch methods to the manager that uses callbacks from reports to determine how reports and stores are compatible with each other. This information is then displayed in the management pages.
Sam Hemelryk [Wed, 26 Mar 2014 00:25:51 +0000 (13:25 +1300)]
Merge branch 'MDL-44690-master' of git://github.com/jamiepratt/moodle
Sam Hemelryk [Tue, 25 Mar 2014 22:33:15 +0000 (11:33 +1300)]
Merge branch 'MDL-43784-master' of git://github.com/FMCorz/moodle
Conflicts:
lib/classes/plugin_manager.php
lib/db/upgrade.php
Sam Hemelryk [Tue, 25 Mar 2014 22:18:07 +0000 (11:18 +1300)]
Merge branch 'MDL-44364-master-more' of git://github.com/FMCorz/moodle
Dan Poltawski [Tue, 25 Mar 2014 21:15:50 +0000 (05:15 +0800)]
Merge branch 'wip-MDL-44686-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 25 Mar 2014 20:53:38 +0000 (21:53 +0100)]
Merge branch 'wip-MDL-41285-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 25 Mar 2014 20:37:26 +0000 (21:37 +0100)]
Merge branch 'MDL-37418_master' of git://github.com/ds125v/moodle
Eloy Lafuente (stronk7) [Tue, 25 Mar 2014 20:03:44 +0000 (21:03 +0100)]
Merge branch 'w13_MDL-44510_m27_phpunit4' of https://github.com/skodak/moodle
Marina Glancy [Tue, 25 Mar 2014 10:08:40 +0000 (18:08 +0800)]
Merge branch 'wip-mdl-43681' of git://github.com/rajeshtaneja/moodle
Marina Glancy [Tue, 25 Mar 2014 09:10:27 +0000 (17:10 +0800)]
Merge branch 'w13_MDL-44107_m27_canview' of git://github.com/skodak/moodle
Andrew Nicols [Mon, 10 Mar 2014 03:40:44 +0000 (11:40 +0800)]
MDL-41987 Javascript: Tidy up YUI documentation