On Dispatcher:
- Now it is handling Cross Domain AJAX request, it is accepting requests with method OPTIONS
- Now the behaviour of rest server is modified by confuguration
- The dispatcher can be load configuraion from a processmaker core dir. for all workspaces
and for a determinated workspace
On Cli Command:
- Now it can generate api crud for processmaker root dir and a determinated workspace
- More improvements to handle correctly build request for a plugin or a workspace or core of pmos
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
What is Functional
- Restler thirdparty library added
- Restler integration with gulliver added
- Rest requests are dispatched by sysGeneric
- Restler autodiscover for classes that implements Restler iAuthenticate interface added
What Missing
- ProcessMaker Api implemented yet
- some rest api class are in workflow/engine/services/rest/*.php
- In Centos 5.4 is not possible to restore a backup file of ProcessMaker. we are using the next command.
- Adjustment in the restore backup, in the erased the hidden files.
We've detected 2 problems:
1.- The new algorithm to detect if the password is encrypted don't support passwords with a ":" character
2.- When recover the email configuration the system don't decrypt correctly the password of a previous version (without encryption, backwards compatibility)
- PMFDerivateCase not set variables of the case to derivate
- In the "derivateCase" method of the class "class.wsBase.php", no set
variables of the case to derivate
- Problem solved, now set appropriate variables to derivate
- We verified that not loaded correctly to the folder shared.
- Was performed changes in the skinEngine and class.g to load the skin's if exists in the folder shared which should modify uxs and simplified.
- When running a case in the single user experience, the forms are
being shown with the classic skin even though the skin is setup as "uxs"
- Problem solved changing the condition when is the mask "uxs"
- this is a important improvement, now we can have two configurations levels
1. Global Configuration Level (workflow/engine/config/env.ini)
2. Workspace Configuration Level (.../shared/sites/some_workflow/env.ini)
- improvement to read env's ini files once and store on session,
- if any file has been changed (verify by checksum files) that session value is updated
- en servidores windows no es posible eliminar directorios con el comando rmdir
- se adiciono los comandos DEL DR DELTREE para borrar directorios en servidores windows.
- Cuando se configura el forgot password, no se aplica al hacer login en dicha ventana, es decir no se visualiza el link para enviar el otro password
- Adjustment in the forgot password in send mail, encryption of password, and correction in the visualization of the forgot password link on the classic skin.
- fixes for installer on IE9
- fixes for main uxmodern interface view on IE9
- ux-wizard extjs plugin updated
- ux-card-layout extjs plugin updated
- extjs library updated to 3.4.0 from 3.2.1
- draw2d library removed from load
- a complete refactoring on skingEngine bootstrapper, now this is a class
- the mvc templatting engine was updated to work perfectly with templates that is using extjs engine
- a new "unmodern" was added to contains the new pmos modern main interface
- The problem arises when you run the method "routeCase" through web services, in the execution of the triggers can not access variables like @ @ APPLICATION.
- The problem is solved by keeping the variables @ @ APPLICATION and others in the execution of method "derivateCase"