VASILEIOS SOTIRAS
8ae178c465
update returnBytes
...
avoid warning on string to text multiplication on PHP7
2017-11-29 16:48:56 +00: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
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
64f170b8a3
Define H5P Hub endpoints one place in code
2017-08-24 12:40:53 +02:00
Frode Petterson
7728243c18
Improve hashing logic
2017-07-27 13:36:51 +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
Paal Joergensen
46d772cb51
Added missing parameter in getLibraryUsage [HFP-1067]
2017-05-31 11:17:28 +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
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
Timothy Lim
9ee5d2ebe7
HFP-967 Update content validator to handle headers and tables
2017-04-25 15:37:04 +02:00
Frode Petterson
c475db843d
Separate statistics reporting from 'Use H5P Hub' option
...
JI-114
2017-04-10 14:09:02 +02:00
Frode Petterson
29fd758bf5
Update phpdoc
...
HFP-884
2017-04-04 12:44:22 +02:00
Frode Petterson
c5974e6212
Update fetch api
2017-04-03 14:51:54 +02:00
Frode Petterson
280946979f
Remove update functionality
...
JI-111
2017-04-03 13:33:47 +02:00
Timothy Lim
33406c69cc
JI-89 Fix spelling error
2017-03-28 13:32:30 +02:00
thomasmars
d3d5dbe1a7
Removed api_version from site data, since it is part of url now.
2017-03-21 14:48:52 +01:00
thomasmars
3611da5921
Only send the necessary data when registering a site
...
Merge in the rest of the metadata when fetching ct cache
HFP-489
2017-03-18 15:39:27 +01:00
thomasmars
4098f7a0d9
Merge branches 'HFP-822-ajax-refactor' and 'master' of https://github.com/h5p/h5p-php-library into HFP-822-ajax-refactor
...
# Conflicts:
# h5p.classes.php
2017-03-16 20:01:08 +01:00
thomasmars
fd93b30a38
Fixed return statement of fetch libraries metadata
...
HFP-489
2017-03-16 10:09:52 +01:00
thomasmars
675c87df68
Added more detailed messages when site is or fails to register
...
HFP-489
2017-03-16 10:01:41 +01:00
thomasmars
93e9d6e0ec
Register site with new endpoint if no site is already registered
...
HFP-489
2017-03-16 09:51:46 +01:00
thomasmars
754346992b
Minor documentation details
2017-03-14 14:21:36 +01:00
thomasmars
1b19f2701d
Make data optional in fetchExternalData function
...
HFP-822
2017-03-13 14:56:01 +01:00
thomasmars
cf3022af43
Moved editor specific functionality to editor interface
...
Refactored hub endpoints into an abstract class for consistency and easier lookup
Fixed bug in moveContentDirectory function
HFP-822
2017-03-12 17:56:36 +01:00
thomasmars
0970f74b43
Made it easier to use ajax functions in core with existing endpoints
...
Moved common ajax functionality to core.
Created interface functions for ajax functionality that must be handled by each plugin
Re-encapsulated storage functions to keep a clean interface
Added function for moving temp files to the editor
HFP-822
2017-03-11 18:43:08 +01:00
Paal Joergensen
b3e0539261
Resetting [HFP-805]
2017-03-10 14:29:49 +01:00
Frode Petterson
907396e49b
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-03-10 13:06:31 +01:00
Frode Petterson
2b327323e1
Add missing default
2017-03-10 13:06:19 +01:00
Paal Joergensen
f247bbdfe8
Improved json returned from content type cache endpoint
2017-03-07 11:24:08 +01:00