Huong Nguyen
359efecb03
MDL-76520 tiny_link: Add a TinyMCE link plugin
...
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk >
2023-03-23 15:50:44 +07:00
Jun Pataleta
8441270181
Merge branch 'MDL-77559-master-2' of https://github.com/andrewnicols/moodle
2023-03-09 16:02:01 +08:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Víctor Déniz
6a9f78b0e7
MDL-77416 lang: Use fixed strings in tests
2023-03-03 14:15:30 +00:00
Helen Foster
2e99dd6346
MDL-77416 lang: Import fixed English strings (en_fix)
2023-03-03 14:02:06 +00:00
Jun Pataleta
916503658d
Merge branch 'MDL-75012-master-5' of https://github.com/andrewnicols/moodle
2023-03-02 12:34:34 +08:00
Andrew Nicols
33b1e41f13
MDL-75012 js: Full build of all grunt things
2023-03-02 11:55:32 +08:00
Meirza
b12b738994
MDL-76825 tiny_media: Make IDs and labels unique.
2023-02-27 09:27:46 +07:00
Andrew Nicols
9b82570918
Merge branch 'MDL-77290-master' of https://github.com/HuongNV13/moodle
2023-02-23 19:04:29 +01:00
Huong Nguyen
3fbe7ace06
MDL-77290 tiny_media: Fix cannot update the created media
...
Including in this commit:
- Changed the button text to Update media when the user is updating the media
- Added new Behat tests
2023-02-22 09:33:31 +07:00
Huong Nguyen
40db4f52d4
MDL-76735 editor_tiny: Fix random behat failure for Media image
2023-02-21 14:30:11 +07:00
Paul Holden
e5f01178a6
MDL-77212 tiny_accessibilitychecker: remove unused lang string fetch.
2023-02-13 08:48:51 +00:00
Sara Arjona
ca37dd3baf
MDL-76691 core_h5p: Add core lib changes after upgrading it
...
Apart from applying the points described in readme_moodle.txt, the following
changes have been done too:
- The parameter $folderName from the method libraryToString() have been removed
and a new method, libraryToFolderName() has been added to the H5PCore API.
References to libraryToString() with the $folderName set to true have been
replaced to the new method.
- missing-main-library has been added and replaces in some cases to
missing-required-library.
- The framework saveLibraryData method must be called before saveLibrary
(h5p.classes.php file has been patched to leave the original order because
libraryid is required to save the itemid).
- The getLibraryId() method from H5PCore has been rewritten to use MUC, in
order to avoid PHPUnit failures.
2023-02-06 16:48:07 +01:00
Paul Holden
89be8b7c78
MDL-77001 tiny_autosave: use valid lang string during privacy export.
2023-01-23 22:05:45 +00:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Jun Pataleta
f23d02a0ca
Merge branch 'MDL-76474-master-2' of https://github.com/HuongNV13/moodle
2023-01-12 11:55:29 +08:00
Huong Nguyen
6dd6248e41
MDL-76474 tiny_h5p: Prevent H5P Formatter placeholder to be assessed
2023-01-12 10:51:03 +07:00
Huong Nguyen
d21b6d194a
MDL-76474 tiny_accessibilitychecker: Prevent placeholders to be assessed
2023-01-12 10:51:03 +07:00
Jun Pataleta
6bbe2ebf06
Merge branch 'MDL-76785' of https://github.com/paulholden/moodle
2023-01-09 19:38:36 +08:00
Paul Holden
535d6e2445
MDL-76785 tiny_media: define video width/height language strings.
...
AMOS BEGIN
CPY [videoheight,atto_media],[videoheight,tiny_media]
CPY [videowidth,atto_media],[videowidth,tiny_media]
AMOS END
2023-01-09 10:52:22 +00:00
Paul Holden
a082b6e084
MDL-76787 tiny_h5p: correct capability for plugin enabled state.
2023-01-04 16:07:50 +00:00
Sara Arjona
ec3a401015
Merge branch 'MDL-76575-master' of https://github.com/HuongNV13/moodle
2022-12-07 18:32:13 +01:00
Huong Nguyen
dd6349c39f
MDL-76575 tiny_media: Remove unnecessary console log
2022-12-07 15:50:01 +07:00
Jun Pataleta
daa506a037
Merge branch 'MDL-76476' of https://github.com/paulholden/moodle
2022-12-06 19:34:40 +08:00
Paul Holden
e82198daf9
MDL-76476 tiny_media: don't load image preview if none exists.
2022-11-29 16:27:38 +00:00
Andrew Nicols
3125eb732b
MDL-76487 tiny_autosave: Clarify autosave store rejection message
2022-11-28 19:42:12 +08:00
Andrew Nicols
d907d5ccb1
MDL-76487 tiny_autosave: Use navigator.sendBeacon instead of fetch
...
Firefox does not support the keepalive flag for fetch, despite every
other browser except IE supporting it.
2022-11-28 19:42:12 +08:00
Andrew Nicols
bd55e6a077
MDL-75982 tiny_h5p: Hold behat until the content is inserted
2022-11-25 07:43:37 +08:00
Ilya Tregubov
b54f76f391
Merge branch 'MDL-75982-master-behat-fix' of https://github.com/lameze/moodle
2022-11-24 13:06:19 +03:00
Simey Lameze
3d0129ffc7
MDL-75982 editor_tiny: fix accessibility behat failures
2022-11-24 17:48:57 +08:00
Ilya Tregubov
ab606a00ec
Merge branch 'MDL-76327-master' of https://github.com/andrewnicols/moodle
2022-11-24 12:24:59 +03:00
Andrew Nicols
15eedeac4e
MDL-76327 tiny_autosave: Use fetch + keepalive to reset autosave session
...
The autosave is reset on form submission, but if that form submission
happens at the same time as a page reload, the connection and/or server
is slow, then the connection may be aborted before the session is
removed.
This commit changes the autosave reset to use the fetch() API with a
keepalive flag.
Unfortunately we do not have a formal endpoint for this in Moodle JS so
this is a hackier approach than I would like. MDL-76463 has been opened
to investigate this.
This commit also fixes a situation where the autosave content is re-sent
when the user has typed in the editor and their next action is to click
on the submit button. This is now blocked for that editor instance.
2022-11-24 12:35:47 +08:00
Jun Pataleta
7c1761564e
Merge branch 'MDL-76460-master' of https://github.com/andrewnicols/moodle
2022-11-24 12:18:39 +08:00
Shamim Rezaie
07ab2c0cfb
Merge branch 'MDL-75982-master-latest' of https://github.com/andrewnicols/moodle
2022-11-24 13:36:11 +11:00
Andrew Nicols
08a19dbed8
Merge branch 'MDL-76403-master' of https://github.com/junpataleta/moodle
2022-11-24 10:18:22 +08:00
Simey Lameze
cc93388082
MDL-75982 tiny_equation: add behat for equation editor
2022-11-24 09:05:46 +08:00
Simey Lameze
a3bf958cc5
MDL-75982 tiny_autosave: add tests for autosave plugin
2022-11-24 09:05:46 +08:00
Simey Lameze
7e41864faa
MDL-75982 tiny_media: add tests for media video plugin
2022-11-24 09:05:46 +08:00
Simey Lameze
63f9ec9b40
MDL-75982 tiny_accessibilitychecker: tests for accessibility checker
2022-11-24 09:05:46 +08:00
Andrew Nicols
e82229eea6
MDL-75982 tiny_accessibilitychecker: Fall back to opaque white as top background
2022-11-24 09:05:46 +08:00
Simey Lameze
4024127ee0
MDL-75982 tiny_h5p: add tests for h5p plugin
2022-11-24 09:05:46 +08:00
Andrew Nicols
c77f79d0ce
MDL-75982 editor_tiny: Add behat tests
...
This commit starts to add Behat tests for the various features of
TinyMCE.
Please note that not all features are testable with Behat.
2022-11-24 09:05:46 +08:00
Andrew Nicols
305975a3e5
MDL-76460 tiny_recordrtc: Respect audio/video capabilities in editor
2022-11-24 08:26:08 +08:00
Helen Foster
74828e8149
MDL-76395 lang: Import fixed English strings (en_fix)
2022-11-23 17:03:58 +00:00
Jun Pataleta
00bae8b8a4
MDL-76403 versions: bump all versions and requires near release
2022-11-23 09:45:23 +08:00
Sara Arjona
767cee2fd5
Merge branch 'MDL-76277-master' of https://github.com/andrewnicols/moodle
2022-11-16 15:53:30 +01:00
Andrew Nicols
a68d9d5410
MDL-76277 tiny_media: Limit image alignment to vertical align
...
Atto mixed vertical and horizontal alignment into a single selection,
which does not make any sense. It also used CSS classes in such a way
that those styles will break if/when Atto is removed.
This commit:
* removes the horizontal alignment from the dropdown - these are easily
achieved using the existing Tiny UI
* addresses a bug where existing styles (like horizontal alignment) were
not preserved when editing the image
* fixes a bug where the CSS selector was used instead of a CSS class
name
* recognises legacy TinyMCE class names and replaces these
* switches from using random class names to using Bootstrap class
utility classes for vertical alignment.
2022-11-16 21:54:33 +08:00
Víctor Déniz
7577776565
Merge branch 'MDL-76307-master' of https://github.com/HuongNV13/moodle
2022-11-16 11:00:12 +00:00
Paul Holden
3a20b1f91c
Merge branch 'MDL-76276-master' of https://github.com/HuongNV13/moodle
2022-11-16 10:22:27 +00:00
Huong Nguyen
3ff6aec217
MDL-76307 tiny_equation: Fix console error when using Tiny editor
2022-11-16 09:45:26 +07:00