Commit Graph

141 Commits

Author SHA1 Message Date
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
Erik Amaru Ortiz
3043fc0563 Restful feature, Fix for current class request on dispatcher 2012-08-28 11:58:48 -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
Erik Amaru Ortiz
612819cb75 FEATURE, PM Rest Api: Adding rest api crud generator 2012-08-20 18:33:25 -04:00
Erik Amaru Ortiz
6c61e06d3b PM Rest: adding first action for GET method of application api class 2012-08-13 17:31:38 -04:00
Erik Amaru Ortiz
9b1867a410 FEATURE: First commit for ProcessMaker Rest Support
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
2012-08-10 16:54:12 -04:00
Brayan Osmar Pereyra Suxo
7bea19a6e1 BUG 9510 show a notices SOLVED
I add format correct the function defined
2012-08-09 09:06:46 -04:00
Brayan Osmar Pereyra Suxo
f973c6ac29 Merge remote branch 'upstream/master' into BUG-9510 2012-08-08 11:15:00 -04:00
Brayan Osmar Pereyra Suxo
79ffba21c3 BUG 9510 Doesn't work format RTL SOLVED
- I add format fot RTL
2012-08-03 18:57:48 -04:00
Hector Cortez
4dfa80ce75 BUG 9443 In Centos 5.4 Is not possible to do the restore a backup file SOLVED
- 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.
2012-08-03 18:01:01 -04:00
Marco Antonio Nina
614e6f3f9d BUG 7360 capitalize function mess with exotic characters SOLVED
- The characters were converted UTF8.
- Were modified for use the functions ucfirst() and ucwords().
2012-07-27 10:29:15 -04:00
Julio Cesar Laura
f6d90d7ac6 BUG 9477 Problem notifying the next user
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)
2012-07-25 18:47:13 -04:00
Julio Cesar Laura
21c4ad9676 Improvement in the method "RenderPage" of the class "G" 2012-07-23 19:51:11 -04:00
Victor Saisa Lopez
731b017965 BUG 9200 "La variable @@APPLICATION vacia" SOLVED
- 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
2012-07-23 17:09:07 -04:00
Marco Antonio Nina
42df835fb2 BUG 9296 User Experience - skins SOLVED
- 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.
2012-06-28 12:16:44 -04:00
Marco Antonio Nina
ec037e5390 BUG 8899 En Experience User en el deslogueo se direcciona... SOLVED
- Not checked with the default skin.
- was modified the class.g to verify skin from the configuration
2012-06-26 10:46:34 -04:00
Victor Saisa Lopez
8acd431ab1 BUG 9295 "Single Application - Skins" SOLVED
- 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"
2012-06-14 18:56:42 -04:00
Erik Amaru Ortiz
fcef56fd6f Update G Unit Test & Fix on G::emailAddress() function
- imcomplete comment exist on G Test file
- reoving a G::pr on G::emailAddress() function
2012-05-17 17:31:48 -04:00
Erik Amaru Ortiz
e66ceb6e0a BUG 0000 "improvements on System::getSystemConfiguration() function"
- 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
2012-05-15 17:01:21 -04:00
Erik Amaru Ortiz
df18d8c3ff BUG 8856 "Migrate the Clear cache Interface from master bra.." UPDATED
- problem when files aren't found
- fixed problem on G::rm_dir()
2012-05-08 09:42:28 -04:00
Erik Amaru Ortiz
4a025e4382 BUG 8856 "Migrate the Clear cache Interface from master branch" UPDATE 1
- problem found on G::rm_dir()
- fixed problem & WIN compatibility fixed too
2012-05-06 18:51:34 -04:00
Erik Amaru Ortiz
4c9f6bdabd BUG 0000 Fix on G:: update_php_ini() function 2012-05-02 10:15:47 -04:00
Alvaro Campos
e70402393a BUG 8856 Migrate the Clear cache Interface from master branch SOLVED
- 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.
2012-04-27 18:10:29 -04:00
Erik Amaru Ortiz
692cbe3f28 BUG 9029 "Se genera un warning al cambiar de workspaces desde ..." SOLVED
- bad url request, trying to get a uxmodern skin login being in classic skin
- validation & the error is controlled now,
2012-04-27 10:45:55 -04:00
Erik Amaru Ortiz
b24c9eb7a1 BUG 8875 "New ExtJS based Login & Main ProcessMaker interface Des.." UPDATED
- problems on installer & IE compatibility
- IE compatibility added, some fixes on login & installer
2012-04-26 13:21:41 -04:00
Hector Cortez
93fca85212 BUG 8829 PM 2.0 testing 16 Forgot Password genera un Fatal Error SOLVED.
- 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.
2012-04-26 11:41:49 -04:00
Erik Amaru Ortiz
23ecc0369a BUG 8875 "Feature: New ExtJS based for Install, Login & Main Proce..." UPDATED
- 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
2012-04-11 18:39:16 -04:00
Erik Amaru Ortiz
32eace4cee BUG 0000 Some Fixes like unversioning index.html, cleaning up of sysGeneric 2012-04-09 18:50:32 -04:00
Erik Amaru Ortiz
561832bb06 BUG 8875 "Feature: New ExtJS based Login & Main ProcessMaker inter..." 3rd
- fixed compatibilities to user default redirection after login
-  user experience simplified compatibilities with uxmodern interface
2012-04-05 12:54:12 -04:00
Erik Amaru Ortiz
55616696b7 BUG 8875 "Feature: New ExtJS based Login & Main ProcessMaker inter..." DONE
- 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
2012-04-04 18:02:32 -04:00
Erik Amaru Ortiz
42b517519c BUG 8875 "ExtJS based Login & Main ProcessMaker interface" (2st commit) 2012-03-29 16:50:14 -04:00
Erik Amaru Ortiz
bd2aef2e66 BUG 8875 "ExtJS based Login & Main ProcessMaker interface" (1st commit) 2012-03-29 16:42:09 -04:00
Victor Saisa Lopez
218fc12054 BUG 7646 "Condition Editing option for steps is not working" SOLVED
- You can not attach files in inputDocuments
- Was added a condition to affect only to the translations
2012-03-14 15:54:51 -04:00
Victor Saisa Lopez
509da99a9e BUG 8594 "Triggers fired by the routeCase() web service..." SOLVED
- 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"
2012-03-09 16:12:30 -04:00
Victor Saisa Lopez
8a54d14903 BUG 7646 revert commit 83393581cc8258578fd987186c61c1898ece4ad1 2012-03-07 18:26:52 -04:00
Victor Saisa Lopez
a4929e08ec BUG 7646 Solved the problem escaping the character "'" 2012-03-07 18:26:51 -04:00
Victor Saisa Lopez
0c33fe44f6 BUG 7646 "Condition Editing option for steps is not working" SOLVED
- The problem arises when you see the character "'"
- Solved the problem escaping the character "'"
2012-03-06 19:03:04 -04:00
Victor Saisa Lopez
457feae6e4 BUG 7646 revert commit 83393581cc8258578fd987186c61c1898ece4ad1 2012-03-06 19:03:04 -04:00
Victor Saisa Lopez
e467618762 BUG 7646 Solved the problem escaping the character "'" 2012-03-06 19:03:04 -04:00
Erik Amaru Ortiz
d371fc6982 BUG 0000 PHP 5.2.x compatibility on G::getBrowser() func..
- fix for php version compatibility
2012-02-28 18:40:16 -04:00
Hector Cortez
3f695d28c6 BUG 6453 Fix Bug deprecated PHP 5.3 features and functions in code. 2012-02-28 16:15:54 -04:00
Erik Amaru Ortiz
f8ab55a061 BUG 0000 User Experience (single app option added) 1st commit
- login added
- "single application" option added
- simplified improved
2012-02-24 19:32:24 -04:00
Erik Amaru Ortiz
8c91f1c057 BUG 0000 BUG 0000 User Inbox Simplified (third commit) 2012-01-31 18:45:30 -04:00
Erik Amaru Ortiz
0bade635c1 BUG 0000 User Inbox Simplified (first commit) 2012-01-20 12:01:02 -04:00
Fernando Ontiveros
0e03847386 fourth commit to enable pmMonitor plugin 2012-01-19 16:25:23 -04:00
Fernando Ontiveros
0ff9d919af BUG 0000 first commit enabling pmMonitor code 2012-01-17 19:57:52 -04:00
Victor Saisa Lopez
e2d5e9aa7c BUG 0000 files and methods for the plugin pmMonitor 2012-01-17 18:52:40 -04:00
Erik Amaru Ortiz
79820e7e1f BUG 0000 PMtables hardcoded labels created 2011-09-15 13:07:27 -04:00
Erik Amaru Ortiz
be0c90af87 BUG 000 momentarily reverted to rc5 fro pmTables (fix) 2011-09-05 12:47:25 -04:00
Hector Cortez
e1b9029039 BUG 7210 Adjustment Variables cast prefix to consults sql in dynaforms items. 2011-08-19 15:42:32 -04:00