Thomas Marstrander
687f886e3d
JI-1059 Add offline request queue only if frame contains H5P
...
Add logic for queueing requests that failed outside the H5P frame
Fix showing throbber when retrying because connection was reestablished
2019-04-03 13:09:18 +02:00
Thomas Marstrander
39d27ab9bb
JI-1059 Add offline request queue with retry dialog
...
Add logic for adding extra class and hiding buttons in conf dialog
Update font files with throbber
2019-04-03 09:43:09 +02:00
Thomas Marstrander
ada2f4009d
JI-1059 Fix not showing toast if it is disabled
2019-04-01 15:10:37 +02:00
Thomas Marstrander
75453e872c
JI-1059 Fix setting item name in request queue
2019-04-01 14:46:29 +02:00
Thomas Marstrander
49c48e29b3
JI-1059 Fix no options in request queue
2019-04-01 14:42:53 +02:00
Thomas Marstrander
e0eb03026a
JI-1059 Add request queue events
...
Add dialog texts
2019-04-01 12:06:00 +02:00
Thomas Marstrander
d4931ec20a
JI-1059 Add support for storing and resubmitting offline results
...
(cherry picked from commit cd869f8400
)
2019-03-19 09:24:38 +01:00
Thomas Marstrander
8f7742ab0b
Revert "JI-1059 Add support for storing and resubmitting offline results"
...
This reverts commit cd869f8400
.
2019-03-18 11:02:42 +01:00
Thomas Marstrander
cd869f8400
JI-1059 Add support for storing and resubmitting offline results
2019-03-18 10:58:13 +01:00
Frode Petterson
d05bc94d92
Add back custom libraries URL (Needed for Moodle)
2019-03-12 12:47:31 +01:00
Thomas Marstrander
1a09b1a30e
Fix flickering for embedded content on iPads
...
see https://github.com/h5p/h5p-moodle-plugin/issues/237
2019-03-07 15:48:21 +01:00
Frode Petterson
e9d08b973a
Remove old libraryUrl due to conflict with Content Upgrade
2019-03-07 14:33:01 +01:00
Frode Petterson
53adda67c2
JI-1010 Add disable fullscreen feature for embeds
2019-03-07 12:57:45 +01:00
Frode Petterson
fc044630bc
JI-853 Add option to disable fullscreen on load
2019-03-07 12:02:02 +01:00
Frode Petterson
840f5dcb12
HFP-2541 Fix UX improvements when reusing content
...
(Moved Toast from Editor to Core)
2019-03-01 15:24:46 +01:00
Frode Petterson
b64292af09
HFP-2541 Fix Dialog scrollbar on small dialogs
2019-02-27 16:04:37 +01:00
Frode Petterson
47d049afb2
HFP-2541 Add reuse dialog instead of download button
2019-02-27 15:03:58 +01:00
Frode Petterson
2b2184fa30
Fix closing of aria-attribute
2019-02-11 16:18:57 +01:00
Frode Petterson
f96d04cc27
JI-942 Add missing library error message
2019-02-01 13:03:27 +01:00
Frode Petterson
c9e1ac9347
JI-942 Add better error handling for Content Upgrade
2019-01-28 16:01:08 +01:00
Frode Petterson
9cf3f4aa7f
JI-942 Add restict save when a higher version is available
2019-01-22 15:27:27 +01:00
Frode Petterson
bee7c550d9
Merge branch 'release' of github.com:h5p/h5p-php-library into release
2019-01-14 15:28:56 +01:00
Frode Petterson
b6080a1a00
Update FS comment
2019-01-14 15:26:27 +01:00
Oliver Tacke
bfb7b5600c
Fix missing closing div for close button
2019-01-11 14:52:10 +01:00
Frode Petterson
8d30949969
Revert "Make eslint happy"
...
This reverts commit 132f25e14a
.
2019-01-09 11:51:17 +01:00
Frode Petterson
9a7a343844
HFP-2508 Remove caching of pasted content
...
Objects can not be referenced by multiple widgets when used in the editor
2019-01-03 12:50:44 +01:00
Frode Petterson
f19ca76461
HFP-2508 Fix reset of all subContentIds on Copy/Paste
2019-01-03 12:46:16 +01:00
thomasmars
b43051c785
HFP-15474 Fix xAPI errors when previewing content
2018-12-20 15:07:40 +01:00
Oliver Tacke
0678126f82
HFP-2398 Add aria-label to fullscreen buttons
2018-11-23 16:40:18 +01:00
Oliver Tacke
48f3805f94
HFP-2398 Remove aria-label in action bar
...
WAIA states it is *not* supposed to be used if there's a visible label
2018-11-23 15:13:41 +01:00
Oliver Tacke
2be06b2eb9
HFP-2396 Add aria-label to elements with role button
2018-11-23 13:10:07 +01:00
Oliver Tacke
132f25e14a
Make eslint happy
2018-11-23 13:05:23 +01:00
Frode Petterson
1cd7b67010
Merge branch 'master' of github.com:h5p/h5p-php-library
2018-11-16 12:41:24 +01:00
Frode Petterson
ec9127d245
JI-915 Fix embed resizing issue with Chrome
2018-11-16 12:39:57 +01:00
Frode Petterson
39fc577fd5
Add prefilter that improves jQuery AJAX
2018-11-02 10:14:35 +01:00
Paal Joergensen
82b50fc2f1
Fix code style
2018-10-23 11:25:46 +02:00
Paal Joergensen
e316eff18d
Don't display empty metadata fields in copyright popup
2018-10-23 11:10:06 +02:00
Frode Petterson
7762f903c8
Add storing of content type title in metadata
2018-09-24 11:03:10 +02:00
Frode Petterson
841d24cab8
Capitalize metadata titles
2018-09-21 10:05:00 +02:00
Paal Joergensen
9e4db6cdd9
Merge branch 'master' of github.com:h5p/h5p-php-library
2018-09-10 11:31:40 +02:00
Paal Joergensen
e257e5ecff
HFP-2185 Treat major & minor version as int (not string)
2018-09-10 11:30:57 +02:00
Frode Petterson
394a4aace3
Merge branch 'master' of github.com:h5p/h5p-php-library
2018-08-31 17:29:54 +02:00
Frode Petterson
97eab5c3ce
JI-848 Add changing main content metadata in upgrade
...
(except for title!)
2018-08-31 17:29:11 +02:00
Paal Joergensen
43b9703fc9
Merge branch 'master' of github.com:h5p/h5p-php-library
2018-08-30 12:35:56 +02:00
Paal Joergensen
e74fb6009a
Use title from metadata object when creating xAPI stmt
2018-08-30 12:35:46 +02:00
Frode Petterson
e094da76fa
HFP-1900 Remove metadata/extras from upgrade for main content
2018-08-30 12:33:24 +02:00
Paal Joergensen
6959f65022
HFP-1871 Add library config as a generic feature
2018-08-27 14:53:17 +02:00
Paal Joergensen
0c7df179a7
Fix content upgrade bug
2018-08-24 12:55:42 +02:00
thomasmars
5be4ba1222
JI-781 Support regex in core for when CORS attributes is set
2018-07-30 14:28:02 +02:00
Oliver Tacke
a55379adcf
Fix Array use
2018-07-24 10:36:43 +02:00
Oliver Tacke
9ee5fb9907
HFP-2110 Refactor to have a plain setClipboard function
...
Custom editors handled storing data to the clipboard on their own,
so the datainclipboard trigger was missing for some functionality.
H5P.clipboardify() however doesn't cope with additional information
that the custom editors can deal with.
Custom editors that prepare their own clipboard data can now use
H5P.setClipboard() directly and set their data while other elements
will be informed about the clipboard change.
Also relevant for HFP-2111 and HFP-2112.
2018-07-18 10:45:14 +02:00
Oliver Tacke
b1a01b728d
Fix update script bug that was introduced with adding the hasmetadata field
2018-07-11 09:33:59 +02:00
Oliver Tacke
e241ec6963
HFP-1905 Fix for LibraryNames with many elements
2018-06-28 18:36:58 +02:00
Oliver Tacke
14bcb913b7
HFP-1905 Include metadata in findCopyrights
2018-06-28 18:21:30 +02:00
Frode Petterson
1605581608
Merge branch 'copy-paste' into HFP-1905-metadata-system
2018-06-27 13:42:13 +02:00
Frode Petterson
d24fd0e667
HFP-2072 Improve copy-paste API behavior
2018-06-26 11:52:57 +02:00
Frode Petterson
b1446e8d60
HFP-2027 Add copy paste helpers to core
2018-06-25 15:59:17 +02:00
Oliver Tacke
d113809e80
HFP-1905 Fix source and link in copyright view
2018-06-25 14:14:13 +02:00
Oliver Tacke
17162f32ef
HFP-2052 Fix undefined source
2018-06-20 16:25:27 +02:00
Oliver Tacke
e179ec2934
HFP-2052 Make changes requested in UX review
...
- Add link for source
- Change URLs for licenses
2018-06-13 16:41:49 +02:00
Oliver Tacke
367763a215
Merge remote-tracking branch 'origin/master' into HFP-1905-metadata-system
2018-06-05 13:07:01 +02:00
Oliver Tacke
0fbc6ef5a8
HFP-1905 Fix potential undefined values
2018-06-01 17:44:21 +02:00
Oliver Tacke
8f45ea4d79
HFP-1905 Fix finding copyright edge case bug
2018-06-01 15:45:09 +02:00
thomasmars
3ce0adf418
HFP-1942 Add crossorigin api call.
...
Update minor version of core since interface changes
2018-06-01 11:09:45 +02:00
Oliver Tacke
3deda27f9b
HFP-1898 Move mocked semantics to backend
2018-05-25 18:38:42 +02:00
Frode Petterson
942a083afa
JI-575 Fix content upgrade script
2018-05-16 15:16:34 +02:00
Frode Petterson
022695ac74
JI-575 Add support for file aggregation
2018-05-03 10:27:06 +02:00
Oliver Tacke
58597460f6
HFP-1905 Fix updating for scripts with old update functions
...
"params" (and "extras", e.g. metadata) flow through each update function
and are changed if necessary. Since "extras" was added later and old
update functions don't return it, we need to ignore undefined values
-- or change every single update function in all content types.
2018-04-09 11:43:48 +02:00
Oliver Tacke
fbc21f6368
HFP-1905 Remove console output
2018-04-05 17:22:31 +02:00
Oliver Tacke
ef063ce5cb
HFP-1905 Fix image in "rights of use" view
2018-04-05 17:17:56 +02:00
Oliver Tacke
83e3c58ba3
HFP-1943 Include metadata information in "rights of use" popup
...
Add copyright information of main content in popup
Add copyright information of subcontent in popup
HFP-1902 is intended to make the styling better
2018-04-04 15:46:30 +02:00
Oliver Tacke
95d99d0ad3
HFP-1905 Add update functionality for metadata
2018-04-03 15:17:46 +02:00
Oliver Tacke
011c7df675
HFP-1905 Add metadata to contentData
2018-03-16 20:11:08 +01:00
Frode Petterson
f090e651e1
HFP-1405 Fix targeting wrong parent iframe element
...
Just in case there are two elements with the same ID avoid misbehaving
2017-08-23 12:44:15 +02:00
Paal Joergensen
7c3a322fda
HFP-1317 Made library detail pager behave good
2017-08-07 16:38:09 +02:00
Frode Petterson
f112f761c3
Prevent JS error when no pager is available
2017-08-04 11:04:10 +02:00
Frode Petterson
0dddbf654e
Merge branch 'master' into release
2017-08-02 13:10:27 +02:00
Frode Petterson
b1531bcbc0
Add support for temporary file suffix
...
HFP-1100
2017-07-07 10:51:57 +02:00
thomasmars
f07ce1b3c3
Merge branch 'master' of https://github.com/h5p/h5p-php-library
2017-06-22 10:56:42 +02:00
thomasmars
d2746b18b4
Make fullscreen button keyboard accessible
...
HFP-1199
2017-06-22 10:56:15 +02:00
Tom Arild Jakobsen
9ea6f277e1
Merge branch 'master' of github.com:h5p/h5p-php-library into HFP-574-remove-override-settings
2017-06-07 11:49:47 +02:00
Frode Petterson
278586ef58
Add forgotten symbol
2017-06-06 14:21:18 +02:00
Frode Petterson
3192f0fe19
Add default license when no version is selected
2017-06-06 13:51:51 +02:00
Frode Petterson
aaa0861355
Fix copyright not being display processes correctly
...
HFP-1079
2017-05-31 09:33:10 +02:00
Frode Petterson
9adc92d3c4
Move license definition for localization to work
...
HFP-1079
2017-05-30 15:43:26 +02:00
Frode Petterson
59fd08594f
Support localized licenses
...
HFP-1079
2017-05-30 15:23:25 +02:00
Frode Petterson
42e0c99fd3
Add version info to license
...
HFP-1079
2017-05-30 14:12:22 +02:00
Tom Arild Jakobsen
87bd3c7e11
Resize h5p container instead of body by default. HFP-574
2017-05-11 17:09:44 +02:00
Tom Arild Jakobsen
481322e6ae
Deprecate 'overrideSettings'
...
* Deprecate and log warning to console when 'overrideSettings' is used
* Change confirmation dialog be 'fixed' e.g relative to viewport instead of
and arbitrary relative parent element
* Same for the overlay mask
* Set minimum height on body element, to fit confirmation dialog
* Remove the minimum height on close dialog
Fixes HFP-574
2017-05-08 14:17:29 +02:00
Tom Arild Jakobsen
86ee19905e
Fix confirmation dialog confirm icon
...
* Position icon up a bit
* Fix icon not showing in IE at all
Relates to: HFP-889
2017-04-07 10:28:17 +02:00
otacke
bd83ddc5e7
make actionbar buttons unselectable
2017-03-31 13:36:40 +02:00
thomasmars
a32f210188
Fixed enable hub button state after confirming dialog
...
HFP-502
2017-02-23 14:22:56 +01:00
thomasmars
aa861fc8ce
Make disable hub, into enable hub to match the checkbox state.
...
Implemented write access check
HFP-502
2017-02-23 14:20:56 +01:00
thomasmars
46d4d403f4
Added default selectors for disable hub elements.
...
HFP-503
2017-02-21 20:01:30 +01:00
thomasmars
c4affb23dd
Added confirmation dialog functionality when disabling hub.
...
Refactored server setup check into check and var updates.
Moved bytes string parsing out of server setup check and fixed naming convention.
Fixed indentation to match library core instead of Moodle style.
2017-02-21 17:37:01 +01:00
Frode Petterson
c4b88c3992
Add reveling field support for settings
...
HFP-495
2017-02-20 15:06:42 +01:00
Frode Petterson
bb71ea20a3
Update JSDoc
2017-02-07 13:48:42 +01:00
Frode Petterson
b555e4d7a4
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-02-06 14:40:56 +01:00
Frode Petterson
26d0a3a341
Double check that contents settings exist
...
… before using them.
HFP-714
2017-02-06 14:39:59 +01:00
Frode Petterson
39d7ddc6b8
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-01-31 13:36:32 +01:00