Paal Joergensen
95901159d0
HFP-1768 Send core api version as a single element
2017-11-23 15:15:03 +01:00
Paal Joergensen
90d1e7579d
HFP-1768 Add api core version to requests to api.h5p.org
2017-11-23 11:39:03 +01:00
Frode Petterson
f3efd217c8
HFP-1678 Remove unsued variable
2017-11-20 16:12:22 +01:00
Paal Joergensen
f91f2e82fb
HFP-1678 Add error code to error messages
2017-11-16 16:24:29 +01:00
Frode Petterson
6798e0bbbf
HFP-924 Add singular version of plural install info
2017-11-15 13:24:56 +01:00
Frode Petterson
717edc2a6f
HFP-924 Add support for more detailed messages when using AJAX
2017-11-14 15:06:54 +01:00
Frode Petterson
5919b64c2a
Clean up syntax and avoid empty values
2017-11-06 09:59:46 +01:00
Frode Petterson
b418d24c29
Merge pull request #42 from icmcnamara/embed-additional-head-tags
...
Add optional additional head tags support to embed
2017-11-06 09:53:00 +01:00
Ian McNamara
07ac995cf0
Prints optional additonal head tags in embed.php
...
Works in conjunction with modifications to class-h5p-php-admin.php
in the core h5p plugin. Allows other plugins to add code to be
inserted into the head of the embeded iframe generated by embed.php.
See discussion of this issue here:
https://github.com/h5p/h5p-wordpress-plugin/issues/58#issuecomment-337906304
2017-11-01 16:08:14 -05:00
Frode Petterson
500c264b88
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-08-28 10:49:57 +02:00
Frode Petterson
dfdfb3bd99
Add prevent deleting sub content of linked directories
...
Sometimes devs may link to library folders elsewhere, then we
should prevent traversing and deleting the linked content.
Default behavior now is to remove the link and not its content.
2017-08-28 10:45:54 +02:00
Paal Joergensen
cbbff0e296
Merge branch 'release'
2017-08-25 11:19:53 +02:00
Paal Joergensen
0252beb03d
Revert "HFP-1407 Improve robustness of content-id retrival"
...
This reverts commit e3d7cf2562
.
2017-08-25 11:18:59 +02:00
Paal Joergensen
64f170b8a3
Define H5P Hub endpoints one place in code
2017-08-24 12:40:53 +02:00
Tom Arild Jakobsen
e3d7cf2562
HFP-1407 Improve robustness of content-id retrival
...
The code made an assumption that the $element.parent() would contain
the [data-content-id] which isn't always true.
Changed the code, so that it looks up the parent with [data-content-id].
2017-08-23 15:22:29 +02: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
7728243c18
Improve hashing logic
2017-07-27 13:36:51 +02:00
Frode Petterson
b6019ade21
Merge pull request #40 from cornelles/validate-text-font-family
...
Fixing font-family regex pattern when validating text
2017-07-26 10:03:20 +02:00
Cornel Les
75803f8dfb
Fixing font-family regex pattern when validating text
2017-07-20 17:54:12 +03:00
Frode Petterson
3a2cd46f6a
Merge branch 'HFP-1174-feedback'
2017-07-13 13:30:39 +02:00
Frode Petterson
cc5440cc4a
Merge branch 'master' into HFP-1100-improve-file-handling
2017-07-07 10:59:38 +02:00
Frode Petterson
b1531bcbc0
Add support for temporary file suffix
...
HFP-1100
2017-07-07 10:51:57 +02:00
Timothy Lim
91ff99145a
HFP-1258 Whitelist .webvtt
2017-07-07 10:11:23 +02:00
Timothy Lim
cc7caa6604
HFP-1258 Whitelist .vtt extension
2017-07-07 09:56:24 +02:00
Frode Petterson
6444c1443b
Bump coreApi due to editor changes
...
HFP-1174
2017-06-26 10:43:59 +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
Paal Joergensen
46d772cb51
Added missing parameter in getLibraryUsage [HFP-1067]
2017-05-31 11:17:28 +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
thomasmars
fa31c56dce
Fixed returnBytes function return correct amount of bytes
2017-05-29 11:18:12 +02:00
thomasmars
0ce7d66c3a
Cast bytes to int before multiplying it.
...
Removes warning in PHP 7.0+
2017-05-25 13:52:50 +02:00
thomasmars
d1bbed49fc
Don't assume fetchLibrariesMetadata is AJAX
...
HFP-1103
2017-05-22 12:57:43 +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
f277fed4d1
Set overlay and dialog to be 'position: absolute;' again. HFP-574
2017-05-10 13:50:57 +02:00
Tom Arild Jakobsen
dfc2e52ba5
Merge branch 'master' of github.com:h5p/h5p-php-library into HFP-574-remove-override-settings
2017-05-10 12:45:55 +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
Paal Joergensen
677adb0d8a
HFP-1035 Whitelisted wav files
2017-05-03 10:02:27 +02:00
Paal Joergensen
3fda439aa1
Bumping core version
2017-05-02 10:30:27 +02:00
Timothy Lim
fb76e09e8c
HFP-967 Revert a revert
...
Ensures that latest code from stable is added.
2017-04-25 16:30:52 +02:00
Timothy Lim
56e453f6c1
HFP-967 Apply correct changes
2017-04-25 15:59:25 +02:00
Timothy Lim
edb9e6244c
Revert "HFP-967 Update content validator to handle headers and tables"
...
This reverts commit 9ee5d2ebe7
.
2017-04-25 15:58:28 +02:00