-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from oat-sa/release-3.6.0
Release 3.6.0
- Loading branch information
Showing
15 changed files
with
698 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
use oat\generis\model\GenerisRdf; | ||
|
||
return new oat\oatbox\config\ConfigurationService(array( | ||
'config' => array( | ||
'callbacks' => array( | ||
'*' => array('trim'), | ||
GenerisRdf::PROPERTY_USER_PASSWORD => array('oat\taoTestTaker\models\CsvImporter::taoSubjectsPasswordEncode') | ||
), | ||
'use_properties_for_event' => false | ||
) | ||
)); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: TAO 3.3.0-sprint72-½\n" | ||
"PO-Revision-Date: 2018-03-21T13:56:57\n" | ||
"Last-Translator: TAO Translation Team <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Language: fr-CA\n" | ||
"sourceLanguage: en-US\n" | ||
"targetLanguage: fr-CA\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"X-Poedit-Basepath: ../../\n" | ||
"X-Poedit-KeywordsList: __\n" | ||
"X-Poedit-SearchPath-0: .\n" | ||
|
||
#, tao-public | ||
msgid "Delete" | ||
msgstr "Supprimer" | ||
|
||
msgid "Edit subject" | ||
msgstr "Modifier le participant" | ||
|
||
#, tao-public | ||
msgid "Export" | ||
msgstr "Exporter" | ||
|
||
#, tao-public | ||
msgid "Import" | ||
msgstr "Importer" | ||
|
||
msgid "Last updated on %2s" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Manage Schema" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Manage test takers" | ||
msgstr "Gestion des participants" | ||
|
||
#, tao-public | ||
msgid "Move" | ||
msgstr "Déplacer" | ||
|
||
#, tao-public | ||
msgid "New class" | ||
msgstr "Nouvelle classe" | ||
|
||
#, tao-public | ||
msgid "New test-taker" | ||
msgstr "Créer participant" | ||
|
||
#, tao-public | ||
msgid "Properties" | ||
msgstr "Propriétés" | ||
|
||
#, tao-public | ||
msgid "Record and manage test takers." | ||
msgstr "Enregistrer et gérer les participants." | ||
|
||
msgid "Test taker saved" | ||
msgstr "Participant enregistré" | ||
|
||
msgid "Test takers" | ||
msgstr "Participants" | ||
|
||
#, tao-public | ||
msgid "Test takers library" | ||
msgstr "Participants" | ||
|
||
msgid "Test takers may be assigned to sets according to the relevant assessment context (Human resources management, education, edumetric monitoring, etc.)." | ||
msgstr "Les participants peuvent être assignés à des ensembles selon le contexte d’évaluation (gestion des ressources humaines, éducation, contrôle d'édumétrie, etc.)." | ||
|
||
#, tao-public | ||
msgid "Test-takers" | ||
msgstr "Participants" | ||
|
||
msgid "The Test takers module allows to record and manage test takers." | ||
msgstr "Le module <i>Participants</i> vous permet d'ajouter et de gérer les sujets des tests." | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
@sourceLanguage en-US | ||
@targetLanguage fr-CA | ||
--> | ||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xml:base="http://www.tao.lu/Ontologies/TAOSubject.rdf#"> | ||
<rdf:Description rdf:about="http://www.tao.lu/Ontologies/TAOSubject.rdf#Subject"> | ||
<!-- | ||
@sourceLanguage en-US | ||
@targetLanguage fr-CA | ||
@source Test-taker | ||
@subject http://www.tao.lu/Ontologies/TAOSubject.rdf#Subject | ||
@predicate http://www.w3.org/2000/01/rdf-schema#label | ||
--> | ||
<rdfs:label xml:lang="fr-CA"><![CDATA[Participant]]></rdfs:label> | ||
<!-- | ||
@sourceLanguage en-US | ||
@targetLanguage fr-CA | ||
@source The Test-taker class | ||
@subject http://www.tao.lu/Ontologies/TAOSubject.rdf#Subject | ||
@predicate http://www.w3.org/2000/01/rdf-schema#comment | ||
--> | ||
<rdfs:comment xml:lang="fr-CA"><![CDATA[La classe des participants]]></rdfs:comment> | ||
</rdf:Description> | ||
<rdf:Description rdf:about="http://www.tao.lu/Ontologies/TAOSubject.rdf#SubjectsManagerRole"> | ||
<!-- | ||
@sourceLanguage en-US | ||
@targetLanguage fr-CA | ||
@source Test Takers Manager | ||
@subject http://www.tao.lu/Ontologies/TAOSubject.rdf#SubjectsManagerRole | ||
@predicate http://www.w3.org/2000/01/rdf-schema#label | ||
--> | ||
<rdfs:label xml:lang="fr-CA"><![CDATA[Gestionnaire Participants]]></rdfs:label> | ||
<!-- | ||
@sourceLanguage en-US | ||
@targetLanguage fr-CA | ||
@source The Test Takers Manager Role | ||
@subject http://www.tao.lu/Ontologies/TAOSubject.rdf#SubjectsManagerRole | ||
@predicate http://www.w3.org/2000/01/rdf-schema#comment | ||
--> | ||
<rdfs:comment xml:lang="fr-CA"><![CDATA[Le rôle Gestionnaire Participants]]></rdfs:comment> | ||
</rdf:Description> | ||
</rdf:RDF> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: TAO 3.3.0-sprint72-½\n" | ||
"PO-Revision-Date: 2018-03-21T13:56:57\n" | ||
"Last-Translator: TAO Translation Team <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Language: fr-CA\n" | ||
"sourceLanguage: en-US\n" | ||
"targetLanguage: fr-CA\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
# http://www.tao.lu/Ontologies/TAOSubject.rdf#Subject | ||
msgctxt "http://www.w3.org/2000/01/rdf-schema#label" | ||
msgid "Test-taker" | ||
msgstr "Participants" | ||
|
||
# http://www.tao.lu/Ontologies/TAOSubject.rdf#Subject | ||
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment" | ||
msgid "The Test-taker class" | ||
msgstr "le groupe de participants" | ||
|
||
# http://www.tao.lu/Ontologies/TAOSubject.rdf#SubjectsManagerRole | ||
msgctxt "http://www.w3.org/2000/01/rdf-schema#label" | ||
msgid "Test Takers Manager" | ||
msgstr "" | ||
|
||
# http://www.tao.lu/Ontologies/TAOSubject.rdf#SubjectsManagerRole | ||
msgctxt "http://www.w3.org/2000/01/rdf-schema#comment" | ||
msgid "The Test Takers Manager Role" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
|
||
/** | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; under version 2 | ||
* of the License (non-upgradable). | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
* Copyright (c) 2018 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT); | ||
* | ||
*/ | ||
namespace oat\taoTestTaker\models; | ||
|
||
class TestTakerSavePasswordInMemory | ||
{ | ||
/** @var array */ | ||
protected static $passwords = []; | ||
|
||
/** @var int */ | ||
protected static $index = 0; | ||
|
||
/** | ||
* @return mixed | ||
*/ | ||
public static function getPassword() | ||
{ | ||
$value = static::$passwords[static::$index]; | ||
static::$index++; | ||
|
||
return $value; | ||
} | ||
|
||
/** | ||
* @param $value | ||
* @return mixed | ||
*/ | ||
public static function saveUserPassword($value) | ||
{ | ||
static::$passwords[] = $value; | ||
|
||
return $value; | ||
} | ||
} |
Oops, something went wrong.