Commit Graph

85 Commits

Author SHA1 Message Date
Hector Cortez
c90a1d4da2 BUG 10852 Control de los reenvíos de la notificaciones 'Messages History' SOLVED
- Se requiere que los reenvíos que se hacen a través del historial de mensajes, no se pueda realizar desde el menú casos, ya que existe el problema que cualquier usuario que haya participado de un caso puede reenviar notificaciones, a cualquier usuario, y existe el peligro de divulgación de información crítica que debe ser restringida por roles.
- Added Roles to control Messages History.
2013-04-15 15:49:42 -04:00
Julio Cesar Laura
9b63600ab6 BUG 10958 La funcion PMF GenerateOutputDocuemnt no esta generando el output document SOLVED
- When a html string is in other encoding type doesn't generate the pdf using TCPDF
- Sanitize the html
2013-03-12 18:31:17 -04:00
Julio Cesar Laura
feb3d4d2fd BUG 10980 Issue in pagination displaying "Messages History" SOLVED
- Pagination doesn't work
- Fix pagination
2013-03-12 12:12:44 -04:00
Julio Cesar Laura
defebb3099 BUG 10980 Issue in pagination displaying "Messages History" SOLVED
- Pagination doesn't work
- Fix pagination
2013-03-12 12:06:53 -04:00
Hector Cortez
c1d5f6d791 BUG 0000 Adjustment for the standardization of code. CODE_STYLE 2013-03-05 14:11:12 -04:00
Julio Cesar Laura
320a761a42 Add some validations to avoid notices detected on server 11.130 2013-02-19 12:43:24 -04:00
Marco Antonio Nina
1113537151 BUG 10743 Nos muestra un fatal error el... SOLVED
- Show a fatal error to the insert data in table.
- was set parameter APP_STATUS.
2013-02-08 12:42:30 -04:00
Julio Cesar Laura
5468c30600 BUG 9909 No permite modificar documentos como supervidor en los input document IMPROVEMENT 2013-01-03 15:32:54 -04:00
Hector Cortez
f2d7b61e49 BUG 9944 Process Supervisors should be able to reassign to Ad Hoc Users SOLVED
- Process Supervisors can only reassign cases to Users&User Groups on menu Process Supervisor\Reassign. They can not reassign to Users&User Groups (Ad Hoc)
- Adjustment in the selection on Ad Hoc
2013-01-02 16:00:06 -04:00
Hector Cortez
31b7f341c0 BUG 9944 Process Supervisors should be able to reassign to Ad Hoc Users SOLVED
- Process Supervisors can only reassign cases to Users&User Groups on menu Process Supervisor\Reassign. They can not reassign to Users&User Groups (Ad Hoc)
- Added group ad hoc in to list
2012-12-21 15:59:59 -04:00
Victor Saisa Lopez
23d03a7d2e BUG 8283 "PMFAddInputDocument function request" SOLVED
- New feature
- PM Function for add a input document
- Added function "PMFAddInputDocument" in "class.pmFunctions.php"
- The QA team should test with:
    * Dynaforms
    * KnowledgeTree plugin
* Available from version 2.0.46
2012-11-27 12:56:10 -04:00
user
6d52bdf65c Changing interface DB ORM classes include from class.case.php to bootstrap.php, to gain speed in Cases load time. 2012-11-16 17:13:48 -04:00
Brayan Osmar Pereyra Suxo
bb92d18f64 BUG 9962 I added a validation to field SOLVED
I added a validation to text field
2012-11-15 10:10:04 -04:00
julceslauhub
1a8a53ba09 Merge pull request #878 from marcoAntonioNina/BUG-9937
BUG 9937 PMFSendMessage way to not log in history... SOLVED
2012-10-29 10:50:57 -07: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
Hector Cortez
e88454bcc0 BUG 9944 Process Supervisors should be able to reassign to Ad Hoc Users SOLVED
- Process Supervisors can only reassign cases to Users&User Groups on menu Process Supervisor\Reassign. They can not reassign to Users&User Groups (Ad Hoc)
- Added Search ad hoc
2012-10-29 09:31:33 -04:00
Julio Cesar Laura
e10ca93ad7 BUG 5765 I add the triggers t process SOLVED
- Added triggers to cancel, pause, reassing and delete case
2012-10-16 00:29:52 -04:00
Brayan Osmar Pereyra Suxo
21b2f2b218 BUG 5285 I add field PRO_SUBPROCESS
I add field PRO_SUBPROCESS to start only in sub process
2012-10-11 14:26:03 -04:00
Brayan Osmar Pereyra Suxo
93cac85a54 BUG 6947 I add validation to delete inputs with permission
I add validation to delete inputs with	permission
2012-10-10 11:34:07 -04:00
Brayan Osmar Pereyra Suxo
1c110c8598 BUG 6947 I add validation to delete inputs with permission
I add validation to delete inputs with	permission
2012-10-10 11:30:32 -04:00
Brayan Osmar Pereyra Suxo
61c1b2409e Merge remote branch 'upstream/master' into BUG-8344 2012-10-08 12:33:43 -04:00
Brayan Osmar Pereyra Suxo
e3ef5d0931 BUG 8344 I modify query to permissios the casas notes
I removed 'OR' the query and change for AND to filters task
2012-10-08 12:31:13 -04:00
Brayan Osmar Pereyra Suxo
ff3e21cf40 BUG 8344 I add permissions to cases notes
I add permissions to cases notes
2012-10-05 12:29:55 -04:00
Julio Cesar Laura
c1670185ea BUG 6564 Group value based Self service Assignment Rule SOLVED
- Add a new Assignment Rule, to use a variable to designe dynamicly the group for the self service
2012-10-05 11:16:37 -04:00
jennylee
b34595f732 BUG 5809 Case tracker PIN should not be case sensitive.
When logging into the Case Tracker, the case tracker PIN was case sensitive,so I added a line of code in 'workflow/engine/classes/class.case.php' which capitalized the PIN entered by the user and compares with the PIN extracted from the BD.
2012-10-03 14:28:40 -04:00
Hector Cortez
046cddc776 BUG 5720 Can not send Next Task Assignment Notifications with grid SOLVED
- Can not send Next Task Assignment Notifications with grid variables.
- Added and changed function filter for AppData values.
2012-10-02 14:32:32 -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
cd1ba7c6d1 Performance improvement in the reassign
- Improvement for the query:

