Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix Editor namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jun 22, 2016
1 parent eaa9c50 commit a970669
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 28 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/editor.audio/AudioPreviewer.php
Expand Up @@ -19,7 +19,7 @@
* The latest code can be found at <http://pyd.io/>.
*/

namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Audio;

use Pydio\Access\Core\AJXP_MetaStreamWrapper;
use Pydio\Access\Core\Exception\FileNotFoundException;
Expand All @@ -37,7 +37,7 @@
/**
* Class AudioPreviewer
* Streams MP3 files to a client
* @package Pydio\Plugins\Editor
* @package Pydio\Editor\Audio
*/
class AudioPreviewer extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.audio/manifest.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<editor id="editor.audio" order="1000" enabled="true" modalOnly="true" openable="false" previewProvider="true" text="186" title="136" icon="frame_image.png" className="AudioPreviewer" mimes="mp3" label="CONF_MESSAGE[Audio Player]" description="CONF_MESSAGE[Inserts a flash player for reading mp3 files online, and playing a whole folder in a separate window.]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/editor.audio/AudioPreviewer.php" classname="Pydio\Plugins\Editor\AudioPreviewer"/>
<class_definition filename="plugins/editor.audio/AudioPreviewer.php" classname="Pydio\Editor\Audio\AudioPreviewer"/>
<client_settings>
<resources>
<js file="plugins/editor.audio/class.AudioPreviewer.js" className="AudioPreviewer"/>
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/editor.browser/FileMimeSender.php
Expand Up @@ -19,7 +19,7 @@
* The latest code can be found at <http://pyd.io/>.
*/

namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Mime;

use Pydio\Access\Core\AJXP_MetaStreamWrapper;
use Pydio\Access\Core\Model\UserSelection;
Expand All @@ -35,7 +35,7 @@
/**
* Class FileMimeSender
* Extract the mimetype of a file and send it to the browser
* @package Pydio\Plugins\Editor
* @package Pydio\Editor\Mime
*/
class FileMimeSender extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.browser/manifest.xml
Expand Up @@ -29,7 +29,7 @@
<activePlugin pluginName="access.AJXP_STREAM_PROVIDER"/>
</dependencies>
<class_definition filename="plugins/editor.browser/FileMimeSender.php"
classname="Pydio\Plugins\Editor\FileMimeSender" />
classname="Pydio\Editor\Mime\FileMimeSender" />
<registry_contributions>
<actions>
<action name="open_file" skipSecureToken="true">
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/editor.diaporama/ImagePreviewer.php
Expand Up @@ -18,7 +18,7 @@
*
* The latest code can be found at <http://pyd.io/>.
*/
namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Image;

use Pydio\Access\Core\AJXP_MetaStreamWrapper;
use Pydio\Access\Core\Model\AJXP_Node;
Expand All @@ -34,7 +34,7 @@
/**
* Class ImagePreviewer
* Generate an image thumbnail and send the thumb/full version to the browser
* @package Pydio\Plugins\Editor
* @package Pydio\Editor\Image
*/
class ImagePreviewer extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.diaporama/manifest.xml
Expand Up @@ -8,7 +8,7 @@
<global_param name="THUMBNAIL_QUALITY" type="integer" label="CONF_MESSAGE[Quality]" description="CONF_MESSAGE[Thumbs quality]" default="2"/>
<global_param name="EXIF_ROTATION" type="boolean" label="CONF_MESSAGE[Exif Rotation]" description="CONF_MESSAGE[Rotate image using exif rotation]" default="true"/>
</server_settings>
<class_definition filename="plugins/editor.diaporama/ImagePreviewer.php" classname="Pydio\Plugins\Editor\ImagePreviewer"/>
<class_definition filename="plugins/editor.diaporama/ImagePreviewer.php" classname="Pydio\Editor\Image\ImagePreviewer"/>
<client_settings>
<resources>
<js file="plugins/editor.diaporama/class.Diaporama.js" className="Diaporama"/>
Expand Down
5 changes: 2 additions & 3 deletions core/src/plugins/editor.eml/EmlParser.php
Expand Up @@ -18,7 +18,7 @@
*
* The latest code can be found at <http://pyd.io/>.
*/
namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\EML;

use EmlXmlMessage;
use Pydio\Access\Core\AJXP_MetaStreamWrapper;
Expand All @@ -39,8 +39,7 @@

