Commit Graph

12324 Commits

Author SHA1 Message Date
Dante
7705a9852a NDD-54, NDD-46, NDD-53 2015-04-27 16:15:06 -04:00
Dante
4a56af1e35 getting rid of hardcoded strings 2015-04-24 13:17:02 -04:00
Dante Loayza
1a021ca539 Merged in marcoAntonioNina/processmaker/dashboards2 (pull request #1994)
PM-2422 Cost by hour admite valores negativos
2015-04-24 13:04:30 -04:00
Marco Antonio Nina Mena
a8f334b43a PM-2471 eliminar un indicardor ...
- Se validaron variables que causaban conflicto con el TabPanel.
2015-04-24 12:56:58 -04:00
Marco Antonio Nina Mena
789c4496f5 PM-2422 Cost by hour admite valores negativos
- Changed validation regex.
2015-04-23 14:30:51 -04:00
Dante Loayza
d99c86dd86 Merged in marcoAntonioNina/processmaker/dashboards2 (pull request #1993)
Add validation, characters invalid
2015-04-23 13:47:52 -04:00
Marco Antonio Nina Mena
0d11381fc7 Add validation characters invalid 2015-04-23 13:22:37 -04:00
Marco Antonio Nina Mena
45bfffe71f Merge branch 'master' of bitbucket.org:marcoAntonioNina/processmaker into dashboards2 2015-04-23 12:08:59 -04:00
Dante Loayza
92736a8b59 Merged in marcoAntonioNina/processmaker/dashboards2 (pull request #1987)
Changed value default
2015-04-23 08:58:25 -04:00
Marco Antonio Nina Mena
534d6db10d Changed value default 2015-04-22 16:34:25 -04:00
Dante
32b9b938f3 Merge branch 'dashboards2' of bitbucket.org:colosa/processmaker into dashboards2 2015-04-22 13:31:18 -04:00
Dante
9e6150a2c4 Styles fixes 2015-04-22 13:30:25 -04:00
Dante Loayza
71c18bd6e7 Merged in marcoAntonioNina/processmaker/dashboards2 (pull request #1985)
Improvement schema.sql
2015-04-22 12:42:14 -04:00
Marco Antonio Nina Mena
b9ceb7e147 Improvement schema.sql 2015-04-22 12:39:39 -04:00
Dante Loayza
5d4f0fa4ba Merged master into dashboards2 2015-04-22 12:38:49 -04:00
Marco Antonio Nina Mena
976ec233b9 Merged colosa/processmaker into master 2015-04-22 08:35:56 -04:00
Marco Antonio Nina Mena
88a405ea95 Merge branch 'master' of bitbucket.org:marcoAntonioNina/processmaker into dashboards2 2015-04-22 08:23:14 -04:00
Julio Cesar Laura Avendaño
b30275a36d Merged in paulis/processmaker/PM-WARNING (pull request #1979)
I added a validation when the file plugin.singleton does not exits
2015-04-21 18:54:36 -04:00
Paula V. Quispe
7a8654ffc5 I added a validation when the file plugin.singleton does not exits 2015-04-21 18:53:12 -04:00
Julio Cesar Laura Avendaño
3c8c08d918 Merged in luisfernandosl/processmaker/PM-2355 (pull request #1977)
PM-2355 "Al modificar un Intemediate send message event y grabar sale un mensaje de error" SOLVED
2015-04-21 17:37:07 -04:00
Julio Cesar Laura Avendaño
d37e155ba7 Merged in paulis/processmaker/PM-WARNING (pull request #1975)
I solved a Warning in Unassigned Inbox
2015-04-21 16:48:43 -04:00
Luis Fernando Saisa Lopez
f2b3b56764 PM-2355 "Al modificar un Intemediate send message event y grabar sale un mensaje de error" SOLVED 2015-04-21 16:42:40 -04:00
Paula V. Quispe
30a57a9f17 I solved a Warning in Unassigned Inbox 2015-04-21 14:28:37 -04:00
Julio Cesar Laura Avendaño
d4da489215 Merged in cochalo/processmaker/PERFORMANCE (pull request #1973)
Adicion de doble conexion para nuevos listados
2015-04-21 14:15:18 -04:00
Julio Cesar Laura Avendaño
9a56a615e7 Merged in dashboards2 (pull request #1974)
Catalog table data inserts on upgrade
2015-04-21 14:14:36 -04:00
Brayan Pereyra
ecdc293351 Adicion de doble conexion para nuevos listados 2015-04-21 13:50:41 -04:00
Dante Loayza
c5adbe372d Merged in marcoAntonioNina/processmaker/dashboards2 (pull request #1971)
Add data in upgrade processmaker
2015-04-21 13:49:43 -04:00
Dante Loayza
d72ae30ed2 Merged master into dashboards2 2015-04-21 13:47:11 -04:00
Marco Antonio Nina Mena
44b590964a Merged colosa/processmaker into master 2015-04-21 13:17:51 -04:00
Marco Antonio Nina Mena
0f9982c17c Add data in upgrade processmaker 2015-04-21 13:17:16 -04:00
Julio Cesar Laura Avendaño
5c1784bc68 Merged in luisfernandosl/processmaker/PM-2370 (pull request #1969)
PM-2370 "Nuestra error al instalar rc4" SOLVED
2015-04-21 12:42:47 -04:00
Julio Cesar Laura Avendaño
26e908c70a Merged in cochalo/processmaker/PERFORMANCE (pull request #1970)
Se adicion cambio endPoint de listado por llamada Ajax
2015-04-21 12:40:25 -04:00
Julio Cesar Laura Avendaño
fb9e3748f8 Merged in paulis/processmaker/PM-2313 (pull request #1968)
PM-2313: I solved the issue when I created install/newSite with Drop database if exists deschecked didn't create a workspace
2015-04-21 12:39:05 -04:00
Julio Cesar Laura Avendaño
ab1a960c45 Merged in victorsl/processmaker/DEL_ATOKEN (pull request #1967)
PM-00000 "Eliminar los Access y Refresh Token expirados" SOLVED
2015-04-21 12:37:11 -04:00
Julio Cesar Laura Avendaño
50c3a26854 Merged in dashboards2 (pull request #1966)
Fixing pie 2d problems
2015-04-21 12:36:13 -04:00
Brayan Pereyra
8baaad9c86 Se adicion cambio endPoint de listado por llamada Ajax 2015-04-21 12:16:22 -04:00
Paula V. Quispe
cd5dbd0e01 I corrected a problem when the workspace exists 2015-04-21 12:16:13 -04:00
Luis Fernando Saisa Lopez
6205f7a530 PM-2370 "Nuestra error al instalar rc4" SOLVED
> Code Isuue:  Nuestra error al instalar rc4
> Solution:  Al instalar processmaker rc4 se mostraba un error de path, se corrige con el path correcto.
2015-04-21 11:23:32 -04:00
Victor Saisa Lopez
b4584de9c7 PM-00000 "Eliminar los Access y Refresh Token expirados" SOLVED
Issue:
    Eliminar los Access y Refresh Token expirados
Cause:
    Nuevo requerimiento de funciones
Solution:
    Se estan eliminando los Access y Refresh Token expirados al hacer
    un request al End-point: POST /{workspace}/oauth2/token
2015-04-21 11:15:39 -04:00
Paula V. Quispe
1a71d8e876 PM-2313: I solved the issue when I created install/newSite with Drop database if exists deschecked didn't create a workspace 2015-04-21 11:12:45 -04:00
Dante
4fcc6ff89a Merge branch 'dashboards2' of bitbucket.org:colosa/processmaker into dashboards2 2015-04-21 10:21:48 -04:00
Dante
98f8cf7e16 pie 2d drawing corrections 2015-04-21 10:21:12 -04:00
Dante Loayza
c86ef0b935 Merged in marcoAntonioNina/processmaker/dashboards2 (pull request #1965)
Add css icon strategic dashboard
2015-04-21 10:19:02 -04:00
Dante Loayza
b65b52ff7d Merged master into dashboards2 2015-04-21 10:17:57 -04:00
Marco Antonio Nina Mena
84da929f50 Merged colosa/processmaker into master 2015-04-21 10:02:52 -04:00
Marco Antonio Nina Mena
538ca687ae Add css icon strategic dashboard 2015-04-21 10:02:11 -04:00
Julio Cesar Laura Avendaño
7ab6c0aad9 Merged in paulis/processmaker/PM-WARNING (pull request #1964)
I solved the warning in licensedFeatures
2015-04-21 08:35:05 -04:00
Paula V. Quispe
3b18a83820 I solved the warning in licensedFeatures 2015-04-21 08:11:59 -04:00
Julio Cesar Laura Avendaño
fd09100783 Merged in julceslau/processmaker (pull request #1963)
main changes to enable register rest api endpoints from plugins
2015-04-20 23:02:18 -04:00
Erik
5f4bec79b0 main changes to enable register rest api endpoints from plugins
1. Enable rest api registering feature on main plugin file
  i.e, if I have a plugin named "erik", so we have a file named workflow/engine/plugins/erik.php
       and a folder workflow/engine/plugins/erik/
   - inside of setup method of plugin main class set: $this->enableRestService(true);

---- file: erik.php ----

class erikPlugin extends PMPlugin
{
  ...
  public function setup()
  {
    $this->registerMenu("processmaker", "menuerik.php");
    ...
    $this->enableRestService(true);  // <- this line enable Rest Service dispatching feature
  }
...

2. Create a folder: workflow/engine/plugins/erik/src/Services/Api/
   $ mkdir -p workflow/engine/plugins/erik/src/Services/Api/

3. Create a Restler class inside the folder created above
   i.e. creating a Hello class.

---- file: workflow/engine/plugins/erik/src/Services/Api/Hello.php -----

<?php
namespace Services\Api;
use Luracast\Restler\RestException;
use ProcessMaker\Services\Api;
use \ProcessMaker\Util;

/**
 * @protected
 */
class Hello extends Api
{
    /**
     * @url GET /world
     */
    public function world()
    {
        try {
            $hello = array(
                'message' => 'Hello world'
            );

            return $hello;
        } catch (\Exception $e) {
            throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
        }
    }
}

---------- end file ---------

4. Disable and enable the plugin named "erik" on ProcessMaker Admin Interface

5. Use the Rest Api defined inside the plugin
   you can access from a url something like that:
   format: http://<SERVER-ADDR>/api/1.0/<WORKSPACE>/plugin-<THE-PLUGIN-NAME>/hello/world

i.e.
   http://processmaker/api/1.0/workflow/plugin-erik/hello/world

Note.- to access this url that has the protected attribute into the class
       you need provide the access token into request header.
2015-04-20 22:49:51 -04:00