Commit Graph

198 Commits (5ca6a5f39a8eabbe09494fee0da272abeb6ec282)

Author SHA1 Message Date
Svein-Tore Griff With 5ca6a5f39a Issue #2120227 by gafolini, Ellinokon and falcon: Add export feature to H5P 2013-11-14 13:48:07 +01:00
Frank Ronny Larsen 1d46204ac0 Merge branch 'master' of ssh://stash.amendor.com:7999/h5p/h5p-core-php
Conflicts:
	h5p.classes.php
2013-11-13 15:38:32 +01:00
Frank Ronny Larsen d9532a44ed Escape '|' characters in regexp 2013-11-13 15:36:00 +01:00
Svein-Tore Griff With 2454bcfa2a BUGFIX: The strikethrough was removed when an H5P was saved 2013-11-08 18:46:47 +01:00
Svein-Tore Griff With 1a6ef6f0fa Why are we using | instead of / around the regex? Change to / so that we may use | inside the regex 2013-11-08 18:24:42 +01:00
Svein-Tore Griff With cd5fd2d3d9 Resolve conflicts 2013-11-08 18:22:48 +01:00
Svein-Tore Griff With 0d97f6952c Add iframe support and more license types 2013-11-08 18:16:41 +01:00
Frode Petterson 44b5d89970 Fixed iframe solution in IE8. 2013-10-28 14:08:59 +01:00
Frode Petterson 2720ec5f16 Added iframe support (by: Frank Ronny Larsen). 2013-10-25 15:10:50 +02:00
Svein-Tore Griff With 12523d810c Fix styling issues for sites that has uncleard floating blocks 2013-10-21 13:23:36 +02:00
Svein-Tore Griff With f939e00f44 Fix styling issues for sites that has uncleard floating blocks 2013-10-21 13:22:13 +02:00
Frode Petterson d633697065 Added users stats function: setFinished. 2013-09-18 15:52:06 +02:00
Frode Petterson 4d319b3424 Merged in changed from drupal git. 2013-09-18 10:30:48 +02:00
Svein-Tore Griff With ece7b5bcde Add support for GPL license in libraries 2013-09-17 15:57:13 +02:00
Svein-Tore Griff With 1549075a57 From ICC, allow extra params 2013-09-17 15:53:37 +02:00
Svein-Tore Griff With 7d989c648d Merge branch 'master' of ssh://stash.amendor.com:7999/h_core/h5p-core-php 2013-09-10 22:43:37 +02:00
Svein-Tore Griff With 6f46c5a5fa Move H5P content to top of body 2013-09-10 22:43:31 +02:00
Frank Ronny Larsen 5014df84cd BUGFIX: Previous fix lost events in H5P. 2013-08-13 15:00:11 +02:00
Frank Ronny Larsen 89caf91f7d BUGFIX: Make h5p-semi-fullscreen appear above everything. 2013-08-13 14:17:23 +02:00
Frank Ronny Larsen 676edc5eec BUGFIX: The saveLibraryData method is assumed to have a argument, include in Interface 2013-08-13 14:16:56 +02:00
Svein-Tore Griff With 2187777720 Add development mode 2013-08-12 08:11:11 +02:00
Svein-Tore Griff With c53ce16ef0 Adding doc folder 2013-08-02 10:21:26 +02:00
Svein-Tore Griff With 022fee6036 Remove the contains array prototype extension 2013-07-25 01:56:20 +02:00
Svein-Tore Griff With 26240d2887 Do not add shuffle to array prototype 2013-07-25 01:50:16 +02:00
Svein-Tore Griff With 9a4f57fa7d Make sure that texts are texts 2013-07-24 18:01:07 +02:00
Frank Ronny Larsen bd1f25448b OPPG-473: Safari now use fake fullscreen.
Which is better than real fullscreen IMNSVHO...
2013-07-18 15:58:52 +02:00
Frank Ronny Larsen 7736506b39 Avoid double encoding of htmlspecialchars, we get them encoded from editor 2013-07-17 15:11:37 +02:00
Frank Ronny Larsen 67cfc1d333 OPPG-470: More potential threats in validator 2013-07-17 12:55:51 +02:00
Svein-Tore Griff With db388d9a14 OPPG-470: Fixed several (potential) security problems
The biggest problem was that no filtering was done on lists because list values wasn't passed by referende through foreach
Also made sure lists where lists and keys where numbers
Made sure libraries only have library and semantics properties
2013-07-17 11:41:23 +02:00
Frank Ronny Larsen 46e4d67c06 Merge branch 'master' of b.amendor.com:h5p 2013-07-16 08:56:10 +02:00
Svein-Tore Griff With b69ee7c2e3 OPPG-436: Rewrote logic so that the entire library processing is skipped if the user doesn't have access to update libraries 2013-07-15 17:36:56 +02:00
Frank Ronny Larsen 6d231499e3 OPPG-459: "multiple" option for semantic type "select"
Specifies that the select shall handle multiple options.
Used by dynamicCheckboxes widget.
2013-07-15 16:25:10 +02:00
Frank Ronny Larsen fcc9ed4e24 Merge branch 'master' of b.amendor.com:h5p 2013-07-15 15:12:51 +02:00
Frank Ronny Larsen ca8aca2678 Validator fixes...
Added better handling of select widget for multiple selects:
 - Test for array, checks each element if found.
 - Tests if valid options are set in semantics, enters "strict" mode if set (allows only said options)
 - Non strict mode allows any option.
 - All set values are htmlspecialcharred, even if strict.
