Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

Commit 666a783

Browse files
ngodfraindLaurentGruber
authored andcommitted
[CoreBundle] Fixing the upgrade. (#2482)
* self explanatory * try to restore * fixing * avoir duplicate admintoolroles entries * phpmd * js checkstyle * checkstyle * jslint * webpack
1 parent b70c73c commit 666a783

File tree

178 files changed

+331
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+331
-305
lines changed

.eslintrc.json

100644100755
File mode changed.

.gitattributes

100644100755
File mode changed.

.github/ISSUE_TEMPLATE.md

100644100755
File mode changed.

.github/PULL_REQUEST_TEMPLATE.md

100644100755
File mode changed.

.modernizrrc

100644100755
File mode changed.

.sensiolabs.yml

100644100755
File mode changed.

.travis.yml

100644100755
File mode changed.

doc/badges/index.md

100755100644
File mode changed.

main/core/DataFixtures/PostInstall/Data/PostLoadRolesData.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function load(ObjectManager $manager)
2828
$role = $manager->getRepository('ClarolineCoreBundle:Role')->findOneByName('ROLE_WS_CREATOR');
2929
$tool = $manager->getRepository('ClarolineCoreBundle:Tool\AdminTool')->findOneByName('workspace_management');
3030

31-
$this->container->get('claroline.manager.tool_manager')
32-
->addRoleToAdminTool($tool, $role);
31+
$this->container->get('claroline.manager.tool_manager')->addRoleToAdminTool($tool, $role);
3332
}
3433
}

main/core/Entity/Tool/AdminTool.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Claroline\CoreBundle\Entity\Tool;
1313

1414
use Claroline\CoreBundle\Entity\Plugin;
15+
use Claroline\CoreBundle\Entity\Role;
1516
use Doctrine\Common\Collections\ArrayCollection;
1617
use Doctrine\ORM\Mapping as ORM;
17-
use Claroline\CoreBundle\Entity\Role;
1818

