Commit Graph

1160 Commits (f112f761c36530849c97dd2bb78caf00c895b397)

Author SHA1 Message Date
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
Frode Petterson 7d8d85f450 Merged in library changes. 2014-02-11 13:45:40 +01:00
Frode Petterson ced3f8e711 Moved css into library. 2014-01-29 16:03:51 +01:00
Frode Petterson b65e28f449 HFJ-146: Disabled real full screen in Safari. 2014-01-20 14:05:10 +01:00
Frode Petterson b3c3aed32a Removed deprecated js. 2014-01-02 15:41:56 +01:00
Frode Petterson cca335b731 Merge branch 'master' of ssh://stash.amendor.com:7999/h5p/h5p-core-php 2013-12-20 13:34:18 +01:00
Frode Petterson 7a3888a367 Prevent copy of trees that does not exist. 2013-12-20 13:31:08 +01:00
Frank Ronny Larsen 925e6c73f9 Merge branch 'master' of ssh://stash.amendor.com:7999/h5p/h5p-core-php 2013-12-18 11:33:17 +01:00
Frank Ronny Larsen ec10ce034e BUGFIX: Replace str_replace with preg_quote 2013-12-18 11:32:57 +01:00
Frank Ronny Larsen e893086931 BUGFIX: Unknown regexp modifier 'k' removed 2013-12-18 11:32:18 +01:00
Frode Petterson a41a8f82f9 HFJ-93: Removed check that prevents iframe from getting bigger than window. 2013-12-13 14:26:36 +01:00
Frank Ronny Larsen 691a1c8be5 Merge branch 'master' of ssh://stash.amendor.com:7999/h5p/h5p-core-php 2013-12-05 12:17:25 +01:00
Frank Ronny Larsen b7f14a4c44 HFJ-59: Renamed coreVersion to coreApi.
Removes annoying double naming (coreVersion.majorVersion become coreApi.majorVersion)
Explicitly states that the versioning is one the API.
Explicitly states that this is the core version. (apiVersion could mean API of the library)
2013-12-05 12:15:17 +01:00
Frode Petterson bb496b4d29 HPN-36: Fixed semi-fullscreen exit with key. 2013-12-04 15:21:34 +01:00
Frode Petterson 0884bf369a Added more attrs for videos. 2013-12-03 11:36:31 +01:00
Frode Petterson 57b1c88435 Fixed FontAwesome to avoid collisions and preserve backwards compatibility. 2013-12-02 14:19:15 +01:00
Frank Ronny Larsen 6bb9c9a9b6 HFJ-59: Added coreVersion check for libraries, and explicitly set H5PCore version to 1.0 2013-11-27 10:09:57 +01:00
Frank Ronny Larsen c87b233482 Polished function comments to keep a constant style, added sanity check in shuffleArray 2013-11-26 14:56:31 +01:00
Frank Ronny Larsen 47dcb931e9 Fix regexp slashes and FontAwesome dependency 2013-11-26 14:40:38 +01:00
Svein-Tore Griff With 563a5f2674 Use / instead of pipe as regexp fence in order to make pipe work inside the regexp. Needs testing 2013-11-25 23:44:45 +01:00
Svein-Tore Griff With 69ad6c9370 Add button stylings (By magnuma) 2013-11-23 01:31:12 +01:00