2013-07-15 15:07:53 +02:00
Svein-Tore Griff With 4dfb80a8d9 Move whitelist logic out of drupal and into H5P core 2013-07-13 22:25:18 +02:00
Frank Ronny Larsen 706c61bfe8 Replaced PHP strip_tags with D7 filter_xss. Good thing we cache this.. 2013-07-12 14:49:37 +02:00
Frank Ronny Larsen 7af599ae0d OPPG-413: Merge file handlers, better htmlspecialchars
Filelike objects are now handled by the same code, not 4 copies of it.
htmlspecialchars are now specified as UTF-8 and will encode ALL quotes.
2013-07-11 15:17:26 +02:00
Frank Ronny Larsen fb1b9fc719 OPPG-413: Fixed security hole inserted by validator itself.. 2013-07-11 15:13:15 +02:00
Frank Ronny Larsen 4509626a0d OPPG-413: Changed how HTML is handled for text. Any text widget with tags specified will now be treated as HTML 2013-07-11 14:36:31 +02:00
Frank Ronny Larsen 27345e22f8 BUGFIX: Use , not semantics tags after preprocessing tags, fixes in_array bugs 2013-07-11 13:12:17 +02:00
Frank Ronny Larsen b487f452d6 BUGFIX: Regexp from semantics does not contain delimiters. Add in PHP 2013-07-10 11:02:17 +02:00
Frank Ronny Larsen ec5c3ae1d5 BUGFIX: -> 2013-07-10 10:34:41 +02:00
Frank Ronny Larsen 7ab0309d0c OPPG-413: If using defaults, add extra tags for table etc. too. + Extra validation for image/video/audio 2013-07-10 09:59:35 +02:00
Frank Ronny Larsen ca1e84293a OPPG-413: Use default tag list if no tags are set. 2013-07-09 15:42:30 +02:00
Frank Ronny Larsen d57f4cb109 Merge branch 'master' of b.amendor.com:h5p
Conflicts:
	library/h5p.classes.php
2013-07-09 15:16:36 +02:00
Frank Ronny Larsen ab316a163c OPPG-425: Add hook_alter_h5p_semantics
Also re-adds getLibrarySemantics in core, used by the validator to fetch decoded semantics.
This function is also responsible for calling the hook.
2013-07-09 15:13:09 +02:00
Frode Petterson 9a12f49aea OPPG-413: Added this. 2013-07-09 14:43:22 +02:00
Frank Ronny Larsen b5990bff8e Merge branch 'master' of b.amendor.com:h5p 2013-07-09 11:01:38 +02:00
Frank Ronny Larsen 938b38c6f6 Comment fix 2013-07-09 11:01:29 +02:00
Pål Jørgensen 54040c273e Implemented String.prototype.trim if not defined to support IE8 2013-07-09 10:36:27 +02:00