-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 87b7bf6
Showing
395 changed files
with
104,933 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Cache and logs (Symfony2) | ||
/app/cache/* | ||
/app/logs/* | ||
!app/cache/.gitkeep | ||
!app/logs/.gitkeep | ||
|
||
# Email spool folder | ||
/app/spool/* | ||
|
||
# Cache, session files and logs (Symfony3) | ||
/var/cache/* | ||
/var/logs/* | ||
/var/sessions/* | ||
!var/cache/.gitkeep | ||
!var/logs/.gitkeep | ||
!var/sessions/.gitkeep | ||
|
||
# Parameters | ||
/app/config/parameters.yml | ||
/app/config/parameters.ini | ||
|
||
# Managed by Composer | ||
/app/bootstrap.php.cache | ||
/var/bootstrap.php.cache | ||
/bin/* | ||
!bin/console | ||
!bin/symfony_requirements | ||
/vendor/ | ||
|
||
# Assets and user uploads | ||
/web/bundles/ | ||
/web/uploads/ | ||
|
||
# Assets managed by Bower | ||
/web/assets/vendor/ | ||
|
||
# PHPUnit | ||
/app/phpunit.xml | ||
/phpunit.xml | ||
|
||
# Build data | ||
/build/ | ||
|
||
# Composer PHAR | ||
/composer.phar | ||
|
||
# Backup entities generated with doctrine:generate:entities command | ||
*/Entity/*~ |
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,19 @@ | ||
Welcome to Myddleware community and thanks for joining us ! | ||
|
||
Myddleware 2.0 is the customisable free open-source platform that facilitates data migration and synchonisation between applications. | ||
|
||
<img class="alignnone size-large wp-image-447" src="http://community.myddleware.com/wp-content/uploads/2016/11/create_rule_view-1024x596.png" alt="create_rule_view" width="640" height="373" /> | ||
|
||
<a href="http://community.myddleware.com/" target="_blank">On our community website,</a> you’ll find everything you’re looking for to master Myddleware, from step-by-step tutorials, to English and French forums. You can also tailor Myddleware to your needs by creating you custom code. Please use <a href="https://github.com/Myddleware" target="_blank">our github</a> to share it. | ||
|
||
This community is ours : let’s all contribute, make it a friendly, helpful space where we can all find what we’re looking for! | ||
|
||
Please don’t hide any precious skills from us, whether it is coding, translation, connectors creation, .... the list goes on! The whole community could then benefit from these! | ||
|
||
Applications connected (Version 2.0.2): SAP CRM, SuiteCRM, Prestashop, Bittle, Dolist, Salesforce, SugarCRM, Mailchimp, Magento, Sage CRM, Moodle, Evetbrite. We also connect File et Database. | ||
|
||
Find us here : <a href="http://www.myddleware.com">www.myddleware.com</a> | ||
|
||
<em>We made it, you own it!</em> | ||
|
||
<img class="alignnone size-medium wp-image-161" src="http://community.myddleware.com/wp-content/uploads/2016/09/myddleware_logo-300x215.jpg" alt="myddleware_logo" width="300" height="215" /> |
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,9 @@ | ||
<?php | ||
|
||
require_once __DIR__.'/AppKernel.php'; | ||
|
||
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; | ||
|
||
class AppCache extends HttpCache | ||
{ | ||
} |
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,49 @@ | ||
<?php | ||
|
||
use Symfony\Component\HttpKernel\Kernel; | ||
use Symfony\Component\Config\Loader\LoaderInterface; | ||
|
||
class AppKernel extends Kernel | ||
{ | ||
public function registerBundles() | ||
{ | ||
$bundles = array( | ||
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), | ||
new Symfony\Bundle\SecurityBundle\SecurityBundle(), | ||
new Symfony\Bundle\TwigBundle\TwigBundle(), | ||
new Symfony\Bundle\MonologBundle\MonologBundle(), | ||
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), | ||
new Symfony\Bundle\AsseticBundle\AsseticBundle(), | ||
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), | ||
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(), | ||
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), | ||
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), | ||
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(), | ||
// User | ||
new FOS\UserBundle\FOSUserBundle(), | ||
// Myddleware | ||
new Myddleware\LoginBundle\LoginBundle(), | ||
new Myddleware\RegleBundle\RegleBundle(), | ||
new Myddleware\UserBundle\UserBundle(), | ||
|
||
); | ||
|
||
if (in_array($this->getEnvironment(), array('dev', 'test'))) { | ||
|
||
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); | ||
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); | ||
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); | ||
// Console | ||
// $bundles[] = new CoreSphere\ConsoleBundle\CoreSphereConsoleBundle(); | ||
// Debug | ||
$bundles[] = new RaulFraile\Bundle\LadybugBundle\RaulFraileLadybugBundle(); | ||
} | ||
|
||
return $bundles; | ||
} | ||
|
||
public function registerContainerConfiguration(LoaderInterface $loader) | ||
{ | ||
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); | ||
} | ||
} |
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,5 @@ | ||
{% extends "FOSUserBundle::layout.html.twig" %} | ||
|
||
{% block fos_user_content %} | ||
{% include "FOSUserBundle:Profile:edit_content.html.twig" %} | ||
{% endblock fos_user_content %} |
8 changes: 8 additions & 0 deletions
8
app/Resources/FOSUserBundle/views/Profile/edit_content.html.twig
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,8 @@ | ||
{% trans_default_domain 'FOSUserBundle' %} | ||
|
||
<form action="{{ path('fos_user_profile_edit') }}" {{ form_enctype(form) }} method="POST" class="fos_user_profile_edit"> | ||
{{ form_widget(form) }} | ||
<div> | ||
<input type="submit" value="{{ 'profile.edit.submit'|trans }}" /> | ||
</div> | ||
</form> |
6 changes: 6 additions & 0 deletions
6
app/Resources/FOSUserBundle/views/Profile/show_content.html.twig
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,6 @@ | ||
{% trans_default_domain 'FOSUserBundle' %} | ||
|
||
<div class="fos_user_user_show"> | ||
<p>{{ 'profile.show.username'|trans }}: {{ user.username }}</p> | ||
<p>{{ 'profile.show.email'|trans }}: {{ user.email }}</p> | ||
</div> |
20 changes: 20 additions & 0 deletions
20
app/Resources/FOSUserBundle/views/Resetting/request_content.html.twig
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,20 @@ | ||
{% trans_default_domain 'FOSUserBundle' %} | ||
|
||
<style type="text/css"> | ||
{% include "LoginBundle:Layout:style.css.twig" %} | ||
</style> | ||
|
||
<div id="reset_password"> | ||
<form action="{{ path('fos_user_resetting_send_email') }}" method="POST" class="fos_user_resetting_request"> | ||
<div> | ||
{% if invalid_username is defined %} | ||
<p>{{ 'resetting.request.invalid_username'|trans({'%username%': invalid_username}) }}</p> | ||
{% endif %} | ||
<label for="username">{{ 'resetting.request.username'|trans }}</label> | ||
<input type="text" id="username" name="username" required="required" /> | ||
</div> | ||
<div> | ||
<p><input class="btn-large-myd" type="submit" value="{{ 'resetting.request.submit'|trans }}" /></p> | ||
</div> | ||
</form> | ||
<div> |
14 changes: 14 additions & 0 deletions
14
app/Resources/FOSUserBundle/views/Resetting/reset_content.html.twig
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,14 @@ | ||
{% trans_default_domain 'FOSUserBundle' %} | ||
|
||
<style type="text/css"> | ||
{% include "LoginBundle:Layout:style.css.twig" %} | ||
</style> | ||
|
||
<div id="change_password"> | ||
<form action="{{ path('fos_user_resetting_reset', {'token': token}) }}" {{ form_enctype(form) }} method="POST" class="fos_user_resetting_reset"> | ||
{{ form_widget(form) }} | ||
<div> | ||
<p><input class="btn-myd" type="submit" value="{{ 'resetting.reset.submit'|trans }}" /></p> | ||
</div> | ||
</form> | ||
</div> |
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,29 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
</head> | ||
<body> | ||
<div> | ||
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %} | ||
{{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} | | ||
<a href="{{ path('fos_user_security_logout') }}"> | ||
{{ 'layout.logout'|trans({}, 'FOSUserBundle') }} | ||
</a> | ||
{% endif %} | ||
</div> | ||
|
||
{% for type, messages in app.session.flashbag.all() %} | ||
{% for message in messages %} | ||
<div class="flash-{{ type }}"> | ||
{{ message }} | ||
</div> | ||
{% endfor %} | ||
{% endfor %} | ||
|
||
<div> | ||
{% block fos_user_content %} | ||
{% endblock fos_user_content %} | ||
</div> | ||
</body> | ||
</html> |
19 changes: 19 additions & 0 deletions
19
app/Resources/TwigBundle/views/Exception/error404.html.twig
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,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>An Error Occurred: {{ status_text }}</title> | ||
</head> | ||
<body> | ||
<h1>Oops! An Error Occurred</h1> | ||
<h2>The server returned a "{{ status_code }} {{ status_text }}".</h2> | ||
|
||
<div> | ||
Something is broken. Please e-mail us at contact@myddleware.com and let us know | ||
what you were doing when this error occurred. We will fix it as soon | ||
as possible.<BR> | ||
You can also log the issue on our Github : <a href="https://github.com/Myddleware/myddleware/issues" target="blank_">Myddleware Github project</a> <BR><BR> | ||
Sorry for any inconvenience caused. | ||
</div> | ||
</body> | ||
</html> |
19 changes: 19 additions & 0 deletions
19
app/Resources/TwigBundle/views/Exception/error500.html.twig
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,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>An Error Occurred: {{ status_text }}</title> | ||
</head> | ||
<body> | ||
<h1>Oops! An Error Occurred</h1> | ||
<h2>The server returned a "{{ status_code }} {{ status_text }}".</h2> | ||
|
||
<div> | ||
Something is broken. Please e-mail us at contact@myddleware.com and let us know | ||
what you were doing when this error occurred. We will fix it as soon | ||
as possible.<BR> | ||
You can also log the issue on our Github : <a href="https://github.com/Myddleware/myddleware/issues" target="blank_">Myddleware Github project</a> <BR><BR> | ||
Sorry for any inconvenience caused. | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.