Commit Graph

81 Commits

Author SHA1 Message Date
ralph
8bde064996 BUG 10989: "PMFNewCaseImpersonate definition is incomplete"
Error:  There were no parameter to set which starting task to select.
Sol:    Adding a optional paramater to the newCaseImpersonate function.
plus code style changes.
2013-03-19 13:52:49 -04:00
ralph
34c35397dd Removing check of the task steps. 2013-03-19 13:47:16 -04:00
ralph
07c322c210 Adding extra parameter to newCaseImpersonate 2013-03-19 11:36:06 -04:00
ralph
f5d94ebbf9 Adding optional taskid parameter to newCaseImpersonate function 2013-03-19 10:45:04 -04:00
Brayan Osmar Pereyra Suxo
43d10b6185 BUG 10594 I added to validation in SSL and added memory limit SOLVED
I added to validation in SSL and added memory limit
2013-02-04 15:49:46 -04:00
Brayan Osmar Pereyra Suxo
477cf0bbd5 PM SQL tunning
We added the PM SQL tunning
2013-01-28 16:49:00 -04:00
Brayan Osmar Pereyra Suxo
55fc0b0406 BUG 10439 I added to set variables SOLVED
I added to set variables DEL_INDEX and TASK_UID to save PRIORITY
2013-01-25 15:43:22 -04:00
Hector Cortez
eb65717def BUG 10397 Función PMFTaskCase devuelve index y no el guid SOLVED
- La función PMFTaskCase devuelve el delegate index de la tarea y no el Guid.
- Adjustment function PMFTaskCase for Web Services.
2013-01-17 14:39:35 -04:00
Hector Cortez
0b0061523f BUG 10397 Función PMFTaskCase devuelve index y no el guid SOLVED
- La función PMFTaskCase devuelve el delegate index de la tarea y no el Guid.
- Added TAS_UID field as guid index  to the PMFTaskCase function.
2013-01-17 10:25:16 -04:00
Victor Saisa Lopez
5c1c6fbc66 BUG 10152 "PMFSendMessage() should have an option for..." SOLVED
- PMFSendMessage function can't be set for send mail with format text plain
- Fixed, PMFSendMessage now use the extension of the template for get the
  format of the mail, example:
    > path_to_template/MyTemplate.html
      the extension is html, then use text/html content type for the mail
    > path_to_template/MyTemplate.txt
      the extension is txt, then use text/plain content type for the mail
    > If the extension is different to html/htm, then used text/plain in all cases
* Available from version ProcessMaker-2.0.46
2012-12-13 17:07:18 -04:00
Victor Saisa Lopez
eb774203d5 BUG 10087 "PM functions y Web Services de ProcessMaker no..." SOLVED
- Problem with the variable $_SESSION
- The variable $_SESSION should not lose the default values ..set
- Added functions to save and restore the values ..of the variable $_SESSION
- Revised class.pmFunctions.php functions and class.wsBase.php
- The QA team should test this functions (most of these functions running
  triggers, try running triggers):
    PMFAddInputDocument
    PMFGenerateOutputDocument
    PMFDerivateCase, WSDerivateCase, wsBase::derivateCase
    PMFNewCase, WSNewCase, wsBase::newCase
    PMFRedirectToStep
    PMFDeleteCase, WSDeleteCase, wsBase::deleteCase
    PMFCancelCase, WSCancelCase, wsBase::cancelCase
    PMFPauseCase, WSPauseCase, wsBase::pauseCase
    PMFUnpauseCase, WSUnpauseCase, wsBase::unpauseCase
    wsBase::executeTrigger
    wsBase::reassignCase
* Available from version 2.0.46
2012-11-29 17:04:31 -04:00
Victor Saisa Lopez
ee7ec4f2df BUG 9935 "DEL_INDEX PM Table Value" SOLVED
- Every time I send E-mails with PMFSendMessage() function, it doesn't
  keep a track in DEL_INDEX field from APP_MESSAGE table
