Commit Graph

1486 Commits (fe3f4a504d27218b7ac47662e49272adf2c22786)

Author SHA1 Message Date
Paal Joergensen 6caf44e54b Added checks for mbstring PHP extension [HFJ-1996] 2016-06-08 11:28:07 +02:00
Thomas Marstrander 8615deb23b Hide elements that confirmation dialog covers from assistive technologies.
HFJ-1995
2016-06-08 11:06:03 +02:00
Thomas Marstrander 10e1a7ba65 Use DOM Level 2 events.
HFJ-1999
2016-06-07 15:09:59 +02:00
Thomas Marstrander 8bd9e9c2db Merge remote-tracking branch 'origin/release' into release 2016-06-07 14:32:12 +02:00
Thomas Marstrander 77fb832221 Added focus capturing, redirecting it to the open confirmation dialog
HFJ-1995
2016-06-07 14:31:41 +02:00
Frode Petterson b261754cf1 Merge branch 'release' into improved-file-handling 2016-06-07 14:28:12 +02:00
Frode Petterson 2ebc9225ee Merge branch 'release' of github.com:h5p/h5p-php-library into release 2016-06-07 12:58:40 +02:00
Paal Joergensen f4cee6e284 Moved deletion of content user data to after dialog is closed [HFJ-1989] 2016-06-07 11:09:42 +02:00
Thomas Marstrander 87658ed42b Accessibility - reads confirmation dialog text on show.
HFJ-1992
2016-06-07 11:04:21 +02:00
Paal Joergensen 7807b8af68 Making sure reset dialog is only shown once [HFJ-1989] 2016-06-06 16:09:35 +02:00
Thomas Marstrander e3b29a2199 Accessibility - reads confirmation dialog text on show.
HFJ-1992
2016-06-06 14:57:51 +02:00
Frode Petterson 2bcf3b783f Merge branch 'release' 2016-06-06 10:01:36 +02:00
Thomas Marstrander f6ce5dff74 Added pointer cursor for core cancel button.
HFJ-1930
(cherry picked from commit c6b3b06)
2016-06-06 09:47:29 +02:00
Thomas Marstrander ed13203254 Use buttons instead of anchors in Confirmation Dialog.
HFJ-1930
(cherry picked from commit 27bc158)
2016-06-06 09:47:15 +02:00
Frode Petterson 0d6fac4099 Merge branch 'release' of github.com:h5p/h5p-php-library into release 2016-06-03 12:53:12 +02:00
Thomas Marstrander 93a07d2e9b Merge branch 'improved-file-handling' of https://github.com/h5p/h5p-php-library into improved-file-handling 2016-05-31 14:43:34 +02:00
Thomas Marstrander b102a7de21 Only add editor context when in editor.
HFJ-1972
2016-05-31 14:43:12 +02:00
Frode Petterson ce89b516ef Merge branch 'release' into improved-file-handling 2016-05-31 12:43:06 +02:00
Frode Petterson 594d992f19 Merge branch 'master' into improved-file-handling 2016-05-31 12:42:29 +02:00
Thomas Marstrander eba774c863 Prevent DOM pollution when having many confirmation dialogs.
Append confirmation dialog on show and detach it on hide.
HFJ-1969
(cherry picked from commit 0a63d12)
2016-05-31 11:49:26 +02:00
Frode Petterson c2f5feaae5 Improved error message for req core version
HFJ-1959
2016-05-31 10:51:59 +02:00
Thomas Marstrander 0a63d123cf Prevent DOM pollution when having many confirmation dialogs.
Append confirmation dialog on show and detach it on hide.
HFJ-1969
2016-05-31 10:19:07 +02:00
Thomas Marstrander 73a23d4679 Send context id together with post data in order to determine our context.
HFJ-1964
2016-05-30 10:35:06 +02:00
Frode Petterson bba5190876 Merge branch 'release' of github.com:h5p/h5p-php-library into improved-file-handling 2016-05-24 11:27:28 +02:00
Thomas Marstrander c6b3b06a97 Added pointer cursor for core cancel button.
HFJ-1930
2016-05-24 11:18:42 +02:00
Thomas Marstrander 27bc158708 Use buttons instead of anchors in Confirmation Dialog.
HFJ-1930
2016-05-23 14:34:56 +02:00
Paal Joergensen 2c4edb7b56 Merge branch 'master' into release 2016-05-13 14:56:40 +02:00
Frode Petterson cc121b2f53 Bugfix: Must be able to run from CLI 2016-05-13 13:42:44 +02:00
Frode Petterson 417af36c81 Bugfix: Must be able to run from CLI 2016-05-12 15:52:37 +02:00
Frode Petterson cbfa2913bc Merge branch 'master' into improved-file-handling 2016-05-09 13:21:47 +02:00
Frode Petterson 51698d325b Corrected file storage interface 2016-05-09 11:53:12 +02:00
Frode Petterson a36b2f1212 Removed TODO which makes no sense 2016-05-06 10:40:28 +02:00
Frode Petterson e056b6776a More functions for handling content files
Added three more functions to File Storage Interface
h5p/h5p-moodle-plugin#49
HFJ-1846
2016-05-04 16:52:02 +02:00
Thomas Marstrander e412c3a228 Make sure focus is set after timeout, to not skewer content.
HFJ-1867
2016-05-04 12:37:59 +02:00
Thomas Marstrander 7782b19e99 Do not set offset initially, sometimes ended up overflowing parent element.
Do calculation before setting popup offset.
HFJ-1867
2016-05-04 11:53:46 +02:00
Frode Petterson acaccea977 Allow pagination widget to handle empty pages 2016-05-03 12:47:16 +02:00
Thomas Marstrander 6e7e144900 Confirmation dialog - Focus confirm button on show.
HFJ-1860
2016-05-03 11:15:21 +02:00
Frode Petterson c9583cb8fa Merge branch 'master' into improved-file-handling 2016-04-26 11:57:04 +02:00
Thomas Marstrander 4da518296e Make sure confirmation dialog is displayed on top of CP interaction as button.
HFJ-1572
2016-04-26 10:38:41 +02:00
Frode Petterson c9349b8e26 Merge branch 'master' into improved-file-handling
Conflicts:
	h5p-default-storage.class.php
	h5p-file-storage.interface.php
