Juan Cortizas Ponte
3bd6b6e29c
Refactoring code to fix IExplorer support
4 years ago
Juan Cortizas Ponte
76f80ab0ee
Fix IExplorer support
4 years ago
Yannick Warnier
6ef45cdeee
Add note about the cmi.exit string
4 years ago
DamienLyon
b959fa96fc
param == "cmi.exit"
...
Ajout du verbe cmi.exit en plus de cmi.core.exit
Meilleure compatibilité avec le logiciel auteur RISE 360
SCORM 2004
4 years ago
DamienLyon
04d2f60b51
Learnpath: SCORM: Prevent re-init suspenddata in get_local_suspend_data() on logout
...
Authored-by: LudiscapeXApi <LudiscapeXApi@users.noreply.github.com>
4 years ago
Julio Montoya
89d96ae259
LPs: Read lp_item extra field 'no_automatic_validation' see BT#18568
...
Chamilo by default changes the lp item to status = complete when the
LP is a document. Setting the "no_automatic_validation" to true,
Chamilo will not do that. The HTML file will be in charge of that update
The document can update the status with LMSCommit('iframe');
Example in the HTML:
<script>
document.addEventListener("DOMContentLoaded", function(event) {
if (window.parent && window.parent.API) {
let api = window.parent.API;
if (api) {
api.LMSSetValue('cmi.core.score.raw', 100);
api.LMSSetValue("cmi.core.lesson_status", "completed");
api.LMSCommit('iframe');
}
}
});
</script>
5 years ago
Yannick Warnier
3c298e9d99
Update scorm_api.php ( #3837 )
...
Learnpath: prevent re-init suspenddata on fonction get_local_suspend_data when logout in scorm_api.php - refs BT#18229
5 years ago
Yannick Warnier
fbd8d8f85c
Learnpath: Add SCORM 2004 hacks and support for localStorage in scorm_api.php - refs BT#18229
5 years ago
Julio Montoya
755e5d913c
Minor - add logs
5 years ago
Julio Montoya
5a092bee57
Scorm: After LMSCommit don't clean variables, call prerequisite from DB
...
#2063
BT#17936
5 years ago
Julio Montoya
701d4f6bc2
Minor - add logs
5 years ago
Julio Montoya
3231b2d7f9
LPs: Fix getValue always returning "not attempted"
...
See #2063
5 years ago
Julio Montoya
62a526d6eb
LP: Remove unused code, add cidReq in stats php page
5 years ago
Julio Montoya
853d209778
Minor - remove double variable declaration
5 years ago
Julio Montoya
d8fbfee8da
Learning path: Fix scorm score using score as progress setting BT#17710
5 years ago
Julio Montoya
cc4ae51f1b
LPs: Add sleep() when saving scorm status completed WIP BT#17835
5 years ago
Julio Montoya
3e8b1fcbf2
WIP: async: false in SCORM BT#17387
5 years ago
Julio Montoya
6aa6386200
WIP: Add $.when(saveAjax).done in SCORM + remove unused code
5 years ago
Julio Montoya
a609850cab
Minor - format code
5 years ago
Angel Fernando Quiroz Campos
d7a583ba77
Add lp_prevents_beforeunload conf setting - refs BT#17345
...
Allows prevent to the user before leaving a learning path
5 years ago
Julio Montoya
29183c486b
Minor - add logs
6 years ago
Julio Montoya
5cb5d5f382
WIP: Use navigator.sendBeacon when on beforeunload in SCORM BT#17086
6 years ago
Julio Montoya
295eaff37d
Fix not saving progress in mac - safari
...
when using scorm and closing window BT#16644
6 years ago
Julio Montoya
917296a711
WIP fix "beforeunload" in mac safari scorm BT#17036
6 years ago
Julio Montoya
32424fe605
Add xajax_save_item_scorm onbeforeunload/unload BT#17028
6 years ago
Julio Montoya
03cf2da2fe
WIP: Add jquery for unload and beforeunload in scorm api BT#17036
6 years ago
Yannick Warnier
073335587b
Learnpath: Add userId to learnpath::get_view() to avoid SQL error
6 years ago
Julio Montoya
50c394b90d
Minor - flint fixes
6 years ago
NicoDucou
6eacf4baf0
Adding option to define if the user is identified by the user_id or by the username in the LP scorm communication -refs BT#16731
6 years ago
Yannick Warnier
5643beaace
Learning path: Add option to use score as progress in single-SCO SCORM packages
...
Implement feature request #3069
6 years ago
Julio Montoya
cd0f0b8419
Fix js error see BT#15660
7 years ago
Julio Montoya
e413aeb80c
Fix scorm loading + fix js error see BT#15511
7 years ago
Julio
c07b9958a4
Replace $(document).ready with shortcut version
7 years ago
Julio
b5eac6a7ee
Use encodeURIComponent to avoid error with "+" char see BT#15256
7 years ago
Alex Aragón
4263aa510c
New navigation menu for mobile - refs #2755
7 years ago
Alex Aragón
9d2f24a74a
fix tye scorm - refs #2755
7 years ago
Alex Aragón
88e095abf3
add type iframe - refs #2755
7 years ago
Angel Fernando Quiroz Campos
be4f22be03
Moving api_unserialize_content for Unserialize::unserialize
...
Moving to avoid overload api.lib.php
7 years ago
Angel Fernando Quiroz Campos
89a6c5275c
Fix unserialized scorm/aicc packages
...
See #2821
7 years ago
Angel Fernando Quiroz Campos
f936d459b9
Use brumann/polyfill-unserialize to unserialize content
7 years ago
Angel Fernando Quiroz Campos
016cce31b1
Fix comments in code from #2757 + rename variables
7 years ago
Angel Fernando Quiroz Campos
162c07c82d
Minor - Fix comments in code from #2757
7 years ago
Julio Montoya
3df6466cf1
Minor - format code
7 years ago
Julio Montoya
85e1093d6c
Update LP view using lp min time BT#15020
7 years ago
Julio Montoya
795a50a644
Set fixed pages to be opened in a new window
7 years ago
Angel Fernando Quiroz Campos
b3fa8b01b0
Fix scorm layout - refs BT#14835 #2695
7 years ago
Julio Montoya
2fb58b5d0a
SCORM: Don't update lesson status, SCORM should send an update
...
This fixes an error that sets an item to not attempted automatically
BT#14947
7 years ago
Julio Montoya
bb3f533781
Minor - format code
7 years ago
Julio Montoya
ccb09501a2
Minor - use $ instead of JQuery
7 years ago
Julio Montoya
37bf70e359
LP: Fix error that switches the time spent in a step see BT#14947
...
WIP, Requires testing
7 years ago