Oliver Tacke
2a53b7bb7b
HFP-2059 Accept objects as library options, too
...
Compound content types should be able to deactivate the metadata
button for their subcontent types. This should be achievable
by amending the options property of a library field.
The options array can not either contains strings with library names
or objects with the property "name" (mandatory) and further properties,
one of them being "hasmetadata"
2018-06-22 13:45:59 +02:00
Oliver Tacke
17162f32ef
HFP-2052 Fix undefined source
2018-06-20 16:25:27 +02:00
Thomas
30cb2aec45
Merge pull request #50 from tsivert/max_score
...
Max score
2018-06-19 09:17:12 +02:00
Thomas Horn Sivertsen
930f85e0fb
HFP-1806
...
Removed unused changes, fixed indentation
2018-06-18 11:24:04 +02:00
Oliver Tacke
04707a9f8a
HFP-1871 Add function to load MathDisplay if params contain math
2018-06-13 18:36:23 +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
Thomas Horn Sivertsen
a59640672d
HFP-1806
...
- fixed PhpDoc
- only load presave.js when editing a H5P
- moved loading logic from core to editor
- removed unused code
2018-06-07 12:43:12 +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
be77130fef
HFP-1905 Require words for author roles
2018-06-05 08:54:12 +02:00
Oliver Tacke
ea722126ff
HFP-1905 Fix property naming and validation defaults
...
Fix property naming for more harmony (and peace in the world)
Fix validation on uploading content by adding Author as a role
2018-06-04 15:44:04 +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
a30a93e62e
HFP-1897 Set correct field types and boundaries
2018-05-29 17:23:06 +02:00
Oliver Tacke
47be831f49
HFP-1897 Fix author as default role
2018-05-29 17:00:56 +02:00
Oliver Tacke
00deb02aa7
HFP-1897 Set author as default role, change placeholder text for change
2018-05-28 18:01:28 +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
Paal Joergensen
d99ab7eda2
HFP-1994 Bump core minor version
2018-05-08 11:30:54 +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
3b38e273eb
HFP-1905 Bump minor core version number
2018-04-06 17:11:33 +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
b28624ba8e
HFP-1905 Allow metadata as keyword for subcontent
2018-03-26 17:44:00 +02:00
Oliver Tacke
c589285351
HFP-1905 Fix unset values for array fields
...
Some array fields were filled with undefined and lead to warnings.
2018-03-26 11:24:26 +02:00
Oliver Tacke
6ef2f96e8b
HFP-1905 Add logic for download/upload
...
Add metadata fields to h5p.json
2018-03-23 13:11:00 +01:00
Oliver Tacke
011c7df675
HFP-1905 Add metadata to contentData
2018-03-16 20:11:08 +01:00
Frode Petterson
0fb35a3f7c
HFP-1869 Fix fullscreen button icon not centered
2018-02-28 14:16:02 +01:00
Paal Joergensen
78c19d6779
Merge branch 'drsassafras-master'
2018-02-20 08:46:00 +01:00
Paal Joergensen
4a0739f1c4
Merge branch 'master' of https://github.com/drsassafras/h5p-php-library into drsassafras-master
2018-02-20 08:45:41 +01:00
Paal Joergensen
3ed15f2249
Remove old H5P logo
2018-02-20 08:34:51 +01:00
drsassafras
24bbbf08ae
lossless image compression
2018-02-16 01:17:35 -05:00
Thomas Horn Sivertsen
615bac7c08
HFP-1806
...
Add presave for development and public libraries
2018-02-01 12:18:31 +01:00
Thomas Horn Sivertsen
04edd73855
HFP-1806
...
Formatting code + adding comments.
2018-01-19 14:56:07 +01:00
Thomas Horn Sivertsen
1b079d36f1
HFP-1806
...
Load presave script if present in library.
2018-01-19 14:42:43 +01:00
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