Paal Joergensen
da568e4b8a
Merge branch 'release' into stable
2017-04-18 09:26:01 +02:00
Paal Joergensen
727e88908a
Made statistics being sent on updateContentTypeCache [HFP-931]
2017-04-11 14:51:27 +02:00
thomasmars
2ff14ecd37
Remove key message when registering with Hub until it is back.
...
JI-115
2017-04-11 13:02:44 +02:00
Frode Petterson
d81fa06499
Check correct variable
...
JI-114
2017-04-11 09:35:17 +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
Frode Petterson
bfda796ab7
Allow processing after export is generated
2017-03-30 13:55:44 +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
Paal Joergensen
914ee55ac5
Fixed broken core - using wrong function name [HFP-805]
2017-03-07 10:36:49 +01:00
Paal Joergensen
37f4399ab4
Added interface function that returns library file URL [HFP-805]
2017-03-07 10:25:52 +01:00
Paal Joergensen
c8b123c5c3
Using local icon if present (HFP-807)
2017-03-07 09:46:16 +01:00
thomasmars
ae56eef91d
Use ID instead of library_id for lbiraries
...
HFP-793
2017-03-03 15:45:19 +01:00
thomasmars
a95323948e
Improved upload size error msg
...
HFP-509
2017-03-03 14:47:15 +01:00
thomasmars
217c2006a4
Separate between setup error messages and disabling hub
...
HFP-509
2017-03-03 11:29:09 +01:00
thomasmars
318b9f4819
Restrict LRS dependent content if set
...
HFP-797
2017-03-03 10:43:39 +01:00
thomasmars
410c2a9ae1
Added permission check for restricted local libraries
...
Renamed cached library map function to something more appropriate
HFP-797
2017-03-03 10:33:21 +01:00
thomasmars
0af411bac8
Send json as camelCase
...
HFP-794
2017-03-02 14:39:36 +01:00
thomasmars
c0e82edfb4
Fixed endpoint address
...
HFP-794
2017-03-02 14:25:30 +01:00
thomasmars
79e32f0a7f
Added proper protocol for endpoints
...
HFP-794
2017-03-02 14:21:11 +01:00
thomasmars
515365d8df
Add common hub endpoint to core
...
HFP-794
2017-03-02 14:14:26 +01:00
thomasmars
34b8a2fb58
Updated phpdocs
...
HFP-797
2017-03-02 13:10:00 +01:00
thomasmars
16228b3086
Merge branch 'master' of https://github.com/h5p/h5p-php-library
2017-03-02 12:49:45 +01:00
thomasmars
0e2edff5a8
Helper functions for ct cache
...
Generates properly formatted json from content type cache
Merges content type cache with locally installed libraries
HFP-797
2017-03-02 12:48:30 +01:00
Paal Joergensen
3dbb8fae70
Added check for icon.svg [HFP-806]
2017-03-02 11:43:45 +01:00
Frode Petterson
b6ca0cd2df
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-02-28 13:05:50 +01:00
Frode Petterson
0f08031abf
Allow Core to override permission check
...
HFP-504 HFP-505
2017-02-28 13:05:11 +01:00
thomasmars
362464ad56
Updated endpoint
...
JI-90
2017-02-27 16:01:08 +01:00
Frode Petterson
a83ea9999d
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-02-27 14:15:17 +01:00
thomasmars
3068d58b2b
Make update content type cache function public
...
JI-53
2017-02-24 17:00:43 +01:00
thomasmars
933b95f5ce
Allow ajaxError to specify an error code as well.
...
JI-53
2017-02-24 16:34:16 +01:00
thomasmars
ec5a164971
Send in current content type cache update timestamp when updating content type cache
...
JI-53
2017-02-24 16:06:55 +01:00
thomasmars
0641b3b824
Restored old package and tutorial functionality
...
Removed uuid registration, will need separate endpoint
Use time instead of localized time when setting ct cache update time
Changed variable names to match API docs
2017-02-24 15:38:49 +01:00
thomasmars
2b5a10bec6
Merge branches 'HFP-502-install-errors' and 'master' of https://github.com/h5p/h5p-php-library
2017-02-24 14:11:07 +01:00
thomasmars
585f4d238a
Fixed incorrect hub enabled value after server check
...
HFP-502
2017-02-23 15:22:55 +01:00