- Added parameter $delIndex to the function
* Available from version 2.0.46
2012-11-23 10:46:59 -04:00
Victor Saisa Lopez
e10d68ba58 BUG 7752 "No webservice to add notes" SOLVED
- New feature
- Web Services for add case note
- Added functions "PMFAddCaseNote, WSAddCaseNote" in "class.pmFunctions.php"
- Added function "addCaseNote" in "class.wsBase.php"
- Added functionality for applications using Web Services
* Available from version 2.0.46
2012-11-19 14:35:10 -04:00
Victor Saisa Lopez
ebd1a4747c BUG 8596 "Web Services needs a userInfo() function" SOLVED
- New feature
- Web Services for getting information of user
- Added functions "PMFInformationUser, WSInformationUser" in "class.pmFunctions.php"
- Added function "informationUser" in "class.wsBase.php"
- Added functionality for applications using Web Services
* Available from version 2.0.46
2012-11-15 12:56:33 -04:00
Brayan Osmar Pereyra Suxo
1a7cc3a34e BUG 9962 I added a validation to field SOLVED
I added a validation to text field
2012-11-14 17:05:42 -04:00
Marco Antonio Nina
530565f543 BUG 9937 PMFSendMessage way to not log in history... SOLVED
- The registration messages are displayed by default.
- was add in PMFSendMessage a feature in the last parameter.
2012-10-29 11:45:05 -04:00
Ralph Asendeteufrer
04de7b363f BUG 9881 PM 2.0.44 testing 3. Al enviar una combinacion invalidad de parametros a PMFNewCase() se vence la sesion del usuario.
PROBLEM  The session vars were replaced with invalid values.
SOLUTION Restore the session vars with healty values.
2012-10-12 14:57:51 -04:00
Ralph Asendeteufrer
3455186be6 BUG 9881 PM 2.0.44 testing 3. Al enviar una combinacion invalidad de parametros a PMFNewCase() se vence la sesion del usuario.
PROBLEM  The session vars were replaced with invalid values.
SOLUTION Restore the session vars with healty values.
2012-10-12 14:44:13 -04:00
Ralph Asendeteufrer
b4e3c54302 RESTORING to set a fresh Pull request. 2012-10-12 12:52:50 -04:00
Ralph Asendeteufrer
1c7b1d658d BUG 9881 PM 2.0.44 testing 3. Al enviar una combinacion invalidad de parametros a PMFNewCase() se vence la sesion del usuario.
PROBLEM  The session vars were replaced with invalid values.
SOLUTION Restore the session vars with healty values.
2012-10-12 11:55:22 -04:00
Julio Cesar Laura
976c12fae4 BUG 8030 Elemento Grid no se despliega en plantillas de mail SOLVED
- The grid are not replaced correctly
- Use the function "replaceDataGridField" to replace the values in the html template
2012-10-10 17:28:09 -04:00
Fernando Ontiveros
ad4953d138 CODE STYLE class.wsBase 2012-10-09 13:29:25 -04:00
Hector Cortez
f8268dc6e4 BUG 6210 Request for web service to retrieve all the case variables SOLVED
- The getVariables() web service is not very useful, if you don't know which case variables have been defined.
- Changed name from getAllVariables to getVariablesNames.
2012-10-08 09:09:08 -04:00
Hector Cortez
ce45c7a392 BUG 6210 Request for web service to retrieve all the case variables SOLVED
- The getVariables() web service is not very useful, if you don't know which case variables have been defined.
- Added a new function for web services getAllVariables.
2012-10-05 16:38:14 -04:00
Julio Cesar Laura
d09b6d73ef Improvement in the construction of the parameter "From" for the emails 2012-09-26 19:12:15 -04:00
Julio Cesar Laura
f8e4112b4e Add validation when the from is not a email or is not teh same email that the account 2012-09-20 14:25:35 -04:00
Victor Saisa Lopez
3fc8719472 BUG 5494 "Request for a web service function to cancel..." SOLVED
- New feature
- Web Services for pause and unpause case
- Added functions "PMFPauseCase, PMFUnpauseCase, WSPauseCase, WSUnpauseCase" in "class.pmFunctions.php"
- Added function "pauseCase, unpauseCase" in "class.wsBase.php"
- Added functionality for applications using Web Services
- Cancel case it's solved in bug 7385
- Function "pauseCase" from "class.pmFunctions.php" has changed its name to "PMFPauseCase"
* Available from version 2.0.44
2012-09-12 14:46:26 -04:00
Victor Saisa Lopez
128b193768 BUG 7385 "PMF functions required for handling cases..." SOLVED
- New feature
- Web Services for delete and cancel case
- Added functions "PMFDeleteCase, PMFCancelCase, WSDeleteCase, WSCancelCase" in "class.pmFunctions.php"
- Added function "deleteCase, cancelCase" in "class.wsBase.php"
- Added functionality for applications using Web Services
* Available from version 2.0.44
2012-09-11 16:41:05 -04:00
Julio Cesar Laura
7d5144c3c6 BUG 5120 Change text to clarify the purpose of user for the Case Scheduler SOLVED
- Fix some issues in the logic of the validation
- Change some validations
2012-09-05 13:01:19 -04:00
Julio Cesar Laura
642839431b BUG 4094 More case information needed from getCaseInfo SOLVED
- Added the variable updateDate to the response
2012-08-29 17:08:06 -04:00
Brayan Osmar Pereyra Suxo
963f379ff1 BUG 9422 Event doen't run for cases automatically scheduled SOLVED
- I add execute event in automatically scheduled
2012-07-27 12:30:48 -04:00
julceslauhub
5bfe9b2fda Merge pull request #396 from julceslauhub/master
BUG 9477 Problem notifying the next user
2012-07-25 15:56:21 -07: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
Victor Saisa Lopez
3ffa50d602 BUG 4119 "Need web service for updating user accounts" SOLVED
- New feature
- Web Services for updating user accounts
- Added functions "PMFCreateUser, PMFUpdateUser, WSCreateUser, WSUpdateUser" in "class.pmFunctions.php"
- Added function "updateUser" in "class.wsBase.php"
- Added functionality for applications using Web Services
2012-07-25 18:27:48 -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
Victor Saisa Lopez
c9facfb8dc BUG 8823 "No funcionan las conexiones a bases de datos..." SOLVED
- Function "executeQuery" in triggers is not working properly with external
  database, when run through Web Services with the functions "executeTrigger" or "routeCase"