SELECT APPLICATION.APP_UID, APPLICATION.APP_NUMBER, APPLICATION.APP_STATUS, APPLICATION.PRO_UID, APPLICATION.APP_CREATE_DATE, APPLICATION.APP_FINISH_DATE, APPLICATION.APP_UPDATE_DATE, APPLICATION.APP_DATA, ad.DEL_INDEX, ad.DEL_PREVIOUS, ad.TAS_UID, ad.USR_UID, ad.DEL_TYPE, ad.DEL_THREAD, ad.DEL_THREAD_STATUS, ad.DEL_PRIORITY, ad.DEL_DELEGATE_DATE, ad.DEL_INIT_DATE, ad.DEL_TASK_DUE_DATE, ad.DEL_FINISH_DATE, ad.DEL_DURATION, ad.DEL_QUEUE_DURATION, ad.DEL_DELAY_DURATION, ad.DEL_STARTED, ad.DEL_FINISHED, ad.DEL_DELAYED, ad.APP_OVERDUE_PERCENTAGE, at.APP_THREAD_INDEX, at.APP_THREAD_PARENT, at.APP_THREAD_STATUS, capp.CON_VALUE AS APP_TITLE, cpro.CON_VALUE AS PRO_TITLE FROM APPLICATION JOIN APP_DELEGATION ad ON (APPLICATION.APP_UID=ad.APP_UID) LEFT JOIN CONTENT capp ON (APPLICATION.APP_UID=capp.CON_ID AND capp.CON_CATEGORY='?' AND capp.CON_LANG='?') LEFT JOIN CONTENT cpro ON (APPLICATION.PRO_UID=cpro.CON_ID AND cpro.CON_CATEGORY='?' AND cpro.CON_LANG='?') JOIN APP_THREAD at ON (ad.APP_UID=at.APP_UID AND ad.DEL_THREAD=at.APP_THREAD_INDEX) WHERE APPLICATION.APP_UID='?'
2012-09-25 17:06:25 -04:00
Julio Cesar Laura
d1124906fd Performance improvemente for the query to get the trigger names
- Improvement for the query: SELECT CONTENT.CON_ID, CONTENT.CON_VALUE FROM CONTENT WHERE CONTENT.CON_ID IN ('?') AND CONTENT.CON_CATEGORY='?' AND CONTENT.CON_VALUE<>'?' AND CONTENT.CON_LANG='?'
2012-09-25 15:49:55 -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
Victor Saisa Lopez
aba7c671e3 BUG 6544 "Can't send email notification to next assigned..." SOLVED
- When "Assignment rules" is set to "Self service", do not send
  notifications
- Problem solved, the settings made in "Notifications" on a task, is
  used to send notifications
* Available from version 2.0.44
2012-09-10 16:04:31 -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
Victor Saisa Lopez
331cb04a2c BUG 9630 "cron.php script can have several instances running..." SOLVED
- cron.php script can have several instances running at the same time
- Problem solved, added validation in cron.php script to avoid run
  several times
