Frode Petterson
90fd9a2a28
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-03-02 10:18:38 +01:00
Frode Petterson
66409f1a14
Merge branch 'JI-92-path-fix'
2017-03-02 10:18:28 +01:00
Frode Petterson
179601657c
Remove prefix from file path
...
Should already be complete at this point.
JI-92
2017-03-02 10:17:16 +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
1dec6453fd
Check write access of H5P folder
...
HFP-502
2017-02-24 09:47:44 +01:00
thomasmars
fb1ed589e5
Style for drupal form seems to live here
...
JI-47
2017-02-23 17:00:43 +01:00
thomasmars
585f4d238a
Fixed incorrect hub enabled value after server check
...
HFP-502
2017-02-23 15:22:55 +01:00
thomasmars
e88a23d265
Changed hub variable name to match new settings name
...
HFP-502
2017-02-23 14:54:37 +01:00
thomasmars
a32f210188
Fixed enable hub button state after confirming dialog
...
HFP-502
2017-02-23 14:22:56 +01:00
thomasmars
aa861fc8ce
Make disable hub, into enable hub to match the checkbox state.
...
Implemented write access check
HFP-502
2017-02-23 14:20:56 +01:00
thomasmars
183ec0a930
Pass postData as array when fetching external ct cache data
...
JI-54
2017-02-23 13:28:59 +01:00
thomasmars
4a8a791327
Fixed default arg for update content type cache
...
JI-53
2017-02-23 12:43:18 +01:00
thomasmars
952a07456c
Merge fetch libraries metadata and update content type cache into one request.
...
Use fetchExteralData instead of adding new functionality since we're now using post.
JI-53
2017-02-23 11:33:39 +01:00
Frode Petterson
bdf60a943d
Use realpath() instead of document root = safer
...
Document root might be rewritten or incorrect for some sites(observed on multiple WP)
HFP-784
2017-02-23 11:18:59 +01:00
thomasmars
ff531a157c
Improved error msg and check for openssl extension
...
HFP-502
2017-02-22 18:29:21 +01:00
thomasmars
1f7d03dfd4
Don't use verb in setting name.
...
HFP-502
2017-02-22 18:03:23 +01:00
thomasmars
f556cde385
Added localized time interface for displaying correct time of content type cache update.
...
JI-53
2017-02-22 16:20:09 +01:00
thomasmars
58cbfc7f0c
Moved update content type cache into library core and interface.
...
JI-53
2017-02-22 14:50:45 +01:00
Frode Petterson
79fa5076f2
Use realpath() instead of document root = safer
...
Document root might be rewritten or incorrect for some sites(observed on multiple WP)
HFP-784
2017-02-22 11:25:05 +01:00
thomasmars
24fd6b1bc5
Made server setup check return errors instead of setting them.
...
This is useful in cases where you want to process the error messages differently
HFP-502
2017-02-22 11:14:35 +01:00
thomasmars
46d4d403f4
Added default selectors for disable hub elements.
...
HFP-503
2017-02-21 20:01:30 +01:00
thomasmars
c4affb23dd
Added confirmation dialog functionality when disabling hub.
...
Refactored server setup check into check and var updates.
Moved bytes string parsing out of server setup check and fixed naming convention.
Fixed indentation to match library core instead of Moodle style.
2017-02-21 17:37:01 +01:00
thomasmars
c70f8521bb
Use core naming convention for requirements function
...
HFP-502
2017-02-21 14:31:01 +01:00
thomasmars
ff496d9a38
Check for H5P requirements.
...
HFP-502
2017-02-21 14:01:49 +01:00
Frode Petterson
c4b88c3992
Add reveling field support for settings
...
HFP-495
2017-02-20 15:06:42 +01:00
Andreas Nergaard
8f132cfffb
Merge branch 'master' into HFP-186-tutorial-example-links
2017-02-09 17:23:18 +01:00
Andreas Nergaard
c41d001754
HFP-750 Adding fixed icon.
2017-02-09 14:09:25 +01:00
Andreas Nergaard
3e9277c0f8
HFP-750 Updated h5p core font from 16 to 17.
2017-02-09 12:45:51 +01:00
Frode Petterson
e66e6c5d76
Only clone content folder if it exists
...
HFP-731
2017-02-08 10:57:16 +01:00
Frode Petterson
bb71ea20a3
Update JSDoc
2017-02-07 13:48:42 +01:00
Frode Petterson
ea3b86dcfe
Development mode must be set by default
...
HFP-724
2017-02-07 12:55:53 +01:00
Frode Petterson
b555e4d7a4
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-02-06 14:40:56 +01:00
Frode Petterson
26d0a3a341
Double check that contents settings exist
...
… before using them.
HFP-714
2017-02-06 14:39:59 +01:00
Frode Petterson
39d7ddc6b8
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-01-31 13:36:32 +01:00
Frode Petterson
e548b3575f
Add custom xAPI events for action toolbar buttons
2017-01-31 13:35:23 +01:00
Timothy Lim
3b9dd95683
HFP-580 Update regex
2017-01-30 14:49:09 +01:00
Paal Joergensen
ef4165a11d
Fixed developer mode for Drupal
2017-01-30 11:38:34 +01:00
Paal Joergensen
6ab68eb6e2
Minor cleaning
2017-01-30 08:43:47 +01:00
Frode Petterson
9abe7ef321
Merge branch 'master' of github.com:h5p/h5p-php-library
2017-01-26 15:35:53 +01:00
Timothy Lim
5dc9e3ddd1
HFP-580 Handle language files with hyphens
2017-01-26 15:31:51 +01:00
Frode Petterson
bdec1319ed
Always return fileId for tracking tmp files
2017-01-26 14:56:36 +01:00
Frode Petterson
03271418f0
Use correct variable
2017-01-26 14:56:28 +01:00