Permalink
Browse files

Move Boot, Mailer, Gui and Log plugins in dedicated namespaces

  • Loading branch information...
1 parent 7ea41f4 commit 74a58717d1adfcb943d7287851d1ee48b4245e98 @cdujeu cdujeu committed Jun 22, 2016
Showing with 1,311 additions and 1,200 deletions.
  1. +180 −115 core/src/plugins/boot.conf/{class.BootConfLoader.php → BootConfLoader.php}
  2. +1 −1 core/src/plugins/boot.conf/manifest.xml
  3. +83 −70 core/src/plugins/core.mailer/{class.AjxpMailer.php → Mailer.php}
  4. +1 −1 core/src/plugins/core.mailer/manifest.xml
  5. +2 −2 core/src/plugins/editor.diaporama/ImagePreviewer.php
  6. +782 −801 core/src/plugins/editor.diaporama/PThumb.lib.php
  7. +6 −5 core/src/plugins/gui.ajax/{class.AJXP_ClientDriver.php → RichClient.php}
  8. +1 −1 core/src/plugins/gui.ajax/manifest.xml
  9. +7 −4 core/src/plugins/gui.ios/{class.IOSGuiPlugin.php → MobileNativeRedirect.php}
  10. +1 −1 core/src/plugins/gui.ios/manifest.xml
  11. +5 −2 core/src/plugins/gui.light/{class.LightGuiPlugin.php → LightGuiPlugin.php}
  12. +1 −1 core/src/plugins/gui.light/manifest.xml
  13. +28 −12 core/src/plugins/gui.mobile/{class.MobileGuiPlugin.php → MobileGuiPlugin.php}
  14. +1 −1 core/src/plugins/gui.mobile/manifest.xml
  15. +18 −14 core/src/plugins/gui.user/{class.UserGuiController.php → UserGuiController.php}
  16. +1 −1 core/src/plugins/gui.user/manifest.xml
  17. +127 −115 core/src/plugins/log.sql/{class.sqlLogDriver.php → SqlLogDriver.php}
  18. +1 −1 core/src/plugins/log.sql/manifest.xml
  19. +11 −8 core/src/plugins/log.syslog/{class.sysLogDriver.php → SysLogDriver.php}
  20. +1 −1 core/src/plugins/log.syslog/manifest.xml
  21. +36 −32 core/src/plugins/log.text/{class.textLogDriver.php → TextLogDriver.php}
  22. +1 −1 core/src/plugins/log.text/manifest.xml
  23. +14 −8 core/src/plugins/mailer.phpmailer-lite/{class.PhpMailLiteMailer.php → PhpMailLite.php}
  24. +1 −1 core/src/plugins/mailer.phpmailer-lite/manifest.xml
  25. +1 −1 core/src/plugins/meta.quota/QuotaComputer.php
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ajxp_plugin label="CONF_MESSAGE[Bootstrap Loader]" description="CONF_MESSAGE[Core plugin for loading the framework. Do NOT disable this plugin!]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd" mixins="dibidriver_provider" id="boot.conf">
- <class_definition classname="BootConfLoader" filename="plugins/boot.conf/class.BootConfLoader.php" />
+ <class_definition classname="Pydio\Conf\Boot\BootConfLoader" filename="plugins/boot.conf/BootConfLoader.php" />
<client_settings>
<resources>
<css file="plugins/boot.conf/installer.css" autoload="true"/>
Oops, something went wrong.
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ajxp_plugin id="core.mailer" label="CONF_MESSAGE[Mailers]" description="CONF_MESSAGE[Core configs for sending emails]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
- <class_definition classname="AjxpMailer" filename="plugins/core.mailer/class.AjxpMailer.php"/>
+ <class_definition classname="Pydio\Mailer\Core\Mailer" filename="plugins/core.mailer/Mailer.php"/>
<server_settings>
<global_param name="MAILER_ACTIVATE_QUEUE" type="boolean" label="CONF_MESSAGE[Activate Queue]" description="CONF_MESSAGE[Store emails in a queue and batch-process them. Users can choose the sending frequency. Make sure to set up a CRON on consume_mail_queue action if you use this option.]" default="false"/>
<global_param name="UNIQUE_MAILER_INSTANCE" type="plugin_instance:mailer" label="CONF_MESSAGE[Mailer Plugin]" description="CONF_MESSAGE[Select the plugin to activate for concretely sending emails]" mandatory="true" default="mailer.phpmailer-lite"/>
@@ -138,7 +138,7 @@ public function generateThumbnail(\Pydio\Core\Model\ContextInterface $ctx, $mast
{
$size = $this->currentDimension;
require_once(AJXP_INSTALL_PATH."/plugins/editor.diaporama/PThumb.lib.php");
- $pThumb = new \PThumb($this->getContextualOption($ctx, "THUMBNAIL_QUALITY"), $this->getContextualOption($ctx, "EXIF_ROTATION"));
+ $pThumb = new \Pydio\Editor\Image\PThumb($this->getContextualOption($ctx, "THUMBNAIL_QUALITY"), $this->getContextualOption($ctx, "EXIF_ROTATION"));
if (!$pThumb->isError()) {
$pThumb->remote_wrapper = "Pydio\\Access\\Core\\AJXP_MetaStreamWrapper";
@@ -199,7 +199,7 @@ public function extractImageMetadata(&$ajxpNode)
if($this->getContextualOption($context, "EXIF_ROTATION")){
require_once(AJXP_INSTALL_PATH."/plugins/editor.diaporama/PThumb.lib.php");
- $pThumb = new \PThumb($this->getContextualOption($context, "THUMBNAIL_QUALITY"),$this->getContextualOption($context, "EXIF_ROTATION"));
+ $pThumb = new \Pydio\Editor\Image\PThumb($this->getContextualOption($context, "THUMBNAIL_QUALITY"),$this->getContextualOption($context, "EXIF_ROTATION"));
$orientation = $pThumb->exiforientation($realFile, false);
if ($pThumb->rotationsupported($orientation))
{
Oops, something went wrong.

0 comments on commit 74a5871

Please sign in to comment.