2016-04-25 14:34:05 +02:00
Frode Petterson b6b2a6b1dd Merge branch 'master' of github.com:h5p/h5p-php-library 2016-04-25 14:32:34 +02:00
Frode Petterson 174d8c0941 Revert "Added function for reading file contents"
This reverts commit e324e298b9.
2016-04-25 14:32:16 +02:00
Frode Petterson 325ea27562 Added func. for saving uploaded files
h5p/h5p-moodle-plugin#48
HFJ-1845
2016-04-25 14:31:25 +02:00
Frode Petterson 7b38c3571e Made dir handling private to prevent abuse
h5p/h5p-moodle-plugin#48
HFJ-1845
2016-04-25 14:30:12 +02:00
Thomas Marstrander 05dfc9c374 Merge remote-tracking branch 'origin/master' 2016-04-25 13:17:56 +02:00
Thomas Marstrander 8a6733ceb4 Specified confirmation dialog css rules so they wont get overwritten by standard anchor styling.
Enabled iframe resize functionality for confirmation dialog.
HFJ-1572
2016-04-25 13:17:24 +02:00
Frode Petterson 1623f6701e Merge pull request #21 from davericher/patch-1
Prevent H5P Core from breaking console commands
2016-04-25 09:48:37 +02:00
Dave Richer 76e813a32e Update h5p.classes.php
Prevents H5P From breaking console PHP commands
2016-04-23 23:40:46 -04:00
Frode Petterson db6f18c984 Merge branch 'master' of github.com:h5p/h5p-php-library 2016-04-22 11:36:14 +02:00
Frode Petterson e324e298b9 Added function for reading file contents
h5p/h5p-moodle-plugin#47
HFJ-1844
2016-04-22 11:35:23 +02:00