- Problem solved, settled the session variables required by the method Propel::getConnection
2012-07-19 15:32:19 -04:00
Victor Saisa Lopez
79c391805e BUG 8823 "No funcionan las conexiones a bases de datos..." SOLVED
- Function "executeQuery" in triggers is not working properly with external
  database, when run through Web Services with the functions "executeTrigger" or "routeCase"
- Problem solved, settled the session variables required by the method Propel::getConnection
2012-07-19 15:09:40 -04:00
Julio Cesar Laura
f4fb74d70b Fixed bug with the function PMFNewCase
- The session variables are overwrited
- The session variables are restored to end of the function
2012-07-15 22:27:06 -04:00
Victor Saisa Lopez
31f8bcdfd4 BUG 9291 "Formatting files to PSR2" SOLVED
- Formatting files to PSR2
2012-07-11 15:24:11 -04:00
Victor Saisa Lopez
5e6f4ad09b BUG 9291 "Creating user via web services - no option to set..." SOLVED
- Creating user via web services, no option to set expiry date
- Create user via web services, can now be set parameters:
  expiry date and status (in the functions: createUser, WSCreateUser and PMFCreateUser)
- These changes in functions must be documented in the wiki.processmaker.com
2012-07-11 12:52:43 -04:00
Victor Saisa Lopez
76f5bb2973 BUG 9370 "NewCaseImpersonate function not working when start..." SOLVED
- PMFNewCaseImpersonate function not working when start task of process to
  instance is assigned to group and not to user