/**
* Parses an EML file and return the result as XML
* @package AjaXplorer_Plugins
* @subpackage Editor
* @package Pydio\Editor\EML
*/
class EmlParser extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.eml/manifest.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<editor id="editor.eml" openable="true" text="editor.eml.name" iconClass="icon-envelope-alt" title="editor.eml.title" icon="mail_generic.png" className="EmlViewer" mimes="eml" formId="emlviewer_box" label="CONF_MESSAGE[Email Viewer]" description="CONF_MESSAGE[Email reader, supports eml format and eml mimetypes. Detects if a folder contains only email and display columns accordingly.]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/editor.eml/EmlParser.php" classname="Pydio\Plugins\Editor\EmlParser"/>
<class_definition filename="plugins/editor.eml/EmlParser.php" classname="Pydio\Editor\EML\EmlParser"/>
<client_settings>
<resources>
<js file="plugins/editor.eml/class.EmlViewer.js" className="EmlViewer"/>
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/editor.etherpad/EtherpadClient.php
Expand Up @@ -18,7 +18,7 @@
*
* The latest code can be found at <http://pyd.io/>.
*/
namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Etherpad;

use Pydio\Access\Core\Model\AJXP_Node;
use Pydio\Access\Core\Model\UserSelection;
Expand All @@ -34,7 +34,7 @@

/**
* Class EtherpadClient
* @package Pydio\Plugins\Editor
* @package Pydio\Editor\Etherpad
*/
class EtherpadClient extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.etherpad/manifest.xml
Expand Up @@ -127,5 +127,5 @@
<serverCallback methodName="handleNodeChange" hookName="node.change"/>
</hooks>
</registry_contributions>
<class_definition classname="Pydio\Plugins\Editor\EtherpadClient" filename="plugins/editor.etherpad/EtherpadClient.php"/>
<class_definition classname="Pydio\Editor\Etherpad\EtherpadClient" filename="plugins/editor.etherpad/EtherpadClient.php"/>
</editor>
4 changes: 2 additions & 2 deletions core/src/plugins/editor.imagick/IMagickPreviewer.php
Expand Up @@ -18,7 +18,7 @@
*
* The latest code can be found at <http://pyd.io/>.
*/
namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Image;

use Pydio\Access\Core\Exception\FileNotFoundException;
use Pydio\Access\Core\Model\AJXP_Node;
Expand All @@ -37,7 +37,7 @@
* Class IMagickPreviewer
* Encapsulates calls to Image Magick to extract JPG previews of PDF, PSD, TIFF, etc.
*
* @package Pydio\Plugins\Editor
* @package Pydio\Editor\Image
*/
class IMagickPreviewer extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.imagick/manifest.xml
Expand Up @@ -4,7 +4,7 @@
mimes="pdf,svg,tif,tiff,psd,xcf,eps,xls,xlsx,ods,doc,docx,odt,ppt,pptx,odp,rtf,cr2,ai" label="CONF_MESSAGE[Image Magick]"
description="CONF_MESSAGE[Image Magick viewer supports PDF and various images formats preview. Requires external library to be installed on the server.]"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/editor.imagick/IMagickPreviewer.php" classname="Pydio\Plugins\Editor\IMagickPreviewer"/>
<class_definition filename="plugins/editor.imagick/IMagickPreviewer.php" classname="Pydio\Editor\Image\IMagickPreviewer"/>
<client_settings>
<resources>
<js file="plugins/editor.imagick/class.IMagickPreviewer.js" className="IMagickPreviewer"/>
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/editor.pixlr/PixlrEditor.php
Expand Up @@ -18,7 +18,7 @@
*
* The latest code can be found at <http://pyd.io/>.
*/
namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Image;

