Frode Petterson
cb2acb21c8
Merge branch 'master' of github.com:h5p/h5p-php-library
2018-09-24 10:18:40 +02:00
Frode Petterson
64c8090d13
Add storing of content type title in metadata
2018-09-24 10:18:13 +02:00
Paal Joergensen
73f41e2dbd
library.json: metadata -> metadataSettings
2018-09-21 15:09:31 +02:00
Frode Petterson
d6e9c4ec09
Fix const not allowed in abstract class for PHP 5.3
2018-09-21 13:08:11 +02:00
Frode Petterson
cfd15d8265
Merge branch 'master' of github.com:h5p/h5p-php-library
2018-09-21 10:12:59 +02:00
Frode Petterson
841d24cab8
Capitalize metadata titles
2018-09-21 10:05:00 +02:00
Paal Joergensen
e2c8d6459a
Numbers use format '%d' - only relevant for WordPress
2018-09-20 11:14:50 +02:00
Paal Joergensen
3566ac4141
HFP-2183 Default library.metadata property shall be 1
2018-09-18 15:02:12 +02:00
Paal Joergensen
d391d486c9
HFP-2187 Only allow new license IDs
2018-09-18 14:26:36 +02:00
Paal Joergensen
c9cb23e06c
Add generic function for generating metadata JSON
2018-09-17 13:44:42 +02:00
Paal Joergensen
2bf38c5b00
Support title in metadata
2018-09-17 12:54:21 +02:00
Paal Joergensen
3d1c1cbe38
Autoload metadata class
2018-09-17 12:53:09 +02:00
Paal Joergensen
eb766b0081
HFP-2184 Add utility class for handling metadata
2018-09-17 11:47:05 +02:00
Paal Joergensen
4fe8eca0f2
JI-857 Validate metadata
2018-09-17 08:58:38 +02:00
Paal Joergensen
74f9a84034
JI-857 Make metadata semantics describe the actual data structure
2018-09-17 08:45:18 +02:00
Paal Joergensen
8067277e63
JI-857 Add support for optgroup type in semantics
2018-09-17 08:41:31 +02:00
Paal Joergensen
425aac5d33
HFP-2183 Set metadata when saving library
2018-09-11 11:50:51 +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
Oliver Tacke
2d3fe61371
Merge branch 'master' of https://github.com/h5p/h5p-php-library
2018-08-31 09:44:18 +02:00
Oliver Tacke
775b45ab6c
HFP-2094 Add metadata property to validation of library.json
2018-08-31 09:32:23 +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
Frode Petterson
768eb2a64b
Remove unkown todo comment
2018-08-29 14:30:31 +02:00
Paal Joergensen
8c374be79d
HFP-1871 Improve addon feature
2018-08-28 08:08:56 +02:00
Paal Joergensen
6959f65022
HFP-1871 Add library config as a generic feature
2018-08-27 14:53:17 +02:00
Paal Joergensen
bbe99e4db8
Merge branch 'HFP-1871-math-display'
2018-08-27 13:53:10 +02:00
Paal Joergensen
ee0e97e17b
HFP-1871 Skip loading semantics for addons
2018-08-27 13:52:33 +02:00
Paal Joergensen
0c7df179a7
Fix content upgrade bug
2018-08-24 12:55:42 +02:00
Paal Joergensen
6c4f904079
Generalize addons
2018-08-23 10:24:20 +02:00
Pål Jørgensen
b1db442554
Merge pull request #53 from beheist/dev-bh-fix-header-case
...
BUGFIX: Fix capitalization of the "Content-Type" HTTP header
2018-08-06 14:15:32 +02:00
Bastian Heist
3a8847424c
BUGFIX: Fix capitalization of the "Content-Type" HTTP header
2018-08-04 13:46:52 +02:00
Oliver Tacke
6d50bae108
HFP-1905 Complete validation for h5p.json
2018-08-01 17:30:30 +02:00
Oliver Tacke
64e5ab4424
HFP-1871 Fix missing variables
2018-08-01 10:55:13 +02:00
Oliver Tacke
d068b82ff5
HFP-1871 Fix sanitization of containsMath
2018-07-30 14:52:36 +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
9314c55994
HFP-1871 Clean code
2018-07-26 19:34:46 +02:00
Oliver Tacke
942fd922bc
HFP-1871 Add general function to get values from library json config
2018-07-26 10:37:16 +02:00
Oliver Tacke
62b6345c49
HFP-1871 Use param from MathDisplay library.json for configuration
2018-07-25 15:08:29 +02:00
Oliver Tacke
a55379adcf
Fix Array use
2018-07-24 10:36:43 +02:00
Oliver Tacke
c45be49a4f
Merge branch 'master' of https://github.com/h5p/h5p-php-library
2018-07-23 15:30:31 +02:00
Oliver Tacke
d3a63dd756
HFP-2133 Fix additional space
2018-07-23 15:30:10 +02:00
Oliver Tacke
023613c131
HFP-2131 Fix additional space
2018-07-23 15:26:09 +02:00
Oliver Tacke
e22766157b
HFP-2133 Add Creative Commons acronyms
2018-07-23 14:57:14 +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
a295d7d434
HFP-1925 Fix typo
2018-07-12 10:07:01 +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