- Delete validation "user assigned to task"
2012-07-10 17:48:42 -04:00
Victor Saisa Lopez
f68bd1ccb9 BUG 9370 "NewCaseImpersonate function not working when start..." SOLVED
- Delete validation "user assigned to task"
2012-07-10 15:49:45 -04:00
Victor Saisa Lopez
235e410726 BUG 9370 "NewCaseImpersonate function not working when start..." SOLVED
- PMFNewCaseImpersonate function not working when start task of process to
  instance is assigned to group and not to user
- Solved problem with PMFNewCaseImpersonate function, in class
  wsBase (newCaseImpersonate) now working with groups
2012-07-10 12:51:02 -04:00
Victor Saisa Lopez
e030e259e1 BUG 9377 "Formatting files to PSR2" SOLVED
Formatting files to PSR2
2012-07-09 16:26:17 -04:00
Victor Saisa Lopez
df8cfae446 BUG 9377 "APP_FINISH_DATE is set to 1902-01-01 00:00:00 when..." SOLVED
- APP_FINISH_DATE is set to 1902-01-01 00:00:00 when create new case
  using webservices
- DEL_INIT_DATE is set to NULL when routing case using webservices
- Solved the problem in the fields APPLICATION.APP_FINISH_DATE and
  APP_CACHE_VIEW.APP_FINISH_DATE, when you create a new case now set to NULL
- Solved the problem in the fields APP_DELEGATION.DEL_INIT_DATE and
  APP_CACHE_VIEW.DEL_INIT_DATE when the case is routed set to the date corresponding
2012-07-09 13:21:20 -04:00
julceslauhub
bf3dedf2b3 Merge pull request #81 from alvarocs/BUG-4986
BUG 4986 Email notification is not working
2012-06-18 20:32:07 -07:00
Alvaro Campos
e928579a45 BUG 4986 Email notification is not working
- The line was added by refered RobinHoo1973 which no caused any problems and works properly
2012-06-18 16:30:24 -04:00
Victor Saisa Lopez
536fee11ca BUG 9088 "KnowledgeTree and webEntry don't work when we try..." SOLVED
- KnowledgeTree and webEntry don't work when you try to upload
  some files
- Added the missing code in this section when the KnowledgeTree plugin
  is enabled
2012-06-06 12:00:14 -04:00
Victor Saisa Lopez
6770cff337 BUG 9091 "Problems sending a grid on the last parameter on..." SOLVED
- The problem occurs when the fields parameter exists, then only
  takes the values ..that are in it, in the absence of this parameter
  is taken into account the variables of the system/process
- If the fields parameter exists now joins the variables of the system/process
2012-05-31 15:07:03 -04:00
Marco Antonio Nina
80045f99df BUG 9043 Variable for Case Notes content needed SOLVED
- Se crearon varias funciones para este caso.
- La funcion getCaseNotes en la class.case.php con los parametros applicationID, type que es la forma que quiere que se devuelvan los datos, puede ser array, objetc, string por defecto esta en array, y userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- Se modifico la funcion getNotesList para poder traer las notas por un determinado usuario y por defecto recupera las notas de todos los usuarios.
- en class.pmFunctions.php se creo la funcion PMFGetCaseNotes con los parametros applicationID, type que es la forma que quiere que se devuelvan los datos, puede ser array, objetc, string por defecto esta en array, y userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- En class.wsBase.php la funcion getCaseNotes con los parametros applicationID, userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios, esta funcion nos devuelve un array con los fieds en minuscula.
- En soap2.php getCaseNotes donde se tienen los siguiente parametros: sessionId, se necesita iniciar una session para poder utilizarlo, applicationID, userID que nos daria solo las notas de ese usuario, por defecto nos devuelve de todos los usuarios.
- Se adiciono la funcion para utilizarlo en SoapServer.
- En wsResponse se creo un nuevo template para la respuesta del webservice wsGetCaseNotesResponse con los campos status_code, message, notes, timestamp.
- En pmos2.wsdl se agregaron los datos necesarios para la salida correcta del webservice.
2012-05-02 09:56:30 -04:00