use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
Expand All @@ -41,7 +41,7 @@
/**
* Class PixlrEditor
* Uses Pixlr.com service to edit images online.
* @package Pydio\Plugins\Editor
* @package Pydio\Editor\Image
*/
class PixlrEditor extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.pixlr/manifest.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<editor id="editor.pixlr" openable="true" iconClass="icon-edit" text="333" title="333" icon="pixlr_images/actions/ICON_SIZE/color_fill.png" className="PixlrEditor" mimes="jpg,jpeg,png,bmp,pxd" formId="pixlr_box" write="true" canWrite="true" label="CONF_MESSAGE[Pixlr Editor]" description="CONF_MESSAGE[Bridge to the Pixlr.com webservice that allow online image edition via a photoshop-like GUI.]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/editor.pixlr/PixlrEditor.php" classname="Pydio\Plugins\Editor\PixlrEditor"/>
<class_definition filename="plugins/editor.pixlr/PixlrEditor.php" classname="Pydio\Editor\Image\PixlrEditor"/>
<server_settings>
<global_param
description="CONF_MESSAGE[Add a secure token to the target script to make sure that we are downloading an authorized image. The .htaccess file contained in the plugin must be correctly configured (apache)]"
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.soundmanager/manifest.xml
Expand Up @@ -5,7 +5,7 @@
label="CONF_MESSAGE[Sound Player]" description="CONF_MESSAGE[Uses HTML5 or Flash to play a sound]"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/editor.audio/AudioPreviewer.php" classname="Pydio\Plugins\Editor\AudioPreviewer"/>
<class_definition filename="plugins/editor.audio/AudioPreviewer.php" classname="Pydio\Editor\Audio\AudioPreviewer"/>
<client_settings>
<resources>
<js className="SMPlayer" file="plugins/editor.soundmanager/class.SMPlayer.js" autoload="true"/>
Expand Down
4 changes: 2 additions & 2 deletions core/src/plugins/editor.video/VideoReader.php
Expand Up @@ -18,7 +18,7 @@
*
* The latest code can be found at <http://pyd.io/>.
*/
namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Video;

use Pydio\Access\Core\AJXP_MetaStreamWrapper;
use Pydio\Access\Core\Exception\FileNotFoundException;
Expand All @@ -34,7 +34,7 @@

/**
* Streams video to a client
* @package Pydio\Plugins\Editor
* @package Pydio\Editor\Video
*/
class VideoReader extends Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.video/manifest.xml
Expand Up @@ -4,7 +4,7 @@
text="video_editor.1" title="video_editor.1" icon="frame_image.png" iconClass="icon-film"
className="VideoPreviewer" label="CONF_MESSAGE[Video Player]"
description="CONF_MESSAGE[Inserts a video player in the info panel, either HTML5 or Flash depending on the format.]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/editor.video/VideoReader.php" classname="Pydio\Plugins\Editor\VideoReader"/>
<class_definition filename="plugins/editor.video/VideoReader.php" classname="Pydio\Editor\Video\VideoReader"/>
<client_settings>
<resources>
<js file="plugins/editor.video/class.VideoPreviewer.js" className="VideoPreviewer"/>
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.zoho/ZohoEditor.php
Expand Up @@ -21,7 +21,7 @@
* Description : Zoho plugin. First version by Pawel Wolniewicz http://innodevel.net/ 2011
* Improved by cdujeu / Https Support now necessary for zoho API.
*/
namespace Pydio\Plugins\Editor;
namespace Pydio\Editor\Office;

use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/editor.zoho/manifest.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<editor id="editor.zoho" order="3" enabled="false" openable="true" text="zoho_editor.1" iconClass="icon-edit" title="zoho_editor.2" canWrite="true" description="CONF_MESSAGE[Zoho editor]" icon="zoho_img/zoho.png" label="CONF_MESSAGE[Office Docs]" className="ZohoEditor" mimes="xls,xlsx,ods,sxc,csv,tsv,ppt,pptx,pps,odp,sxi,doc,docx,rtf,odt,sxw" formId="zoho_box" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<class_definition filename="plugins/editor.zoho/ZohoEditor.php" classname="Pydio\Plugins\Editor\ZohoEditor"/>
<class_definition filename="plugins/editor.zoho/ZohoEditor.php" classname="Pydio\Editor\Office\ZohoEditor"/>
<server_settings>
<global_param name="ZOHO_LANGUAGE" type="string" description="CONF_MESSAGE[You can change ZOHO menu language (de, en, fr, it, pt, ru, ...)]" label="CONF_MESSAGE[Language]" mandatory="true" default="en"/>
<global_param name="ZOHO_API_KEY" type="string" description="CONF_MESSAGE[Zoho API Key, you must have registered to api.zoho.com]" label="CONF_MESSAGE[API Key]" mandatory="true"/>
Expand Down

0 comments on commit a970669

Please sign in to comment.