Commit Graph

8 Commits

Author SHA1 Message Date
Victor Saisa Lopez
6d9858d6d0 HOR-1738 "Change folder permissions in ProcessMaker" SOLVED
Issue:
    Change folder permissions in ProcessMaker
Cause:
    Nuevo requerimiento
Solution:
    Se cambio los permisos de los files and directories
2016-08-30 13:03:35 -04:00
Luis Fernando Saisa Lopez
ab0bc199e6 PM-807 "Change especify to specify" SOLVED 2015-04-27 15:49:30 -04:00
Luis Fernando Saisa Lopez
1df5ab2b43 PM-807 "Change especify to specify" SOLVED
> Code Isuue:
  Change "especify" to "specify"
> Solution:
  Se corrige el texto especify a specify en los archivos mencionados en el presente ticket.
2015-04-27 12:16:42 -04:00
Erik Amaru Ortiz
de62be5506 Restful Feature, improvements on rest-gen cli command and Disptacher
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
2012-08-30 16:26:19 -04:00
fernando
84b51bf05e fixing small issues with rest 2012-08-29 16:29:02 -04:00
Erik Amaru Ortiz
22172de0f0 Restful Feature, some paths improvements & command help 2012-08-27 11:05:21 -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