Commit Graph

99 Commits

Author SHA1 Message Date
Marco Antonio Nina
ebd5f2e2ed Improvement enable plugin 2014-09-23 13:03:53 -04:00
Julio Cesar Laura Avendaño
e4e96bcb4f Merged in marcoAntonioNina/processmaker/PM-295 (pull request #812)
PM-295 Plugin Enterprise que sea parte del core IMPROVEMENT
2014-09-23 11:49:26 -04:00
Marco Antonio Nina
e4c334dd67 PM-295 Plugin Enterprise que sea parte del core IMPROVEMENT
- change redirect.
- A validation was add in enable plugin.
2014-09-23 11:39:10 -04:00
Marco Antonio Nina
48d963a033 BUG-15561 Cambiar el algoritmo o metodo de cifrado... SOLVED
- It don't have the functionality.
- A function was add in class bootstrap hasPassword.
- a function was add in class enterprise.
2014-09-22 09:58:50 -04:00
Marco Antonio Nina
f54433b89e PM-295 Plugin Enterprise que sea parte del core SOLVED
- PM-317	Analizar como, que y donde mover los files/code del enterprise.
- PM-318	Enterprise Traducible.
- PM-320	Hacer funcionar el administrador de plugins.
2014-09-19 10:21:18 -04:00
Brayan Osmar Pereyra Suxo
1d17893c90 Arreglo de cron 2014-07-01 16:13:46 -04:00
Erik Amaru Ortiz
4288d45b08 Fix For PHP 5.4.x compatibility when PMPluginRegstry singleton is loaded from serialized file 2014-03-20 12:32:29 -04:00
Erik Amaru Ortiz
9c8d66ef07 Adding adapters for Workflow->Bpmn and Bpmn->Workflow projects, and more updates & fixes 2014-02-05 17:29:28 -04:00
Erik Amaru Ortiz
2398200adf Merge branch 'master' of github.com:colosa/processmaker
Conflicts:
	workflow/engine/classes/class.plugin.php
	workflow/engine/classes/class.pluginRegistry.php
2013-12-03 18:23:12 -04:00
Erik Amaru Ortiz
5710710673 removing debug messages 2013-12-03 18:10:09 -04:00
Erik Amaru Ortiz
b25efdd866 Adding Rest Api Service Support
Rest Service on plugins
-----------------------

1. enable service

add the following line in plugin __constructor main class
$this->enableRestService(true);

2. Create the sources directory structure by example:
if you plugin is named myPlugin

myPlugin
    |--src
        |--Services
             |--Api
                 |--MyPlugin
                      |--Test.php

Where Test.php is a Restler class
2013-12-03 17:10:18 -04:00
Julio Cesar Laura
424e03d1b6 Add "getCronFiles" method to the plugin class and change cron_single file to execute old cron files and new registered cron files 2013-11-27 17:05:51 -04:00
Julio Cesar Laura
e97a04943f Add "registerCronFile" method to the plugin class 2013-11-25 13:01:30 -04:00
ralph
24be37fc1a Moving Language verification process from enablePlugin to import plugin file 2013-04-12 14:40:16 -04:00
Brayan Osmar Pereyra Suxo
c705cb8ba0 DOC SYSTEM
Crear en META-INF translation de plugin.
Al momento de habilitar un plugin, se revisara si cuenta con translations.php si cuenta con el archivo creara su .po y subira el archivo a META-INF.
-------------------------------------------
Workspace nace con configuracion de padre.
Ahora cuando se crea un nuevo workspace, nace con la configuracion Environment.
2013-04-08 16:48:03 -04:00
Fernando Ontiveros
b5c11b4198 SPEEDY first version of boostrap.php, with many changes 2012-11-12 14:44:44 -04:00
jennylee
cfbbf82f77 CODE STYLE, changes
FILES:
gulliver/system/class.database_mssql.php
gulliver/system/class.database_mysql.php
workflow/engine/classes/class.cli.php
workflow/engine/classes/class.pluginRegistry.php
workflow/engine/classes/entities/FacetGroup.php
workflow/engine/classes/entities/SolrUpdateDocument.php
workflow/engine/classes/triggers/class.pmTalendFunctions.php
workflow/engine/methods/appFolder/appFolderList.php
workflow/engine/methods/processes/processes_Ajax.php
2012-10-22 17:23:01 -04:00
norahmollo
e21cbdbaa6 CODE STYLE Format
Change format
2012-10-19 21:30:26 +00:00
Victor Saisa Lopez
ad0f709503 BUG 9697 "PM 2.0.43 testing 7/ Enterprise 2.0.16 Cuando se..." SOLVED
- When importing a plugin, the version does not register (when the
  plugin already exists)
- Problem solved, established the plugin version at register, if the
  plugin exists
* Available from version 2.0.45
2012-10-10 15:30:27 -04:00
Fernando Ontiveros
7f1d0fad9c CODE STYLE class.pluginRegistry.php 2012-10-09 12:55:14 -04:00
Erik Amaru Ortiz
9b74ddca00 PluginRegistry class fix, Adding missing unregister method 'unregisterRestService()' on disablePlugin() 2012-08-28 12:08:55 -04:00
Erik Amaru Ortiz
6e5c72d00d Restful Feature,
- made some improvements to read & generate config file
- now the rest-gen bin can be generate rest api for a plugin from a <plugin-name>/config/rest-config.ini
conf file.
- plugins should have a directory services/rest containing all rest classes, like PM structure at CORE_PATH.
2012-08-27 10:48:32 -04:00
Erik Amaru Ortiz
ce21ee6454 PM Rest Feature: added plugins support & more improvements
from a plugin a rest class can be registered now:

on setup method add the following:
---
$this->registerRestService('Sample', [optional string: $path]);
--

and create the folder   PATH_PLUGIN . /your_plugin/classes/rest

next add a class with the flowing characteristics:

<?php

class Plugin_Services_Rest_Sample
{
    public function get()
    {
        return 'hello world';
    }
}

A class prefixed with Plugin_Services_Rest_
and add the corresponding methods for a Restler api
(http://luracast.com/products/restler/)

Finally on process maker will be exposed as:

via GET: http://127.0.0.1/rest/workflow/sample
2012-08-23 13:01:19 -04:00
Fernando Ontiveros
4f8ca480b9 fixing class definition, the constructor was defined as private function 2012-07-12 20:36:41 -04:00
Victor Saisa Lopez
3f9c2fb7a0 BUG 8925 "PM 2.0.39 testing 3 Al eliminar el plugin enterprise desde..." SOLVED
- Al eliminar el plugin enterprise en un workspace, no se elimina del registro de plugins en los demas workspaces, quedando registros de los plugins en el "plugin.singleton" en cada workspace
- Al eliminar un plugin en un workspace se eliminan tambien los registros en los demas workspaces, se ha implementado la accion "uninstall" para los plugins, ahora al eliminar un plugin se llama a su metodo "uninstall" si esta definido
2012-04-18 11:35:02 -04:00
Victor Saisa Lopez
848f1e1abc BUG 8938 "PM 2.0.39 testing 3 Al instalar la version enterprise 1.4..." SOLVED
- When install the plug-in enterprise-1.4 and upgrade to version enterprise-2.0 generate one "Fatal error"
- Added methods in the core of processmaker
- Added code in the plug-in enterprise-2.0 to uninstall the previous version automatically
2012-04-12 12:17:46 -04:00
Julio Cesar Laura
45bc1722e7 BUG 000 Arreglado problema con referencia a objetos en el listado de plugins
- Se esta usando una asignacion por refenencia cuando se almacena la informacion de los plugins, esto provoca q los
elementos posteriores al primero tengan la misma informacion, posiblemente se deba por compatibilidad con PHP 4.x
- Se cambio la asignacion por referencia por una asignacion normal ya que los objetos en PHP 5 siempre se asignan por referencia
2012-03-09 09:54:32 -04:00
Julio Cesar Laura
13d850daf2 BUG 000 Add dummy function registerDashboard for backwards compatibility 2012-01-19 16:21:20 -04:00
Julio Cesar Laura
705e2c1b8b BUG 8284 Add validation if the class of the plugin doesnt exists 2012-01-12 18:20:09 -04:00
Julio Cesar Laura
6978f5f282 BUG 000 Fix bug with the home menu 2012-01-04 12:23:16 -04:00
Julio Cesar Laura
c003597d1b BUG 000 Add hook for dashlets 2012-01-03 18:31:15 -04:00
Victor Saisa Lopez
595135b174 BUG 0000 Addition of the path to the plugin in the method uninstallPlugin()
We performed the inclusion of the file php with require_once, for handling it.
Then took place what is necessary for to uninstall the plugin.

This method is not being used anywhere in the core of ProcessMaker. We conducted a search with the following command:

find -name '*.*' -type f | xargs grep 'uninstallPlugin'
2011-12-20 09:16:08 -04:00
Victor Saisa Lopez
c6c8aa9a93 BUG 0000 installPluginArchive() after of install or upgrade enable plugin 2011-12-20 09:15:48 -04:00
Victor Saisa Lopez
92c35449bd BUG 0000 Change in function "installPluginArchive"
The "installPluginArchive" is only used for plugin "enterprise 2.0", was searched in the core ProcessMaker in the branch "2.0-dev", and not find any files that use this function.
2011-11-23 18:58:47 -04:00
Julio Cesar Laura
34cfa3aadf BUG 000 Add validation in the include of the plugin class 2011-10-10 13:25:59 -04:00
Erik Amaru Ortiz
be0c90af87 BUG 000 momentarily reverted to rc5 fro pmTables (fix) 2011-09-05 12:47:25 -04:00
Erik Amaru Ortiz
e603b38344 BUG 0000 - Javascript Registry for plugins was added (docblock corrections)
- using inside the plugin class: registerJavascript('core_folder/core_js', 'my_plugin/my_js');
2011-07-01 18:31:27 -04:00
Erik Amaru Ortiz
dbb3da02c0 BUG 0000 - Javascript Registry for plugins was added
- using inside the plugin class:
       registerJavascript('core_folder/core_js', 'my_plugin/my_js');
2011-07-01 17:58:40 -04:00
Alexandre Rosenfeld
74d49edeb7 BUG 5978 Fix some problems when installing a plugin with PluginRegistry 2011-04-19 18:20:16 -04:00
Douglas Medrano Chura
c4635bc56a BUG 5004 Change text doesn't exists!
All wrong texts like doesn't exists or not exists by doesn't exist
2011-04-13 18:57:02 -04:00
Alexandre Rosenfeld
35d119cc4f BUG 5978 Added uninstall method in PluginRegistry 2011-04-06 09:07:54 -04:00
Alexandre Rosenfeld
6e0bd5405d BUG 5978 Refactored plugin install to PluginRegistry
This allows plugins to be installed from anywhere in
the code and not only when being uploaded by the user.
2011-04-04 09:28:37 -04:00
abraar
ef427ec0df Changes done for PhpDoc 2011-02-01 12:49:40 +00:00
Abraar
0248e8121d Changes made for documentation 2011-01-22 12:20:08 +00:00
Hugo Loza
324bb69a6a Extended Property for Tasks 2011-01-18 22:14:46 +00:00
Hugo Loza
8d7e7a4acd Allow plugins to always be registered to mantain them with last version always 2011-01-12 23:04:02 +00:00
Hugo Loza
15ead25a30 Allow plugins to always be registered to mantain them with last version always 2011-01-12 13:58:51 +00:00
abraar
5715059f24 Added all the changes which done before for php5.3 in pmos9b 2010-12-03 15:43:29 +00:00
Erik Amaru Ortiz
0525681d79 initial commit from rev. 632 2010-12-02 23:34:41 +00:00