1919
/**
2020
* @ORM\Entity(repositoryClass="Claroline\CoreBundle\Repository\AdministrationToolRepository")
@@ -81,7 +81,9 @@ public function getName()
8181

8282
public function addRole(Role $role)
8383
{
84-
$this->roles->add($role);
84+
if (!$this->roles->contains($role)) {
85+
$this->roles->add($role);
86+
}
8587
}
8688

8789
public function removeRole(Role $role)

main/core/Library/Installation/Plugin/ConfigurationChecker.php

+14-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ public function check(PluginBundle $plugin, $updateMode = false)
5757

5858
$config = $this->yamlParser->parse(file_get_contents($plugin->getConfigFile()));
5959
$names = [];
60-
$listResource = $this->em->getRepository('ClarolineCoreBundle:Resource\ResourceType')->findAll();
60+
61+
//required for update to claroline v10 because database not updated yet from older version
62+
try {
63+
$listResource = $this->em->getRepository('ClarolineCoreBundle:Resource\ResourceType')->findAll();
64+
} catch (\Exception $e) {
65+
$listResource = [];
66+
}
6167

6268
foreach ($listResource as $resource) {
6369
$names[] = $resource->getName();
@@ -74,7 +80,13 @@ public function check(PluginBundle $plugin, $updateMode = false)
7480
}
7581

7682
$resourceActions = [];
77-
$listResourceActions = $this->em->getRepository('ClarolineCoreBundle:Resource\MenuAction')->findBy(['resourceType' => null, 'isCustom' => true]);
83+
84+
//required for update to claroline v10 because database not updated yet from older version
85+
try {
86+
$listResourceActions = $this->em->getRepository('ClarolineCoreBundle:Resource\MenuAction')->findBy(['resourceType' => null, 'isCustom' => true]);
87+
} catch (\Exception $e) {
88+
$listResourceActions = [];
89+
}
7890

7991
foreach ($listResourceActions as $resourceAction) {
8092
$resourceActions[] = $resourceAction->getName();

main/core/Library/Installation/Plugin/DatabaseWriter.php

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ public function update(PluginBundle $pluginBundle, array $pluginConfiguration)
137137

138138
$plugin->setHasOptions($pluginConfiguration['has_options']);
139139
$this->em->persist($plugin);
140+
$this->log('Configuration was retrieved: updating...');
140141
$this->updateConfiguration($pluginConfiguration, $plugin, $pluginBundle);
141142
$this->em->flush();
142143

main/core/Library/Installation/Plugin/Installer.php

+3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function setLogger(LoggerInterface $logger)
7373
{
7474
$this->logger = $logger;
7575
$this->baseInstaller->setLogger($logger);
76+
$this->recorder->setLogger($logger);
7677
}
7778

7879
/**
@@ -187,6 +188,8 @@ public function updateAllConfigurations()
187188
$this->validator->activeUpdateMode();
188189
$this->validatePlugin($bundle['instance']);
189190
$this->validator->deactivateUpdateMode();
191+
$this->log('Plugin validated: proceed to database changes...');
192+
$this->om->clear();
190193
$this->recorder->update($bundle['instance'], $this->validator->getPluginConfiguration());
191194
}
192195
}

main/core/Library/Installation/Plugin/Recorder.php

+5
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,9 @@ public function isRegistered(PluginBundle $plugin)
9898
{
9999
return $this->dbWriter->isSaved($plugin);
100100
}
101+
102+
public function setLogger($logger)
103+
{
104+
$this->dbWriter->setLogger($logger);
105+
}
101106
}

main/core/Library/Installation/Updater/Updater090300.php

+27-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
use Claroline\CoreBundle\Entity\Workspace\Workspace;
1616
use Claroline\InstallationBundle\Updater\Updater;
17+
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
1718
use Doctrine\DBAL\Exception\TableNotFoundException;
19+
use Psr\Log\LogLevel;
1820
use Symfony\Component\DependencyInjection\ContainerInterface;
1921
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
2022

@@ -52,13 +54,17 @@ public function postUpdate()
5254
$roleManager = $this->container->get('claroline.manager.role_manager');
5355
$om = $this->container->get('claroline.persistence.object_manager');
5456
$models = $this->connection->query('SELECT * FROM claro_workspace_model')->fetchAll();
57+
$toCheck = [];
58+
$i = 0;
59+
$this->connection->query('SET FOREIGN_KEY_CHECKS=0');
5560

5661
foreach ($models as $model) {
57-
$code = '[MOD]'.$model['name'].uniqid();
62+
$code = '[MOD]'.$model['name'];
5863
$workspace = $om->getRepository('ClarolineCoreBundle:Workspace\Workspace')->findOneByCode($code);
5964

6065
if (!$workspace) {
61-
$this->log('Creating workspace from model '.$model['name']);
66+
++$i;
67+
$this->log('Creating workspace from model '.$model['name'].': '.$i.'/'.count($models));
6268

6369
try {
6470
$modelUsers = $this->connection->query("SELECT * FROM claro_workspace_model_user u where u.workspacemodel_id = {$model['id']}")->fetchAll();
@@ -102,14 +108,26 @@ public function postUpdate()
102108
$roleManager->associateRoleToMultipleSubjects($users, $managerRole);
103109
$roleManager->associateRoleToMultipleSubjects($groups, $managerRole);
104110
$this->om->persist($newWorkspace);
105-
$this->om->flush();
111+
$this->om->forceFlush();
112+
$this->om->clear();
113+
$defaultUser = $this->container->get('claroline.manager.user_manager')->getDefaultUser();
114+
$token = new UsernamePasswordToken($defaultUser, '123', 'main', $defaultUser->getRoles());
115+
$this->container->get('security.token_storage')->setToken($token);
116+
$this->om->merge($defaultUser);
106117

107118
$this->log("Updatig cursus for model {$model['name']}");
108-
$modelResources = $this->connection->query("
109-
UPDATE claro_cursusbundle_course r
110-
SET r.workspace_model_id = {$newWorkspace->getId()}
111-
WHERE r.workspace_model_id = {$model['id']}"
112-
)->execute();
119+
try {
120+
$modelResources = $this->connection->query("
121+
UPDATE claro_cursusbundle_course r
122+
SET r.workspace_model_id = {$newWorkspace->getId()}
123+
WHERE r.workspace_model_id = {$model['id']}"
124+
)->execute();
125+
} catch (ForeignKeyConstraintViolationException $e) {
126+
$this->log('Error when setting the model flag for cursuses', LogLevel::ERROR);
127+
$this->log($e->getMessage(), LogLevel::ERROR);
128+
$this->log('Continuing update...');
129+
$toCheck[] = [$newWorkspace, $model];
130+
}
113131
} catch (TableNotFoundException $e) {
114132
$this->log('Model table already removed');
115133
}
@@ -118,6 +136,7 @@ public function postUpdate()
118136
}
119137
}
120138

139+
$this->connection->query('SET FOREIGN_KEY_CHECKS=1');
121140
$this->dropModelTable();
122141
}
123142

main/core/Library/Installation/Updater/Updater100000.php

+18-25
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function __construct(ContainerInterface $container, $logger)
2727
$this->container = $container;
2828
$this->logger = $logger;
2929
$this->om = $container->get('claroline.persistence.object_manager');
30+
$this->connection = $this->container->get('doctrine.dbal.default_connection');
3031
}
3132

3233
public function postUpdate()
@@ -70,31 +71,23 @@ public function setResourceNodeProperties()
7071
$i = 0;
7172
$this->log("Adding properties for {$totalObjects} resource nodes...");
7273

73-
foreach ($entities as $entity) {
74-
if ($entity->isFullscreen() === null) {
75-
$entity->setFullscreen(false);
76-
}
77-
if (!$entity->isClosable() === null) {
78-
$entity->setClosable(false);
79-
}
80-
if (!$entity->getCloseTarget() === null) {
81-
$entity->setCloseTarget(0);
82-
}
83-
84-
++$i;
85-
86-
$this->om->persist($entity);
87-
88-
if ($i % 300 === 0) {
89-
$this->log("Flushing [{$i}/{$totalObjects}]");
90-
$this->om->flush();
91-
}
92-
}
93-
94-
$this->om->flush();
95-
$this->log('Clearing object manager...');
96-
$this->om->clear();
97-
$this->log('done !');
74+
$this->connection->query('
75+
UPDATE claro_resource_node crn
76+
SET crn.fullscreen = false
77+
WHERE crn.fullscreen is NULL'
78+
)->execute();
79+
80+
$this->connection->query('
81+
UPDATE claro_resource_node crn
82+
SET crn.closable = false
83+
WHERE crn.closable is NULL'
84+
)->execute();
85+
86+
$this->connection->query('
87+
UPDATE claro_resource_node crn
88+
SET crn.closeTarget = 0
89+
WHERE crn.closeTarget is NULL'
90+
)->execute();
9891
}
9992

10093
public function rebuildMaskAndMenus()

main/core/Resources/public/css/common/daterangepicker.css

100755100644
File mode changed.

main/core/Resources/public/css/common/jqplot/jquery.jqplot.css

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_flat_0_aaaaaa_40x100.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_glass_55_fbf9ee_1x400.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_glass_65_ffffff_1x400.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_glass_75_dadada_1x400.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_glass_75_e6e6e6_1x400.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_glass_75_ffffff_1x400.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_highlight-soft_75_cccccc_1x100.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-bg_inset-soft_95_fef1ec_1x100.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-icons_222222_256x240.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-icons_2e83ff_256x240.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-icons_454545_256x240.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-icons_888888_256x240.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-icons_cd0a0a_256x240.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/images/ui-icons_f6cf3b_256x240.png

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/jquery-ui-1.9.2.custom.css

100755100644
File mode changed.

main/core/Resources/public/css/common/jquery-ui-bootstrap/jquery.ui.1.9.2.ie.css

100755100644
File mode changed.

main/dev/Resources/hooks/pre-commit

100755100644
File mode changed.

main/dev/Resources/hooks/pre-commit-eslint

100755100644
File mode changed.

main/dev/Resources/hooks/pre-commit-md

100755100644
File mode changed.

main/dev/Resources/hooks/pre-commit-phpcs

100755100644
File mode changed.

main/dev/Resources/hooks/pre-commit-phpmd

100755100644
File mode changed.

plugin/activity-tool/Resources/public/images/icons/res_activity.png

100755100644
File mode changed.

plugin/badge/Resources/public/images/test/html5_logo.png

100755100644
File mode changed.

plugin/badge/Resources/public/js/add.js

100755100644
File mode changed.

plugin/badge/Resources/public/js/badge_picker.js

100755100644
File mode changed.

plugin/badge/Resources/public/js/edit.js

100755100644
File mode changed.

plugin/badge/Resources/public/js/list.js

100755100644
File mode changed.

plugin/badge/Resources/public/js/profile.js

100755100644
File mode changed.

plugin/badge/Resources/public/js/rules.js

100755100644
File mode changed.

plugin/badge/Resources/views/less/badge.less

100755100644
File mode changed.

plugin/badge/Resources/views/less/badge_picker.less

100755100644
File mode changed.

plugin/badge/Tests/Unit/Manager/BadgeManagerTest.php

100755100644
+25-25
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
namespace Icap\BadgeBundle\Manager;
44

5-
use Icap\BadgeBundle\Entity\BadgeRule;
65
use Claroline\CoreBundle\Entity\User;
7-
use Icap\BadgeBundle\Entity\Badge;
8-
use Icap\BadgeBundle\Entity\UserBadge;
96
use Claroline\CoreBundle\Library\Testing\MockeryTestCase;
107
use Doctrine\Common\Collections\ArrayCollection;
8+
use Icap\BadgeBundle\Entity\Badge;
9+
use Icap\BadgeBundle\Entity\BadgeRule;
10+
use Icap\BadgeBundle\Entity\UserBadge;
1111

1212
class BadgeManagerTest extends MockeryTestCase
1313
{
@@ -86,19 +86,19 @@ public function testAddBadgeToUsersProvider()
8686
$user = new User();
8787
$userBadge = new UserBadge();
8888

89-
return array(
90-
array($badge, array(null, null, null), array($user, $user, $user), 3),
89+
return [
90+
[$badge, [null, null, null], [$user, $user, $user], 3],
9191

92-
array($badge, array($userBadge, null, null), array($user, $user, $user), 2),
93-
array($badge, array(null, $userBadge, null), array($user, $user, $user), 2),
94-
array($badge, array(null, null, $userBadge), array($user, $user, $user), 2),
92+
[$badge, [$userBadge, null, null], [$user, $user, $user], 2],
93+
[$badge, [null, $userBadge, null], [$user, $user, $user], 2],
94+
[$badge, [null, null, $userBadge], [$user, $user, $user], 2],
9595

96-
array($badge, array(null, $userBadge, $userBadge), array($user, $user, $user), 1),
97-
array($badge, array($userBadge, null, $userBadge), array($user, $user, $user), 1),
98-
array($badge, array($userBadge, $userBadge, null), array($user, $user, $user), 1),
96+
[$badge, [null, $userBadge, $userBadge], [$user, $user, $user], 1],
97+
[$badge, [$userBadge, null, $userBadge], [$user, $user, $user], 1],
98+
[$badge, [$userBadge, $userBadge, null], [$user, $user, $user], 1],
9999

100-
array($badge, array($userBadge, $userBadge, $userBadge), array($user, $user, $user), 0),
101-
);
100+
[$badge, [$userBadge, $userBadge, $userBadge], [$user, $user, $user], 0],
101+
];
102102
}
103103

104104
/**
@@ -157,16 +157,16 @@ public function testGenerateExpiredDateProvider()
157157
->setExpireDuration(2)
158158
->setExpirePeriod(Badge::EXPIRE_PERIOD_YEAR);
159159

160-
return array(
161-
array($badge1, new \DateTime('2014-02-02'), new \DateTime('2014-02-03')),
162-
array($badge2, new \DateTime('2014-02-02'), new \DateTime('2014-02-04')),
163-
array($badge3, new \DateTime('2014-02-02'), new \DateTime('2014-02-09')),
164-
array($badge4, new \DateTime('2014-02-02'), new \DateTime('2014-02-16')),
165-
array($badge5, new \DateTime('2014-02-02'), new \DateTime('2014-03-02')),
166-
array($badge6, new \DateTime('2014-02-02'), new \DateTime('2014-04-02')),
167-
array($badge7, new \DateTime('2014-02-02'), new \DateTime('2015-02-02')),
168-
array($badge8, new \DateTime('2014-02-02'), new \DateTime('2016-02-02')),
169-
);
160+
return [
161+
[$badge1, new \DateTime('2014-02-02'), new \DateTime('2014-02-03')],
162+
[$badge2, new \DateTime('2014-02-02'), new \DateTime('2014-02-04')],
163+
[$badge3, new \DateTime('2014-02-02'), new \DateTime('2014-02-09')],
164+
[$badge4, new \DateTime('2014-02-02'), new \DateTime('2014-02-16')],
165+
[$badge5, new \DateTime('2014-02-02'), new \DateTime('2014-03-02')],
166+
[$badge6, new \DateTime('2014-02-02'), new \DateTime('2014-04-02')],
167+
[$badge7, new \DateTime('2014-02-02'), new \DateTime('2015-02-02')],
168+
[$badge8, new \DateTime('2014-02-02'), new \DateTime('2016-02-02')],
169+
];
170170
}
171171

172172
public function testIsRuleChangedWithOneRuleAndNoChange()
@@ -209,7 +209,7 @@ public function testIsRuleChangedWitOneRuleAndOneNewRule()
209209
$unitOfWork
210210
->shouldReceive('getEntityChangeSet')->once()
211211
->with($originalRule1)
212-
->andReturn(array());
212+
->andReturn([]);
213213
$entityManager = $this->entityManager;
214214
$entityManager
215215
->shouldReceive('getUnitOfWork')
@@ -235,7 +235,7 @@ public function testIsRuleChangedWitOneRuleChanged()
235235
$unitOfWork
236236
->shouldReceive('getEntityChangeSet')->once()
237237
->with($originalRule1)
238-
->andReturn(array('action' => array(uniqid(), uniqid())));
238+
->andReturn(['action' => [uniqid(), uniqid()]]);
239239
$entityManager = $this->entityManager;
240240
$entityManager
241241
->shouldReceive('getUnitOfWork')

plugin/collecticiel/Resources/public/js/datatables-init.js

100755100644
File mode changed.

plugin/exo/Installation/Updater/Updater090000.php

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function __construct(
7070

7171
public function postUpdate()
7272
{
73+
return;
7374
$this->updateExerciseTypes();
7475
$this->updateAnswerData();
7576
$this->cleanOldPairQuestions();

plugin/exo/Migrations/pdo_mysql/Version20170220095034.php

-8
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ public function up(Schema $schema)
7373
ADD CONSTRAINT FK_4ABE4F561E27F6BF FOREIGN KEY (question_id)
7474
REFERENCES ujm_question_grid (id)
7575
');
76-
$this->addSql('
77-
ALTER TABLE ujm_interaction_hole
78-
DROP originalText
79-
');
8076
}
8177

8278
public function down(Schema $schema)
@@ -98,9 +94,5 @@ public function down(Schema $schema)
9894
$this->addSql('
9995
DROP TABLE ujm_cell
10096
');
101-
$this->addSql('
102-
ALTER TABLE ujm_interaction_hole
103-
ADD originalText TEXT DEFAULT NULL COLLATE utf8_unicode_ci
104-
');
10597
}
10698
}

plugin/exo/Migrations/pdo_mysql/Version20170313132611.php

-8
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ public function up(Schema $schema)
1818
ALTER TABLE ujm_exercise
1919
ADD show_end_page TINYINT(1) NOT NULL
2020
');
21-
$this->addSql('
22-
ALTER TABLE ujm_hole
23-
DROP position
24-
');
2521
}
2622

2723
public function down(Schema $schema)
@@ -30,9 +26,5 @@ public function down(Schema $schema)
3026
ALTER TABLE ujm_exercise
3127
DROP show_end_page
3228
');
33-
$this->addSql('
34-
ALTER TABLE ujm_hole
35-
ADD position INT DEFAULT NULL
36-
');
3729
}
3830
}

plugin/exo/Resources/public/images/icons/res_exo.png

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/css/formula-editor-icons.css

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/css/formula-editor.css

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/img/formula-editor-icons.png

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/index.html

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/AreaPanel.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/Button.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/ButtonPanel.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/ButtonSection.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/DropdownList.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/DropdownListItem.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/Editor.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/components/Toolbar.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/lib/ArrayIterator.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/lib/HashArray.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/lib/Utils.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/parameters/actions.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/parameters/panels.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/translations/en.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/translations/es.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/js/translations/fr.js

100755100644
File mode changed.

plugin/formula/Resources/public/tinymce/plugins/formula/plugin.min.js

100755100644
File mode changed.

plugin/forum/Resources/public/images/icons/res_forum.png

100755100644
File mode changed.

plugin/image-player/Resources/public/images/icons/res_image.png

100755100644
File mode changed.

plugin/lti/Controller/LtiController.php

100755100644
File mode changed.

plugin/lti/Controller/LtiWsController.php

100755100644
File mode changed.

plugin/lti/Entity/LtiApp.php

100755100644
File mode changed.

plugin/lti/Form/AppType.php

100755100644
File mode changed.

plugin/lti/Listener/LtiListener.php

100755100644
File mode changed.

plugin/lti/Manager/twig/Params.php

100755100644
File mode changed.

plugin/lti/Repository/LtiAppRepository.php

100755100644
File mode changed.

plugin/lti/Resources/config/config.yml

100755100644
File mode changed.

plugin/lti/Resources/config/routing.yml

100755100644
File mode changed.

plugin/lti/Resources/translations/lti.en.json

100755100644
File mode changed.

plugin/lti/Resources/translations/lti.fr.json

100755100644
File mode changed.

plugin/lti/Resources/translations/resource.en.json

100755100644
File mode changed.

plugin/lti/Resources/translations/resource.fr.json

100755100644
File mode changed.

plugin/lti/Resources/views/Lti/app.html.twig

100755100644
File mode changed.

plugin/lti/Resources/views/Lti/open_app.html.twig

100755100644
File mode changed.

plugin/lti/UJMLtiBundle.php

100755100644
File mode changed.

plugin/path/Resources/modules/alert/Directive/AlertBoxDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/alert/Service/AlertService.js

100755100644
File mode changed.

plugin/path/Resources/modules/alert/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/clipboard/Service/ClipboardService.js

100755100644
File mode changed.

plugin/path/Resources/modules/clipboard/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/confirm/Controller/ConfirmModalCtrl.js

100755100644
+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ export default class ConfirmModalCtrl {
1111
* Confirm delete step
1212
* @returns void
1313
*/
14-
$scope.confirm = function() {
14+
$scope.confirm = function () {
1515
$uibModalInstance.close()
1616
}
1717

1818
/**
1919
* Abort delete step
2020
* @returns void
2121
*/
22-
$scope.cancel = function() {
22+
$scope.cancel = function () {
2323
$uibModalInstance.dismiss('cancel')
2424
}
2525
}

plugin/path/Resources/modules/confirm/Partial/confirm.html

100755100644
File mode changed.

plugin/path/Resources/modules/confirm/Service/ConfirmService.js

100755100644
File mode changed.

plugin/path/Resources/modules/confirm/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/form/Directive/DurationFieldDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/form/Partial/duration-field.html

100755100644
File mode changed.

plugin/path/Resources/modules/form/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/history/Service/HistoryService.js

100755100644
File mode changed.

plugin/path/Resources/modules/history/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/navigation/Directive/PathNavigationItemDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/navigation/Partial/navigation.html

100755100644
File mode changed.

plugin/path/Resources/modules/path/Directive/PathEditDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/path/Directive/PathShowDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/path/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-primary/Controller/ResourcesPrimaryBaseCtrl.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-primary/Controller/ResourcesPrimaryEditCtrl.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-primary/Controller/ResourcesPrimaryShowCtrl.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-primary/Directive/ResourcesPrimaryEditDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-primary/Directive/ResourcesPrimaryShowDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-primary/Partial/edit.html

100755100644
File mode changed.

plugin/path/Resources/modules/resource-primary/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/Controller/ResourcesSecondaryBaseCtrl.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/Controller/ResourcesSecondaryEditCtrl.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/Controller/ResourcesSecondaryShowCtrl.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/Directive/ResourcesSecondaryEditDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/Directive/ResourcesSecondaryShowDirective.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/Partial/edit.html

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/Partial/show.html

100755100644
File mode changed.

plugin/path/Resources/modules/resource-secondary/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource/Service/ResourceService.js

100755100644
File mode changed.

plugin/path/Resources/modules/resource/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/step/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/summary/Partial/edit-item.html

100755100644
File mode changed.

plugin/path/Resources/modules/summary/Partial/edit.html

100755100644
File mode changed.

plugin/path/Resources/modules/summary/Partial/show.html

100755100644
File mode changed.

plugin/path/Resources/modules/summary/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/user-progression/module.js

100755100644
File mode changed.

plugin/path/Resources/modules/utils/Filter/TruncateFilter.js

100755100644
File mode changed.

plugin/path/Resources/modules/utils/Service/IdentifierService.js

100755100644
File mode changed.

plugin/path/Resources/modules/utils/module.js

100755100644
File mode changed.

plugin/path/Resources/public/images/icons/res_file.png

100755100644
File mode changed.

plugin/pdf-player/Resources/public/images/icons/res_pdf.png

100755100644
File mode changed.

plugin/rss-reader/Resources/public/images/icons/res_rss.png

100755100644
File mode changed.

plugin/url/Resources/public/images/icons/res_url.png

100755100644
File mode changed.

plugin/video-player/Resources/public/images/icons/res_video.png

100755100644
File mode changed.

plugin/web-resource/Resources/public/images/icons/res_web.png

100755100644
File mode changed.

plugin/website/Resources/modules/blocks/httpInterceptor/http-interceptor.module.js

100755100644
File mode changed.

0 commit comments

Comments
 (0)