Commit Graph

1499 Commits (eeefc1228b4294d75288be341e5dea97a10927cb)

Author SHA1 Message Date
Frode Petterson 79223e6a0d Adde support for restricted h5p content types. 2014-08-29 16:30:44 +02:00
Frode Petterson 50b00e6459 Dramatically improved content upgrade performance by caching libraries.
Added real async function to avoid using up the stack.
2014-08-28 09:40:02 +02:00
Frode Petterson 67da268c44 Fixed correct disabling of delete button. 2014-08-27 09:52:15 +02:00
Frode Petterson 68e7c00145 Merge branch 'master' of github.com:h5p/h5p-php-library 2014-08-26 13:24:20 +02:00
Pål Jørgensen f65af6b758 Merge branch 'master' of github.com:h5p/h5p-php-library
Conflicts:
	h5p.classes.php
2014-08-26 12:08:35 +02:00
Pål Jørgensen a75928d5a4 Updates relevant for upgrade-all-libraries feature 2014-08-26 12:00:14 +02:00
Frode Petterson 2ef3b206dc Added missing $this->. 2014-08-26 11:45:00 +02:00
Frode Petterson 4955e9da59 Did some minor refactoring of "minimum version support" to ease implementation of this in other systems. 2014-08-26 11:26:41 +02:00
Frode Petterson 96b75f7d73 Revert "Fixed bug where it appears like you can upgrade libraries without content."
Source was elsewhere.

This reverts commit 72d38fd977.
2014-08-25 15:18:29 +02:00
Frode Petterson 4f4ea4e350 Merge branch 'master' of github.com:h5p/h5p-php-library 2014-08-25 11:35:29 +02:00
Frode Petterson 72d38fd977 Fixed bug where it appears like you can upgrade libraries without content. 2014-08-25 11:35:14 +02:00
Pål Jørgensen 0467a819c1 Updated library-support to latest of all minors 2014-08-22 14:13:49 +02:00
Pål Jørgensen 86507a456b Changes related to listing unsupported libraries, and upgrade of all installed libraries 2014-08-22 14:03:00 +02:00
Frode Petterson ffaad3b20b Merge branch 'master' of github.com:h5p/h5p-php-library 2014-08-22 12:00:56 +02:00
Frode Petterson 4a9e6d620f Made sure only content libraries can be upgraded. 2014-08-22 12:00:06 +02:00
Frode Petterson 952b6e6368 Made it possible to display the library list in a human readable form. 2014-08-22 11:39:45 +02:00
Frode Petterson be44d1fac9 Fixed so that filtered params can be stored in the contents table. 2014-08-22 11:39:15 +02:00
Frode Petterson 1da58ef039 Merge branch 'master' of github.com:h5p/h5p-php-library
Conflicts:
	h5p.classes.php
2014-08-22 11:38:10 +02:00
Frode Petterson 1a1e261dd5 Made it possible to delete libraries without having to load them again. 2014-08-22 11:36:58 +02:00
Frode Petterson 89bacfdb88 Made sure main content id isn't required.
Conflicts:
	h5p.classes.php
2014-08-22 11:36:54 +02:00
Pål Jørgensen e97fc0ae12 Merge branch 'master' of github.com:h5p/h5p-php-library 2014-08-19 10:15:14 +02:00
Pål Jørgensen 426a08e33e Added loadLibraries() to interface 2014-08-19 10:14:55 +02:00
Frode Petterson 89d437774e Added 7.x-1.x changes. 2014-08-18 14:09:38 +02:00
Pål Jørgensen d3cd7aced4 Made changes to structure of upgrades.js. Makes it possible in the future to add stuff for a upgrade 2014-08-04 10:49:49 +02:00
Frode Petterson ebbd4c8fc1 Merge branch 'master' of github.com:h5p/h5p-php-library 2014-07-18 11:26:54 +02:00
Frode Petterson 9adc12ea37 Added function to help convert object and array properties after getting them from the database. 2014-07-18 11:26:46 +02:00
Pål Jørgensen 9b46c8a173 Bugfixes 2014-07-18 10:50:23 +02:00
Pål Jørgensen 4d0a7df486 Made a null-error-object a non-error 2014-07-17 15:04:24 +02:00
Frode Petterson c9d66ec3e9 Make sure H5Ps work in nested iframes. 2014-06-24 15:31:02 +02:00
Frode Petterson 1575e0102e Fixed embed script. 2014-06-24 14:41:35 +02:00
Frode Petterson 41f7039cbf Did some optimization, moved more func to core and added some comments. 2014-06-19 16:09:23 +02:00
Frode Petterson 0bcfa16861 Upgraded icons, throbber and texts. 2014-06-18 11:05:09 +02:00
Frode Petterson 526e8f62d3 Added error if upgrades are missing. 2014-06-16 15:21:40 +02:00
Frode Petterson f688e1b7ab Made it possible to translate content upgrade script. 2014-06-16 14:04:53 +02:00
Frode Petterson 928e58c98b Fixed field processing in content upgrade and removed debugging. 2014-06-16 13:52:35 +02:00
Frode Petterson db5243383d Added support for sub-libraries in content upgrade. Also made upgrades async. 2014-06-13 15:02:26 +02:00
Frode Petterson 8599f2381d Fixed not cached bug in library list. 2014-06-11 15:37:34 +02:00
Frode Petterson dc2c092bc7 Added content upgrade. 2014-06-03 16:07:50 +02:00
Frode Petterson 05f07e5949 Fixed action buttons alignment. 2014-05-28 14:06:51 +02:00
Frode Petterson 08b4888b1e Made it possible to rebuild all content caches from library admin. This is needed to able to view content usage for each library. 2014-05-28 13:18:24 +02:00
Frode Petterson 27a5c4e2a7 Fixed cache invalidation bug. 2014-05-27 14:12:54 +02:00
Frode Petterson 2053b43024 Recreate .h5p when content cache is rebuilt. Avoid loading content dependencies multiple times. 2014-05-27 14:05:20 +02:00
Frode Petterson 43d239c6f1 Temporarily disabled content development mode until we can work out how it should work. 2014-05-27 13:07:53 +02:00
Frode Petterson c5b32fb621 Moved content cache control to core. Made sure updating a library invalidates caches for all content who uses it. All saving of content and filtering of parameters is now handled by core.
ContentValidator now collects a flat list of content dependencies.
2014-05-27 10:55:46 +02:00
Frode Petterson 4a32f976e5 Bumped api version. 2014-05-23 16:15:15 +02:00
Frode Petterson d42f6f6760 Removed FontAwesome and added a custom MIT Licensed font. 2014-05-23 15:48:51 +02:00
Frode Petterson c6ff5c52ed Updated embed fullscreen. Added support for Safari 7. 2014-05-22 11:46:28 +02:00
Frode Petterson 191a6a575c Renamed export JS variable because it's reserved in some browsers. 2014-05-22 11:18:39 +02:00
Frode Petterson 4d5e7a4d4a Added support for real fullscreen on >Safari 7.
Adjusted fullscreen to work better on all browsers.
2014-05-22 11:17:30 +02:00
Frode Petterson dd52ec332e Made sure the browsers built-in JSON is used everywhere. 2014-05-22 11:15:16 +02:00