Skip to content

Comments

Merge from Cabri fork - dev branch#174

Open
maxencelav wants to merge 381 commits intovittascience:cabri-syncfrom
Cabri:dev
Open

Merge from Cabri fork - dev branch#174
maxencelav wants to merge 381 commits intovittascience:cabri-syncfrom
Cabri:dev

Conversation

@maxencelav
Copy link
Contributor

No description provided.

@maxencelav maxencelav requested review from ThomasDumazet and ultimecreation and removed request for ultimecreation November 4, 2022 13:48
@maxencelav maxencelav mentioned this pull request Nov 4, 2022
@ThomasDumazet ThomasDumazet changed the base branch from master to cabri-sync November 7, 2022 10:11
Copy link
Member

@ThomasDumazet ThomasDumazet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • What is the purpose of classroom/Views/_newExercicesPanel.html? It should be deleted if it's not to be used in OpenSTEAM-LMS core.
  • The favicon.ico file with Cabri logo should be removed.
  • About translation files, the spelling and grammatical corrections are welcome but all elements specific for Cabri use should be removed.


<div class="col-md">
<label for="app_create_sort_index" data-i18n="manager.activitiesRestrictions.indexPos">Nombre</label>
<label for="app_create_sort_index" data-i18n="manager.activitiesRestrictions.max">Nombre</label>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manager.activitiesRestrictions.max does'nt exist in the translation files. Would'nt it be better to change this in the translation plugin ?

genialyiframe: {
title: CURLANG.genialy,
buttonHTML: '<img class="fonticon ve-tlb-link1" src="/classroom/assets/media/activity/SigleGenially.png" width="26" height="26" style="margin-top: 2px;" />',
buttonHTML: '<img class="fonticon ve-tlb-link1" src="/learn/assets/media/SigleGenially.png?version=VERSIONNUM" width="26" height="26" style="margin-top: 2px;" />',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of changing /classroom to /learn ? This folder does'nt seem to exist.

<html lang="en">

<head>
<>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this change intentional?
If so, what is the purpose?

<link rel="stylesheet" href="assets/css/modal.css">
<link rel="stylesheet" href="assets/css/elements.css">
<link href="assets/css/jquery-ui.css?version=VERSIONNUM">
<link rel="stylesheet" href="assets/css/bootstrap.css?version=VERSIONNUM">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to keep the id="bs4-css-import" attribute for the bootstrap css link.

<!-- end manager & groupadmin -->
<script src="assets/js/main/Main.js"></script>
<script src="assets/js/main/Loader.js"></script>
<script src="assets/js/main/Main.js?version=1.2.7c"></script>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here the file version isn't VERSIONNUM but 1.2.7c.
Is that intentional ?

$contentItemsLabel = "https://purl.imsglobal.org/spec/lti-dl/claim/content_items";
// here save activity url in db

//dd($validatedToken);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This dd() can be deleted

// TODO: IT SHOULD BE BETTER TO GENERATE THE PUBLIC KEY HERE INSTEAD OF GETTING IT FROM THE JWKS ENDPOINT
$jwks = json_decode(file_get_contents("https://{$_SERVER['HTTP_HOST']}"."/classroom/lti/certs.php"), true);
//$platform_url = isset($_SERVER['HTTPS']) ? 'https://' : 'http://' . $_SERVER['HTTP_HOST'];
//$platform_url = getenv('VS_HOST');
Copy link
Member

@ThomasDumazet ThomasDumazet Nov 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lines 35 and 36 can be removed.


// todo HTTP_HOST is insecure (controlled by the client)
$platform_url = "https://{$_SERVER['HTTP_HOST']}";
//$platform_url = isset($_SERVER['HTTPS']) ? 'https://' : 'http://' . $_SERVER['HTTP_HOST'];
Copy link
Member

@ThomasDumazet ThomasDumazet Nov 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lines 28 and 29 can be removed.

StrippoliJules and others added 8 commits July 25, 2024 12:09
fix

fix sepcial add html

fix delete activity and notif

test log

try fix delete notif

fix forgot

fix

test fix

fix

back fix

remove html

back to +/- fix title

try fix change delete modal name of activity

restore notif

test fix modal text title

test fix notif

fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants