Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
6dde406
Started prototype
gvollbach Dec 4, 2019
532093c
WiP
gvollbach Dec 10, 2019
fa18129
Add form elements for compulsory questions
gvollbach Mar 13, 2020
abea611
Implement more logic for compulsory question
gvollbach Mar 16, 2020
e6cd52b
Make question modal not static if compulsory question is anwsered
gvollbach Mar 16, 2020
1f49890
More logic for compulsory question
gvollbach Mar 16, 2020
f52a97d
Code cleanup
gvollbach Mar 16, 2020
a9ec3fb
Removed possibility to close modal
gvollbach Mar 16, 2020
d4fb2fd
Refactoring
gvollbach Mar 16, 2020
47fe266
Show close button if feedback exists
gvollbach Mar 17, 2020
9afa588
Fxied typo
gvollbach Mar 17, 2020
8dc9ac6
Add compulsory column to comments table
gvollbach Mar 17, 2020
0516268
implemented auto scroll for view all comments
gvollbach Jan 17, 2020
4cc0148
optimized code
gvollbach Jan 17, 2020
25643da
changed changelog and readme
gvollbach Mar 17, 2020
c3eea09
Fix sql query for comments
gvollbach Mar 17, 2020
bfb2e89
Code style
gvollbach Mar 17, 2020
cfc694e
Refactoring
gvollbach Mar 17, 2020
425823f
Refactoring
gvollbach Mar 17, 2020
2ca3b0f
Refactoring question lock mechanism
gvollbach Mar 17, 2020
bc63bfe
Refactoring
gvollbach Mar 17, 2020
274b6c4
refactoring question viewer
gvollbach Mar 17, 2020
c3783c9
refactoring question viewer
gvollbach Mar 17, 2020
16c5258
Refactoring
gvollbach Mar 18, 2020
62c8d4f
Refactoring
gvollbach Mar 20, 2020
bd316bb
Merge master
gvollbach Mar 20, 2020
63a0986
Refactoring, code style
gvollbach Mar 20, 2020
9eb8a1e
uuid generator
gvollbach Mar 20, 2020
10ae37b
refctoring
gvollbach Mar 20, 2020
2712315
Refactoring, code style
gvollbach Mar 20, 2020
0a5f26b
Refactoring, code style
gvollbach Mar 20, 2020
9760191
Refactoring, code style
gvollbach Mar 20, 2020
06d9323
Corrected lang var
gvollbach Mar 24, 2020
cb60b8e
Fixed mode bug
gvollbach Mar 24, 2020
6a7daec
Learning Progress: Add new mode
mjansenDatabay Jul 15, 2020
ca39db6
Learning Progress: Add new mode
mjansenDatabay Jul 15, 2020
0b9be6a
Learning Progress: Add new mode
mjansenDatabay Jul 15, 2020
41bc7ef
Learning Progress: Add new mode
mjansenDatabay Jul 15, 2020
6374105
Forum: Increase performance by reduce amount of obsolete SQL statements
mjansenDatabay Jul 15, 2020
6f4f2fa
Merge branch 'master' into feature/learning-progress/mode-all-questio…
mjansenDatabay Jul 16, 2020
6839bf3
Fix stuff for 6.x
gvollbach Jul 24, 2020
858d648
Fix css style
gvollbach Jul 24, 2020
928bc71
Fix event handling
gvollbach Jul 30, 2020
3a8ddf7
Fix 28721, timecode wrong function
gvollbach Aug 4, 2020
b2088c8
Fix #28720 video width by youtube
gvollbach Aug 4, 2020
908d011
Fix #28723: When deleting question results: A number instead of the s…
gvollbach Aug 4, 2020
5383924
0028732: Editing a reflective question: Box "Feedback at least one wr…
gvollbach Aug 5, 2020
6642193
0028731: Editing questions: If evaluation is set to "with correct ans…
gvollbach Aug 5, 2020
c2b1cd6
0028706: Deleting a comment in the sub tab "My Comments": Hitting "De…
gvollbach Aug 5, 2020
2a799f7
[ILIAS Plugins 0028728]: Editing comments in the sub tab "My Comments…
gvollbach Aug 5, 2020
0d077a2
0028729: Editing questions with user results: "Are you sure..." quest…
gvollbach Aug 5, 2020
413b1f1
Removed debug code
gvollbach Aug 5, 2020
0e3f12a
0026098: Option "Publish All Comments" doesnt work properly
gvollbach Aug 6, 2020
0555f75
0027722: Option "Skip correctly answered questions" does its job not …
gvollbach Aug 6, 2020
89e9e1d
0028720: 6.0 bug: YouTube videos are not responsive
gvollbach Aug 6, 2020
58ee01c
Fix path
gvollbach Aug 12, 2020
7783dfe
Add toc option
gvollbach Aug 14, 2020
f8f681e
Add tab navigation functions#
gvollbach Aug 14, 2020
a64e201
Implement toc function
gvollbach Aug 17, 2020
8dd999b
Add more config options for toc
gvollbach Aug 17, 2020
659af4c
Implement best solution
gvollbach Aug 18, 2020
731fc3b
Add chapter form
gvollbach Aug 20, 2020
cc79c50
Implement last changes
gvollbach Aug 24, 2020
f5c2734
Add show/hide on click
gvollbach Aug 24, 2020
eb4fd04
Fix open/close bug
gvollbach Aug 24, 2020
d02999d
Fix buidling bug
gvollbach Aug 24, 2020
16c944b
Created feature branch for uni bern
gvollbach Sep 4, 2020
6650539
Add onclick event for chapter button
gvollbach Sep 17, 2020
656a65c
Consolidate events
gvollbach Sep 17, 2020
2e5c8a6
Merge features
gvollbach Sep 17, 2020
eb3195c
Chang compulsory header color
gvollbach Sep 17, 2020
aef01c9
Change lang variables
gvollbach Sep 18, 2020
d6ca248
Align buttons left
gvollbach Sep 18, 2020
f0af7e3
Fix lang variables
gvollbach Sep 18, 2020
4a6c32b
Fix table sorting
gvollbach Sep 18, 2020
98c84db
Fix sql select for comment id
gvollbach Sep 18, 2020
c63c12d
Fix toc when scrolling
gvollbach Sep 18, 2020
000589f
Fixed comment table
gvollbach Sep 18, 2020
a107b91
Add documentation
gvollbach Sep 24, 2020
ae3dbf2
Add documentation
gvollbach Sep 24, 2020
b0f40fe
Add documentation
gvollbach Sep 24, 2020
fb8c474
Fix 0029006: Table of Content: Clickable regions of title and timesta…
gvollbach Oct 7, 2020
3f76dfe
Fix 0029006: Table of Content: Clickable regions of title and timesta…
gvollbach Oct 7, 2020
943bb15
0029008: Table of Content: Alter behavior when clicking on a title
gvollbach Oct 7, 2020
b446d96
0029009: Table of Content: Sorting for "type" in the table "Questions…
gvollbach Oct 7, 2020
c867895
029011: Table of Content: If comment stream gets disabled the toolbar…
gvollbach Oct 8, 2020
b04c60a
Changes tab design
gvollbach Oct 8, 2020
54250d1
Add css arrow for toc
gvollbach Oct 8, 2020
ae75f41
0029007: Table of Content: Line between boxes is dotted when chapter …
gvollbach Oct 8, 2020
5fc7473
Removed last wrong pixel
gvollbach Oct 8, 2020
f0e4da0
Fixed typo
gvollbach Oct 8, 2020
0fe041d
Fixed arrow handling
gvollbach Oct 9, 2020
1d70f78
Add skeleton method to support percentaged learning progress
mjansenDatabay Oct 12, 2020
3ca75a0
Implement determination of percentage
mjansenDatabay Oct 12, 2020
53681df
Merge pull request #26 from DatabayAG/feature/lp-percentage
gvollbach Oct 12, 2020
35510fb
Fix learning progress if an xvid object contains MC questions
mjansenDatabay Oct 14, 2020
7189ac7
Layout changes
gvollbach Oct 15, 2020
bbd2c0a
Remove scrolltotop
gvollbach Oct 15, 2020
1b80b32
Merge branch '6_x_features_uni_bern' of https://github.com/DatabayAG/…
gvollbach Oct 15, 2020
c7ed9d4
Fix learning progress if an xvid object contains MC questions
mjansenDatabay Oct 15, 2020
ebef0aa
Merge pull request #27 from DatabayAG/feature/lp-percentage
mjansenDatabay Oct 15, 2020
f0841ea
0029044: Creating comments in the tab "Content" does not work
gvollbach Oct 15, 2020
5c75c0c
0026098: Option "Publish All Comments" doesnt work properly
gvollbach Oct 15, 2020
d571e5f
Fixed close button
gvollbach Oct 19, 2020
1bdaa01
Add learning progress RBAC operations
mjansenDatabay Nov 21, 2020
76e19ea
Added missing attribute
gvollbach Dec 10, 2020
e02570f
Plugin functions
gvollbach Jan 4, 2021
5ea33e5
Changed deletion confirm dialog
gvollbach Feb 18, 2021
b3f71b6
Fix 30082
gvollbach Mar 2, 2021
dfb9f8e
Added pull requests from master
gvollbach Mar 9, 2021
c8926be
#30341
gvollbach Mar 10, 2021
a1ec9d7
Best possible solution
gvollbach Mar 29, 2021
e0ee69e
Fixed lang
gvollbach Apr 13, 2021
56176b8
Changed lang
gvollbach Apr 13, 2021
a105275
Fixed #30540
gvollbach Apr 13, 2021
6cec2ec
Fixed lang #30545
gvollbach Apr 13, 2021
10b14e2
Fixed double comment on seeking
gvollbach Jun 16, 2021
312d986
removed debug code
gvollbach Jun 16, 2021
f5ee91d
Implement new show best solution layout and function
gvollbach Jun 16, 2021
b27a611
Fixed repeat question
gvollbach Jun 16, 2021
83565a9
Fixed question handling
gvollbach Jun 17, 2021
38194ba
Fixed alingment
gvollbach Jun 17, 2021
3405624
Add best solution for reflection question
gvollbach Jun 18, 2021
7e0fb30
Move best solution
gvollbach Jun 18, 2021
9dcb0a5
Changed lang file
gvollbach Jun 23, 2021
1e1672a
Fix #30918
gvollbach Jun 23, 2021
42713ce
Apply only by SC
gvollbach Jun 23, 2021
6eb2d81
Fix #30916
gvollbach Jun 23, 2021
ae2477f
Fix #30919
gvollbach Jun 23, 2021
063c5f2
Fix #30921
gvollbach Jun 23, 2021
6a84052
Fix #30922
gvollbach Jun 23, 2021
9acc1e7
Left align reflection solution text
gvollbach Jun 23, 2021
2313318
Fix #30925
gvollbach Jun 23, 2021
c204ceb
Fix #30927
gvollbach Jun 23, 2021
b0d40bd
Fix #30920
gvollbach Jun 23, 2021
76aa37b
Fixed checked state for reflection question
gvollbach Jun 23, 2021
c241b34
started fixing refelction handling
gvollbach Jun 23, 2021
dfbfafa
Fix #30923
gvollbach Jun 24, 2021
80364a3
Fix #30922
gvollbach Jun 24, 2021
dc8d659
Fix #30937
gvollbach Jun 24, 2021
a074c37
Fix 30926
gvollbach Jun 24, 2021
6e6af14
Fix #35
gvollbach Jun 25, 2021
d99b822
Fix close button for refelction form
gvollbach Jun 28, 2021
c6b166a
Fix #30915
gvollbach Jun 28, 2021
d806c87
Fixed 31077
gvollbach Jul 19, 2021
d535afd
Fixed 31081
gvollbach Jul 19, 2021
ea87a81
Fix #31047
gvollbach Jul 29, 2021
734b292
Fixed #31071
gvollbach Jul 29, 2021
397a9d7
Fix #31070
gvollbach Jul 29, 2021
89efc93
Merge branch '6_x_features_uni_bern' into 6_x
gvollbach Sep 1, 2021
c76f68f
Fixed version info
gvollbach Sep 1, 2021
8795695
Fixed version info
gvollbach Sep 1, 2021
3333825
Merge pull request #29 from DatabayAG/hotfix/add-lp-rbac-operations
gvollbach Sep 1, 2021
d8cbaa1
Merge pull request #36 from DatabayAG/6_x_features_uni_bern
gvollbach Sep 1, 2021
7b4b24a
Added opencast to readme
gvollbach Sep 1, 2021
f0ceabe
Merge branch '6_x' of https://github.com/DatabayAG/InteractiveVideo i…
gvollbach Sep 1, 2021
9a6358d
Fixed #31073
gvollbach Sep 6, 2021
f8e6f7a
fixed #31028
gvollbach Sep 6, 2021
0977574
Fixed #30916
gvollbach Sep 6, 2021
2e06139
First part fix #30919
gvollbach Sep 6, 2021
9be36c5
Changed sorting of feedback form
gvollbach Sep 7, 2021
a8b6b75
Removed YouTube inline stying and added display flex container styling.
dmundra Sep 15, 2021
9e59ccf
Fixed null problem
gvollbach Oct 5, 2021
cab3930
Added italian language
padvincenzo Oct 13, 2021
36d0547
Added italian language
padvincenzo Oct 13, 2021
09638b3
Added italian language
padvincenzo Oct 13, 2021
975218a
Added italian language
padvincenzo Oct 13, 2021
9d0923f
Merge pull request #40 from oc-group/6_x
gvollbach Oct 14, 2021
b4f2e8b
Merge pull request #37 from dmundra/flex-box-styling
gvollbach Oct 14, 2021
10ed93d
Added player id to toc
gvollbach Nov 9, 2021
f0dc43e
Fixed wrong redirect if ILIAS 6
gvollbach Nov 22, 2021
7692ebc
Fixed #31642
gvollbach Nov 23, 2021
89f5b39
Added lang var for learning progress
gvollbach May 12, 2022
2f1d74e
Fixed #19775
gvollbach Jul 1, 2022
6eb1765
Merge branch '6_x' of https://github.com/DatabayAG/InteractiveVideo i…
gvollbach Jul 1, 2022
f7b44ad
fixup listgui
rfcmaXi Dec 7, 2022
ffb9d68
Merge pull request #43 from rfcmaXi/fixup_listgui
gvollbach Feb 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.6.0
1. Compulsory questions
2. Automatic scrolling if show all comments is active
3. New Learning Progress mode
4. Table of contents

