Inital commit

This commit is contained in:
2020-11-19 15:36:28 +01:00
parent 71f32f83d3
commit 66ce4ee218
18077 changed files with 2166122 additions and 35184 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<config xmlns="http://thelia.net/schema/dic/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
<loops>
<loop name="firewall.control" class="FirewallControl\Loop\FirewallLoop" />
</loops>
<commands>
<command class="FirewallControl\Command\Clear"/>
</commands>
<hooks>
<hook id="firewallcontrol.hook" class="FirewallControl\Hook\HookManager">
<tag name="hook.event_listener" event="configuration.system-bottom" type="back" method="onConfigurationSystemBottom" />
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfigure" />
</hook>
</hooks>
</config>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="http://thelia.net/schema/dic/module"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thelia.net/schema/dic/module http://thelia.net/schema/dic/module/module-2_2.xsd">
<fullnamespace>FirewallControl\FirewallControl</fullnamespace>
<descriptive locale="en_US">
<title>Thelia form firewall control</title>
</descriptive>
<descriptive locale="fr_FR">
<title>Contrôle du pare-feu des formulaires Thelia</title>
</descriptive>
<languages>
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>1.0.0</version>
<authors>
<author>
<name>Franck Allimant</name>
<company>CQFDev</company>
<email>franck@cqfdev.fr</email>
<website>www.cqfdev.fr</website>
</author>
</authors>
<type>classic</type>
<thelia>2.3.0</thelia>
<stability>prod</stability>
</module>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="firewall.control.clear.entry" path="/admin/module/firewallcontrol/clear/{entryId}">
<default key="_controller">FirewallControl\Controller\FirewallController::clearEntry</default>
<requirement key="entryId">\d+</requirement>
</route>
<route id="firewall.control.clear.all" path="/admin/module/firewallcontrol/clearAll">
<default key="_controller">FirewallControl\Controller\FirewallController::clearAll</default>
</route>
</routes>