Commit Graph

830 Commits (f510d0f0e92eefc0b3cbb0aabf5db33673c42946)

Author SHA1 Message Date
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
Frode Petterson 4ffbf2bace Removed old flowplayer. 2014-05-22 08:59:30 +02:00
Frode Petterson 08f8c46544 Changed getDependenciesFiles format to make it easier to use on all systems. 2014-05-09 10:48:05 +02:00
Frode Petterson 86441f4bec Be able to skip cache busting on dependency files.
Renamed tmp to temp.
Suppress errors when moving content folder.
Made sure loaded development libraries bring their semantics.
2014-05-08 16:28:36 +02:00
Frode Petterson 48b07c46f5 Adapted and simplified export, makes it easier to implement on new systems and improves performance. 2014-05-07 16:43:48 +02:00
Frode Petterson 34d65b9601 Changed savePackage so it's easier to send along extra content data. 2014-05-06 16:52:43 +02:00
Frode Petterson 700fc1c67b Added individual cache busting to dependency files. Improves performance and is useful for systems without a cache buster string / js aggr. 2014-05-06 11:48:36 +02:00
Frode Petterson 73836a0660 Imported changes from D6. 2014-05-02 15:45:45 +02:00
Frode Petterson e338f3e5bd Removed font size overriding when embedded by div. This improves the flow with the rest of the content. 2014-05-02 15:39:55 +02:00
Frode Petterson cd99c71812 Merge branch 'master' of github.com:h5p/h5p-php-library 2014-04-30 16:03:24 +02:00
Frode Petterson d53c1877ea Removed deprecated resize loop. Should not be needed anymore. 2014-04-30 16:02:19 +02:00
Frode Petterson 1566c4e2b4 Small updated to the resize system. Should now handle libraries without .$ and FF fullscreen events on Windows. 2014-04-30 15:59:19 +02:00
Frode Petterson fd9a41f957 Quickfix so WP can get the id of new content. (used for redirect) 2014-04-28 15:09:07 +02:00
Frode Petterson 568637a718 Merge branch 'master' of github.com:h5p/h5p-php-library 2014-04-22 16:34:55 +02:00
Frode Petterson ea6a226069 Added support for auto increment on content id when saving packages.
Made core create directories if they doesn't exist.
Added md and textile to file whitelist.
2014-04-22 16:33:01 +02:00
Frode Petterson c83092f747 Imported changes from 7.x-1.x 2014-04-14 10:50:37 +02:00
Frode Petterson 9e01bbfb81 Imported changes from Drupal 6.x. 2014-04-13 15:52:12 +02:00
Frode Petterson c77b6ee19e Fixed some notices by setting default values. 2014-03-26 08:47:56 +01:00
Frode Petterson 81feec677d Synced library with module 6.x-1.x. 2014-03-26 08:43:29 +01:00
Frode Petterson c06123a21e Revert "BUGFIX: Replace str_replace with preg_quote"
This reverts commit ec10ce034e.
2014-02-11 13:47:24 +01:00