# 2.0.25
1. Disable toolbar setting

Expand Down
2 changes: 1 addition & 1 deletion VideoSources/class.ilInteractiveVideoSourceFactoryGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getPlayer($player_id)
protected function sourceDoesNotExistsAnymore()
{
ilUtil::sendFailure(ilInteractiveVideoPlugin::getInstance()->txt('source_does_not_exist'), true);
ilUtil::redirect('ilias.php?baseClass=ilPersonalDesktopGUI');
ilUtil::redirect('ilias.php?baseClass=ilDashboardGUI');
}

/**
Expand Down
5 changes: 2 additions & 3 deletions VideoSources/class.ilInteractiveVideoUniqueIds.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public static function getInstance()
*/
public function getNewId()
{
$new_id = $this->generateUniqueId();
return $new_id;
return $this->generateUniqueId();
}

/**
Expand All @@ -45,7 +44,7 @@ protected function generateUniqueId()
{
$unique_id = '';
for ($i = 0; $i <= self::ROUNDS; $i++) {
$rand = 'iv_' . rand();
$rand = uniqid('iv_');
if (!in_array($rand, $this->id_container)) {
$this->id_container[$rand] = $rand;
$unique_id = $rand;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function getPlayer($player_id, $obj)
{
require_once 'Services/WebAccessChecker/classes/class.ilWACSignedPath.php';
$player = new ilTemplate(self::PATH . 'tpl/tpl.video.html', false, false);
ilObjMediaObjectGUI::includePresentationJS($player);
ilObjMediaObjectGUI::includePresentationJS();
$media_object = new ilInteractiveVideoMediaObject();
$mob_id = $media_object->doReadVideoSource($obj->getId());
$mob_dir = ilObjMediaObject::_getDirectory($mob_id);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,32 @@ $(document).ready(function () {
il.InteractiveVideo.last_stopPoint = -1;

il.InteractiveVideoSubtitle.initializeSubtitleTracks(player_id);

il.InteractiveVideo[player_id].player = new MediaElementPlayer("#" + player_id, {
il.InteractiveVideo[player_id].player = new MediaElementPlayer(player_id, {

timerRate: 50,
enablePluginDebug: false,
stretching: "responsive",

success: function (media) {

media.addEventListener('loadeddata', function () {
player = $("video#" + player_id)[0];

il.InteractiveVideoPlayerAbstract.config[player_id] = {
pauseCallback: (function () {
player.pause(player_id);
}),
playCallback: (function () {
player.play(player_id);
}),
durationCallback: (function () {
return player.duration;
}),
currentTimeCallback: (function () {
return player.currentTime;
}),
setCurrentTimeCallback: (function (time) {
player.setCurrentTime(time, player_id);
})
};

player = $("#" + player_id)[0];
il.InteractiveVideoPlayerAbstract.config[player_id] = {
pauseCallback: (function () {
player.pause(player_id);
}),
playCallback: (function () {
player.play(player_id);
}),
durationCallback: (function () {
return player.duration;
}),
currentTimeCallback: (function () {
return player.currentTime;
}),
setCurrentTimeCallback: (function (time) {
player.setCurrentTime(time, player_id);
})
};
media.addEventListener('loadedmetadata', function () {
il.InteractiveVideoPlayerComments.fillEndTimeSelector(il.InteractiveVideoPlayerAbstract.duration(player_id));
}, false);

Expand Down
1 change: 1 addition & 0 deletions VideoSources/core/MediaObject/lang/ilias_it.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
imo#:#Carica file video
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function getId()
*/
public function getClassPath()
{
return 'VideoSources/plugin/InteractiveVideoFauVideoPortal/class.ilInteractiveVideoSimpleUrl.php';
return 'VideoSources/core/SimpleUrl/class.ilInteractiveVideoSimpleUrl.php';
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,32 @@ $( document ).ready(function() {
il.InteractiveVideo.last_stopPoint = -1;
il.InteractiveVideoSubtitle.initializeSubtitleTracks(player_id);

il.InteractiveVideo[player_id].player = new MediaElementPlayer("#" + player_id, {
il.InteractiveVideo[player_id].player = new MediaElementPlayer(player_id, {

timerRate: 50,
enablePluginDebug: false,
stretching: "responsive",

success: function (media) {

media.addEventListener('loadeddata', function () {
player = $("video#" + player_id)[0];

il.InteractiveVideoPlayerAbstract.config[player_id] = {
pauseCallback: (function () {
player.pause(player_id);
}),
playCallback: (function () {
player.play(player_id);
}),
durationCallback: (function () {
return player.duration;
}),
currentTimeCallback: (function () {
return player.currentTime;
}),
setCurrentTimeCallback: (function (time) {
player.setCurrentTime(time, player_id);
})
};

player = $("#" + player_id)[0];
il.InteractiveVideoPlayerAbstract.config[player_id] = {
pauseCallback: (function () {
player.pause(player_id);
}),
playCallback: (function () {
player.play(player_id);
}),
durationCallback: (function () {
return player.duration;
}),
currentTimeCallback: (function () {
return player.currentTime;
}),
setCurrentTimeCallback: (function (time) {
player.setCurrentTime(time, player_id);
})
};
media.addEventListener('loadedmetadata', function () {
il.InteractiveVideoPlayerComments.fillEndTimeSelector(il.InteractiveVideoPlayerAbstract.duration(player_id));
}, false);

Expand Down
3 changes: 3 additions & 0 deletions VideoSources/core/SimpleUrl/lang/ilias_it.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
surl#:#Url
simple_url#:#URL semplice
simple_url_info#:#Inserisci un URL a un video.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function onYouTubeIframeAPIReady() {
$.each(il.InteractiveVideo, function (player_id, value) {
if (value.hasOwnProperty("player_type") && value.player_type === "ytb") {
var player = new YT.Player(player_id, {
videoId: interactiveVideoYoutubeId,
videoId: $('#'+player_id).attr('data-youtube-id'),
events: {
'onStateChange': onPlayerStateChange,
'onReady': function (media) {
Expand Down
3 changes: 3 additions & 0 deletions VideoSources/core/Youtube/lang/ilias_it.lang
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ytb_youtube_url#:#URL YouTube
ytb_youtube_info#:#Inserisci un URL di YouTube.
ytb#:#YouTube
19 changes: 1 addition & 18 deletions VideoSources/core/Youtube/tpl/tpl.video.html
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
<style>
#ilInteractiveVideo {
float: none;
clear: both;
width: 100%;
position: relative;
}
.ilInteractiveVideoPlayerContainer iframe {
top: 0;
left: 0;
width: 100%;
padding-top:15px;
}
</style>
<script>
var interactiveVideoYoutubeId = "{YOUTUBE_ID}";
</script>
<div id="{PLAYER_ID}"></div>
<div id="{PLAYER_ID}" data-youtube-id="{YOUTUBE_ID}"></div>
8 changes: 5 additions & 3 deletions classes/Form/class.ilTextAreaInputCkeditorGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ public function __construct($a_title = "", $a_postvar = "")
$this->usePurifier(true);
}

/**
* Insert property html
*/
/**
* @param ilTemplate $a_tpl
* @return int|void
* @throws ilTemplateException
*/
public function insert($a_tpl)
{
$this->appendJavascriptFile();
Expand Down
Loading