sam marshall
f66da45fa5
MDL-52996 Atto: Allow plugins to customise toolbar
2016-02-04 12:42:27 +00:00
David Monllao
90902953a8
MDL-52825 atto: Listen to gesturemovestart to discard some events
2016-01-29 10:15:26 +08:00
David Monllao
923589d759
MDL-52825 atto: Ignore out of bounds event targets
2016-01-19 15:37:00 +08:00
Eloy Lafuente (stronk7)
c38bdd62c7
Merge branch 'MDL-51719-master' of git://github.com/danpoltawski/moodle
2015-12-22 13:07:01 +01:00
David Monllao
9e313e798f
MDL-51784 general: Adding missing php4 style constructors
...
Adding them to warn people calling the php4 constructor.
2015-12-11 14:02:42 +08:00
Marina Glancy
c4d0b752a2
MDL-51784 various: use __construct() for PHP7 compatibility
2015-12-11 12:48:24 +08:00
Dan Poltawski
e746afacef
MDL-51719 atto_rtl: RTL/LTR buttons now indicate state
...
Previously the RTL buttons did not indiciate wether RTL or LTR was
selected. Thanks to Andrew Nicols for guiding how to do this.
2015-11-27 14:03:53 +00:00
Andrew Nicols
b27d4eac7f
MDL-45364 atto_rtl: Fix JS lint
2015-11-26 19:09:03 +00:00
Eloy Lafuente (stronk7)
6d29c4acdd
MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts
2015-11-17 17:08:56 +01:00
Frederic Massart
3b10fa25bc
MDL-50564 atto: Require atto_menu in atto_plugin
2015-11-13 14:38:33 -06:00
David Monllao
212dc418d4
Merge branch 'MDL-51991-master' of git://github.com/ryanwyllie/moodle
2015-11-11 09:18:52 +08:00
Eloy Lafuente (stronk7)
2e144835bb
MDL-52059 versions: bump all versions and requires near release
...
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Ryan Wyllie
d26d0d9b7e
MDL-51991 atto_table: simplify settings
...
Cleaned up the language strings on the Atto table settings page
and reduced the number of settings options for border styling.
2015-11-10 08:15:01 +00:00
David Monllao
3f08e9b98a
MDL-51000 editor_atto: No autosave for guests
2015-11-04 18:46:27 +08:00
Dan Poltawski
728754de6b
Merge branch 'MDL-52018-master-enfix' of git://github.com/mudrd8mz/moodle
2015-11-03 17:56:21 +01:00
Helen Foster
da6ecfd8c1
MDL-52018 lang: Merge English strings from the en_fix language pack
2015-11-02 22:12:06 +01:00
Dan Poltawski
deec056650
Merge branch 'MDL-51854-master' of https://github.com/pauln/moodle
2015-11-02 09:08:01 +00:00
Ryan Wyllie
1c53bc813e
MDL-51956 atto_table: fix bg colour bug
...
The table editor will now set the backgorund colour on the
table in Firefox version 34 and below.
Also expanded the dialogue slightly because the colour choices
were wrapping and I added some styling to put a gap in for the
metric markers for border width and table width.
2015-10-29 02:51:06 +00:00
Andrew Nicols
af39ce0f8d
MDL-51880 atto_table: Coding style fix
2015-10-28 11:39:17 +08:00
Ryan Wyllie
f45937e17d
MDL-51880 atto/plugins/table: improve table borders
...
* Removed the "No borders" option from general borders setting
since it's a style choice.
* Added inherit, initial and unset as border style options.
* Made the border settings disabled if "Theme default" is selected.
* Changed the transparent colour to be "Theme default" which means
apply no colour at all.
2015-10-28 03:28:36 +00:00
jinhofer
f067581828
MDL-45515 lib/editor/atto/plugins/table: added behat
2015-10-23 02:57:51 +00:00
jinhofer
b87e11c849
MDL-45515 atto/plugins: Added border style and BG colour to table
...
This commit adds the option for borders to be added and
styled, background colours to be set, and width to be set for tables
in the Atto HTML Editor. For those that desire to restrict
use of this, the plugin settings allow the admins to restrict
how much freedom their users have with borders.
2015-10-23 02:57:50 +00:00
Paul Nicholls
ca50279d4e
MDL-51854 atto_image: Allow other plugins to handle drop events
...
The drop handler should only return false if it has actually handled the
drop event (i.e. it was an image) - otherwise, Atto plugins loaded after
this one don't get an opportunity to handle other drop events.
2015-10-22 11:58:57 +13:00
Andrew Nicols
8775bc4d40
Merge branch 'MDL-50079-master' of git://github.com/danpoltawski/moodle
2015-10-13 09:24:31 +08:00
Dan Poltawski
30b86ccb68
Merge branch 'MDL-51605-master' of git://github.com/damyon/moodle
2015-10-12 09:46:00 +01:00
Andrew Nicols
99690e0fa8
MDL-46497 atto: Whitespace/coding style fix
2015-10-12 13:37:29 +08:00
Lior Gil
2209309e2c
MDL-46497 Atto: Fix adding redundant p elements in rtl/ltr actions
2015-10-10 01:36:48 +03:00
Dan Poltawski
cc75779fb4
MDL-50079 atto_link: respect new window option when creating from repo
...
Previously users had to go back and edit their link to set the new
window option.
2015-10-09 11:23:32 +01:00
Damyon Wiese
b3c10f9fb2
MDL-51605 Atto: Fix deprecation warnings from upgraded rangy
2015-10-09 15:42:10 +08:00
Andrew Nicols
ed845fa7fe
Merge branch 'MDL-51228-master' of https://github.com/dthies/moodle
2015-10-06 16:31:34 +01:00
Eloy Lafuente (stronk7)
6a0deee441
Merge branch 'MDL-51227-master' of https://github.com/dthies/moodle
2015-10-01 00:25:31 +02:00
Damyon Wiese
fc07d950ea
MDL-51605 Rangy: Patch out AMD support (we can't use it from YUI).
2015-09-30 13:17:28 +08:00
Damyon Wiese
0fde7efad1
MDL-51605 atto: Update rangy to 1.3.0
2015-09-30 13:08:15 +08:00
Dan Poltawski
2764d7a597
Merge branch 'wip-mdl-51424' of https://github.com/dthies/moodle
2015-09-29 20:33:28 +01:00
Daniel Thies
7bb2069bfa
MDL-51227 editor_atto: Stop Chrome losing selection when formating
2015-09-25 09:32:46 -05:00
Damyon Wiese
28de777199
MDL-51222 Javascript: Trigger events for filters on DOM insertion
...
When nodes are added to the dom, they may need to be re-processed by a JS based
filter. To do this we need to trigger the legacy YUI event filter-content-updated.
To make this easier I added some wrappers to template that will insert the node, run any
JS and trigger the event.
I also changed existing yui code to call the amd function to trigger the event. This way
all jquery and yui listeners will always be notified.
2015-09-22 15:40:51 +08:00
Daniel Thies
c8719db169
MDL-51424 editor_atto: Save selection and editor contents after change
2015-09-21 08:53:16 -05:00
Sam Chaffee
5090d26b3a
MDL-50936 Atto: Add upgrade path for updating equations setting
2015-09-16 08:24:26 +08:00
Jason Hardin
4f758d7716
MDL-50936 Atto: Add missing math equation buttons
2015-09-16 08:23:20 +08:00
Daniel Thies
d0ec31716b
MDL-51228 atto_editor: Add documententation for inlineFormat flag
2015-09-13 14:29:07 -05:00
Adrian Greeve
40a154551f
MDL-48371 editors: Option for removing managefiles
...
We want to remove the managefiles button from the
editors in the wiki so that students don't delete
each others files.
2015-09-07 09:59:35 +01:00
David Monllao
9f6a55f7ea
Merge branch 'MDL-51179-master' of git://github.com/damyon/moodle
...
Conflicts:
lib/upgrade.txt
2015-09-01 15:57:21 +08:00
Damyon Wiese
988592c556
MDL-51179 Atto: Extend autosave fix to cover text changes
...
Added new functions to editor api - set/get_text so the
original form text can be determined from an editor.
When calling use_editor() you should first call set_text() with
the text that will be inserted in the form element.
There is also a new scheduled task for cleaning Atto autosave drafts.
2015-09-01 12:23:00 +08:00
Damyon Wiese
6f0dfdd969
MDL-51179 Atto: Add a behat test for autosave
2015-08-28 12:09:34 +08:00
Daniel Thies
2975411139
MDL-51228 editor_atto: Apply style in plugins if selection is collapsed
2015-08-27 12:15:16 -05:00
Damyon Wiese
572e00928a
MDL-51179 Atto: When a resume is aborted - create a fresh draft for future saves.
2015-08-26 14:15:53 +08:00
Damyon Wiese
2e96b001c4
MDL-51179 Atto: Abort autosave if there are more recent changes to the files
...
If the files in the draft area have been modified more recently than the timestamp
of the draft - do not restore the files, or you will delete any newer files. We
cannot really guess here - merging the 2 lists of files will be wrong.
2015-08-25 16:09:57 +08:00
David Monllao
bcd58d9ff7
MDL-50801 atto_table: Caption node might not be present
...
Users may not use atto table (which always adds a caption) to set
HTML tables, this patch addresses that case.
2015-08-20 15:25:44 +08:00
Eloy Lafuente (stronk7)
05f97c615c
Merge branch 'MDL-50801_master' of git://github.com/dmonllao/moodle
2015-08-19 19:14:00 +02:00
Dan Poltawski
215c5cf5c2
MDL-46387 shifter: missing built changes
2015-08-19 18:30:32 +02:00