- Variable time added to control execution of cron
* Available from version 2.0.44
2012-09-03 11:32:52 -04:00
Julio Cesar Laura
9c72fbddeb BUG 9609 Change log y View en Dynaforms no muestra valores ingresados en formularios ... SOLVED
- Al momento de recuperar los permisos de los dynaforms, se estaba filtrando 2 veces por el UID de la tarea, esto e sinnecesario porque la funcion que recupera los permisos ya valida por la tarea
- Habian otros issues menores (como el titulo del formulario en los tabs de preview)
- Se quito la dobre validacion por tarea y se corrigieron los issues menores
2012-08-21 09:53:15 -04:00
Marco Antonio Nina
62c46feaea BUG 9551 Case description on task properties is no... SOLVED
- Not show the case description.
- Case description can be seen in the Summary.
2012-08-09 17:06:24 -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
Fernando
bbc24a8069 formating complete of class.case.php using standard PSR2 2012-07-16 19:00:47 -04:00
Fernando
49a50e0f16 formating class case, lines 2320-5584 are cleaned 2012-07-16 14:19:52 -04:00
Fernando
9258b7e3dd formating class case, lines 5000-5799 are cleaned 2012-07-16 08:37:58 -04:00
Fernando Ontiveros
a4f863de40 formating the class class.case.php 2012-07-13 12:36:27 -04:00
Fernando Ontiveros
3189ba4158 fixing style for class.case.php 2012-07-13 09:08:17 -04:00
Fernando
8700af7df4 fixing testunits for gulliver classes 2012-07-13 06:27:36 -04:00
Herbert Saal Gutierrez
5cf35c71d9 BUG 9180 Correct Solr update and counters implementation
The following changes were made:
- fix update Solr index process
- implement casesenuLoader using Solr server to display counters
- fix cron missing reference to system class
- add function and classes documentation
2012-05-29 17:07:53 -04:00
Marco Antonio Nina
6a8c61effd BUG 8903 Status of paused cases does not change SOLVED
- It was verified that the table was not updated application status.
-Was modified and functions pauseCase unpauseCase tate to change the application in the table.
2012-05-15 19:08:58 -04:00
Herbert Saal Gutierrez
87cfb471a9 BUG 0000 'Reverting overwritted changes on system & cases class' 2012-05-15 18:17:01 -04:00
Herbert Saal Gutierrez
7e07db9348 BUG 0000 Change Solr configuration environment variables
Now the Solr configuration variables are read from the env.ini file that
is stored in the shared//sites/SYS_SYS/ folder.

The system class is used to get the environment variables using the
solrenv function.
2012-05-15 17:41:12 -04:00
Erik Amaru Ortiz
1a8545df8a BUG 0000 herbert> SOLR implementation in PMOS2
Solr support in PMOS2 includes:
Functionality:
- Implementation of Home views (Inbox, Draft, Participated, Unassigned). The views return fast results.
- Include read, unread, all,  and process filter in inbox View.
- Include process filter in draft view.
- Include started by me, completed by me, all, process, and status filter in participated view.
- Include process filter in unassigned view.
- Improved search functionality (search in user defined variables): Use the following syntax to search in process (user defined) variables. {variable_name}:{search_word} ex1:"causal:20*" where causal is the variable defined by the user.
  + Use of wildcards in search: Use * as wildcard at the begin or end of word
  + Multiple conditions in search: Separate multiple conditions by space ex2:"Materiales causal:20*" means that we are searching for the word Materiales and the causal that begin with 20.
  + Search in dates (interval ): Format=> {variable_date}:[yyyy-mm-dd TO yyyy-mm-dd]
    Local date not UTC date required
    ex: FechaRegistro:[2011-04-15 TO 2011-04-30] //registros con fecha entre el 2011-04-15 y el 2011-04-30.
  + we can use the wildcard *:
    ex: FechaRegistro:[* TO 2011-04-30] //registros con fecha menor o igual a 2011-04-30.
    FechaRegistro:[2011-04-15 TO *] //registros con fecha mayor o igual a 2011-04-15.
  + Search of exact phrases. format: {variable}:"frase a buscar"
    ex: Cliente:"Jesus Marin"

- Application update function.
	+ The function is called every time a change is detected in the application's data including the related delegations.
- Use of cache to improve performance

Not included:
- Order of task, sent by, and due date columns.

Pending:
- Advanced search view using faceted lists.
2012-05-15 10:56:48 -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
Marco Antonio Nina
7badf95c7a BUG 9014 Variable SYS_CASE_PRIORITY no funciona apropiadamente SOLVED
- La variable SYS_CASE_PRIORITY se estaba hardcoded en prioridad 3 - Normal.
- Se pusieron validaciones para que se pudiera utilizar la prioridad de acuerdo con la variable.
- La variable SYS_CASE_PRIORITY ahora se setea manualmente ya no se crea de manera automatica.
2012-04-24 10:57:31 -04:00
Erik Amaru Ortiz
126b344c7b BUG 8169 "Recieve An Error in Parallel Task are finished (2.0...." SOLVED
- the problem originally was that never is derivation handling correctly to conditional forks and normal forks
- code was improed and handled for both forks at derivation types
2012-03-27 18:14:09 -04:00